Skip to contentSkip to conversation

x86/spec-ctrl: Rename ARCH_CAPS.SSBD_NO to SSB_NO

PATCH In review Andrew Cooper 3 participants 3 messages May 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/spec-ctrl: Rename ARCH_CAPS.SSBD_NO to SSB_NO

A last-minute rename of the feature occured, and the patch committed to staging was unfortunately stale. Correct it.

---
CC: Jan Beulich <[email protected]>
CC: Juergen Gross <[email protected]>

This wants to be taken for 4.11

---
 xen/arch/x86/spec_ctrl.c        | 2 +-
 xen/include/asm-x86/msr-index.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
xen/arch/x86/spec_ctrl.c +1 -1
index 2ccada2..7db6e51 100644
@@ -216,7 +216,7 @@ static void __init print_details(enum ind_thunk thunk, uint64_t caps)
            (caps & ARCH_CAPABILITIES_IBRS_ALL)      ? " IBRS_ALL"  : "",
            (caps & ARCH_CAPABILITIES_RDCL_NO)       ? " RDCL_NO"   : "",
            (caps & ARCH_CAPS_RSBA)                  ? " RSBA"      : "",
-           (caps & ARCH_CAPS_SSBD_NO)               ? " SSBD_NO"   : "");
+           (caps & ARCH_CAPS_SSB_NO)                ? " SSB_NO"    : "");
 
     /* Compiled-in support which pertains to BTI mitigations. */
     if ( IS_ENABLED(CONFIG_INDIRECT_THUNK) )
xen/include/asm-x86/msr-index.h +1 -1
index 0612a96..8fbccc8 100644
@@ -47,7 +47,7 @@
 #define ARCH_CAPABILITIES_RDCL_NO	(_AC(1, ULL) << 0)
 #define ARCH_CAPABILITIES_IBRS_ALL	(_AC(1, ULL) << 1)
 #define ARCH_CAPS_RSBA			(_AC(1, ULL) << 2)
-#define ARCH_CAPS_SSBD_NO		(_AC(1, ULL) << 4)
+#define ARCH_CAPS_SSB_NO		(_AC(1, ULL) << 4)
 
 /* Intel MSRs. Some also available on other CPUs */
 #define MSR_IA32_PERFCTR0		0x000000c1
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 1/1
#2 lore raw
In reply to Andrew Cooper
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 22.05.18 at 11:27, <[email protected]> wrote:

A last-minute rename of the feature occured, and the patch committed to staging was unfortunately stale. Correct it.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel