diff options
| author | Song Gao <gaosong@loongson.cn> | 2026-04-09 18:56:38 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-04-09 18:56:38 +0800 |
| commit | e47b8e1db9a9bbef6765e85b11e87f48e6b56846 (patch) | |
| tree | 21b4d271b0e85c3d78250a3d035098526a70c5c9 /include/uapi/linux/kvm.h | |
| parent | 11c840192768a5a63b6aed75273c5e8e416230ee (diff) | |
| download | lwn-e47b8e1db9a9bbef6765e85b11e87f48e6b56846.tar.gz lwn-e47b8e1db9a9bbef6765e85b11e87f48e6b56846.zip | |
KVM: LoongArch: selftests: Add PMU overflow interrupt test
Extend the PMU test suite to cover overflow interrupts. The test enables
the PMI (Performance Monitor Interrupt), sets counter 0 to one less than
the overflow value, and verifies that an interrupt is raised when the
counter overflows. A guest interrupt handler checks the interrupt cause
and disables further PMU interrupts upon success.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'include/uapi/linux/kvm.h')
0 files changed, 0 insertions, 0 deletions
