From f4ef5d431ec406119bbf228362d9bd119944a5dc Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Fri, 18 Aug 2023 09:27:03 +0200 Subject: [PATCH] leon: refresh patches to apply/compile on 5.15 Signed-off-by: Zoltan HERPAI --- ...0016-spi-add-support-for-aeroflex-gaisler-spimctrl.patch | 6 +++--- ...ivers-perf-Add-driver-for-L4STAT-in-GR740-configur.patch | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/leon/patches-5.15/0016-spi-add-support-for-aeroflex-gaisler-spimctrl.patch b/target/linux/leon/patches-5.15/0016-spi-add-support-for-aeroflex-gaisler-spimctrl.patch index a403506d9d..6e4d1f4166 100644 --- a/target/linux/leon/patches-5.15/0016-spi-add-support-for-aeroflex-gaisler-spimctrl.patch +++ b/target/linux/leon/patches-5.15/0016-spi-add-support-for-aeroflex-gaisler-spimctrl.patch @@ -47,9 +47,9 @@ index 6fea5821662e..d7b1c7650e1a 100644 # 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 diff --git a/target/linux/leon/patches-5.15/0029-drivers-perf-Add-driver-for-L4STAT-in-GR740-configur.patch b/target/linux/leon/patches-5.15/0029-drivers-perf-Add-driver-for-L4STAT-in-GR740-configur.patch index e2b484329a..7f9d47a664 100644 --- a/target/linux/leon/patches-5.15/0029-drivers-perf-Add-driver-for-L4STAT-in-GR740-configur.patch +++ b/target/linux/leon/patches-5.15/0029-drivers-perf-Add-driver-for-L4STAT-in-GR740-configur.patch @@ -182,9 +182,9 @@ index 8188cae9786f..b38222ba3ae7 100644 --- 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 @@ -308,9 +308,9 @@ index 5365fd56f88f..b64542c520ef 100644 --- 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 -- 2.30.2