diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-10-30 23:09:35 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-11-05 22:05:51 +0300 |
| commit | b9d5cf6de0b6bd3bdd8957b5fea5a243e43c928f (patch) | |
| tree | 5bb106d130758fe8e413302cd495f6022ca10923 /scripts/patch-kernel | |
| parent | 7139c860650535cf517a9344212ce56a21ba37f5 (diff) | |
| download | linux-b9d5cf6de0b6bd3bdd8957b5fea5a243e43c928f.tar.xz | |
KVM: TDX: WARN if mirror SPTE doesn't have full RWX when creating S-EPT mapping
Pass in the mirror_spte to kvm_x86_ops.set_external_spte() to provide
symmetry with .remove_external_spte(), and assert in TDX that the mirror
SPTE is shadow-present with full RWX permissions (the TDX-Module doesn't
allow the hypervisor to control protections).
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Reviewed-by: Kai Huang <kai.huang@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-13-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
