[kvm-unit-tests PATCH v6 13/14] arm64: debug: skip tests at EL2
Joey Gouly
joey.gouly at arm.com
Fri Jan 23 08:50:52 PST 2026
These tests are currently broken and need investigation.
Signed-off-by: Joey Gouly <joey.gouly at arm.com>
---
arm/debug.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arm/debug.c b/arm/debug.c
index 572786a9..0299fd28 100644
--- a/arm/debug.c
+++ b/arm/debug.c
@@ -267,6 +267,11 @@ static noinline void test_hw_bp(bool migrate)
int num_bp = get_num_hw_bp();
int i;
+ if (current_level() == CurrentEL_EL2) {
+ report_skip("test broken for EL2");
+ return;
+ }
+
install_exception_handler(EL1H_SYNC, ESR_EC_HW_BP_CURRENT, hw_bp_handler);
reset_debug_state();
@@ -314,6 +319,11 @@ static noinline void test_wp(bool migrate)
int num_wp = get_num_wp();
int i;
+ if (current_level() == CurrentEL_EL2) {
+ report_skip("test broken for EL2");
+ return;
+ }
+
install_exception_handler(EL1H_SYNC, ESR_EC_WP_CURRENT, wp_handler);
reset_debug_state();
--
2.25.1
More information about the linux-arm-kernel
mailing list