| c5959723 | 10-Aug-2026 |
Bibo Mao <maobibo@loongson.cn> |
KVM: LoongArch: selftests: Add FPU/LSX/LASX test cases
Add FPU/LSX/LASX test cases and verify FPU register get and set APIs, the FPU width supports 64/128/256 bits.
Signed-off-by: Bibo Mao <maobibo
KVM: LoongArch: selftests: Add FPU/LSX/LASX test cases
Add FPU/LSX/LASX test cases and verify FPU register get and set APIs, the FPU width supports 64/128/256 bits.
Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
show more ...
|
| e47b8e1d | 09-Apr-2026 |
Song Gao <gaosong@loongson.cn> |
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 les
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>
show more ...
|
| 11c84019 | 09-Apr-2026 |
Song Gao <gaosong@loongson.cn> |
KVM: LoongArch: selftests: Add basic PMU event counting test
Introduce a basic PMU test that verifies hardware event counting for four performance counters. The test enables the events for CPU cycle
KVM: LoongArch: selftests: Add basic PMU event counting test
Introduce a basic PMU test that verifies hardware event counting for four performance counters. The test enables the events for CPU cycles, instructions retired, branch instructions, and branch misses, runs a fixed number of loops, and checks that the counter values fall within expected ranges. It also validates that the host supports PMU and that the VM feature is enabled.
Signed-off-by: Song Gao <gaosong@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
show more ...
|
| df417423 | 28-Nov-2025 |
Bibo Mao <maobibo@loongson.cn> |
KVM: LoongArch: selftests: Add timer interrupt test case
Add timer test case based on common arch_timer code, timer interrupt with one-shot and period mode is tested.
Signed-off-by: Bibo Mao <maobi
KVM: LoongArch: selftests: Add timer interrupt test case
Add timer test case based on common arch_timer code, timer interrupt with one-shot and period mode is tested.
Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
show more ...
|
| d84fe2f3 | 27-Nov-2025 |
Bibo Mao <maobibo@loongson.cn> |
KVM: LoongArch: selftests: Add exception handler register interface
Add interrupt and exception handler register interface. When exception happens, execute registered exception handler if exists, el
KVM: LoongArch: selftests: Add exception handler register interface
Add interrupt and exception handler register interface. When exception happens, execute registered exception handler if exists, else report an error.
Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
show more ...
|
| 1c5d3a1e | 27-Nov-2025 |
Bibo Mao <maobibo@loongson.cn> |
KVM: LoongArch: selftests: Add basic interfaces
Add some basic function interfaces such as CSR register access, local irq enable or disable APIs.
Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signe
KVM: LoongArch: selftests: Add basic interfaces
Add some basic function interfaces such as CSR register access, local irq enable or disable APIs.
Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
show more ...
|
| 304b93b1 | 20-May-2025 |
Bibo Mao <maobibo@loongson.cn> |
KVM: selftests: Add ucall test support for LoongArch
Add ucall test support for LoongArch, ucall method on LoongArch uses undefined mmio area. It will cause vCPU exiting to hypervisor so that hyperv
KVM: selftests: Add ucall test support for LoongArch
Add ucall test support for LoongArch, ucall method on LoongArch uses undefined mmio area. It will cause vCPU exiting to hypervisor so that hypervisor can communicate with vCPU.
Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
show more ...
|