Skip to content

Coresight ETF perf NULL pointer dereference and ETM save/restore fixes

Sai Prakash Ranjan linux-arm-kernel linux-arm-msm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

* Remove extra fixes tag (Suzuki)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2coresight: tmc-etf: Fix NULL pointer dereference in tmc_enable_etf_sink_perf()drivers/hwtracing/coresight/coresight-tmc-etf.c+3 -01 reply
2/2coresight: etm4x: Fix save and restore of TRCVMIDCCTLR1 registerdrivers/hwtracing/coresight/coresight-etm4x-core.c+2 -21 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSuzuki K Poulose
1/2
2/2R-b

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

Read the v2 thread

Cover letter [PATCHv2 0/2] Coresight ETF perf NULL pointer dereference and ETM save/restore fixes

This 2 patch series provides fixes to ETF null pointer dereference crash and TRCVMIDCCTLR1 register save and restore fix.

Patch 1 is an RFC since I am not sure of the fix provided since it looks more like a band-aid than the actual fix.

Changes in v2:
* Remove extra fixes tag (Suzuki)

Sai Prakash Ranjan (2):
coresight: tmc-etf: Fix NULL pointer dereference in
tmc_enable_etf_sink_perf()
coresight: etm4x: Fix save and restore of TRCVMIDCCTLR1 register

 drivers/hwtracing/coresight/coresight-etm4x-core.c | 4 ++--
 drivers/hwtracing/coresight/coresight-tmc-etf.c    | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

base-commit: e209e73bee253afe969410150248f0c300c13d84

Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation