i386/cpu: Enable 0x1f leaf for SapphireRapids by default
Host SapphireRapids CPU has 0x1f leaf by default, so that enable it for Guest CPU by default as well. Suggested-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com> Tested-by: Yi Lai <yi1.lai@intel.com> Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250711104603.1634832-9-zhao1.liu@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
5dbdcdce06
commit
1bf465f3e0
1 changed files with 5 additions and 1 deletions
|
|
@ -5081,8 +5081,12 @@ static const X86CPUDefinition builtin_x86_defs[] = {
|
|||
},
|
||||
{
|
||||
.version = 4,
|
||||
.note = "with spr-sp cache model",
|
||||
.note = "with spr-sp cache model and 0x1f leaf",
|
||||
.cache_info = &xeon_spr_cache_info,
|
||||
.props = (PropValue[]) {
|
||||
{ "x-force-cpuid-0x1f", "on" },
|
||||
{ /* end of list */ },
|
||||
}
|
||||
},
|
||||
{ /* end of list */ }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue