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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAhV-H6bHudfUVE4SWY88mxmLhFok9DS8UyODSZEdUJ816V8Rg@mail.gmail.com>
Date: Thu, 11 Apr 2024 12:26:04 +0800
From: Huacai Chen <chenhuacai@...nel.org>
To: Marc Zyngier <maz@...nel.org>, Arnd Bergmann <arnd@...db.de>, Tiezhu Yang <yangtiezhu@...ngson.cn>
Cc: Thomas Gleixner <tglx@...utronix.de>, loongarch@...ts.linux.dev, 
	linux-kernel@...r.kernel.org, loongson-kernel@...ts.loongnix.cn
Subject: Re: [PATCH v3 0/4] Give chance to build under !CONFIG_SMP for LoongArch

Hi, Marc and Arnd,

I remember that you both suggested not introducing NOSMP support for a
modern architecture which brings additional complexity. I wonder if
you still have the same attitude now. I will merge this series only if
you think it is worthy to introduce NOSMP now.

Huacai

On Thu, Apr 11, 2024 at 9:05 AM Tiezhu Yang <yangtiezhu@...ngson.cn> wrote:
>
> The changes of irqchip have been merged into the irq/core branch of tip.
>
> https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=42a7d887664b
> https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=a64003da0ef8
>
> This version is only related with arch/loongarch and based on 6.9-rc3,
> the first 3 patches with detailed commit message are preparations for
> patch #4.
>
> Tested with the following configs:
> (1) CONFIG_NUMA=n, CONFIG_SMP=n
> (2) CONFIG_NUMA=n, CONFIG_SMP=y
> (3) CONFIG_NUMA=y, CONFIG_SMP=n (not allowed due to NUMA select SMP)
> (4) CONFIG_NUMA=y, CONFIG_SMP=y
>
> Tiezhu Yang (4):
>   LoongArch: Move CONFIG_HAVE_SETUP_PER_CPU_AREA related code to smp.c
>   LoongArch: Refactor get_acpi_id_for_cpu() related code
>   LoongArch: Save and restore PERCPU_BASE_KS for ACPI S3 state
>   LoongArch: Give chance to build under !CONFIG_SMP
>
>  arch/loongarch/Kconfig                |  4 +-
>  arch/loongarch/include/asm/acpi.h     |  8 +++-
>  arch/loongarch/include/asm/smp.h      |  5 +++
>  arch/loongarch/kernel/acpi.c          |  9 +++-
>  arch/loongarch/kernel/irq.c           |  2 +
>  arch/loongarch/kernel/machine_kexec.c |  2 +-
>  arch/loongarch/kernel/numa.c          | 58 --------------------------
>  arch/loongarch/kernel/smp.c           | 59 +++++++++++++++++++++++++++
>  arch/loongarch/power/suspend.c        |  4 +-
>  9 files changed, 87 insertions(+), 64 deletions(-)
>
> --
> 2.42.0
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ