Re: [PATCH 4/4] ACPI: PCC: Cache OpRegion command timeout
"lihuisong (C)" <[email protected]> Tue, 21 Jul 2026 19:53:00 +0800
| Newsgroups | dev.linux.lists.acpica-devel,org.kernel.vger.linux-acpi,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]>