[Skiboot] [PATCH v2 1/2] phb4: set PHB CMPM registers for tunneled operations
christophe lombard
clombard at linux.vnet.ibm.com
Sat Dec 2 03:56:19 AEDT 2017
Le 01/12/2017 à 13:34, 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(). But, as
> tunneled operations may also work in PCI mode, the ASN Compare/Mask
> register should rather be initialized in phb4_init_ioda3().
>
> This patch also adds "ibm,phb-indications" to the device tree, to tell
> Linux the values of CAPI, ASN, and NBW indications, when supported.
>
> Signed-off-by: Philippe Bergheaud <felix at linux.vnet.ibm.com>
> ---
> Changelog:
>
> v2: Do not let Linux choose indication values.
> Let skiboot tell Linux via the device tree.
> Initialize the PHB ASN indication in PCI mode.
> ---
Thanks.
Reviewed-by: Christophe Lombard clombard at linux.vnet.ibm.com
More information about the Skiboot
mailing list