]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
i386: Add new Hygon 'Dhyana' CPU model
authorPu Wen <puwen@hygon.cn>
Tue, 16 Apr 2019 12:06:13 +0000 (20:06 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Thu, 25 Apr 2019 17:52:28 +0000 (14:52 -0300)
commit8d031cec366f26669807eb43f61eb335973b7053
tree76514558a0ade0fc317139f1a110e7e6b30191d4
parent3284aa128153750f14a61e8a96fd085e6f2999b6
i386: Add new Hygon 'Dhyana' CPU model

Add a new base CPU model called 'Dhyana' to model processors from Hygon
Dhyana(family 18h), which derived from AMD EPYC(family 17h).

The following features bits have been removed compare to AMD EPYC:
aes, pclmulqdq, sha_ni

The Hygon Dhyana support to KVM in Linux is already accepted upstream[1].
So add Hygon Dhyana support to Qemu is necessary to create Hygon's own
CPU model.

Reference:
[1] https://git.kernel.org/tip/fec98069fb72fb656304a3e52265e0c2fc9adf87

Signed-off-by: Pu Wen <puwen@hygon.cn>
Message-Id: <1555416373-28690-1-git-send-email-puwen@hygon.cn>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c
target/i386/cpu.h