[PATCH] powerpc/powernv: Enable tunneled operations

christophe lombard clombard at linux.vnet.ibm.com
Tue Oct 31 21:33:18 AEDT 2017


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 <felix at 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<clombard at linux.vnet.ibm.com>

Thanks



More information about the Linuxppc-dev mailing list