Re: [RFC PATCH 4/9] x86/purgatory: Avoid absolute reference to GDT

2024-04-24 Thread Brian Gerst
On Wed, Apr 24, 2024 at 1:53 PM Ard Biesheuvel wrote: > > Hi Brian, > > Thanks for taking a look. > > On Wed, 24 Apr 2024 at 19:39, Brian Gerst wrote: > > > > On Wed, Apr 24, 2024 at 12:06 PM Ard Biesheuvel wrote: > > > > > > From: Ard Biesheuvel > > > > > > The purgatory is almost entirely

Re: [RFC PATCH 4/9] x86/purgatory: Avoid absolute reference to GDT

2024-04-24 Thread Ard Biesheuvel
Hi Brian, Thanks for taking a look. On Wed, 24 Apr 2024 at 19:39, Brian Gerst wrote: > > On Wed, Apr 24, 2024 at 12:06 PM Ard Biesheuvel wrote: > > > > From: Ard Biesheuvel > > > > The purgatory is almost entirely position independent, without any need > > for any relocation processing at

Re: [RFC PATCH 4/9] x86/purgatory: Avoid absolute reference to GDT

2024-04-24 Thread Brian Gerst
On Wed, Apr 24, 2024 at 12:06 PM Ard Biesheuvel wrote: > > From: Ard Biesheuvel > > The purgatory is almost entirely position independent, without any need > for any relocation processing at load time except for the reference to > the GDT in the entry code. Generate this reference at runtime