projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ce11ce
)
x86/spec-ctrl: Honour spec-ctrl=0 for unpriv-mmio sub-option
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Fri, 8 Jul 2022 15:11:40 +0000
(16:11 +0100)
committer
Andrew Cooper
<andrew.cooper3@citrix.com>
Mon, 11 Jul 2022 14:21:35 +0000
(15:21 +0100)
This was an oversight from when unpriv-mmio was introduced.
Fixes: 8c24b70fedcb ("x86/spec-ctrl: Add spec-ctrl=unpriv-mmio")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/spec_ctrl.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/spec_ctrl.c
b/xen/arch/x86/spec_ctrl.c
index 7a4550db8318e5a62969cdcbc10cf0611b3d4405..ba64a09048bec8b289baa4061b042eeb4181241c 100644
(file)
--- a/
xen/arch/x86/spec_ctrl.c
+++ b/
xen/arch/x86/spec_ctrl.c
@@
-122,6
+122,7
@@
static int __init cf_check 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;