Re: [PATCH 4/4] ACPI: PCC: Cache OpRegion command timeout

"lihuisong (C)" <[email protected]>
Newsgroups org.kernel.vger.linux-acpi,dev.linux.lists.acpica-devel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 7/17/2026 4:10 PM, Sudeep Holla wrote:
> 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.
>
> Signed-off-by: Sudeep Holla <[email protected]>
> ---
LGTM,
Reviewed-by: Huisong Li <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.