coresight: tmc: Configure DMA mask appropriately
authorRobin Murphy <robin.murphy@arm.com>
Mon, 5 Jun 2017 20:15:09 +0000 (14:15 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:45:24 +0000 (11:45 +0200)
commita3959c50b02f57df4c4e4f14f632220f1c0b1f79
treee7a30538730e28a5ca185dc1be97a2f1b7fb4925
parent63a5c022469f0df1c81cd8c117902bc89e0d19be
coresight: tmc: Configure DMA mask appropriately

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>
drivers/hwtracing/coresight/coresight-tmc.c