linux-stable/drivers/tty
Aaron Sierra c5fda2b861 tty: serial: exar: Relocate sleep wake-up handling
[ Upstream commit c7e1b40590 ]

Exar sleep wake-up handling has been done on a per-channel basis by
virtue of INT0 being accessible from each channel's address space. I
believe this was initially done out of necessity, but now that Exar
devices have their own driver, we can do things more efficiently by
registering a dedicated INT0 handler at the PCI device level.

I see this change providing the following benefits:

    1. If more than one port is active, eliminates the redundant bus
       cycles for reading INT0 on every interrupt.
    2. This note associated with hooking in the per-channel handler in
       8250_port.c is resolved:
        /* Fixme: probably not the best place for this */

Cc: Matt Schulte <matts@commtech-fastcom.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-26 11:02:11 +02:00
..
hvc License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ipwireless License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
serdev serdev: ttyport: enforce tty-driver open() requirement 2017-12-20 10:10:33 +01:00
serial tty: serial: exar: Relocate sleep wake-up handling 2018-04-26 11:02:11 +02:00
vt vt: change SGR 21 to follow the standards 2018-04-08 14:26:33 +02:00
amiserial.c tty: amiserial: drop broken alt-speed support 2017-06-13 11:49:58 +02:00
bfin_jtag_comm.c
cyclades.c tty: cyclades: drop broken alt-speed support 2017-06-13 11:49:58 +02:00
ehv_bytechan.c tty: Convert to using %pOF instead of full_name 2017-07-30 07:35:28 -07:00
goldfish.c tty: goldfish: Enable 'earlycon' only if built-in 2018-03-24 11:01:23 +01:00
isicom.c tty: isicom: constify pci_device_id. 2017-07-30 07:35:27 -07:00
Kconfig tty: goldfish: Enable 'earlycon' only if built-in 2018-03-24 11:01:23 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
metag_da.c
mips_ejtag_fdc.c tty: mips_ejtag_fdc: constify mips_cdmm_device_id 2017-08-28 20:51:22 +02:00
moxa.c tty: moxa: constify pci_device_id. 2017-07-30 07:35:28 -07:00
moxa.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mxser.c mxser: fix timeout calculation for low rates 2017-09-18 18:19:20 +02:00
mxser.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
n_gsm.c tty: n_gsm: Allow ADM response in addition to UA for control dlci 2018-04-12 12:32:19 +02:00
n_hdlc.c
n_null.c tty: handle the case where we cannot restore a line discipline 2017-06-03 18:43:46 +09:00
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c tty: make n_tty_read() always abort if hangup is in progress 2018-04-24 09:36:21 +02:00
nozomi.c
pty.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rocket.c tty: rocket: drop broken alt-speed support 2017-06-13 11:49:58 +02:00
rocket.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rocket_int.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
synclink.c tty: synclink: constify pci_device_id. 2017-07-30 07:35:27 -07:00
synclink_gt.c tty: synclink_gt: constify pci_device_id. 2017-07-30 07:35:28 -07:00
synclinkmp.c tty: synclinkmp: constify pci_device_id. 2017-07-30 07:35:27 -07:00
sysrq.c sysrq : fix Show Regs call trace on ARM 2017-12-10 13:40:42 +01:00
tty_audit.c
tty_baudrate.c
tty_buffer.c tty: fix tty_ldisc_receive_buf() documentation 2018-01-02 20:31:17 +01:00
tty_io.c tty: make n_tty_read() always abort if hangup is in progress 2018-04-24 09:36:21 +02:00
tty_ioctl.c
tty_jobctrl.c
tty_ldisc.c tty: fix data race between tty_init_dev and flush of buf 2018-02-03 17:39:19 +01:00
tty_ldsem.c
tty_mutex.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tty_port.c Revert "tty: fix port buffer locking" 2017-06-04 10:23:25 +02:00
vcc.c sparc64: vcc: make ktermios const 2017-08-29 15:10:44 -07:00