OSDN Git Service

coresight: etmv4: Fix resource selector constant
authorMike Leach <mike.leach@linaro.org>
Thu, 16 Jul 2020 17:57:38 +0000 (11:57 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2020 13:48:39 +0000 (15:48 +0200)
commitcb8bba907a4ff4ba42f1d245cb506d55829674b8
treecaed57c64c1d63b619d59eebb1b1bca40430ad06
parente82d785eba4a2b047a71d7d6c5ee671237bfe716
coresight: etmv4: Fix resource selector constant

ETMv4 max resource selector constant incorrectly set to 16. Updated to the
correct 32 value, and adjustments made to limited code using it.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
Fixes: 2e1cdfe184b52 ("coresight-etm4x: Adding CoreSight ETM4x driver")
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200716175746.3338735-10-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etm4x.h