Lines Matching full:cci
2 // CCI Cache Coherent Interconnect PMU driver
6 #include <linux/arm-cci.h>
19 #define DRIVER_NAME "ARM-CCI PMU"
165 * Instead of an event id to monitor CCI cycles, a dedicated counter is
166 * provided. Use 0xff to represent CCI cycles and hope that no future revisions
177 * CCI PMU event id is an 8-bit value made of two parts - bits 7:5 for one of 8
638 * Program the CCI PMU counters which have PERF_HES_ARCH set
752 * For all counters on the CCI-PMU, disable any 'enabled' counters,
791 * by the cci
837 dev_err(&pmu_device->dev, "no irqs for CCI PMUs defined\n"); in pmu_request_irq()
842 * Register all available CCI PMU interrupts. In the interrupt handler in pmu_request_irq()
850 "arm-cci-pmu", cci_pmu); in pmu_request_irq()
852 dev_err(&pmu_device->dev, "unable to request IRQ%d for ARM CCI PMU counters\n", in pmu_request_irq()
883 dev_err(&cci_pmu->plat_device->dev, "Invalid CCI PMU counter %d\n", idx); in pmu_read_counter()
921 * CCI-500/CCI-550 has advanced power saving policies, which could gate the
944 * We choose an event which for CCI-5xx is guaranteed not to count.
1010 * The CCI PMU counters have a period of 2^32. To account for the in pmu_event_set_period()
1019 * CCI PMU uses PERF_HES_ARCH to keep track of the counters, whose in pmu_event_set_period()
1151 dev_err(&cci_pmu->plat_device->dev, "Invalid CCI PMU counter %d\n", idx); in cci_pmu_start()
1177 dev_err(&cci_pmu->plat_device->dev, "Invalid CCI PMU counter %d\n", idx); in cci_pmu_stop()
1237 * Reject groups spanning multiple HW PMUs (e.g. CPU + CCI). The in validate_event()
1558 .compatible = "arm,cci-400-pmu",
1562 .compatible = "arm,cci-400-pmu,r0",
1566 .compatible = "arm,cci-400-pmu,r1",
1572 .compatible = "arm,cci-500-pmu,r0",
1576 .compatible = "arm,cci-550-pmu,r0",
1614 "DEPRECATED compatible property, requires secure access to CCI registers"); in cci_pmu_alloc()
1618 dev_warn(dev, "CCI PMU version not supported\n"); in cci_pmu_alloc()
1657 * CCI PMU has one overflow interrupt per counter; but some may be tied in cci_pmu_probe()
1689 "perf/arm/cci:online", NULL, in cci_pmu_probe()
1729 MODULE_DESCRIPTION("ARM CCI PMU support");