[Skiboot] [PATCH v3 1/2] phb4: set PHB CMPM registers for tunneled operations

Philippe Bergheaud felix at linux.vnet.ibm.com
Sat Dec 16 00:57:43 AEDT 2017


On 15/12/2017 14:40, Philippe Bergheaud wrote:
> 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.
>
> v3: No functional change.
>      Drop cosmetic fixes in comments.

Linux patches:
https://patchwork.ozlabs.org/patch/849166/
https://patchwork.ozlabs.org/patch/849168/



More information about the Skiboot mailing list