]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: LoongArch: selftests: Add time counter test case
authorBibo Mao <maobibo@loongson.cn>
Fri, 28 Nov 2025 06:49:48 +0000 (14:49 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 28 Nov 2025 06:49:48 +0000 (14:49 +0800)
commit0f90fa6e2e9d98349492d9968c11ceaf2f958c98
tree6492a70e3f0c693e1ee448b4ec83cd0612f8f169
parent4e8824094069b04e3b3583d855c975ccb6a9bec5
KVM: LoongArch: selftests: Add time counter test case

With time counter test, it is to verify that time count starts from 0
and always grows up then.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
tools/testing/selftests/kvm/lib/loongarch/processor.c
tools/testing/selftests/kvm/loongarch/arch_timer.c