[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [v2] nvic: set pending status for not active interrupts
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [v2] nvic: set pending status for not active interrupts |
Date: |
Mon, 31 Oct 2016 11:57:48 +0000 |
On 31 October 2016 at 11:56, Krzeminski, Marcin (Nokia - PL/Wroclaw)
<address@hidden> wrote:
>> "after exiting interrupt handler" is the wrong condition to check.
>> You need to:
>> * cause the interrupt line to be set
>> * enter the interrupt handler as a result (int becomes active)
>> * cause the interrupt line to be lowered (while in the handler)
>> * cause the interrupt line to be set again (still in the handler)
>> * check the interrupt pending state (still in the handler)
>>
> I performed this test, and when we are in interrupt handler (constantly
> pooling pending bit) interrupt is re-pend just after line is set again.
> V3 behaves in the same way.
Great -- thanks for checking.
-- PMM