Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752638Ab2K1Eyj (ORCPT ); Tue, 27 Nov 2012 23:54:39 -0500 Received: from szxga01-in.huawei.com ([119.145.14.64]:7833 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752280Ab2K1Eyh (ORCPT ); Tue, 27 Nov 2012 23:54:37 -0500 Message-ID: <50B598E7.6090506@huawei.com> Date: Wed, 28 Nov 2012 12:53:59 +0800 From: Jianguo Wu User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Tang Chen CC: wujianguo , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v2 0/5] Add movablecore_map boot option References: <1353667445-7593-1-git-send-email-tangchen@cn.fujitsu.com> <50B42F32.4050107@gmail.com> <50B58965.7040703@cn.fujitsu.com> In-Reply-To: <50B58965.7040703@cn.fujitsu.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.135.74.216] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1055 Lines: 39 On 2012/11/28 11:47, Tang Chen wrote: > On 11/27/2012 11:10 AM, wujianguo wrote: >> >> Hi Tang, >> DMA address can't be set as movable, if some one boot kernel with >> movablecore_map=4G@0xa00000 or other memory region that contains DMA address, >> system maybe boot failed. Should this case be handled or mentioned >> in the change log and kernel-parameters.txt? > > Hi Wu, > > I think we can use MAX_DMA_PFN and MAX_DMA32_PFN to prevent setting DMA > address as movable. Just ignore the address lower than them, and set > the rest as movable. How do you think ? > I think it's OK for now. > And, since we cannot figure out the minimum of memory kernel needs, I > think for now, we can just add some warning into kernel-parameters.txt. > > Thanks. :) > >> >> Thanks, >> Jianguo Wu >> > > . > -- 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/