Re: [PATCH v4 0/5] KVM: X86: Fix nested TDP error code info
From: Sean Christopherson
Date: Wed May 27 2026 - 14:12:08 EST
On Fri, 22 May 2026 16:26:56 -0700, Sean Christopherson wrote:
> Kevin's series to fix how KVM populates error information when injecting
> nested page faults (NPF on SVM, EPT violations on VMX) to L1 during
> instruction emulation.
>
> See v3 for the full cover letter.
>
> v4:
> - Pass @from_hardware directly instead of stuff a flag in x86_exception.
> - Use the bits in @access (thanks to MBEC+GMET) to get the fault stage.
> - Check the entire PFEC/EXIT_QUAL in the selftest.
> - Use hardware _or_ KVM information, never merge the two.
> - Name the selftest nested_tdp_fault_test.
>
> [...]
Applied to kvm-x86 misc, thanks!
[1/5] KVM: x86: Widen x86_exception's error_code to 64 bits
https://github.com/kvm-x86/linux/commit/bb24edbb673f
[2/5] KVM: x86: Tell ->inject_page_fault() whether or a fault came from hardware
https://github.com/kvm-x86/linux/commit/fe0b872d7500
[3/5] KVM: SVM: Fix nested NPF injection of PFERR_GUEST_{PAGE,FINAL}_MASK bits
https://github.com/kvm-x86/linux/commit/297c2fe249db
[4/5] KVM: VMX: Synthesize nested EPT violation GVA_IS_VALID/GVA_TRANSLATED bits
https://github.com/kvm-x86/linux/commit/96b067b59ad9
[5/5] KVM: selftests: Add nested page fault injection test
https://github.com/kvm-x86/linux/commit/0de1020f7bbb
--
https://github.com/kvm-x86/linux/tree/next