Add ARMv8 RAS virtualization support in QEMU
Quoted 22 lines
Quoted 8 lines · On Thu, 30 Apr 2020 11:56:24 +0800 gengdongjiu <[email protected]> wrote:
Quoted 7 lines · Peter Maydell
Quoted 6 lines · Dongjiu Geng
In the ARMv8 platform, the CPU error types includes synchronous
external abort(SEA) and SError Interrupt (SEI). If exception
happens in guest, host does not know the detailed information of
guest, so it is expected that guest can do the recovery. For
example, if an exception happens in a guest user-space application, host does not know which application encounters errors, onlyguest knows it.
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
For the ARMv8 SEA/SEI, KVM or host kernel delivers SIGBUS to notify userspace. After user space gets the notification, it will record the CPER into guest GHES buffer and inject an exception or IRQ to guest.
In the current implementation, if the type of SIGBUS is
BUS_MCEERR_AR, we will treat it as a synchronous exception, and notify guest with ARMv8 SEA notification type after recording CPER into guest.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Hi. I left a comment on patch 1. The other 3 patches unreviewed are 5, 6 and 8, which are all ACPI core code, so that's for MST, Igor or Shannon to review.
Ping MST, Igor and Shannon, sorry for the noise.
I put it on my review queue
Igor, thank you very much in advance.
Quoted 12 lines
Quoted 12 lines
Quoted 11 lines
Once those have been reviewed, please ping me if you want this to go via target-arm.next.
thanks
-- PMM.