diff options
| author | 2026-08-19 17:48:59 +0800 | |
|---|---|---|
| committer | 2026-09-22 06:40:04 -0700 | |
| commit | e5f1d62c59aea4f270773de1bf6e8867f5b1124c (patch) | |
| tree | 0fbc619b16021f023bd15add8b97a99afe4ab709 /scripts/Makefile.thinlto | |
| parent | KVM: TDX: Don't assume exit_reason[31:16] is all-0 in tdx_to_vmx_exit_reason() (diff) | |
KVM: TDX: Stuff exit_reason with UNDEFINED on wait_for_sept_zap return
Forcefully update the exit_reason to KVM's "standard" EXIT_REASON_UNDEFINED
if tdx_vcpu_run() bails without trying to run the vCPU because KVM needs to
wait for an in-progress S-EPT zap to complete. This avoids handling the
previous exit multiple times due to a stale exit_reason.
Fixes: 4b2abc49712b ("KVM: TDX: Kick off vCPUs when SEAMCALL is busy during TD page removal")
Cc: stable@vger.kernel.org
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://patch.msgid.link/20260819094903.3060020-6-xiaoyao.li@intel.com
[sean: use EXIT_REASON_UNDEFINED, drop comment about bits 31:16]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
