All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] MIPS: Memory setup tweaks
@ 2016-08-09 12:21 ` James Hogan
  0 siblings, 0 replies; 9+ messages in thread
From: James Hogan @ 2016-08-09 12:21 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: James Hogan, Paul Burton, linux-mips

Here are a couple of tweaks for MIPS memory setup, primarily in order to
handle memory which extends right up to the end of physical memory on
32-bit systems with 32-bit phys_addr_t. More specifically we omit the
final page of physical memory to avoid the overflow (see patch 1 for
details).

Patch 2 improves the rounding in the MAAR setup, so as to include the
first full page of an already aligned region, and to avoid a BUG_ON for
regions with non 64-KByte aligned end addresses (which I happened to hit
while working on a different version of patch 1 which wasn't correctly
merging the kernel data section into the main RAM region).

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org

James Hogan (2):
  MIPS: Allow memory reaching top of physical
  MIPS: MAAR: Fix address alignment

 arch/mips/kernel/setup.c |  7 +++++++
 arch/mips/mm/init.c      | 13 ++++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)

-- 
git-series 0.8.7

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

end of thread, other threads:[~2016-08-16 15:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-09 12:21 [PATCH 0/2] MIPS: Memory setup tweaks James Hogan
2016-08-09 12:21 ` James Hogan
2016-08-09 12:21 ` [PATCH 1/2] MIPS: Allow memory reaching top of physical James Hogan
2016-08-09 12:21   ` James Hogan
2016-08-09 12:21 ` [PATCH 2/2] MIPS: MAAR: Fix address alignment James Hogan
2016-08-09 12:21   ` James Hogan
2016-08-16 15:36 ` [PATCH 0/2] MIPS: Memory setup tweaks Ralf Baechle
2016-08-16 15:39   ` James Hogan
2016-08-16 15:39     ` James Hogan

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.