summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/initio.c
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 /drivers/scsi/initio.c
parent91ef26f914171cf753330f13724fd9142b5b1640 (diff)
downloadblackbird-op-linux-4a47cbae04844f0c5e2365aa6c217b61850bb832.tar.gz
blackbird-op-linux-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 'drivers/scsi/initio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud