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] #

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

2023-03-27 Thread Ricardo Ribalda
Hi Philipp On Fri, 24 Mar 2023 at 17:00, Philipp Rudo wrote: > > Hi Ricardo, > > On Wed, 22 Mar 2023 20:09:21 +0100 > Ricardo Ribalda wrote: > > > Clang16 links the purgatory text in two sections: > > > > [ 1] .text PROGBITS 0040 > >0

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

2023-03-24 Thread Philipp Rudo
Hi Ricardo, On Wed, 22 Mar 2023 20:09:21 +0100 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-03-22 Thread Ricardo Ribalda
HI Ross Thanks for your review. I think we should backport this one, in case people use old kernels with new compilers. If there is a v4 i will resend it with your tag and the stable tag. Thanks! On Wed, 22 Mar 2023 at 21:42, Ross Zwisler wrote: > > On Wed, Mar 22, 2023 at 08:09:21PM +0100, Ri

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

2023-03-22 Thread Ross Zwisler
On Wed, Mar 22, 2023 at 08:09:21PM +0100, Ricardo Ribalda wrote: > Clang16 links the purgatory text in two sections: > > [ 1] .text PROGBITS 0040 >11a1 AX 0 0 16 > [ 2] .rela.textRELA

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

2023-03-22 Thread Ricardo Ribalda
Clang16 links the purgatory text in two sections: [ 1] .text PROGBITS 0040 11a1 AX 0 0 16 [ 2] .rela.textRELA 3498 0648 0018