]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
lantiq: replace patches with upstream version 19675/head
authorAleksander Jan Bajkowski <olek2@wp.pl>
Mon, 4 Aug 2025 13:35:47 +0000 (15:35 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 7 Aug 2025 11:36:49 +0000 (13:36 +0200)
Patches 12 and 13 have been superseded by patch 12. Other patches
have no significant changes.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/19675
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
19 files changed:
target/linux/lantiq/patches-6.12/102-01-v6.17-MIPS-lantiq-xway-mark-dma_init-as-static.patch [moved from target/linux/lantiq/patches-6.12/102-02-MIPS-lantiq-xway-mark-dma_init-as-static.patch with 73% similarity]
target/linux/lantiq/patches-6.12/102-02-v6.17-0002-MIPS-pci-lantiq-marks-pcibios_init-as-static.patch [moved from target/linux/lantiq/patches-6.12/102-06-MIPS-pci-lantiq-marks-pcibios_init-as-static.patch with 75% similarity]
target/linux/lantiq/patches-6.12/102-03-v6.17-MIPS-lantiq-xway-mark-dcdc_init-as-static.patch [moved from target/linux/lantiq/patches-6.12/102-03-MIPS-lantiq-xway-mark-dcdc_init-as-static.patch with 74% similarity]
target/linux/lantiq/patches-6.12/102-04-v6.17-MIPS-lantiq-irq-fix-misc-missing-prototypes-warnings.patch [moved from target/linux/lantiq/patches-6.12/102-04-MIPS-lantiq-irq-fix-misc-missing-prototypes-warnings.patch with 85% similarity]
target/linux/lantiq/patches-6.12/102-05-v6.17-MIPS-lantiq-xway-mark-ltq_ar9_sys_hz-as-static.patch [moved from target/linux/lantiq/patches-6.12/102-01-MIPS-lantiq-xway-mark-ltq_ar9_sys_hz-as-static.patch with 76% similarity]
target/linux/lantiq/patches-6.12/102-06-v6.17-MIPS-lantiq-xway-gptu-mark-gptu_init-as-static.patch [moved from target/linux/lantiq/patches-6.12/102-11-MIPS-lantiq-xway-gptu-mark-gptu_init-as-static.patch with 75% similarity]
target/linux/lantiq/patches-6.12/102-07-v6.17-MIPS-lantiq-xway-add-prototype-for-ltq_get_cp1_base.patch [moved from target/linux/lantiq/patches-6.12/102-05-MIPS-lantiq-xway-add-prototype-for-ltq_get_cp1_base.patch with 80% similarity]
target/linux/lantiq/patches-6.12/102-08-v6.17-MIPS-lantiq-falcon-fix-misc-missing-prototypes-warni.patch [moved from target/linux/lantiq/patches-6.12/102-07-MIPS-lantiq-falcon-fix-misc-missing-prototypes-warni.patch with 83% similarity]
target/linux/lantiq/patches-6.12/102-09-v6.17-MIPS-lantiq-falcon-sysctrl-remove-unused-falcon_trig.patch [moved from target/linux/lantiq/patches-6.12/102-08-MIPS-lantiq-falcon-sysctrl-remove-unused-falcon_trig.patch with 79% similarity]
target/linux/lantiq/patches-6.12/102-10-v6.17-MIPS-lantiq-falcon-sysctrl-add-missing-header-prom.h.patch [moved from target/linux/lantiq/patches-6.12/102-09-MIPS-lantiq-falcon-sysctrl-add-missing-header-prom.h.patch with 75% similarity]
target/linux/lantiq/patches-6.12/102-11-v6.17-MIPS-lantiq-falcon-sysctrl-fix-request-memory-check-.patch [moved from target/linux/lantiq/patches-6.12/102-10-MIPS-lantiq-falcon-sysctrl-fix-request-memory-check-.patch with 92% similarity]
target/linux/lantiq/patches-6.12/102-12-MIPS-vpe-mt-mark-vpe_free-and-vpe_stop-as-static.patch [deleted file]
target/linux/lantiq/patches-6.12/102-12-v6.17-MIPS-vpe-mt-add-missing-prototypes-for-vpe_-alloc-st.patch [new file with mode: 0644]
target/linux/lantiq/patches-6.12/102-13-MIPS-vpe-mt-drop-unused-functions-vpe_alloc-and-vpe_.patch [deleted file]
target/linux/lantiq/patches-6.12/102-14-pinctrl-xway-mark-xway_pinconf_group_set-as-static.patch [deleted file]
target/linux/lantiq/patches-6.12/102-14-v6.17-pinctrl-xway-statify-xway_pinconf_group_set.patch [new file with mode: 0644]
target/linux/lantiq/patches-6.12/102-15-v6.17-pinctrl-falcon-mark-pinctrl_falcon_init-as-static.patch [moved from target/linux/lantiq/patches-6.12/102-15-pinctrl-falcon-mark-pinctrl_falcon_init-as-static.patch with 69% similarity]
target/linux/lantiq/patches-6.12/102-16-v6.17-spi-falcon-mark-falcon_sflash_xfer-as-static.patch [moved from target/linux/lantiq/patches-6.12/102-16-spi-falcon-mark-falcon_sflash_xfer-as-static.patch with 74% similarity]
target/linux/lantiq/patches-6.12/152-lantiq-VPE.patch

similarity index 73%
rename from target/linux/lantiq/patches-6.12/102-02-MIPS-lantiq-xway-mark-dma_init-as-static.patch
rename to target/linux/lantiq/patches-6.12/102-01-v6.17-MIPS-lantiq-xway-mark-dma_init-as-static.patch
index 0f8b7ef32e4450da6eeae5563f1903645459136a..e06eff24d10338a536909e8e0ac1dba7489bd259 100644 (file)
@@ -1,7 +1,7 @@
-From ada0c7fd1b2e6daaf64bf8649cc58afaceed1a3d Mon Sep 17 00:00:00 2001
+From cff836f0bb0c53fcf43c12e32ee499cdf7e4a584 Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Thu, 8 May 2025 18:11:41 +0800
-Subject: [PATCH 02/16] MIPS: lantiq: xway: mark dma_init() as static
+Date: Wed, 18 Jun 2025 22:53:15 +0800
+Subject: [PATCH 01/11] MIPS: lantiq: xway: mark dma_init() as static
 
 Fix the following missing-prototypes build warning:
 
@@ -10,6 +10,7 @@ arch/mips/lantiq/xway/dma.c:293:1: error: no previous prototype for 'dma_init' [
       | ^~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 ---
  arch/mips/lantiq/xway/dma.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
similarity index 75%
rename from target/linux/lantiq/patches-6.12/102-06-MIPS-pci-lantiq-marks-pcibios_init-as-static.patch
rename to target/linux/lantiq/patches-6.12/102-02-v6.17-0002-MIPS-pci-lantiq-marks-pcibios_init-as-static.patch
index 575b8aba6805a61bfa549b32b3a0457b10f08052..b9cefb88fdb492ee8e7790d0afd16ae20ebb0024 100644 (file)
@@ -1,7 +1,7 @@
-From 156977363d9ed39d80062044704932d8c11d1611 Mon Sep 17 00:00:00 2001
+From 50162a0c6e014c4954ee4443109b7a4251b377fc Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Thu, 8 May 2025 20:31:33 +0800
-Subject: [PATCH 06/16] MIPS: pci: lantiq: marks pcibios_init() as static
+Date: Wed, 18 Jun 2025 22:53:19 +0800
+Subject: [PATCH 02/11] MIPS: pci: lantiq: marks pcibios_init() as static
 
 Fix the following missing-prototypes build warning:
 
@@ -10,6 +10,7 @@ arch/mips/pci/pci-lantiq.c:239:12: error: no previous prototype for 'pcibios_ini
       |            ^~~~~~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 ---
  arch/mips/pci/pci-lantiq.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
similarity index 74%
rename from target/linux/lantiq/patches-6.12/102-03-MIPS-lantiq-xway-mark-dcdc_init-as-static.patch
rename to target/linux/lantiq/patches-6.12/102-03-v6.17-MIPS-lantiq-xway-mark-dcdc_init-as-static.patch
index 762d19145e0954bd4705936dc13594996bffc79e..d25e09908845e404f4de1c5b72fc26f66204dac6 100644 (file)
@@ -1,7 +1,7 @@
-From d27f9ab0f53886152b717e44eeca0217519ad323 Mon Sep 17 00:00:00 2001
+From c714186debb45fc88098b666d46cb29ff728e06d Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Thu, 8 May 2025 18:18:26 +0800
-Subject: [PATCH 03/16] MIPS: lantiq: xway: mark dcdc_init() as static
+Date: Wed, 18 Jun 2025 22:53:16 +0800
+Subject: [PATCH 03/11] MIPS: lantiq: xway: mark dcdc_init() as static
 
 Fix the following missing-prototypes build warning:
 
@@ -10,6 +10,7 @@ arch/mips/lantiq/xway/dcdc.c:49:12: error: no previous prototype for 'dcdc_init'
       |            ^~~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 ---
  arch/mips/lantiq/xway/dcdc.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
similarity index 85%
rename from target/linux/lantiq/patches-6.12/102-04-MIPS-lantiq-irq-fix-misc-missing-prototypes-warnings.patch
rename to target/linux/lantiq/patches-6.12/102-04-v6.17-MIPS-lantiq-irq-fix-misc-missing-prototypes-warnings.patch
index ba5d7680ed8836aa97b8de45cd79236bc3b7f107..2c282d28e226e38534d20739254b474c67650492 100644 (file)
@@ -1,7 +1,7 @@
-From 9729233d2ef318cdb6954c8b5cb032d7d0f03473 Mon Sep 17 00:00:00 2001
+From d97394bf381eda85d04bec68b72dbc397744fcc3 Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Thu, 8 May 2025 19:53:12 +0800
-Subject: [PATCH 04/16] MIPS: lantiq: irq: fix misc missing-prototypes warnings
+Date: Wed, 18 Jun 2025 22:53:17 +0800
+Subject: [PATCH 04/11] MIPS: lantiq: irq: fix misc missing-prototypes warnings
 
 Fix the following build warnings:
 
@@ -16,6 +16,7 @@ arch/mips/lantiq/irq.c:424:14: error: no previous prototype for 'get_c0_compare_
       |              ^~~~~~~~~~~~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 ---
  arch/mips/lantiq/irq.c | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
similarity index 76%
rename from target/linux/lantiq/patches-6.12/102-01-MIPS-lantiq-xway-mark-ltq_ar9_sys_hz-as-static.patch
rename to target/linux/lantiq/patches-6.12/102-05-v6.17-MIPS-lantiq-xway-mark-ltq_ar9_sys_hz-as-static.patch
index 6454bf85c02a03deafdf0db4ae7d64abff07afdb..47e0a046deabc37f75de27b994032531e0184505 100644 (file)
@@ -1,7 +1,7 @@
-From 3004522ddba0a23941222d2044badd4436ce776f Mon Sep 17 00:00:00 2001
+From de521c6d99d755bbdfa0f1f35299a3e2b02b0dfe Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Thu, 8 May 2025 18:08:35 +0800
-Subject: [PATCH 01/16] MIPS: lantiq: xway: mark ltq_ar9_sys_hz() as static
+Date: Wed, 18 Jun 2025 22:53:14 +0800
+Subject: [PATCH 05/11] MIPS: lantiq: xway: mark ltq_ar9_sys_hz() as static
 
 Fix the following missing-prototypes warning:
 
@@ -10,6 +10,7 @@ arch/mips/lantiq/xway/clk.c:77:15: error: no previous prototype for 'ltq_ar9_sys
       |               ^~~~~~~~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 ---
  arch/mips/lantiq/xway/clk.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
similarity index 75%
rename from target/linux/lantiq/patches-6.12/102-11-MIPS-lantiq-xway-gptu-mark-gptu_init-as-static.patch
rename to target/linux/lantiq/patches-6.12/102-06-v6.17-MIPS-lantiq-xway-gptu-mark-gptu_init-as-static.patch
index d8579785153b1b2cedd2267d95059721b874550b..d6925e55581221d8a1df697a3244a300337970a0 100644 (file)
@@ -1,7 +1,7 @@
-From 2caf57c67c6c3228b7a2ff1510e7671539ad31d3 Mon Sep 17 00:00:00 2001
+From e23bd7f95a86c4fc5da5499a3bdc95aa7518f7eb Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Fri, 9 May 2025 22:29:34 +0800
-Subject: [PATCH 11/16] MIPS: lantiq: xway: gptu: mark gptu_init() as static
+Date: Wed, 18 Jun 2025 22:53:24 +0800
+Subject: [PATCH 06/11] MIPS: lantiq: xway: gptu: mark gptu_init() as static
 
 Fix the following missing-prototypes warning:
 
@@ -10,6 +10,7 @@ arch/mips/lantiq/xway/gptu.c:197:12: error: no previous prototype for 'gptu_init
       |            ^~~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 ---
  arch/mips/lantiq/xway/gptu.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
similarity index 80%
rename from target/linux/lantiq/patches-6.12/102-05-MIPS-lantiq-xway-add-prototype-for-ltq_get_cp1_base.patch
rename to target/linux/lantiq/patches-6.12/102-07-v6.17-MIPS-lantiq-xway-add-prototype-for-ltq_get_cp1_base.patch
index b5431ee7b481fc3f88eaa6889593354835cc3c36..cf75dbb731989bd0036d4013ef4b9bbffee6fded 100644 (file)
@@ -1,7 +1,7 @@
-From 5759385fb2b1fafcb0073add3cf4dc7a918ac7f2 Mon Sep 17 00:00:00 2001
+From 3f8565be1e848de86c1cc98285ac27a4a9bcb161 Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Thu, 8 May 2025 20:19:15 +0800
-Subject: [PATCH 05/16] MIPS: lantiq: xway: add prototype for
+Date: Wed, 18 Jun 2025 22:53:18 +0800
+Subject: [PATCH 07/11] MIPS: lantiq: xway: add prototype for
  ltq_get_cp1_base()
 
 ltq_get_cp1_base() is an exported function, we must define
@@ -12,6 +12,7 @@ arch/mips/lantiq/xway/vmmc.c:22:15: error: no previous prototype for 'ltq_get_cp
       |               ^~~~~~~~~~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 ---
  arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h | 3 +++
  1 file changed, 3 insertions(+)
similarity index 83%
rename from target/linux/lantiq/patches-6.12/102-07-MIPS-lantiq-falcon-fix-misc-missing-prototypes-warni.patch
rename to target/linux/lantiq/patches-6.12/102-08-v6.17-MIPS-lantiq-falcon-fix-misc-missing-prototypes-warni.patch
index 50705d3d6ea8e51cc50b3f84a96e4b915e9a7443..0ef02dff57c0f2866ddf39f5c29093ad8809e36f 100644 (file)
@@ -1,7 +1,7 @@
-From 6900665e987f7c76dff709d63be4df4171c02ab2 Mon Sep 17 00:00:00 2001
+From d97930fbf2d2aa00e7da9be7f128754920486953 Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Fri, 9 May 2025 20:15:36 +0800
-Subject: [PATCH 07/16] MIPS: lantiq: falcon: fix misc missing-prototypes
+Date: Wed, 18 Jun 2025 22:53:20 +0800
+Subject: [PATCH 08/11] MIPS: lantiq: falcon: fix misc missing-prototypes
  warnings
 
 Fix the following build warnings:
@@ -14,6 +14,7 @@ arch/mips/lantiq/falcon/prom.c:46:13: error: no previous prototype for 'ltq_soc_
       |             ^~~~~~~~~~~~~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 ---
  arch/mips/lantiq/falcon/prom.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
similarity index 79%
rename from target/linux/lantiq/patches-6.12/102-08-MIPS-lantiq-falcon-sysctrl-remove-unused-falcon_trig.patch
rename to target/linux/lantiq/patches-6.12/102-09-v6.17-MIPS-lantiq-falcon-sysctrl-remove-unused-falcon_trig.patch
index ddf3ef8a4644e1ead50825808fb9c076ebf9dd8c..abe35805134963ffe45db135c0847f716dc78823 100644 (file)
@@ -1,7 +1,7 @@
-From b145074ce653a895201bf8a2ba70719a107ad580 Mon Sep 17 00:00:00 2001
+From 01432b513638b0ffb080aa211b5b7f7ecf316f24 Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Fri, 9 May 2025 20:15:36 +0800
-Subject: [PATCH 08/16] MIPS: lantiq: falcon: sysctrl: remove unused
+Date: Wed, 18 Jun 2025 22:53:21 +0800
+Subject: [PATCH 09/11] MIPS: lantiq: falcon: sysctrl: remove unused
  falcon_trigger_hrst()
 
 This is a defined but unused function. Fix warning:
@@ -11,6 +11,7 @@ arch/mips/lantiq/falcon/sysctrl.c:75:6: error: no previous prototype for 'falcon
       |      ^~~~~~~~~~~~~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 ---
  arch/mips/lantiq/falcon/sysctrl.c | 5 -----
  1 file changed, 5 deletions(-)
similarity index 75%
rename from target/linux/lantiq/patches-6.12/102-09-MIPS-lantiq-falcon-sysctrl-add-missing-header-prom.h.patch
rename to target/linux/lantiq/patches-6.12/102-10-v6.17-MIPS-lantiq-falcon-sysctrl-add-missing-header-prom.h.patch
index b0f1934cada851742582c854adf37d88eed3099c..5b137a25ac2a54bfdfdee0b0ff035f5c0d62cb16 100644 (file)
@@ -1,7 +1,7 @@
-From cc7803436c2419009aaf702d96fc1d717ca52279 Mon Sep 17 00:00:00 2001
+From 8a6156bd26240177e710fd8623bc2eb0ef0092cf Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Fri, 9 May 2025 20:15:36 +0800
-Subject: [PATCH 09/16] MIPS: lantiq: falcon: sysctrl: add missing header
+Date: Wed, 18 Jun 2025 22:53:22 +0800
+Subject: [PATCH 10/11] MIPS: lantiq: falcon: sysctrl: add missing header
  prom.h
 
 "prom.h" includes the prototype of ltq_soc_init(). Fix warning:
@@ -11,6 +11,7 @@ arch/mips/lantiq/falcon/sysctrl.c:185:13: error: no previous prototype for 'ltq_
       |             ^~~~~~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 ---
  arch/mips/lantiq/falcon/sysctrl.c | 1 +
  1 file changed, 1 insertion(+)
similarity index 92%
rename from target/linux/lantiq/patches-6.12/102-10-MIPS-lantiq-falcon-sysctrl-fix-request-memory-check-.patch
rename to target/linux/lantiq/patches-6.12/102-11-v6.17-MIPS-lantiq-falcon-sysctrl-fix-request-memory-check-.patch
index e3f2ff81cd31281a3c756a26f92595de001bfb05..13c72d826bc6464dd1692c636c3023987c659b43 100644 (file)
@@ -1,7 +1,7 @@
-From ccdf5d58c4f3330a83393641d4e4334994fc91af Mon Sep 17 00:00:00 2001
+From 9c9a7ff9882fc6ba7d2f4050697e8bb80383e8dc Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Fri, 9 May 2025 20:53:58 +0800
-Subject: [PATCH 10/16] MIPS: lantiq: falcon: sysctrl: fix request memory check
+Date: Wed, 18 Jun 2025 22:53:23 +0800
+Subject: [PATCH 11/11] MIPS: lantiq: falcon: sysctrl: fix request memory check
  logic
 
 request_mem_region() will return NULL instead of error code
@@ -26,6 +26,7 @@ arch/mips/lantiq/falcon/sysctrl.c:225:50: error: ordered comparison of pointer w
       |
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
 ---
  arch/mips/lantiq/falcon/sysctrl.c | 23 ++++++++++-------------
  1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/target/linux/lantiq/patches-6.12/102-12-MIPS-vpe-mt-mark-vpe_free-and-vpe_stop-as-static.patch b/target/linux/lantiq/patches-6.12/102-12-MIPS-vpe-mt-mark-vpe_free-and-vpe_stop-as-static.patch
deleted file mode 100644 (file)
index 5e95111..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-From 6faade177216b41a8112e33c6e73377e78dd1f92 Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Thu, 8 May 2025 18:32:11 +0800
-Subject: [PATCH 12/16] MIPS: vpe-mt: mark vpe_free() and vpe_stop() as static
-
-These functions are only used in the current source file "vpe-mt.c".
-Do not export them and mark them as static to silence the missing
-prototypes warnings:
-
-arch/mips/kernel/vpe-mt.c:208:5: error: no previous prototype for 'vpe_stop' [-Werror=missing-prototypes]
-  208 | int vpe_stop(void *vpe)
-      |     ^~~~~~~~
-arch/mips/kernel/vpe-mt.c:229:5: error: no previous prototype for 'vpe_free' [-Werror=missing-prototypes]
-  229 | int vpe_free(void *vpe)
-      |     ^~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
----
- arch/mips/kernel/vpe-mt.c | 6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
-
---- a/arch/mips/kernel/vpe-mt.c
-+++ b/arch/mips/kernel/vpe-mt.c
-@@ -202,7 +202,7 @@ int vpe_start(void *vpe, unsigned long s
- EXPORT_SYMBOL(vpe_start);
- /* halt it for now */
--int vpe_stop(void *vpe)
-+static int vpe_stop(void *vpe)
- {
-       struct vpe *v = vpe;
-       struct tc *t;
-@@ -220,10 +220,9 @@ int vpe_stop(void *vpe)
-       return 0;
- }
--EXPORT_SYMBOL(vpe_stop);
- /* I've done with it thank you */
--int vpe_free(void *vpe)
-+static int vpe_free(void *vpe)
- {
-       struct vpe *v = vpe;
-       struct tc *t;
-@@ -255,7 +254,6 @@ int vpe_free(void *vpe)
-       return 0;
- }
--EXPORT_SYMBOL(vpe_free);
- static ssize_t store_kill(struct device *dev, struct device_attribute *attr,
-                         const char *buf, size_t len)
diff --git a/target/linux/lantiq/patches-6.12/102-12-v6.17-MIPS-vpe-mt-add-missing-prototypes-for-vpe_-alloc-st.patch b/target/linux/lantiq/patches-6.12/102-12-v6.17-MIPS-vpe-mt-add-missing-prototypes-for-vpe_-alloc-st.patch
new file mode 100644 (file)
index 0000000..d3ed482
--- /dev/null
@@ -0,0 +1,44 @@
+From 844615dd0f2d95c018ec66b943e08af22b62aff3 Mon Sep 17 00:00:00 2001
+From: Shiji Yang <yangshiji66@outlook.com>
+Date: Thu, 3 Jul 2025 21:06:32 +0800
+Subject: [PATCH] MIPS: vpe-mt: add missing prototypes for
+ vpe_{alloc,start,stop,free}
+
+These functions are exported but their prototypes are not defined.
+This patch adds the missing function prototypes to fix the following
+compilation warnings:
+
+arch/mips/kernel/vpe-mt.c:180:7: error: no previous prototype for 'vpe_alloc' [-Werror=missing-prototypes]
+  180 | void *vpe_alloc(void)
+      |       ^~~~~~~~~
+arch/mips/kernel/vpe-mt.c:198:5: error: no previous prototype for 'vpe_start' [-Werror=missing-prototypes]
+  198 | int vpe_start(void *vpe, unsigned long start)
+      |     ^~~~~~~~~
+arch/mips/kernel/vpe-mt.c:208:5: error: no previous prototype for 'vpe_stop' [-Werror=missing-prototypes]
+  208 | int vpe_stop(void *vpe)
+      |     ^~~~~~~~
+arch/mips/kernel/vpe-mt.c:229:5: error: no previous prototype for 'vpe_free' [-Werror=missing-prototypes]
+  229 | int vpe_free(void *vpe)
+      |     ^~~~~~~~
+
+Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
+---
+ arch/mips/include/asm/vpe.h | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+--- a/arch/mips/include/asm/vpe.h
++++ b/arch/mips/include/asm/vpe.h
+@@ -119,4 +119,12 @@ void cleanup_tc(struct tc *tc);
+ int __init vpe_module_init(void);
+ void __exit vpe_module_exit(void);
++
++#ifdef CONFIG_MIPS_VPE_LOADER_MT
++void *vpe_alloc(void);
++int vpe_start(void *vpe, unsigned long start);
++int vpe_stop(void *vpe);
++int vpe_free(void *vpe);
++#endif /* CONFIG_MIPS_VPE_LOADER_MT */
++
+ #endif /* _ASM_VPE_H */
diff --git a/target/linux/lantiq/patches-6.12/102-13-MIPS-vpe-mt-drop-unused-functions-vpe_alloc-and-vpe_.patch b/target/linux/lantiq/patches-6.12/102-13-MIPS-vpe-mt-drop-unused-functions-vpe_alloc-and-vpe_.patch
deleted file mode 100644 (file)
index 1528f12..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-From e6fab4c05f655b834587bc06f0274f69cdc43171 Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Thu, 8 May 2025 18:32:11 +0800
-Subject: [PATCH 13/16] MIPS: vpe-mt: drop unused functions vpe_alloc() and
- vpe_start()
-
-These two functions are defined but unused. Removing them to silence
-the missing prototypes warnings:
-
-arch/mips/kernel/vpe-mt.c:180:7: error: no previous prototype for 'vpe_alloc' [-Werror=missing-prototypes]
-  180 | void *vpe_alloc(void)
-      |       ^~~~~~~~~
-arch/mips/kernel/vpe-mt.c:198:5: error: no previous prototype for 'vpe_start' [-Werror=missing-prototypes]
-  198 | int vpe_start(void *vpe, unsigned long start)
-      |     ^~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
----
- arch/mips/kernel/vpe-mt.c | 29 -----------------------------
- 1 file changed, 29 deletions(-)
-
---- a/arch/mips/kernel/vpe-mt.c
-+++ b/arch/mips/kernel/vpe-mt.c
-@@ -172,35 +172,6 @@ void cleanup_tc(struct tc *tc)
-       local_irq_restore(flags);
- }
--/* module wrapper entry points */
--/* give me a vpe */
--void *vpe_alloc(void)
--{
--      int i;
--      struct vpe *v;
--
--      /* find a vpe */
--      for (i = 1; i < MAX_VPES; i++) {
--              v = get_vpe(i);
--              if (v != NULL) {
--                      v->state = VPE_STATE_INUSE;
--                      return v;
--              }
--      }
--      return NULL;
--}
--EXPORT_SYMBOL(vpe_alloc);
--
--/* start running from here */
--int vpe_start(void *vpe, unsigned long start)
--{
--      struct vpe *v = vpe;
--
--      v->__start = start;
--      return vpe_run(v);
--}
--EXPORT_SYMBOL(vpe_start);
--
- /* halt it for now */
- static int vpe_stop(void *vpe)
- {
diff --git a/target/linux/lantiq/patches-6.12/102-14-pinctrl-xway-mark-xway_pinconf_group_set-as-static.patch b/target/linux/lantiq/patches-6.12/102-14-pinctrl-xway-mark-xway_pinconf_group_set-as-static.patch
deleted file mode 100644 (file)
index f3b1576..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-From 7d8878668dfe011f33b92a0f9aa3e0d46c1b77ca Mon Sep 17 00:00:00 2001
-From: Shiji Yang <yangshiji66@outlook.com>
-Date: Thu, 8 May 2025 20:36:56 +0800
-Subject: [PATCH 14/16] pinctrl: xway: mark xway_pinconf_group_set() as static
-
-Fix the following missing-prototypes build warning:
-
-drivers/pinctrl/pinctrl-xway.c:1231:5: error: no previous prototype for 'xway_pinconf_group_set' [-Werror=missing-prototypes]
- 1231 | int xway_pinconf_group_set(struct pinctrl_dev *pctldev,
-      |     ^~~~~~~~~~~~~~~~~~~~~~
-
-Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
----
- drivers/pinctrl/pinctrl-xway.c | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
---- a/drivers/pinctrl/pinctrl-xway.c
-+++ b/drivers/pinctrl/pinctrl-xway.c
-@@ -1228,10 +1228,11 @@ static int xway_pinconf_set(struct pinct
-       return 0;
- }
--int xway_pinconf_group_set(struct pinctrl_dev *pctldev,
--                      unsigned selector,
--                      unsigned long *configs,
--                      unsigned num_configs)
-+static int
-+xway_pinconf_group_set(struct pinctrl_dev *pctldev,
-+                     unsigned selector,
-+                     unsigned long *configs,
-+                     unsigned num_configs)
- {
-       struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctldev);
-       int i, ret = 0;
diff --git a/target/linux/lantiq/patches-6.12/102-14-v6.17-pinctrl-xway-statify-xway_pinconf_group_set.patch b/target/linux/lantiq/patches-6.12/102-14-v6.17-pinctrl-xway-statify-xway_pinconf_group_set.patch
new file mode 100644 (file)
index 0000000..5e1113b
--- /dev/null
@@ -0,0 +1,31 @@
+From e62acaef5d3b67648a7161b329ae8a5afce8c682 Mon Sep 17 00:00:00 2001
+From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+Date: Thu, 12 Jun 2025 15:15:16 +0200
+Subject: [PATCH] pinctrl: xway: statify xway_pinconf_group_set()
+
+This function is not exported and is only used locally. Make it static.
+
+Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
+Link: https://lore.kernel.org/20250612-gpiochip-set-rv-pinctrl-remaining-v1-7-556b0a530cd4@linaro.org
+Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
+---
+ drivers/pinctrl/pinctrl-xway.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+--- a/drivers/pinctrl/pinctrl-xway.c
++++ b/drivers/pinctrl/pinctrl-xway.c
+@@ -1228,10 +1228,10 @@ static int xway_pinconf_set(struct pinct
+       return 0;
+ }
+-int xway_pinconf_group_set(struct pinctrl_dev *pctldev,
+-                      unsigned selector,
+-                      unsigned long *configs,
+-                      unsigned num_configs)
++static int xway_pinconf_group_set(struct pinctrl_dev *pctldev,
++                                unsigned int selector,
++                                unsigned long *configs,
++                                unsigned int num_configs)
+ {
+       struct ltq_pinmux_info *info = pinctrl_dev_get_drvdata(pctldev);
+       int i, ret = 0;
similarity index 69%
rename from target/linux/lantiq/patches-6.12/102-15-pinctrl-falcon-mark-pinctrl_falcon_init-as-static.patch
rename to target/linux/lantiq/patches-6.12/102-15-v6.17-pinctrl-falcon-mark-pinctrl_falcon_init-as-static.patch
index 9cf08a590195325488231c97e8753c3d5ebe1b2d..74586c6096d47c846515f585216639072a872bad 100644 (file)
@@ -1,7 +1,7 @@
-From 9dec40b4f01a2aa92311b077ef45ecaa335d45a2 Mon Sep 17 00:00:00 2001
+From 4b443bbcd113cad6ec041a4f9f09179e2342ad60 Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Fri, 9 May 2025 20:16:49 +0800
-Subject: [PATCH 15/16] pinctrl: falcon: mark pinctrl_falcon_init() as static
+Date: Wed, 18 Jun 2025 22:53:28 +0800
+Subject: [PATCH] pinctrl: falcon: mark pinctrl_falcon_init() as static
 
 Fix the following missing-prototypes build warning:
 
@@ -10,6 +10,8 @@ drivers/pinctrl/pinctrl-falcon.c:508:12: error: no previous prototype for 'pinct
       |            ^~~~~~~~~~~~~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Link: https://lore.kernel.org/OSBPR01MB167014AF54EF9818CB98C83BBC72A@OSBPR01MB1670.jpnprd01.prod.outlook.com
+Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
 ---
  drivers/pinctrl/pinctrl-falcon.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
similarity index 74%
rename from target/linux/lantiq/patches-6.12/102-16-spi-falcon-mark-falcon_sflash_xfer-as-static.patch
rename to target/linux/lantiq/patches-6.12/102-16-v6.17-spi-falcon-mark-falcon_sflash_xfer-as-static.patch
index ad50f396a1b8b8b5f6dea335c99b03ad9c85db96..f9b643b79dcc5111c0dd081697c0ee91dbc4e77e 100644 (file)
@@ -1,7 +1,7 @@
-From 28b20e002412bcadd4de74235faff275efb9e2cd Mon Sep 17 00:00:00 2001
+From 5fc2c383125c2b4b6037e02ad8796b776b25e6d0 Mon Sep 17 00:00:00 2001
 From: Shiji Yang <yangshiji66@outlook.com>
-Date: Fri, 9 May 2025 20:21:02 +0800
-Subject: [PATCH 16/16] spi: falcon: mark falcon_sflash_xfer() as static
+Date: Wed, 18 Jun 2025 22:53:29 +0800
+Subject: [PATCH] spi: falcon: mark falcon_sflash_xfer() as static
 
 Fix the following missing-prototypes build warning:
 
@@ -10,6 +10,8 @@ drivers/spi/spi-falcon.c:97:5: error: no previous prototype for 'falcon_sflash_x
       |     ^~~~~~~~~~~~~~~~~~
 
 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
+Link: https://patch.msgid.link/OSBPR01MB16705BE87E549B6210CD6BCABC72A@OSBPR01MB1670.jpnprd01.prod.outlook.com
+Signed-off-by: Mark Brown <broonie@kernel.org>
 ---
  drivers/spi/spi-falcon.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
index 7e6d843dc1cbc0216fa41f06ea7b3fabc99229d9..66e1cd8ea71f711349017418bb08e9e091e330b4 100644 (file)
@@ -51,11 +51,11 @@ Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
  #define read_vpe_c0_status()          mftc0($12, 0)
 --- a/arch/mips/include/asm/vpe.h
 +++ b/arch/mips/include/asm/vpe.h
-@@ -119,4 +119,13 @@ void cleanup_tc(struct tc *tc);
- int __init vpe_module_init(void);
- void __exit vpe_module_exit(void);
-+
+@@ -126,5 +126,13 @@ int vpe_start(void *vpe, unsigned long s
+ int vpe_stop(void *vpe);
+ int vpe_free(void *vpe);
+ #endif /* CONFIG_MIPS_VPE_LOADER_MT */
++ 
 +/* For the explanation of the APIs please refer the section "MT APRP Kernel
 + * Programming" in AR9 SW Architecture Specification
 + */
@@ -63,11 +63,11 @@ Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
 +int32_t vpe1_sw_stop(uint32_t flags);
 +uint32_t vpe1_get_load_addr(uint32_t flags);
 +uint32_t vpe1_get_max_mem(uint32_t flags);
-+
  #endif /* _ASM_VPE_H */
 --- a/arch/mips/kernel/vpe-mt.c
 +++ b/arch/mips/kernel/vpe-mt.c
-@@ -383,6 +383,8 @@ int __init vpe_module_init(void)
+@@ -414,6 +414,8 @@ int __init vpe_module_init(void)
                        }
  
                        v->ntcs = hw_tcs - aprp_cpu_index();
@@ -76,7 +76,7 @@ Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
  
                        /* add the tc to the list of this vpe's tc's. */
                        list_add(&t->tc, &v->tc);
-@@ -486,3 +488,47 @@ void __exit vpe_module_exit(void)
+@@ -517,3 +519,47 @@ void __exit vpe_module_exit(void)
                        release_vpe(v);
        }
  }