diff options
author | Reiji Watanabe <[email protected]> | 2022-10-19 22:41:56 -0700 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-11-10 19:03:54 +0000 |
commit | 700b8860e02cbaa7dd1181a914ff38e0fae18bf0 (patch) | |
tree | 2a839abeef2a736be0258355ad93d450c9998047 /tools/perf/util/trace-event-scripting.c | |
parent | f6d02aa28ae21161d64300bac62b2dde85584004 (diff) |
KVM: arm64: selftests: Remove the hard-coded {b,w}pn#0 from debug-exceptions
Remove the hard-coded {break,watch}point #0 from the guest_code() in
debug-exceptions to allow {break,watch}point number to be specified.
Change reset_debug_state() to zeroing all dbg{b,w}{c,v}r_el0 registers
so that guest_code() can use the function to reset those registers
even when non-zero {break,watch}points are specified for guest_code().
Subsequent patches will add test cases for non-zero {break,watch}points.
Signed-off-by: Reiji Watanabe <[email protected]>
Reviewed-by: Ricardo Koller <[email protected]>
Reviewed-by: Oliver Upton <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions