Thread (19 messages) 19 messages, 3 authors, 2020-01-29

Re: [PATCH v2 05/11] powerpc/powernv/ioda: Find opencapi slot for a device node

From: Andrew Donnellan <hidden>
Date: 2019-11-22 04:29:31

On 22/11/19 12:49 am, Frederic Barrat wrote:
Unlike real PCI slots, opencapi slots are directly associated to
the (virtual) opencapi PHB, there's no intermediate bridge. So when
looking for a slot ID, we must start the search from the device node
itself and not its parent.

Also, the slot ID is not attached to a specific bdfn, so let's build
it from the PHB ID, like skiboot.

Signed-off-by: Frederic Barrat <redacted>
Reviewed-by: Andrew Donnellan <redacted>


-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd@linux.ibm.com             IBM Australia Limited
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help