Re: [PATHC v2 0/9] ima: carry the measurement list across kexec

2016-09-16 Thread Eric W. Biederman
Thiago Jung Bauermann writes: > Hello Eric, > > Am Freitag, 16 September 2016, 14:47:13 schrieb Eric W. Biederman: >> Mimi Zohar writes: >> > Hi Andrew, >> > >> > On Wed, 2016-08-31 at 18:38 -0400, Mimi Zohar wrote: >> >> On Wed,

Re: [PATHC v2 0/9] ima: carry the measurement list across kexec

2016-09-16 Thread Thiago Jung Bauermann
Hello Eric, Am Freitag, 16 September 2016, 14:47:13 schrieb Eric W. Biederman: > Mimi Zohar writes: > > Hi Andrew, > > > > On Wed, 2016-08-31 at 18:38 -0400, Mimi Zohar wrote: > >> On Wed, 2016-08-31 at 13:50 -0700, Andrew Morton wrote: > >> > On Tue, 30 Aug 2016

Re: [PATCH v8 11/13] powerpc: Add support for loading ELF kernels with kexec_file_load.

2016-09-16 Thread Thiago Jung Bauermann
Hello, This patch causes a warning in GCC 4.6.3: arch/powerpc/kernel/kexec_elf_64.c:211:6: error: 'initrd_load_addr' may be used uninitialized in this function [-Werror=uninitialized] cc1: all warnings being treated as errors make[2]: *** [arch/powerpc/kernel/kexec_elf_64.o] Error 1 make[1]:

Re: [PATHC v2 0/9] ima: carry the measurement list across kexec

2016-09-16 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: > Mimi Zohar writes: > >> Hi Andrew, >> >> On Wed, 2016-08-31 at 18:38 -0400, Mimi Zohar wrote: >>> On Wed, 2016-08-31 at 13:50 -0700, Andrew Morton wrote: >>> > On Tue, 30 Aug 2016 18:40:02 -0400 Mimi Zohar

Re: [PATCH v26 0/7] arm64: add kdump support

2016-09-16 Thread Ard Biesheuvel
On 16 September 2016 at 17:04, James Morse wrote: > (Cc: Ard), > > Mark, Ard, how does/will reserved-memory work on an APCI only system? > It works by accident, at the moment. We used to ignore both /memreserve/s and the /reserved-memory node, but due to some unrelated

Re: [PATHC v2 0/9] ima: carry the measurement list across kexec

2016-09-16 Thread Eric W. Biederman
Mimi Zohar writes: > Hi Andrew, > > On Wed, 2016-08-31 at 18:38 -0400, Mimi Zohar wrote: >> On Wed, 2016-08-31 at 13:50 -0700, Andrew Morton wrote: >> > On Tue, 30 Aug 2016 18:40:02 -0400 Mimi Zohar >> > wrote: >> > >> > > The TPM PCRs are

Re: [PATCH v26 4/7] arm64: kdump: add VMCOREINFO's for user-space coredump tools

2016-09-16 Thread James Morse
On 07/09/16 05:29, AKASHI Takahiro wrote: > For the current crash utility, we need to know, at least, > - kimage_voffset > - PHYS_OFFSET > to handle the contents of core dump file (/proc/vmcore) correctly due to > the introduction of KASLR (CONFIG_RANDOMIZE_BASE) in v4.6. > This patch puts

Re: [PATCH v26 6/7] arm64: kdump: update a kernel doc

2016-09-16 Thread James Morse
Hi Akashi, On 07/09/16 05:29, AKASHI Takahiro wrote: > This patch adds arch specific descriptions about kdump usage on arm64 > to kdump.txt. > diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt > @@ -249,6 +249,13 @@ Dump-capture kernel config options (Arch Dependent,

Re: [PATCH v26 0/7] arm64: add kdump support

2016-09-16 Thread James Morse
(Cc: Ard), Mark, Ard, how does/will reserved-memory work on an APCI only system? On 07/09/16 05:29, AKASHI Takahiro wrote: > v26-specific note: After a comment from Rob[0], an idea of adding > "linux,usable-memory-range" was dropped. Instead, an existing > "reserved-memory" node

Re: [PATCH v26 3/7] arm64: kdump: add kdump support

2016-09-16 Thread James Morse
On 07/09/16 05:29, AKASHI Takahiro wrote: > On crash dump kernel, all the information about primary kernel's system > memory (core image) is available in elf core header. > The primary kernel will set aside this header with reserve_elfcorehdr() > at boot time and inform crash dump kernel of its

Re: [PATCH v26 2/7] arm64: kdump: implement machine_crash_shutdown()

2016-09-16 Thread James Morse
On 16/09/16 04:21, AKASHI Takahiro wrote: > On Wed, Sep 14, 2016 at 07:09:33PM +0100, James Morse wrote: >> On 07/09/16 05:29, AKASHI Takahiro wrote: >>> Primary kernel calls machine_crash_shutdown() to shut down non-boot cpus >>> and save registers' status in per-cpu ELF notes before starting

Re: [PATCH v26 7/7] Documentation: dt: chosen properties for arm64 kdump

2016-09-16 Thread Rob Herring
On Wed, Sep 07, 2016 at 01:32:03PM +0900, AKASHI Takahiro wrote: > From: James Morse > > Add documentation for > linux,crashkernel-base and crashkernel-size, > linux,elfcorehdr > used by arm64 kexec/kdump to decribe the kdump reserved area, and > the elfcorehdr's