Re: [PATCH v2 14/16] x86, nvdimm, kexec: Use walk_iomem_res_desc() for iomem search
From: Dave Young <hidden>
Date: 2016-01-04 09:29:55
Also in:
kexec, linux-mm, lkml
From: Dave Young <hidden>
Date: 2016-01-04 09:29:55
Also in:
kexec, linux-mm, lkml
Hi, Boris On 12/27/15 at 11:24am, Borislav Petkov wrote:
On Sun, Dec 27, 2015 at 10:12:57AM +0800, Minfei Huang wrote:quoted
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.htmlSo 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...
Replied to Toshi old kernel will export the "GART" region for amd cards. So for old kernel and new kexec-tools we will have problem. I think add the GART desc for compitibility purpose is doable, no? Thanks Dave