summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@kernel.org>2026-09-22 15:43:02 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-25 18:16:26 +0200
commitc0232f00f703a409bb6e6080d94f6dc7fdebe5ca (patch)
tree42c3aabe007c0a1e175f7c570262ca8950127fa8 /tools/perf/scripts/python/flamegraph.py
parentfa9c7ee692988edddc1da74bc5257d53dd3c7130 (diff)
ACPI: PCC: Cache OpRegion command timeout
The PCC OperationRegion handler computes the same command completion wait timeout each time it sends a command. The timeout is derived from static channel properties, so compute it once when the PCC channel is set up and store the millisecond value in the mailbox client timeout field. Use the cached timeout when waiting for the OperationRegion command to complete. This keeps the timeout calculation in one place and avoids recomputing it for every command. Reviewed-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org> Link: https://patch.msgid.link/20260922144302.3847593-5-sudeep.holla@kernel.org Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions