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

Stewart Smith stewart at linux.ibm.com
Tue Apr 10 16:37:17 AEST 2018


Philippe Bergheaud <felix at linux.ibm.com> writes:
> 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(-)

Merged to master as of dec7fe284b8b9169b89d05196d08d550b911acd6
-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list