[PATCH v3 0/2] arm: add early_ioremap support

Leif Lindholm leif.lindholm at linaro.org
Thu Oct 3 05:49:14 EDT 2013


This patch adds support for early_ioremap and early_memremap, based
on the existing mechanism in x86. Up to 7 regions of up to 128KB each
can be temporarily mapped in before paging_init, regardless of later
highmem status.

New for this version:
- Addressed feedback on v2
- *cough* corrected early_memremap() to use MT_WRITEALLOC instead
  of MT_UNCACHED.

Cc: Nicolas Pitre <nico at linaro.org>
Cc: Arnd Bergman <arnd at arndb.de>
Cc: Catalin Marinas <catalin.marinas at arm.com>

Leif Lindholm (2):
  Documentation: arm: early_ioremap/early_memremap
  arm: add early_ioremap support

 Documentation/arm/00-INDEX          |    2 +
 Documentation/arm/early_ioremap.txt |   23 +++
 arch/arm/Kconfig                    |    9 ++
 arch/arm/include/asm/fixmap.h       |   29 +++-
 arch/arm/include/asm/io.h           |   23 +++
 arch/arm/kernel/setup.c             |    3 +
 arch/arm/mm/Makefile                |    1 +
 arch/arm/mm/early_ioremap.c         |  271 +++++++++++++++++++++++++++++++++++
 arch/arm/mm/mmu.c                   |    2 +
 9 files changed, 362 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/arm/early_ioremap.txt
 create mode 100644 arch/arm/mm/early_ioremap.c

-- 
1.7.10.4




More information about the linux-arm-kernel mailing list