Generic ioremap_page_range: introduction
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | Generic ioremap_page_range: implementationinclude/ lib/ lib/ | +96 | 0 replies | |
| 2/13 | Generic ioremap_page_range: alpha conversionarch/ arch/ arch/ | +13 | 0 replies | |
| 3/13 | Generic ioremap_page_range: arm conversionarch/ | +5 | 0 replies | |
| 4/13 | Generic ioremap_page_range: avr32 conversionarch/ | +6 | 0 replies | |
| 5/13 | Generic ioremap_page_range: cris conversionarch/ | +3 | 0 replies | |
| 6/13 | Generic ioremap_page_range: i386 conversionarch/ | +6 | 0 replies | |
| 7/13 | Generic ioremap_page_range: m32r conversionarch/ | +7 | 0 replies | |
| 8/13 | Generic ioremap_page_range: mips conversionarch/ | +7 | 0 replies | |
| 9/13 | Generic ioremap_page_range: parisc conversionarch/ | +7 | 4 replies | |
| 10/13 | Generic ioremap_page_range: s390 conversionarch/ | +3 | 0 replies | |
| 11/13 | Generic ioremap_page_range: sh conversionarch/ | +7 | 0 replies | |
| 12/13 | Generic ioremap_page_range: sh64 conversionarch/ | +8 | 0 replies | |
| 13/13 | Generic ioremap_page_range: x86_64 conversionarch/ | +6 | 2 replies |
Reviews trailers per patch
1 of 13 patches has a Reviewed-by or Acked-by.
| Patch | Kyle McMartin |
|---|---|
| 1/13 | |
| 2/13 | |
| 3/13 | |
| 4/13 | |
| 5/13 | |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | A-b |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/13] Generic ioremap_page_range: introduction
Since no one seemed to have any serious objections, here's a complete patchset with an updated ioremap_page_range() based on suggestions from Dave Hansen, Paul Mackerras and David Miller.
This also updates all architectures that were relatively trivial to convert. Most of remaining architectures implement ioremap() as a no-op or something close. Exceptions are m68k, powerpc and sparc.
m68k has some CPU-dependent logic in the middle of the loop.
powerpc could probably use generic ioremap_page_range(), but doing so would probably increase the code size, as the map_page() functions have other users in addition to ioremap().
sparc seems to do something completely different than everyone else.
I'll post the implementation as well as one patch per architecture conversion right after this. I haven't compile-tested most of the architecture changes, but it compiles and runs on AVR32.
Overall diffstat below.
Haavard
arch/alpha/kernel/proto.h | 15 +++++- arch/alpha/mm/Makefile | 2 - arch/alpha/mm/remap.c | 86 -------------------------------- arch/arm/mm/ioremap.c | 95 ++---------------------------------- arch/avr32/mm/ioremap.c | 120 ++------------------------------------------- arch/cris/mm/ioremap.c | 88 +-------------------------------- arch/i386/mm/ioremap.c | 85 ++------------------------------ arch/m32r/mm/ioremap.c | 93 +++-------------------------------- arch/mips/mm/ioremap.c | 95 +++--------------------------------- arch/parisc/mm/ioremap.c | 111 +++--------------------------------------- arch/s390/mm/ioremap.c | 84 +------------------------------- arch/sh/mm/ioremap.c | 97 +++--------------------------------- arch/sh64/mm/ioremap.c | 100 +++----------------------------------- arch/x86_64/mm/ioremap.c | 110 ++--------------------------------------- include/linux/io.h | 4 ++ lib/Makefile | 2 - lib/ioremap.c | 91 ++++++++++++++++++++++++++++++++++ 17 files changed, 174 insertions(+), 1104 deletions(-)