diff options
author | Baoquan He <bhe@redhat.com> | 2023-12-13 08:57:45 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-21 02:02:57 +0300 |
commit | eb7622d908a097fe0b845cb2dc4b579b99f04b59 (patch) | |
tree | 7a56fe002c45400a1db55fbe80c6a58f87153ccc /arch/powerpc/kexec/elf_64.c | |
parent | 6f8c1da071a46176966e377fb77a46366fb5af2d (diff) | |
download | linux-eb7622d908a097fe0b845cb2dc4b579b99f04b59.tar.xz |
kexec_file, riscv: print out debugging message if required
Then when specifying '-d' for kexec_file_load interface, loaded locations
of kernel/initrd/cmdline etc can be printed out to help debug.
Here replace pr_debug() with the newly added kexec_dprintk() in kexec_file
loading related codes.
And also replace pr_notice() with kexec_dprintk() in elf_kexec_load()
because loaded location of purgatory and device tree are only printed out
for debugging, it doesn't make sense to always print them out.
And also remove kexec_image_info() because the content has been printed
out in generic code.
Link: https://lkml.kernel.org/r/20231213055747.61826-6-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Cc: Conor Dooley <conor@kernel.org>
Cc: Joe Perches <joe@perches.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/kexec/elf_64.c')
0 files changed, 0 insertions, 0 deletions