Re: [PATCH v4 1/5] arm64: export memblock_reserve()d regions via /proc/iomem

2018-08-21 Thread AKASHI Takahiro
Hi John, On Mon, Aug 20, 2018 at 09:39:01PM -0700, John Stultz wrote: > On Sun, Jul 22, 2018 at 6:57 PM, AKASHI Takahiro > wrote: > > From: James Morse > > > > There has been some confusion around what is necessary to prevent kexec > > overwriting important memory regions. memblock: reserve, or

Re: [PATCH v4 1/5] arm64: export memblock_reserve()d regions via /proc/iomem

2018-08-21 Thread James Morse
Hi John, On 08/21/2018 05:39 AM, John Stultz wrote: On Sun, Jul 22, 2018 at 6:57 PM, AKASHI Takahiro wrote: From: James Morse There has been some confusion around what is necessary to prevent kexec overwriting important memory regions. memblock: reserve, or nomap? Only memblock nomap

Re: kexec: fix for "Unhandled rela relocation: R_X86_64_PLT32" error

2018-08-21 Thread Bhupesh Sharma
Thanks for this fix Chris, I have tested this fix on Fedora 29 and it works fine. On Mon, Aug 20, 2018 at 8:42 PM, Chris Clayton wrote: > > > On 20/08/2018 13:21, Baoquan He wrote: >> Hi Chris, >> >> On 08/20/18 at 08:17pm, Baoquan He wrote: >>> In response to a change in binutils, commit

Re: [PATCH] x86/kexec: prefer _THIS_IP_ to current_text_addr

2018-08-21 Thread Eric W. Biederman
Linus Torvalds writes: > On Mon, Aug 20, 2018 at 10:58 AM Nick Desaulniers > wrote: >> >> + akpm, Linus >> >> Bumping for review. > > Ugh. I am not personally a huge fan of this endless "fix up one at a time". > > Just do a patch that removes current_text_addr() entirely and be done > with it,

Re: [PATCH] x86, kdump: Fix efi=noruntime NULL pointer dereference

2018-08-21 Thread Ard Biesheuvel
On 9 August 2018 at 11:13, Dave Young wrote: > On 08/09/18 at 09:33am, Mike Galbraith wrote: >> On Thu, 2018-08-09 at 12:21 +0800, Dave Young wrote: >> > Hi Mike, >> > >> > Thanks for the patch! >> > On 08/08/18 at 04:03pm, Mike Galbraith wrote: >> > > When booting with efi=noruntime, we call

Re: [PATCH] x86/kexec: prefer _THIS_IP_ to current_text_addr

2018-08-21 Thread Nick Desaulniers
On Tue, Aug 21, 2018 at 5:40 AM Eric W. Biederman wrote: > > Linus Torvalds writes: > > > On Mon, Aug 20, 2018 at 10:58 AM Nick Desaulniers > > wrote: > >> > >> + akpm, Linus > >> > >> Bumping for review. > > > > Ugh. I am not personally a huge fan of this endless "fix up one at a time". > > >

Re: [PATCH v4 1/5] arm64: export memblock_reserve()d regions via /proc/iomem

2018-08-21 Thread James Morse
On 08/21/2018 11:22 AM, James Morse wrote: On 08/21/2018 05:39 AM, John Stultz wrote: On Sun, Jul 22, 2018 at 6:57 PM, AKASHI Takahiro wrote: From: James Morse There has been some confusion around what is necessary to prevent kexec overwriting important memory regions. memblock: reserve, or

Re: [PATCH v4 1/5] arm64: export memblock_reserve()d regions via /proc/iomem

2018-08-21 Thread John Stultz
On Tue, Aug 21, 2018 at 3:22 AM, James Morse wrote: > On 08/21/2018 05:39 AM, John Stultz wrote: >> >> Since this patch landed, on the HiKey board at bootup I'm seeing: >> >> [0.451884] WARNING: CPU: 1 PID: 1 at arch/arm64/kernel/setup.c:271 >> reserve_memblock_reserved_regions+0xd4/0x13c ...

RE: [PATCH] arm64: Add a generic method of determining invalid phy-addr for calculating 'info->page_offset'

2018-08-21 Thread Kazuhito Hagio
Hi Bhupesh, On 8/20/2018 3:45 PM, Bhupesh Sharma wrote: > Commit 94c97db3fe859ca14d7b38b0ae9ee0ffb83689d2 (arm64: Get > 'info->page_offset' from PT_LOAD segments to support KASLR boot cases) > added a method to determine 'info->page_offset' from PT_LOAD segments > for arm64 platforms. > > In