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-prev] [day] [month] [year] [list]
Message-ID: <20070517100439.3fb749cb@the-village.bc.nu>
Date:	Thu, 17 May 2007 10:04:39 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	David Woodhouse <dwmw2@...radead.org>
Cc:	torvalds@...l.org, akpm@...l.org, rmk@....linux.org.uk,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] NS16550A: Restore HS settings in EXCR2 on resume

On Thu, 17 May 2007 14:27:39 +0800
David Woodhouse <dwmw2@...radead.org> wrote:

> After a suspend/resume cycle, the UART may have been reset into
> low-speed mode -- either because it's actually been reset, or because
> the firmware pokes at the old-style divisor registers. If we detected it
> as a NS16550A SuperIO chip in the first place and set baud_base to
> 921600, then we should do so again in the resume path.
> 
> This patch adds that code to serial8250_resume_port(), and also makes
> serial8250_resume() actually call serial8250_resume_port() for each port
> instead of just calling uart_resume_port() directly. And thus fixes
> serial port operation after suspend/resume.
> 
> It also fixes a bogus comment where we write the EXCR2 register with a
> comment saying /* EXCR1 */
> 
> Signed-off-by: David Woodhouse <dwmw2@...radead.org>

Acked-by: Alan Cox <alan@...hat.com>

-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ