From: Pu Wen <puwen@hygon.cn>
To: xen-devel@lists.xenproject.org
Cc: "Wei Liu" <wei.liu2@citrix.com>,
"Suravee Suthikulpanit" <suravee.suthikulpanit@amd.com>,
"Pu Wen" <puwen@hygon.cn>,
"Ian Jackson" <ian.jackson@eu.citrix.com>,
"Jan Beulich" <jbeulich@suse.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Boris Ostrovsky" <boris.ostrovsky@oracle.com>,
"Brian Woods" <brian.woods@amd.com>,
"Roger Pau Monné" <roger.pau@citrix.com>
Subject: [PATCH 00/15] Add support for Hygon Dhyana Family 18h processor
Date: Thu, 20 Dec 2018 21:12:04 +0800 [thread overview]
Message-ID: <cover.1545284932.git.puwen@hygon.cn> (raw)
As a new x86 CPU Vendor, Chengdu Haiguang IC Design Co., Ltd (Hygon)
is a Joint Venture between AMD and Haiguang Information Technology Co.,
Ltd., and aims at providing high performance x86 processor for China
server market.
The first generation Hygon's processor(Dhyana) originates from AMD
technology and shares most of the architecture with AMD's family 17h,
but with different CPU vendor ID("HygonGenuine") and family series
number: 18h (Hygon will negotiate with AMD to make sure that only Hygon
will use family 18h).
To enable support of Xen to Hygon Dhyana CPU, we add a new vendor type
(X86_VENDOR_HYGON, with value of 5), and share most of the codes with
AMD family 17h.
This patch series have been applied and tested successfully on Hygon
Dhyana processor. Also tested on AMD EPYC (family 17h) processor, it
works fine and makes no harm to the existing codes.
Pu Wen (15):
x86/cpu: Create Hygon Dhyana architecture support file
x86/cpu/mtrr: Add Hygon Dhyana support to get TOP_MEM2
x86/cpu/vpmu: Add Hygon Dhyana support for vPMU
x86/cpu/mce: Add Hygon Dhyana support to the MCA infrastructure
x86/spec_ctrl: Add Hygon Dhyana to the respective mitigation machinery
x86/apic: Add Hygon Dhyana support
x86/acpi: Add Hygon Dhyana support
x86/iommu: Add Hygon Dhyana support
x86/pv: Add Hygon Dhyana support to emulate MSRs access
x86/domain: Add Hygon Dhyana support
x86/domctl: Add Hygon Dhyana support
x86/traps: Add Hygon Dhyana support
x86/xstate: Add Hygon Dhyana support
x86/cpuid: Add Hygon Dhyana support
tools/libxc: Add Hygon Dhyana support
tools/libxc/xc_cpuid_x86.c | 16 +-
xen/arch/x86/acpi/cpu_idle.c | 3 +-
xen/arch/x86/acpi/cpufreq/cpufreq.c | 6 +-
xen/arch/x86/acpi/cpufreq/powernow.c | 3 +-
xen/arch/x86/apic.c | 5 +
xen/arch/x86/cpu/Makefile | 1 +
xen/arch/x86/cpu/common.c | 4 +-
xen/arch/x86/cpu/cpu.h | 1 +
xen/arch/x86/cpu/hygon.c | 296 +++++++++++++++++++++++++++++++++
xen/arch/x86/cpu/mcheck/amd_nonfatal.c | 5 +-
xen/arch/x86/cpu/mcheck/mce.c | 6 +-
xen/arch/x86/cpu/mcheck/mce_amd.c | 3 +-
xen/arch/x86/cpu/mcheck/non-fatal.c | 3 +-
xen/arch/x86/cpu/mcheck/vmce.c | 2 +
xen/arch/x86/cpu/mtrr/generic.c | 5 +-
xen/arch/x86/cpu/vpmu.c | 2 +
xen/arch/x86/cpu/vpmu_amd.c | 2 +
xen/arch/x86/cpuid.c | 10 +-
xen/arch/x86/dom0_build.c | 3 +-
xen/arch/x86/domain.c | 9 +-
xen/arch/x86/domctl.c | 13 +-
xen/arch/x86/pv/emul-priv-op.c | 29 +++-
xen/arch/x86/spec_ctrl.c | 6 +-
xen/arch/x86/traps.c | 2 +
xen/arch/x86/xstate.c | 5 +-
xen/include/asm-x86/iommu.h | 1 +
xen/include/asm-x86/x86-vendors.h | 3 +-
27 files changed, 406 insertions(+), 38 deletions(-)
create mode 100644 xen/arch/x86/cpu/hygon.c
--
2.7.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next reply other threads:[~2018-12-20 13:13 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-20 13:12 Pu Wen [this message]
2018-12-20 13:12 ` [PATCH 01/15] x86/cpu: Create Hygon Dhyana architecture support file Pu Wen
2018-12-21 10:19 ` Andrew Cooper
2018-12-26 11:42 ` Pu Wen
2018-12-27 17:03 ` Roger Pau Monné
2018-12-27 21:09 ` Andrew Cooper
2018-12-28 15:46 ` Pu Wen
2018-12-28 16:21 ` Andrew Cooper
2018-12-20 13:12 ` [PATCH 02/15] x86/cpu/mtrr: Add Hygon Dhyana support to get TOP_MEM2 Pu Wen
2018-12-20 13:12 ` [PATCH 03/15] x86/cpu/vpmu: Add Hygon Dhyana support for vPMU Pu Wen
2018-12-20 14:24 ` Boris Ostrovsky
2018-12-21 10:02 ` Pu Wen
2018-12-21 13:33 ` Boris Ostrovsky
2018-12-21 16:17 ` Pu Wen
2019-01-14 16:03 ` Jan Beulich
2019-01-15 12:49 ` Pu Wen
2019-01-15 13:01 ` Jan Beulich
2019-01-15 16:22 ` Pu Wen
2018-12-20 13:12 ` [PATCH 04/15] x86/cpu/mce: Add Hygon Dhyana support to the MCA infrastructure Pu Wen
2019-01-14 16:23 ` Jan Beulich
2019-01-15 12:52 ` Pu Wen
2019-01-15 13:08 ` Jan Beulich
2018-12-20 13:13 ` [PATCH 05/15] x86/spec_ctrl: Add Hygon Dhyana to the respective mitigation machinery Pu Wen
2018-12-20 13:14 ` [PATCH 06/15] x86/apic: Add Hygon Dhyana support Pu Wen
2018-12-20 13:14 ` [PATCH 07/15] x86/acpi: " Pu Wen
2019-01-14 16:28 ` Jan Beulich
2019-01-15 12:52 ` Pu Wen
2019-01-15 13:09 ` Jan Beulich
2018-12-20 13:14 ` [PATCH 08/15] x86/iommu: " Pu Wen
2018-12-20 13:14 ` [PATCH 09/15] x86/pv: Add Hygon Dhyana support to emulate MSRs access Pu Wen
2019-01-25 17:00 ` Jan Beulich
2019-01-30 9:52 ` Pu Wen
2019-01-30 10:08 ` Jan Beulich
2018-12-20 13:15 ` [PATCH 10/15] x86/domain: Add Hygon Dhyana support Pu Wen
2018-12-20 13:15 ` [PATCH 11/15] x86/domctl: " Pu Wen
2018-12-20 13:15 ` [PATCH 12/15] x86/traps: " Pu Wen
2019-01-29 11:10 ` Jan Beulich
2019-01-30 9:57 ` Pu Wen
2018-12-20 13:15 ` [PATCH 13/15] x86/xstate: " Pu Wen
2018-12-27 22:40 ` Andrew Cooper
2018-12-29 9:39 ` Pu Wen
2019-01-29 11:15 ` Jan Beulich
2019-01-30 10:47 ` Pu Wen
2018-12-20 13:15 ` [PATCH 14/15] x86/cpuid: " Pu Wen
2018-12-20 13:15 ` [PATCH 15/15] tools/libxc: " Pu Wen
2019-01-02 11:33 ` Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1545284932.git.puwen@hygon.cn \
--to=puwen@hygon.cn \
--cc=andrew.cooper3@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=brian.woods@amd.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=roger.pau@citrix.com \
--cc=suravee.suthikulpanit@amd.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.