From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f47.google.com (mail-qg0-f47.google.com [209.85.192.47]) by kanga.kvack.org (Postfix) with ESMTP id 8516D82FCE for ; Sat, 26 Dec 2015 21:10:30 -0500 (EST) Received: by mail-qg0-f47.google.com with SMTP id k90so205117467qge.0 for ; Sat, 26 Dec 2015 18:10:30 -0800 (PST) Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id u108si316363qge.50.2015.12.26.18.10.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Dec 2015 18:10:29 -0800 (PST) Date: Sun, 27 Dec 2015 10:12:57 +0800 From: Minfei Huang Subject: Re: [PATCH v2 14/16] x86, nvdimm, kexec: Use walk_iomem_res_desc() for iomem search Message-ID: <20151227021257.GA13560@dhcp-128-25.nay.redhat.com> References: <1451081365-15190-1-git-send-email-toshi.kani@hpe.com> <1451081365-15190-14-git-send-email-toshi.kani@hpe.com> <20151226103804.GB21988@pd.tnic> <567F315B.8080005@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <567F315B.8080005@hpe.com> Sender: owner-linux-mm@kvack.org List-ID: To: Toshi Kani Cc: Borislav Petkov , linux-arch@vger.kernel.org, linux-nvdimm@ml01.01.org, x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, Dave Young , Dan Williams On 12/26/15 at 05:31pm, Toshi Kani wrote: > + cc: kexec list > > On 12/26/2015 3:38 AM, Borislav Petkov wrote: > >On Fri, Dec 25, 2015 at 03:09:23PM -0700, Toshi Kani wrote: > >>Change to call walk_iomem_res_desc() for searching resource entries > >>with the following names: > >> "ACPI Tables" > >> "ACPI Non-volatile Storage" > >> "Persistent Memory (legacy)" > >> "Crash kernel" > >> > >>Note, the caller of walk_iomem_res() with "GART" is left unchanged > >>because this entry may be initialized by out-of-tree drivers, which > >>do not have 'desc' set to IORES_DESC_GART. > > > >There's this out-of-tree bogus argument again. :\ > > > >Why do we care about out-of-tree drivers? > > > >You can just as well fix the "GART" case too and kill walk_iomem_res() > >altogether... > > Right, but I do not see any "GART" case in the upstream code, so I > cannot change it... Hi, Toshi. You can refer the below link that you may get a clue about GART. This is the fisrt time kexec-tools tried to support to ignore GART region in 2nd kernel. http://lists.infradead.org/pipermail/kexec/2008-December/003096.html Thanks Minfei -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org