diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2018-03-27 11:48:26 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-23 10:16:50 +0200 |
commit | 989983ea849d9421e8b9cd11f18e072fe00ea0d7 (patch) | |
tree | 110e76ddfdf12ba344716ce5756a8a423ba092c1 /tools/perf/scripts/python | |
parent | ebbaf9ab9ebd69f42b286c7a67cc84571c3d947a (diff) |
serial/aspeed-vuart: Implement rx throttling
The aspeed VUART runs at LPC bus frequency, rather than being restricted
to a typical UART baud rate. This means that the VUART can receive a lot
of data, which can overrun tty flip buffers, and/or cause a large amount
of interrupt traffic.
This change implements the uart_port->throttle & unthrottle callbacks,
implemented by disabling the receiver line status & received data
available IRQs.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Tested-by: Eddie James <eajames@linux.vnet.ibm.com>
Tested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions