linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dtor@insightbb.com>
To: Jiri Kosina <jkosina@suse.cz>
Cc: linux-input@vger.kernel.org, hschaa@novell.com
Subject: Re: i8042 resume timing
Date: Mon, 26 May 2008 12:35:19 -0400	[thread overview]
Message-ID: <200805261235.20588.dtor@insightbb.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0805261509250.6718@jikos.suse.cz>

Hi Jiri,

On Monday 26 May 2008 09:19, Jiri Kosina wrote:
> Hi Dmitry,
> 
> There are systems [1] that fail in i8042_resume(), as 
> i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR) call returns error (not sure 
> about the exact error yet, the reporter didn't yet collect i8042.debug 
> output during the failure, as it is not completely reproducible), but 
> retrying after small amount of time succeeds.
> 
> Looks like a buggy hardware to me, which we should workaround. Would you 
> prefer DMI-based match for this retry logic with respect to CTR register 
> on the resume path, or would you accept this as a general retry logic on 
> resume path? (which is very probably not needed on vast majority of 
> systems though).


I think just retrying a couple of times in case of failure is the most
sensible thing to do.

Thanks.

-- 
Dmitry

      reply	other threads:[~2008-05-26 16:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-26 13:19 i8042 resume timing Jiri Kosina
2008-05-26 16:35 ` Dmitry Torokhov [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=200805261235.20588.dtor@insightbb.com \
    --to=dtor@insightbb.com \
    --cc=hschaa@novell.com \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.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 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).