From: Sahara <keun-o.park@windriver.com>
To: Andrew Morton <akpm@linux-foundation.org>, <kpark3469@gmail.com>
Cc: <hpa@zytor.com>, <rafael.j.wysocki@intel.com>,
<peterz@infradead.org>, <rusty@rustcorp.com.au>,
<kirill.shutemov@linux.intel.com>, <oleg@redhat.com>,
<prarit@redhat.com>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] earlyprintk: re-enable earlyprintk calling early_param
Date: Mon, 18 Aug 2014 11:51:30 +0900 [thread overview]
Message-ID: <53F16A32.50608@windriver.com> (raw)
In-Reply-To: <20140814133425.0677d072ff45bce8431baae1@linux-foundation.org>
2014년 08월 15일 05:34, Andrew Morton 쓴 글:
> On Thu, 14 Aug 2014 19:13:36 +0900 kpark3469@gmail.com wrote:
>
>> From: Sahara <keun-o.park@windriver.com>
>>
>> Although there are many obs_kernel_param and its names are
>> earlyprintk and also EARLY_PRINTK is also enabled, we could not
>> see the early_printk output properly until now. This patch
>> considers earlycon as well as earlyprintk.
> Sorry, I just don't understand this description.
>
> What does the patch actually do? What was the kernel behaviour without
> the patch and what is the kernel behaviour with the patch?
>
Without this patch,
- earlycon case -
if early_param("earlycon", ...) is defined and
case #1: if cmdline has "earlycon", then it satisfies the condition
"(p->early && parameq(param, p->str))". You can see early_printk().
case #2: if cmdline has "console", then it satisfies the condition
"strcmp(param, "console") == 0 && strcmp(p->str, "earlycon") == 0". You
can see early_printk().
- earlyprintk case -
if early_param("earlyprintk", ...) is defined and
case #1: if cmdline has "earlyprintk", then it satisfies the condition
"(p->early && parameq(param, p->str))". You can see early_printk().
case #2: if cmdline has "console", it does not satisfies the condition,
because it only checks out "earlycon" only.
This patch fixes the case #2 problem of earlyprintk.
Thanks.
Best Regards,
Sahara.
next prev parent reply other threads:[~2014-08-18 2:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-14 10:13 [PATCH] earlyprintk: re-enable earlyprintk calling early_param kpark3469
2014-08-14 20:34 ` Andrew Morton
2014-08-18 2:51 ` Sahara [this message]
2014-08-15 18:34 ` Rusty Russell
2014-08-18 3:13 ` Sahara
2014-08-19 2:14 ` Keun-O Park
2014-08-27 15:15 ` Thierry Reding
2014-08-29 5:28 ` Sahara
2014-08-29 15:56 ` Stephen Warren
2014-09-01 2:28 ` Sahara
2014-09-02 15:12 ` Stephen Warren
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=53F16A32.50608@windriver.com \
--to=keun-o.park@windriver.com \
--cc=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=kpark3469@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=peterz@infradead.org \
--cc=prarit@redhat.com \
--cc=rafael.j.wysocki@intel.com \
--cc=rusty@rustcorp.com.au \
/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.