]> Gentwo Git Trees - linux/.git/commit
KVM: x86: Report KVM supported CET MSRs as to-be-saved
authorYang Weijiang <weijiang.yang@intel.com>
Fri, 19 Sep 2025 22:32:18 +0000 (15:32 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 23 Sep 2025 16:00:49 +0000 (09:00 -0700)
commit6a11c860d8a4aa1c7351246bd1ee7b41f26399b6
treeff5adb0b83872b4542fdeaa06ddbe621ac490195
parent586ef9dcbb28fc0bc6beb496e6dc8a54276e7a32
KVM: x86: Report KVM supported CET MSRs as to-be-saved

Add CET MSRs to the list of MSRs reported to userspace if the feature,
i.e. IBT or SHSTK, associated with the MSRs is supported by KVM.

Suggested-by: Chao Gao <chao.gao@intel.com>
Signed-off-by: Yang Weijiang <weijiang.yang@intel.com>
Tested-by: Mathias Krause <minipli@grsecurity.net>
Tested-by: John Allen <john.allen@amd.com>
Tested-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Signed-off-by: Chao Gao <chao.gao@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20250919223258.1604852-12-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c