diff options
author | Srinivas Pandruvada <[email protected]> | 2021-03-30 15:08:40 -0700 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2021-04-07 19:47:22 +0200 |
commit | 5c782817a981981917ec3c647cf521022ee07143 (patch) | |
tree | 8e4aaba8224abf3bf8a49811b3ba9f044af97966 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 61ce18ff01ec17de2b89bbab319e6974d3a3231c (diff) |
platform/x86: ISST: Account for increased timeout in some cases
In some cases when firmware is busy or updating, some mailbox commands
still timeout on some newer CPUs. To fix this issue, change how we
process timeout.
With this change, replaced timeout from using simple count with real
timeout in micro-seconds using ktime. When the command response takes
more than average processing time, yield to other tasks. The worst case
timeout is extended upto 1 milli-second.
Signed-off-by: Srinivas Pandruvada <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions