]> 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:46:55 +0000 (07:46 +0200)
commitda3170fea441cc8fca7d9aec2f49ab73973e3c67
treeb37a885dcbfd231868b20228601975c9869a22fb
parentecb3f8f8906704ecbef2a0effa2771d945d99f29
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