[Skiboot] [PATCH 1/2] phb4: set PHB CMPM registers for tunneled operations
clombard at linux.vnet.ibm.com
Tue Oct 24 20:20:33 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 PHB ASN Compare/Mask register with a 16-bit indication.
> 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
> PHB ASN register without switching to CAPI mode.
> This patch provides two new OPAL calls to get/set any of the three PHB
> CMPM registers that obey the same logic (ASN, NBW, and CAPI).
> This new API aims at letting the operating system choose indications, that
> may change in the future. Compatibility with older kernel versions is made
> by enable_capi_mode().
> Signed-off-by: Philippe Bergheaud <felix at linux.vnet.ibm.com>
Acked-by: Christophe Lombard<clombard at linux.vnet.ibm.com>
More information about the Skiboot