All of lore.kernel.org
 help / color / mirror / Atom feed
From: Parmeshwr Prasad <parmeshwr_prasad-8PEkshWhKlo@public.gmane.org>
To: Borislav Petkov <bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org>
Cc: Matt Fleming
	<matt-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>,
	Dave Young <dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Jon Masters <jonathan-Zp4isUonpHBD60Wz+7aTrA@public.gmane.org>,
	Laszlo Ersek <lersek-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	linux-efi <linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Ard Biesheuvel
	<ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Matt Fleming
	<matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Ricardo Neri
	<ricardo.neri-calderon-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
	lkml <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH v2] efi, x86: Add a "debug" option to the efi= cmdline
Date: Fri, 6 Feb 2015 01:00:12 -0500	[thread overview]
Message-ID: <20150206060007.GA26758@linuxteamdev.amer.dell.com> (raw)
In-Reply-To: <20150205142858.GH23980-fF5Pk5pvG8Y@public.gmane.org>

On Thu, Feb 05, 2015 at 08:28:58AM -0600, Borislav Petkov wrote:
> On Thu, Feb 05, 2015 at 07:45:10AM -0500, Parmeshwr Prasad wrote:
> > It is better if we add some printk from efifb messages.
> > Please review the below patch.
> 
> First of all, we saw you patch.
> 
> Then,
> 
> > From 7fbac896ab87f1b37646ac2f49bb8216ec330642 Mon Sep 17 00:00:00 2001
> > From: Parmeshwr Prasad <parmeshwr_prasad-8PEkshWhKlo@public.gmane.org>
> > Date: Wed, 4 Feb 2015 06:50:32 -0500
> > Subject: [PATCH] efi, x86: Add a debug option to the efi= cmdline
> 
> yours has the same Subject as mine. This is not how we do patches.
> Consult Documentation/SubmittingPatches about how to do them properly.
> 
> What is more, your patch doesn't have a commit message. But it needs one.
> 
> Fix all that, send it as a *separate* patch after mine has been applied
> and people will take a look then.

I am really sorry that I could not mentioned for what purpose this patch is .
I wanted this patch to be included along with your patch.  As your patch is 
To add “debug” cmdline in efi=”<option>”.

There are some messages in efifb which appears while booting. I thought of
Putting that messages under efi=”debug” cmdline. When efi=debug is given 
Then only efifb messages should appear.

> 
> > 
> > Signed-off-by: Parmeshwr Prasad <parmeshwr_prasad-8PEkshWhKlo@public.gmane.org>
> > ---
> >  drivers/video/fbdev/efifb.c | 49 +++++++++++++++++++++++++--------------------
> >  1 file changed, 27 insertions(+), 22 deletions(-)
> > 
> > diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c
> > index 4bfff34..505bc56 100644
> > --- a/drivers/video/fbdev/efifb.c
> > +++ b/drivers/video/fbdev/efifb.c
> > @@ -145,7 +145,8 @@ static int efifb_probe(struct platform_device *dev)
> >                 printk(KERN_DEBUG "efifb: invalid framebuffer address\n");
> >                 return -ENODEV;
> >         }
> > -       printk(KERN_INFO "efifb: probing for efifb\n");
> > +       if (efi_enabled(EFI_DBG))
> > +               printk(KERN_INFO "efifb: probing for efifb\n");
> 
> If we're going to use the "efifb" prefix, change those to pr_info and
> define pr_fmt - lotsa examples in the kernel sources.
> 
> More importantly, you'd need a consensus from people that the printks in
> efifb are really not interesting and should be behind efi=debug.
> 
> HTH.
> 
> -- 
> Regards/Gruss,
>     Boris.
> 
> ECO tip #101: Trim your mails when you reply.
> --
> --
> To unsubscribe from this list: send the line "unsubscribe linux-efi" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Parmeshwr Prasad <parmeshwr_prasad@dell.com>
To: Borislav Petkov <bp@alien8.de>
Cc: Matt Fleming <matt@console-pimps.org>,
	Dave Young <dyoung@redhat.com>,
	Jon Masters <jonathan@jonmasters.org>,
	Laszlo Ersek <lersek@redhat.com>,
	linux-efi <linux-efi@vger.kernel.org>,
	Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	Matt Fleming <matt.fleming@intel.com>,
	Ricardo Neri <ricardo.neri-calderon@linux.intel.com>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] efi, x86: Add a "debug" option to the efi= cmdline
Date: Fri, 6 Feb 2015 01:00:12 -0500	[thread overview]
Message-ID: <20150206060007.GA26758@linuxteamdev.amer.dell.com> (raw)
In-Reply-To: <20150205142858.GH23980@pd.tnic>

On Thu, Feb 05, 2015 at 08:28:58AM -0600, Borislav Petkov wrote:
> On Thu, Feb 05, 2015 at 07:45:10AM -0500, Parmeshwr Prasad wrote:
> > It is better if we add some printk from efifb messages.
> > Please review the below patch.
> 
> First of all, we saw you patch.
> 
> Then,
> 
> > From 7fbac896ab87f1b37646ac2f49bb8216ec330642 Mon Sep 17 00:00:00 2001
> > From: Parmeshwr Prasad <parmeshwr_prasad@dell.com>
> > Date: Wed, 4 Feb 2015 06:50:32 -0500
> > Subject: [PATCH] efi, x86: Add a debug option to the efi= cmdline
> 
> yours has the same Subject as mine. This is not how we do patches.
> Consult Documentation/SubmittingPatches about how to do them properly.
> 
> What is more, your patch doesn't have a commit message. But it needs one.
> 
> Fix all that, send it as a *separate* patch after mine has been applied
> and people will take a look then.

I am really sorry that I could not mentioned for what purpose this patch is .
I wanted this patch to be included along with your patch.  As your patch is 
To add “debug” cmdline in efi=”<option>”.

There are some messages in efifb which appears while booting. I thought of
Putting that messages under efi=”debug” cmdline. When efi=debug is given 
Then only efifb messages should appear.

> 
> > 
> > Signed-off-by: Parmeshwr Prasad <parmeshwr_prasad@dell.com>
> > ---
> >  drivers/video/fbdev/efifb.c | 49 +++++++++++++++++++++++++--------------------
> >  1 file changed, 27 insertions(+), 22 deletions(-)
> > 
> > diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c
> > index 4bfff34..505bc56 100644
> > --- a/drivers/video/fbdev/efifb.c
> > +++ b/drivers/video/fbdev/efifb.c
> > @@ -145,7 +145,8 @@ static int efifb_probe(struct platform_device *dev)
> >                 printk(KERN_DEBUG "efifb: invalid framebuffer address\n");
> >                 return -ENODEV;
> >         }
> > -       printk(KERN_INFO "efifb: probing for efifb\n");
> > +       if (efi_enabled(EFI_DBG))
> > +               printk(KERN_INFO "efifb: probing for efifb\n");
> 
> If we're going to use the "efifb" prefix, change those to pr_info and
> define pr_fmt - lotsa examples in the kernel sources.
> 
> More importantly, you'd need a consensus from people that the printks in
> efifb are really not interesting and should be behind efi=debug.
> 
> HTH.
> 
> -- 
> Regards/Gruss,
>     Boris.
> 
> ECO tip #101: Trim your mails when you reply.
> --
> --
> To unsubscribe from this list: send the line "unsubscribe linux-efi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-02-06  6:00 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-09  9:58 Shorten efi regions output Borislav Petkov
2014-12-09  9:58 ` Borislav Petkov
     [not found] ` <20141209095843.GA3990-fF5Pk5pvG8Y@public.gmane.org>
2014-12-09 12:42   ` Ard Biesheuvel
2014-12-09 12:42     ` Ard Biesheuvel
     [not found]     ` <CAKv+Gu_F+o6NKb5JJ8ZQ7AJbjvASeQF1YcuUXv8seOMa5oaxgg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-09 12:48       ` Borislav Petkov
2014-12-09 12:48         ` Borislav Petkov
2014-12-09 15:35   ` Laszlo Ersek
2014-12-09 15:35     ` Laszlo Ersek
     [not found]     ` <548716C5.6000506-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-12-09 16:45       ` Borislav Petkov
2014-12-09 16:45         ` Borislav Petkov
2014-12-10  2:17   ` Dave Young
2014-12-10  2:17     ` Dave Young
     [not found]     ` <20141210021741.GA3280-4/PLUo9XfK+sDdueE5tM26fLeoKvNuZc@public.gmane.org>
2014-12-10 10:46       ` Borislav Petkov
2014-12-10 10:46         ` Borislav Petkov
     [not found]         ` <20141210104627.GA17053-fF5Pk5pvG8Y@public.gmane.org>
2015-01-05 14:03           ` Matt Fleming
2015-01-05 14:03             ` Matt Fleming
2015-01-05 15:00             ` Laszlo Ersek
2015-01-21  5:48               ` Jon Masters
     [not found]                 ` <54BF3DCA.4070708-Zp4isUonpHBD60Wz+7aTrA@public.gmane.org>
2015-01-21 10:06                   ` Borislav Petkov
2015-01-21 10:06                     ` Borislav Petkov
2015-01-26 10:49                     ` Matt Fleming
     [not found]                       ` <20150126104936.GB3320-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2015-01-30 16:43                         ` [PATCH] efi, x86: Add a "debug" option to the efi= cmdline Borislav Petkov
2015-01-30 16:43                           ` Borislav Petkov
     [not found]                           ` <20150130164309.GG1451-fF5Pk5pvG8Y@public.gmane.org>
2015-01-30 16:58                             ` Laszlo Ersek
2015-01-30 16:58                               ` Laszlo Ersek
2015-01-30 18:06                             ` Randy Dunlap
2015-01-30 18:06                               ` Randy Dunlap
     [not found]                               ` <54CBC815.5060502-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2015-01-30 21:17                                 ` Borislav Petkov
2015-01-30 21:17                                   ` Borislav Petkov
2015-02-04 12:18                                 ` Parmeshwr Prasad
2015-02-04 12:18                                   ` Parmeshwr Prasad
2015-02-05  3:18                             ` Dave Young
2015-02-05  3:18                               ` Dave Young
     [not found]                               ` <20150205031846.GA1903-4/PLUo9XfK/1wF9wiOj0lkEOCMrvLtNR@public.gmane.org>
2015-02-05  8:11                                 ` Borislav Petkov
2015-02-05  8:11                                   ` Borislav Petkov
     [not found]                                   ` <20150205081143.GA23980-fF5Pk5pvG8Y@public.gmane.org>
2015-02-05  8:41                                     ` Dave Young
2015-02-05  8:41                                       ` Dave Young
     [not found]                                       ` <20150205084139.GA23146-je1gSBvt1Tc/CGXRbJeUwh/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
2015-02-05 10:44                                         ` [PATCH v2] " Borislav Petkov
2015-02-05 10:44                                           ` Borislav Petkov
     [not found]                                           ` <20150205104441.GC23980-fF5Pk5pvG8Y@public.gmane.org>
2015-02-05 12:45                                             ` Parmeshwr Prasad
2015-02-05 12:45                                               ` Parmeshwr Prasad
2015-02-05 14:28                                               ` Borislav Petkov
     [not found]                                                 ` <20150205142858.GH23980-fF5Pk5pvG8Y@public.gmane.org>
2015-02-06  6:00                                                   ` Parmeshwr Prasad [this message]
2015-02-06  6:00                                                     ` Parmeshwr Prasad
     [not found]                                                     ` <20150206060007.GA26758-uSknhY0EtF8ok8EplQz5xE1Vg53cnbg30E9HWUfgJXw@public.gmane.org>
2015-02-06 10:49                                                       ` Borislav Petkov
2015-02-06 10:49                                                         ` Borislav Petkov
2015-02-24 22:33                                             ` Matt Fleming
2015-02-24 22:33                                               ` Matt Fleming
2015-04-02 12:27 ` [tip:core/efi] x86/efi: " tip-bot for Borislav Petkov

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=20150206060007.GA26758@linuxteamdev.amer.dell.com \
    --to=parmeshwr_prasad-8pekshwhklo@public.gmane.org \
    --cc=ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org \
    --cc=dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=jonathan-Zp4isUonpHBD60Wz+7aTrA@public.gmane.org \
    --cc=lersek-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=matt-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org \
    --cc=matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=ricardo.neri-calderon-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    /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.