All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Renninger <trenn@suse.de>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Len Brown <lenb@kernel.org>, linux-acpi@vger.kernel.org
Subject: Re: [PATCH] ACPI: Make Embedded Controller command timeout delay configurable
Date: Mon, 25 Oct 2010 00:34:50 +0200	[thread overview]
Message-ID: <201010250034.51170.trenn@suse.de> (raw)
In-Reply-To: <201010230143.24858.rjw@sisk.pl>

On Saturday 23 October 2010 01:43:24 am Rafael J. Wysocki wrote:
> On Saturday, October 23, 2010, Thomas Renninger wrote:
> > On Friday 22 October 2010 11:22:00 pm Rafael J. Wysocki wrote:
> > > On Friday, October 22, 2010, Len Brown wrote:
> > > > applied
> > > 
> > > OK
> > > 
> > > What if I do ec_delay=0 ?
> > Same as with quite some other boot params:
> > Your machine won't boot.
> > 
> > Why should this be a problem?
> 
> Because your intention is to allow the users to _increase_ the delay and not
> to decrease it.  Decreasing it is known dangerous, so why don't you simply
> put a limit in there?
> 
> I know there are many boot params that will hurt you if not used with care,
> but is that a sufficient reason for adding another one?
To be honest I have not thought about the debug aspect of this param when
I sent it.
But I think Len is right and this can be used as a nice debug param to test
whether there are EC accesses that take really long.
For example you have the requirement that your EC provides data for all
requests in X ms. You boot acpi.ec_delay=X and if there are timeout complaints 
you can then have a look at your EC firmware or at the kernel/ACPI code what 
the reasons were that things timed out.

Nobody will decrease the limit, unless he wants to examine above problems.
I can write kernel-parameters documentation, but I expect people finding this
had a look at the code. If people see AE_TIME messages with a too low value, 
they should know that it obviously was the boot param they added and they can 
simply remove it again.

        Thomas

      reply	other threads:[~2010-10-24 22:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 16:24 [PATCH] ACPI: Make Embedded Controller command timeout delay configurable Thomas Renninger
2010-10-21 19:53 ` Rafael J. Wysocki
2010-10-22  5:25   ` Len Brown
2010-10-22  5:22 ` Len Brown
2010-10-22 21:22   ` Rafael J. Wysocki
2010-10-22 22:46     ` Thomas Renninger
2010-10-22 23:43       ` Rafael J. Wysocki
2010-10-24 22:34         ` Thomas Renninger [this message]

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=201010250034.51170.trenn@suse.de \
    --to=trenn@suse.de \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /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.