Re: [PATCH v10 3/4] ARM64: ACPI: enable ACPI_SPCR_TABLE

From: Hanjun Guo
Date: Thu Sep 08 2016 - 09:37:17 EST


On 2016/9/8 19:16, Will Deacon wrote:
On Wed, Sep 07, 2016 at 12:30:19PM +0300, Aleksey Makarov wrote:

On 09/05/2016 03:36 PM, Aleksey Makarov wrote:
SBBR mentions SPCR as a mandatory ACPI table. So enable it for 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() that
is 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. Initialize DT earlycon
if ACPI is disabled.

Hi Will, Catalin,

Can you review this patch and consider ACKing it please?

Hanjun, Al, Mark, Graeme -- any comments on this?

We tested this patch on D02, although d02 is 8250 based
uart, but this patch is the core part, which makes sense
to me,

Acked-by: Hanjun Guo <hanjun.guo@xxxxxxxxxx>

Thanks
Hanjun