summaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-03-08 13:52:01 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-03-08 13:52:01 +0800
commit78d7bc5a02e1468df53896df354fa80727f35b7d (patch)
tree1a2cd5fed570b8c5cd643a46b5c3d6d86ac49477 /net/lapb/lapb_timer.c
parent6fb1867d5a44b0a061cf39d2492d23d314bcb8ce (diff)
downloadlinux-78d7bc5a02e1468df53896df354fa80727f35b7d.tar.gz
linux-78d7bc5a02e1468df53896df354fa80727f35b7d.tar.bz2
linux-78d7bc5a02e1468df53896df354fa80727f35b7d.zip
LoongArch: KVM: Reload guest CSR registers after sleep
On host, the HW guest CSR registers are lost after suspend and resume operation. Since last_vcpu of boot CPU still records latest vCPU pointer so that the guest CSR register skips to reload when boot CPU resumes and vCPU is scheduled. Here last_vcpu is cleared so that guest CSR registers will reload from scheduled vCPU context after suspend and resume. Cc: stable@vger.kernel.org Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions