• A
    powerpc/powernv: Fix TCE kill on NVLink2 · 6b3d12a9
    Alistair Popple 提交于
    Commit 616badd2 ("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: 616badd2 ("powerpc/powernv: Use OPAL call for TCE kill on NVLink2")
    Cc: stable@vger.kernel.org # v4.11+
    Signed-off-by: NAlistair Popple <alistair@popple.id.au>
    Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
    6b3d12a9
pci-ioda.c 104.5 KB