Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757588AbcCXNQ1 (ORCPT ); Thu, 24 Mar 2016 09:16:27 -0400 Received: from mail-lb0-f194.google.com ([209.85.217.194]:32946 "EHLO mail-lb0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750972AbcCXNQS (ORCPT ); Thu, 24 Mar 2016 09:16:18 -0400 MIME-Version: 1.0 In-Reply-To: <1458823925-19560-1-git-send-email-aleksey.makarov@linaro.org> References: <1458823925-19560-1-git-send-email-aleksey.makarov@linaro.org> Date: Thu, 24 Mar 2016 14:16:16 +0100 X-Google-Sender-Auth: ri6BIT_PCZnFHqeWHn-w2UwjIAM Message-ID: Subject: Re: [PATCH v6 0/5] ACPI: parse the SPCR table From: "Rafael J. Wysocki" To: Aleksey Makarov Cc: Greg Kroah-Hartman , "Rafael J . Wysocki" , Len Brown , "linux-serial@vger.kernel.org" , ACPI Devel Maling List , Linux Kernel Mailing List , "linux-arm-kernel@lists.infradead.org" , Russell King , Leif Lindholm , Graeme Gregory , Al Stone , Christopher Covington , Yury Norov , Peter Hurley , "Zheng, Lv" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1592 Lines: 41 On Thu, Mar 24, 2016 at 1:51 PM, Aleksey Makarov 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 > > Patch "ACPI: add definitions of DBG2 subtypes" is required for the next patch. > ACPI maintainers said that they had got it for the next release of ACPICA, > but it has not appeared in linux-next yet. It will. Patches containing it have just been posted. > Parse SPCR table, setup earlycon and add 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. > > 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-20160324. > > Tested on QEMU. SPCR support is included in QEMU's ARM mach-virt > since 2.4 release. Honestly, I'm not sure why I'm regarded as the right maintainer to send this to. The only patch here touching generic ACPI code is [3/5] (the [2/5] is going in through ACPICA) and the rest is all about ARM64 AFAICS. Why don't you send it to the ARM64 maintainers instead? I'll have some comments on [3/5], I'll send them later today or tomorrow. Thanks, Rafael