x86/microcode: fix x86_spec_ctrl_mask on late loading.
Fixes: d447e92c7d0a ("x86/microcode: add SPEC_CTRL_SSBD to x86_spec_ctrl_mask on late loading.")
This fixes potential hypervisor panic on guest writes to IA32_SPEC_CTRL after
microcode updates. We made available SSBD if we had a bug in the CPU. The
correct approach is to make available SSBD if we have the flag available.
Orabug:
29941248
Reported-by: Jamie Iles <jamie.iles@oracle.com>
Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com>
Reviewed-by: Jamie Iles <jamie.iles@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>