android_kernel_xiaomi_sm8350/arch/sparc/mm
Andreas Larsson dec0ab3bc3 sparc32: Limit memblock allocation to low memory
[ Upstream commit bda166930c37604ffa93f2425426af6921ec575a ]

Commit cca079ef8a changed sparc32 to use
memblocks instead of bootmem, but also made high memory available via
memblock allocation which does not work together with e.g. phys_to_virt
and can lead to kernel panic.

This changes back to only low memory being allocatable in the early
stages, now using memblock allocation.

Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-17 17:03:43 +01:00
..
extable.c
fault_32.c
fault_64.c
highmem.c
hugetlbpage.c
hypersparc.S
init_32.c
init_64.c
init_64.h
io-unit.c
iommu.c
leon_mm.c
Makefile
mm_32.h
srmmu_access.S
srmmu.c
swift.S
tlb.c
tsb.c
tsunami.S
ultra.S
viking.S