public inbox for linux-arch@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/13] Generic ioremap_page_range: introduction
@ 2006-08-08 12:23 Haavard Skinnemoen
  2006-08-08 12:23 ` [PATCH 1/13] Generic ioremap_page_range: implementation Haavard Skinnemoen
  2006-08-08 22:26 ` [PATCH 0/13] Generic ioremap_page_range: introduction David Miller
  0 siblings, 2 replies; 21+ messages in thread
From: Haavard Skinnemoen @ 2006-08-08 12:23 UTC (permalink / raw)
  To: linux-arch; +Cc: Haavard Skinnemoen

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(-)

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2006-08-08 22:26 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-08 12:23 [PATCH 0/13] Generic ioremap_page_range: introduction Haavard Skinnemoen
2006-08-08 12:23 ` [PATCH 1/13] Generic ioremap_page_range: implementation Haavard Skinnemoen
2006-08-08 12:23   ` [PATCH 2/13] Generic ioremap_page_range: alpha conversion Haavard Skinnemoen
2006-08-08 12:23     ` [PATCH 3/13] Generic ioremap_page_range: arm conversion Haavard Skinnemoen
2006-08-08 12:23       ` [PATCH 4/13] Generic ioremap_page_range: avr32 conversion Haavard Skinnemoen
2006-08-08 12:23         ` [PATCH 5/13] Generic ioremap_page_range: cris conversion Haavard Skinnemoen
2006-08-08 12:23           ` [PATCH 6/13] Generic ioremap_page_range: i386 conversion Haavard Skinnemoen
2006-08-08 12:23             ` [PATCH 7/13] Generic ioremap_page_range: m32r conversion Haavard Skinnemoen
2006-08-08 12:23               ` [PATCH 8/13] Generic ioremap_page_range: mips conversion Haavard Skinnemoen
2006-08-08 12:23                 ` [PATCH 9/13] Generic ioremap_page_range: parisc conversion Haavard Skinnemoen
2006-08-08 12:23                   ` [PATCH 10/13] Generic ioremap_page_range: s390 conversion Haavard Skinnemoen
2006-08-08 12:23                     ` [PATCH 11/13] Generic ioremap_page_range: sh conversion Haavard Skinnemoen
2006-08-08 12:23                       ` [PATCH 12/13] Generic ioremap_page_range: sh64 conversion Haavard Skinnemoen
2006-08-08 12:23                         ` [PATCH 13/13] Generic ioremap_page_range: x86_64 conversion Haavard Skinnemoen
2006-08-08 12:28                           ` Andi Kleen
2006-08-08 12:30                             ` Jan-Benedict Glaw
2006-08-08 14:38                   ` [PATCH 9/13] Generic ioremap_page_range: parisc conversion Kyle McMartin
2006-08-08 14:48                   ` Kyle McMartin
2006-08-08 15:13                     ` Haavard Skinnemoen
2006-08-08 15:37                     ` James Bottomley
2006-08-08 22:26 ` [PATCH 0/13] Generic ioremap_page_range: introduction David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox