OpenCloudOS-Kernel/drivers/of
Robin Murphy 4d8bde883b 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>
2018-07-27 19:01:07 +02:00
..
unittest-data kbuild: mark $(targets) as .SECONDARY and remove .PRECIOUS markers 2018-04-07 19:04:02 +09:00
Kconfig of: change overlay apply input data from unflattened to FDT 2018-03-04 00:29:24 -08:00
Makefile PCI: Move OF-related PCI functions into PCI core 2018-01-17 17:36:39 -06:00
address.c of: Add missing I/O range exception for indirect-IO devices 2018-04-04 08:42:47 -05:00
base.c of: overlay: update phandle cache on overlay apply and remove 2018-07-16 08:41:32 -06:00
device.c OF: Don't set default coherent DMA mask 2018-07-27 19:01:07 +02:00
dynamic.c of: overlay: do not include path in full_name of added nodes 2018-03-05 15:38:34 -06:00
fdt.c earlycon: Use a pointer table to fix __earlycon_table stride 2018-04-23 10:06:59 +02:00
fdt_address.c of: Use SPDX license tag for DT files 2018-01-08 08:22:45 -06:00
irq.c of: Use SPDX license tag for DT files 2018-01-08 08:22:45 -06:00
kobj.c of: Use SPDX license tag for DT files 2018-01-08 08:22:45 -06:00
of_mdio.c of: mdio: Fall back to mdiobus_register() with NULL device_node 2018-05-16 14:20:35 -04:00
of_net.c of_net: Implement of_get_nvmem_mac_address helper 2018-03-30 10:40:18 -04:00
of_numa.c of/numa: drop export of of_node_to_nid 2018-04-18 08:55:41 -05:00
of_private.h of: overlay: update phandle cache on overlay apply and remove 2018-07-16 08:41:32 -06:00
of_reserved_mem.c drivers: remove force dma flag from buses 2018-05-03 16:25:08 +02:00
overlay.c of: overlay: update phandle cache on overlay apply and remove 2018-07-16 08:41:32 -06:00
pdt.c of: Use SPDX license tag for DT files 2018-01-08 08:22:45 -06:00
platform.c of/platform: Initialise default DMA masks 2018-07-27 19:01:03 +02:00
property.c device property: Constify device_get_match_data() 2018-02-12 10:41:11 +01:00
resolver.c of: overlay: validate offset from property fixups 2018-05-23 15:07:43 -05:00
unittest.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00