Commit 134663f4 authored by Yabin Cui's avatar Yabin Cui
Browse files

UPSTREAM: coresight: tmc: Don't enable TMC when it's not ready.



If TMC ETR is enabled without being ready, in later use we may
see AXI bus errors caused by accessing invalid addresses.

Bug: 256184860
Bug: 328316316
Change-Id: I9c0b8c7af63a2e2e7469a8537bc721ec6ae6679c
Signed-off-by: default avatarYabin Cui <yabinc@google.com>
[ Tweak error message ]
Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230127231001.1920947-1-yabinc@google.com
(cherry picked from commit 669c4614)
parent e7170572
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment