Skip to content

x86: use correct early_[mem,io][re,un]map pairs

Juergen Gross linux-efi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86: use early_memunmap in arch/x86/kernel/devicetree.carch/x86/kernel/devicetree.c+2 -20 replies
2/4x86: use early_memunmap in arch/x86/kernel/e820.carch/x86/kernel/e820.c+1 -10 replies
3/4x86: use early_memunmap in arch/x86/kernel/setup.carch/x86/kernel/setup.c+4 -40 replies
4/4x86, efi: use early_ioremap in arch/x86/platform/efi/efi-bgrt.carch/x86/platform/efi/efi-bgrt.c+2 -20 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMatt FlemingDave Young
SeriesR-b A-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] x86: use correct early_[mem,io][re,un]map pairs

Areas mapped via early_memremap() should be unmapped via early_memunmap(), while I/O-areas should be mapped via early_ioremap() and unmapped via early_iounmap().

There are multiple spots where an area is mapped via the mem variant and unmapped via the io variant. This series corrects this by using the appropriate variants.

Juergen Gross (4):
x86: use early_memunmap in arch/x86/kernel/devicetree.c
x86: use early_memunmap in arch/x86/kernel/e820.c
x86: use early_memunmap in arch/x86/kernel/setup.c x86, efi: use early_ioremap in arch/x86/platform/efi/efi-bgrt.c

 arch/x86/kernel/devicetree.c     | 4 ++--
 arch/x86/kernel/e820.c           | 2 +-
 arch/x86/kernel/setup.c          | 8 ++++----
 arch/x86/platform/efi/efi-bgrt.c | 4 ++--
 4 files changed, 9 insertions(+), 9 deletions(-)
Signature · 1 line
2.1.4