OSDN Git Service

KVM: arm64: selftests: Add helpers to enable debug exceptions
authorReiji Watanabe <reijiw@google.com>
Thu, 20 Oct 2022 05:41:57 +0000 (22:41 -0700)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Nov 2022 19:03:54 +0000 (19:03 +0000)
commit152880d8edf5ad6df5b4b4915a4d9f9085ab8fef
treef7a6bb14557df6430dc9bec468e4e702809e0e04
parent700b8860e02cbaa7dd1181a914ff38e0fae18bf0
KVM: arm64: selftests: Add helpers to enable debug exceptions

Add helpers to enable breakpoint and watchpoint exceptions.
No functional change intended.

Signed-off-by: Reiji Watanabe <reijiw@google.com>
Reviewed-by: Ricardo Koller <ricarkol@google.com>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221020054202.2119018-5-reijiw@google.com
tools/testing/selftests/kvm/aarch64/debug-exceptions.c