summaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2024-03-06 04:12:13 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2024-03-06 04:12:13 +0300
commitf66228053e429bd926505c447d3af2d3d610ed92 (patch)
tree59e66a290de2ff084a70c298b0b039c54675df68 /lib/test-string_helpers.c
parent8bc15d02d5fdff31bfeca02e58e22e26880dde39 (diff)
downloadlinux-f66228053e429bd926505c447d3af2d3d610ed92.tar.xz
LoongArch: KVM: Do not restart SW timer when it is expired
LoongArch VCPUs have their own separate HW timers. SW timer is to wake up blocked vcpu thread, rather than HW timer emulation. When blocking vcpu scheduled out, SW timer is used to wakeup blocked vcpu thread and injects timer interrupt. It does not care about whether guest timer is in period mode or oneshot mode, and SW timer needs not to be restarted since vcpu has been woken. This patch does not restart SW timer when it is expired. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions