Files
linux/arch/mips/mm
Kyle Hendry 6d5fbecd02 MIPS: mm: Add check for highmem before removing memory block
If a device has less physical memory than the highmem threshold
bootmem_init() doesn't set highstart_pfn. This results in highmem_init()
wrongly disabling the entire memory range if the cpu doesn't support
highmem. Add a check that highstart_pfn is non zero before removing the
highmem block.

Fixes: f171b55f14 ("mips: fix HIGHMEM initialization")
Signed-off-by: Kyle Hendry <kylehendrydev@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2026-06-29 11:34:57 +02:00
..
2024-01-08 10:39:12 +01:00
2013-02-01 10:00:22 +01:00
2024-04-25 20:55:47 -07:00
2022-03-01 10:07:22 +01:00
2024-02-20 12:41:52 +01:00
2025-05-11 17:48:04 -07:00
2025-05-11 17:48:04 -07:00
2025-07-28 09:58:49 +02:00
2024-02-20 12:41:52 +01:00