From 9a945ee04682e489390809119f01eddb1eaf98b8 Mon Sep 17 00:00:00 2001 From: Nadime Barhoumi Date: Wed, 16 Sep 2026 15:18:00 -0400 Subject: [PATCH] hypervisor: align check_fault on remaining tests Follow-up to #658, which fixed the _hs variants. --- isa/hypervisor-svadu/2-stage_translation_implicit_store_error.S | 1 + isa/hypervisor/2-stage_translation_implicit_load_error.S | 1 + 2 files changed, 2 insertions(+) diff --git a/isa/hypervisor-svadu/2-stage_translation_implicit_store_error.S b/isa/hypervisor-svadu/2-stage_translation_implicit_store_error.S index 460c8aa1a..c504eb00e 100644 --- a/isa/hypervisor-svadu/2-stage_translation_implicit_store_error.S +++ b/isa/hypervisor-svadu/2-stage_translation_implicit_store_error.S @@ -85,6 +85,7 @@ hstatus_init: j fail # Should not reach here +.align 2 check_fault: la t0, trap_vector csrw mtvec, t0 diff --git a/isa/hypervisor/2-stage_translation_implicit_load_error.S b/isa/hypervisor/2-stage_translation_implicit_load_error.S index fbd19ae10..969f9d895 100644 --- a/isa/hypervisor/2-stage_translation_implicit_load_error.S +++ b/isa/hypervisor/2-stage_translation_implicit_load_error.S @@ -75,6 +75,7 @@ hstatus_init: j fail # Should not reach here +.align 2 check_fault: la t0, trap_vector csrw mtvec, t0