]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: Select ARCH_USE_MEMTEST
authorYuli Wang <wangyuli@uniontech.com>
Thu, 24 Apr 2025 12:15:22 +0000 (20:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:50:45 +0000 (07:50 +0200)
commit5767f4ac64284e97284ca29ac47824ec423766c6
tree543d244f84a800a07b4d58e039f937dfe1b9f807
parentcd5970e001f708626e6ec9a483df2dc8fd8c551e
LoongArch: Select ARCH_USE_MEMTEST

[ Upstream commit fb8e9f59d6f292c3d9fea6c155c22ea5fc3053ab ]

As of commit dce44566192e ("mm/memtest: add ARCH_USE_MEMTEST"),
architectures must select ARCH_USE_MEMTESET to enable CONFIG_MEMTEST.

Commit 628c3bb40e9a ("LoongArch: Add boot and setup routines") added
support for early_memtest but did not select ARCH_USE_MEMTESET.

Fixes: 628c3bb40e9a ("LoongArch: Add boot and setup routines")
Tested-by: Erpeng Xu <xuerpeng@uniontech.com>
Tested-by: Yuli Wang <wangyuli@uniontech.com>
Signed-off-by: Yuli Wang <wangyuli@uniontech.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/loongarch/Kconfig