Re: [PATCH v2 1/2] x86/cpu: Disable CR pinning during CPU bringup
From: Chang S. Bae
Date: Tue Mar 17 2026 - 13:30:52 EST
On 3/16/2026 2:43 PM, Dave Hansen wrote:
Either we change how alternatives patching works, we use some other
exception code, or we try and get CR4.FSGSBASE established as early as
possible on the secondaries.
It looks like the last option was sorted out already.
As played out other options a little bit, deferring patching looked a bit funky, and either macrofying the entry code or referencing XCR0 on the fly appeared a bit overkill. So, yes, nothing stands out than that choice.