On 10/12/18 7:42 AM, Peter Maydell wrote: > The A/I/F bits in ISR_EL1 should track the virtual interrupt > status, not the physical interrupt status, if the associated > HCR_EL2.AMO/IMO/FMO bit is set. Implement this, rather than > always showing the physical interrupt status. > > We don't currently implement anything to do with external > aborts, so this applies only to the I and F bits (though it > ought to be possible for the outer guest to present a virtual > external abort to the inner guest, even if QEMU doesn't > emulate physical external aborts, so there is missing > functionality in this area). > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > target/arm/helper.c | 22 ++++++++++++++++++---- > 1 file changed, 18 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~