Bug 1450396

Summary: Add support for AMD EPYC processors
Product: Red Hat Enterprise Linux 7 Reporter: Paolo Bonzini <pbonzini>
Component: qemu-kvmAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED ERRATA QA Contact: Guo, Zhiyi <zhguo>
Severity: high Docs Contact:
Priority: high    
Version: 7.4CC: ailan, chayang, ctatman, ehabkost, jan.public, jinzhao, juzhang, knoel, michen, mtessun, pbonzini, rbalakri, rui.gouveia, virt-bugs, virt-maint, zhguo
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-1.5.3-146.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1445834 Environment:
Last Closed: 2018-04-10 14:32:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1445834, 1481252, 1524824    
Bug Blocks:    

Comment 1 Eduardo Habkost 2017-10-05 21:15:00 UTC
Upstream commit:

commit 2e2efc7dbe2b0adc1200b5aa286cdbed729f6751
Author: Brijesh Singh <brijesh.singh>
Date:   Tue Aug 15 12:00:51 2017 -0500

    target-i386/cpu: Add new EPYC CPU model
    
    Add a new base 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
    
    Cc: Paolo Bonzini <pbonzini>
    Cc: Richard Henderson <rth>
    Cc: Eduardo Habkost <ehabkost>
    Cc: Tom Lendacky <Thomas.Lendacky>
    Signed-off-by: Brijesh Singh <brijesh.singh>
    Message-Id: <20170815170051.127257-1-brijesh.singh>
    Reviewed-by: Eduardo Habkost <ehabkost>
    Signed-off-by: Eduardo Habkost <ehabkost>

Comment 2 Miroslav Rezanina 2017-10-24 04:40:28 UTC
Fix included in qemu-kvm-1.5.3-146.el7

Comment 6 Eduardo Habkost 2017-12-07 16:43:24 UTC
The monitor/svm warnings and the lack of x2apic may be real issues, depending on the how the compat code on qemu-kvm-rhev works, thanks for catching it!  This happens because qemu-kvm-1.5.3 doesn't have a mechanism for automatically disabling/enabling features when in KVM mode.  I will work on a fix.

However, this doesn't prevent the CPU model from being used, so I suggest verifying this BZ and opening a new one that's not a FutureFeature BZ.

Comment 7 Guo, Zhiyi 2017-12-08 01:50:07 UTC
Verified per comment 4, 6

Comment 11 errata-xmlrpc 2018-04-10 14:32:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0816