aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSven Schnelle <[email protected]>2020-06-17 17:30:28 +0200
committerHeiko Carstens <[email protected]>2020-06-23 14:05:45 +0200
commite64a1618af8566d20991607913a4d90d39b30118 (patch)
treedd7cdc6c919f65de841690bae7ecbef49f3b96ba /tools/perf/scripts/python
parent48778464bb7d346b47157d21ffde2af6b2d39110 (diff)
s390: fix system call single stepping
When single stepping an svc instruction on s390, the kernel is entered with a PER program check interruption. The program check handler than jumps to the system call handler by reloading the PSW. The code didn't set GPR13 to the thread pointer in struct task_struct. This made the kernel access invalid memory while trying to fetch the syscall function address. Fix this by always assigned GPR13 after .Lsysc_per. Fixes: 0b0ed657fe00 ("s390: remove critical section cleanup from entry.S") Reported-and-tested-by: Christian Borntraeger <[email protected]> Signed-off-by: Sven Schnelle <[email protected]> Reviewed-by: Heiko Carstens <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions