summaryrefslogtreecommitdiff
path: root/Documentation/arch
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2023-11-21 10:03:25 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2023-11-21 10:03:25 +0300
commitd43f37b73468c172bc89ac4824a1511b411f0778 (patch)
tree4d3eb9ad7abb27374991d72c0eae76fd4e841510 /Documentation/arch
parent19d86a496233731882aea7ec24505ce6641b1c0c (diff)
downloadlinux-d43f37b73468c172bc89ac4824a1511b411f0778.tar.xz
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>
Diffstat (limited to 'Documentation/arch')
0 files changed, 0 insertions, 0 deletions