From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH v2 14/16] x86, nvdimm, kexec: Use walk_iomem_res_desc() for iomem search Date: Sun, 27 Dec 2015 11:24:06 +0100 Message-ID: <20151227102406.GB19398@nazgul.tnic> 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> <20151227021257.GA13560@dhcp-128-25.nay.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20151227021257.GA13560-0VdLhd/A9Pl6Yz8KYMO23x/sF2h8X+2i0E9HWUfgJXw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "kexec" Errors-To: kexec-bounces+glkk-kexec=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Minfei Huang , Toshi Kani Cc: linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nvdimm-y27Ovi1pjclAfugRpC6u6w@public.gmane.org, x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, Dave Young , Dan Williams List-Id: linux-mm.kvack.org On Sun, Dec 27, 2015 at 10:12:57AM +0800, Minfei Huang wrote: > 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 So theoretically we could export that IORES_DESC* enum in an uapi header and move kexec-tools to use that. However, I'm fuzzy on how exactly the whole compatibility thing is done with kexec-tools and the kernel. We probably would have to support newer kexec-tools on an older kernel and vice versa so I'd guess we should mark walk_iomem_res() deprecated so that people are encouraged to upgrade to newer kexec-tools... Hmmm. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --