linux-sg2042/arch
Nicholas Piggin 9ca12ac04b kernel/cpu: Allow non-zero CPU to be primary for suspend / kexec freeze
This patch provides an arch option, ARCH_SUSPEND_NONZERO_CPU, to
opt-in to allowing suspend to occur on one of the housekeeping CPUs
rather than hardcoded CPU0.

This will allow CPU0 to be a nohz_full CPU with a later change.

It may be possible for platforms with hardware/firmware restrictions
on suspend/wake effectively support this by handing off the final
stage to CPU0 when kernel housekeeping is no longer required. Another
option is to make housekeeping / nohz_full mask dynamic at runtime,
but the complexity could not be justified at this time.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J . Wysocki <rafael.j.wysocki@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linuxppc-dev@lists.ozlabs.org
Link: https://lkml.kernel.org/r/20190411033448.20842-4-npiggin@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2019-05-03 19:42:58 +02:00
..
alpha arch: add pidfd and io_uring syscalls everywhere 2019-04-23 13:34:17 -07:00
arc ARC updates for 5.1 final 2019-05-01 13:40:30 -07:00
arm A small number of ARM fixes 2019-04-28 10:50:57 -07:00
arm64 arm64 fixes: 2019-04-26 11:26:53 -07:00
c6x syscalls: Remove start and number from syscall_set_arguments() args 2019-04-05 09:27:23 -04:00
csky syscalls: Remove start and number from syscall_set_arguments() args 2019-04-05 09:27:23 -04:00
h8300 syscalls: Remove start and number from syscall_get_arguments() args 2019-04-05 09:26:43 -04:00
hexagon syscalls: Remove start and number from syscall_get_arguments() args 2019-04-05 09:26:43 -04:00
ia64 arch: add pidfd and io_uring syscalls everywhere 2019-04-23 13:34:17 -07:00
m68k arch: add pidfd and io_uring syscalls everywhere 2019-04-23 13:34:17 -07:00
microblaze arch: add pidfd and io_uring syscalls everywhere 2019-04-23 13:34:17 -07:00
mips Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2019-04-26 01:54:42 -04:00
nds32 syscalls: Remove start and number from syscall_set_arguments() args 2019-04-05 09:27:23 -04:00
nios2 syscalls: Remove start and number from syscall_set_arguments() args 2019-04-05 09:27:23 -04:00
openrisc syscalls: Remove start and number from syscall_set_arguments() args 2019-04-05 09:27:23 -04:00
parisc arch: add pidfd and io_uring syscalls everywhere 2019-04-23 13:34:17 -07:00
powerpc kernel/cpu: Allow non-zero CPU to be primary for suspend / kexec freeze 2019-05-03 19:42:58 +02:00
riscv RISC-V: Fix Maximum Physical Memory 2GiB option for 64bit systems 2019-04-10 09:41:40 -07:00
s390 arch: add pidfd and io_uring syscalls everywhere 2019-04-23 13:34:17 -07:00
sh arch: add pidfd and io_uring syscalls everywhere 2019-04-23 13:34:17 -07:00
sparc arch: add pidfd and io_uring syscalls everywhere 2019-04-23 13:34:17 -07:00
um syscalls: Remove start and number from syscall_set_arguments() args 2019-04-05 09:27:23 -04:00
unicore32 KVM: export <linux/kvm_para.h> and <asm/kvm_para.h> iif KVM is supported 2019-03-28 17:27:42 +01:00
x86 gcc-9: properly declare the {pv,hv}clock_page storage 2019-05-01 11:20:53 -07:00
xtensa arch: add pidfd and io_uring syscalls everywhere 2019-04-23 13:34:17 -07:00
.gitignore
Kconfig Char/Misc driver patches for 5.1-rc1 2019-03-06 14:18:59 -08:00