diff options
author | Xin Li <xin@zytor.com> | 2025-08-05 23:22:24 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-08-19 21:59:47 +0300 |
commit | d90ebf5a06ecc6d4d7f72d12c5029519af8f838d (patch) | |
tree | 5c53fd560088a539f80138800f432994759d2aa6 /tools/docs/parse-headers.py | |
parent | ec93675a325191c95bc322a4471c2f194f7211fc (diff) | |
download | linux-d90ebf5a06ecc6d4d7f72d12c5029519af8f838d.tar.xz |
KVM: x86: Advertise support for the immediate form of MSR instructions
Advertise support for the immediate form of MSR instructions to userspace
if the instructions are supported by the underlying CPU, and KVM is using
VMX, i.e. is running on an Intel-compatible CPU.
For SVM, explicitly clear X86_FEATURE_MSR_IMM to ensure KVM doesn't over-
report support if AMD-compatible CPUs ever implement the immediate forms,
as SVM will likely require explicit enablement in KVM.
Signed-off-by: Xin Li (Intel) <xin@zytor.com>
[sean: massage changelog]
Link: https://lore.kernel.org/r/20250805202224.1475590-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions