From mboxrd@z Thu Jan 1 00:00:00 1970 From: leif.lindholm@linaro.org (Leif Lindholm) Date: Thu, 3 Oct 2013 10:49:14 +0100 Subject: [PATCH v3 0/2] arm: add early_ioremap support Message-ID: <1380793756-2562-1-git-send-email-leif.lindholm@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 Cc: Arnd Bergman Cc: Catalin Marinas 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