On Tue, May 05, 2020 at 03:41:13PM +0200, Thomas Gleixner wrote: > All ASM code which is not part of the entry functionality can move out into > the .text section. No reason to keep it in the non-instrumentable entry > section.
Just to note to self (or others), I'm planning to move all this into arch/x86/kernel/kernel.S (bike-shed away) sometime after all this lands. These things simply do not belong in entry.S at all.