linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm: add early_ioremap support
@ 2014-07-09  9:39 Leif Lindholm
  2014-07-09  9:39 ` [PATCH 1/2] arm: use generic fixmap.h Leif Lindholm
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Leif Lindholm @ 2014-07-09  9:39 UTC (permalink / raw)
  To: linux-arm-kernel

early_ioremap()/early_memremap() create temporary virtual mappings
in the fixmap region during boot time. Part of the support now exists
in core code, but depends on the generic fixmap support.

This set converts arm to use the generic fixmap support, and adds the
architecture-specific part of early_ioremap support.

The fixmap/kmap changes in 3.15 complicated things slightly compared
to previous iterations of these patches - this version works around
that by introducing local macros in arm/mm/highmem.c.

Tested on TC2 and software models, with/without LPAE.

Mark Salter (2):
  arm: use generic fixmap.h
  arm: add early_ioremap support

 arch/arm/Kconfig              |   11 ++++++
 arch/arm/include/asm/Kbuild   |    1 +
 arch/arm/include/asm/fixmap.h |   45 +++++++++++++--------
 arch/arm/include/asm/io.h     |    1 +
 arch/arm/kernel/setup.c       |    3 ++
 arch/arm/mm/Makefile          |    1 +
 arch/arm/mm/early_ioremap.c   |   86 +++++++++++++++++++++++++++++++++++++++++
 arch/arm/mm/highmem.c         |   13 ++++---
 arch/arm/mm/init.c            |    2 +-
 arch/arm/mm/mmu.c             |    2 +
 10 files changed, 143 insertions(+), 22 deletions(-)
 create mode 100644 arch/arm/mm/early_ioremap.c

-- 
1.7.10.4

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

end of thread, other threads:[~2014-07-25 19:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-09  9:39 [PATCH 0/2] arm: add early_ioremap support Leif Lindholm
2014-07-09  9:39 ` [PATCH 1/2] arm: use generic fixmap.h Leif Lindholm
2014-07-09 20:49   ` Mark Salter
2014-07-18 14:33     ` Leif Lindholm
2014-07-25 19:56       ` Kees Cook
2014-07-22 16:39   ` Tomasz Figa
2014-07-09  9:39 ` [PATCH 2/2] arm: add early_ioremap support Leif Lindholm
2014-07-09  9:49   ` Russell King - ARM Linux
2014-07-09 11:48     ` Leif Lindholm
2014-07-22 16:48   ` Tomasz Figa
2014-07-22 17:11     ` Rob Herring
2014-07-22 17:27       ` Tomasz Figa
2014-07-09  9:42 ` [PATCH 0/2] " Russell King - ARM Linux
2014-07-09  9:58   ` Leif Lindholm
2014-07-09  9:47 ` Will Deacon
2014-07-09 10:02   ` Leif Lindholm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).