aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/pmu-emul.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-12arm: perf/kvm: Use GENMASK for ARMV8_PMU_PMCR_NGravatar James Clark 1-5/+3
2023-10-30Merge branch kvm-arm64/pmu_pmcr_n into kvmarm/nextGravatar Oliver Upton 1-28/+79
2023-10-30Merge branch kvm-arm64/sgi-injection into kvmarm/nextGravatar Oliver Upton 1-1/+1
2023-10-24KVM: arm64: Sanitize PM{C,I}NTEN{SET,CLR}, PMOVS{SET,CLR} before first runGravatar Raghavendra Rao Ananta 1-0/+11
2023-10-24KVM: arm64: PMU: Set PMCR_EL0.N for vCPU based on the associated PMUGravatar Raghavendra Rao Ananta 1-1/+20
2023-10-24KVM: arm64: PMU: Add a helper to read a vCPU's PMCR_EL0Gravatar Reiji Watanabe 1-6/+15
2023-10-24KVM: arm64: Select default PMU in KVM_ARM_VCPU_INIT handlerGravatar Reiji Watanabe 1-12/+4
2023-10-24KVM: arm64: Add PMU event filter bits required if EL3 is implementedGravatar Oliver Upton 1-2/+13
2023-10-24KVM: arm64: Make PMEVTYPER<n>_EL0.NSH RES0 if EL2 isn't advertisedGravatar Oliver Upton 1-7/+14
2023-10-24KVM: arm64: PMU: Introduce helpers to set the guest's PMUGravatar Reiji Watanabe 1-15/+35
2023-09-30KVM: arm64: vgic: Make kvm_vgic_inject_irq() take a vcpu pointerGravatar Marc Zyngier 1-1/+1
2023-08-20KVM: arm64: PMU: Don't advertise STALL_SLOT_{FRONTEND,BACKEND}Gravatar Reiji Watanabe 1-2/+4
2023-08-20KVM: arm64: PMU: Don't advertise the STALL_SLOT eventGravatar Reiji Watanabe 1-2/+1
2023-08-20KVM: arm64: PMU: Avoid inappropriate use of host's PMUVerGravatar Reiji Watanabe 1-6/+16
2023-08-20KVM: arm64: PMU: Disallow vPMU on non-uniform PMUVerGravatar Reiji Watanabe 1-2/+6
2023-06-07KVM: arm64: Use raw_smp_processor_id() in kvm_pmu_probe_armpmu()Gravatar Oliver Upton 1-1/+19
2023-05-31KVM: arm64: Document default vPMU behavior on heterogeneous systemsGravatar Oliver Upton 1-1/+11
2023-05-31KVM: arm64: Iterate arm_pmus list to probe for default PMUGravatar Oliver Upton 1-34/+12
2023-05-01Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmGravatar Linus Torvalds 1-18/+7
2023-04-21Merge branch kvm-arm64/smccc-filtering into kvmarm-master/nextGravatar Marc Zyngier 1-2/+2
2023-04-05KVM: arm64: Add a helper to check if a VM has ran onceGravatar Oliver Upton 1-2/+2
2023-03-30KVM: arm64: PMU: Restore the guest's EL0 event counting after migrationGravatar Reiji Watanabe 1-0/+1
2023-03-29KVM: arm64: Use config_lock to protect data ordered against KVM_RUNGravatar Oliver Upton 1-17/+6
2023-03-13KVM: arm64: PMU: Don't save PMCR_EL0.{C,P} for the vCPUGravatar Reiji Watanabe 1-1/+2
2022-12-05KVM: arm64: PMU: Fix period computation for 64bit counters with 32bit overflowGravatar Marc Zyngier 1-7/+3
2022-11-28KVM: arm64: PMU: Sanitise PMCR_EL0.LP on first vcpu runGravatar Marc Zyngier 1-0/+6
2022-11-28KVM: arm64: PMU: Replace version number '0' with ID_AA64DFR0_EL1_PMUVer_NIGravatar Anshuman Khandual 1-2/+3
2022-11-19KVM: arm64: PMU: Make kvm_pmc the main data structureGravatar Marc Zyngier 1-87/+87
2022-11-19KVM: arm64: PMU: Simplify vcpu computation on perf overflow notificationGravatar Marc Zyngier 1-4/+1
2022-11-19KVM: arm64: PMU: Allow PMUv3p5 to be exposed to the guestGravatar Marc Zyngier 1-1/+1
2022-11-19KVM: arm64: PMU: Implement PMUv3p5 long counter supportGravatar Marc Zyngier 1-3/+5
2022-11-19KVM: arm64: PMU: Move the ID_AA64DFR0_EL1.PMUver limit to VM creationGravatar Marc Zyngier 1-0/+11
2022-11-19KVM: arm64: PMU: Do not let AArch32 change the counters' top 32 bitsGravatar Marc Zyngier 1-8/+27
2022-11-17KVM: arm64: PMU: Simplify setting a counter to a specific valueGravatar Marc Zyngier 1-1/+4
2022-11-17KVM: arm64: PMU: Add counter_index_to_*reg() helpersGravatar Marc Zyngier 1-15/+18
2022-11-17KVM: arm64: PMU: Only narrow counters that are not 64bit wideGravatar Marc Zyngier 1-8/+6
2022-11-17KVM: arm64: PMU: Narrow the overflow checking when requiredGravatar Marc Zyngier 1-1/+2
2022-11-17KVM: arm64: PMU: Distinguish between 64bit counter and 64bit overflowGravatar Marc Zyngier 1-12/+31
2022-11-17KVM: arm64: PMU: Always advertise the CHAIN eventGravatar Marc Zyngier 1-0/+2
2022-11-17KVM: arm64: PMU: Align chained counter implementation with architecture pseud...Gravatar Marc Zyngier 1-234/+86
2022-09-16arm64/sysreg: Use feature numbering for PMU and SPE revisionsGravatar Mark Brown 1-6/+6
2022-09-16arm64/sysreg: Add _EL1 into ID_AA64DFR0_EL1 definition namesGravatar Mark Brown 1-8/+8
2022-09-16arm64/sysreg: Align field names in ID_AA64DFR0_EL1 with architectureGravatar Mark Brown 1-8/+8
2022-05-16Merge branch kvm-arm64/per-vcpu-host-pmu-data into kvmarm-master/nextGravatar Marc Zyngier 1-2/+1
2022-05-15KVM: arm64: Reenable pmu in Protected ModeGravatar Fuad Tabba 1-2/+1
2022-04-27KVM/arm64: Don't emulate a PMU for 32-bit guests if feature not setGravatar Alexandru Elisei 1-1/+22
2022-03-18KVM: arm64: Generalise VM features into a set of flagsGravatar Marc Zyngier 1-2/+2
2022-02-08KVM: arm64: Refuse to run VCPU if the PMU doesn't match the physical CPUGravatar Alexandru Elisei 1-0/+1
2022-02-08KVM: arm64: Add KVM_ARM_VCPU_PMU_V3_SET_PMU attributeGravatar Alexandru Elisei 1-0/+40
2022-02-08KVM: arm64: Keep a list of probed PMUsGravatar Alexandru Elisei 1-2/+23