x86: "spec-ctrl=no-xen" should also disable branch hardening
PATCH 1/1 x86: "spec-ctrl=no-xen" should also disable branch hardening
This is controlling Xen behavior alone, after all.
Reported-by Jin Nan Wang <[email protected]>
Signed-off-by Jan Beulich <[email protected]>
xen/arch/x86/spec_ctrl.c +1 -2
@@ -98,8 +98,6 @@ static int __init parse_spec_ctrl(constif ( opt_pv_l1tf_domu <0 ) opt_pv_l1tf_domu =0 ; - opt_branch_harden = false; -if ( opt_tsx ==-1 ) opt_tsx =-3 ;
@@ -114,6 +112,7 @@ static int __init parse_spec_ctrl(const opt_ibpb = false; opt_ssbd = false; opt_l1d_flush =0 ; + opt_branch_harden = false; }else if ( val >0 ) rc = -EINVAL ;
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 4 lines · Jan Beulich
This is controlling Xen behavior alone, after all.
Reported-by Jin Nan Wang <[email protected]>Signed-off-by Jan Beulich <[email protected]>
Acked-by Andrew Cooper <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel