Re: [RFC PATCH 04/56] x86/bugs: Reset spectre_v1 mitigations

Borislav Petkov
2025-11-03T18:25:20Z

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.