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 Sanman Pradhan (3): eth: fbnic: hwmon: Add completion infrastructure for firmware requests eth: fbnic: hwmon: Add support for reading temperature and voltage sensors eth: fbnic: Add hardware monitoring support via HWMON interface drivers/net/ethernet/meta/fbnic/Makefile | 1 + drivers/net/ethernet/meta/fbnic/fbnic.h | 5 + drivers/net/ethernet/meta/fbnic/fbnic_fw.c | 154 ++++++++++++++++++ drivers/net/ethernet/meta/fbnic/fbnic_fw.h | 28 ++++ drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c | 80 +++++++++ drivers/net/ethernet/meta/fbnic/fbnic_mac.c | 72 ++++++++ drivers/net/ethernet/meta/fbnic/fbnic_mac.h | 7 + drivers/net/ethernet/meta/fbnic/fbnic_pci.c | 3 + 8 files changed, 350 insertions(+) create mode 100644 drivers/net/ethernet/meta/fbnic/fbnic_hwmon.c -- 2.43.5