All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: ignore memory outside of the linear range
@ 2015-08-18  9:34 Ard Biesheuvel
  2015-08-18  9:34 ` [PATCH 1/2] of/fdt: make memblock maximum physical address arch configurable Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Ard Biesheuvel @ 2015-08-18  9:34 UTC (permalink / raw)
  To: linux-arm-kernel

This is a followup to the single patch I posted on Aug 15th to ignore
RAM that cannot be covered by the linear mapping. Instead of clipping
the memory after the fact, this clips the memory before installing the
regions into the memblock memory table.

This is basically the approach that Mark Rutland suggested here

http://article.gmane.org/gmane.linux.ports.arm.kernel/430239

but modified to correctly consider the base of the kernel image as the
start of the linear mapping.

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

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [PATCH 0/2] arm64: stable backport of linear region clipping fix
@ 2015-09-07  7:16 Ard Biesheuvel
  2015-09-07  7:16 ` [PATCH 2/2] arm64: set MAX_MEMBLOCK_ADDR according to linear region size Ard Biesheuvel
  0 siblings, 1 reply; 31+ messages in thread
From: Ard Biesheuvel @ 2015-09-07  7:16 UTC (permalink / raw)
  To: stable, will.deacon, catalin.marinas, stuart.yoder, robh; +Cc: Ard Biesheuvel

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


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2015-09-07  7:16 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-18  9:34 [PATCH 0/2] arm64: ignore memory outside of the linear range Ard Biesheuvel
2015-08-18  9:34 ` [PATCH 1/2] of/fdt: make memblock maximum physical address arch configurable Ard Biesheuvel
2015-08-20  9:18   ` Catalin Marinas
2015-08-23 22:01   ` Rob Herring
2015-08-18  9:34 ` [PATCH 2/2] arm64: set MAX_MEMBLOCK_ADDR according to linear region size Ard Biesheuvel
2015-08-18 10:00   ` Will Deacon
2015-08-18 10:04     ` Ard Biesheuvel
2015-08-18 17:39       ` Catalin Marinas
2015-08-18 17:44         ` Ard Biesheuvel
2015-08-19  9:15           ` Catalin Marinas
2015-08-20  5:09         ` Ard Biesheuvel
2015-08-20  9:17           ` Catalin Marinas
2015-08-18 14:24     ` Catalin Marinas
2015-08-18 14:31       ` Ard Biesheuvel
2015-08-18 14:38         ` Ard Biesheuvel
2015-08-18 14:51       ` Russell King - ARM Linux
2015-08-18 16:16         ` Catalin Marinas
2015-08-20  9:19   ` Catalin Marinas
2015-08-20 11:54     ` Ard Biesheuvel
2015-08-20 12:50       ` Catalin Marinas
2015-08-18 14:18 ` [PATCH 0/2] arm64: ignore memory outside of the linear range Stuart Yoder
2015-08-24  8:00   ` Ard Biesheuvel
2015-08-24  9:22     ` Will Deacon
2015-08-24 13:58       ` Stuart Yoder
2015-08-24 14:08         ` Will Deacon
2015-08-24 22:34           ` Stuart Yoder
2015-08-25  9:45             ` Ard Biesheuvel
2015-08-25  9:54               ` Russell King - ARM Linux
2015-08-25 10:02               ` Will Deacon
2015-08-25 10:10                 ` Ard Biesheuvel
  -- strict thread matches above, loose matches on Subject: below --
2015-09-07  7:16 [PATCH 0/2] arm64: stable backport of linear region clipping fix Ard Biesheuvel
2015-09-07  7:16 ` [PATCH 2/2] arm64: set MAX_MEMBLOCK_ADDR according to linear region size Ard Biesheuvel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.