public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/3] coresight: Expose device connections via sysfs
@ 2019-05-30 16:44 Suzuki K Poulose
  2019-05-30 16:44 ` [PATCH 1/3] coresight: Pass coresight_device for coresight_release_platform_data Suzuki K Poulose
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Suzuki K Poulose @ 2019-05-30 16:44 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: coresight, leo.yan, Suzuki K Poulose, mathieu.poirier, mike.leach

Coresight device connections are a bit complicated and is not
exposed currently to the user. One has to look at the platform
descriptions (DT bindings or ACPI bindings) to make an understanding.
Given the new naming scheme, it will be helpful to have this information
to choose the appropriate devices for tracing. This patch exposes
the device connections via links in the sysfs directories.

e.g, for a connection devA[OutputPort_X] -> devB[InputPort_Y]
is represented as two symlinks:

  /sys/bus/coresight/.../devA/out:X -> /sys/bus/coresight/.../devB
  /sys/bus/coresight/.../devB/in:Y  -> /sys/bus/coresight/.../devA

Applies on coresight/next tree.

This is split from the ACPI bindings series. No functional changes.

Suzuki K Poulose (3):
  coresight: Pass coresight_device for coresight_release_platform_data
  coresight: add return value for fixup connections
  coresight: Expose device connections via sysfs

 drivers/hwtracing/coresight/coresight-platform.c |   2 +-
 drivers/hwtracing/coresight/coresight-priv.h     |   3 +-
 drivers/hwtracing/coresight/coresight.c          | 148 +++++++++++++++++++----
 include/linux/coresight.h                        |   4 +
 4 files changed, 132 insertions(+), 25 deletions(-)

-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-06-03  8:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-30 16:44 [PATCH 0/3] coresight: Expose device connections via sysfs Suzuki K Poulose
2019-05-30 16:44 ` [PATCH 1/3] coresight: Pass coresight_device for coresight_release_platform_data Suzuki K Poulose
2019-05-30 16:44 ` [PATCH 2/3] coresight: add return value for fixup connections Suzuki K Poulose
2019-05-30 16:44 ` [PATCH 3/3] coresight: Expose device connections via sysfs Suzuki K Poulose
2019-06-03  8:45 ` [PATCH 0/3] " Leo Yan

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