Thread (5 messages) flat view 5 messages, 3 authors, 2018-03-14

Re: [v10,1/2] powerpc/powernv: Enable tunneled operations

From: Michael Ellerman <hidden>
Date: 2018-03-14 09:28:28

On Fri, 2018-03-02 at 09:56:11 UTC, Philippe Bergheaud wrote:
P9 supports PCI tunneled operations (atomics and as_notify). This
patch adds support for tunneled operations on powernv, with a new
API, to be called by device drivers:

pnv_pci_enable_tunnel()
   Enable tunnel operations, tell driver the 16-bit ASN indication
   used by kernel.

pnv_pci_disable_tunnel()
   Disable tunnel operations.

pnv_pci_set_tunnel_bar()
   Tell kernel the Tunnel BAR Response address used by driver.
   This function uses two new OPAL calls, as the PBCQ Tunnel BAR
   register is configured by skiboot.

pnv_pci_get_as_notify_info()
   Return the ASN info of the thread to be woken up.

Signed-off-by: Philippe Bergheaud <redacted>
Reviewed-by: Frederic Barrat <redacted>
Reviewed-by: Christophe Lombard <redacted>
Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/d6a90bb83b5084829558788ea5b881

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help