linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Apply d799769188529abc6cbf035a10087a51f7832b6b to 5.17 and 5.15?
@ 2022-04-19 21:27 Nathan Chancellor
  2022-04-21  7:46 ` Michael Ellerman
  0 siblings, 1 reply; 7+ messages in thread
From: Nathan Chancellor @ 2022-04-19 21:27 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Sasha Levin, Michael Ellerman
  Cc: Paul Menzel, Tom Rix, llvm, Nick Desaulniers, stable,
	linuxppc-dev

Hi Greg, Sasha, and Michael,

Commit d79976918852 ("powerpc/64: Add UADDR64 relocation support") fixes
a boot failure with CONFIG_RELOCATABLE=y kernels linked with recent
versions of ld.lld [1]. Additionally, it resolves a separate boot
failure that Paul Menzel reported [2] with ld.lld 13.0.0. Is this a
reasonable backport for 5.17 and 5.15? It applies cleanly, resolves both
problems, and does not appear to cause any other issues in my testing
for both trees but I was curious what Michael's opinion was, as I am far
from a PowerPC expert.

This change does apply cleanly to 5.10 (I did not try earlier branches)
but there are other changes needed for ld.lld to link CONFIG_RELOCATABLE
kernels in that branch so to avoid any regressions, I think it is safe
to just focus on 5.15 and 5.17.

Paul, it would not hurt to confirm the results of my testing with your
setup, just to make sure I did not miss anything :)

[1]: https://github.com/ClangBuiltLinux/linux/issues/1581
[2]: https://lore.kernel.org/Yg2h2Q2vXFkkLGTh@dev-arch.archlinux-ax161/

Cheers,
Nathan

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

end of thread, other threads:[~2022-05-04 15:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-19 21:27 Apply d799769188529abc6cbf035a10087a51f7832b6b to 5.17 and 5.15? Nathan Chancellor
2022-04-21  7:46 ` Michael Ellerman
2022-04-21 15:13   ` Nathan Chancellor
2022-04-22  5:41     ` Michael Ellerman
2022-05-03 21:34     ` Nathan Chancellor
2022-05-04  3:19       ` Michael Ellerman
2022-05-04 15:07         ` Greg Kroah-Hartman

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).