Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-10 Thread Vivek Goyal
On Fri, Jan 10, 2014 at 02:31:31AM +0100, Rafael J. Wysocki wrote: [..] > > It is a fresh instance of kernel booting and it is initializing its data > > structures fresh. It is *not* re-initializing ACPI in same kernel. > > I know. The problem is that the BIOS is generally not stateless and it

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-10 Thread Prarit Bhargava
On 01/09/2014 10:57 PM, Yasuaki Ishimatsu wrote: > (2014/01/10 6:44), Vivek Goyal wrote: >> On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: >>> On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal wrote: On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote:

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-10 Thread Prarit Bhargava
On 01/09/2014 10:57 PM, Yasuaki Ishimatsu wrote: (2014/01/10 6:44), Vivek Goyal wrote: On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal vgo...@redhat.com wrote: On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote:

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-10 Thread Vivek Goyal
On Fri, Jan 10, 2014 at 02:31:31AM +0100, Rafael J. Wysocki wrote: [..] It is a fresh instance of kernel booting and it is initializing its data structures fresh. It is *not* re-initializing ACPI in same kernel. I know. The problem is that the BIOS is generally not stateless and it

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Yasuaki Ishimatsu
(2014/01/10 6:44), Vivek Goyal wrote: On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal wrote: On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: [..] The system then panics and the kdump/kexec kernel boots. During

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Rafael J. Wysocki
On Thursday, January 09, 2014 04:44:25 PM Vivek Goyal wrote: > On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: > > On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal wrote: > > > On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: > > > > > > [..] > > >> > The system

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Rafael J. Wysocki
On Thursday, January 09, 2014 10:00:53 AM Vivek Goyal wrote: > On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: > > [..] > > > The system then panics and the kdump/kexec kernel boots. During this boot > > > ACPi is initialized and the kernel (as can be seen above) > > > >

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Prarit Bhargava
On 01/09/2014 04:44 PM, Vivek Goyal wrote: > On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: >> On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal wrote: >>> On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: > > Makes sense. Something like "acpi_no_memhotplug" or

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Vivek Goyal
On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: > On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal wrote: > > On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: > > > > [..] > >> > The system then panics and the kdump/kexec kernel boots. During this > >> > boot > >>

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread KOSAKI Motohiro
On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal wrote: > On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: > > [..] >> > The system then panics and the kdump/kexec kernel boots. During this boot >> > ACPi is initialized and the kernel (as can be seen above) >> >> Which is a bug.

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Vivek Goyal
On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: [..] > > The system then panics and the kdump/kexec kernel boots. During this boot > > ACPi is initialized and the kernel (as can be seen above) > > Which is a bug. You're not supposed to initialize ACPI twice in a row. [CC

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Vivek Goyal
On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: [..] The system then panics and the kdump/kexec kernel boots. During this boot ACPi is initialized and the kernel (as can be seen above) Which is a bug. You're not supposed to initialize ACPI twice in a row. [CC lkml,

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread KOSAKI Motohiro
On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal vgo...@redhat.com wrote: On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: [..] The system then panics and the kdump/kexec kernel boots. During this boot ACPi is initialized and the kernel (as can be seen above) Which is a

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Vivek Goyal
On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal vgo...@redhat.com wrote: On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: [..] The system then panics and the kdump/kexec kernel boots. During this boot

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Prarit Bhargava
On 01/09/2014 04:44 PM, Vivek Goyal wrote: On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal vgo...@redhat.com wrote: On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: Makes sense. Something like

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Rafael J. Wysocki
On Thursday, January 09, 2014 10:00:53 AM Vivek Goyal wrote: On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: [..] The system then panics and the kdump/kexec kernel boots. During this boot ACPi is initialized and the kernel (as can be seen above) Which is a bug.

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Rafael J. Wysocki
On Thursday, January 09, 2014 04:44:25 PM Vivek Goyal wrote: On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal vgo...@redhat.com wrote: On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: [..] The system

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Yasuaki Ishimatsu
(2014/01/10 6:44), Vivek Goyal wrote: On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal vgo...@redhat.com wrote: On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: [..] The system then panics and the kdump/kexec