ARM: PCI: implement virtual PCI host controller
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] ARM: PCI: implement virtual PCI host controller
Quoted 18 lines · Arnd Bergmann
Quoted 13 lines · On Tuesday 15 April 2014 15:47:35 Will Deacon wrote:
Quoted 3 lines
We also have discussed some ideas about how to restructure the PCI code layer to make it easier to share host drivers across architectures and clean up the interfaces in the process.
Ok. Whilst this all sounds good from an arm64 perspective (with Liviu currently doing the work), it's not clear to me where that leaves my 32-bit ARM kvmtool code. That was the main reason for me writing this driver, and it seems a shame to have to wait for all the generic code to be sorted out before it can be used on AArch32, where there is already a functional pcibios implementation. The discussions mention things like generic
pci_host_bridge_ops, but having that forarch/arm/doesn't sound like something that is imminent.Quoted 3 lines
Of course, I plan to port my driver to the new infrastructure when it lands (since I want to support arm64), but it would be good to have something for AArch32 in the meantime.
Quoted 6 lines
Agreed. You'll probably have to add a few #ifdef until we have the infrastructure in place. However, I'd prefer not having to do that for a lot of other drivers. It's only a matter of time until someone wants one of the existing arm32 drivers to work on arm64, and we really shouldn't have to duplicate a lot of #ifdef logic across them, just to deal with the architectures being different.
Ok, cheers Arnd. I'll repost the patches sometime next week.
Will