From: Julien Grall Date: Thu, 13 Jun 2013 14:52:49 +0000 (+0100) Subject: xen/arm: Use the right GICD register to initialize IRQs routing X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~6743 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2caac1caa19bdaeb9ab14b2baf1342e00c4d0495;p=xen.git 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 Signed-off-by: Julien Grall Acked-by: Ian Campbell --- diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c index d9940ead05..177560e3d1 100644 --- a/xen/arch/arm/gic.c +++ b/xen/arch/arm/gic.c @@ -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 )