From: David Engraf <david.engraf@netcom.eu>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-kernel@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz,
gregkh@suse.de, linux-usb-devel@lists.sourceforge.net
Subject: Re: [linux-usb-devel] [PATCH] USB BIOS early handoff only when the we the driver is configured
Date: Wed, 01 Aug 2007 09:21:12 +0200 [thread overview]
Message-ID: <46B03468.3010307@netcom.eu> (raw)
In-Reply-To: <46B03078.5040305@netcom.eu>
At the moment I have a Jetway/VIA Mainboard which seems to have a
problem with the handoff.
Evenwhen I wait about 20 seconds the EHCI_USBLEGSUP_BIOS flag is not
cleared. I think this is a BIOS
bug and I will have to talk to Jetway/VIA.
On the other hand, I don't need the EHCI controller in my kernel, so I
think the kernel shouldn't take the
handover for the EHCI controller like other OS which do not have an usb
driver and so don't know that
there is a EHCI_USBLEGSUP_BIOS flag which should be cleared.
David Engraf
Alan Stern schrieb:
> On Tue, 31 Jul 2007, David Engraf wrote:
>
>
>> When CONFIG_USB_UHCI_HCD, CONFIG_USB_OHCI_HCD or CONFIG_USB_EHCI_HCD is
>> not configured we don't need to call the quirk_usb_handoff_xxxx function
>> in driver/usb/host/pci_quiks.c.
>>
>> I think the kernel shouldn't take the control over the usb controller
>> when we don't have the driver for it,
>> so with this patch the kernel takes the control only when the driver is
>> configured.
>>
>
> Have you found a system where this really improves behavior or is it
> just theoretical?
>
> There _is_ a theoretical reason for running the handoff routines even
> when the corresponding driver isn't configured. Namely, at startup the
> controller will be in some undetermined state as a result of usage by
> the firmware. Resetting it to a known idle state is a good idea.
>
> Bear in mind that on some systems, not performing the handoff has
> caused interrupt storms during startup.
>
> Alan Stern
>
>
>
--
Mit freundlichen Grüßen
David Engraf
Netcom Sicherheitstechnik GmbH
Rheinallee 189
55120 Mainz
Tel: +49 6131 6305 0
Fax: +49 6131 6305 40
Email: david.engraf@netcom.eu
Sitz der Gesellschaft: Mainz
Registergericht: Amtsgericht Mainz, 14HRB3411
Geschäftsführer: Peter Otto
next prev parent reply other threads:[~2007-08-01 7:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 8:31 [PATCH] USB BIOS early handoff only when the we the driver is configured David Engraf
2007-07-31 15:04 ` [linux-usb-devel] " Alan Stern
[not found] ` <46B03078.5040305@netcom.eu>
2007-08-01 7:21 ` David Engraf [this message]
2007-08-01 20:23 ` Greg KH
2007-08-02 7:07 ` David Engraf
2007-08-01 14:40 ` Alan Stern
2007-08-02 7:14 ` David Engraf
2007-08-02 14:32 ` Alan Stern
2007-08-02 16:43 ` Greg KH
2007-08-03 6:52 ` David Engraf
2007-08-03 15:03 ` Alan Stern
2007-08-07 8:44 ` David Engraf
2007-08-07 14:37 ` Alan Stern
2007-08-03 22:24 ` Grant Grundler
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=46B03468.3010307@netcom.eu \
--to=david.engraf@netcom.eu \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@atrey.karlin.mff.cuni.cz \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=stern@rowland.harvard.edu \
/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