[PATCH v5 07/20] x86/kexec: Invoke copy of relocate_kernel() instead of the original

Josh Poimboeuf jpoimboe at kernel.org
Wed Dec 18 01:03:05 PST 2024


On Tue, Dec 17, 2024 at 01:03:07PM +0100, David Woodhouse wrote:
> I've dropped this for now and just posted the __nocfi thing as the
> regression fix. I think we *should* provide the CFI information in
> relocate_kernel_64.S though, so I've left these commits in my tree at
> https://git.infradead.org/?p=users/dwmw2/linux.git;a=shortlog;h=refs/heads/kexec-debug
> 
> I'd really appreciate some help in getting objtool to stop whining
> about them, for *both* Clang and GCC builds at the same time :)

Hm, I can't fetch for some reason:

  $ git fetch https://git.infradead.org/users/dwmw2/linux.git kexec-debug
  fatal: https://git.infradead.org/users/dwmw2/linux.git/info/refs not valid: could not determine hash algorithm; is this a git repository?

At some point we had discussed placing the code in .rodata, was it the
alternative preventing that?

-- 
Josh



More information about the kexec mailing list