Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752495AbdLLKlZ (ORCPT ); Tue, 12 Dec 2017 05:41:25 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:42178 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752436AbdLLKlT (ORCPT ); Tue, 12 Dec 2017 05:41:19 -0500 X-Google-Smtp-Source: ACJfBouSbp3Alyfjmk6PFj3YET2lhpi9mwr1tOKPYj3JNuPt9besngJVc/Cpo9reZMFN4R1ilcQ6ng== Date: Tue, 12 Dec 2017 11:41:14 +0100 From: Ingo Molnar To: Prarit Bhargava Cc: linux-acpi@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-serial@vger.kernel.org, Bhupesh Sharma , Lv Zheng , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Jonathan Corbet , Catalin Marinas , Will Deacon , "Rafael J. Wysocki" , Timur Tabi Subject: Re: [PATCH v2 2/2] acpi, x86: Use SPCR table for earlycon on x86 Message-ID: <20171212104114.nddfrykzhezmngnl@gmail.com> References: <20171211155059.17062-1-prarit@redhat.com> <20171211155059.17062-3-prarit@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171211155059.17062-3-prarit@redhat.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1744 Lines: 49 * Prarit Bhargava wrote: > The ACPI SPCR code has been used to define an earlycon console for ARM64 > and can be used for x86. > > Modify the ACPI SPCR parsing code to account for console behaviour > differences between ARM64 and x86. Initialize the SPCR code from > x86 ACPI initialization code. > > Signed-off-by: Prarit Bhargava > Cc: linux-doc@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-pm@vger.kernel.org > Cc: linux-acpi@vger.kernel.org > Cc: linux-serial@vger.kernel.org > Cc: Bhupesh Sharma > Cc: Lv Zheng > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H. Peter Anvin" > Cc: x86@kernel.org > Cc: Jonathan Corbet > Cc: Catalin Marinas > Cc: Will Deacon > Cc: "Rafael J. Wysocki" > Cc: Timur Tabi > --- > Documentation/admin-guide/kernel-parameters.txt | 3 +++ > arch/arm64/kernel/acpi.c | 2 +- > arch/x86/kernel/acpi/boot.c | 4 ++++ > drivers/acpi/Kconfig | 2 +- > drivers/acpi/spcr.c | 7 +++++-- > include/linux/acpi.h | 7 +++++-- > 6 files changed, 19 insertions(+), 6 deletions(-) LGTM from an x86 perspective: Acked-by: Ingo Molnar (assuming it causes no regressions in linux-next.) Since patch #1 affects ARM64 significantly, once that patch is acceptable to the arm64 folks feel free to upstream this second patch via the ARM64 tree as well. Thanks, Ingo