All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] swiotlb-xen fixes
@ 2013-11-12 14:11 ` Stefano Stabellini
  0 siblings, 0 replies; 28+ messages in thread
From: Stefano Stabellini @ 2013-11-12 14:11 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,
this patch series is just a couple of fixes for swiotlb-xen.

In particular the slow path (bouncing on the swiotlb buffer for dma
operations) on ARM has two problems, each of them fixed by a separate
patch:

- a xen_dma_map_page call is missing in xen_swiotlb_map_sg_attrs;

- dma_capable often fails on ARM because devices don't set the dma_mask
  correctly. This causes swiotlb-xen to take the slow path, and that is
  bad enough, but in xen_swiotlb_map_page also causes the function to
  return an error an fail.



Stefano Stabellini (2):
      swiotlb-xen: add missing xen_dma_map_page call
      swiotlb-xen: xen_swiotlb_map_page: do not error out if dma_capable fails

 drivers/xen/swiotlb-xen.c |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)


git://git.kernel.org/pub/scm/linux/kernel/git/sstabellini/xen.git for-linus-3.13-fixes

Cheers,

Stefano

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

end of thread, other threads:[~2013-11-13 11:35 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12 14:11 [PATCH 0/2] swiotlb-xen fixes Stefano Stabellini
2013-11-12 14:11 ` Stefano Stabellini
2013-11-12 14:11 ` Stefano Stabellini
2013-11-12 14:11 ` [PATCH 1/2] swiotlb-xen: add missing xen_dma_map_page call Stefano Stabellini
2013-11-12 14:11   ` Stefano Stabellini
2013-11-12 14:11   ` Stefano Stabellini
2013-11-12 14:45   ` [Xen-devel] " Konrad Rzeszutek Wilk
2013-11-12 14:45     ` Konrad Rzeszutek Wilk
2013-11-12 14:45     ` Konrad Rzeszutek Wilk
2013-11-12 17:03     ` Stefano Stabellini
2013-11-12 17:03       ` Stefano Stabellini
2013-11-12 17:03       ` Stefano Stabellini
2013-11-12 14:12 ` [PATCH 2/2] swiotlb-xen: xen_swiotlb_map_page: do not error out if dma_capable fails Stefano Stabellini
2013-11-12 14:12   ` Stefano Stabellini
2013-11-12 14:12   ` Stefano Stabellini
2013-11-12 14:48   ` [Xen-devel] " Konrad Rzeszutek Wilk
2013-11-12 14:48     ` Konrad Rzeszutek Wilk
2013-11-12 14:48     ` Konrad Rzeszutek Wilk
2013-11-12 15:05     ` Russell King - ARM Linux
2013-11-12 15:05       ` Russell King - ARM Linux
2013-11-12 17:27     ` Stefano Stabellini
2013-11-12 17:27       ` Stefano Stabellini
2013-11-12 17:27       ` Stefano Stabellini
2013-11-12 20:22       ` Rob Herring
2013-11-12 20:22         ` Rob Herring
2013-11-13 11:35         ` Stefano Stabellini
2013-11-13 11:35           ` Stefano Stabellini
2013-11-13 11:35           ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.