Message ID | 20191111014048.21296-1-zhengxiang9@huawei.com (mailing list archive) |
---|---|
Headers | show |
Series | Add ARMv8 RAS virtualization support in QEMU | expand |
On Mon, 11 Nov 2019 at 01:44, Xiang Zheng <zhengxiang9@huawei.com> wrote: > > In the ARMv8 platform, the CPU error types are synchronous external abort(SEA) > and SError Interrupt (SEI). If exception happens in guest, sometimes it's better > for guest to perform the recovery, because host does not know the detailed > information of guest. For example, if an exception happens in a user-space > application within guest, host does not know which application encounters > errors. > > 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 into 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. Hi; I've given you reviewed-by tags on a couple of patches; other people have given review comments on some of the other patches, so I think you have enough to do a v22 addressing those. thanks -- PMM
On 2019/12/3 2:27, Peter Maydell wrote: >> application within guest, host does not know which application encounters >> errors. >> >> 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 into 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. > Hi; I've given you reviewed-by tags on a couple of patches; other > people have given review comments on some of the other patches, > so I think you have enough to do a v22 addressing those. Thanks very much for the reviewed-by tags, we will upload v22. > > thanks > -- PMM > . >