Re: [Qemu-devel] [Qemu-arm] [PATCH] target-arm: Priority masking with basepri on v7m

2015-11-18 Thread Francois Baldassari
, 2015 at 9:56 AM, Peter Crosthwaite wrote: > On Tue, Nov 17, 2015 at 1:52 PM, Francois Baldassari > wrote: >> Thanks for the swift reply. >> >> Michael's changes look very good indeed. Thank you for pointing them out. >> > > If you have tested them as

Re: [Qemu-devel] [PATCH] target-arm: Priority masking with basepri on v7m

2015-11-17 Thread Francois Baldassari
Thanks for the swift reply. Michael's changes look very good indeed. Thank you for pointing them out. No need to consider this any further then. Cheers, François. On Tue, Nov 17, 2015 at 1:49 PM, Peter Maydell wrote: > On 17 November 2015 at 21:40, François Baldassari > wrote: > > On armv7m

[Qemu-devel] [PATCH] hw/arm_gic: Correctly restore nested irq priority

2015-11-17 Thread Francois Baldassari
Upon activating an interrupt, set the corresponding priority bit in the APR/NSAPR registers without touching the currently set bits. In the event of nested interrupts, the GIC will then have the information it needs to restore the priority of the pre-empted interrupt once the higher priority interr