[PATCH v1 0/4] powerpc: Add support for GENERIC_EARLY_IOREMAP
From: Christophe Leroy
Date: Thu Sep 12 2019 - 09:49:43 EST
This series adds support for GENERIC_EARLY_IOREMAP on powerpc.
It also adds a warning in the standard ioremap() when it's called
before vmalloc is available in order to help locate those users.
Next step will be to incrementaly migrate all early users of
ioremap() to using early_ioremap() or other method.
Once they are all converted we can drop all the logic
behind ioremap_bot.
Christophe Leroy (4):
powerpc/fixmap: don't clear fixmap area in paging_init()
powerpc/fixmap: Use __fix_to_virt() instead of fix_to_virt()
powerpc: Add support for GENERIC_EARLY_IOREMAP
powerpc/ioremap: warn on early use of ioremap()
arch/powerpc/Kconfig | 1 +
arch/powerpc/include/asm/Kbuild | 1 +
arch/powerpc/include/asm/fixmap.h | 19 ++++++++++++++++++-
arch/powerpc/kernel/setup_32.c | 3 +++
arch/powerpc/kernel/setup_64.c | 3 +++
arch/powerpc/mm/ioremap_32.c | 1 +
arch/powerpc/mm/ioremap_64.c | 2 ++
arch/powerpc/mm/mem.c | 8 --------
8 files changed, 29 insertions(+), 9 deletions(-)
--
2.13.3