[Ksummit-2012-discuss] PCI breakout session

Arnd Bergmann arnd at arndb.de
Tue Jun 19 11:22:21 UTC 2012

On Monday 18 June 2012, James Bottomley wrote:
> On Mon, 2012-06-18 at 07:42 +1000, Benjamin Herrenschmidt wrote:
> > Of course that's scary since PCI is so prone to regressions, especially
> > on x86 ...
> > 
> > I have some specific issues with resource allocation on bridges that
> > segment the MMIO space in interesting ways (for error handling) that I
> > want to discuss and get feedback on how to best deal with.
> > 
> > Do we start writing an agenda ?
> Could we do it on the second mini-summit day?  I suspect most of the
> arch maintainers will want to be there, since PCI is bound into all our
> architectures in some quite unique ways.

Speaking of which, I would like to discuss ways to make that less
architecture specific. We have a bunch of architectures that provide
more than one way to represent a PCI domain or root port, typically
one for each SoC family for the smaller ones, or different hypervisors
on higher-end architectures.

Right now, depending on the architecture, we use struct pci_sys_data,
struct pci_controller, pci_channel or pci_hba_data, which are all
similar but not identical. I would hope that we can move the common
parts into a framework that lets you register a pci domain dynamically,
and lets us move a lot of the simpler implementations to drivers/pci/host
and out of the architecture code.


More information about the Ksummit-2012-discuss mailing list