summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '0026-x86-spec-ctrl-correct-per-guest-type-reporting-of-MD.patch')
-rw-r--r--0026-x86-spec-ctrl-correct-per-guest-type-reporting-of-MD.patch56
1 files changed, 0 insertions, 56 deletions
diff --git a/0026-x86-spec-ctrl-correct-per-guest-type-reporting-of-MD.patch b/0026-x86-spec-ctrl-correct-per-guest-type-reporting-of-MD.patch
deleted file mode 100644
index fbbf450..0000000
--- a/0026-x86-spec-ctrl-correct-per-guest-type-reporting-of-MD.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 5f1d0179e15d726622a49044a825894d5010df15 Mon Sep 17 00:00:00 2001
-From: Jan Beulich <jbeulich@suse.com>
-Date: Wed, 27 Jul 2022 09:29:54 +0200
-Subject: [PATCH 026/126] x86/spec-ctrl: correct per-guest-type reporting of
- MD_CLEAR
-
-There are command line controls for this and the default also isn't "always
-enable when hardware supports it", which logging should take into account.
-
-Signed-off-by: Jan Beulich <jbeulich@suse.com>
-Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
-master commit: fdbf8bdfebc2ed323c521848f642cc4f6b8cb662
-master date: 2022-07-19 08:36:53 +0200
----
- xen/arch/x86/spec_ctrl.c | 10 ++++------
- 1 file changed, 4 insertions(+), 6 deletions(-)
-
-diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c
-index 563519ce0e31..f7b0251c42bc 100644
---- a/xen/arch/x86/spec_ctrl.c
-+++ b/xen/arch/x86/spec_ctrl.c
-@@ -511,13 +511,12 @@ static void __init print_details(enum ind_thunk thunk, uint64_t caps)
- printk(" Support for HVM VMs:%s%s%s%s%s%s\n",
- (boot_cpu_has(X86_FEATURE_SC_MSR_HVM) ||
- boot_cpu_has(X86_FEATURE_SC_RSB_HVM) ||
-- boot_cpu_has(X86_FEATURE_MD_CLEAR) ||
- boot_cpu_has(X86_FEATURE_IBPB_ENTRY_HVM) ||
-- opt_eager_fpu) ? "" : " None",
-+ opt_eager_fpu || opt_md_clear_hvm) ? "" : " None",
- boot_cpu_has(X86_FEATURE_SC_MSR_HVM) ? " MSR_SPEC_CTRL" : "",
- boot_cpu_has(X86_FEATURE_SC_RSB_HVM) ? " RSB" : "",
- opt_eager_fpu ? " EAGER_FPU" : "",
-- boot_cpu_has(X86_FEATURE_MD_CLEAR) ? " MD_CLEAR" : "",
-+ opt_md_clear_hvm ? " MD_CLEAR" : "",
- boot_cpu_has(X86_FEATURE_IBPB_ENTRY_HVM) ? " IBPB-entry" : "");
-
- #endif
-@@ -525,13 +524,12 @@ static void __init print_details(enum ind_thunk thunk, uint64_t caps)
- printk(" Support for PV VMs:%s%s%s%s%s%s\n",
- (boot_cpu_has(X86_FEATURE_SC_MSR_PV) ||
- boot_cpu_has(X86_FEATURE_SC_RSB_PV) ||
-- boot_cpu_has(X86_FEATURE_MD_CLEAR) ||
- boot_cpu_has(X86_FEATURE_IBPB_ENTRY_PV) ||
-- opt_eager_fpu) ? "" : " None",
-+ opt_eager_fpu || opt_md_clear_pv) ? "" : " None",
- boot_cpu_has(X86_FEATURE_SC_MSR_PV) ? " MSR_SPEC_CTRL" : "",
- boot_cpu_has(X86_FEATURE_SC_RSB_PV) ? " RSB" : "",
- opt_eager_fpu ? " EAGER_FPU" : "",
-- boot_cpu_has(X86_FEATURE_MD_CLEAR) ? " MD_CLEAR" : "",
-+ opt_md_clear_pv ? " MD_CLEAR" : "",
- boot_cpu_has(X86_FEATURE_IBPB_ENTRY_PV) ? " IBPB-entry" : "");
-
- printk(" XPTI (64-bit PV only): Dom0 %s, DomU %s (with%s PCID)\n",
---
-2.37.4
-