Re: [PATCH v9 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-23 Thread Baoquan He
On 08/22/16 at 09:14am, "Zhou, Wenjian/周文剑" wrote: > On 08/19/2016 11:57 PM, Jonathan Corbet wrote: > >On Fri, 19 Aug 2016 08:33:21 +0800 > >"Zhou, Wenjian/周文剑" wrote: > > > >>I was also confused by maxcpus and nr_cpus before writing this patch. > >>I think it is a

Re: [PATCH v2 1/2] kexec: Introduce "/sys/kernel/kexec_crash_low_size"

2016-08-23 Thread Yinghai Lu
On Wed, Aug 17, 2016 at 1:20 AM, Dave Young wrote: > On 08/17/16 at 09:50am, Xunlei Pang wrote: >> "/sys/kernel/kexec_crash_size" only handles crashk_res, it >> is fine in most cases, but sometimes we have crashk_low_res. >> For example, when "crashkernel=size[KMG],high"

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

2016-08-23 Thread Thiago Jung Bauermann
Am Mittwoch, 24 August 2016, 10:50:26 schrieb Oliver O'Halloran: > On Tue, Aug 23, 2016 at 1:21 PM, Balbir Singh wrote: > >> 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

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

2016-08-23 Thread Oliver O'Halloran
On Tue, Aug 23, 2016 at 1:21 PM, Balbir Singh wrote: > >> 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

Re: [PATCH v1] kexec/arch/i386: Add support for KASLR memory randomization

2016-08-23 Thread Thomas Garnier
On Wed, Aug 17, 2016 at 9:59 PM, Baoquan He wrote: > On 08/17/16 at 09:47am, Thomas Garnier wrote: >> Multiple changes were made on KASLR (right now in linux-next). One of >> them is randomizing the virtual address of the physical mapping, vmalloc >> and vmemmap memory sections.

Re: [integrity:next-restore-kexec 18/31] include/linux/kexec.h:400:52: warning: 'struct kexec_buf' declared inside parameter list will not be visible outside of this definition or declaration

2016-08-23 Thread Thiago Jung Bauermann
Am Dienstag, 23 August 2016, 22:17:59 schrieb kbuild test robot: > tree: > https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git > next-restore-kexec head: 62bc4b565254de4796a0835f6f67569eb4835f9f > commit: f9f57350e53441210120931fc4e0163cf833e648 [18/31] kexec_file: Add >

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

2016-08-23 Thread Pratyush Anand
On 23/08/2016:09:38:16 AM, AKASHI Takahiro wrote: > 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

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

2016-08-23 Thread AKASHI Takahiro
On Tue, Aug 23, 2016 at 01:34:21PM +0530, Pratyush Anand wrote: > On 23/08/2016:02:29:03 PM, AKASHI Takahiro wrote: > > 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

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

2016-08-23 Thread Pratyush Anand
On 22/08/2016:05:10:17 PM, AKASHI Takahiro wrote: > On Fri, Aug 19, 2016 at 03:44:23PM +0530, Pratyush Anand wrote: > > page_offset is the virtual address of phys_offset, right? > > > > ehdr.e_entry is the virtual address of "kernel Code Start PA", right? > > > > If yes, then why should n't

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

2016-08-23 Thread Pratyush Anand
On 23/08/2016:02:29:03 PM, AKASHI Takahiro wrote: > 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

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

2016-08-23 Thread Xunlei Pang
On 2016/08/22 at 18:59, Pratyush Anand wrote: > 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

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

2016-08-23 Thread Thiago Jung Bauermann
Am Montag, 22 August 2016, 15:22:00 schrieb 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 > > > >