Lines Matching full:cci
2 // CCI Cache Coherent Interconnect PMU driver
6 #include <linux/arm-cci.h>
16 #define DRIVER_NAME "ARM-CCI PMU"
160 * Instead of an event id to monitor CCI cycles, a dedicated counter is
161 * provided. Use 0xff to represent CCI cycles and hope that no future revisions
172 * CCI PMU event id is an 8-bit value made of two parts - bits 7:5 for one of 8
633 * Program the CCI PMU counters which have PERF_HES_ARCH set
739 * For all counters on the CCI-PMU, disable any 'enabled' counters,
778 * by the cci
824 dev_err(&pmu_device->dev, "no irqs for CCI PMUs defined\n"); in pmu_request_irq()
829 * Register all available CCI PMU interrupts. In the interrupt handler in pmu_request_irq()
837 "arm-cci-pmu", cci_pmu); in pmu_request_irq()
839 dev_err(&pmu_device->dev, "unable to request IRQ%d for ARM CCI PMU counters\n", in pmu_request_irq()
870 dev_err(&cci_pmu->plat_device->dev, "Invalid CCI PMU counter %d\n", idx); in pmu_read_counter()
908 * CCI-500/CCI-550 has advanced power saving policies, which could gate the
931 * We choose an event which for CCI-5xx is guaranteed not to count.
997 * The CCI PMU counters have a period of 2^32. To account for the in pmu_event_set_period()
1006 * CCI PMU uses PERF_HES_ARCH to keep track of the counters, whose in pmu_event_set_period()
1137 dev_err(&cci_pmu->plat_device->dev, "Invalid CCI PMU counter %d\n", idx); in cci_pmu_start()
1163 dev_err(&cci_pmu->plat_device->dev, "Invalid CCI PMU counter %d\n", idx); in cci_pmu_stop()
1223 * Reject groups spanning multiple HW PMUs (e.g. CPU + CCI). The in validate_event()
1545 .compatible = "arm,cci-400-pmu",
1549 .compatible = "arm,cci-400-pmu,r0",
1553 .compatible = "arm,cci-400-pmu,r1",
1559 .compatible = "arm,cci-500-pmu,r0",
1563 .compatible = "arm,cci-550-pmu,r0",
1601 "DEPRECATED compatible property, requires secure access to CCI registers"); in cci_pmu_alloc()
1605 dev_warn(dev, "CCI PMU version not supported\n"); in cci_pmu_alloc()
1643 * CCI PMU has one overflow interrupt per counter; but some may be tied in cci_pmu_probe()
1675 "perf/arm/cci:online", NULL, in cci_pmu_probe()
1713 MODULE_DESCRIPTION("ARM CCI PMU support");