Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2018-01-09 Thread Bhupesh Sharma
On Tue, Jan 9, 2018 at 10:12 AM, AKASHI Takahiro wrote: > Bhupesh, > > On Tue, Jan 09, 2018 at 01:30:07AM +0530, Bhupesh Sharma wrote: >> Hello Akashi, >> >> On Tue, Dec 26, 2017 at 8:26 AM, Bhupesh Sharma wrote: >> > On Tue, Dec 26, 2017 at 7:58

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2018-01-08 Thread AKASHI Takahiro
On Tue, Dec 26, 2017 at 02:58:45PM +0800, Dave Young wrote: > On 12/26/17 at 08:26am, Bhupesh Sharma wrote: > > On Tue, Dec 26, 2017 at 7:58 AM, AKASHI Takahiro > > wrote: > > > On Tue, Dec 26, 2017 at 09:35:17AM +0800, Dave Young wrote: > > >> [snip] > > >> > > >

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2018-01-08 Thread AKASHI Takahiro
On Tue, Dec 26, 2017 at 02:56:36PM +0800, Dave Young wrote: > On 12/26/17 at 11:28am, AKASHI Takahiro wrote: > > On Tue, Dec 26, 2017 at 09:35:17AM +0800, Dave Young wrote: > > > [snip] > > > > > > Well, we may be able to change pr_warn() to pr_warn_once() here, but > > > > > > I hope that adding

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2018-01-08 Thread AKASHI Takahiro
Bhupesh, On Tue, Jan 09, 2018 at 01:30:07AM +0530, Bhupesh Sharma wrote: > Hello Akashi, > > On Tue, Dec 26, 2017 at 8:26 AM, Bhupesh Sharma wrote: > > On Tue, Dec 26, 2017 at 7:58 AM, AKASHI Takahiro > > wrote: > >> On Tue, Dec 26, 2017 at

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2018-01-08 Thread Bhupesh Sharma
Hello Akashi, On Tue, Dec 26, 2017 at 8:26 AM, Bhupesh Sharma wrote: > On Tue, Dec 26, 2017 at 7:58 AM, AKASHI Takahiro > wrote: >> On Tue, Dec 26, 2017 at 09:35:17AM +0800, Dave Young wrote: >>> [snip] >>> > > > Well, we may be able to change

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-25 Thread Dave Young
On 12/26/17 at 08:26am, Bhupesh Sharma wrote: > On Tue, Dec 26, 2017 at 7:58 AM, AKASHI Takahiro > wrote: > > On Tue, Dec 26, 2017 at 09:35:17AM +0800, Dave Young wrote: > >> [snip] > >> > > > Well, we may be able to change pr_warn() to pr_warn_once() here, but > >> >

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-25 Thread Dave Young
On 12/26/17 at 11:28am, AKASHI Takahiro wrote: > On Tue, Dec 26, 2017 at 09:35:17AM +0800, Dave Young wrote: > > [snip] > > > > > Well, we may be able to change pr_warn() to pr_warn_once() here, but > > > > > I hope that adding "numa=off" to kernel command line should also work. > > > > > > > >

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-25 Thread Bhupesh Sharma
On Tue, Dec 26, 2017 at 7:58 AM, AKASHI Takahiro wrote: > On Tue, Dec 26, 2017 at 09:35:17AM +0800, Dave Young wrote: >> [snip] >> > > > Well, we may be able to change pr_warn() to pr_warn_once() here, but >> > > > I hope that adding "numa=off" to kernel command line

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-25 Thread AKASHI Takahiro
On Tue, Dec 26, 2017 at 09:35:17AM +0800, Dave Young wrote: > [snip] > > > > Well, we may be able to change pr_warn() to pr_warn_once() here, but > > > > I hope that adding "numa=off" to kernel command line should also work. > > > > > > Hmm, adding "numa=off" to crashkernel bootargs works, and

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-25 Thread Dave Young
[snip] > > > Well, we may be able to change pr_warn() to pr_warn_once() here, but > > > I hope that adding "numa=off" to kernel command line should also work. > > > > Hmm, adding "numa=off" to crashkernel bootargs works, and TBH it was > > my initial thought process as well, but I am not sure if

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-25 Thread Dave Young
On 12/26/17 at 01:44am, Bhupesh Sharma wrote: > On Mon, Dec 25, 2017 at 8:55 AM, AKASHI Takahiro > wrote: > > On Sun, Dec 24, 2017 at 01:21:02AM +0530, Bhupesh Sharma wrote: > >> On Fri, Dec 22, 2017 at 2:03 PM, AKASHI Takahiro > >> wrote:

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-25 Thread Bhupesh Sharma
On Mon, Dec 25, 2017 at 8:55 AM, AKASHI Takahiro wrote: > On Sun, Dec 24, 2017 at 01:21:02AM +0530, Bhupesh Sharma wrote: >> On Fri, Dec 22, 2017 at 2:03 PM, AKASHI Takahiro >> wrote: >> > On Thu, Dec 21, 2017 at 05:36:30PM +0530, Bhupesh

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-24 Thread AKASHI Takahiro
On Sun, Dec 24, 2017 at 01:21:02AM +0530, Bhupesh Sharma wrote: > On Fri, Dec 22, 2017 at 2:03 PM, AKASHI Takahiro > wrote: > > On Thu, Dec 21, 2017 at 05:36:30PM +0530, Bhupesh Sharma wrote: > >> Hello Akashi, > >> > >> On Thu, Dec 21, 2017 at 4:04 PM, AKASHI Takahiro

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-23 Thread Bhupesh Sharma
On Fri, Dec 22, 2017 at 2:03 PM, AKASHI Takahiro wrote: > On Thu, Dec 21, 2017 at 05:36:30PM +0530, Bhupesh Sharma wrote: >> Hello Akashi, >> >> On Thu, Dec 21, 2017 at 4:04 PM, AKASHI Takahiro >> wrote: >> > Bhupesh, >> > >> > Can you test

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-22 Thread AKASHI Takahiro
On Thu, Dec 21, 2017 at 05:36:30PM +0530, Bhupesh Sharma wrote: > Hello Akashi, > > On Thu, Dec 21, 2017 at 4:04 PM, AKASHI Takahiro > wrote: > > Bhupesh, > > > > Can you test the patch attached below, please? > > > > It is intended to retain already-reserved regions

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-21 Thread Bhupesh Sharma
Hello Akashi, On Thu, Dec 21, 2017 at 4:04 PM, AKASHI Takahiro wrote: > Bhupesh, > > Can you test the patch attached below, please? > > It is intended to retain already-reserved regions (ACPI reclaim memory > in this case) in system ram (i.e. memblock.memory) without

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-21 Thread AKASHI Takahiro
Bhupesh, Can you test the patch attached below, please? It is intended to retain already-reserved regions (ACPI reclaim memory in this case) in system ram (i.e. memblock.memory) without explicitly exporting them via usable-memory-range. (I still have to figure out what the side-effect of this

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-20 Thread Bhupesh Sharma
On Tue, Dec 19, 2017 at 6:39 PM, Ard Biesheuvel wrote: > On 19 December 2017 at 07:09, AKASHI Takahiro > wrote: >> On Mon, Dec 18, 2017 at 01:40:09PM +0800, Dave Young wrote: >>> On 12/15/17 at 05:59pm, AKASHI Takahiro wrote: >>> > On Wed,

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-20 Thread Bhupesh Sharma
On Tue, Dec 19, 2017 at 10:31 AM, AKASHI Takahiro wrote: > On Mon, Dec 18, 2017 at 02:29:05PM +0530, Bhupesh SHARMA wrote: >> >> [snip..] >> >> [0.00] linux,usable-memory-range base e80, size 2000 >> [0.00] - e80 , 2000 >> [

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-19 Thread Ard Biesheuvel
On 19 December 2017 at 07:09, AKASHI Takahiro wrote: > On Mon, Dec 18, 2017 at 01:40:09PM +0800, Dave Young wrote: >> On 12/15/17 at 05:59pm, AKASHI Takahiro wrote: >> > On Wed, Dec 13, 2017 at 12:17:22PM +, Ard Biesheuvel wrote: >> > > On 13 December 2017 at

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-18 Thread AKASHI Takahiro
On Mon, Dec 18, 2017 at 01:40:09PM +0800, Dave Young wrote: > On 12/15/17 at 05:59pm, AKASHI Takahiro wrote: > > On Wed, Dec 13, 2017 at 12:17:22PM +, Ard Biesheuvel wrote: > > > On 13 December 2017 at 12:16, AKASHI Takahiro > > > wrote: > > > > On Wed, Dec 13,

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-18 Thread AKASHI Takahiro
On Tue, Dec 19, 2017 at 02:58:20AM +0530, Bhupesh Sharma wrote: > Hi Dave, > > On Mon, Dec 18, 2017 at 10:46 AM, Dave Young wrote: > > kexec@fedoraproject... is for Fedora kexec scripts discussion, changed it > > to ke...@lists.infradead.org > > > > Also add linux-acpi list >

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-18 Thread AKASHI Takahiro
On Mon, Dec 18, 2017 at 02:29:05PM +0530, Bhupesh SHARMA wrote: > > [snip..] > > [0.00] linux,usable-memory-range base e80, size 2000 > [0.00] - e80 , 2000 > [0.00] linux,usable-memory-range base 396c, size a > [0.00] - 396c , a

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-18 Thread Bhupesh Sharma
On Mon, Dec 18, 2017 at 4:48 PM, AKASHI Takahiro wrote: > Bhupesh, > > On Mon, Dec 18, 2017 at 02:29:05PM +0530, Bhupesh SHARMA wrote: >> On Mon, Dec 18, 2017 at 11:24 AM, AKASHI Takahiro >> wrote: >> > On Mon, Dec 18, 2017 at 01:16:57PM

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-18 Thread Bhupesh Sharma
Hi Dave, On Mon, Dec 18, 2017 at 10:46 AM, Dave Young wrote: > kexec@fedoraproject... is for Fedora kexec scripts discussion, changed it > to ke...@lists.infradead.org > > Also add linux-acpi list > On 12/18/17 at 02:31am, Bhupesh Sharma wrote: >> On Fri, Dec 15, 2017 at 3:05

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-18 Thread AKASHI Takahiro
Bhupesh, On Mon, Dec 18, 2017 at 02:29:05PM +0530, Bhupesh SHARMA wrote: > On Mon, Dec 18, 2017 at 11:24 AM, AKASHI Takahiro > wrote: > > On Mon, Dec 18, 2017 at 01:16:57PM +0800, Dave Young wrote: > >> kexec@fedoraproject... is for Fedora kexec scripts discussion,

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-18 Thread Bhupesh SHARMA
On Mon, Dec 18, 2017 at 11:24 AM, AKASHI Takahiro wrote: > On Mon, Dec 18, 2017 at 01:16:57PM +0800, Dave Young wrote: >> kexec@fedoraproject... is for Fedora kexec scripts discussion, changed it >> to ke...@lists.infradead.org >> >> Also add linux-acpi list > > Thank

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-17 Thread AKASHI Takahiro
On Mon, Dec 18, 2017 at 01:16:57PM +0800, Dave Young wrote: > kexec@fedoraproject... is for Fedora kexec scripts discussion, changed it > to ke...@lists.infradead.org > > Also add linux-acpi list Thank you. > On 12/18/17 at 02:31am, Bhupesh Sharma wrote: > > On Fri, Dec 15, 2017 at 3:05 PM, Ard

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-17 Thread Dave Young
Fix the kexec list address. On 12/18/17 at 01:40pm, Dave Young wrote: > On 12/15/17 at 05:59pm, AKASHI Takahiro wrote: > > On Wed, Dec 13, 2017 at 12:17:22PM +, Ard Biesheuvel wrote: > > > On 13 December 2017 at 12:16, AKASHI Takahiro > > > wrote: > > > > On Wed,

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-17 Thread Dave Young
On 12/15/17 at 05:59pm, AKASHI Takahiro wrote: > On Wed, Dec 13, 2017 at 12:17:22PM +, Ard Biesheuvel wrote: > > On 13 December 2017 at 12:16, AKASHI Takahiro > > wrote: > > > On Wed, Dec 13, 2017 at 10:49:27AM +, Ard Biesheuvel wrote: > > >> On 13 December

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-17 Thread Dave Young
kexec@fedoraproject... is for Fedora kexec scripts discussion, changed it to ke...@lists.infradead.org Also add linux-acpi list On 12/18/17 at 02:31am, Bhupesh Sharma wrote: > On Fri, Dec 15, 2017 at 3:05 PM, Ard Biesheuvel > wrote: > > On 15 December 2017 at 09:59,

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-17 Thread Bhupesh Sharma
On Fri, Dec 15, 2017 at 3:05 PM, Ard Biesheuvel wrote: > On 15 December 2017 at 09:59, AKASHI Takahiro > wrote: >> On Wed, Dec 13, 2017 at 12:17:22PM +, Ard Biesheuvel wrote: >>> On 13 December 2017 at 12:16, AKASHI Takahiro >>>

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-15 Thread Ard Biesheuvel
On 15 December 2017 at 09:59, AKASHI Takahiro wrote: > On Wed, Dec 13, 2017 at 12:17:22PM +, Ard Biesheuvel wrote: >> On 13 December 2017 at 12:16, AKASHI Takahiro >> wrote: >> > On Wed, Dec 13, 2017 at 10:49:27AM +, Ard Biesheuvel

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-15 Thread AKASHI Takahiro
On Wed, Dec 13, 2017 at 12:17:22PM +, Ard Biesheuvel wrote: > On 13 December 2017 at 12:16, AKASHI Takahiro > wrote: > > On Wed, Dec 13, 2017 at 10:49:27AM +, Ard Biesheuvel wrote: > >> On 13 December 2017 at 10:26, AKASHI Takahiro > >>

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-13 Thread Bhupesh SHARMA
Hi Ard, Akashi, On Wed, Dec 13, 2017 at 5:47 PM, Ard Biesheuvel wrote: > On 13 December 2017 at 12:16, AKASHI Takahiro > wrote: >> On Wed, Dec 13, 2017 at 10:49:27AM +, Ard Biesheuvel wrote: >>> On 13 December 2017 at 10:26, AKASHI

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-13 Thread Ard Biesheuvel
On 13 December 2017 at 12:16, AKASHI Takahiro wrote: > On Wed, Dec 13, 2017 at 10:49:27AM +, Ard Biesheuvel wrote: >> On 13 December 2017 at 10:26, AKASHI Takahiro >> wrote: >> > Bhupesh, Ard, >> > >> > On Wed, Dec 13, 2017 at

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-13 Thread AKASHI Takahiro
On Wed, Dec 13, 2017 at 10:49:27AM +, Ard Biesheuvel wrote: > On 13 December 2017 at 10:26, AKASHI Takahiro > wrote: > > Bhupesh, Ard, > > > > On Wed, Dec 13, 2017 at 03:21:59AM +0530, Bhupesh Sharma wrote: > >> Hi Ard, Akashi > >> > > (snip) > > > >> Looking

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-13 Thread Ard Biesheuvel
On 13 December 2017 at 10:26, AKASHI Takahiro wrote: > Bhupesh, Ard, > > On Wed, Dec 13, 2017 at 03:21:59AM +0530, Bhupesh Sharma wrote: >> Hi Ard, Akashi >> > (snip) > >> Looking deeper into the issue, since the arm64 kexec-tools uses the >>

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-13 Thread AKASHI Takahiro
Bhupesh, Ard, On Wed, Dec 13, 2017 at 03:21:59AM +0530, Bhupesh Sharma wrote: > Hi Ard, Akashi > (snip) > Looking deeper into the issue, since the arm64 kexec-tools uses the > 'linux,usable-memory-range' dt property to allow crash dump kernel to > identify its own usable memory and exclude, at

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-12-12 Thread Bhupesh Sharma
Hi Ard, Akashi On Mon, Dec 4, 2017 at 7:32 PM, Ard Biesheuvel wrote: > On 26 November 2017 at 08:29, Bhupesh SHARMA wrote: >> Hi Akashi, >> >> On Thu, Nov 16, 2017 at 12:30 PM, AKASHI Takahiro >> wrote: >>>

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-11-24 Thread Dave Young
[snip] > > diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c > > index 7768423b39d3..61d867647cca 100644 > > --- a/arch/arm64/kernel/setup.c > > +++ b/arch/arm64/kernel/setup.c > > @@ -213,7 +213,7 @@ static void __init request_standard_resources(void) > > > >

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-11-15 Thread AKASHI Takahiro
Bhupesh, On Wed, Nov 15, 2017 at 04:28:55PM +0530, Bhupesh Sharma wrote: > (snip) > # dmesg | grep -B 2 -i "ACPI reclaim" > [0.00] efi: 0x3967-0x396b [Runtime Code |RUN| | > | | | | | |WB|WT|WC|UC] > [0.00] efi: 0x396c-0x3970 [Boot

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-11-15 Thread Bhupesh Sharma
Hi Ard, Akashi, On 11/14/2017 04:50 PM, Ard Biesheuvel wrote: On 13 November 2017 at 09:27, AKASHI Takahiro wrote: Hi, On Fri, Nov 10, 2017 at 05:41:56PM +0530, Bhupesh Sharma wrote: Resent with Akashi's correct email address. On Fri, Nov 10, 2017 at 5:39 PM,

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-11-14 Thread Ard Biesheuvel
On 13 November 2017 at 09:27, AKASHI Takahiro wrote: > Hi, > > On Fri, Nov 10, 2017 at 05:41:56PM +0530, Bhupesh Sharma wrote: >> Resent with Akashi's correct email address. >> >> On Fri, Nov 10, 2017 at 5:39 PM, Bhupesh Sharma wrote: >> > Hi Ard,

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-11-13 Thread AKASHI Takahiro
Hi, On Fri, Nov 10, 2017 at 05:41:56PM +0530, Bhupesh Sharma wrote: > Resent with Akashi's correct email address. > > On Fri, Nov 10, 2017 at 5:39 PM, Bhupesh Sharma wrote: > > Hi Ard, Akashi > > > > I have met an issue on an arm64 board using the latest master branch from

Re: arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-11-10 Thread Bhupesh Sharma
Resent with Akashi's correct email address. On Fri, Nov 10, 2017 at 5:39 PM, Bhupesh Sharma wrote: > Hi Ard, Akashi > > I have met an issue on an arm64 board using the latest master branch from > Linus. > > I think I have a dirty hack to avoid the issue, but would want more

arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

2017-11-10 Thread Bhupesh Sharma
Hi Ard, Akashi I have met an issue on an arm64 board using the latest master branch from Linus. I think I have a dirty hack to avoid the issue, but would want more opinions from you as it might break crashkernel dump on other arm64 machines. 1. This arm64 machine supports acpi only boot mode