diff options
| author | Pengjie Zhang <zhangpengjie2@huawei.com> | 2026-07-08 16:28:17 +0800 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-07-22 20:01:23 +0000 |
| commit | 9aa7df52052399f7759b70f64c6ee561f901a28a (patch) | |
| tree | 39fbabbe00ef4666f237d2e7e9c203470a8de0eb /tools/perf/scripts/python/bin | |
| parent | a13c140cc289c0b7b3770bce5b3ad42ab35074aa (diff) | |
ACPI: CPPC: add paired FFH feedback-counter read hook
cppc_get_perf_ctrs() reads the delivered and reference performance
counters one at a time.
Allow architectures to provide both FFH feedback counters in one
operation when that either narrows the sampling window or avoids extra
cross-CPU reads. Add a small FFH-specific hook for that case and fall
back to the existing per-register reads when unsupported.
Tested-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-by: Sumit Gupta <sumitg@nvidia.com>
Tested-by: Vanshidhar Konda <vanshikonda@os.amperecomputing.com>
Reviewed-by: Vanshidhar Konda <vanshikonda@os.amperecomputing.com>
Signed-off-by: Pengjie Zhang <zhangpengjie2@huawei.com>
Acked-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
