xen/arm: Use the right GICD register to initialize IRQs routing
PATCH v2 1/1 xen/arm: Use the right GICD register to initialize IRQs routing
Currently IRQs routing is initialized to the wrong register and overwrites interrupt configuration register (ICFGRn).
Reported-by Sander Bogaert <[email protected]>
Signed-off-by Julien Grall <[email protected]>
---
Changes in v2:
- cpumask was already good...
--- xen/arch/arm/gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/gic.c +1 -1
@@ -280,7 +280,7 @@ static void __init gic_dist_init(void)/* Route all global IRQs to this CPU */ for ( i =32 ; i < gic.lines; i +=4 ) -GICD [GICD_ICFGR + i /4 ] = cpumask; +GICD [GICD_ITARGETSR + i /4 ] = cpumask;/* Default priority for global interrupts */ for ( i =32 ; i < gic.lines; i +=4 )
Signature · 1 line
1.7.10.4
Quoted 5 lines · Julien Grall
Currently IRQs routing is initialized to the wrong register and overwrites interrupt configuration register (ICFGRn).
Reported-by Sander Bogaert <[email protected]>Signed-off-by Julien Grall <[email protected]>
Acked + applied, thanks.
Ian.