linux_dsm_epyc7002/drivers/tty/serial/8250
Peter Hung 6a8bc239a8 serial: 8250_pci: port failed after wakeup from S3
Serial ports of F81504/F81508/F81512 will failed when wakeup from S3(STR).

It's due to when the system wakeup from S3(STR), this PCI device's
configuration space from 0x40 to 0x40 + max_port * 0x08 should be
re-configured.

We move all initialization from pci_fintek_setup() to pci_fintek_init() and
set it to pci_serial_quirks .init section. It's will re-init this device when
system wakeup from pciserial_resume_ports().

Signed-off-by: Peter Hung <hpeter+linux_kernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-04-10 14:43:48 +02:00
..
8250_accent.c
8250_acorn.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
8250_boca.c
8250_core.c earlycon: 8250: Document kernel command line options 2015-04-10 14:39:54 +02:00
8250_dma.c serial: 8250_dma: don't bother DMA with small transfers 2015-02-02 10:11:26 -08:00
8250_dw.c serial: 8250_dw: only get the clock rate in one place 2015-03-26 23:04:42 +01:00
8250_early.c earlycon: 8250: Fix command line regression 2015-04-10 14:39:54 +02:00
8250_em.c serial: 8250: remove the redundant include 2015-03-26 22:21:08 +01:00
8250_exar_st16c554.c
8250_fintek.c 8250/fintek: Use rs485 handler from serial_core 2014-11-06 14:59:21 -08:00
8250_fourport.c
8250_fsl.c serial: 8250: introduce up_to_u8250p() helper 2014-07-17 18:16:23 -07:00
8250_gsc.c parisc: Fix interrupt routing for C8000 serial ports 2013-07-31 23:42:32 +02:00
8250_hp300.c serial: 8250: remove the redundant include 2015-03-26 22:21:08 +01:00
8250_hub6.c
8250_mtk.c More ACPI and power management updates for 3.19-rc1 2014-12-18 20:28:33 -08:00
8250_omap.c serial: 8250: remove the redundant include 2015-03-26 22:21:08 +01:00
8250_pci.c serial: 8250_pci: port failed after wakeup from S3 2015-04-10 14:43:48 +02:00
8250_pnp.c serial: 8250_pnp: Enable PNP_CONSOLE for console ports 2015-02-02 10:11:25 -08:00
8250.h serial: 8250: Decouple RSA probe 2015-03-26 18:18:20 +01:00
Kconfig serial: 8250_pci: replace switch-case by formula 2015-03-26 23:00:36 +01:00
Makefile tty: serial: Add 8250-core based omap driver 2014-11-05 19:05:13 -08:00
serial_cs.c tty: delete non-required instances of include <linux/init.h> 2014-01-07 17:05:21 -08:00