[Xen-devel] [PATCH] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages.

Chen Baozi cbz at baozis.org
Wed Apr 22 19:33:08 PDT 2015


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 <baozich at gmail.com>
> 
> 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 <baozich at gmail.com>
> Signed-off-by: Stefano Stabellini <stefano.stabellini at eu.citrix.com>

Tested-by: Chen Baozi <baozich at gmail.com>

Cheers,

Baozi



More information about the linux-arm-kernel mailing list