Re: [PATCH v1 1/6] KVM: arm64: VM exit to userspace to handle SEA

2025-05-30 Thread Jiaqi Yan
Thanks for the review, Marc! Sorry for the late reply, some of your questions took me some time to learn and think. On Fri, May 16, 2025 at 8:20 AM Marc Zyngier wrote: > > On Mon, 05 May 2025 17:14:07 +0100, > Jiaqi Yan wrote: > > > > When APEI fails to handle a stage2 abort that is synchronous

Re: [PATCH v1 1/6] KVM: arm64: VM exit to userspace to handle SEA

2025-05-16 Thread Marc Zyngier
On Mon, 05 May 2025 17:14:07 +0100, Jiaqi Yan wrote: > > When APEI fails to handle a stage2 abort that is synchrnous external > abort (SEA), nit: "a stage-2 synchronous external abort". > today KVM directly injects an async SError to the VCPU > then resumes it, which usually results in unpleasa

[PATCH v1 1/6] KVM: arm64: VM exit to userspace to handle SEA

2025-05-05 Thread Jiaqi Yan
When APEI fails to handle a stage2 abort that is synchrnous external abort (SEA), today KVM directly injects an async SError to the VCPU then resumes it, which usually results in unpleasant guest kernel panic. One major situation of guest SEA is when vCPU consumes recoverable uncorrected memory er