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 <sander.bogaert@elis.ugent.be>
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Julien Grall authored and Ian Campbell committed 2013-06-13 17:48:17 +01:00
1 parent c4cf4c30a8
commit 2caac1caa1
1 file changed
+1 -1
+1 -1
View File
@@ -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 )
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.