mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-04 01:21:54 +00:00
7ac610206a
The FEAT_DoubleFault extension adds the following: * All external aborts on instruction fetches and translation table walks for instruction fetches must be synchronous. For QEMU this is already true. * SCR_EL3 has a new bit NMEA which disables the masking of SError interrupts by PSTATE.A when the SError interrupt is taken to EL3. For QEMU we only need to make the bit writable, because we have no sources of SError interrupts. * SCR_EL3 has a new bit EASE which causes synchronous external aborts taken to EL3 to be taken at the same entry point as SError. (Note that this does not mean that they are SErrors for purposes of PSTATE.A masking or that the syndrome register reports them as SErrors: it just means that the vector offset is different.) * The existing SCTLR_EL3.IESB has an effective value of 1 when SCR_EL3.NMEA is 1. For QEMU this is a no-op because we don't need different behaviour based on IESB (we don't need to do anything to ensure that error exceptions are synchronized). So for QEMU the things we need to change are: * Make SCR_EL3.{NMEA,EASE} writable * When taking a synchronous external abort at EL3, adjust the vector entry point if SCR_EL3.EASE is set * Advertise the feature in the ID registers Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220531151431.949322-1-peter.maydell@linaro.org |
||
---|---|---|
.. | ||
arm | ||
devices | ||
i386 | ||
loongarch | ||
ppc | ||
riscv | ||
s390x | ||
authz.rst | ||
barrier.rst | ||
bootindex.rst | ||
confidential-guest-support.rst | ||
cpu-hotplug.rst | ||
cpu-models-mips.rst.inc | ||
cpu-models-x86-abi.csv | ||
cpu-models-x86.rst.inc | ||
device-emulation.rst | ||
device-url-syntax.rst.inc | ||
gdb.rst | ||
generic-loader.rst | ||
guest-loader.rst | ||
images.rst | ||
index.rst | ||
invocation.rst | ||
keys.rst | ||
keys.rst.inc | ||
linuxboot.rst | ||
managed-startup.rst | ||
monitor.rst | ||
multi-process.rst | ||
mux-chardev.rst | ||
mux-chardev.rst.inc | ||
pr-manager.rst | ||
qemu-block-drivers.rst | ||
qemu-block-drivers.rst.inc | ||
qemu-cpu-models.rst | ||
qemu-manpage.rst | ||
quickstart.rst | ||
replay.rst | ||
secrets.rst | ||
security.rst | ||
target-arm.rst | ||
target-avr.rst | ||
target-i386-desc.rst.inc | ||
target-i386.rst | ||
target-m68k.rst | ||
target-mips.rst | ||
target-ppc.rst | ||
target-riscv.rst | ||
target-rx.rst | ||
target-s390x.rst | ||
target-sparc64.rst | ||
target-sparc.rst | ||
target-xtensa.rst | ||
targets.rst | ||
tls.rst | ||
virtio-net-failover.rst | ||
vnc-security.rst |