Re: [PATCH 4/5] x86: Force proper gdt_boot_base setting

2024-08-08 Thread Jan Beulich
On 07.08.2024 15:48, Alejandro Vallejo wrote: > Instead of relocate the value at that position compute it > entirely and write it. > During EFI boots sym_offs(SYMBOL) are potentially relocated > causing the values to be corrupted. > For PVH and BIOS the change won't be necessary but keep the > code

[PATCH 4/5] x86: Force proper gdt_boot_base setting

2024-08-07 Thread Alejandro Vallejo
Instead of relocate the value at that position compute it entirely and write it. During EFI boots sym_offs(SYMBOL) are potentially relocated causing the values to be corrupted. For PVH and BIOS the change won't be necessary but keep the code consistent. Signed-off-by: Frediano Ziglio --- xen/arc