diff options
| author | Andre Przywara <andre.przywara@arm.com> | 2026-10-02 17:11:28 +0100 |
|---|---|---|
| committer | James Morse <james.morse@arm.com> | 2026-10-02 18:27:11 +0100 |
| commit | cb351e3f304b260fc2f11cca5ed819fc9ac7c46d (patch) | |
| tree | 2da5a4d7b338656d2de8b9fe2bee37577b26ac18 /tools/perf/scripts/python/flamegraph.py | |
| parent | 453654684a0d43715b89205918c63fa98b056123 (diff) | |
arm_mpam: detect and enable MPAM-Fb PCC support
The Arm MPAM-Fb specification [1] describes a protocol to access MSC
registers through a firmware interface. This requires a shared memory
region to hold the message, and a mailbox to trigger the access.
For ACPI this is wrapped as a PCC channel, described using existing
ACPI abstractions.
Add code to parse those PCC table descriptions associated with an MSC,
and store the parsed information in the MSC struct.
There can be multiple PCC channels, and each channel can serve multiple
MSCs, so we need to keep track of the channel usage, using a list and
a refcount.
This will be used by the MPAM-Fb access wrapper code.
[1] https://developer.arm.com/documentation/den0144/latest
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Ritwick Sharma <ritwick.sharma@arm.com> # on Arm AGI CPU
Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Tested-by: Srivathsa L Rao <srivathsa.rao@oss.qualcomm.com>
Reviewed-by: Srivathsa L Rao <srivathsa.rao@oss.qualcomm.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Ben Horgan <ben.horgan@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
