summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorIsaku Yamahata <isaku.yamahata@intel.com>2025-01-29 12:58:58 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2025-03-14 21:20:54 +0300
commite0b4f31a3c65af66ad39bf686ce5602e49c905ae (patch)
tree64403239230213c1f17fe8fcf7411a75db57b4fd /scripts/lib
parentd3a6b6cfb82a9158ee624bf3d43e6ebd8fe05fc8 (diff)
downloadlinux-e0b4f31a3c65af66ad39bf686ce5602e49c905ae.tar.xz
KVM: TDX: restore user ret MSRs
Several MSRs are clobbered on TD exit that are not used by Linux while in ring 0. Ensure the cached value of the MSR is updated on vcpu_put, and the MSRs themselves before returning to ring 3. Co-developed-by: Tony Lindgren <tony.lindgren@linux.intel.com> Signed-off-by: Tony Lindgren <tony.lindgren@linux.intel.com> Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20250129095902.16391-10-adrian.hunter@intel.com> Reviewed-by: Xiayao Li <xiaoyao.li@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions