aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorHuisong Li <[email protected]>2022-09-20 17:44:59 +0800
committerRafael J. Wysocki <[email protected]>2022-09-22 21:08:03 +0200
commit91cefefb699120efd0a5ba345d12626b688f86ce (patch)
treeb79f8c9bcba74735344cd6288592e6aa201b8286 /lib/mpi/mpi-mod.c
parentf890157e61b85ce8ae01a41ffa375e3b99853698 (diff)
ACPI: PCC: replace wait_for_completion()
Currently, the function waiting for completion of mailbox operation is 'wait_for_completion()'. The PCC method will be permanently blocked if this mailbox message fails to execute. So this patch replaces it with 'wait_for_completion_timeout()'. And set the timeout interval to an arbitrary retries on top of nominal to prevent the remote processor is slow to respond to PCC commands. Fixes: 77e2a04745ff ("ACPI: PCC: Implement OperationRegion handler for the PCC Type 3 subtype") Signed-off-by: Huisong Li <[email protected]> Reviewed-by: Sudeep Holla <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions