[Skiboot] [PATCH v2] phb4: set TVT1 for tunneled operations in capi mode

christophe lombard clombard at linux.vnet.ibm.com
Mon Apr 9 19:31:34 AEST 2018


Le 09/04/2018 à 10:58, Philippe Bergheaud a écrit :
> The ASN indication is used for tunneled operations (as_notify and
> atomics). Tunneled operation messages can be sent in PCI mode as
> well as CAPI mode.
> 
> The address field of as_notify messages is hijacked to encode the
> LPID/PID/TID of the target thread, so those messages should not go
> through address translation. Therefore bit 59 is part of the ASN
> indication.
> 
> This patch sets TVT#1 in bypass mode when capi mode is enabled,
> to prevent as_notify messages from being dropped.
> 
> Signed-off-by: Philippe Bergheaud <felix at linux.ibm.com>
> ---
> Changelog:
> 
> v2: Describe problem and solution in the commit message
> ---
>   hw/phb4.c | 22 +++++++---------------
>   1 file changed, 7 insertions(+), 15 deletions(-)
> 

Thanks.

Reviewed-by: Christophe Lombard <clombard at linux.vnet.ibm.com>



More information about the Skiboot mailing list