Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752002AbbHSCxZ (ORCPT ); Tue, 18 Aug 2015 22:53:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38930 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751878AbbHSCxU (ORCPT ); Tue, 18 Aug 2015 22:53:20 -0400 Date: Wed, 19 Aug 2015 10:53:16 +0800 From: Baoquan He Cc: dan.j.williams@intel.com, hch@lst.de, linux-nvdimm@ml01.01.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: kexec, x86: Need a new e820 type support for kexec Message-ID: <20150819025316.GD19950@dhcp-128-28.nay.redhat.com> References: <1437697592.3214.373.camel@hp.com> <20150806081231.GA16699@dhcp-128-28.nay.redhat.com> <1438910038.3109.116.camel@hp.com> <20150818085330.GB15480@dhcp-128-28.nay.redhat.com> <1439910078.24434.106.camel@hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1439910078.24434.106.camel@hp.com> User-Agent: Mutt/1.5.21 (2010-09-15) To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1248 Lines: 30 On 08/18/15 at 09:01am, Toshi Kani wrote: > On Tue, 2015-08-18 at 16:53 +0800, Baoquan He wrote: > > Rethink it again, maybe it's better to pass PMEM as PRAM to kdump > > kernel if user really want to use memmap way by specifying > > --pass-memmap-cmdline. Then I need add the PMEM and PRAM checking here > > you pointed out. Will repost with them. > > No, you should not report PMEM as PRAM. They are different things. The > kdump kernel does not need to support memmap cmdline for PMEM, as the > regular kernel does not -- memmap cmdline cannot emulate PMEM. OK. Then it will be wrong if people intend to specify --pass-memmap-cmdline. There might be 3 ways to fix this: 1) add PMEM support in kernel. memmap cmdline is not only used for emulating, but for kexec/kdump using. 2) Delete --pass-memmap-cmdline option in kexec-tools since people rarely use it. 3) Add a note in kexec-tools that option --pass-memmap-cmdline can't work together with PMEM, people should not use it. Thanks Baoquan -- 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/