From: David Vrabel <david.vrabel@citrix.com>
To: <linux-kernel@vger.kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
<x86@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
<xen-devel@lists.xenproject.org>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
David Vrabel <david.vrabel@citrix.com>
Subject: [PATCH 0/2] dma,x86,xen: fix dma_get_required_mask() when dma != phys address
Date: Mon, 12 May 2014 11:15:40 +0100 [thread overview]
Message-ID: <1399889742-26165-1-git-send-email-david.vrabel@citrix.com> (raw)
x86 uses the generic dma_get_required_mask() which assumes that DMA
address == physical address. For Xen PV guests this is not the case
and certain drivers will cause excessive use of the SWIOTLB.
Patch #1 is a straight forward refactoring of a common function.
Patch #2 addes the required arch-specific implementation of
dma_get_required_mask() to x86.
David
next reply other threads:[~2014-05-12 10:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-12 10:15 David Vrabel [this message]
2014-05-12 10:15 ` [PATCH 1/2] dma: add dma_get_required_mask_from_max_pfn() David Vrabel
2014-05-12 10:15 ` [PATCH 2/2] x86,xen: correct dma_get_required_mask() for Xen PV guests David Vrabel
2014-05-12 15:28 ` [PATCH 0/2] dma,x86,xen: fix dma_get_required_mask() when dma != phys address Konrad Rzeszutek Wilk
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=1399889742-26165-1-git-send-email-david.vrabel@citrix.com \
--to=david.vrabel@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=gregkh@linuxfoundation.org \
--cc=hpa@zytor.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xenproject.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
Powered by JetHome