Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1420496

Re: [PATCH 0/8] kexec_file_load implementation for PowerPC

From Dave Young <dyoung@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/8] kexec_file_load implementation for PowerPC
Date 2016-06-13 09:10 +0200
Message-ID <rJuau-2XT-11@gated-at.bofh.it> (permalink)
References <rJ46l-3jR-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/12/16 at 12:10am, Thiago Jung Bauermann wrote:
> Hello,
> 
> This patch series implements the kexec_file_load system call on PowerPC.
> 
> It starts by removing an x86 assumption from kexec_file: kexec_add_buffer uses
> iomem to find reserved memory ranges, but PowerPC uses the memblock subsystem.
> Hooks are added so that each arch can specify how memory ranges can be found.
> 
> Also, the memory-walking logic in kexec_add_buffer is useful in this
> implementation to find a free area for the purgatory's stack, so that same
> patch moves that logic to kexec_locate_mem_hole.
> 
> The kexec_file_load system call needs to apply relocations to the purgatory
> but adding code for that would duplicate functionality with the module loading
> mechanism, which also needs to apply relocations to the kernel modules.
> Therefore, this patch series factors out the module relocation code so that it
> can be shared.
> 
> One thing that is still missing is crashkernel support, which I intend to
> submit shortly.

But seems there's no error handling in patches about KEXEC_ON_CRASH?
It would be good to either sending out the whole set or handle the error
cases correctly.

[snip]

Thanks
Dave

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] kexec_file_load implementation for PowerPC Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-06-12 05:20 +0200
  [PATCH 4/8] powerpc: Generalize elf64_apply_relocate_add. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-06-12 05:20 +0200
  [PATCH 2/8] kexec_file: Generalize kexec_add_buffer. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-06-12 05:20 +0200
    Re: [PATCH 2/8] kexec_file: Generalize kexec_add_buffer. Dave Young <dyoung@redhat.com> - 2016-06-13 09:20 +0200
    Re: [PATCH 2/8] kexec_file: Generalize kexec_add_buffer. Dave Young <dyoung@redhat.com> - 2016-06-13 09:30 +0200
      Re: [PATCH 2/8] kexec_file: Generalize kexec_add_buffer. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-06-13 21:10 +0200
        Re: [PATCH 2/8] kexec_file: Generalize kexec_add_buffer. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-06-13 22:50 +0200
        Re: [PATCH 2/8] kexec_file: Generalize kexec_add_buffer. Dave Young <dyoung@redhat.com> - 2016-06-14 03:30 +0200
  [PATCH 1/8] kexec_file: Remove unused members from struct kexec_buf. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-06-12 05:20 +0200
    Re: [PATCH 1/8] kexec_file: Remove unused members from struct  kexec_buf. Dave Young <dyoung@redhat.com> - 2016-06-13 09:10 +0200
  [PATCH 7/8] powerpc: Add support for loading ELF kernels with kexec_file_load. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-06-12 05:20 +0200
  [PATCH 8/8] powerpc: Add purgatory for kexec_file_load implementation. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-06-12 05:20 +0200
  [PATCH 3/8] powerpc: Factor out relocation code from module_64.c to elf_util_64.c. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-06-12 05:20 +0200
  [PATCH 5/8] powerpc: Add functions to read ELF files of any endianness. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-06-12 05:20 +0200
  [PATCH 6/8] powerpc: Implement kexec_file_load. Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2016-06-12 05:20 +0200
  Re: [PATCH 0/8] kexec_file_load implementation for PowerPC Dave Young <dyoung@redhat.com> - 2016-06-13 09:10 +0200

csiph-web