summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2018-07-24 00:16:12 +0200
committerChristoph Hellwig <hch@lst.de>2018-07-27 19:01:07 +0200
commit4d8bde883bfba3e8dd3335f91b640e5a70ec0aa6 (patch)
treeef98a3deb3a6de05ef4ab94e54df266aad331d1a /virt
parentACPI/IORT: Don't set default coherent DMA mask (diff)
downloadlinux-4d8bde883bfba3e8dd3335f91b640e5a70ec0aa6.tar.xz
linux-4d8bde883bfba3e8dd3335f91b640e5a70ec0aa6.zip
OF: Don't set default coherent DMA mask
Now that we can track upstream DMA constraints properly with bus_dma_mask instead of trying (and failing) to maintain it in coherent_dma_mask, it doesn't make much sense for the firmware code to be touching the latter at all. It's merely papering over bugs wherein a driver has failed to call dma_set_coherent_mask() *and* the bus code has not initialised any default value. We don't really want to encourage more drivers coercing dma_mask so we'll continue to fix that up if necessary, but add a warning to help flush out any such buggy bus code that remains. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions