]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/hwtracing/coresight/coresight-priv.h
coresight: add PM runtime calls to coresight_simple_func()
authorMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 25 Aug 2016 21:19:02 +0000 (15:19 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 11:05:42 +0000 (13:05 +0200)
commitcd9e3474bb793dc93fbe0985f822ad4b2605e847
treec26eae33b81de772287eba0fdc73bd7cd1245ba0
parent62d39ac934daaaecc716d651809b18da8ac255b0
coresight: add PM runtime calls to coresight_simple_func()

It is mandatory to enable a coresight block's power domain before
trying to access management registers.  Otherwise the transaction
simply stalls, leading to a system hang.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-priv.h