Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754447AbaAJOjQ (ORCPT ); Fri, 10 Jan 2014 09:39:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:65405 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910AbaAJOjN (ORCPT ); Fri, 10 Jan 2014 09:39:13 -0500 Date: Fri, 10 Jan 2014 09:38:46 -0500 From: Vivek Goyal To: "Rafael J. Wysocki" Cc: Prarit Bhargava , linux-acpi@vger.kernel.org, Len Brown , linux kernel mailing list , Dave Young , Kexec Mailing List Subject: Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec Message-ID: <20140110143846.GA19115@redhat.com> References: <1389220181-14474-1-git-send-email-prarit@redhat.com> <3476878.EqQiEtA2Ag@vostro.rjw.lan> <20140109150053.GD25897@redhat.com> <2117213.k9zFiTsMXU@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2117213.k9zFiTsMXU@vostro.rjw.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > remebers stuff. In particular, there are a few handshakes done during the ACPI > initialization and they cannot be repeated without resetting the BIOS to the > initial state, which basically means a reboot. Agreed that stateless BIOS in general would be a problem with kexec. We already face that issue with UEFI where we can't call set virtual address map again in second kernel and kexec did not work with UEFI for so many years. Thanks to Dave, Borislav and Matt that it will soon be working and we will be passing mappings to second kernel. So even in case of ACPI, if there are things which can't be re-initiliazed in second kernel, we will have to figure that out and selectively fix it by passing that info to second kernel and not ask second kernel to reinitialize it, instead of disabling ACPI completely. > > That is kind of orthogonal to the problem at hand, though. Agreed. Thanks Vivek -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/