]> www.infradead.org Git - users/hch/misc.git/commit
Merge branch 'eth-fbnic-add-hardware-monitoring-support'
authorJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 22:14:15 +0000 (14:14 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 22:14:15 +0000 (14:14 -0800)
commit2974e66ba0897ad7dccc0de68d493793f161649d
treeb98b73ead91990846aa88861f45e86c042a722a0
parent586b298d59e22f93313bfbfad1d071be660bc9f0
parent880630734102ba74c7a4fbb0f23894f5e30f80a0
Merge branch 'eth-fbnic-add-hardware-monitoring-support'

Sanman Pradhan says:

====================
eth: fbnic: Add hardware monitoring support

This patch series adds hardware monitoring support to the fbnic driver.
It implements support for reading temperature and voltage sensors via
firmware requests, and exposes this data through the HWMON interface.

The series is structured as follows:

Patch 1: Adds completion infrastructure for firmware requests
Patch 2: Implements TSENE sensor message handling
Patch 3: Adds HWMON interface support

Output:
$ ls -l /sys/class/hwmon/hwmon1/
total 0
lrwxrwxrwx 1 root root    0 Sep 10 00:00 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root 4096 Sep 10 00:00 in0_input
-r--r--r-- 1 root root 4096 Sep 10 00:00 name
lrwxrwxrwx 1 root root    0 Sep 10 00:00 subsystem -> ../../../../../../class/hwmon
-r--r--r-- 1 root root 4096 Sep 10 00:00 temp1_input
-rw-r--r-- 1 root root 4096 Sep 10 00:00 uevent

$ cat /sys/class/hwmon/hwmon1/temp1_input
40480
$ cat /sys/class/hwmon/hwmon1/in0_input
750
====================

Link: https://patch.msgid.link/20250114000705.2081288-1-sanman.p211993@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>