lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed,  1 Apr 2015 14:00:20 +0800
From:	Peter Hung <hpeter@...il.com>
To:	gregkh@...uxfoundation.org
Cc:	jslaby@...e.cz, linux-serial@...r.kernel.org,
	linux-kernel@...r.kernel.org, tom_tsai@...tek.com.tw,
	peter_hong@...tek.com.tw, hpeter+kernel@...il.com,
	Peter Hung <hpeter+linux_kernel@...il.com>
Subject: [PATCH V3 0/1] serial: 8250_pci: Fintek products S3 patch

The patch works for Fintek F81504/F81508/F81512 PCI to Serial Port IC.
Serial port of this IC will failed after wakeup from S3(STR).

It's due to this PCI device's configuration space from 0x40 to 
0x40 + max_port * 0x08 should be re-configured when the system wakeup from 
S3(STR). If had no re-configure after S3, It's will all zero. It's will make
uart function disabled.

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

V3 changelog
1. due to cleanup code patch is applied, this patch is following branch
   tty_testing fbf47635315ab308c9b58a1ea0906e711a9228de.

V2 changelog (old)
1. swap pci_fintek_setup() / pci_fintek_init() location in source code to
   make diff more readable

V1 changelog (old)
1. Initial version, including 2 patches, one is cleanup code, another is fix
   S3 bug. 

Peter Hung (1):
  serial: 8250_pci: port failed after wakeup from S3

 drivers/tty/serial/8250/8250_pci.c | 114 ++++++++++++++++---------------------
 1 file changed, 50 insertions(+), 64 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists