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: <20250109122112.45810-1-wsa+renesas@sang-engineering.com>
Date: Thu,  9 Jan 2025 13:21:09 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: linux-renesas-soc@...r.kernel.org
Cc: Guenter Roeck <linux@...ck-us.net>,
	linux-kernel@...r.kernel.org,
	Wolfram Sang <wsa+renesas@...g-engineering.com>,
	Carsten Spieß <mail@...sten-spiess.de>,
	Jean Delvare <jdelvare@...e.com>,
	linux-hwmon@...r.kernel.org,
	linux-i2c@...r.kernel.org
Subject: [PATCH 0/2] i2c: core-managed per-client directory in debugfs with example

I think there are enough i2c_drivers now using debugfs that it justifies
a central handling of an debugfs entry per i2c client.

Here is the I2C core code with an example conversion of the isl28022
driver. Quite convincing diffstat, I'd say.

Tested on a Renesas RZ/G3S SMARC board. The branch is based on 6.13-rc6
plus 'i2c/for-mergewindow' plus 'hwmon/next' and can be found here:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/g3s/isl28022

@Guenter: because both patches have dependencies in their respective
for-next branches, I suggest that I'll apply the I2C core patch soon and
resend the ISL patch during next merge window once my pull request is
included. Does that sound okay to you? And once both are in, I will send
further conversions as RFT patches aiming for 6.15?

Looking forward to further comments as well!

Happy hacking!


Wolfram Sang (2):
  i2c: add core-managed per-client directory in debugfs
  hwmon: (isl28022) Use per-client debugfs entry

 drivers/hwmon/isl28022.c    | 44 ++-----------------------------------
 drivers/i2c/i2c-core-base.c |  4 ++++
 include/linux/i2c.h         |  1 +
 3 files changed, 7 insertions(+), 42 deletions(-)

-- 
2.45.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ