commit | de69e0f0b38a467d881e138a302b005bf31c8400 | [log] [tgz] |
---|---|---|
author | John W. Linville <linville@tuxdriver.com> | Thu Sep 29 14:44:57 2005 -0700 |
committer | Tony Luck <tony.luck@intel.com> | Thu Sep 29 14:44:57 2005 -0700 |
tree | cce186614aafa090de860c65855c90600b300c56 | |
parent | 878a97cfd7014b01285db09f52f9881ffe4cb608 [diff] |
[PATCH] swiotlb: support syncing DMA_BIDIRECTIONAL mappings The current implementation of sync_single in swiotlb.c chokes on DMA_BIDIRECTIONAL mappings. This patch adds the capability to sync those mappings, and optimizes other syncs by accounting for the sync target (i.e. cpu or device) in addition to the DMA direction of the mapping. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Tony Luck <tony.luck@intel.com>