[PATCH 5.18 43/61] x86/speculation: Fix SPEC_CTRL write on SMT state change