Thread (37 messages) flat view 37 messages, 6 authors, 2012-07-10
STALE5175d

[PATCH 00/15] PCI io.h cleanups

From: nico@fluxnic.net (Nicolas Pitre)
Date: 2012-07-09 20:24:34

On Mon, 9 Jul 2012, Rob Herring wrote:
On 07/09/2012 11:28 AM, Arnd Bergmann wrote:
quoted
On Friday 06 July 2012, Rob Herring wrote:
quoted
From: Rob Herring <redacted>

I've finally gotten back to this after several months. This is the 2nd
part of mach/io.h removals. This series removes io.h on platforms with
PCI by creating a fixed virtual I/O mapping and a common __io() macro.

As several platforms have 2 1MB I/O windows, I've changed the fixed
mapping to 2MB (vs. 1MB in the prior posting) and allow platforms to
control the size. This also allows using a single 1MB section mapping
rather than 4KB pages.
Looks really good, feel free to add my Reviewed-by on patches 2-15, since
I've done a line-by-line walkthrough and could not find anything besides the
trivial comments I gave.
Thanks for the review. It's going to change a bit with using
ioremap_page_range. Hope to have new version out soon.
Beware the fact that you can't use ioremap_page_range() early on during 
the boot as it uses the standard page allocator.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help