From: Vojtech Pavlik <vojtech@suse.cz>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: john stultz <johnstul@us.ibm.com>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][2.4 Backport] x445 usb legacy fix
Date: Tue, 20 Jul 2004 07:13:53 +0200 [thread overview]
Message-ID: <20040720051353.GD313@ucw.cz> (raw)
In-Reply-To: <20040719200608.280d17a1@lembas.zaitcev.lan>
On Mon, Jul 19, 2004 at 08:06:08PM -0700, Pete Zaitcev wrote:
> The patch looks a little dirty in small places, e.g. the double
> semicolon, the HZ/100 instead of HZ/10, space, two variables
> named "base" in two blocks. I do not believe Vojtech wrote it.
> He must have gotten it from someone else.
Actually I did, but it was a quick cut-and-paste from the USB drivers to
see if it would help with some PS/2 mouse detection problems reported to
me. I never cleaned it up, and it was actually submitted for kernel
inclusion by someone else than me (whose name I unfortunately don't
remember).
> The boot option may be useful, but in the core of the patch looks
> like like a roundabout way to do things. Why don't you trigger
> the meat of the quirk from, say, a DMI scan?
>
> > + { PCI_FIXUP_FINAL, PCI_ANY_ID, PCI_ANY_ID, quirk_usb_disable_smm_bios },
>
> This looks like a bizzare place to use as a hook. The x400 and x445
> obviously have their own bridges with own IDs (their NUMA cannot
> be using Intel parts, right?). So why don't hook off that?
Actually USB Legacy SMM emulation triggers problems on many many more
systems. The quirk does exactly the same thing the USB HCI drivers do in
their init code, it only does it early in the boot process, so that
even if the USB drivers are modules, the i8042 controller and PS/2 mouse
and keyboard initialization proceeds correctly.
The other options are to compile the HCI drivers into the kernel or to
have i8042 compiled as a module.
> The routines to take ownership look sane from USB HC access
> (not sane from C programming standpoint, as I mentioned above).
> But in any case, it's not something I can decide. Marcelo has that
> power for stock kernels, and for Red Hat kernels there's a process
> which starts with Bugzilla.
--
Vojtech Pavlik
SuSE Labs, SuSE CR
next prev parent reply other threads:[~2004-07-20 5:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-20 2:07 [PATCH][2.4 Backport] x445 usb legacy fix john stultz
2004-07-20 3:06 ` Pete Zaitcev
2004-07-20 5:13 ` Vojtech Pavlik [this message]
2004-07-20 5:51 ` Pete Zaitcev
2004-07-20 12:58 ` Vojtech Pavlik
2004-07-20 17:22 ` john stultz
2004-07-20 18:17 ` Marcelo Tosatti
[not found] ` <20040816113314.GD14159@logos.cnet>
[not found] ` <1092678515.2429.4.camel@cog.beaverton.ibm.com>
2004-08-25 16:53 ` Greg KH
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=20040720051353.GD313@ucw.cz \
--to=vojtech@suse.cz \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zaitcev@redhat.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