Le 25/10/2017 à 12:52, Philippe Bergheaud a écrit :

P9 supports PCI tunneled operations (atomics and as_notify).

This patch adds support for tunneled operations on powernv, by adding a
new API to be called by drivers:

pnv_pci_get_tunnel_ind() -- tell driver the 16-bit ASN indication set by
kernel.

pnv_pci_set_tunnel_bar() -- tell kernel the Tunnel BAR address mask used
by driver.

These functions use four new OPAL calls, as PBCQ and PHB configurations
are done by skiboot.

Signed-off-by: Philippe Bergheaud <fe...@linux.vnet.ibm.com>
---
This patch depends on the following skiboot prerequisites:

   https://patchwork.ozlabs.org/patch/829294/
   [1/2] phb4: set PHB CMPM registers for tunneled operations

   https://patchwork.ozlabs.org/patch/829293/
   [2/2] phb4: set PBCQ Tunnel BAR for tunneled operations


Looks good for me.

Acked-by:  Christophe Lombard<clomb...@linux.vnet.ibm.com>

Thanks

Reply via email to