Julien Grall
2013-Jun-13 14:52 UTC
[PATCH v2] 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>
---
Changes in v2:
- cpumask was already good...
---
xen/arch/arm/gic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c
index d9940ea..177560e 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 )
--
1.7.10.4
Ian Campbell
2013-Jun-13 17:27 UTC
Re: [PATCH v2] xen/arm: Use the right GICD register to initialize IRQs routing
On Thu, 2013-06-13 at 15:52 +0100, Julien Grall wrote:> 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 + applied, thanks. Ian.
Reasonably Related Threads
- [PATCH v2 2/2] xen/arm: initialize the GIC irq properties of interrupts routed to guests
- [PATCH v2 13/15] xen: arm: Add debug keyhandler to dump the physical GIC state.
- [PATCH] xen/arm: Missing +1 when then number of interrupt lines for the GIC is computed
- How can I change the localSID for a SAMBA Server?
- How can I change the localSID for a SAMBA Server?