From: cbz@baozis.org (Chen Baozi)
To: linux-arm-kernel@lists.infradead.org
Subject: [Xen-devel] [PATCH] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages.
Date: Thu, 23 Apr 2015 10:33:08 +0800 [thread overview]
Message-ID: <20150423023308.GB7783@cbz-thinkpad> (raw)
In-Reply-To: <alpine.DEB.2.02.1504211203520.3112@kaball.uk.xensource.com>
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@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@gmail.com>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Tested-by: Chen Baozi <baozich@gmail.com>
Cheers,
Baozi
next prev parent reply other threads:[~2015-04-23 2:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1429526904-27176-1-git-send-email-cbz@baozis.org>
[not found] ` <5534DABB.5060305@citrix.com>
2015-04-20 11:07 ` [Xen-devel] [PATCH] xen: Add __GFP_DMA flag when xen_swiotlb_init gets free pages Chen Baozi
2015-04-20 12:02 ` David Vrabel
2015-04-20 17:54 ` Stefano Stabellini
2015-04-21 7:57 ` Ian Campbell
2015-04-21 10:36 ` Stefano Stabellini
2015-04-21 11:05 ` Ian Campbell
2015-04-21 11:11 ` Stefano Stabellini
2015-04-23 2:33 ` Chen Baozi [this message]
2015-04-21 12:01 ` Roger Pau Monné
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150423023308.GB7783@cbz-thinkpad \
--to=cbz@baozis.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox