Re: [PATCH v2 0/7] (kexec-tools) arm64: add kdump support

2016-08-22 Thread AKASHI Takahiro
Pratyush, On Wed, Aug 10, 2016 at 11:26:48PM +0530, Pratyush Anand wrote: > Hi Geoff and Takahiro, > > I am having some issues with kexec+kdump while working with Seattle platform. > On > top level, kernel crashes in copy_oldmem_page(), because it gets wrong offset > for log_buf during

Re: [PATCH v5 04/13] powerpc: Factor out relocation code from module_64.c to elf_util_64.c.

2016-08-22 Thread Balbir Singh
> zImage on ppc64 BE is an ELF32 file. This patch set only supports loading > ELF files of the same class as the kernel, so a 64 bit kernel can't load an > ELF32 file. It would be possible to add such support, but it would be a new > feature. > > The distros I was able to check on ppc64 LE

Re: [PATCH v5 04/13] powerpc: Factor out relocation code from module_64.c to elf_util_64.c.

2016-08-22 Thread Thiago Jung Bauermann
Am Dienstag, 16 August 2016, 16:52:54 schrieb Balbir Singh: > On 16/08/16 09:25, Thiago Jung Bauermann wrote: > > Am Montag, 15 August 2016, 17:46:34 schrieb Balbir Singh: > >> On Thu, Aug 11, 2016 at 08:08:09PM -0300, Thiago Jung Bauermann wrote: > >>> +/** > >>> + * elf64_apply_relocate_add -

Re: [PATCH v24 5/9] arm64: kdump: add kdump support

2016-08-22 Thread AKASHI Takahiro
On Mon, Aug 22, 2016 at 02:47:30PM +0100, James Morse wrote: > On 22/08/16 02:29, AKASHI Takahiro wrote: > > On Fri, Aug 19, 2016 at 04:52:17PM +0530, Pratyush Anand wrote: > >> It will help kexec-tools to prevent copying of any unnecessary data. I > >> think, then you also need to change

Re: [PATCH v2 3/6] kexec_file: Allow skipping checksum calculation for some segments.

2016-08-22 Thread Thiago Jung Bauermann
Am Montag, 22 August 2016, 11:36:43 schrieb Dave Young: > On 08/22/16 at 12:25am, Thiago Jung Bauermann wrote: > > Am Montag, 22 August 2016, 11:17:45 schrieb Dave Young: > > > On 08/18/16 at 06:09pm, Thiago Jung Bauermann wrote: > > > > Am Donnerstag, 18 August 2016, 17:03:30 schrieb Dave Young:

[PATCH v05 44/72] include/uapi/linux/kexec.h: use __kernel_size_t instead of size_t

2016-08-22 Thread Mikko Rapeli
Fixes userspace compilation error: error: unknown type name ‘size_t’ size_t bufsz; Signed-off-by: Mikko Rapeli --- include/uapi/linux/kexec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/kexec.h b/include/uapi/linux/kexec.h

Re: [PATCH v24 5/9] arm64: kdump: add kdump support

2016-08-22 Thread James Morse
On 22/08/16 02:29, AKASHI Takahiro wrote: > On Fri, Aug 19, 2016 at 04:52:17PM +0530, Pratyush Anand wrote: >> It will help kexec-tools to prevent copying of any unnecessary data. I >> think, then you also need to change phys_offset calculation in kexec-tools. >> That >> should be start of

Re: [RFC 0/4] Kexec: Enable run time memory resrvation of crash kernel

2016-08-22 Thread Pratyush Anand
On 12/08/2016:07:48:38 PM, Ronit Halder wrote: > Currenty linux kernel reserves memory at the boot time for crash kernel. > It will be very useful if we can reserve memory in run time. The user can > reserve the memory whenerver needed instead of reserving at the boot time. > > It is possible to

[PATCH v6 08/12] powerpc: Implement kexec_file_load.

2016-08-22 Thread Thiago Jung Bauermann
arch_kexec_walk_mem and arch_kexec_apply_relocations_add are used by generic kexec code, while setup_purgatory is powerpc-specific and sets runtime variables needed by the powerpc purgatory implementation. Signed-off-by: Josh Sklar Signed-off-by: Thiago Jung Bauermann

Re: [PATCH v2 0/7] (kexec-tools) arm64: add kdump support

2016-08-22 Thread AKASHI Takahiro
On Fri, Aug 19, 2016 at 03:44:23PM +0530, Pratyush Anand wrote: > On 19/08/2016:04:19:31 PM, AKASHI Takahiro wrote: > > Pratyush, Geoff > > > > # If I had Seattle, I could debug easily :) > > > > On Wed, Aug 10, 2016 at 11:26:48PM +0530, Pratyush Anand wrote: > > > Hi Geoff and Takahiro, > > >

Re: [PATCH v2 2/6] powerpc: kexec_file: Add buffer hand-over support for the next kernel

2016-08-22 Thread Dave Young
On 08/22/16 at 12:38am, Thiago Jung Bauermann wrote: > Am Montag, 22 August 2016, 11:21:35 schrieb Dave Young: > > On 08/13/16 at 12:18am, Thiago Jung Bauermann wrote: > > > diff --git a/arch/powerpc/kernel/machine_kexec_64.c > > > b/arch/powerpc/kernel/machine_kexec_64.c index > > >

Re: [PATCH v2 3/6] kexec_file: Allow skipping checksum calculation for some segments.

2016-08-22 Thread Thiago Jung Bauermann
Am Montag, 22 August 2016, 11:36:43 schrieb Dave Young: > On 08/22/16 at 12:25am, Thiago Jung Bauermann wrote: > > Am Montag, 22 August 2016, 11:17:45 schrieb Dave Young: > > > On 08/18/16 at 06:09pm, Thiago Jung Bauermann wrote: > > > > Hello Dave, > > > > > > > > Thanks for your review! > > > >

Re: [PATCH v2 2/6] powerpc: kexec_file: Add buffer hand-over support for the next kernel

2016-08-22 Thread Thiago Jung Bauermann
Am Montag, 22 August 2016, 11:21:35 schrieb Dave Young: > On 08/13/16 at 12:18am, Thiago Jung Bauermann wrote: > > diff --git a/arch/powerpc/kernel/machine_kexec_64.c > > b/arch/powerpc/kernel/machine_kexec_64.c index > > a484a6346146..190c652e49b7 100644 > > ---

Re: [PATCH v2 3/6] kexec_file: Allow skipping checksum calculation for some segments.

2016-08-22 Thread Thiago Jung Bauermann
Am Montag, 22 August 2016, 11:17:45 schrieb Dave Young: > On 08/18/16 at 06:09pm, Thiago Jung Bauermann wrote: > > Hello Dave, > > > > Thanks for your review! > > > > [ Trimming down Cc: list a little to try to clear the "too many > > recipients"> > > mailing list restriction. ] > > I also

Re: [PATCH v2 2/6] powerpc: kexec_file: Add buffer hand-over support for the next kernel

2016-08-22 Thread Dave Young
On 08/13/16 at 12:18am, Thiago Jung Bauermann wrote: > The buffer hand-over mechanism allows the currently running kernel to pass > data to kernel that will be kexec'd via a kexec segment. The second kernel > can check whether the previous kernel sent data and retrieve it. > > This is the

Re: [PATCH v2 3/6] kexec_file: Allow skipping checksum calculation for some segments.

2016-08-22 Thread Dave Young
On 08/22/16 at 12:25am, Thiago Jung Bauermann wrote: > Am Montag, 22 August 2016, 11:17:45 schrieb Dave Young: > > On 08/18/16 at 06:09pm, Thiago Jung Bauermann wrote: > > > Hello Dave, > > > > > > Thanks for your review! > > > > > > [ Trimming down Cc: list a little to try to clear the "too

Re: [PATCH v2 3/6] kexec_file: Allow skipping checksum calculation for some segments.

2016-08-22 Thread Dave Young
On 08/18/16 at 06:09pm, Thiago Jung Bauermann wrote: > Hello Dave, > > Thanks for your review! > > [ Trimming down Cc: list a little to try to clear the "too many recipients" > mailing list restriction. ] I also got "too many recipients".. Thanks for the trimming. > > Am Donnerstag, 18

Re: [PATCH v24 5/9] arm64: kdump: add kdump support

2016-08-22 Thread Pratyush Anand
On 22/08/2016:10:29:20 AM, AKASHI Takahiro wrote: > On Fri, Aug 19, 2016 at 04:52:17PM +0530, Pratyush Anand wrote: > > On 19/08/2016:10:26:52 AM, AKASHI Takahiro wrote: > > > >From 740563e4a437f0d6ecf6e421c91433f9b8f19041 Mon Sep 17 00:00:00 2001 > > > From: AKASHI Takahiro