KVM: pass through CPUID(0x80000006)
Eric Northup authored
Return the host's L2 cache and TLB information for CPUID.0x80000006
instead of zeroing out the entry as part of KVM_GET_SUPPORTED_CPUID.
This allows a userspace VMM to feed KVM_GET_SUPPORTED_CPUID's output
directly into KVM_SET_CPUID2 (without breaking the guest).
Signed-off-by: default avatarEric Northup (Google) <digitaleric@gmail.com>
Signed-off-by: default avatarJim Mattson <jmattson@google.com>
Signed-off-by: default avatarJon Cargille <jcargill@google.com>
Message-Id: <20200415012320.236065-1-jcargill@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
43d05de2
Name Last commit Last update
..
boot Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
configs x86/configs: Slightly reduce defconfigs
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
entry Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
events Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
hyperv x86/hyperv: Suspend/resume the hypercall page for hibernation
ia32 Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
include KVM: SVM: move more vmentry code to assembly
kernel Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity
kvm KVM: pass through CPUID(0x80000006)
lib x86/insn: Add Control-flow Enforcement (CET) instructions to the opcode map
math-emu Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
mm mm: allow VM_FAULT_RETRY for multiple times
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
oprofile x86: Use pr_warn instead of pr_warning
pci Merge tag 'pci-v5.6-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
platform Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
power x86/kernel: Convert to new CPU match macros
purgatory Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
ras RAS/CEC: Add CONFIG_RAS_CEC_DEBUG and move CEC debug features there
realmode x86/vmlinux: Drop unneeded linker script discard of .eh_frame
tools kbuild: rename hostprogs-y/always to hostprogs/always-y
um Merge tag 'kbuild-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
video treewide: Add SPDX license identifier - Makefile/Kconfig
xen Merge tag 'timers-core-2020-03-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
.gitignore x86/build: Add arch/x86/tools/insn_decoder_test to .gitignore
Kbuild treewide: Add SPDX license identifier - Kbuild
Kconfig Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity
Kconfig.cpu x86/cpu: Detect VMX features on Intel, Centaur and Zhaoxin CPUs
Kconfig.debug x86: mm: convert dump_pagetables to use walk_page_range
Makefile crypto: x86/curve25519 - support assemblers with no adx support
Makefile.um x86, powerpc: Remove -funit-at-a-time compiler option entirely
Makefile_32.cpu x86/math-emu: Limit MATH_EMULATION to 486SX compatibles