kernel: drop mips highmem offset start overrides
authorFelix Fietkau <nbd@nbd.name>
Mon, 24 Jul 2023 12:43:03 +0000 (14:43 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 24 Jul 2023 18:19:11 +0000 (20:19 +0200)
commit339e71cbd3f86e5901f600a6bb32c9d2613f3793
tree9e4a07eb73483af2cfe04485940fd2d0348d6457
parente5dea9e37f1953d0cc4b846a530ff4247bf08ee0
kernel: drop mips highmem offset start overrides

The maximum offset that can be supported is 0x20000000
Do not override it to to something bigger than that on MT7621, as that could
cause issues based on the fixed memory mappings. This makes the last 64 MB
RAM unusable on MT7621 devices with 512 MB but avoids incurring a heavy
performance hit

Fixes: cd2b74e01e8d ("ramips: mt7621: disable highmem support and remove highmem offset patch")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit a110de8152df46a1e2adf7010ba75fb3b1236cd8)
target/linux/generic/pending-5.15/307-mips_highmem_offset.patch [deleted file]
target/linux/ramips/patches-5.15/120-highmem-start-offset.patch [deleted file]