[Skiboot] [PATCH skiboot] npu2: Use correct kill type for TCE invalidation

Stewart Smith stewart at linux.ibm.com
Tue Sep 18 17:36:24 AEST 2018


Alexey Kardashevskiy <aik at ozlabs.ru> writes:
> kill_type is enum of OPAL_PCI_TCE_KILL_PAGES, OPAL_PCI_TCE_KILL_PE,
> OPAL_PCI_TCE_KILL_ALL and phb4_tce_kill() gets it right but
> npu2_tce_kill() uses OPAL_PCI_TCE_KILL which is an OPAL API token.
>
> This fixes an obvious mistype.
>
> Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
> ---
>  hw/npu2.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks.

I've pulled this in to master as of
8a2b6d51b77172d5ff81aa412ff7aa97f57d4f90

and back into 6.0.x as of a281e8c2bbf31054a9e960c9998df8a4dd214749

Alistair/Reza: let me know if this was a terrible mistake :)

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list