kexec: add generic support for elf kernel images
Subsystems (4)
v5 cover kexec: add generic support for elf kernel images
Changes to v4:
- rebase on current powerpc/merge tree
- fix syscall name in commit message
- remove a few unused #defines in arch/powerpc/kernel/kexec_elf_64.c
Changes to v3:
- add support for 32-bit ELF files
Changes to v2:
- use git format-patch -C
Changes to v1:
- split up patch into smaller pieces
- rebase onto powerpc/next
- remove unused variable in kexec_elf_load()
Changes to RFC version:
- remove unused Elf_Rel macro
- remove section header parsing
- remove PURGATORY_STACK_SIZE
- change order of elf_*_to_cpu() functions
- remove elf_addr_to_cpu macro
Sven Schnelle (7):
kexec: add KEXEC_ELF
kexec_elf: change order of elf_*_to_cpu() functions
kexec_elf: remove parsing of section headers
kexec_elf: remove PURGATORY_STACK_SIZE
kexec_elf: remove Elf_Rel macro
kexec_elf: remove unused variable in kexec_elf_load()
kexec_elf: support 32 bit ELF files
arch/Kconfig | 3 + arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/kexec_elf_64.c | 545 +----------------- include/linux/kexec.h | 23 + kernel/Makefile | 1 + .../kexec_elf_64.c => kernel/kexec_elf.c | 394 +++---------- 6 files changed, 115 insertions(+), 852 deletions(-) copy arch/powerpc/kernel/kexec_elf_64.c => kernel/kexec_elf.c (50%)
Signature · 7 lines
2.23.0.rc1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
PATCH v5 4/7 kexec_elf: remove PURGATORY_STACK_SIZE
It's not used anywhere so just drop it.
--- kernel/kexec_elf.c | 2 -- 1 file changed, 2 deletions(-)
kernel/kexec_elf.c +0 -2
@@ -21,8 +21,6 @@#include <linux/slab.h> #include <linux/types.h> -#define PURGATORY_STACK_SIZE (16 * 1024) -#define elf_addr_to_cpu elf64_to_cpu#ifndef Elf_Rel
Signature · 7 lines
2.23.0.rc1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
PATCH v5 2/7 kexec_elf: change order of elf_*_to_cpu() functions
In reply to Sven SchnelleChange the order to have a 64/32/16 order, no functional change.
--- kernel/kexec_elf.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
kernel/kexec_elf.c +6 -6
@@ -44,22 +44,22 @@ static uint64_t elf64_to_cpu(const struct elfhdr *ehdr, uint64_t value)return value; } -static uint16_t elf16_to_cpu (const struct elfhdr *ehdr,uint16_t value) +static uint32_t elf32_to_cpu (const struct elfhdr *ehdr,uint32_t value) {if (ehdr->e_ident[EI_DATA ] ==ELFDATA2LSB ) - value =le16_to_cpu (value); + value =le32_to_cpu (value);else if (ehdr->e_ident[EI_DATA ] ==ELFDATA2MSB ) - value =be16_to_cpu (value); + value =be32_to_cpu (value);return value; } -static uint32_t elf32_to_cpu (const struct elfhdr *ehdr,uint32_t value) +static uint16_t elf16_to_cpu (const struct elfhdr *ehdr,uint16_t value) {if (ehdr->e_ident[EI_DATA ] ==ELFDATA2LSB ) - value =le32_to_cpu (value); + value =le16_to_cpu (value);else if (ehdr->e_ident[EI_DATA ] ==ELFDATA2MSB ) - value =be32_to_cpu (value); + value =be16_to_cpu (value);return value; }
Signature · 7 lines
2.23.0.rc1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
PATCH v5 3/7 kexec_elf: remove parsing of section headers
In reply to Sven SchnelleWe're not using them, so we can drop the parsing.
--- include/linux/kexec.h | 1 - kernel/kexec_elf.c | 137 ------------------------------------------ 2 files changed, 138 deletions(-)
include/linux/kexec.h +0 -1
@@ -226,7 +226,6 @@ struct kexec_elf_info {const struct elfhdr *ehdr;const struct elf_phdr *proghdrs; -struct elf_shdr *sechdrs; }; int kexec_build_elf_info(const char *buf, size_t len, struct elfhdr *ehdr,
kernel/kexec_elf.c +0 -137
155 lines not on this page · raw message
Signature · 7 lines
2.23.0.rc1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
PATCH v5 5/7 kexec_elf: remove Elf_Rel macro
In reply to Sven SchnelleIt wasn't used anywhere, so lets drop it.
--- kernel/kexec_elf.c | 4 ---- 1 file changed, 4 deletions(-)
kernel/kexec_elf.c +0 -4
@@ -23,10 +23,6 @@#define elf_addr_to_cpu elf64_to_cpu -#ifndef Elf_Rel -#define Elf_Rel Elf64_Rel -#endif /* Elf_Rel */ -static inline bool elf_is_elf_file (const struct elfhdr *ehdr) {return memcmp (ehdr->e_ident,ELFMAG ,SELFMAG ) ==0 ;
Signature · 7 lines
2.23.0.rc1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
PATCH v5 6/7 kexec_elf: remove unused variable in kexec_elf_load()
In reply to Sven Schnellebase was never assigned, so we can remove it.
--- kernel/kexec_elf.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
kernel/kexec_elf.c +2 -5
@@ -363,7 +363,7 @@ int kexec_elf_load(struct kimage *image, struct elfhdr *ehdr,struct kexec_buf *kbuf, unsigned long *lowest_load_addr) { - unsigned long base = 0, lowest_addr = UINT_MAX; + unsigned long lowest_addr = UINT_MAX;int ret;size_t i;
@@ -385,7 +385,7 @@ int kexec_elf_load(struct kimage *image, struct elfhdr *ehdr, kbuf->bufsz = size; kbuf->memsz = phdr->p_memsz; kbuf->buf_align = phdr->p_align; - kbuf->buf_min = phdr->p_paddr + base; + kbuf->buf_min = phdr->p_paddr; kbuf->mem =KEXEC_BUF_MEM_UNKNOWN ; ret =kexec_add_buffer (kbuf);if (ret)
@@ -396,9 +396,6 @@ int kexec_elf_load(struct kimage *image, struct elfhdr *ehdr, lowest_addr = load_addr; } -/* Update entry point to reflect new load address. */ - ehdr->e_entry += base; - *lowest_load_addr = lowest_addr; ret =0 ; out:
Signature · 7 lines
2.23.0.rc1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
PATCH v5 7/7 kexec_elf: support 32 bit ELF files
In reply to Sven SchnelleThe powerpc version only supported 64 bit. Add some code to switch decoding of fields during runtime so we can kexec a 32 bit kernel from a 64 bit kernel and vice versa.
--- kernel/kexec_elf.c | 57 ++++++++++++++++++++++++++++++++++------------ 1 file changed, 42 insertions(+), 15 deletions(-)
kernel/kexec_elf.c +42 -15
@@ -21,8 +21,6 @@#include <linux/slab.h> #include <linux/types.h> -#define elf_addr_to_cpu elf64_to_cpu -static inline bool elf_is_elf_file (const struct elfhdr *ehdr) {return memcmp (ehdr->e_ident,ELFMAG ,SELFMAG ) ==0 ;
@@ -152,9 +150,6 @@ static int elf_read_ehdr(const char *buf, size_t len, struct elfhdr *ehdr) ehdr->e_type =elf16_to_cpu (ehdr, buf_ehdr->e_type); ehdr->e_machine =elf16_to_cpu (ehdr, buf_ehdr->e_machine); ehdr->e_version =elf32_to_cpu (ehdr, buf_ehdr->e_version); - ehdr->e_entry =elf_addr_to_cpu (ehdr, buf_ehdr->e_entry); - ehdr->e_phoff =elf_addr_to_cpu (ehdr, buf_ehdr->e_phoff); - ehdr->e_shoff =elf_addr_to_cpu (ehdr, buf_ehdr->e_shoff); ehdr->e_flags =elf32_to_cpu (ehdr, buf_ehdr->e_flags); ehdr->e_phentsize =elf16_to_cpu (ehdr, buf_ehdr->e_phentsize); ehdr->e_phnum =elf16_to_cpu (ehdr, buf_ehdr->e_phnum);
@@ -162,6 +157,24 @@ static int elf_read_ehdr(const char *buf, size_t len, struct elfhdr *ehdr) ehdr->e_shnum =elf16_to_cpu (ehdr, buf_ehdr->e_shnum); ehdr->e_shstrndx =elf16_to_cpu (ehdr, buf_ehdr->e_shstrndx); +switch (ehdr->e_ident[EI_CLASS ]) { +case ELFCLASS64 : + ehdr->e_entry =elf64_to_cpu (ehdr, buf_ehdr->e_entry); + ehdr->e_phoff =elf64_to_cpu (ehdr, buf_ehdr->e_phoff); + ehdr->e_shoff =elf64_to_cpu (ehdr, buf_ehdr->e_shoff); +break ; + +case ELFCLASS32 : + ehdr->e_entry =elf32_to_cpu (ehdr, buf_ehdr->e_entry); + ehdr->e_phoff =elf32_to_cpu (ehdr, buf_ehdr->e_phoff); + ehdr->e_shoff =elf32_to_cpu (ehdr, buf_ehdr->e_shoff); +break ; + +default : +pr_debug ("Unknown ELF class.\n" ); +return -EINVAL ; + } +return elf_is_ehdr_sane (ehdr, len) ?0 : -ENOEXEC ; }
@@ -192,6 +205,7 @@ static int elf_read_phdr(const char *buf, size_t len, {/* Override the const in proghdrs, we are the ones doing the loading. */ struct elf_phdr *phdr = (struct elf_phdr *) &elf_info->proghdrs[idx]; +const struct elfhdr *ehdr = elf_info->ehdr;const char *pbuf;struct elf_phdr *buf_phdr;
@@ -199,18 +213,31 @@ static int elf_read_phdr(const char *buf, size_t len, buf_phdr = (struct elf_phdr *) pbuf; phdr->p_type =elf32_to_cpu (elf_info->ehdr, buf_phdr->p_type); - phdr->p_offset =elf_addr_to_cpu (elf_info->ehdr, buf_phdr->p_offset); - phdr->p_paddr =elf_addr_to_cpu (elf_info->ehdr, buf_phdr->p_paddr); - phdr->p_vaddr =elf_addr_to_cpu (elf_info->ehdr, buf_phdr->p_vaddr); phdr->p_flags =elf32_to_cpu (elf_info->ehdr, buf_phdr->p_flags); -/* -* The following fields have a type equivalent to Elf_Addr -* both in 32 bit and 64 bit ELF. -*/ - phdr->p_filesz =elf_addr_to_cpu (elf_info->ehdr, buf_phdr->p_filesz); - phdr->p_memsz =elf_addr_to_cpu (elf_info->ehdr, buf_phdr->p_memsz); - phdr->p_align =elf_addr_to_cpu (elf_info->ehdr, buf_phdr->p_align); +switch (ehdr->e_ident[EI_CLASS ]) { +case ELFCLASS64 : + phdr->p_offset =elf64_to_cpu (ehdr, buf_phdr->p_offset); + phdr->p_paddr =elf64_to_cpu (ehdr, buf_phdr->p_paddr); + phdr->p_vaddr =elf64_to_cpu (ehdr, buf_phdr->p_vaddr); + phdr->p_filesz =elf64_to_cpu (ehdr, buf_phdr->p_filesz); + phdr->p_memsz =elf64_to_cpu (ehdr, buf_phdr->p_memsz); + phdr->p_align =elf64_to_cpu (ehdr, buf_phdr->p_align); +break ; + +case ELFCLASS32 : + phdr->p_offset =elf32_to_cpu (ehdr, buf_phdr->p_offset); + phdr->p_paddr =elf32_to_cpu (ehdr, buf_phdr->p_paddr); + phdr->p_vaddr =elf32_to_cpu (ehdr, buf_phdr->p_vaddr); + phdr->p_filesz =elf32_to_cpu (ehdr, buf_phdr->p_filesz); + phdr->p_memsz =elf32_to_cpu (ehdr, buf_phdr->p_memsz); + phdr->p_align =elf32_to_cpu (ehdr, buf_phdr->p_align); +break ; + +default : +pr_debug ("Unknown ELF class.\n" ); +return -EINVAL ; + }return elf_is_phdr_sane (phdr, len) ?0 : -ENOEXEC ; }
Signature · 7 lines
2.23.0.rc1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
PATCH v5 1/7 kexec: add KEXEC_ELF
In reply to Sven SchnelleRight now powerpc provides an implementation to read elf files with the kexec_file_load() syscall. Make that available as a public kexec interface so it can be re-used on other architectures.
--- arch/Kconfig | 3 + arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/kexec_elf_64.c | 545 +----------------- include/linux/kexec.h | 24 + kernel/Makefile | 1 + .../kexec_elf_64.c => kernel/kexec_elf.c | 183 ++---- 6 files changed, 70 insertions(+), 687 deletions(-) copy arch/powerpc/kernel/kexec_elf_64.c => kernel/kexec_elf.c (75%)
arch/Kconfig +3 -0
@@ -18,6 +18,9 @@ config KEXEC_CORE select CRASH_CORE bool +config KEXEC_ELF + bool + config HAVE_IMA_KEXEC bool
arch/powerpc/Kconfig +1 -0
@@ -511,6 +511,7 @@ config KEXEC_FILE select KEXEC_CORE select HAVE_IMA_KEXEC select BUILD_BIN2C + select KEXEC_ELF depends on PPC64 depends on CRYPTO=y depends on CRYPTO_SHA256=y
arch/powerpc/kernel/kexec_elf_64.c +5 -540
577 lines not on this page · raw message
include/linux/kexec.h +24 -0
@@ -216,6 +216,30 @@ extern int crash_prepare_elf64_headers(struct crash_mem *mem, int kernel_map, void **addr, unsigned long *sz);#endif /* CONFIG_KEXEC_FILE */ +#ifdef CONFIG_KEXEC_ELF +struct kexec_elf_info { +/* +* Where the ELF binary contents are kept. +* Memory managed by the user of the struct. +*/ +const char *buffer; + +const struct elfhdr *ehdr; +const struct elf_phdr *proghdrs; +struct elf_shdr *sechdrs; +}; + +int kexec_build_elf_info (const char *buf,size_t len,struct elfhdr *ehdr, +struct kexec_elf_info *elf_info); + +int kexec_elf_load (struct kimage *image,struct elfhdr *ehdr, +struct kexec_elf_info *elf_info, +struct kexec_buf *kbuf, +unsigned long *lowest_load_addr); + +void kexec_free_elf_info (struct kexec_elf_info *elf_info); +int kexec_elf_probe (const char *buf,unsigned long len); +#endif struct kimage {kimage_entry_t head;kimage_entry_t *entry;
kernel/Makefile +1 -0
@@ -64,6 +64,7 @@ obj-$(CONFIG_CRASH_CORE) += crash_core.o obj-$(CONFIG_KEXEC_CORE) += kexec_core.o obj-$(CONFIG_KEXEC) += kexec.o obj-$(CONFIG_KEXEC_FILE) += kexec_file.o +obj-$(CONFIG_KEXEC_ELF) += kexec_elf.o obj-$(CONFIG_BACKTRACE_SELF_TEST) += backtracetest.o obj-$(CONFIG_COMPAT) += compat.o obj-$(CONFIG_CGROUPS) += cgroup/
kernel/kexec_elf.c renamed from arch/powerpc/kernel/kexec_elf_64.c +36 -147
286 lines not on this page · raw message
Signature · 7 lines
2.23.0.rc1 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Hi all,
This kexec patch series is the groundwork for kexec on the parisc architecture. Since we want kexec on parisc, I've applied it to my for-next-kexec tree [1], and can push it to Linus in the next merge window through the parisc tree [2].
If someone has any objections, or if you prefer to take it through a kexec or powerpc tree, please let me know.
Helge
[1] https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next-kexec
[2] https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next
Quoted 5 lines · Sven Schnelle
Changes to v4:
- rebase on current powerpc/merge tree
- fix syscall name in commit message
- remove a few unused #defines inarch/powerpc/kernel/kexec_elf_64.c
...
Quoted 8 lines
arch/Kconfig | 3 + arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/kexec_elf_64.c | 545 +----------------- include/linux/kexec.h | 23 + kernel/Makefile | 1 + .../kexec_elf_64.c => kernel/kexec_elf.c | 394 +++---------- 6 files changed, 115 insertions(+), 852 deletions(-) copy arch/powerpc/kernel/kexec_elf_64.c => kernel/kexec_elf.c (50%)
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Thiago Jung Bauermann
Reviewed-byQuoted 5 lines · Helge Deller
Hi all,
This kexec patch series is the groundwork for kexec on the parisc architecture. Since we want kexec on parisc, I've applied it to my for-next-kexec tree [1], and can push it to Linus in the next merge window through the parisc tree [2].
I just had a look at this version and it looks fine to me. Identical to the version I reviewed before except for the changes I suggested. Thanks, Sven!
Quoted 7 lines
If someone has any objections, or if you prefer to take it through a kexec or powerpc tree, please let me know.
Helge
[1] https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next-kexec
[2] https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next
I noticed that the first patch is the only one that doesn't have my Reviewed-by. If you want, you can add it:
If it's inconvenient to add it now since it's already applied, that's fine too of course.
Quoted 14 lines · Sven Schnelle
Quoted 13 lines
Changes to v4:
- rebase on current powerpc/merge tree
- fix syscall name in commit message
- remove a few unused #defines inarch/powerpc/kernel/kexec_elf_64.c
...arch/Kconfig | 3 + arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/kexec_elf_64.c | 545 +----------------- include/linux/kexec.h | 23 + kernel/Makefile | 1 + .../kexec_elf_64.c => kernel/kexec_elf.c | 394 +++---------- 6 files changed, 115 insertions(+), 852 deletions(-) copy arch/powerpc/kernel/kexec_elf_64.c => kernel/kexec_elf.c (50%)
Signature · 7 lines
Thiago Jung Bauermann IBM Linux Technology Center _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Quoted 14 lines · Thiago Jung Bauermann
Quoted 3 lines · Helge Deller
This kexec patch series is the groundwork for kexec on the parisc architecture. Since we want kexec on parisc, I've applied it to my for-next-kexec tree [1], and can push it to Linus in the next merge window through the parisc tree [2].
I just had a look at this version and it looks fine to me. Identical to the version I reviewed before except for the changes I suggested. Thanks, Sven!
Quoted 5 lines
If someone has any objections, or if you prefer to take it through a kexec or powerpc tree, please let me know.
Helge
Quoted 7 lines
Quoted 2 lines
[1] https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next-kexec
[2] https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-nextI noticed that the first patch is the only one that doesn't have my Reviewed-by. If you want, you can add it:
Reviewed-by Thiago Jung Bauermann <[email protected]>
Thanks for reviewing again!
I added your Reviewed-by to the patches in the for-next tree.
Helge
Quoted 17 lines
Quoted 7 lines · Sven Schnelle
Quoted 5 lines
Changes to v4:
- rebase on current powerpc/merge tree
- fix syscall name in commit message
- remove a few unused #defines inarch/powerpc/kernel/kexec_elf_64.c
...Quoted 8 lines
Quoted 8 lines
arch/Kconfig | 3 + arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/kexec_elf_64.c | 545 +----------------- include/linux/kexec.h | 23 + kernel/Makefile | 1 + .../kexec_elf_64.c => kernel/kexec_elf.c | 394 +++---------- 6 files changed, 115 insertions(+), 852 deletions(-) copy arch/powerpc/kernel/kexec_elf_64.c => kernel/kexec_elf.c (50%)
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Quoted 18 lines · Helge Deller
Quoted 17 lines · Thiago Jung Bauermann
Quoted 3 lines · Helge Deller
This kexec patch series is the groundwork for kexec on the parisc architecture. Since we want kexec on parisc, I've applied it to my for-next-kexec tree [1], and can push it to Linus in the next merge window through the parisc tree [2].
I just had a look at this version and it looks fine to me. Identical to the version I reviewed before except for the changes I suggested. Thanks, Sven!
Quoted 7 lines
If someone has any objections, or if you prefer to take it through a kexec or powerpc tree, please let me know.
Helge
[1] https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next-kexec
[2] https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next
Quoted 7 lines
Quoted 4 lines
I noticed that the first patch is the only one that doesn't have my Reviewed-by. If you want, you can add it:
Reviewed-by Thiago Jung Bauermann <[email protected]>Thanks for reviewing again!
I added your Reviewed-by to the patches in the for-next tree.
Thanks!
Signature · 7 lines
Thiago Jung Bauermann IBM Linux Technology Center _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Michael Ellerman
reviewerHi Helge,
Sorry I meant to do something about this series but got swamped by other things, as always.
Quoted 8 lines · Helge Deller
Hi all,
This kexec patch series is the groundwork for kexec on the parisc architecture. Since we want kexec on parisc, I've applied it to my for-next-kexec tree [1], and can push it to Linus in the next merge window through the parisc tree [2].
If someone has any objections, or if you prefer to take it through a kexec or powerpc tree, please let me know.
The ideal way to handle a series like this is to put it in a topic branch based off rc1, so that both trees can merge it without pulling in any unrelated arch changes.
But in this case I don't see any conflicts so I think it's fine for it to go via your tree, it will get some testing in linux-next.
cheers
Quoted 17 lines
[1] https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next-kexec
[2] https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-nextQuoted 13 lines · Sven Schnelle
Changes to v4:
- rebase on current powerpc/merge tree
- fix syscall name in commit message
- remove a few unused #defines inarch/powerpc/kernel/kexec_elf_64.c
...arch/Kconfig | 3 + arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/kexec_elf_64.c | 545 +----------------- include/linux/kexec.h | 23 + kernel/Makefile | 1 + .../kexec_elf_64.c => kernel/kexec_elf.c | 394 +++---------- 6 files changed, 115 insertions(+), 852 deletions(-) copy arch/powerpc/kernel/kexec_elf_64.c => kernel/kexec_elf.c (50%)
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec