linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] small fix for configuaring etm csdev via sysfs
@ 2024-12-21 16:59 Yeoreum Yun
  2024-12-21 16:59 ` [PATCH 1/4] coresight/etm4x: disallow altering config via sysfs while enabled Yeoreum Yun
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Yeoreum Yun @ 2024-12-21 16:59 UTC (permalink / raw)
  To: suzuki.poulose, mike.leach, james.clark, alexander.shishkin
  Cc: coresight, linux-arm-kernel, linux-kernel, Yeoreum Yun

when etm csdev's configuration is modified via sysfs while etm is being
enabled via perf, enabled etm could run with different configuration
from perf_event.

Also, there are some redeundant usage of drvdata->spinlock in
etm_starting/dying_cpu() with enable/disable etm device.

This patchset fixes above small problems.

NOTE:
   This patchset based on:
     - https://lore.kernel.org/linux-arm-kernel/20241220104521.809071-1-yeoreum.yun@arm.com/

Yeoreum Yun (4):
  coresight/etm4x: disallow altering config via sysfs while enabled
  coresight/etm4x: remove redundant usage of drvdata->spinlock
  coresight/etm3x: disallow altering config via sysfs while enabled
  coresight/etm3x: remove redundant usage of drvdata->spinlock

 .../coresight/coresight-etm3x-core.c          |  33 ++---
 .../coresight/coresight-etm3x-sysfs.c         | 120 ++++++++++++++++
 .../coresight/coresight-etm4x-core.c          |  20 +--
 .../coresight/coresight-etm4x-sysfs.c         | 132 +++++++++++++++++-
 4 files changed, 272 insertions(+), 33 deletions(-)

--
LEVI:{C3F47F37-75D8-414A-A8BA-3980EC8A46D7}


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

end of thread, other threads:[~2025-05-02 10:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-21 16:59 [PATCH 0/4] small fix for configuaring etm csdev via sysfs Yeoreum Yun
2024-12-21 16:59 ` [PATCH 1/4] coresight/etm4x: disallow altering config via sysfs while enabled Yeoreum Yun
2025-01-09 11:46   ` Suzuki K Poulose
2025-01-09 12:01     ` Yeoreum Yun
2025-01-09 12:21       ` Suzuki K Poulose
2025-01-09 12:27         ` Yeoreum Yun
2025-01-09 17:39         ` Yeoreum Yun
2025-01-09 17:48           ` Yeo Reum Yun
2025-03-12  6:45             ` Yeo Reum Yun
2024-12-21 16:59 ` [PATCH 2/4] coresight/etm4x: remove redundant usage of drvdata->spinlock Yeoreum Yun
2024-12-21 16:59 ` [PATCH 3/4] coresight/etm3x: disallow altering config via sysfs while enabled Yeoreum Yun
2024-12-21 16:59 ` [PATCH 4/4] coresight/etm3x: remove redundant usage of drvdata->spinlock Yeoreum Yun
2024-12-31 14:39 ` [PATCH 0/4] small fix for configuaring etm csdev via sysfs Yeo Reum Yun
2025-05-02 10:53 ` Yeoreum Yun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).