OSDN Git Service

of: address: Follow DMA parent for "dma-coherent"
authorRobin Murphy <robin.murphy@arm.com>
Wed, 3 Jul 2019 13:47:31 +0000 (14:47 +0100)
committerRob Herring <robh@kernel.org>
Tue, 8 Oct 2019 18:50:22 +0000 (13:50 -0500)
commitc60bf3eb888a362100aa1bdbea351dab681e262a
tree9feec3299a80bbbe7d83b2d668b303b9f8aabd59
parent862ab5578f754117742c8b8c8e5ddf98bdb190ba
of: address: Follow DMA parent for "dma-coherent"

Much like for address translation, when checking for DMA coherence we
should be sure to walk up the DMA hierarchy, rather than the MMIO one,
now that we can accommodate them being different.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/address.c