# SPI master controller drivers (bus)
+obj-$(CONFIG_SPI_SPIMCTRL) += spi-spimctrl.o
- obj-$(CONFIG_SPI_ALTERA) += spi-altera.o
- obj-$(CONFIG_SPI_AR934X) += spi-ar934x.o
- obj-$(CONFIG_SPI_ARMADA_3700) += spi-armada-3700.o
+ obj-$(CONFIG_SPI_ALTERA) += spi-altera-platform.o
+ obj-$(CONFIG_SPI_ALTERA_CORE) += spi-altera-core.o
+ obj-$(CONFIG_SPI_ALTERA_DFL) += spi-altera-dfl.o
diff --git a/drivers/spi/spi-spimctrl.c b/drivers/spi/spi-spimctrl.c
new file mode 100644
index 000000000000..4d025e54d9d3
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -52,6 +52,7 @@ config SPARC
- select NEED_DMA_MAP_STATE
- select NEED_SG_DMA_LENGTH
+ select NEED_SG_DMA_LENGTH
select SET_FS
+ select TRACE_IRQFLAGS_SUPPORT
+ select HAVE_PERF_EVENTS
config SPARC32
--- a/drivers/perf/Makefile
+++ b/drivers/perf/Makefile
@@ -13,3 +13,4 @@ obj-$(CONFIG_QCOM_L3_PMU) += qcom_l3_pmu.o
- obj-$(CONFIG_THUNDERX2_PMU) += thunderx2_pmu.o
obj-$(CONFIG_XGENE_PMU) += xgene_pmu.o
obj-$(CONFIG_ARM_SPE_PMU) += arm_spe_pmu.o
+ obj-$(CONFIG_ARM_DMC620_PMU) += arm_dmc620_pmu.o
+obj-$(CONFIG_L4STAT_PMU) += l4stat_pmu.o
diff --git a/drivers/perf/l4stat_pmu.c b/drivers/perf/l4stat_pmu.c
new file mode 100644