Re: [PATCH v2 1/2] x86/cpu: Disable CR pinning during CPU bringup

From: Borislav Petkov

Date: Fri Mar 13 2026 - 15:11:21 EST


On Fri, Mar 13, 2026 at 11:05:10AM -0700, Sohil Mehta wrote:
> There is already a lot happening in this function. If we end up going
> this route, I would suggest moving this to a small wrapper function such
> as setup_fsgsbase() or enable_fsgsbase().

For what? For a three-liner, well-separated conditional?

Not really.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette