Skip to contentSkip to conversation

x86/spec_ctrl: Fix typo in ARCH_CAPS decode

PATCH In review Andrew Cooper 4 participants 5 messages Apr 24, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/spec_ctrl: Fix typo in ARCH_CAPS decode

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

---
 xen/arch/x86/spec_ctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/spec_ctrl.c +1 -1
index bab8595..fab3c1d 100644
@@ -119,7 +119,7 @@ static void __init print_details(enum ind_thunk thunk)
            (e8b  & cpufeat_mask(X86_FEATURE_IBPB))  ? " IBPB"      : "",
            (caps & ARCH_CAPABILITIES_IBRS_ALL)      ? " IBRS_ALL"  : "",
            (caps & ARCH_CAPABILITIES_RDCL_NO)       ? " RDCL_NO"   : "",
-           (caps & ARCH_CAPS_RSBA)                  ? " RBSA"      : "");
+           (caps & ARCH_CAPS_RSBA)                  ? " RSBA"      : "");
 
     /* Compiled-in support which pertains to BTI mitigations. */
     if ( IS_ENABLED(CONFIG_INDIRECT_THUNK) )
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Reviewed-by on v1 1/1
#3 lore raw
In reply to Andrew Cooper
Quoted 4 lines · Andrew Cooper

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

You are missing an Reported-by..

Also pls

Thx

Quoted 18 lines

---
xen/arch/x86/spec_ctrl.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/spec_ctrl.c +1 -1
index bab8595..fab3c1d 100644
@@ -119,7 +119,7 @@ static void __init print_details(enum ind_thunk
 thunk)
         (e8b  & cpufeat_mask(X86_FEATURE_IBPB))  ? " IBPB"      : "",
         (caps & ARCH_CAPABILITIES_IBRS_ALL)      ? " IBRS_ALL"  : "",
         (caps & ARCH_CAPABILITIES_RDCL_NO)       ? " RDCL_NO"   : "",
-           (caps & ARCH_CAPS_RSBA)                  ? " RBSA"      :
 "");
+           (caps & ARCH_CAPS_RSBA)                  ? " RSBA"      :
 "");
Quoted 10 lines

/* Compiled-in support which pertains to BTI mitigations. */ if ( IS_ENABLED(CONFIG_INDIRECT_THUNK) )

Signature · 7 lines
2.1.4


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

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

#4 lore raw
Quoted 10 lines · Konrad Rzeszutek Wilk
Quoted 4 lines · Andrew Cooper

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

You are missing an Reported-by..

Also pls

I remembered and fixed up on commit
http://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=27170adb54a558e11defcd51989326a9beb95afe

~Andrew

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