Skip to content

powerpc: Add support for GENERIC_EARLY_IOREMAP

Christophe Leroy linuxppc-dev lkml 1 version Applied

Status from this message: Applied to powerpc next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4powerpc/fixmap: don't clear fixmap area in paging_init()arch/powerpc/mm/mem.c+0 -83 replies
2/4powerpc/fixmap: Use __fix_to_virt() instead of fix_to_virt()arch/powerpc/include/asm/fixmap.h+6 -11 reply
3/4powerpc: Add support for GENERIC_EARLY_IOREMAParch/powerpc/Kconfig arch/powerpc/include/asm/Kbuild arch/powerpc/include/asm/fixmap.h +2 more+20 -04 replies
4/4powerpc/ioremap: warn on early use of ioremap()arch/powerpc/mm/ioremap_32.c arch/powerpc/mm/ioremap_64.c+3 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] powerpc: Add support for GENERIC_EARLY_IOREMAP

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(-)
Signature · 1 line
2.13.3