diff options
author | 2025-01-29 11:58:58 +0200 | |
---|---|---|
committer | 2025-03-14 14:20:54 -0400 | |
commit | e0b4f31a3c65af66ad39bf686ce5602e49c905ae (patch) | |
tree | 64403239230213c1f17fe8fcf7411a75db57b4fd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: Allow to update cached values in kvm_user_return_msrs w/o wrmsr (diff) | |
download | linux-rng-e0b4f31a3c65af66ad39bf686ce5602e49c905ae.tar.xz linux-rng-e0b4f31a3c65af66ad39bf686ce5602e49c905ae.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions