Skip to contentSkip to conversation

xen/arm: gicv3: Update comment for ICC_CTLR_EL1

PATCH In review Julien Grall 2 participants 2 messages Jul 15, 2015 – Jul 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/arm: gicv3: Update comment for ICC_CTLR_EL1

Xen is using EOImode 1 which means that EOI drops the priority and DIR deactivates the interrupt.

---
 xen/arch/arm/gic-v3.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/gic-v3.c +1 -1
index 2033951..d1db1ce 100644
@@ -719,7 +719,7 @@ static int __cpuinit gicv3_cpu_init(void)
     /* Set priority mask register */
     WRITE_SYSREG32(DEFAULT_PMR_VALUE, ICC_PMR_EL1);
 
-    /* EOI drops priority too (mode 0) */
+    /* EOI drops priority, DIR deactivates the interrupt (mode 1) */
     WRITE_SYSREG32(GICC_CTLR_EL1_EOImode_drop, ICC_CTLR_EL1);
 
     /* Enable Group1 interrupts */
Signature · 1 line
2.1.4