diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-10-30 23:09:46 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-11-05 22:17:30 +0300 |
| commit | 94428e3ba3258fc2862db3f9999e548d5a2d2a2a (patch) | |
| tree | 0ff6260dd6069f677662411a417cbd3bd5c68a36 /scripts/patch-kernel | |
| parent | 59d5c1ed6df222791ab7263e5a0c95eea9d83363 (diff) | |
| download | linux-94428e3ba3258fc2862db3f9999e548d5a2d2a2a.tar.xz | |
KVM: TDX: Convert INIT_MEM_REGION and INIT_VCPU to "unlocked" vCPU ioctl
Handle the KVM_TDX_INIT_MEM_REGION and KVM_TDX_INIT_VCPU vCPU sub-ioctls
in the unlocked variant, i.e. outside of vcpu->mutex, in anticipation of
taking kvm->lock along with all other vCPU mutexes, at which point the
sub-ioctls _must_ start without vcpu->mutex held.
No functional change intended.
Reviewed-by: Kai Huang <kai.huang@intel.com>
Co-developed-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Reviewed-by: Yan Zhao <yan.y.zhao@intel.com>
Tested-by: Yan Zhao <yan.y.zhao@intel.com>
Tested-by: Kai Huang <kai.huang@intel.com>
Link: https://patch.msgid.link/20251030200951.3402865-24-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
