aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/plugin-lib/rootPlugin.py
diff options
context:
space:
mode:
authorBenjamin Gray <[email protected]>2023-08-29 06:34:55 +0000
committerMichael Ellerman <[email protected]>2023-09-18 02:23:47 +0000
commitcc879ab3ce39bc39f9b1d238b283f43a5f6f957d (patch)
tree8110700ed8845eb60e09ab728ebfecb578a18ac0 /tools/testing/selftests/tc-testing/plugin-lib/rootPlugin.py
parentpowerpc/perf/hv-24x7: Update domain value check (diff)
downloadkernel-cc879ab3ce39bc39f9b1d238b283f43a5f6f957d.tar.gz
kernel-cc879ab3ce39bc39f9b1d238b283f43a5f6f957d.zip
powerpc/watchpoints: Disable preemption in thread_change_pc()
thread_change_pc() uses CPU local data, so must be protected from swapping CPUs while it is reading the breakpoint struct. The error is more noticeable after 1e60f3564bad ("powerpc/watchpoints: Track perf single step directly on the breakpoint"), which added an unconditional __this_cpu_read() call in thread_change_pc(). However the existing __this_cpu_read() that runs if a breakpoint does need to be re-inserted has the same issue. Signed-off-by: Benjamin Gray <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/rootPlugin.py')
0 files changed, 0 insertions, 0 deletions