[PATCH 4/5] bsps/arm: Unmask generic timer in interrupt handler
Jeff Kubascik
jeff.kubascik at dornerworks.com
Mon Dec 2 18:58:16 UTC 2019
Xen will mask the virtual timer before injecting the interrupt to the
guest.
---
bsps/arm/shared/clock/clock-generic-timer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bsps/arm/shared/clock/clock-generic-timer.c b/bsps/arm/shared/clock/clock-generic-timer.c
index 1369a5d6f1..cedf1c40fd 100644
--- a/bsps/arm/shared/clock/clock-generic-timer.c
+++ b/bsps/arm/shared/clock/clock-generic-timer.c
@@ -90,6 +90,7 @@ static void arm_gt_clock_at_tick(void)
cval = arm_gt_clock_get_compare_value();
cval += interval;
arm_gt_clock_set_compare_value(cval);
+ arm_gt_clock_set_control(0x1);
}
static void arm_gt_clock_handler_install(void)
--
2.17.1
More information about the devel
mailing list