From 9ebfd1b90ed674a984eb69f03b6bc79f21573313 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Wed, 15 May 2024 18:13:18 +0400 Subject: [PATCH] feat: enable EDAC drivers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes https://github.com/siderolabs/talos/issues/8725 Enabled as modules, as they all have PCI IDs (should be auto-loaded on demand). ``` [4.0K] _out/kernel-edac/lib/modules/6.6.30-talos/kernel/drivers/edac/ ├── [148K] amd64_edac.ko ├── [ 50K] e752x_edac.ko ├── [ 22K] i3000_edac.ko ├── [ 23K] i3200_edac.ko ├── [ 40K] i5100_edac.ko ├── [ 35K] i5400_edac.ko ├── [ 31K] i7300_edac.ko ├── [ 86K] i7core_edac.ko ├── [ 24K] i82975x_edac.ko ├── [ 26K] ie31200_edac.ko ├── [ 46K] igen6_edac.ko ├── [103K] sb_edac.ko ├── [ 72K] skx_edac.ko └── [ 22K] x38_edac.ko 1 directory, 14 files ``` ``` kernel/drivers/edac/amd64_edac.ko kernel/drivers/edac/e752x_edac.ko kernel/drivers/edac/i3000_edac.ko kernel/drivers/edac/i3200_edac.ko kernel/drivers/edac/i5100_edac.ko kernel/drivers/edac/i5400_edac.ko kernel/drivers/edac/i7300_edac.ko kernel/drivers/edac/i7core_edac.ko kernel/drivers/edac/i82975x_edac.ko kernel/drivers/edac/ie31200_edac.ko kernel/drivers/edac/igen6_edac.ko kernel/drivers/edac/sb_edac.ko kernel/drivers/edac/skx_edac.ko kernel/drivers/edac/x38_edac.ko ``` Signed-off-by: Andrey Smirnov --- kernel/build/config-amd64 | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/kernel/build/config-amd64 b/kernel/build/config-amd64 index aa06af03..1aa3e441 100644 --- a/kernel/build/config-amd64 +++ b/kernel/build/config-amd64 @@ -603,6 +603,7 @@ CONFIG_HAVE_ACPI_APEI_NMI=y # CONFIG_ACPI_DPTF is not set CONFIG_ACPI_WATCHDOG=y # CONFIG_ACPI_EXTLOG is not set +CONFIG_ACPI_ADXL=y # CONFIG_ACPI_CONFIGFS is not set # CONFIG_ACPI_PFRUT is not set CONFIG_ACPI_PCC=y @@ -4820,22 +4821,22 @@ CONFIG_EDAC=y CONFIG_EDAC_LEGACY_SYSFS=y # CONFIG_EDAC_DEBUG is not set CONFIG_EDAC_DECODE_MCE=y -# CONFIG_EDAC_AMD64 is not set -# CONFIG_EDAC_E752X is not set -# CONFIG_EDAC_I82975X is not set -# CONFIG_EDAC_I3000 is not set -# CONFIG_EDAC_I3200 is not set -# CONFIG_EDAC_IE31200 is not set -# CONFIG_EDAC_X38 is not set -# CONFIG_EDAC_I5400 is not set -# CONFIG_EDAC_I7CORE is not set -# CONFIG_EDAC_I5100 is not set -# CONFIG_EDAC_I7300 is not set -# CONFIG_EDAC_SBRIDGE is not set -# CONFIG_EDAC_SKX is not set +CONFIG_EDAC_AMD64=m +CONFIG_EDAC_E752X=m +CONFIG_EDAC_I82975X=m +CONFIG_EDAC_I3000=m +CONFIG_EDAC_I3200=m +CONFIG_EDAC_IE31200=m +CONFIG_EDAC_X38=m +CONFIG_EDAC_I5400=m +CONFIG_EDAC_I7CORE=m +CONFIG_EDAC_I5100=m +CONFIG_EDAC_I7300=m +CONFIG_EDAC_SBRIDGE=m +CONFIG_EDAC_SKX=m # CONFIG_EDAC_I10NM is not set # CONFIG_EDAC_PND2 is not set -# CONFIG_EDAC_IGEN6 is not set +CONFIG_EDAC_IGEN6=m CONFIG_RTC_LIB=y CONFIG_RTC_MC146818_LIB=y CONFIG_RTC_CLASS=y