|
@@ -366,6 +366,9 @@ void __init arm64_memblock_init(void)
|
|
|
/* Handle linux,usable-memory-range property */
|
|
|
fdt_enforce_memory_region();
|
|
|
|
|
|
+ /* Remove memory above our supported physical address size */
|
|
|
+ memblock_remove(1ULL << PHYS_MASK_SHIFT, ULLONG_MAX);
|
|
|
+
|
|
|
/*
|
|
|
* Ensure that the linear region takes up exactly half of the kernel
|
|
|
* virtual address space. This way, we can distinguish a linear address
|