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>
Wed, 19 Aug 2020 06:23:57 +0000 (08:23 +0200)
commit0588fb41cf4cd91c57c37d4b774c35a2a6d2e066
treeb7f5e72750cbe21e48dade5c82a2564846afb773
parent8ba5991753dc16daa86c063809f5aa1fac5b6672
coresight: etmv4: Fix resource selector constant

[ Upstream commit cb8bba907a4ff4ba42f1d245cb506d55829674b8 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hwtracing/coresight/coresight-etm4x.h