lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241221165934.1161856-1-yeoreum.yun@arm.com>
Date: Sat, 21 Dec 2024 16:59:30 +0000
From: Yeoreum Yun <yeoreum.yun@....com>
To: suzuki.poulose@....com,
	mike.leach@...aro.org,
	james.clark@...aro.org,
	alexander.shishkin@...ux.intel.com
Cc: coresight@...ts.linaro.org,
	linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org,
	Yeoreum Yun <yeoreum.yun@....com>
Subject: [PATCH 0/4] small fix for configuaring etm csdev via sysfs

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}


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ