Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1956368AbdDZH3D (ORCPT ); Wed, 26 Apr 2017 03:29:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33272 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1955358AbdDZH2x (ORCPT ); Wed, 26 Apr 2017 03:28:53 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 84CD0E84AE Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=dyoung@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 84CD0E84AE Date: Wed, 26 Apr 2017 15:28:46 +0800 From: Dave Young To: Ingo Molnar Cc: Yinghai Lu , Simon Horman , kexec@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] memmap: Parse "Reserved" together with "reserved" Message-ID: <20170426072846.GA7344@dhcp-128-65.nay.redhat.com> References: <20170426005526.27313-1-yinghai@kernel.org> <20170426062247.fbl62xrkrm7tvnga@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170426062247.fbl62xrkrm7tvnga@gmail.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 26 Apr 2017 07:28:52 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1130 Lines: 40 On 04/26/17 at 08:22am, Ingo Molnar wrote: > > * Yinghai Lu wrote: > > > For x86 with recent kernel after > > commit 640e1b38b0 ("x86/boot/e820: Basic cleanup of e820.c") > > change "reserved" to "Reserved" in /sys firmware memmap and /proc/iomem. > > > > So here, we add handling for that too. > > > > Signed-off-by: Yinghai Lu > > > > --- > > kexec/arch/i386/crashdump-x86.c | 2 ++ > > kexec/arch/ia64/kexec-ia64.c | 2 ++ > > kexec/arch/mips/kexec-mips.c | 2 ++ > > kexec/firmware_memmap.c | 2 ++ > > 4 files changed, 8 insertions(+) > > I'd rather fix the bug I introduced and undo the reserved->Reserved string change This patch parses both 'reserved' and 'Reserved' it should be fine, but reverting the change in kernel sounds better.. > in e820.c: I didn't realize that it's exposed in sysfs and had quasi-ABI > consequences for kexec. > > Agreed? > > Thanks, > > Ingo > > _______________________________________________ > kexec mailing list > kexec@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/kexec Thanks Dave