[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOZdJXVkA8Rbxe-ExL7mYQ=gib-0YPmoizXds3+0SFB9DBx0QA@mail.gmail.com>
Date: Thu, 17 Mar 2016 12:20:05 -0500
From: Timur Tabi <timur@...eaurora.org>
To: Aleksey Makarov <aleksey.makarov@...aro.org>
Cc: linux-acpi@...r.kernel.org, linux-serial@...r.kernel.org,
lkml <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Russell King <linux@....linux.org.uk>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J . Wysocki" <rjw@...ysocki.net>,
Leif Lindholm <leif.lindholm@...aro.org>,
Graeme Gregory <graeme.gregory@...aro.org>,
Al Stone <ahs3@...hat.com>,
Christopher Covington <cov@...eaurora.org>,
Yury Norov <ynorov@...iumnetworks.com>,
Peter Hurley <peter@...leysoftware.com>,
"Zheng, Lv" <lv.zheng@...el.com>, Len Brown <lenb@...nel.org>,
Jiri Slaby <jslaby@...e.com>
Subject: Re: [PATCH v4 1/4] ACPI: parse SPCR and enable matching console
On Mon, Feb 29, 2016 at 6:02 AM, Aleksey Makarov
<aleksey.makarov@...aro.org> wrote:
> 'ARM Server Base Boot Requiremets' [1] mentions SPCR (Serial Port
> Console Redirection Table) [2] as a mandatory ACPI table that
> specifies the configuration of serial console.
>
> Parse this table and check if any registered console match the
> description. If it does, enable that console.
>
> Introduce a new function acpi_console_check(). At the uart port
> registration, this function checks if the ACPI SPCR table specifies
> its argument of type struct uart_port to be a console
> and if so calls add_preferred_console().
>
> [1] http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0044a/index.html
> [2] http://msdn.microsoft.com/en-us/library/windows/hardware/dn639131(v=vs.85).aspx
>
> Signed-off-by: Aleksey Makarov <aleksey.makarov@...aro.org>
Tested-by: Timur Tabi <timur@...eaurora.org>
I know another version of patch is coming, but I tested this version
and it works.
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.
Powered by blists - more mailing lists