On 28.01.2022 14:29, Andrew Cooper wrote: > Currently, amd_init_ssbd() works by being the only write to MSR_SPEC_CTRL in > the system. This ceases to be true when using the common logic. > > Include AMD MSR_SPEC_CTRL in has_spec_ctrl to activate the common paths, and > introduce an AMD specific block to control alternatives. Also update the > boot/resume paths to configure default_xen_spec_ctrl. > > svm.h needs an adjustment to remove a dependency on include order. > > For now, only active alternatives for HVM - PV will require more work. No > functional change, as no alternatives are defined yet for HVM yet. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>