Skip to content

PCI io.h cleanups

Arnd Bergmann linux-arm-kernel linux-i2c linux-tegra 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 of 15 patches 0 repliesNew

5 of 15 patches are in this archive. The cover letter announces 15.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15ARM: Add fixed PCI i/o mapping+0 -00 replies
3/15ARM: tegra: use fixed PCI i/o mapping+0 -02 replies
7/15ARM: dove: use fixed PCI i/o mapping+0 -02 replies
7/15ARM: dove: use fixed PCI i/o mapping+0 -00 replies
7/15ARM: dove: use fixed PCI i/o mapping+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] PCI io.h cleanups
Quoted 10 lines · Rob Herring

From: Rob Herring <[email protected]>

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.

Quoted 3 lines

I've only tested versatilepb under qemu, so any testing is appreciated. iop3xx and mv78xx0 have some risk of breaking as the PCI bus addresses are moved to 0 from matching the cpu host bus addesss.

Did you try running any devices that actually use I/O space in qemu? I think there are plenty of devices that you could use for testing that.

Arnd