public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] hwtracing: hisi_ptt: Fix reset timeout handling and clean up trace start
@ 2026-04-09  1:07 Pradhan, Sanman
  2026-04-09  1:07 ` [PATCH 1/2] hwtracing: hisi_ptt: Propagate DMA reset timeout in trace_start() Pradhan, Sanman
  2026-04-09  1:07 ` [PATCH 2/2] hwtracing: hisi_ptt: Remove unnecessary trace buffer zeroing " Pradhan, Sanman
  0 siblings, 2 replies; 6+ messages in thread
From: Pradhan, Sanman @ 2026-04-09  1:07 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org
  Cc: yangyicong@hisilicon.com, jonathan.cameron@huawei.com,
	alexander.shishkin@linux.intel.com, Sanman Pradhan

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-14 16:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09  1:07 [PATCH 0/2] hwtracing: hisi_ptt: Fix reset timeout handling and clean up trace start Pradhan, Sanman
2026-04-09  1:07 ` [PATCH 1/2] hwtracing: hisi_ptt: Propagate DMA reset timeout in trace_start() Pradhan, Sanman
2026-04-13 16:17   ` Yicong Yang
2026-04-14 16:24     ` Pradhan, Sanman
2026-04-09  1:07 ` [PATCH 2/2] hwtracing: hisi_ptt: Remove unnecessary trace buffer zeroing " Pradhan, Sanman
2026-04-13 16:19   ` Yicong Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox