mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 19:15:34 +00:00
i386: remove the new CPUID 'PCONFIG' from Icelake-Server CPU model
PCONFIG is not available to guests; it must be specifically enabled using the PCONFIG_ENABLE execution control. Disable it, because no one can ever use it. Backports commit 76e5a4d58357b9d077afccf7f7c82e17f733b722 from qemu
This commit is contained in:
parent
04676ed074
commit
2c61060ecb
|
@ -3211,8 +3211,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
|
||||||
CPUID_7_0_ECX_AVX512VNNI | CPUID_7_0_ECX_AVX512BITALG |
|
CPUID_7_0_ECX_AVX512VNNI | CPUID_7_0_ECX_AVX512BITALG |
|
||||||
CPUID_7_0_ECX_AVX512_VPOPCNTDQ | CPUID_7_0_ECX_LA57,
|
CPUID_7_0_ECX_AVX512_VPOPCNTDQ | CPUID_7_0_ECX_LA57,
|
||||||
.features[FEAT_7_0_EDX] =
|
.features[FEAT_7_0_EDX] =
|
||||||
CPUID_7_0_EDX_PCONFIG | CPUID_7_0_EDX_SPEC_CTRL |
|
CPUID_7_0_EDX_SPEC_CTRL | CPUID_7_0_EDX_SPEC_CTRL_SSBD,
|
||||||
CPUID_7_0_EDX_SPEC_CTRL_SSBD,
|
|
||||||
/* Missing: XSAVES (not supported by some Linux versions,
|
/* Missing: XSAVES (not supported by some Linux versions,
|
||||||
* including v4.1 to v4.12).
|
* including v4.1 to v4.12).
|
||||||
* KVM doesn't yet expose any XSAVES state save component,
|
* KVM doesn't yet expose any XSAVES state save component,
|
||||||
|
|
Loading…
Reference in a new issue