[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241218230118.999859-1-mike.leach@linaro.org>
Date: Wed, 18 Dec 2024 23:01:15 +0000
From: Mike Leach <mike.leach@...aro.org>
To: linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
coresight@...ts.linaro.org
Cc: james.clark@...aro.org,
mike.leach@...aro.org,
suzuki.poulose@....com,
alexander.shishkin@...ux.intel.com
Subject: [PATCH v3 0/3] Extend logging on TMC start / stop errors
Extend logging on TMC start / stop errors
Recent issues with trying to debug TMC timeouts and flush issues shows
a general lack of logging and context around the possible errors
Add logging to general wait for stop coresight routines and return values of
watched registers.
Update TMC to use this logging.
Changes since v2:
1) update coresight_timeout_retval() function to accept NULL for reg return
pointer to simplify coresight_timeout()
2) Increase checks for MemErr bit in TMC status registers on error.
Changes since v1:
Rebase to coresight/next (kernel 6.13-rc2)
Mike Leach (3):
coresight: Update timeout functions to allow return of test register
value
coresight: tmc: Update error logging in tmc common functions
coresight: etf: etr: Update logging around flush_and_stop() errors
drivers/hwtracing/coresight/coresight-core.c | 50 +++++++++++++++----
.../hwtracing/coresight/coresight-tmc-core.c | 44 +++++++++++++---
.../hwtracing/coresight/coresight-tmc-etf.c | 12 +++--
.../hwtracing/coresight/coresight-tmc-etr.c | 8 ++-
drivers/hwtracing/coresight/coresight-tmc.h | 2 +-
include/linux/coresight.h | 2 +
6 files changed, 93 insertions(+), 25 deletions(-)
--
2.25.1
Powered by blists - more mailing lists