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

2018-08-23 Thread James Morse
Hi John, On 21/08/18 20:38, John Stultz wrote: > 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

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 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 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: [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

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

2018-07-22 Thread AKASHI Takahiro
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 regions are reported via /proc/iomem, kexec's user-space doesn't know about memblock_reserve()d regions. Until commit