aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorTakahiro Itazuri <[email protected]>2023-07-12 19:31:36 +0100
committerSean Christopherson <[email protected]>2023-08-02 15:49:23 -0700
commitaf8e2ccfa6f101f505add076c1a4d56c718e0d50 (patch)
treefc3c08f5eb95a15f41d1a34e21e1e3b2a26a702c /net/lapb/lapb_out.c
parent7f717f54845c518a64fe5464d855ddeca272483a (diff)
KVM: x86: Advertise host CPUID 0x80000005 in KVM_GET_SUPPORTED_CPUID
Advertise CPUID 0x80000005 (L1 cache and TLB info) to userspace so that VMMs that reflect KVM_GET_SUPPORTED_CPUID into KVM_SET_CPUID2 will enumerate sane cache/TLB information to the guest. CPUID 0x80000006 (L2 cache and TLB and L3 cache info) has been returned since commit 43d05de2bee7 ("KVM: pass through CPUID(0x80000006)"). Enumerating both 0x80000005 and 0x80000006 with KVM_GET_SUPPORTED_CPUID is better than reporting one or the other, and 0x80000005 could be helpful for VMM to pass it to KVM_SET_CPUID{,2} for the same reason with 0x80000006. Signed-off-by: Takahiro Itazuri <[email protected]> Link: https://lore.kernel.org/all/ZK7NmfKI9xur%[email protected] Link: https://lore.kernel.org/r/[email protected] [sean: add link, massage changelog] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions