Skip to content

ARM: PCI: implement virtual PCI host controller

Bjorn Helgaas linux-arm-kernel linux-pci 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 of 3 patches 0 repliesNew

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: bios32: use pci_enable_resource to enable PCI resources+0 -01 reply
2/3PCI: ARM: add support for virtual PCI host controller+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 0/3] ARM: PCI: implement virtual PCI host controller
Quoted 10 lines · Will Deacon

Hello,

This small set of patches brings PCI support to mach-virt based upon an idealised host controller (see patch 2 for more details).

This has been tested with kvmtool, for which I have a corresponding set of patches which you can find in my kvmtool/pci branch at:

git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git

Quoted 7 lines

Once the arm64 PCI patches from Liviu have stabilised, I plan to port this host controller to work there as well.

The main issue I can see with this code is how to describe configuration space in the device-tree. I'm following the ePAPR PCI bindings (SS == 0) , but this adds an ugly 'case 0:' line in the pci range parser, which also exists in mainline for the pcie-designware.c driver.

There was a long discussion about this (especially 2/3), and I didn't follow it closely enough to get the resolution, and I don't think I picked up the patches.

Can you post them again if they're still applicable?

Thanks,
Bjorn