From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754925AbbIHRxg (ORCPT ); Tue, 8 Sep 2015 13:53:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56531 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753406AbbIHRx3 (ORCPT ); Tue, 8 Sep 2015 13:53:29 -0400 Message-ID: <1441734807.5459.18.camel@redhat.com> Subject: Re: [Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support From: Mark Salter To: Leif Lindholm Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, jcm@redhat.com, torez@redhat.com, lv.zheng@intel.com Date: Tue, 08 Sep 2015 13:53:27 -0400 In-Reply-To: <20150908171744.GQ10728@bivouac.eciton.net> References: <1441716217-23786-1-git-send-email-leif.lindholm@linaro.org> <1441716217-23786-4-git-send-email-leif.lindholm@linaro.org> <1441730339.5459.8.camel@redhat.com> <20150908171744.GQ10728@bivouac.eciton.net> Organization: Red Hat, Inc Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2015-09-08 at 18:17 +0100, Leif Lindholm wrote: > > > */ > > > - if (!buf || !buf[0]) > > > - if (IS_ENABLED(CONFIG_OF_FLATTREE)) > > > + if (!buf || !buf[0]) { > > > + if (!acpi_disabled) > > > > How do we know for sure that "acpi" has been parsed before "earlycon"? > > Because "arch" comes before "drivers" in kernel image link order. > *twitch* > Yes, not the best argument ever. > I don't think that matters. Things are parsed in order they are found on cmdline (except for early vs late distinction).