aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorThomas Bogendoerfer <[email protected]>2019-09-24 15:20:51 +0000
committerPaul Burton <[email protected]>2019-10-02 21:11:30 +0000
commitbd848d1b9235d027e65fcc87de26cc1b02b41cc8 (patch)
tree035176c008e48d3b95a5dd25c4c0e84b7c1abea0 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentMIPS: init: Fix reservation of memory between PHYS_OFFSET and mem start (diff)
downloadkernel-bd848d1b9235d027e65fcc87de26cc1b02b41cc8.tar.gz
kernel-bd848d1b9235d027e65fcc87de26cc1b02b41cc8.zip
MIPS: init: Prevent adding memory before PHYS_OFFSET
On some SGI machines (IP28 and IP30) a small region of memory is mirrored to pyhsical address 0 for exception vectors while rest of the memory is reachable at a higher physical address. ARC PROM marks this region as reserved, but with commit a94e4f24ec83 ("MIPS: init: Drop boot_mem_map") this chunk is used, when searching for start of ram, which breaks at least IP28 and IP30 machines. To fix this add_region_memory() checks for start address < PHYS_OFFSET and ignores these chunks. Fixes: a94e4f24ec83 ("MIPS: init: Drop boot_mem_map") Signed-off-by: Thomas Bogendoerfer <[email protected]> Signed-off-by: Paul Burton <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: James Hogan <[email protected]> Cc: [email protected] Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions