On Tue, Jul 24, 2018 at 12:53 PM Jiri Kosina <[email protected]> wrote: > > Mitigate userspace-userspace attacks by always unconditionally filling RSB on > context switch when generic spectrev2 mitigation has been enabled.
Shouldn't this also do something like
x86_spec_ctrl_base |= x86_spec_ctrl_mask & SPEC_CTRL_STIBP;
if we have HT enabled?
Linus

