aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/xts.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-02-03 14:44:38 +0100
committerChristoph Hellwig <hch@lst.de>2020-02-05 18:53:05 +0100
commit4a47cbae04844f0c5e2365aa6c217b61850bb832 (patch)
tree4ee380c5b7c96f872ee8c9eda32f63297793262d /include/crypto/xts.h
parentdma-direct: relax addressability checks in dma_direct_supported (diff)
downloadlinux-dev-4a47cbae04844f0c5e2365aa6c217b61850bb832.tar.xz
linux-dev-4a47cbae04844f0c5e2365aa6c217b61850bb832.zip
dma-direct: improve swiotlb error reporting
Untangle the way how dma_direct_map_page calls into swiotlb to be able to properly report errors where the swiotlb DMA address overflows the mask separately from overflows in the !swiotlb case. This means that siotlb_map now has to do a little more work that duplicates dma_direct_map_page, but doing so greatly simplifies the calling convention. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/crypto/xts.h')
0 files changed, 0 insertions, 0 deletions