diff options
author | Christoph Hellwig <hch@lst.de> | 2020-02-03 14:44:38 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-02-05 18:53:05 +0100 |
commit | 4a47cbae04844f0c5e2365aa6c217b61850bb832 (patch) | |
tree | 4ee380c5b7c96f872ee8c9eda32f63297793262d /arch/powerpc/include/asm/uninorth.h | |
parent | 91ef26f914171cf753330f13724fd9142b5b1640 (diff) | |
download | blackbird-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 'arch/powerpc/include/asm/uninorth.h')
0 files changed, 0 insertions, 0 deletions