Re: [PATCH 02/22] x86/srso: Set CPUID feature bits independently of bug or mitigation status
From: Borislav Petkov
Date: Mon Aug 21 2023 - 10:06:17 EST
On Mon, Aug 21, 2023 at 10:27:50AM +0100, Andrew Cooper wrote:
> This patch is necessary but not sufficient to fix the bugs. There needs
> to be a !cpu_has_hypervisor in here.
Yes, but in a separate patch.
And I still don't know what exactly we're going to support when Linux
runs as a guest. For example, live migration between Zen1/2 and Zen3/4
won't work due to the alternatives patching, for example...
IBPB won't work either because we detect those feature bits only once
during boot, like every other feature bit...
Whatever it is, I'd like to see it written down first so that we go and
look it up and point to it when someone's changing that code.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette