aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2012-03-13 13:27:23 +0100
committerGreg Kroah-Hartman <[email protected]>2012-03-14 12:27:39 -0700
commit9b96fbacda34079dea0638ee1e92c56286f6114a (patch)
tree20e4ef458942e413347a75143255f1b0ef62fd90 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent60f4b002ab209525c2b818703291ac9a14890e17 (diff)
serial: PL011: clear pending interrupts
Chanho Min reported that when the boot loader transfers control to the kernel, there may be pending interrupts causing the UART to lock up in an eternal loop trying to pick tokens from the FIFO (since the RX interrupt flag indicates there are tokens) while in practice there are no tokens - in fact there is only a pending IRQ flag. This patch address the issue with a combination of two patches suggested by Russell King that clears and mask all interrupts at probe() and clears any pending error and RX interrupts at port startup time. We suspect the spurious interrupts are a side-effect of switching the UART from FIFO to non-FIFO mode. Cc: Shreshtha Kumar Sahu <[email protected]> Reported-by: Chanho Min <[email protected]> Suggested-by: Russell King <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Reviewed-by: Jong-Sung Kim <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions