Re: [PATCH] x86/boot: Untangle the trampoline copying/entry logic

2025-03-20 Thread Andrew Cooper
On 19/03/2025 9:05 am, Roger Pau Monné wrote: > On Tue, Mar 18, 2025 at 08:10:33PM +, Andrew Cooper wrote: >> The LRET is detached from the PUSHes which set it up, and this is about to >> get >> worse with the changes to trampoline relocation. For the sake of one >> variable >> read, the com

Re: [PATCH] x86/boot: Untangle the trampoline copying/entry logic

2025-03-19 Thread Roger Pau Monné
On Tue, Mar 18, 2025 at 08:10:33PM +, Andrew Cooper wrote: > The LRET is detached from the PUSHes which set it up, and this is about to get > worse with the changes to trampoline relocation. For the sake of one variable > read, the complexity is not worth it. > > Reorder the logic to copy the