xen/arm: gicv3: Update comment for ICC_CTLR_EL1
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.
Signed-off-by Julien Grall <[email protected]>
--- xen/arch/arm/gic-v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/gic-v3.c +1 -1
@@ -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
Quoted 4 lines · Julien Grall
Xen is using EOImode 1 which means that EOI drops the priority and DIR deactivates the interrupt.
Signed-off-by Julien Grall <[email protected]>
Acked + applied, thanks.