All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] MIPS: Support auto-detecting ARCH_PFN_OFFSET / PHYS_OFFSET
@ 2018-07-28  1:23 Paul Burton
  2018-07-28  1:23 ` [PATCH 1/4] MIPS: Make (UN)CAC_ADDR() PHYS_OFFSET-agnostic Paul Burton
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Paul Burton @ 2018-07-28  1:23 UTC (permalink / raw)
  To: linux-mips; +Cc: Vladimir Kondratiev, Paul Burton

This series fixes a couple of issues we currently have with use of
PHYS_OFFSET, introduces the ability to auto-detect a suitable value for
it from the boot memory map & enables that for the generic platform.
This allows generic kernels to run on systems where the base address of
physical memory is higher than zero without wasting memory on
book-keeping for the unused region between zero & that base address.

Applies cleanly atop mips-next as of commit a999933db9ed ("MIPS: remove
mips_swiotlb_ops").

Thanks,
    Paul

Paul Burton (4):
  MIPS: Make (UN)CAC_ADDR() PHYS_OFFSET-agnostic
  MIPS: Fix ISA virt/bus conversion for non-zero PHYS_OFFSET
  MIPS: Allow auto-dection of ARCH_PFN_OFFSET & PHYS_OFFSET
  MIPS: generic: Select MIPS_AUTO_PFN_OFFSET

 arch/mips/Kconfig                           |  4 ++++
 arch/mips/include/asm/io.h                  |  8 ++++----
 arch/mips/include/asm/mach-ar7/spaces.h     |  3 ---
 arch/mips/include/asm/mach-generic/spaces.h | 10 +++++++---
 arch/mips/include/asm/mach-pic32/spaces.h   |  1 -
 arch/mips/include/asm/page.h                | 11 ++++++++---
 arch/mips/jazz/jazzdma.c                    |  2 +-
 arch/mips/kernel/setup.c                    | 14 ++++++++++++--
 arch/mips/mm/dma-noncoherent.c              |  2 +-
 9 files changed, 37 insertions(+), 18 deletions(-)

-- 
2.18.0

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

end of thread, other threads:[~2018-07-28  1:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-28  1:23 [PATCH 0/4] MIPS: Support auto-detecting ARCH_PFN_OFFSET / PHYS_OFFSET Paul Burton
2018-07-28  1:23 ` [PATCH 1/4] MIPS: Make (UN)CAC_ADDR() PHYS_OFFSET-agnostic Paul Burton
2018-07-28  1:23 ` [PATCH 2/4] MIPS: Fix ISA virt/bus conversion for non-zero PHYS_OFFSET Paul Burton
2018-07-28  1:23 ` [PATCH 3/4] MIPS: Allow auto-dection of ARCH_PFN_OFFSET & PHYS_OFFSET Paul Burton
2018-07-28  1:23 ` [PATCH 4/4] MIPS: generic: Select MIPS_AUTO_PFN_OFFSET Paul Burton

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.