public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@gmail.com>
To: Dmitry Torokhov <dtor@insightbb.com>
Cc: Laurent Riffard <laurent.riffard@free.fr>,
	Dave Jones <davej@redhat.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	Vojtech Pavlik <vojtech@suse.cz>
Subject: Re: [BUG 2.6.20-rc2] atkbd.c: Spurious ACK
Date: Sat, 30 Dec 2006 08:20:56 +0100	[thread overview]
Message-ID: <45961358.2010906@gmail.com> (raw)
In-Reply-To: <200612300025.06088.dtor@insightbb.com>

Dmitry Torokhov wrote:

> Somehow you get 2 ACks in a row, I wonder if on your boxes i8042
> pumps command and data into keyboard before i8042_interrupt gets a
> chance to run. Could you please apply the debug patch below and tell
> me the pattern of the data flow.

Yes, I believe the below trace confirms what you said? Both the ED and 
the 00/05 are sent before the first ACK gets back, by a 1 jiffie margin:

drivers/input/serio/i8042.c: ed -> i8042 (panic blink) [N]
drivers/input/serio/i8042.c: 05 -> i8042 (panic blink) [N + 2]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [N + 3]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [N + 6]
drivers/input/serio/i8042.c: ed -> i8042 (panic blink) [M]
drivers/input/serio/i8042.c: 00 -> i8042 (panic blink) [M + 2]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [M + 3]
drivers/input/serio/i8042.c: fa <- i8042 (interrupt, 0, 1) [M + 6]

The +2, +3 and +6 are constant. Forgot to pay attention to M - N, but I 
suppose it's not too important.

For me, the patch as you posted it is actually good to go. No more 
spurious ACK complaints...

Thanks,
Rene.


  reply	other threads:[~2006-12-30  7:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-27 21:32 [BUG 2.6.20-rc2] atkbd.c: Spurious ACK Rene Herman
2006-12-28 19:12 ` Dave Jones
2006-12-28 21:45   ` Rene Herman
2006-12-29  3:40     ` Dmitry Torokhov
2006-12-29  4:20       ` Rene Herman
2006-12-29  5:00         ` Dmitry Torokhov
2006-12-29  5:17           ` Rene Herman
2006-12-29  5:28             ` Dmitry Torokhov
2006-12-29  5:54               ` Rene Herman
2006-12-29 12:45                 ` Laurent Riffard
2006-12-29 19:08                   ` Rene Herman
2006-12-30  5:25                     ` Dmitry Torokhov
2006-12-30  7:20                       ` Rene Herman [this message]
2006-12-30 11:19                         ` Laurent Riffard
2007-01-06  0:21                       ` Tilman Schmidt

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=45961358.2010906@gmail.com \
    --to=rene.herman@gmail.com \
    --cc=davej@redhat.com \
    --cc=dtor@insightbb.com \
    --cc=laurent.riffard@free.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vojtech@suse.cz \
    /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