kernel: Fix boot of realtek rtl838x
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 15 Dec 2025 01:02:35 +0000 (02:02 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 15 Dec 2025 23:08:38 +0000 (00:08 +0100)
commitb8d232d9dca82078b89f3a18da434cfbae641f2b
treea848cac697d2fa6db2deca6a03875d5988ace794
parent3c97c4a44cbeb767281f3260c1f6da4772432807
kernel: Fix boot of realtek rtl838x

Revert two patches from upstream Linux:
https://github.com/gregkh/linux/commit/135713cd0751bf296e515f5fdec234320f73bbd8
https://github.com/gregkh/linux/commit/231ac951fabae2aaed8b2c00b4a097107be49c8c

This fixes a boot hang on realtek rtl838x switches.
This is the last printed message:
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)

Thread on mips mailing list:
https://lore.kernel.org/linux-mips/b35fe4b3-8f42-49f4-a6bf-9f0e56d4050c@hauke-m.de/T/#u

Link: https://github.com/openwrt/openwrt/pull/21166
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/pending-6.6/360-Revert-MIPS-mm-kmalloc-tlb_vpn-array-to-avoid-stack-.patch [new file with mode: 0644]
target/linux/generic/pending-6.6/361-Revert-MIPS-mm-Prevent-a-TLB-shutdown-on-initial-uni.patch [new file with mode: 0644]