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

Pradhan, Sanman posted 2 patches 2 months, 1 week ago
There is a newer version of this series
drivers/hwtracing/ptt/hisi_ptt.c | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
[PATCH 0/2] hwtracing: hisi_ptt: Fix reset timeout handling and clean up trace start
Posted by Pradhan, Sanman 2 months, 1 week ago
From: Sanman Pradhan <psanman@juniper.net>

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