public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] dma,x86,xen: fix dma_get_required_mask() when dma != phys address
@ 2014-05-12 10:15 David Vrabel
  2014-05-12 10:15 ` [PATCH 1/2] dma: add dma_get_required_mask_from_max_pfn() David Vrabel
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Vrabel @ 2014-05-12 10:15 UTC (permalink / raw)
  To: linux-kernel
  Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86,
	Greg Kroah-Hartman, xen-devel, Konrad Rzeszutek Wilk,
	Boris Ostrovsky, David Vrabel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-12 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12 10:15 [PATCH 0/2] dma,x86,xen: fix dma_get_required_mask() when dma != phys address David Vrabel
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox