HWBKPT v4: Hardware breakpoint implementation for s390
cover HWBKPT v4: Hardware breakpoint implementation for s390
Hi Heiko,
Please find the set of patches that introduces s390 specific implementation for perf-events based hardware breakpoint interfaces for review.
I did not introduce kernel per tracing check under kernel exit path 'RESTORE_ALL' as you said it is not so easy (and it was too complex for me to understand).
Change in v4:
- Introduced a kernel per tracing flag in lowcore structure for each cpu instead of global.
- Handled a race condition with interrupts/preemption while looking for PER event in hw_breakpoint_handler() routine.
Change in v3:
- Merged first two patches of v1 patchset.
- Introduced second patch that implements kernel part PER tracing.
The patch set has been tested with ksym_tracer and watchpoints over GDB+ptrace and works fine.
Thanks,
-Mahesh.
Signature · 1 line
Signed-off-by: Mahesh Salgaonkar <[email protected]>