Skip to content

Several updates for PTT driver

Yicong Yang linux-pci lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 3 repliesApplied
  2. v25 patches 6 repliesSuperseded
  3. v15 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Add fix tag for Patch 5/5
- refine the commit in Patch 3/5, trying to make it more clear

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5hwtracing: hisi_ptt: Disable interrupt after trace enddrivers/hwtracing/ptt/hisi_ptt.c drivers/hwtracing/ptt/hisi_ptt.h+5 -00 replies
2/5hwtracing: hisi_ptt: Handle the interrupt in hardirq contextdrivers/hwtracing/ptt/hisi_ptt.c+3 -30 replies
3/5hwtracing: hisi_ptt: Optimize the trace data committingdrivers/hwtracing/ptt/hisi_ptt.c+7 -80 replies
4/5hwtracing: hisi_ptt: Don't try to attach a taskdrivers/hwtracing/ptt/hisi_ptt.c+3 -00 replies
5/5hwtracing: hisi_ptt: Add dummy callback pmu::read()drivers/hwtracing/ptt/hisi_ptt.c+5 -00 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJonathan Cameron
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

From: Yicong Yang <[email protected]>

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

Change since v1:
- Add Jonathan's tag, thanks

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(-)
Signature · 1 line
2.24.0