diff options
| author | Sudeep Holla <sudeep.holla@kernel.org> | 2026-09-22 15:43:02 +0100 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-09-25 18:16:26 +0200 |
| commit | c0232f00f703a409bb6e6080d94f6dc7fdebe5ca (patch) | |
| tree | 42c3aabe007c0a1e175f7c570262ca8950127fa8 /tools/perf/scripts/python | |
| parent | fa9c7ee692988edddc1da74bc5257d53dd3c7130 (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')
0 files changed, 0 insertions, 0 deletions
