summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2018-03-23 05:56:27 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-23 10:48:03 +0100
commita5d4b5891c2f1f865a2def1eb0030f534e77ff86 (patch)
tree7c3f4cce6cc8156676b76a384d032145af3507bb /arch/powerpc/include/asm/cacheflush.h
parentpowerpc/mm/radix: Move the functions that does the actual tlbie closer (diff)
downloadlinux-a5d4b5891c2f1f865a2def1eb0030f534e77ff86.tar.xz
linux-a5d4b5891c2f1f865a2def1eb0030f534e77ff86.zip
powerpc/mm: Fixup tlbie vs store ordering issue on POWER9
On POWER9, under some circumstances, a broadcast TLB invalidation might complete before all previous stores have drained, potentially allowing stale stores from becoming visible after the invalidation. This works around it by doubling up those TLB invalidations which was verified by HW to be sufficient to close the risk window. This will be documented in a yet-to-be-published errata. Fixes: 1a472c9dba6b ("powerpc/mm/radix: Add tlbflush routines") Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> [mpe: Enable the feature in the DT CPU features code for all Power9, rename the feature to CPU_FTR_P9_TLBIE_BUG per benh.] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/cacheflush.h')
0 files changed, 0 insertions, 0 deletions