Home
last modified time | relevance | path

Searched full:hpmcounter (Results 1 – 2 of 2) sorted by relevance

/linux/arch/riscv/kvm/
H A Dvcpu_pmu.c393 * hpmcounter access should result in illegal trap as they must in kvm_riscv_vcpu_pmu_read_hpm()
875 * However, we need to encode a hpmcounter CSR in the counter info field so that in kvm_riscv_vcpu_pmu_init()
877 * KVM doesn't care if the actual hpmcounter is available in the hardware or not. in kvm_riscv_vcpu_pmu_init()
/linux/tools/testing/selftests/kvm/riscv/
H A Dsbi_pmu_test.c150 /* Validate if it is a HPMCOUNTER CSR operation */ in guest_illegal_exception_handler()