linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: Matt Fleming <matt@console-pimps.org>, Borislav Petkov <bp@alien8.de>
Cc: Dave Young <dyoung@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: Shorten efi regions output
Date: Mon, 05 Jan 2015 16:00:51 +0100	[thread overview]
Message-ID: <54AAA723.1070605@redhat.com> (raw)
In-Reply-To: <20150105140332.GB3163@console-pimps.org>

On 01/05/15 15:03, Matt Fleming wrote:
> On Wed, 10 Dec, at 11:46:28AM, Borislav Petkov wrote:
>> On Wed, Dec 10, 2014 at 10:17:41AM +0800, Dave Young wrote:
>>> I have same feeling with you, it is too long for most of people.
>>>
>>> Since the printk code are for EFI_DEBUG, they are around the #ifdef
>>> so I would like to see a kernel param like efi_debug=on, so only
>>> efi_debug is specified then these verbose messages are printed.
>>> Without the param kernel can print some basic infomation about the
>>> memory ranges.
>>>
>>> In arm64 code there's already a uefi_debug param it can be moved to
>>> general code so that there will be a goable switch.
>>
>> Hmm, makes sense to me. Maybe we should really hide those behind a
>> debug switch, the question is whether asking the user to boot with
>> "efi_debug=on" in order to see the regions is ok. And I think it is ok
>> because we do that when debugging other stuff so I don't see anything
>> different here.
>>
>> And then when they're disabled by default, we don't really need to
>> shorten them as they're pure debug output then.
>>
>> Matt?
> 
> I'm fine with disabling the EFI memory output regions by default.
> 
> Printing the regions is still useful for debugging, but like you
> mention, we frequently ask users to enable other debug options when
> tracking down issues.
> 
> Laszlo, would you be OK with that?

Sure.

Thanks
Laszlo

  reply	other threads:[~2015-01-05 15:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-09  9:58 Shorten efi regions output Borislav Petkov
     [not found] ` <20141209095843.GA3990-fF5Pk5pvG8Y@public.gmane.org>
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 15:35   ` Laszlo Ersek
     [not found]     ` <548716C5.6000506-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-12-09 16:45       ` Borislav Petkov
2014-12-10  2:17   ` Dave Young
     [not found]     ` <20141210021741.GA3280-4/PLUo9XfK+sDdueE5tM26fLeoKvNuZc@public.gmane.org>
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 15:00             ` Laszlo Ersek [this message]
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-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
     [not found]                           ` <20150130164309.GG1451-fF5Pk5pvG8Y@public.gmane.org>
2015-01-30 16:58                             ` Laszlo Ersek
2015-01-30 18:06                             ` Randy Dunlap
     [not found]                               ` <54CBC815.5060502-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2015-01-30 21:17                                 ` Borislav Petkov
2015-02-04 12:18                                 ` Parmeshwr Prasad
2015-02-05  3:18                             ` Dave Young
     [not found]                               ` <20150205031846.GA1903-4/PLUo9XfK/1wF9wiOj0lkEOCMrvLtNR@public.gmane.org>
2015-02-05  8:11                                 ` Borislav Petkov
     [not found]                                   ` <20150205081143.GA23980-fF5Pk5pvG8Y@public.gmane.org>
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
     [not found]                                           ` <20150205104441.GC23980-fF5Pk5pvG8Y@public.gmane.org>
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
     [not found]                                                     ` <20150206060007.GA26758-uSknhY0EtF8ok8EplQz5xE1Vg53cnbg30E9HWUfgJXw@public.gmane.org>
2015-02-06 10:49                                                       ` Borislav Petkov
2015-02-24 22:33                                             ` Matt Fleming

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=54AAA723.1070605@redhat.com \
    --to=lersek@redhat.com \
    --cc=ard.biesheuvel@linaro.org \
    --cc=bp@alien8.de \
    --cc=dyoung@redhat.com \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matt.fleming@intel.com \
    --cc=matt@console-pimps.org \
    --cc=ricardo.neri-calderon@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).