coresight: tmc: Configure DMA mask appropriately
commit9606743ca7f8f45b0e589e5ff8dd93a3e49dcdd1
authorRobin Murphy <robin.murphy@arm.com>
Mon, 5 Jun 2017 20:15:09 +0000 (5 14:15 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2018 17:48:26 +0000 (13 19:48 +0200)
treeee72b19102535fc079d2cf34e3a9b85dd8440f5e
parent41830b8672a801adb74486d37fee4c35c9ca42b2
coresight: tmc: Configure DMA mask appropriately

[ Upstream commit a3959c50b02f57df4c4e4f14f632220f1c0b1f79 ]

Before making any DMA API calls, the ETR driver should really be setting
its masks to ensure that DMA is possible. Especially since it can
address more than the 32-bit default mask set by the AMBA bus code.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-tmc.c