[PATCH v3 0/5] Several updates for PTT driver

From: Yicong Yang
Date: Tue Oct 10 2023 - 04:50:38 EST


From: Yicong Yang <yangyicong@xxxxxxxxxxxxx>

This series contains several updates for PTT driver:
- Disable interrupt when trace stops, reverse to what we do in trace start
- Always handle the interrupt in hardirq context
- Optimize the AUX buffer handling to make consumer have more time to process
the data
- Since we're a uncore PMU so block any task attach operation
- Add a dummy pmu::read() callback since the perf core may use

Change since v2:
- Add fix tag for Patch 5/5
- refine the commit in Patch 3/5, trying to make it more clear
Link: https://lore.kernel.org/all/20230914112223.27165-1-yangyicong@xxxxxxxxxx/

Change since v1:
- Add Jonathan's tag, thanks
Link: https://lore.kernel.org/all/20230809081825.11518-1-yangyicong@xxxxxxxxxx/

Junhao He (1):
hwtracing: hisi_ptt: Add dummy callback pmu::read()

Yicong Yang (4):
hwtracing: hisi_ptt: Disable interrupt after trace end
hwtracing: hisi_ptt: Handle the interrupt in hardirq context
hwtracing: hisi_ptt: Optimize the trace data committing
hwtracing: hisi_ptt: Don't try to attach a task

drivers/hwtracing/ptt/hisi_ptt.c | 33 +++++++++++++++++++++-----------
drivers/hwtracing/ptt/hisi_ptt.h | 1 +
2 files changed, 23 insertions(+), 11 deletions(-)

--
2.24.0