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

2023-04-18 Thread Nick Desaulniers
On Tue, Apr 11, 2023 at 2:46 PM Ricardo Ribalda wrote: > > Hi Nick > > On Sat, 8 Apr 2023 at 01:22, Nick Desaulniers wrote: > > > > Hi Ricardo, > > Thanks for the patch! Please make sure to cc our mailing list > > for llvm specific issues. > > scripts/get_maintainer.pl should recommend it, or

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

2023-04-11 Thread Ricardo Ribalda
Hi Nick On Sat, 8 Apr 2023 at 01:22, Nick Desaulniers wrote: > > Hi Ricardo, > Thanks for the patch! Please make sure to cc our mailing list > for llvm specific issues. > scripts/get_maintainer.pl should recommend it, or you can find it from > clangbuiltlinux.github.io. You can also ping me

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

2023-04-07 Thread Nick Desaulniers
Hi Ricardo, Thanks for the patch! Please make sure to cc our mailing list for llvm specific issues. scripts/get_maintainer.pl should recommend it, or you can find it from clangbuiltlinux.github.io. You can also ping me internally for toolchain related issues. Start of thread.

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

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

2023-03-31 Thread Ross Zwisler
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 series, which IIUC allows us to handle the case where the .text section

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

2023-03-30 Thread Borislav Petkov
On Thu, Mar 30, 2023 at 11:31:27AM -0400, Steven Rostedt wrote: > On Thu, 30 Mar 2023 17:18:26 +0200 > Borislav Petkov wrote: > > > On Thu, Mar 30, 2023 at 11:15:23AM -0400, Steven Rostedt wrote: > > > > Make sure that the .text section is not divided in multiple overlapping > > > > sections.

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

2023-03-30 Thread Steven Rostedt
On Thu, 30 Mar 2023 17:18:26 +0200 Borislav Petkov wrote: > On Thu, Mar 30, 2023 at 11:15:23AM -0400, Steven Rostedt wrote: > > > Make sure that the .text section is not divided in multiple overlapping > > > sections. This is not supported by kexec_file. > > And? > > What is the failure

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

2023-03-30 Thread Borislav Petkov
On Thu, Mar 30, 2023 at 11:15:23AM -0400, Steven Rostedt wrote: > > Make sure that the .text section is not divided in multiple overlapping > > sections. This is not supported by kexec_file. And? What is the failure scenario? Why are you fixing it? Why do we care? This is way too laconic. --

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

2023-03-30 Thread Steven Rostedt
Hmm, this patch may need some more eyes. At least from the x86 maintainers. -- Steve On Thu, 30 Mar 2023 11:44:48 +0200 Ricardo Ribalda wrote: > Make sure that the .text section is not divided in multiple overlapping > sections. This is not supported by kexec_file. > > Signed-off-by:

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

2023-03-30 Thread Ricardo Ribalda
Make sure that the .text section is not divided in multiple overlapping sections. This is not supported by kexec_file. Signed-off-by: Ricardo Ribalda --- arch/x86/purgatory/.gitignore| 2 ++ arch/x86/purgatory/Makefile | 20 + arch/x86/purgatory/kexec-purgatory.S |