[PATCH] riscv: Select ARCH_USE_MEMTEST

Palmer Dabbelt palmer at dabbelt.com
Sat May 22 19:04:05 PDT 2021


On Fri, 07 May 2021 02:47:15 PDT (-0700), wangkefeng.wang at huawei.com wrote:
> After commit dce44566192e "mm/memtest: add ARCH_USE_MEMTEST",
> must select ARCH_USE_MEMTESET if we want to enable CONFIG_MEMTEST.
>
> Signed-off-by: Kefeng Wang <wangkefeng.wang at huawei.com>
> ---
>  arch/riscv/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index a8ad8eb76120..c5914e70a0fd 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -34,6 +34,7 @@ config RISCV
>  	select ARCH_OPTIONAL_KERNEL_RWX if ARCH_HAS_STRICT_KERNEL_RWX
>  	select ARCH_OPTIONAL_KERNEL_RWX_DEFAULT
>  	select ARCH_SUPPORTS_HUGETLBFS if MMU
> +	select ARCH_USE_MEMTEST
>  	select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU
>  	select ARCH_WANT_FRAME_POINTERS
>  	select ARCH_WANT_HUGE_PMD_SHARE if 64BIT

Thanks, this is on fixes.



More information about the linux-riscv mailing list