Re: [Qemu-devel] 答复: report a suspect bug about arm gic

2014-04-25 Thread Christoffer Dall
On Wed, Apr 16, 2014 at 02:46:52AM +, zhuxiaodong wrote: > I don't doubt about the algorithm of level interrupts. > The problem may come from the level value tested by GIC_TEST_LEVEL(irq, cm). > It is set in gic_set_irq_generic(): > > 115 static void gic_set_irq_generic(GICState *s, int irq, i

[Qemu-devel] 答复: report a suspect bug about arm gic

2014-04-15 Thread zhuxiaodong
I don't doubt about the algorithm of level interrupts. The problem may come from the level value tested by GIC_TEST_LEVEL(irq, cm). It is set in gic_set_irq_generic(): > 115 static void gic_set_irq_generic(GICState *s, int irq, int level, > 116 int cm, int target) >