[PATCH 0/9] KVM: arm64: selftests: Test linked {break,watch}points
Reiji Watanabe
reijiw at google.com
Wed Aug 24 22:08:37 PDT 2022
This series adds test cases for linked {break,watch}points to the
debug-exceptions test, and expands {break,watch}point tests to
use non-zero {break,watch}points (the current test always uses
{break,watch}point#0).
Patches 1-6 add some helpers or do minor refactoring for
preparation of adding test cases in subsequent patches.
Patches 7-8 add test cases for a linked {break,watch}point.
Patch 9 expands {break,watch}point test cases to use non-zero
{break,watch}points.
Reiji Watanabe (9):
KVM: arm64: selftests: Add helpers to extract a field of an ID
register
KVM: arm64: selftests: Add write_dbg{b,w}{c,v}r helpers in
debug-exceptions
KVM: arm64: selftests: Remove the hard-coded {b,w}pn#0 from
debug-exceptions
KVM: arm64: selftests: Add helpers to enable debug exceptions
KVM: arm64: selftests: Have debug_version() use cpuid_get_ufield()
helper
KVM: arm64: selftests: Change debug_version() to take ID_AA64DFR0_EL1
KVM: arm64: selftests: Add a test case for a linked breakpoint
KVM: arm64: selftests: Add a test case for a linked watchpoint
KVM: arm64: selftests: Test with every breakpoint/watchpoint
.../selftests/kvm/aarch64/debug-exceptions.c | 281 +++++++++++++++---
.../selftests/kvm/include/aarch64/processor.h | 2 +
.../selftests/kvm/lib/aarch64/processor.c | 15 +
3 files changed, 262 insertions(+), 36 deletions(-)
base-commit: 1c23f9e627a7b412978b4e852793c5e3c3efc555
--
2.37.1.595.g718a3a8f04-goog
More information about the linux-arm-kernel
mailing list