Re: [PATCH v2 6/9] x86/spec-ctrl: Use common MSR_SPEC_CTRL logic for AMD

2022-01-31 Thread Jan Beulich
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

[PATCH v2 6/9] x86/spec-ctrl: Use common MSR_SPEC_CTRL logic for AMD

2022-01-28 Thread Andrew Cooper
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