Re: [PATCH net-next v5 1/3] vmcore: add API to collect hardware dump in second kernel

2018-04-26 Thread Eric W. Biederman
While looking this over I found a bug in the way elf notes are being composed. Rahul Lakkireddy writes: > diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c > index a45f0af22a60..7395462d2f86 100644 > --- a/fs/proc/vmcore.c > +++ b/fs/proc/vmcore.c > @@ -1145,6 +1150,132 @@ static int __init parse

Re: [RFC] arm64: extra entries in /proc/iomem for kexec

2018-04-26 Thread James Morse
Hi Akashi, On 26/04/18 08:40, AKASHI Takahiro wrote: > On Wed, Apr 25, 2018 at 02:22:07PM +0100, James Morse wrote: >> On 25/04/18 10:20, AKASHI Takahiro wrote: >>> On Tue, Apr 24, 2018 at 05:08:57PM +0100, James Morse wrote: If we squash the memblock_reserved() stuff down so it appears as a

[PATCH v2] arm64: Add support to supply 'kaslr-seed' to secondary kernel

2018-04-26 Thread Bhupesh Sharma
This patch adds the support to supply 'kaslr-seed' to secondary kernel, when we do a 'kexec warm reboot to another kernel' (although the behaviour remains the same for the 'kdump' case as well) on arm64 platforms using the 'kexec_load' invocation method. Lets consider the case where the primary ke

Re: [PATCH v2 0/2] Add capability to dump fdt blob for arm64 platforms

2018-04-26 Thread Bhupesh Sharma
Hi Akashi, Thanks for the review. On Thu, Apr 26, 2018 at 1:26 PM, AKASHI Takahiro wrote: > Bhupesh, > > On Mon, Apr 23, 2018 at 03:56:10PM +0530, Bhupesh Sharma wrote: >> Changes since v1: >> >> - v1 can be viewed here: >> http://lists.infradead.org/pipermail/kexec/2018-April

Re: [PATCH v2 0/2] Add capability to dump fdt blob for arm64 platforms

2018-04-26 Thread AKASHI Takahiro
Bhupesh, On Mon, Apr 23, 2018 at 03:56:10PM +0530, Bhupesh Sharma wrote: > Changes since v1: > > - v1 can be viewed here: > http://lists.infradead.org/pipermail/kexec/2018-April/020407.html > - No functional changes: Just added a cover letter to explain the >background bett

Re: [RFC] arm64: extra entries in /proc/iomem for kexec

2018-04-26 Thread AKASHI Takahiro
James, On Wed, Apr 25, 2018 at 02:22:07PM +0100, James Morse wrote: > Hi Akashi, > > On 25/04/18 10:20, AKASHI Takahiro wrote: > > On Tue, Apr 24, 2018 at 05:08:57PM +0100, James Morse wrote: > >> On 16/04/18 11:08, AKASHI Takahiro wrote: > >>> On Thu, Apr 12, 2018 at 05:01:52PM +0100, James Mors