acrn-kernel/arch
Sean Christopherson 6a43e0d623 x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
[ Upstream commit 5df8ecfe36 ]

Drop the explicit check on the extended CPUID level in cpu_has_svm(), the
kernel's cached CPUID info will leave the entire SVM leaf unset if said
leaf is not supported by hardware.  Prior to using cached information,
the check was needed to avoid false positives due to Intel's rather crazy
CPUID behavior of returning the values of the maximum supported leaf if
the specified leaf is unsupported.

Fixes: 682a810887 ("x86/kvm/svm: Simplify cpu_has_svm()")
Link: https://lore.kernel.org/r/20230721201859.2307736-13-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:27:59 +02:00
..
alpha
arc
arm ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch() 2023-09-13 09:43:00 +02:00
arm64 arm64: dts: renesas: rzg2l: Fix txdv-skew-psec typos 2023-09-19 12:27:56 +02:00
csky
hexagon
ia64
loongarch LoongArch: mm: Add p?d_leaf() definitions 2023-09-13 09:43:01 +02:00
m68k m68k: Fix invalid .section syntax 2023-09-13 09:42:21 +02:00
microblaze
mips Revert "MIPS: unhide PATA_PLATFORM" 2023-09-13 09:42:20 +02:00
nios2
openrisc
parisc parisc: led: Fix LAN receive and transmit LEDs 2023-09-19 12:27:57 +02:00
powerpc powerpc/iommu: Fix notifiers being shared by PCI and VIO buses 2023-09-13 09:42:48 +02:00
riscv
s390 s390/ipl: add missing secure/has_secure file to ipl type 'unknown' 2023-09-13 09:43:03 +02:00
sh
sparc
um um: Fix hostaudio build errors 2023-09-13 09:42:58 +02:00
x86 x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm() 2023-09-19 12:27:59 +02:00
xtensa xtensa: PMU: fix base address for the newer hardware 2023-09-13 09:43:01 +02:00
.gitignore
Kconfig