Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757125AbbDWCc7 (ORCPT ); Wed, 22 Apr 2015 22:32:59 -0400 Received: from baozis.org ([192.241.220.20]:48513 "EHLO baozis.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757088AbbDWCc5 (ORCPT ); Wed, 22 Apr 2015 22:32:57 -0400 Date: Thu, 23 Apr 2015 10:33:08 +0800 From: Chen Baozi To: Stefano Stabellini Cc: Ian Campbell , David Vrabel , xen-devel@lists.xen.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Roger Pau Monne Subject: Re: [Xen-devel] [PATCH] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages. Message-ID: <20150423023308.GB7783@cbz-thinkpad> References: <1429526904-27176-1-git-send-email-cbz@baozis.org> <5534DABB.5060305@citrix.com> <20150420110729.GA27707@cbz-thinkpad> <5534EAE3.8060403@citrix.com> <1429603030.6174.21.camel@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 963 Lines: 30 On Tue, Apr 21, 2015 at 12:11:01PM +0100, Stefano Stabellini wrote: > Chen, > could you please try the patch below in your repro scenario? > I have only build tested it. > > --- > > xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages on ARM > > From: Chen Baozi > > Make sure that xen_swiotlb_init allocates buffers that are DMA capable > when at least one memblock is available below 4G. Otherwise we assume > that all devices on the SoC can cope with >4G addresses. > > No functional changes on x86. > > Signed-off-by: Chen Baozi > Signed-off-by: Stefano Stabellini Tested-by: Chen Baozi Cheers, Baozi -- 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/