aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorYin Kangkai <[email protected]>2011-02-09 11:35:18 +0800
committerGreg Kroah-Hartman <[email protected]>2011-02-17 11:23:50 -0800
commit0d0389e5414c8950b1613e8bdc74289cde3d6d98 (patch)
tree3c67d32443f0439e9e8cae1c0fb299abcd3067c0 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent95926d2db6256e08d06b753752a0d903a0580acc (diff)
serial: change the divisor latch only when prescalar actually changed
In 8250.c original ns16550 autoconfig code, we change the divisor latch when we goto to high speed mode, we're assuming the previous speed is legacy. This some times is not true. For example in a system with both CONFIG_SERIAL_8250 and CONFIG_SERIAL_8250_PNP set, in this case, the code (autoconfig) will be called twice, one in serial8250_init/probe() and the other is from serial_pnp_probe. When serial_pnp_probe calls the autoconfig for NS16550A, it's already in high speed mode, change the divisor latch (quot << 3) in this case will make the UART console garbled. CC: Greg Kroah-Hartman <[email protected]> CC: David Woodhouse <[email protected]> CC: [email protected] CC: [email protected] Signed-off-by: Yin Kangkai <[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