Re: [PATCH] x86/srso: Disable the mitigation on unaffected configurations
From: Borislav Petkov
Date: Mon Aug 14 2023 - 17:18:29 EST
On Mon, Aug 14, 2023 at 01:53:00PM -0700, Josh Poimboeuf wrote:
> cpu_smt_possible() already does that.
Ok.
> 2. ENUMERATION OF NEW CAPABILITIES
Yes, exactly. On the next page: "Hypervisor software should
synthesize... " I got confused initially too.
> Since technically the CPU is affected, I'm thinking it should say
> "Mitigation: SMT disabled" or such, instead of "Not affected".
Lemme see how ugly it becomes tomorrow.
> Hm? You mean the *_NO ones that determine whether the BUG bits get set
> in the first place? How do they print "Not affected"?
If SMT is disabled on those configurations, it is not affected. But ok,
"SMT disabled".
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette