ramips: mt7621: disable highmem support and remove highmem offset patch
[openwrt/openwrt.git] / target / linux / ramips / patches-5.15 / 120-highmem-start-offset.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Mon Jul 24 13:29:13 CEST 2023
3 Subject: [PATCH] mips: ralink: increase highmem start
4
5 Increase highmem start address in order to support devices with 512 MB memory
6 and MT7621 SoC
7
8 Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 ---
10 --- a/arch/mips/include/asm/mach-ralink/spaces.h
11 +++ b/arch/mips/include/asm/mach-ralink/spaces.h
12 @@ -5,6 +5,7 @@
13 #define PCI_IOBASE _AC(0xa0000000, UL)
14 #define PCI_IOSIZE SZ_16M
15 #define IO_SPACE_LIMIT (PCI_IOSIZE - 1)
16 +#define HIGHMEM_START _AC(0x24000000, UL)
17
18 #include <asm/mach-generic/spaces.h>
19 #endif