[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240325183755.776-1-bp@alien8.de>
Date: Mon, 25 Mar 2024 19:37:55 +0100
From: Borislav Petkov <bp@...en8.de>
To: linux-edac <linux-edac@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
"anthony s . k ." <akira.2020@...tonmail.com>,
Yazen Ghannam <yazen.ghannam@....com>
Subject: [PATCH] RAS/AMD/FMPM: Fix build when debugfs is not enabled
From: "Borislav Petkov (AMD)" <bp@...en8.de>
Have the driver depend on DEBUG_FS as it is useless without it.
Fixes: 6f15e617cc99 ("RAS: Introduce a FRU memory poison manager")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218640
Reported-by: anthony s.k. <akira.2020@...tonmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@...en8.de>
Cc: Yazen Ghannam <yazen.ghannam@....com>
---
drivers/ras/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ras/Kconfig b/drivers/ras/Kconfig
index fc4f4bb94a4c..41697e326fa6 100644
--- a/drivers/ras/Kconfig
+++ b/drivers/ras/Kconfig
@@ -37,7 +37,7 @@ source "drivers/ras/amd/atl/Kconfig"
config RAS_FMPM
tristate "FRU Memory Poison Manager"
default m
- depends on AMD_ATL && ACPI_APEI
+ depends on AMD_ATL && ACPI_APEI && DEBUG_FS
help
Support saving and restoring memory error information across reboot
using ACPI ERST as persistent storage. Error information is saved with
--
2.43.0
Powered by blists - more mailing lists