Skip to content

coresight: Set affinity to invalid for missing CPU phandle

Sai Prakash Ranjan linux-arm-kernel linux-arm-msm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2coresight: Set affinity to invalid for missing CPU phandledrivers/hwtracing/coresight/coresight-platform.c+6 -44 replies
2/2coresight: Abort probe for missing CPU phandledrivers/hwtracing/coresight/coresight-cpu-debug.c drivers/hwtracing/coresight/coresight-etm3x.c drivers/hwtracing/coresight/coresight-etm4x.c+9 -06 replies

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 v1 thread

Cover letter [PATCH 0/2] coresight: Set affinity to invalid for missing CPU phandle

In case of missing CPU phandle, the affinity is set default to CPU0 which is not a correct assumption and leads to crashes in few cases. Fix this by returning -ENODEV in coresight platform and abort the probe in coresight etm and cpu-debug drivers.

Sai Prakash Ranjan (2):
coresight: Set affinity to invalid for missing CPU phandle
coresight: Abort probe for missing CPU phandle

 drivers/hwtracing/coresight/coresight-cpu-debug.c |  3 +++
 drivers/hwtracing/coresight/coresight-etm3x.c     |  3 +++
 drivers/hwtracing/coresight/coresight-etm4x.c     |  3 +++
 drivers/hwtracing/coresight/coresight-platform.c  | 10 ++++++----
 4 files changed, 15 insertions(+), 4 deletions(-)
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation