original_kernel/arch/loongarch
Bibo Mao d43f37b734 LoongArch: Implement constant timer shutdown interface
When a cpu is hot-unplugged, it is put in idle state and the function
arch_cpu_idle_dead() is called. The timer interrupt for this processor
should be disabled, otherwise there will be pending timer interrupt for
the unplugged cpu, so that vcpu is prevented from giving up scheduling
when system is running in vm mode.

This patch implements the timer shutdown interface so that the constant
timer will be properly disabled when a CPU is hot-unplugged.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2023-11-21 15:03:25 +08:00
..
boot
configs
crypto
include LoongArch: Add __percpu annotation for __percpu_read()/__percpu_write() 2023-11-21 15:03:25 +08:00
kernel LoongArch: Implement constant timer shutdown interface 2023-11-21 15:03:25 +08:00
kvm
lib
mm LoongArch: Mark {dmw,tlb}_virt_to_page() exports as non-GPL 2023-11-21 15:03:25 +08:00
net LoongArch: BPF: Support signed mod instructions 2023-11-08 14:12:21 +08:00
pci
power
vdso
Kbuild
Kconfig LoongArch changes for v6.7 2023-11-12 10:58:08 -08:00
Kconfig.debug
Makefile LoongArch: Explicitly set -fdirect-access-external-data for vmlinux 2023-11-21 15:03:25 +08:00