diff options
author | Venkata Sudheer Kumar Bhavaraju <[email protected]> | 2022-01-30 16:52:35 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-01-31 21:24:35 -0800 |
commit | ef10bd49df234aadd4e0ab693e151c10e5338c65 (patch) | |
tree | 2da5f760c73df22e1f6c187c014f5912df2cf7a1 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | b43471cc10327f098d5a72918cd59fcb91546ca3 (diff) |
qed: use msleep() in qed_mcp_cmd() and add qed_mcp_cmd_nosleep() for udelay.
Change qed_mcp_cmd() to use msleep() (by setting QED_MB_FLAG_CAN_SLEEP
flag) and add new nosleep() version of the api. These api are used to
issue cmds to management fw and the change affects how driver
behaves while waiting for a response/resource.
All sleepable callers of the existing api now use msleep() version. For
non-sleepable callers, the new nosleep() version is explicitly used.
Signed-off-by: Venkata Sudheer Kumar Bhavaraju <[email protected]>
Signed-off-by: Alok Prasad <[email protected]>
Signed-off-by: Ariel Elior <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions