Re: [Qemu-devel] [PATCH 2/2] target-arm: Correct condition for taking VIRQ and VFIQ

2014-10-27 Thread Peter Maydell
On 27 October 2014 23:25, Edgar E. Iglesias wrote: > On Mon, Oct 27, 2014 at 12:58:07PM +, Peter Maydell wrote: >> The VIRQ and VFIQ exceptions are (as the comments say) only >> taken if the CPU is in Non-secure state and the IMO/FMO bits >> are set to enable virtualized interrupts. Correct th

Re: [Qemu-devel] [PATCH 2/2] target-arm: Correct condition for taking VIRQ and VFIQ

2014-10-27 Thread Edgar E. Iglesias
On Mon, Oct 27, 2014 at 12:58:07PM +, Peter Maydell wrote: > The VIRQ and VFIQ exceptions are (as the comments say) only > taken if the CPU is in Non-secure state and the IMO/FMO bits > are set to enable virtualized interrupts. Correct the code > to actually implement this by using '||' rather

[Qemu-devel] [PATCH 2/2] target-arm: Correct condition for taking VIRQ and VFIQ

2014-10-27 Thread Peter Maydell
The VIRQ and VFIQ exceptions are (as the comments say) only taken if the CPU is in Non-secure state and the IMO/FMO bits are set to enable virtualized interrupts. Correct the code to actually implement this by using '||' rather than '&&'. Signed-off-by: Peter Maydell --- target-arm/cpu.h | 4 ++-