From b512ed9bbb37af774f38d4e037baad88445415f9 Mon Sep 17 00:00:00 2001 From: John Audia Date: Mon, 3 Jul 2023 06:54:17 -0400 Subject: [PATCH] x86/64: set CONFIG_NVME_HWMON=y CONFIG_NVME_HWMON exposes /sys/class/nvme/nvme0/device/hwmon to allow sensors (and others) to see NVMe drive health --- target/linux/x86/64/config-5.10 | 2 +- target/linux/x86/64/config-5.15 | 2 +- target/linux/x86/64/config-6.1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/x86/64/config-5.10 b/target/linux/x86/64/config-5.10 index 6602f47afbfa44..741cfef29d8a61 100644 --- a/target/linux/x86/64/config-5.10 +++ b/target/linux/x86/64/config-5.10 @@ -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" diff --git a/target/linux/x86/64/config-5.15 b/target/linux/x86/64/config-5.15 index 9c85b761a329b1..fb3427c2e9520a 100644 --- a/target/linux/x86/64/config-5.15 +++ b/target/linux/x86/64/config-5.15 @@ -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" diff --git a/target/linux/x86/64/config-6.1 b/target/linux/x86/64/config-6.1 index 2a5d9634e46f46..b8384909417fa9 100644 --- a/target/linux/x86/64/config-6.1 +++ b/target/linux/x86/64/config-6.1 @@ -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"