From: Sergiy Kibrik <Sergiy_Kibrik@epam.com>
To: xen-devel@lists.xenproject.org
Cc: "Sergiy Kibrik" <Sergiy_Kibrik@epam.com>,
"Jan Beulich" <jbeulich@suse.com>,
"Andrew Cooper" <andrew.cooper3@citrix.com>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Stefano Stabellini" <sstabellini@kernel.org>
Subject: [XEN PATCH v3 0/6] x86: make Intel/AMD vPMU & MCE support configurable
Date: Tue, 14 May 2024 11:16:21 +0300 [thread overview]
Message-ID: <cover.1715673586.git.Sergiy_Kibrik@epam.com> (raw)
This series aims to separate support of Intel & AMD CPUs in Xen build.
The code to drive both platforms used to be built unconditionally, until recent
introduction of CONFIG_{AMD,INTEL} Kconfig options.
This series extends coverage of these options on vpmu and mcheck subsystems,
which allows not to build Intel or AMD vpmu/mcheck support if CPU vendor's support
was explicitly disabled.
Since v2 series one patch had been split into two patches for more clarity,
hence series became one piece longer, and last patch changed significantly.
Other changes are mostly cosmetic and tags addition.
Specific changes since v2 are provided per-patch.
v2 series here:
https://lore.kernel.org/xen-devel/cover.1714640459.git.Sergiy_Kibrik@epam.com/
-Sergiy
Sergiy Kibrik (6):
x86/vpmu: separate amd/intel vPMU code
x86/intel: move vmce_has_lmce() routine to header
x86/MCE: guard access to Intel/AMD-specific MCA MSRs
x86/MCE: guard {intel/amd}_mcheck_init() calls
x86/MCE: add default switch case in init_nonfatal_mce_checker()
x86/MCE: optional build of AMD/Intel MCE code
xen/arch/x86/cpu/Makefile | 4 +++-
xen/arch/x86/cpu/mcheck/Makefile | 8 ++++----
xen/arch/x86/cpu/mcheck/mce.c | 8 ++++++++
xen/arch/x86/cpu/mcheck/mce.h | 5 +++++
xen/arch/x86/cpu/mcheck/mce_intel.c | 8 --------
xen/arch/x86/cpu/mcheck/non-fatal.c | 8 ++++++++
xen/arch/x86/cpu/mcheck/vmce.c | 13 ++++++++++---
xen/arch/x86/cpu/vpmu.c | 4 ++++
xen/arch/x86/include/asm/mce.h | 1 -
xen/arch/x86/msr.c | 2 ++
10 files changed, 44 insertions(+), 17 deletions(-)
--
2.25.1
next reply other threads:[~2024-05-14 8:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-14 8:16 Sergiy Kibrik [this message]
2024-05-14 8:18 ` [XEN PATCH v3 1/6] x86/vpmu: separate amd/intel vPMU code Sergiy Kibrik
2024-05-14 8:20 ` [XEN PATCH v3 2/6] x86/intel: move vmce_has_lmce() routine to header Sergiy Kibrik
2024-05-16 9:39 ` Jan Beulich
2024-05-20 9:32 ` Sergiy Kibrik
2024-05-21 6:05 ` Jan Beulich
2024-05-21 10:00 ` Sergiy Kibrik
2024-05-21 10:19 ` Jan Beulich
2024-05-14 8:22 ` [XEN PATCH v3 3/6] x86/MCE: guard access to Intel/AMD-specific MCA MSRs Sergiy Kibrik
2024-05-14 8:24 ` [XEN PATCH v3 4/6] x86/MCE: guard {intel/amd}_mcheck_init() calls Sergiy Kibrik
2024-05-14 8:26 ` [XEN PATCH v3 5/6] x86/MCE: add default switch case in init_nonfatal_mce_checker() Sergiy Kibrik
2024-05-16 9:44 ` Jan Beulich
2024-05-16 9:46 ` Jan Beulich
2024-05-20 9:41 ` Sergiy Kibrik
2024-05-14 8:28 ` [XEN PATCH v3 6/6] x86/MCE: optional build of AMD/Intel MCE code Sergiy Kibrik
2024-05-16 9:55 ` Jan Beulich
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.1715673586.git.Sergiy_Kibrik@epam.com \
--to=sergiy_kibrik@epam.com \
--cc=andrew.cooper3@citrix.com \
--cc=jbeulich@suse.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).