Re: [PATCH 3/3] x86/kexec: Annotate functions with ELF metadata

2023-02-21 Thread Jan Beulich
On 17.02.2023 18:48, Andrew Cooper wrote: > @@ -90,7 +91,10 @@ ENTRY(kexec_reloc) > push%rax > lretq > > -relocate_pages: > +.type kexec_reloc, @function > +.size kexec_reloc, . - kexec_reloc > + > +ENTRY(relocate_pages) > /* %rdi - indirection page

[PATCH 3/3] x86/kexec: Annotate functions with ELF metadata

2023-02-17 Thread Andrew Cooper
All of kexec_reloc(), relocate_pages() and compatibility_mode() are function-like. Annotate them appropriately. Furthermore, move the data into a different cacheline from the code, so the relocation of compat_mode_gdt_desc doesn't trigger self-modifying safety logic in the pipeline. No functiona