Lines Matching refs:__vcpu_sys_reg
72 return __vcpu_sys_reg(vcpu, reg); in vcpu_read_sys_reg()
81 __vcpu_sys_reg(vcpu, reg) = val; in vcpu_write_sys_reg()
297 oslsr = __vcpu_sys_reg(vcpu, OSLSR_EL1) & ~SYS_OSLSR_OSLK; in trap_oslar_el1()
301 __vcpu_sys_reg(vcpu, OSLSR_EL1) = oslsr; in trap_oslar_el1()
312 p->regval = __vcpu_sys_reg(vcpu, r->reg); in trap_oslsr_el1()
326 __vcpu_sys_reg(vcpu, rd->reg) = val; in set_oslsr_el1()
619 __vcpu_sys_reg(vcpu, r->reg) &= mask; in reset_pmu_reg()
625 __vcpu_sys_reg(vcpu, r->reg) &= GENMASK(31, 0); in reset_pmevcntr()
631 __vcpu_sys_reg(vcpu, r->reg) &= ARMV8_PMU_EVTYPE_MASK; in reset_pmevtyper()
637 __vcpu_sys_reg(vcpu, r->reg) &= ARMV8_PMU_COUNTER_MASK; in reset_pmselr()
657 __vcpu_sys_reg(vcpu, r->reg) = val; in reset_pmcr()
662 u64 reg = __vcpu_sys_reg(vcpu, PMUSERENR_EL0); in check_pmu_access_disabled()
701 val = __vcpu_sys_reg(vcpu, PMCR_EL0); in access_pmcr()
706 __vcpu_sys_reg(vcpu, PMCR_EL0) = val; in access_pmcr()
711 val = __vcpu_sys_reg(vcpu, PMCR_EL0) in access_pmcr()
726 __vcpu_sys_reg(vcpu, PMSELR_EL0) = p->regval; in access_pmselr()
729 p->regval = __vcpu_sys_reg(vcpu, PMSELR_EL0) in access_pmselr()
760 pmcr = __vcpu_sys_reg(vcpu, PMCR_EL0); in pmu_counter_idx_valid()
782 idx = __vcpu_sys_reg(vcpu, PMSELR_EL0) in access_pmu_evcntr()
833 idx = __vcpu_sys_reg(vcpu, PMSELR_EL0) & ARMV8_PMU_COUNTER_MASK; in access_pmu_evtyper()
851 __vcpu_sys_reg(vcpu, reg) = p->regval & ARMV8_PMU_EVTYPE_MASK; in access_pmu_evtyper()
854 p->regval = __vcpu_sys_reg(vcpu, reg) & ARMV8_PMU_EVTYPE_MASK; in access_pmu_evtyper()
873 __vcpu_sys_reg(vcpu, PMCNTENSET_EL0) |= val; in access_pmcnten()
878 __vcpu_sys_reg(vcpu, PMCNTENSET_EL0) &= ~val; in access_pmcnten()
882 p->regval = __vcpu_sys_reg(vcpu, PMCNTENSET_EL0); in access_pmcnten()
901 __vcpu_sys_reg(vcpu, PMINTENSET_EL1) |= val; in access_pminten()
904 __vcpu_sys_reg(vcpu, PMINTENSET_EL1) &= ~val; in access_pminten()
906 p->regval = __vcpu_sys_reg(vcpu, PMINTENSET_EL1); in access_pminten()
923 __vcpu_sys_reg(vcpu, PMOVSSET_EL0) |= (p->regval & mask); in access_pmovs()
926 __vcpu_sys_reg(vcpu, PMOVSSET_EL0) &= ~(p->regval & mask); in access_pmovs()
928 p->regval = __vcpu_sys_reg(vcpu, PMOVSSET_EL0); in access_pmovs()
959 __vcpu_sys_reg(vcpu, PMUSERENR_EL0) = in access_pmuserenr()
962 p->regval = __vcpu_sys_reg(vcpu, PMUSERENR_EL0) in access_pmuserenr()
2760 val = __vcpu_sys_reg(vcpu, r->reg); in kvm_sys_reg_get_user()
2807 __vcpu_sys_reg(vcpu, r->reg) = val; in kvm_sys_reg_set_user()