All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Salter <msalter@redhat.com>
To: Leif Lindholm <leif.lindholm@linaro.org>
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
Subject: Re: [Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support
Date: Tue, 08 Sep 2015 13:53:27 -0400	[thread overview]
Message-ID: <1441734807.5459.18.camel@redhat.com> (raw)
In-Reply-To: <20150908171744.GQ10728@bivouac.eciton.net>

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).


WARNING: multiple messages have this Message-ID (diff)
From: msalter@redhat.com (Mark Salter)
To: linux-arm-kernel@lists.infradead.org
Subject: [Linaro-acpi] [RFC 3/5] acpi/serial: add DBG2 earlycon support
Date: Tue, 08 Sep 2015 13:53:27 -0400	[thread overview]
Message-ID: <1441734807.5459.18.camel@redhat.com> (raw)
In-Reply-To: <20150908171744.GQ10728@bivouac.eciton.net>

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).

  parent reply	other threads:[~2015-09-08 17:53 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-08 12:43 [RFC 0/5] console/acpi: add DBG2 and SPCR console configuration Leif Lindholm
2015-09-08 12:43 ` Leif Lindholm
2015-09-08 12:43 ` [RFC 1/5] arm64: move acpi/dt decision earlier in boot process Leif Lindholm
2015-09-08 12:43   ` Leif Lindholm
2015-09-08 12:43 ` [RFC 2/5] of/serial: move earlycon early_param handling to serial Leif Lindholm
2015-09-08 12:43   ` Leif Lindholm
     [not found]   ` <1441716217-23786-3-git-send-email-leif.lindholm-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-09-08 12:52     ` Mark Rutland
2015-09-08 12:52       ` Mark Rutland
2015-09-08 12:52       ` Mark Rutland
2015-09-08 16:45       ` Leif Lindholm
2015-09-08 16:45         ` Leif Lindholm
2015-09-08 12:43 ` [RFC 3/5] acpi/serial: add DBG2 earlycon support Leif Lindholm
2015-09-08 12:43   ` Leif Lindholm
2015-09-08 13:09   ` Mark Rutland
2015-09-08 13:09     ` Mark Rutland
2015-09-08 17:03     ` Leif Lindholm
2015-09-08 17:03       ` Leif Lindholm
2015-09-08 17:03       ` Leif Lindholm
2015-09-09  9:36       ` Mark Rutland
2015-09-09  9:36         ` Mark Rutland
2015-09-08 16:38   ` [Linaro-acpi] " Mark Salter
2015-09-08 16:38     ` Mark Salter
2015-09-08 17:17     ` Leif Lindholm
2015-09-08 17:17       ` Leif Lindholm
     [not found]       ` <20150908171744.GQ10728-t77nlHhSwNqAroYi2ySoxKxOck334EZe@public.gmane.org>
2015-09-08 17:40         ` Mark Salter
2015-09-08 17:40           ` Mark Salter
2015-09-08 17:40           ` Mark Salter
2015-09-08 17:53       ` Mark Salter [this message]
2015-09-08 17:53         ` Mark Salter
2015-09-08 12:43 ` [RFC 4/5] tty/console: use SPCR table to define console Leif Lindholm
2015-09-08 12:43   ` Leif Lindholm
2015-09-10 15:28   ` [Linaro-acpi] " Mark Salter
2015-09-10 15:28     ` Mark Salter
     [not found] ` <1441716217-23786-1-git-send-email-leif.lindholm-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-09-08 12:43   ` [RFC 5/5] HACK: serial: move pl011 initcall to device_initcall Leif Lindholm
2015-09-08 12:43     ` Leif Lindholm
2015-09-08 12:43     ` Leif Lindholm
2015-09-08 12:56     ` Mark Rutland
2015-09-08 12:56       ` Mark Rutland
2015-09-08 16:55       ` Leif Lindholm
2015-09-08 16:55         ` Leif Lindholm
2015-09-08 16:55         ` Leif Lindholm
2015-09-23  7:38 ` [RFC 0/5] console/acpi: add DBG2 and SPCR console configuration Ming Lei
2015-09-23  7:38   ` Ming Lei
2015-09-23 15:45   ` G Gregory
2015-09-23 15:45     ` G Gregory
2016-01-12 15:14 ` Christopher Covington
2016-01-12 15:14   ` Christopher Covington
2016-01-13  0:07   ` Al Stone
2016-01-13  0:07     ` Al Stone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1441734807.5459.18.camel@redhat.com \
    --to=msalter@redhat.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jcm@redhat.com \
    --cc=leif.lindholm@linaro.org \
    --cc=linaro-acpi@lists.linaro.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=lv.zheng@intel.com \
    --cc=torez@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.