From: "Li, Yan I" <yan.i.li@intel.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"greg@kroah.com" <greg@kroah.com>,
yanli@infradead.org
Subject: Re: [PATCH] More i8042-reset quirks for MSI Wind-clone netbooks
Date: Fri, 19 Jun 2009 15:16:55 +0800 [thread overview]
Message-ID: <20090619071634.GA7671@thyme.bj.intel.com> (raw)
In-Reply-To: <20090618154250.GA30209@srcf.ucam.org>
On Thu, Jun 18, 2009 at 11:42:50PM +0800, Matthew Garrett wrote:
> On Thu, Jun 18, 2009 at 08:08:09AM +0800, Li, Yan wrote:
> > That's true. But we are not sure how many regressions we'll meet and
> > whether the efforts devoted to handle them is worthy. (How to handle
> > regressions? Perhaps, ironically, we'll need another 'whitelist' for
> > them!)
>
> If we hit regressions then it's the wrong fix and would have to be
> reverted.
Still, I don't think we have enough reason to enable multi-reset of
i8042 for all machines: the old code (sane and following specs) has
been working well since long ago for most machines, and not until
recently we have seen special cases, no more than half a dozen
machines that needs special treating. These few glitches can't
justify a global move.
Without a good reason, your move (try and revert if hit regressions)
seems to be the trial-and-error approach, and not very good for the
stable release (though perfectly safe for some testing branches).
> Better a small blacklist than a large whitelist (though, in
> the general case, the presence of either is an indication of a bug)
We have no way to know which one is smaller one, the current list is
very small (5 entries). I'll change my mind if this
i8042_dmi_reset_table[] keeps growing.
The presence of {black,white}list (or more generally, quirks) is the
software reflection of the complexity of the world, not necessarily a
bug. They are popular (if not ubiquitous) among the kernel.
> > Does this matter? Does whether Windows fail or not affect our
> > decision here? (Worse that I have no "stock Windows XP" for
> > testing. All I have are those companion Windows Recovery CDs that
> > include all drivers).
>
> Yes. If Windows works without hardware specific drivers then there's a
> flaw in our i8042 setup code that's affecting an unknown number of
> machines, and adding more entries to a static table tells us nothing
> about what proportion of those machines are now fixed - it just tells us
> that we've worked around the issue for the ones that Intel happen to be
> testing.
Not necessarily if we had followed the spec (I'm not sure of this) of
using i8042.
Hope someone can help us do this test. I have already found loads of
touchpad drivers on net so I guess Windows can't drive a touchpad
until a driver is installed. Pure guess.
--
Best regards,
Li, Yan
Moblin Team, Opensource Technology Center, SSG, Intel
Office tel.: +86-10-82171695 (inet: 8-758-1695)
OpenPGP key: 5C6C31EF
IRC: yanli on network irc.freenode.net
next prev parent reply other threads:[~2009-06-19 7:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-15 14:16 [PATCH] More i8042-reset quirks for MSI Wind-clone netbooks Yan Li
2009-06-15 14:34 ` Matthew Garrett
2009-06-15 14:47 ` Li, Yan
2009-06-16 15:42 ` Matthew Garrett
2009-06-16 16:36 ` Alan Cox
2009-06-16 16:43 ` Matthew Garrett
2009-06-16 17:15 ` Alan Cox
2009-06-16 17:17 ` Matthew Garrett
2009-06-17 1:01 ` Li, Yan I
2009-06-17 2:51 ` Matthew Garrett
2009-06-18 0:08 ` Li, Yan
2009-06-18 15:42 ` Matthew Garrett
2009-06-19 7:16 ` Li, Yan I [this message]
2009-06-19 12:37 ` Matthew Garrett
2009-06-22 23:35 ` Andrew Morton
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=20090619071634.GA7671@thyme.bj.intel.com \
--to=yan.i.li@intel.com \
--cc=akpm@linux-foundation.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=greg@kroah.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
--cc=yanli@infradead.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).