[Ksummit-2012-discuss] PCI breakout session
Benjamin Herrenschmidt
benh at kernel.crashing.org
Tue Jun 19 21:11:21 UTC 2012
On Tue, 2012-06-19 at 21:01 +0000, Arnd Bergmann wrote:
>
> Yes, agreed. I don't think there is any way we can force the powerpc
> implementation into a generic abstraction layer without any
> add-ons ;-)
>
> What I was thinking is that we could have a struct pci_domain or
> similar
We already have pci_host_bridge. It's brand new :-)
We probably want to move more stuff to it though and provide better ways
to get to it.
> that contains the most common members of the current arch-specific
> structures and then we embed that structure into the architecture
> specific one. We can then have generic functions that operate just
> on the inner structure and use container_of() in the arch code to
> do the things that no other architecture needs.
Cheers,
Ben.
More information about the Ksummit-2012-discuss
mailing list