These patches result in the memory memblock table to be clipped to the
size that can be supported by the currently configured linear region
size on arm64. This is required to prevent boot panics on systems with
more than 32 GB of memory which is laid out according to ARM's own physical
memory layout recommendations when booting kernels built with the default
4k granule/3 levels (i.e., 39-bit VA) page table configuration.

Since this may affect production systems after receiving memory upgrades,
this fix is proposed for -stable trees to which both patches apply
cleanly. (Note that applying either patch without the other one will not
break the build, but both patches are required to implement the fix)

Ard Biesheuvel (2):
  of/fdt: make memblock maximum physical address arch configurable
  arm64: set MAX_MEMBLOCK_ADDR according to linear region size

 arch/arm64/include/asm/memory.h |  8 ++++++++
 drivers/of/fdt.c                | 12 +++++++-----
 2 files changed, 15 insertions(+), 5 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to