Received: by 10.213.65.68 with SMTP id h4csp2789724imn; Mon, 9 Apr 2018 09:03:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx48WBZkakZb758O0TkCxJRTHmZJEMa0428wGoMTXkYom26MHStyyzPAv/c8OJU8nb7NbbwI2 X-Received: by 2002:a17:902:9892:: with SMTP id s18-v6mr23180619plp.95.1523289831961; Mon, 09 Apr 2018 09:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523289831; cv=none; d=google.com; s=arc-20160816; b=OuYaBPzN/Nymkbz0xUHw1UcOYPfWUMA5u1rVInV1BwUejtGzCI8BKsc3H0J9zqZgmr b1PTHG83HdMjjL9kKry6NKe9ZpvjMylX5ZvQx9CwDc8rMEzXfArBE5I60ZvyYff+D5c+ R5zTZ0n5kRjnMd30NsPcDwAARDwl8nbzBWK+CsJ7VYCz8WNslxG5vHL2lj6RigP/qiWQ il3vGvZUveQnVa07o4OGdVb8LrdAZ48PPe7Qq2AR4IE9L0jAqOwjUsBPJuva8nuoEuuC tLlUmZLABeMHcpHzjEnIEP7Lk3KSfmF8WCrP4QanGBOnl3Fr9oG01scbN0VDbHfDeiqw ZDew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=cspGwDRUP/CE9Lyc/X8gXIfmVvPFyAHXOezGBW2upEA=; b=OpjkCZHHIN/KYny1NUsVCo3MBkCdYfHrp+NB03d9s6ETI49lTEsBigR3lDKpiQkr1j vS3ei4uSfZYOG86wBb+8g6kKdiHDJguzbJAF1oFsmyr8egSdepaiQVZgWlYaUiKhihoU zNuOT+RvKUpnUQdx1I5N7APNx204T7HfcaLoEUBqli6KCS4QEb5YenegwTwbsgByayYw dJYkJ1Qtz71xqYs/b8Y8n4TcCgQzzgX7MuqA+CXlbyTjGr2AOuB3UdjXR4h/BpaGBN8m GOmvfUPcQiVMdJvAJfGQHKpCpSWolD8YbVw/qYNUIWvMgCeZpoo24rKSY1RqoiDhvS6e l7qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=sccTlw5W; dkim=fail header.i=@chromium.org header.s=google header.b=WOQ88AIv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r20si365388pfk.224.2018.04.09.09.03.14; Mon, 09 Apr 2018 09:03:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=sccTlw5W; dkim=fail header.i=@chromium.org header.s=google header.b=WOQ88AIv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753220AbeDIQAS (ORCPT + 99 others); Mon, 9 Apr 2018 12:00:18 -0400 Received: from mail-yw0-f196.google.com ([209.85.161.196]:34667 "EHLO mail-yw0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753176AbeDIQAP (ORCPT ); Mon, 9 Apr 2018 12:00:15 -0400 Received: by mail-yw0-f196.google.com with SMTP id h14so2956141ywm.1 for ; Mon, 09 Apr 2018 09:00:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=cspGwDRUP/CE9Lyc/X8gXIfmVvPFyAHXOezGBW2upEA=; b=sccTlw5WX0Sv2BMBXZiWwjwg5DNilrqoIbafv5wgU7zGEg+2o/vYPodYNVNX7k3Mfk POpSPlmPMMDYa1XXak5Vm+jRDWq0TC1fDjtIIbeXLj0INXn6n5FZTJbMNHDMhIGSTON5 AklsVcmZa0/BBu0kb8qRMgqHtTgdAn0nw769u2yYHJM9aHU6PQ519/elC+dAnV5dpU84 V/7lgVhb9gc/kmO+mADvFkdTfxFWUHFiicZJ38VM35NOhCCMG1nm8+TqT6u75+21To+n R2qOGLI3fIIllLY6zcIvpnlK+G6YmrK7ExQjXV/BqYBZXfKssCwQcll25WWlJYQoHrcG ohDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=cspGwDRUP/CE9Lyc/X8gXIfmVvPFyAHXOezGBW2upEA=; b=WOQ88AIvX4T4e1BB2mjXQMx0Wav7fOPj3FmD8cMjf1QGYwggzOaXGaDHheP3w+1HgB AI4InbIdEWqutxvJ9FmKkjigOP7XYhbQUI8j0PA446fPnRU8SS668PUaJiJGf81cWign uEaAu/vfAnjqjY1fU9XpA2r0Wzz24QmU9CK8o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=cspGwDRUP/CE9Lyc/X8gXIfmVvPFyAHXOezGBW2upEA=; b=RpaJrJZFirwHFybJgFkzQp07gv1dPnn5ROsGEw64GXRKnwmAbU1zTwRcRPXvex5s9h aL57O9vlPHl0YfLUrH95YuhRO7xwefNGJlc3iEA7bYHk/tqgptgqzKWLfZWO6qtA2lvk xB1xHFKNspgY37RlBvu02pUAKqq6noXKFTJHrOLz2weFfnlnxCMwrYrUXfv58GshUJel kUb+w84mZtATyZ1k+idtLSbAgkiMWWgpZmeJ6OhntZyTRVSo7r9fCaWi9A2XU0FLnvbL xedCUnz0wOm4fgi79UlDZP5C3w2L2UROQKe791clraERHQRy2mW/B2ARoEEzVwD0nugN Z47w== X-Gm-Message-State: ALQs6tAwDe4QnG0qe1yivCVo+c9rRSzGP+AN79dfprsTT/NAsIHI0iFO 09rzgLzGXy73CRMaZZm/vy0O7fWztXGjn4TfAHAh+w== X-Received: by 10.129.122.130 with SMTP id v124mr11687390ywc.138.1523289614734; Mon, 09 Apr 2018 09:00:14 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:ac19:0:0:0:0:0 with HTTP; Mon, 9 Apr 2018 09:00:13 -0700 (PDT) In-Reply-To: <20180406144713.30d1ca00@alans-desktop> References: <20180314003655.12141-1-djkurtz@chromium.org> <20180314003655.12141-2-djkurtz@chromium.org> <20180326192428.71c23abf@alans-desktop> <20180329143400.6d9256a5@alans-desktop> <20180406144713.30d1ca00@alans-desktop> From: Aaron Durbin Date: Mon, 9 Apr 2018 10:00:13 -0600 X-Google-Sender-Auth: kTIFRcYnyL5o1NeYeRtSCtkkaBA Message-ID: Subject: Re: [PATCH 1/3] serial: 8250_early: Add earlycon support for AMD Carrizo / Stoneyridge To: Alan Cox Cc: Aaron Durbin , Andy Shevchenko , Daniel Kurtz , Ricardo Ribalda Delgado , Greg Kroah-Hartman , Jiri Slaby , Marc Gonzalez , Doug Anderson , Matt Redfearn , Jeffy , "open list:SERIAL DRIVERS" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 6, 2018 at 7:47 AM, Alan Cox wrote: >> But we don't have the full ACPI interpreter up in the early part of >> the kernel. All these 'early' devices have their own setup/config >> which is the source of the issue. Or maybe I am wrong about the full >> interpreter and the early drivers are just not taking advantage of the >> ACPI device binding? > > In very early boot with serial console you just have to pray. No change > there. Once ACPI comes up you however have the information to populate > everything and configure correctly. > > So it should work fine except for kernel hackers trying to do early boot > debug, which is a small (but important) cornercase ? Yes, I think we're on the same page. This patch series is trying to get the early console working correctly given the current code assumptions. -Aaron