s390/syscall: fix single stepped system calls
Fix PER tracing of system calls after git commit 34525e1f7e
"s390: store breaking event address only for program checks"
broke it.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
@@ -545,6 +545,7 @@ ENTRY(pgm_check_handler)
|
|||||||
#
|
#
|
||||||
.Lpgm_svcper:
|
.Lpgm_svcper:
|
||||||
mvc __LC_RETURN_PSW(8),__LC_SVC_NEW_PSW
|
mvc __LC_RETURN_PSW(8),__LC_SVC_NEW_PSW
|
||||||
|
lghi %r13,__TASK_thread
|
||||||
larl %r14,.Lsysc_per
|
larl %r14,.Lsysc_per
|
||||||
stg %r14,__LC_RETURN_PSW+8
|
stg %r14,__LC_RETURN_PSW+8
|
||||||
lghi %r14,_PIF_SYSCALL | _PIF_PER_TRAP
|
lghi %r14,_PIF_SYSCALL | _PIF_PER_TRAP
|
||||||
|
|||||||
Reference in New Issue
Block a user