Mieczyslaw Nalewaj
499a59c234
kernel: bump 6.12 to 6.12.30
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.30
All patches automatically rebased.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18877
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-05-23 00:01:41 +02:00
Álvaro Fernández Rojas
d8375034b8
generic: backport upstream v6.16 Realtek PHY patches
...
83d962316128 net: phy: realtek: add RTL8127-internal PHY
708686132ba0 net: phy: realtek: Add support for PHY LEDs on RTL8211E
be1cc96ddf82 net: phy: realtek: use __set_bit() in rtl8211f_led_hw_control_get()
8c4d0172657c net: phy: realtek: Group RTL82* macro definitions
12d40df259e3 net: phy: realtek: add RTL8211F register defines
7c6fa3ffd265 net: phy: realtek: Clean up RTL821x ExtPage access
f3b265358b91 net: phy: realtek: remove unsed RTL821x_PHYSR* macros
7840e4d6f48a net: phy: realtek: Add support for WOL magic packet on RTL8211F
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-05-22 14:18:20 +02:00
Álvaro Fernández Rojas
91ce7f606a
generic: backport upstream v6.16 r8169 patches
...
f24f7b2f3af9 r8169: add support for RTL8127A
4f51e7d370a0 r8169: merge chip versions 52 and 53 (RTL8117)
f372ef6ed5a6 r8169: merge chip versions 64 and 65 (RTL8125D)
4dec0702b862 r8169: merge chip versions 70 and 71 (RTL8126A)
b7ed5d5a78fc r8169: use pci_prepare_to_sleep in rtl_shutdown
fe733618b27a r8169: add RTL_GIGA_MAC_VER_LAST to facilitate adding support for new chip versions
2b065c098c37 r8169: refactor chip version detection
0c49baf099ba r8169: add helper rtl8125_phy_param
8c40d99e5f43 r8169: add helper rtl_csi_mod for accessing extended config space
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-05-22 14:18:20 +02:00
Zoltan HERPAI
aaf89c2c2b
generic: 6.12: add missing symbols
...
These were found while working on mxs and sunxi 6.12.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2025-05-22 11:03:04 +02:00
Mieczyslaw Nalewaj
0912d3f595
kernel: bump 6.12 to 6.12.29
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.29
Removed upstreamed:
generic/pending-6.12/730-net-ethernet-mtk_eth_soc-reset-all-TX-queues-on-DMA-.patch[1]
Added settings:
x86: CONFIG_MITIGATION_ITS=y[2]
1. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=aac9d5fa537b0c19f6d3af3c8a124028510bb647
2. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=68d59e9ba38424389168eddf8791265818f67292
All other patches automatically rebased.
Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18837
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-21 13:52:35 +02:00
Mieczyslaw Nalewaj
a238170e57
treewide: strip trailing whitespace
...
Strip trailing whitespace in all code:
find . -type f | grep "\.c$" | xargs sed -i 's/[ \t]\+$//'
find . -type f | grep "\.h$" | xargs sed -i 's/[ \t]\+$//'
find . -type f | grep "\.dts$" | xargs sed -i 's/[ \t]\+$//'
find . -type f | grep "\.dtsi$" | xargs sed -i 's/[ \t]\+$//'
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18626
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-20 00:47:37 +02:00
Mieczyslaw Nalewaj
dcc21427f1
generic: refresh patches
...
Made: 'make target/linux/refresh'
Fixes: fbd31da840 ("generic: make xhci-pci-renesas a proper modular driver")
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18832
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-18 10:02:09 +02:00
Shiji Yang
fbd31da840
generic: make xhci-pci-renesas a proper modular driver
...
In the new 6.12 kernel, the dependencies of kmod-usb3 and
kmod-usb-xhci-pci-renesas have been reversed. To address the
issue of package recursive dependencies, we need to backport
this patchset to make the dependencies consistent between the
6.6 and 6.12 kernels.
Links:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.10.y&id=d6b2b694dd536d16566424c395d5642783ed6f34
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.11.y&id=9fdce69f674e49be669e97919d24b1ab5d2c9684
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=25f51b76f90f10f9bf2fbc05fc51cf685da7ccad
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18768
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-05-17 20:14:27 +02:00
Shiji Yang
803070e07f
generic: fix disable common USB quirks patch
...
Remove modifications for codes guarded by CONFIG_USB_PCI_AMD.
This kernel symbol is only visible on desktop level platform,
e.g. x86. They are not sensitive to firmware image size. This
patch also fixes function redefinition build errors:
drivers/usb/host/pci-quirks.c:621:6: error: redefinition of 'usb_asmedia_modifyflowcontrol'
621 | void usb_asmedia_modifyflowcontrol(struct pci_dev *pdev)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/usb/host/pci-quirks.c:22:
drivers/usb/host/pci-quirks.h:49:20: note: previous definition of 'usb_asmedia_modifyflowcontrol' with type 'void(struct pci_dev *)'
49 | static inline void usb_asmedia_modifyflowcontrol(struct pci_dev *pdev) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes: be6753dda0 ("generic: 6.12: manually rebuild pending patches")
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18637
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-05-17 19:46:52 +02:00
Robert Marko
0d4eda6237
generic: 6.12: add CONFIG_IDPF
...
CONFIG_IDPF is Intel(R) Infrastructure Data Path Function Support and it
should be disabled by default, if needed it can be packaged as a kmod.
Disable to prevent spreading out through target configs.
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-15 19:37:48 +02:00
Robert Marko
1e46a391df
generic: 6.12: add CONFIG_HISILICON_ERRATUM_162100801
...
Noticed that CONFIG_HISILICON_ERRATUM_162100801 was being added to
qualcommax 6.12 config.
Since we dont support any Hisilicon chips, disable it in generic config
before it starts spreading in target configs.
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-15 19:29:37 +02:00
Felix Fietkau
610dd871aa
kernel: fix warning on retrying page pool release
...
Fixes the following warning:
[ 180.314652] NOHZ tick-stop error: local softirq work is pending, handler #08!!!
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-05-15 15:41:59 +02:00
Zoltan HERPAI
95341cc9c5
generic: 6.12: add missing symbols
...
Add missing symbols found during moving sifiveu and d1 to 6.12.
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2025-05-14 23:27:03 +02:00
Robert Marko
d02071c24f
generic: config-filter: filter out CONFIG_PAHOLE_HAS_LANG_EXCLUDE
...
CONFIG_PAHOLE_HAS_LANG_EXCLUDE is set depending on the pahole version
present, so it must be filtered out.
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-14 11:28:01 +02:00
Mieczyslaw Nalewaj
4d18c41a6c
kernel: mtk_bmt: counteracting calloc-transposed-args compiler warning
...
For kernel 6.12 there is a warning causing an error:
drivers/mtd/nand/mtk_bmt_v2.c: In function 'mtk_bmt_get_mapping_mask':
drivers/mtd/nand/mtk_bmt_v2.c:307:31: error: 'kmalloc_array_noprof' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
307 | used = kcalloc(sizeof(unsigned long), BIT_WORD(bmtd.bmt_blk_idx) + 1, GFP_KERNEL);
| ^~~~~~~~
Swapping the arguments solves the problem.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18701
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-13 22:07:11 +02:00
Shiji Yang
01d5026239
kernel: bump 6.6 to 6.6.90
...
Remove upstreamed patches:
bcm27xx/patches-6.6/950-0481-xhci-Use-more-event-ring-segment-table-entries.patch [1]
pending-6.6/691-net-ipv6-fix-UDPv6-GSO-segmentation-with-NAT.patch [2]
Manually rebased patches:
generic/hack-6.6/781-usb-net-rndis-support-asr.patch [3]
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.90&id=f377434945f528217e65fc5b18781caeba19ce72
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.90&id=e0272844995aff8cbf2cc88b78c2b35ca51eda43
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.90&id=222b6685efe0d8c1cdb078a67bbe806f56d18f94
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18775
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-05-13 21:43:34 +02:00
Mieczyslaw Nalewaj
269a62b217
kernel: bump 6.12 to 6.12.28
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.28
Removed upstreamed:
generic/pending-6.12/691-net-ipv6-fix-UDPv6-GSO-segmentation-with-NAT.patch[1]
Manually rebased:
generic/pending-6.12/737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch[2]
generic/hack-6.12/781-usb-net-rndis-support-asr.patch[3]
1. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=6effe1c0fa823d9923f3b77547f201a5bab6c1e5
2. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=aea3ca60fafbdf0da5c930ff2f4105587deb6753
3. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=222b6685efe0d8c1cdb078a67bbe806f56d18f94
All other patches automatically rebased.
Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18756
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-12 18:10:03 +02:00
Robert Marko
1c1026eeac
generic: 6.12: add CONFIG_EC_LENOVO_YOGA_C630
...
CONFIG_EC_LENOVO_YOGA_C630 popped up while doing 6.12 for qualcommax.
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-12 17:05:04 +02:00
Tianling Shen
4044ce7109
kernel: add missing Kconfig symbols
...
Found when building rockchip target (with kernel 6.12).
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Link: https://github.com/openwrt/openwrt/pull/18685
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-11 13:11:46 +02:00
Robert Marko
9a3c6df21b
generic: config-filter: filter out CONFIG_RUSTC_SUPPORTS_* symbols
...
CONFIG_RUSTC_SUPPORTS_* is set based on rustc presence and version,
so we need to filter it out.
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-09 14:13:19 +02:00
Álvaro Fernández Rojas
3b309e41cf
generic: 6.12: add new config symbols
...
Add new config symbols to 6.12 kernel config and move common symbols from x86.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-05-08 19:05:48 +02:00
Robert Marko
e9f1024779
generic: 6.12: add Qualcomm PBS symbol
...
Qualcomm PBS symbols popped up during 6.12 work.
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-08 18:07:29 +02:00
Robert Marko
bdad7c1aba
generic: 6.12: add Qualcomm PM8916 symbols
...
Qualcomm PM8916 PMIC symbols popped up while doing 6.12 for qualcommax.
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-08 18:07:24 +02:00
George Moussalem
c5e359a236
spi: spi-qpic-snand: update driver with latest patches from upstream
...
Updating the spi-qpic-snand driver with the latest patches sent
upstream and remove custom patches.
These patches add error handling fixes, use of right read location in
read ops, removal of unused variable, ability to read user config and
nand chip requirements, and support for 8bits ECC strength.
Tested on: Gl.iNet GL-B3000 & Linksys MR5500, MX2000, MX5500, SPNMX56
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18723
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-08 15:40:03 +02:00
Mieczyslaw Nalewaj
3f75f7d04e
kernel: bump 6.12 to 6.12.27
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.27
No patches update required.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18728
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-07 14:31:01 +02:00
Daniel Golle
fa0f130764
generic: 6.12: update block NVMEM driver
...
Update block NVMEM driver based on backported OF partition support.
Note the different MMC card DT binding compared to the previous
downstream solution: Instead of having a 'partitions' subnode inside
a 'block' node, the 'partitions' node now resides directly under the
node representing the card.
In order to make references to the 'boot0' or 'boot1' hw partitions
you will have to define 'partitions-boot0' or 'partitions-boot1', and
move the NVMEM layout into a partition (you may, of course, use
'fixed-partitions' for that, and cover the whole device, if needed).
See also https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/mmc/mmc-card.yaml?h=v6.13
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-05-07 04:44:46 +01:00
Daniel Golle
2ce11c911d
generic: 6.12: update fitblk driver for Linux 6.12
...
Update the uImage.FIT filesystem subimage block driver for use
with Linux 6.12.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-05-07 03:41:28 +01:00
Shiji Yang
be7ab6893a
generic: fix MIPS -mno-long-calls patchset for 6.12 kernel
...
It seems that we need to override all execmem alloc/free callbacks,
not just for module. This is the default patch behavior in the 6.6
kernel. Fix the warning when the module is loaded:
root@OpenWrt:~# insmod mtd-rw i_want_a_brick=1
[ 1404.954813] mtd-rw: mtd0: setting writeable flag
[ 1404.959643] mtd-rw: mtd5: setting writeable flag
[ 1404.966396] ------------[ cut here ]------------
[ 1404.971119] WARNING: CPU: 0 PID: 8 at mm/vmalloc.c:3361 vfree+0x1ac/0x2c4
[ 1404.978146] Trying to vfree() nonexistent vm area (74cc6c73)
[ 1404.983901] Modules linked in: mtd_rw(O) ath9k(O) ath9k_common(O)...
[ 1405.043696] CPU: 0 UID: 0 PID: 8 Comm: kworker/0:1 Tainted: G W O 6.12.25 #0
[ 1405.052118] Tainted: [W]=WARN, [O]=OOT_MODULE
[ 1405.056536] Hardware name:
[ 1405.061222] Workqueue: events do_free_init
[ 1405.065408] Stack : 807865d8 80850000 81823f80 81857df8 00000000 00000d21 81823fd0 800ca130
[ 1405.073924] 81839e48 807865d8 808d20bf 807865d8 81857d1c 00000001 81857ce8 4951640f
[ 1405.082434] 00000000 00000000 807865d8 81857bf8 ffffefff 00000000 ffffffea 00000b5d
[ 1405.090944] 81857c04 00000b5d 808537b0 ffffffff 00000001 00000000 807865d8 81857df8
[ 1405.099453] 00000000 00000d21 81823fd0 8085119c 00000018 803f4828 00000000 80a00000
[ 1405.107963] ...
[ 1405.110454] Call Trace:
[ 1405.112935] [<80066910>] show_stack+0x28/0xf0
[ 1405.117392] [<8069f340>] dump_stack_lvl+0x48/0x7c
[ 1405.122186] [<80084ab8>] __warn+0x9c/0x118
[ 1405.126357] [<80084bc0>] warn_slowpath_fmt+0x8c/0xac
[ 1405.131399] [<801f02ec>] vfree+0x1ac/0x2c4
[ 1405.135570] [<800dde54>] do_free_init+0x50/0x84
[ 1405.140172] [<8009f4a0>] process_one_work+0x1b0/0x3dc
[ 1405.145312] [<800a022c>] worker_thread+0x308/0x478
[ 1405.150178] [<800a81c0>] kthread+0xf4/0x11c
[ 1405.154455] [<80061b58>] ret_from_kernel_thread+0x14/0x1c
[ 1405.159938]
[ 1405.161772] ---[ end trace 0000000000000000 ]---
Fixes: a9c0f28951 ("generic: 6.12: move MIPS reloc patch from pending to hack and rework")
Ref: https://lore.kernel.org/all/20240505160628.2323363-1-rppt@kernel.org/
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Tested-by: Tony Ambardar <itugrok@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18721
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-06 12:48:21 +02:00
Álvaro Fernández Rojas
81e46d2a23
generic: 6.12: sync Realtek PHY patches with upstream
...
- Fix order of patches (3d483a10327f was merged before 34d5a86ff7bb).
- Reorganize patch numbers now that < 6.12 patches are no longer needed.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-05-05 15:37:16 +02:00
Álvaro Fernández Rojas
732d6e9332
generic: 6.12: backport hwmon_ops static visibility
...
This patch was added on linux v6.13 in order to avoid simple is_visible
functions on hwmon drivers.
See 79bc0af904
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-05-05 15:37:16 +02:00
Álvaro Fernández Rojas
94dbbe3496
generic: 6.12: sync r8169 patches with upstream
...
Upstream e2015942e90a couldn't be backported to 6.6 because the following
symbols were missing:
- disable_work
- disable_work_sync
- enable_work
See e2015942e9
Upstream 34e5ededf4b8 couldn't be backported to 6.6 because the following
symbol was missing:
- pcim_iomap_region
See 34e5ededf4
Reorganize patch numbers now that < 6.12 patches are no longer needed.
The following patches still differ from upstream:
- e340bff27e63
phy_set_eee_broken symbol is missing in 6.12
https://github.com/torvalds/linux/commit/e340bff27e63
The following patches can't be backported to 6.12 due to missing symbols:
- 5e7a74b6a357
phy_disable_eee_mode symbol is missing in 6.12
https://github.com/torvalds/linux/commit/5e7a74b6a357
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-05-05 15:37:09 +02:00
Mieczyslaw Nalewaj
ecc0f549c4
kernel: bump 6.12 to 6.12.26
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.26
All patches automatically rebased.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18695
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-05-04 21:58:23 +02:00
John Audia
fbcd547a44
kernel: bump 6.6 to 6.6.89
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.89
All patches automatically rebased.
Build system: x86/64
Build-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/18607
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-05-03 19:57:53 +02:00
Mieczyslaw Nalewaj
a72a2fd7e0
kernel: bump 6.6 to 6.6.88
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.88
Manually rebased:
- bcm27xx/patches-6.6/950-0327-media-i2c-ov7251-Make-the-enable-GPIO-optional.patch[1]
- bcm27xx/patches-6.6/950-0521-PCI-brcmstb-Add-BCM2712-support.patch[2]
- generic/hack-6.6/610-net-page_pool-try-to-free-deferred-skbs-while-waitin.patch[3]
- generic/pending-6.6/734-net-ethernet-mediatek-enlarge-DMA-reserve-buffer.patch[4]
All other patches automatically rebased.
1. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.88&id=f249c05416ea0bef24c9dbed0e653d2fad87b127
2. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.88&id=1fea7726276e5d6526ecd4e7ccb4c91a6135deb5
3. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.88&id=95f17738b86fd198924d874a5639bcdc49c7e5b8
4. https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.88&id=a2874f0dff63829d1f540003e2d83adb610ee64a
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/18607
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-05-03 19:57:53 +02:00
Shiji Yang
7f9c88b607
generic: add more missing Kconfig symbols for 6.12 kernel
...
These symbols were found when adding 6.12 kernel support for the
ath79 target.
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18653
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-05-01 13:00:32 +02:00
Mieczyslaw Nalewaj
7f0dc74091
kernel: filter out compiler RUSTC opts from config
...
These get dynamically set, not relevant for targets.
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:49 +02:00
Mieczyslaw Nalewaj
7e5bccd011
kernel: fortify: Hide run-time copy size from value range tracking
...
Fix compilation warning treated as an error:
./include/linux/fortify-string.h:114:33: error: '__builtin_memcpy' reading between 65 and 536870904 bytes from a region of size 64 [-Werror=stringop-overread]
114 | #define __underlying_memcpy __builtin_memcpy
| ^
./include/linux/fortify-string.h:633:9: note: in expansion of macro '__underlying_memcpy'
633 | __underlying_##op(p, q, __fortify_size); \
| ^~~~~~~~~~~~~
./include/linux/fortify-string.h:678:26: note: in expansion of macro '__fortify_memcpy_chk'
678 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \
| ^~~~~~~~~~~~~~~~~~~~
./include/linux/bitmap.h:259:17: note: in expansion of macro 'memcpy'
259 | memcpy(dst, src, len);
| ^~~~~~
kernel/padata.c: In function '__padata_set_cpumasks':
kernel/padata.c:735:48: note: source object 'pcpumask' of size [0, 64]
735 | cpumask_var_t pcpumask,
| ~~~~~~~~~~~~~~^~~~~~~~
Link: https://web.git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=239d87327dcd361b0098038995f8908f3296864f
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:49 +02:00
Mieczyslaw Nalewaj
ef590451a3
generic: mtdsplit: include appropriate header for kernel 6.12
...
In kernel 6.12 asm/unaligned.h was moved to linux/unaligned.h[1]
The patch points to the appropriate header depending on the kernel version.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=5f60d5f6bbc12e782fac78110b0ee62698f3b576
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:46 +02:00
Mieczyslaw Nalewaj
4bce1ebcd8
generic: 6.12: remove outdated kernel symbols
...
Symbols that no longer exist in 6.12 were removed by a script [1].
[1] https://github.com/openwrt/openwrt/pull/15324
Co-authored-by: Mantas Pucka <mantas@8devices.com>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:36 +02:00
Mieczyslaw Nalewaj
bcfd1b8d14
generic: 6.12: add missing symbols
...
These symbols only become visible when some packages or kernel debug
options get enabled. Move them to generic.
Co-authored-by: Mantas Pucka <mantas@8devices.com>
Co-authored-by: Mathew McBride <matt@traverse.com.au>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:36 +02:00
Mieczyslaw Nalewaj
a2063ec986
generic: 6.12: refresh hack patches
...
Refreshed patches for generic/hack-6.12 by running
make target/linux/refresh
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:34 +02:00
Mieczyslaw Nalewaj
a4cfd32917
generic: 6.12: manually rebuild hack patches
...
Manually rebuild hack patches:
- 200-tools_portability.patch
- 204-module_strip.patch
- 210-darwin_scripts_include.patch
- 251-kconfig.patch
- 421-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch
- 610-net-page_pool-try-to-free-deferred-skbs-while-waitin.patch
- 721-net-add-packet-mangeling.patch
- 725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch
- 760-net-usb-r8152-add-LED-configuration-from-OF.patch
- 800-GPIO-add-named-gpio-exports.patch
- 901-debloat_sock_diag.patch
- 902-debloat_proc.patch
- 904-debloat_dma_buf.patch
- 910-kobject_uevent.patch
- 911-kobject_add_broadcast_uevent.patch
- 930-Revert-Revert-Revert-driver-core-Set-fw_devlink-on-b.patch
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
[ improve commit title ]
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:33 +02:00
Mieczyslaw Nalewaj
5a7de563e0
generic: 6.12: refresh pending patches
...
Refreshed patches for generic/pending-6.12 by running
make target/linux/refresh
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:32 +02:00
Christian Marangi
a9c0f28951
generic: 6.12: move MIPS reloc patch from pending to hack and rework
...
Move MIPS reloc patch from pending to hack and rework it to adapt to new
kernel 6.12 version.
This required an additional patch. While at it also improve the text
with the original info without cut.
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:32 +02:00
Mieczyslaw Nalewaj
be6753dda0
generic: 6.12: manually rebuild pending patches
...
Manually rebuild pending patches:
- 103-kbuild-export-SUBARCH.patch
- 141-jffs2-add-RENAME_EXCHANGE-support.patch
- 200-ARM-9404-1-arm32-fix-boot-hang-with-HAVE_LD_DEAD_COD.patch
- 203-kallsyms_uncompressed.patch
- 270-platform-mikrotik-build-bits.patch
- 308-mips32r2_tune.patch
- 330-MIPS-kexec-Accept-command-line-parameters-from-users.patch
- 402-mtd-spi-nor-write-support-for-minor-aligned-partitions.patch
- 451-block-partitions-populate-fwnode.patch
- 476-mtd-spi-nor-add-eon-en25q128.patch
- 477-mtd-spi-nor-add-eon-en25qx128a.patch
- 479-mtd-spi-nor-add-xtx-xt25f128b.patch
- 481-mtd-spi-nor-add-support-for-Gigadevice-GD25D05.patch
- 482-mtd-spi-nor-add-gd25q512.patch
- 484-mtd-spi-nor-add-esmt-f25l16pa.patch
- 485-mtd-spi-nor-add-xmc-xm25qh128c.patch
- 488-mtd-spi-nor-add-xmc-xm25qh64c.patch
- 490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
- 497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch
- 498-mtd-spi-nor-locking-support-for-MX25L6405D.patch
- 510-block-add-uImage.FIT-subimage-block-driver.patch
- 530-jffs2_make_lzma_available.patch
- 630-packet_socket_type.patch
- 666-Add-support-for-MAP-E-FMRs-mesh-mode.patch
- 681-net-remove-NETIF_F_GSO_FRAGLIST-from-NETIF_F_GSO_SOF.patch
- 700-netfilter-nft_flow_offload-handle-netdevice-events-f.patch
- 702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch
- 706-net-phy-populate-host_interfaces-when-attaching-PHY.patch
- 711-03-net-dsa-qca8k-add-support-for-port_change_master.patch
- 734-net-ethernet-mediatek-enlarge-DMA-reserve-buffer.patch
- 736-03-net-ethernet-mtk_eth_soc-improve-keeping-track-of-of.patch
- 737-net-ethernet-mtk_eth_soc-add-paths-and-SerDes-modes-.patch
- 739-03-net-pcs-pcs-mtk-lynxi-add-platform-driver-for-MT7988.patch
- 801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch
- 809-01-nvmem-core-generalize-mac-base-cells-handling.patch
- 811-pci_disable_usb_common_quirks.patch
- 834-ledtrig-libata.patch
- 892-leds-Add-LED1202-I2C-driver.patch
- 920-mangle_bootargs.patch
Co-authored-by: Aditya Nugraha <vortexilation@gmail.com>
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
[ improve commit title + minor fixes ]
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:31 +02:00
Mieczyslaw Nalewaj
5d23eff6af
generic: 6.12: remove obsolete pending patches
...
Remove obsolete pending patches
Unnecessary:
- 820-w1-gpio-fix-problem-with-platfom-data-in-w1-gpio.patch[1]
[1] https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=9c0a5b3f9e55cf9a3dc85843666cae28adfdf7e3
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:31 +02:00
Mieczyslaw Nalewaj
dfc3e24bdd
generic: 6.12: refresh backport patches
...
Refreshed patches for generic/backport-6.12 by running
make target/linux/refresh
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:30 +02:00
Mieczyslaw Nalewaj
07d1d3d8f8
generic: 6.12: manually rebuild backport patches
...
Manually rebuild backport patches:
- 410-v6.13-01-block-add-support-for-defining-read-only-partitions.patch
- 839-v6.13-net-phy-aquantia-allow-forcing-order-of-MDI-pairs.patch
- 901-v6.13-net-dsa-mv88e6xxx-Support-LED-control.patch
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
[ improve commit title ]
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:30 +02:00
Mieczyslaw Nalewaj
601ebb372f
generic: 6.12: remove obsolete backport patches
...
Remove obsolete backport patches already included in kernel 6.12 including the patches:
- 623-v6.14-net-ipv6-fix-TCP-GSO-segmentation-with-NAT.patch - backported to kernel 6.12.21[1]
- 785-05-v6.15-net-sfp-add-quirk-for-FS-SFP-10GM-T-copper-SFP-module.patch - backported to kernel 6.12.24[2]
- 910-v6.13-pmdomain-core-add-dummy-release-function-to-genpd-de.patch - backported to kernel 6.12.9[3]
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=8940e6168bb353379772ef2555610a82ac569e36
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=163e8c1083b41289aad2afd06c39b9f859dc4ec0
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=cba9d51794ecde58a21e4e96bcfd0a18f7dd4ff8
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:29 +02:00
Mieczyslaw Nalewaj
456b7a5d48
kernel/generic: Restore kernel files for v6.6
...
This is an automatically generated commit which aids following Kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-04-30 16:26:29 +02:00