Skip to content

ARM: implement workaround for Cortex-A9/PL310/PCIe deadlock

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. 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.

Read the v1 thread

Cover letter [PATCH 0/3] ARM: PCI: implement virtual PCI host controller

Hi Bjorn,

(apologies for the delay, I've been away for a month)

Quoted 19 lines · Bjorn Helgaas
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.

Quoted 5 lines

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?

I ended up at v5 of the series:

http://lists.infradead.org/pipermail/linux-arm-kernel/2014-March/237540.html

which hasn't received any feedback. My plan is to get the driver working with arm64 once Liviu's series is merged, but I'd be happy to see this merged for 32-bit ARM before then.

Arnd: Is there anything more you'd like me to do with this series? Given that it would be targetting 3.16, there's still plenty of time to make changes (we talked about extracting some library functions in the past).

Will