[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOZdJXVMZCFtppMOdruD9sY_EzkATv9XWBqi_NqZ-p2zEo8+2Q@mail.gmail.com>
Date: Fri, 17 Jun 2016 18:24:57 -0500
From: Timur Tabi <timur@...eaurora.org>
To: Aleksey Makarov <aleksey.makarov@...aro.org>
Cc: "Rafael J . Wysocki" <rjw@...ysocki.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Zheng, Lv" <lv.zheng@...el.com>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
Russell King <linux@....linux.org.uk>,
Peter Hurley <peter@...leysoftware.com>,
Graeme Gregory <graeme.gregory@...aro.org>,
Andy Shevchenko <andy.shevchenko@...il.com>,
lkml <linux-kernel@...r.kernel.org>,
Leif Lindholm <leif.lindholm@...aro.org>,
linux-acpi@...r.kernel.org, Yury Norov <ynorov@...iumnetworks.com>,
Christopher Covington <cov@...eaurora.org>,
linux-serial@...r.kernel.org, Mark Salter <msalter@...hat.com>,
Al Stone <ahs3@...hat.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, Len Brown <lenb@...nel.org>
Subject: Re: [PATCH v8 0/4] ACPI: parse the SPCR table
On Fri, May 20, 2016 at 8:03 AM, Aleksey Makarov
<aleksey.makarov@...aro.org> wrote:
> 'ARM Server Base Boot Requirements' [1] mentions SPCR (Serial Port Console
> Redirection Table) [2] as a mandatory ACPI table that specifies the
> configuration of serial console.
>
> Move "earlycon" early_param handling to earlycon.c to parse this option once
>
> Parse SPCR table, setup earlycon and register specified console.
>
> Enable parsing this table on ARM64. Earlycon should be set up as early as
> possible. ACPI boot tables are mapped in
> arch/arm64/kernel/acpi.c:acpi_boot_table_init() called from setup_arch() and
> that's where we parse spcr. So it has to be opted-in per-arch. When
> ACPI_SPCR_TABLE is defined initialization of DT earlycon is deferred until the
> DT/ACPI decision is done.
>
> Implement console_match() for pl011.
>
> Based on the work by Leif Lindholm [3]
> Thanks to Peter Hurley for explaining how this should work.
>
> Should be applied to next-20160520
> Tested on QEMU and ThunderX.
> SPCR support is included in QEMU's ARM64 mach-virt since 2.4 release.
>
> v8:
> - rebase to next-20160520
> - remove the patch "ACPICA: Headers: Add new constants for the DBG2 ACPI table"
> as it have got to linux-next
> - add Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Reviewed-by:
> Peter Hurley <peter@...leysoftware.com> (but see below)
> - fix the patch "serial: pl011: add console matching function". The patch by
> Christopher Covington [4] specifies that SBSA uart does 32-bit access to
> registers and this breaks the match function. In this series the function
> was changed to match when SPCR specifies both mmio32 and mmio access.
> I removed Acked-by: Greg from this patch because of these changes.
All four patches:
Tested-by: Timur Tabi <timur@...eaurora.org>
--
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