aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJohn David Anglin <[email protected]>2021-12-21 18:21:22 +0000
committerHelge Deller <[email protected]>2021-12-21 20:07:39 +0000
commit8f66fce0f46560b9e910787ff7ad0974441c4f9c (patch)
treed5f798119ed692cec2c500360bc441ea5c87b8f3 /tools/perf/scripts/python/libxed.py
parentparisc: Clear stale IIR value on instruction access rights trap (diff)
downloadkernel-8f66fce0f46560b9e910787ff7ad0974441c4f9c.tar.gz
kernel-8f66fce0f46560b9e910787ff7ad0974441c4f9c.zip
parisc: Correct completer in lws start
The completer in the "or,ev %r1,%r30,%r30" instruction is reversed, so we are not clipping the LWS number when we are called from a 32-bit process (W=0). We need to nulify the following depdi instruction when the least-significant bit of %r30 is 1. If the %r20 register is not clipped, a user process could perform a LWS call that would branch to an undefined location in the kernel and potentially crash the machine. Signed-off-by: John David Anglin <[email protected]> Cc: [email protected] # 4.19+ Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions