]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
x86/spec-ctrl: Rename VERW related options
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 12 Feb 2024 17:50:43 +0000 (17:50 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Mar 2024 15:50:04 +0000 (15:50 +0000)
commitf7603ca252e4226739eb3129a5290ee3da3f8ea4
treef0f1716b047c7f7e82f3e9752f21b65ffc37f0ee
parent0a666cf2cd99df6faf3eebc81a1fc286e4eca4c7
x86/spec-ctrl: Rename VERW related options

VERW is going to be used for a 3rd purpose, and the existing nomenclature
didn't survive the Stale MMIO issues terribly well.

Rename the command line option from `md-clear=` to `verw=`.  This is more
consistent with other options which tend to be named based on what they're
doing, not which feature enumeration they use behind the scenes.  Retain
`md-clear=` as a deprecated alias.

Rename opt_md_clear_{pv,hvm} and opt_fb_clear_mmio to opt_verw_{pv,hvm,mmio},
which has a side effect of making spec_ctrl_init_domain() rather clearer to
follow.

No functional change.

This is part of XSA-452 / CVE-2023-28746.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.pandoc
xen/arch/x86/spec_ctrl.c