OpenCloudOS-Kernel/drivers/acpi/arm64
Robin Murphy 6757cdae44 ACPI/IORT: 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>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2018-07-27 19:01:06 +02:00
..
Kconfig acpi/arm64: Add GTDT table parse driver 2017-04-19 16:11:49 +01:00
Makefile acpi/arm64: Add GTDT table parse driver 2017-04-19 16:11:49 +01:00
gtdt.c acpi/arm64: pr_err() strings should end with newlines 2017-10-16 14:25:43 +01:00
iort.c ACPI/IORT: Don't set default coherent DMA mask 2018-07-27 19:01:06 +02:00