Skip to content

Commit

Permalink
x86/64: set CONFIG_NVME_HWMON=y
Browse files Browse the repository at this point in the history
CONFIG_NVME_HWMON exposes /sys/class/nvme/nvme0/device/hwmon
to allow sensors (and others) to see NVMe drive health
  • Loading branch information
graysky2 committed Nov 29, 2023
1 parent 1c5492a commit b512ed9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion target/linux/x86/64/config-5.10
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ CONFIG_NR_CPUS_DEFAULT=512
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=512
CONFIG_NVME_CORE=y
# CONFIG_NVME_HWMON is not set
CONFIG_NVME_HWMON=y
CONFIG_NVME_MULTIPATH=y
# CONFIG_NVME_TCP is not set
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
Expand Down
2 changes: 1 addition & 1 deletion target/linux/x86/64/config-5.15
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ CONFIG_NR_CPUS_DEFAULT=512
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=512
CONFIG_NVME_CORE=y
# CONFIG_NVME_HWMON is not set
CONFIG_NVME_HWMON=y
CONFIG_NVME_MULTIPATH=y
# CONFIG_NVME_TCP is not set
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
Expand Down
2 changes: 1 addition & 1 deletion target/linux/x86/64/config-6.1
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ CONFIG_NR_CPUS_DEFAULT=64
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=512
CONFIG_NVME_CORE=y
# CONFIG_NVME_HWMON is not set
CONFIG_NVME_HWMON=y
CONFIG_NVME_MULTIPATH=y
# CONFIG_NVME_VERBOSE_ERRORS is not set
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
Expand Down

0 comments on commit b512ed9

Please sign in to comment.