lkml.org 
[lkml]   [2024]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/3] Give chance to build under !CONFIG_SMP for LoongArch
Date
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-rc4,
drop the patch "LoongArch: Move CONFIG_HAVE_SETUP_PER_CPU_AREA related
code to smp.c" to use the generic setup_per_cpu_areas() if CONFIG_NUMA
is not set.

The first 2 patches with detailed commit message are preparations for
patch #3.

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 (3):
LoongArch: Modify acpi_parse_processor() for non-SMP
LoongArch: Modify ACPI S3 state function for non-SMP
LoongArch: Give chance to build under !CONFIG_SMP

arch/loongarch/Kconfig | 2 +-
arch/loongarch/include/asm/acpi.h | 1 +
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/power/suspend.c | 4 +++-
7 files changed, 21 insertions(+), 4 deletions(-)

--
2.42.0


\
 
 \ /
  Last update: 2024-04-17 12:00    [W:0.064 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site