aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSuraj Jitindar Singh <[email protected]>2021-06-02 14:04:41 +1000
committerMichael Ellerman <[email protected]>2021-06-21 09:22:34 +1000
commit77bbbc0cf84834ed130838f7ac1988567f4d0288 (patch)
tree96646e55740a14f82c68b88bd399c74ec4b25b53 /tools/perf/scripts/python/stackcollapse.py
parentfae5c9f3664ba278137e54a2083b39b90c64093a (diff)
KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors
The POWER9 vCPU TLB management code assumes all threads in a core share a TLB, and that TLBIEL execued by one thread will invalidate TLBs for all threads. This is not the case for SMT8 capable POWER9 and POWER10 (big core) processors, where the TLB is split between groups of threads. This results in TLB multi-hits, random data corruption, etc. Fix this by introducing cpu_first_tlb_thread_sibling etc., to determine which siblings share TLBs, and use that in the guest TLB flushing code. [[email protected]: add changelog and comment] Signed-off-by: Paul Mackerras <[email protected]> Signed-off-by: Nicholas Piggin <[email protected]> Reviewed-by: Fabiano Rosas <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions