aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorPaul Fox <[email protected]>2011-07-26 16:42:26 +0100
committerIngo Molnar <[email protected]>2011-08-05 23:47:55 +0200
commita3ea14df0e383f44dcb2e61badb71180dbffe526 (patch)
tree227eea7ae7604ca79d2477896df3c25150b676e9 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent140d0b2108faebc77c6523296e211e509cb9f5f9 (diff)
x86, olpc: Wait for last byte of EC command to be accepted
When executing EC commands, only waiting when there are still more bytes to write is usually fine. However, if the system suspends very quickly after a call to olpc_ec_cmd(), the last data byte may not yet be transferred to the EC, and the command will not complete. This solves a bug where the SCI wakeup mask was not correctly written when going into suspend. It means that sometimes, on XO-1.5 (but not XO-1), the devices that were marked as wakeup sources can't wake up the system. e.g. you ask for wifi wakeups, suspend, but then incoming wifi frames don't wake up the system as they should. Signed-off-by: Paul Fox <[email protected]> Signed-off-by: Daniel Drake <[email protected]> Acked-by: Andres Salomon <[email protected]> Cc: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions