Re: [PATCH v5 2/2] x86/purgatory: Add linker script

2023-04-03 Thread Ricardo Ribalda
Hi Ross On Fri, 31 Mar 2023 at 21:14, Ross Zwisler wrote: > > On Thu, Mar 30, 2023 at 3:45 AM Ricardo Ribalda wrote: > > Make sure that the .text section is not divided in multiple overlapping > > sections. This is not supported by kexec_file. > > How does this interact with patch #1 from this s

Re: [PATCH v5 1/2] kexec: Support purgatories with .text.hot sections

2023-04-03 Thread Philipp Rudo
Hi Ricardo, On Thu, 30 Mar 2023 11:44:47 +0200 Ricardo Ribalda wrote: > Clang16 links the purgatory text in two sections: > > [ 1] .text PROGBITS 0040 >11a1 AX 0 0 16 > [ 2] .rela.textRELA

Re: [PATCH v3] kexec: Support purgatories with .text.hot sections

2023-04-03 Thread Philipp Rudo
Hi Ricardo, sorry for the late reply... On Mon, 27 Mar 2023 13:52:08 +0200 Ricardo Ribalda wrote: [...] > > I tried removing the -r from arch/x86/purgatory/Makefile and that resulted > into: > > [ 115.631578] BUG: unable to handle page fault for address: 93224d5c8e20 > [ 115.631583] #