Re: [RFC PATCH 04/56] x86/bugs: Reset spectre_v1 mitigations
From: Borislav Petkov
Date: Mon Nov 03 2025 - 13:25:32 EST
On Wed, Oct 29, 2025 at 01:48:03PM +0000, Kaplan, David wrote:
> We have cross-dependencies around the *selection* of mitigations, but not
> around the application of them. There is no ordering requirement around the
> *_apply_mitigation() functions. As such I would not expect (and have not
> observed) any ordering requirements around the reset functions.
This sounds like a single undo-function should be fine...
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette