Skip to content

Consolidate asm/fixmap.h files

Mark Salter linux-arch linux-arm-kernel linux-hexagon linux-metag linux-mips linux-sh linux-um linuxppc-dev lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 3 repliesIn review
  2. v111 patches 10 repliesSuperseded

Changes in v2 from the cover letter

* Added acks from feedback.
* Use BUILD_BUG_ON in fix_to_virt()
* Fixed ARM patch to make FIXMAP_TOP inclusive of fixmap range as is the case in the other architectures.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11Add generic fixmap.hinclude/asm-generic/fixmap.h+97 -00 replies
2/11x86: use generic fixmap.harch/x86/include/asm/fixmap.h+1 -580 replies
3/11arm: use generic fixmap.harch/arm/include/asm/fixmap.h arch/arm/mm/init.c+9 -221 reply
4/11hexagon: use generic fixmap.harch/hexagon/include/asm/fixmap.h+1 -390 replies
5/11metag: use generic fixmap.harch/metag/include/asm/fixmap.h+1 -310 replies
6/11microblaze: use generic fixmap.harch/microblaze/include/asm/fixmap.h+2 -420 replies
7/11mips: use generic fixmap.harch/mips/include/asm/fixmap.h+1 -320 replies
8/11powerpc: use generic fixmap.harch/powerpc/include/asm/fixmap.h+2 -420 replies
9/11sh: use generic fixmap.harch/sh/include/asm/fixmap.h+2 -370 replies
10/11tile: use generic fixmap.harch/tile/include/asm/fixmap.h+1 -320 replies
11/11um: use generic fixmap.harch/um/include/asm/fixmap.h+1 -390 replies

Reviews trailers per patch

6 of 11 patches have a Reviewed-by or Acked-by.

PatchArnd BergmannRalf BaechleRichard KuoJames HoganMichal SimekChris MetcalfRichard Weinberger
1/11A-b A-b
2/11
3/11
4/11A-b
5/11A-b
6/11T-b
7/11A-b
8/11
9/11
10/11A-b
11/11A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/11] Consolidate asm/fixmap.h files

Many architectures provide an asm/fixmap.h which defines support for compile-time 'special' virtual mappings which need to be made before paging_init() has run. This suport is also used for early ioremap on x86. Much of this support is identical across the architectures. This patch consolidates all of the common bits into asm-generic/fixmap.h which is intended to be included from arch/*/include/asm/fixmap.h.

This has been compiled on x86, arm, powerpc, and sh, but tested on x86 only.

This is version two of the patch series:

git://github.com/mosalter/linux.git#fixmap-v2

Version 1 is here:

git://github.com/mosalter/linux.git#fixmap

Changes from v1:

* Added acks from feedback.
* Use BUILD_BUG_ON in fix_to_virt()
* Fixed ARM patch to make FIXMAP_TOP inclusive of fixmap range as is the case in the other architectures.

Mark Salter (11):
Add generic fixmap.h
x86: use generic fixmap.h
arm: use generic fixmap.h
hexagon: use generic fixmap.h
metag: use generic fixmap.h
microblaze: use generic fixmap.h
mips: use generic fixmap.h
powerpc: use generic fixmap.h
sh: use generic fixmap.h
tile: use generic fixmap.h
um: use generic fixmap.h

 arch/arm/include/asm/fixmap.h        | 29 +++--------
 arch/arm/mm/init.c                   |  2 +-
 arch/hexagon/include/asm/fixmap.h    | 40 +--------------
 arch/metag/include/asm/fixmap.h      | 32 +-----------
 arch/microblaze/include/asm/fixmap.h | 44 +---------------
 arch/mips/include/asm/fixmap.h       | 33 +-----------
 arch/powerpc/include/asm/fixmap.h    | 44 +---------------
 arch/sh/include/asm/fixmap.h         | 39 +--------------
 arch/tile/include/asm/fixmap.h       | 33 +-----------
 arch/um/include/asm/fixmap.h         | 40 +--------------
 arch/x86/include/asm/fixmap.h        | 59 +---------------------
 include/asm-generic/fixmap.h         | 97 ++++++++++++++++++++++++++++++++++++
 12 files changed, 118 insertions(+), 374 deletions(-)
 create mode 100644 include/asm-generic/fixmap.h
Signature · 1 line
1.8.3.1