aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/crypto
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.vnet.ibm.com>2017-03-29 19:19:42 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2017-04-05 22:13:37 +1000
commit88b1bf7268f56887ca88eb09c6fb0f4fc970121a (patch)
tree4a591bf18abbf55e167d8e4e1e78d3d8a644a14d /arch/powerpc/crypto
parent8f5f525d5b83f7d76a6baf9c4e94d4bf312ea7f6 (diff)
downloadlinux-88b1bf7268f56887ca88eb09c6fb0f4fc970121a.tar.gz
powerpc/mm: Add missing global TLB invalidate if cxl is active
Commit 4c6d9acce1f4 ("powerpc/mm: Add hooks for cxl") converted local TLB invalidates to global if the cxl driver is active. This is necessary because the CAPP snoops invalidations to forward them to the PSL on the cxl adapter. However one path was forgotten. native_flush_hash_range() still does local TLB invalidates, as found out the hard way recently. This patch fixes it by following the same logic as previously: if the cxl driver is active, the local TLB invalidates are 'upgraded' to global. Fixes: 4c6d9acce1f4 ("powerpc/mm: Add hooks for cxl") Cc: stable@vger.kernel.org # v3.18+ Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/crypto')
0 files changed, 0 insertions, 0 deletions