Re: [PATCHv8 04/17] x86/cpu: Defer CR pinning setup until after EFI initialization

From: Dave Hansen
Date: Tue Jul 01 2025 - 19:10:34 EST


On 7/1/25 02:58, Kirill A. Shutemov wrote:
> Move CR pinning setup behind the EFI initialization.

I kinda grumble about these one-off solutions. Could we just do this
once and for all and defer CR pinning as long as possible? For instance,
could we do it in a late_initcall()?

Do we need pinning before userspace comes up?