diff options
| author | Finn Thain <[email protected]> | 2016-01-03 16:05:22 +1100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-01-06 21:42:56 -0500 |
| commit | 2f854b82b001b5d05b4e1c81acb947f7bd9cee9f (patch) | |
| tree | e0efdc6bc54882856e8e5631336cdb2b96676570 /tools/perf/scripts/python/bin | |
| parent | 0ad0eff98fec3c940ec199047ff580abaaa5bb1a (diff) | |
ncr5380: Sleep when polling, if possible
When in process context, sleep during polling if doing so won't add
significant latency. In interrupt context or if the lock is held, poll
briefly then give up. Keep both core drivers in sync.
Calibrate busy-wait iterations to allow for variation in chip register
access times between different 5380 hardware implementations.
Signed-off-by: Finn Thain <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Ondrej Zary <[email protected]>
Tested-by: Michael Schmitz <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions