lkml.org 
[lkml]   [2014]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] dma,x86,xen: fix dma_get_required_mask() when dma != phys address
Date
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



\
 
 \ /
  Last update: 2014-05-12 13:01    [W:0.027 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site