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] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 08 Sep 2016 11:58:08 +0200
From:   Arnd Bergmann <arnd@...db.de>
To:     zhichang <zhichang.yuan02@...il.com>
Cc:     linux-arm-kernel@...ts.infradead.org,
        Zhichang Yuan <yuanzhichang@...ilicon.com>,
        linuxarm@...wei.com, linux-kernel@...r.kernel.org,
        lorenzo.pieralisi@....com, minyard@....org,
        benh@...nel.crashing.org, gabriele.paoloni@...wei.com,
        john.garry@...wei.com, liviu.dudau@....com, zourongrong@...il.com
Subject: Re: [PATCH V2 3/4] ARM64 LPC: support serial based on low-pin-count

On Thursday, September 8, 2016 5:51:25 PM CEST zhichang wrote:
> On 2016年09月07日 22:50, Arnd Bergmann wrote:
> > On Wednesday, September 7, 2016 9:33:52 PM CEST Zhichang Yuan wrote:
> >> From: "zhichang.yuan" <yuanzhichang@...ilicon.com>
> >>
> >> On Hip06 platform, a 16550 compatible UART is connected to low-pin-count and
> >> controlled through the LPC I/O cycles. This patch drives the UART port with
> >> the specific serial in/out function pair based on the indirect-IO mechanism
> >> introduced by Hip06 LPC driver.
> >>
> >> Signed-off-by: zhichang.yuan <yuanzhichang@...ilicon.com>
> > 
> > Any reason this cannot just use the regular drivers/tty/serial/8250/8250_of.c
> > driver?
> I think two reasons for that:
> 1. 8250_of.c is only for devicetree, but we need to support ACPI device too;

ACPI has its own way of describing serial ports, use that instead.

> 2. It seems UPIO_PORT is not supported there.

Should be easy enough to add.

	Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ