diff options
author | Christoph Hellwig <hch@lst.de> | 2024-08-22 07:56:31 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2024-08-29 07:22:12 +0300 |
commit | b5a73bf4d1de95e620bf5f592557b81f71c76f0e (patch) | |
tree | ccd96b9293be16fb7fe882213e22898c456c092e /tools/perf/scripts/python/task-analyzer.py | |
parent | 833bd284a45448f04ab9fcd4fdf7ef594d458eed (diff) | |
download | linux-b5a73bf4d1de95e620bf5f592557b81f71c76f0e.tar.xz |
scsi: check that busses support the DMA API before setting dma parameters
We'll start throwing warnings soon when dma_set_seg_boundary and
dma_set_max_seg_size are called on devices for buses that don't fully
support the DMA API. Prepare for that by making the calls in the SCSI
midlayer conditional.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions