[PATCH 0/2] hwtracing: hisi_ptt: Fix reset timeout handling and clean up trace start

From: Pradhan, Sanman

Date: Wed Apr 08 2026 - 21:08:25 EST


From: Sanman Pradhan <psanman@xxxxxxxxxxx>

Patch 1: Propagate the DMA reset timeout error from
hisi_ptt_wait_dma_reset_done() instead of discarding it. Move
ctrl->started to the successful path so a failed start does not leave
the trace marked as active.

Patch 2: Remove the unnecessary 16 MiB memset of trace buffers in
hisi_ptt_trace_start(). The driver only copies data that hardware has
written, so the zeroing is not needed.

Sanman Pradhan (2):
hwtracing: hisi_ptt: Propagate DMA reset timeout in trace_start()
hwtracing: hisi_ptt: Remove unnecessary trace buffer zeroing in
trace_start()

drivers/hwtracing/ptt/hisi_ptt.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

--
2.34.1