-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'will/for-next/perf' into for-next/core
* will/for-next/perf: arm64: pmuv3: use arm_pmu ACPI framework arm64: pmuv3: handle !PMUv3 when probing drivers/perf: arm_pmu: add ACPI framework arm64: add function to get a cpu's MADT GICC table drivers/perf: arm_pmu: split out platform device probe logic drivers/perf: arm_pmu: move irq request/free into probe drivers/perf: arm_pmu: split cpu-local irq request/free drivers/perf: arm_pmu: rename irq request/free functions drivers/perf: arm_pmu: handle no platform_device drivers/perf: arm_pmu: simplify cpu_pmu_request_irqs() drivers/perf: arm_pmu: factor out pmu registration drivers/perf: arm_pmu: fold init into alloc drivers/perf: arm_pmu: define armpmu_init_fn drivers/perf: arm_pmu: remove pointless PMU disabling perf: qcom: Add L3 cache PMU driver drivers/perf: arm_pmu: split irq request from enable drivers/perf: arm_pmu: manage interrupts per-cpu drivers/perf: arm_pmu: rework per-cpu allocation MAINTAINERS: Add file patterns for perf device tree bindings
- Loading branch information
Showing
13 changed files
with
1,660 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Qualcomm Datacenter Technologies L3 Cache Performance Monitoring Unit (PMU) | ||
=========================================================================== | ||
|
||
This driver supports the L3 cache PMUs found in Qualcomm Datacenter Technologies | ||
Centriq SoCs. The L3 cache on these SOCs is composed of multiple slices, shared | ||
by all cores within a socket. Each slice is exposed as a separate uncore perf | ||
PMU with device name l3cache_<socket>_<instance>. User space is responsible | ||
for aggregating across slices. | ||
|
||
The driver provides a description of its available events and configuration | ||
options in sysfs, see /sys/devices/l3cache*. Given that these are uncore PMUs | ||
the driver also exposes a "cpumask" sysfs attribute which contains a mask | ||
consisting of one CPU per socket which will be used to handle all the PMU | ||
events on that socket. | ||
|
||
The hardware implements 32bit event counters and has a flat 8bit event space | ||
exposed via the "event" format attribute. In addition to the 32bit physical | ||
counters the driver supports virtual 64bit hardware counters by using hardware | ||
counter chaining. This feature is exposed via the "lc" (long counter) format | ||
flag. E.g.: | ||
|
||
perf stat -e l3cache_0_0/read-miss,lc/ | ||
|
||
Given that these are uncore PMUs the driver does not support sampling, therefore | ||
"perf record" will not work. Per-task perf sessions are not supported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
obj-$(CONFIG_ARM_PMU) += arm_pmu.o | ||
obj-$(CONFIG_ARM_PMU) += arm_pmu.o arm_pmu_platform.o | ||
obj-$(CONFIG_ARM_PMU_ACPI) += arm_pmu_acpi.o | ||
obj-$(CONFIG_QCOM_L2_PMU) += qcom_l2_pmu.o | ||
obj-$(CONFIG_QCOM_L3_PMU) += qcom_l3_pmu.o | ||
obj-$(CONFIG_XGENE_PMU) += xgene_pmu.o |
Oops, something went wrong.