2017-09-07 10:58:41 +00:00
|
|
|
<cpu mode='custom' match='exact'>
|
cpu: Add new EPYC CPU model
Add a new CPU model called 'EPYC' to model processors from AMD EPYC
family (which includes EPYC 76xx,75xx,74xx, 73xx and 72xx).
The following features bits have been added/removed compare to Opteron_G5
Added: monitor, movbe, rdrand, mmxext, ffxsr, rdtscp, cr8legacy, osvw,
fsgsbase, bmi1, avx2, smep, bmi2, rdseed, adx, smap, clfshopt, sha
xsaveopt, xsavec, xgetbv1, arat
Removed: xop, fma4, tbm
The patch is depend on EPYC CPU model supported introduced in qemu [1]
[1] https://patchwork.kernel.org/patch/9902205/
Cc: Tom Lendacky <Thomas.Lendacky@amd.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
2017-08-23 18:49:41 +00:00
|
|
|
<model fallback='forbid'>EPYC</model>
|
2017-09-07 10:58:41 +00:00
|
|
|
<vendor>AMD</vendor>
|
|
|
|
<feature policy='require' name='x2apic'/>
|
|
|
|
<feature policy='require' name='tsc-deadline'/>
|
|
|
|
<feature policy='require' name='hypervisor'/>
|
|
|
|
<feature policy='require' name='tsc_adjust'/>
|
|
|
|
<feature policy='require' name='cmp_legacy'/>
|
2020-06-17 09:48:16 +00:00
|
|
|
<feature policy='require' name='npt'/>
|
|
|
|
<feature policy='require' name='nrip-save'/>
|
2017-09-07 10:58:41 +00:00
|
|
|
<feature policy='disable' name='svm'/>
|
2020-11-12 20:10:14 +00:00
|
|
|
<feature policy='disable' name='monitor'/>
|
2017-09-07 10:58:41 +00:00
|
|
|
</cpu>
|