linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/4] kexec: Fix kexec_file_load for llvm16 with PGO
@ 2023-05-19 14:47 Ricardo Ribalda
  2023-05-19 14:47 ` [PATCH v7 1/4] kexec: Support purgatories with .text.hot sections Ricardo Ribalda
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Ricardo Ribalda @ 2023-05-19 14:47 UTC (permalink / raw)
  To: Eric Biederman, Philipp Rudo, Dave Young, Andrew Morton,
	Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86,
	H. Peter Anvin, Nathan Chancellor, Tom Rix, Michael Ellerman,
	Nicholas Piggin, Christophe Leroy, Paul Walmsley, Palmer Dabbelt,
	Albert Ou
  Cc: Nick Desaulniers, Palmer Dabbelt, Baoquan He, Philipp Rudo, llvm,
	Ross Zwisler, linux-kernel, Steven Rostedt, stable, Simon Horman,
	Ricardo Ribalda, linux-riscv, linuxppc-dev, kexec

When upreving llvm I realised that kexec stopped working on my test
platform.

The reason seems to be that due to PGO there are multiple .text sections
on the purgatory, and kexec does not supports that.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Changes in v7:
- Fix $SUBJECT of riscv patch
- Rename PGO as Profile-guided optimization
- Link to v6: https://lore.kernel.org/r/20230321-kexec_clang16-v6-0-a2255e81ab45@chromium.org

Changes in v6:
- Replace linker script with Makefile rule. Thanks Nick
- Link to v5: https://lore.kernel.org/r/20230321-kexec_clang16-v5-0-5563bf7c4173@chromium.org

Changes in v5:
- Add warning when multiple text sections are found. Thanks Simon!
- Add Fixes tag.
- Link to v4: https://lore.kernel.org/r/20230321-kexec_clang16-v4-0-1340518f98e9@chromium.org

Changes in v4:
- Add Cc: stable
- Add linker script for x86
- Add a warning when the kernel image has overlapping sections.
- Link to v3: https://lore.kernel.org/r/20230321-kexec_clang16-v3-0-5f016c8d0e87@chromium.org

Changes in v3:
- Fix initial value. Thanks Ross!
- Link to v2: https://lore.kernel.org/r/20230321-kexec_clang16-v2-0-d10e5d517869@chromium.org

Changes in v2:
- Fix if condition. Thanks Steven!.
- Update Philipp email. Thanks Baoquan.
- Link to v1: https://lore.kernel.org/r/20230321-kexec_clang16-v1-0-a768fc2c7c4d@chromium.org

---
Ricardo Ribalda (4):
      kexec: Support purgatories with .text.hot sections
      x86/purgatory: Remove PGO flags
      powerpc/purgatory: Remove PGO flags
      riscv/purgatory: Remove PGO flags

 arch/powerpc/purgatory/Makefile |  5 +++++
 arch/riscv/purgatory/Makefile   |  5 +++++
 arch/x86/purgatory/Makefile     |  5 +++++
 kernel/kexec_file.c             | 14 +++++++++++++-
 4 files changed, 28 insertions(+), 1 deletion(-)
---
base-commit: 58390c8ce1bddb6c623f62e7ed36383e7fa5c02f
change-id: 20230321-kexec_clang16-4510c23d129c

Best regards,
-- 
Ricardo Ribalda Delgado <ribalda@chromium.org>


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-09-08 22:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-19 14:47 [PATCH v7 0/4] kexec: Fix kexec_file_load for llvm16 with PGO Ricardo Ribalda
2023-05-19 14:47 ` [PATCH v7 1/4] kexec: Support purgatories with .text.hot sections Ricardo Ribalda
2023-05-19 14:47 ` [PATCH v7 2/4] x86/purgatory: Remove PGO flags Ricardo Ribalda
2023-05-19 14:47 ` [PATCH v7 3/4] powerpc/purgatory: " Ricardo Ribalda
2023-05-22  4:16   ` Michael Ellerman
2023-05-19 14:47 ` [PATCH v7 4/4] riscv/purgatory: " Ricardo Ribalda
2023-09-07 23:08 ` [PATCH v7 0/4] kexec: Fix kexec_file_load for llvm16 with PGO Song Liu
2023-09-08 21:17   ` Ricardo Ribalda
2023-09-08 21:48     ` Song Liu
2023-09-08 21:51       ` Ricardo Ribalda
2023-09-08 22:53         ` Song Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).