Re: [PATCH v1 1/2] Loongarch: EDAC driver for loongson memory controller

From: Xi Ruoyao
Date: Wed Aug 21 2024 - 02:52:25 EST


On Wed, 2024-08-21 at 14:47 +0800, Zhao Qunqin wrote:
> --- a/arch/loongarch/Kconfig
> +++ b/arch/loongarch/Kconfig
> @@ -179,6 +179,8 @@ config LOONGARCH
>   select PCI_QUIRKS
>   select PERF_USE_VMALLOC
>   select RTC_LIB
> + select EDAC_SUPPORT
> + select EDAC

This line looks incorrect. It's forcing the users to enable EDAC even
if they don't need it (for example using a non-ECC memory).

And no other arch does this.

--
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University