--- zzzz-none-000/linux-4.1.38/arch/mips/include/asm/pgtable-32.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/arch/mips/include/asm/pgtable-32.h 2020-11-25 10:06:48.000000000 +0000 @@ -61,7 +61,11 @@ #define VMALLOC_START MAP_BASE +#if defined(CONFIG_BCM_KF_512MB_DDR) && defined(CONFIG_BCM_512MB_DDR) +#define PKMAP_BASE (0xfc000000UL) +#else #define PKMAP_BASE (0xfe000000UL) +#endif #ifdef CONFIG_HIGHMEM # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)