Re: powerpc/powernv: Fix TCE kill on NVLink2
From: Michael Ellerman
Date: Wed May 03 2017 - 18:19:11 EST
On Wed, 2017-05-03 at 03:24:08 UTC, Alistair Popple wrote:
> Commit 616badd2fb49 ("powerpc/powernv: Use OPAL call for TCE kill on
> NVLink2") forced all TCE kills to go via the OPAL call for
> NVLink2. However the PHB3 implementation of TCE kill was still being
> called directly from some functions which in some circumstances caused
> a machine check.
>
> This patch adds an equivalent IODA2 version of the function which uses
> the correct invalidation method depending on PHB model and changes all
> external callers to use it instead.
>
> Fixes: 616badd2fb49 ("powerpc/powernv: Use OPAL call for TCE kill on NVLink2")
> Signed-off-by: Alistair Popple <alistair@xxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/6b3d12a948d27977816a15eb48409a
cheers