lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAhV-H4Q8RTkmN1dbgwz01b7GgKd176cx-6uO7pitr7t7LgQww@mail.gmail.com>
Date: Tue, 25 Feb 2025 20:42:11 +0800
From: Huacai Chen <chenhuacai@...nel.org>
To: Bibo Mao <maobibo@...ngson.cn>
Cc: WANG Xuerui <kernel@...0n.name>, loongarch@...ts.linux.dev, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] LoongArch: Select HAVE_VIRT_CPU_ACCOUNTING_GEN always

Applied, thanks.

Huacai

On Tue, Feb 25, 2025 at 5:24 PM Bibo Mao <maobibo@...ngson.cn> wrote:
>
> Option HAVE_VIRT_CPU_ACCOUNTING_GEN is selected by default for 64bit
> system in kconfig file arch/Kconfig. There is another selection in file
> arch/loongarch/Kconfig if SMP is not selected, it brings out some
> misunderstanding for non-SMP case. Here always select option
> HAVE_VIRT_CPU_ACCOUNTING_GEN for future possible 32bit system.
>
> Signed-off-by: Bibo Mao <maobibo@...ngson.cn>
> ---
> v1 ... v2:
>   1. Select HAVE_VIRT_CPU_ACCOUNTING_GEN always for possible 32bit system.
> ---
>  arch/loongarch/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig
> index 2b8bd27a852f..8d0885b165a2 100644
> --- a/arch/loongarch/Kconfig
> +++ b/arch/loongarch/Kconfig
> @@ -175,7 +175,7 @@ config LOONGARCH
>         select HAVE_STACKPROTECTOR
>         select HAVE_SYSCALL_TRACEPOINTS
>         select HAVE_TIF_NOHZ
> -       select HAVE_VIRT_CPU_ACCOUNTING_GEN if !SMP
> +       select HAVE_VIRT_CPU_ACCOUNTING_GEN
>         select IRQ_FORCED_THREADING
>         select IRQ_LOONGARCH_CPU
>         select LOCK_MM_AND_FIND_VMA
>
> base-commit: d082ecbc71e9e0bf49883ee4afd435a77a5101b6
> --
> 2.39.3
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ