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='ht'/>
|
|
|
|
<feature policy='require' name='osxsave'/>
|
|
|
|
<feature policy='require' name='xsaves'/>
|
|
|
|
<feature policy='require' name='cmp_legacy'/>
|
|
|
|
<feature policy='require' name='extapic'/>
|
|
|
|
<feature policy='require' name='skinit'/>
|
|
|
|
<feature policy='require' name='wdt'/>
|
|
|
|
<feature policy='require' name='tce'/>
|
|
|
|
<feature policy='require' name='topoext'/>
|
|
|
|
<feature policy='require' name='perfctr_core'/>
|
|
|
|
<feature policy='require' name='perfctr_nb'/>
|
|
|
|
<feature policy='require' name='invtsc'/>
|
2019-12-03 11:09:12 +00:00
|
|
|
<feature policy='require' name='clzero'/>
|
2020-06-17 12:50:42 +00:00
|
|
|
<feature policy='require' name='xsaveerptr'/>
|
2020-06-17 09:48:16 +00:00
|
|
|
<feature policy='require' name='npt'/>
|
|
|
|
<feature policy='require' name='lbrv'/>
|
|
|
|
<feature policy='require' name='svm-lock'/>
|
|
|
|
<feature policy='require' name='nrip-save'/>
|
|
|
|
<feature policy='require' name='tsc-scale'/>
|
|
|
|
<feature policy='require' name='vmcb-clean'/>
|
|
|
|
<feature policy='require' name='flushbyasid'/>
|
|
|
|
<feature policy='require' name='decodeassists'/>
|
|
|
|
<feature policy='require' name='pause-filter'/>
|
|
|
|
<feature policy='require' name='pfthreshold'/>
|
2017-09-07 10:58:41 +00:00
|
|
|
</cpu>
|