qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu arm gic assert failed.


From: Christoffer Dall
Subject: Re: [Qemu-devel] qemu arm gic assert failed.
Date: Thu, 13 Nov 2014 15:28:18 +0100

On Thu, Nov 13, 2014 at 1:44 PM, Johan Karlsson <address@hidden> wrote:
> Hi,
> Enabled DEBUG_GIC in arm_gic.c
>
> Use case:
> Core0 wakes up core1 using irq and then core1 acks and runs eoi until it gets 
> 0x3ff.
> Note that core1 do not have interrupts enabled and does this in SVC.
>
> From what I can see s->current_pending[1] isn't updated in gic_update because 
> the following
>         if (!s->enabled || !s->cpu_enabled[cpu]) {
>             qemu_irq_lower(s->parent_irq[cpu]);
>             return;
>         }
> Is true for core0 after the first ack from core1 causing gic_update to return 
> before updating core1.
>
It was recently discussed on a previous thread that this is a bug in
the QEMU, the return statement above should be a 'continue;'

Does that solve your issue?

-Christoffer



reply via email to

[Prev in Thread] Current Thread [Next in Thread]