[Skiboot] [PATCH 2/2] phb4: set PBCQ Tunnel BAR for tunneled operations
clombard at linux.vnet.ibm.com
Tue Oct 24 20:24:04 AEDT 2017
Le 23/10/2017 à 15:08, Philippe Bergheaud a écrit :
> P9 supports PCI tunneled operations (atomics and as_notify) that require
> setting the PBCQ Tunnel BAR Response register with an address mask.
> This register is currently initialized by enable_capi_mode(). As tunneled
> operations may also operate in PCI mode, a new API is required to set the
> PBCQ Tunnel BAR Response register without switching to CAPI mode.
> This patch provides two new OPAL calls to get/set the PBCQ Tunnel BAR
> Response register.
> This new API aims at letting devices drivers set the PBCQ Tunnel BAR.
> Compatibility with older kernel versions is made by enable_capi_mode().
> Signed-off-by: Philippe Bergheaud <felix at linux.vnet.ibm.com>
Looks ok to me.
Reviewed-by: Christophe Lombard<clombard at linux.vnet.ibm.com>
More information about the Skiboot