mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86/spec-ctrl: Honour spec-ctrl=0 for unpriv-mmio sub-option
This was an oversight from when unpriv-mmio was introduced. Fixes:8c24b70fed("x86/spec-ctrl: Add spec-ctrl=unpriv-mmio") Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> master commit:4cdb519d79master date: 2022-07-11 15:21:35 +0100
This commit is contained in:
1 parent
cd3d6b4cd4
commit
61b9c2ceeb
1 file changed
+1
@@ -122,6 +122,7 @@ static int __init parse_spec_ctrl(const char *s)
|
||||
opt_l1d_flush = 0;
|
||||
opt_branch_harden = false;
|
||||
opt_srb_lock = 0;
|
||||
opt_unpriv_mmio = false;
|
||||
}
|
||||
else if ( val > 0 )
|
||||
rc = -EINVAL;
|
||||
|
||||