| 48321f60 | 20-Apr-2026 |
Sean Christopherson <seanjc@google.com> |
KVM: selftests: Rename vm_vaddr_unused_gap() => vm_unused_gva_gap()
Now that KVM selftests use gva_t instead of vm_vaddr_t, rename the API for finding an unused range of virtual memory to drop the d
KVM: selftests: Rename vm_vaddr_unused_gap() => vm_unused_gva_gap()
Now that KVM selftests use gva_t instead of vm_vaddr_t, rename the API for finding an unused range of virtual memory to drop the defunct terminology and use "vm" for the scope.
Opportunistically clean up the function comment to drop superfluous and redundant information.
No functional change intended.
Link: https://patch.msgid.link/20260420212004.3938325-13-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
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 ...
|
| 0f90fa6e | 28-Nov-2025 |
Bibo Mao <maobibo@loongson.cn> |
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> S
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>
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 ...
|