configs: enable CONFIG_NVME_HWMON

Open
#5,909 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
linux

Research direction

Start by locating the Raspberry Pi 5 kernel configuration used to produce 6.1.0-rpi7-rpi-2712 and compare it with the reported /boot/config entry. Enable CONFIG_NVME_HWMON in the appropriate configuration, rebuild the kernel configuration, and verify that the resulting /boot/config reports CONFIG_NVME_HWMON=y.

Written by the indexing model from the issue text.

Description

Describe the bug

NVMe HWMON support allows reporting the current NVMe drive temperature sensor(s) and min/max thresholds via this kernel infrastructure without the need for any utilities, no root requirement. This would be highly desirable for rpi5.

Please add, if possible the following in the kernel configs:

CONFIG_NVME_HWMON=y
Reference: https://cateee.net/lkddb/web-lkddb/NVME_HWMON.html

Steps to reproduce the behaviour

grep CONFIG_NVME_HWMON /boot/config-6.1.0-rpi7-rpi-2712
CONFIG_NVME_HWMON is not set

Device (s)

Raspberry Pi 5

System

cat /etc/rpi-issue
Raspberry Pi reference 2023-12-11
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 2acf7afcba7d11500313a7b93bb55a2aae20b2d6, stage2

vcgencmd version
2024/01/05 15:57:40
Copyright (c) 2012 Broadcom
version 30cc5f37 (release) (embedded)

uname -a
Linux rpi5 6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux

Logs

No response

Additional context

No response

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.