diff options
| author | Alexander Usyskin <[email protected]> | 2022-11-16 14:47:34 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-11-23 19:43:33 +0100 |
| commit | 83f47eea742c1152c237398fc040ceba04fc5d76 (patch) | |
| tree | 523f3c402f976b746e9713aef4faba13aafaa025 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 6865788f5ad998f261e37f6b029d61d3bb7dc373 (diff) | |
mei: add timeout to send
When driver wakes up the firmware from the low power state,
it is sending a memory ready message.
The send is done via synchronous/blocking function to ensure
that firmware is in ready state. However, in case of firmware
undergoing reset send might be block forever.
To address this issue a timeout is added to blocking
write command on the internal bus.
Introduce the __mei_cl_send_timeout function to use instead of
__mei_cl_send in cases where timeout is required.
The mei_cl_write has only two callers and there is no need to split
it into two functions.
Signed-off-by: Alexander Usyskin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions