summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib/loongarch/processor.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-11-28 14:49:47 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-11-28 14:49:47 +0800
commit4e8824094069b04e3b3583d855c975ccb6a9bec5 (patch)
tree43f5af1d62ce15e0e4f5e52e712b3fed68b74eb9 /tools/testing/selftests/kvm/lib/loongarch/processor.c
parentdf41742343fad11fde06e085096003d64599785f (diff)
KVM: LoongArch: selftests: Add SW emulated timer test case
This test case setup one-shot timer and execute idle instruction immediately to indicate giving up CPU, hypervisor will emulate SW hrtimer and wakeup vCPU when SW hrtimer is fired. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/loongarch/processor.c')
0 files changed, 0 insertions, 0 deletions