* quirk_usb_disable_ehci takes 2x 1.5s on boot
@ 2009-01-05 13:41 Jiri Slaby
2009-01-05 22:44 ` David Brownell
2009-01-06 0:36 ` Robert Hancock
0 siblings, 2 replies; 4+ messages in thread
From: Jiri Slaby @ 2009-01-05 13:41 UTC (permalink / raw)
To: David Brownell; +Cc: USB list, Linux Kernel Mailing List, Alan Stern
Hi,
I don't know since which moment (maybe I changed something in bios, but usb
legacy kbd was ever enabled), but quirk_usb_disable_ehci takes for both of my
ehci controllers 1.5 s.
More precisely, the time is spent in
pci_write_config_byte(pdev, offset + 3, 1);
by
outb((u8)value, 0xCFC + (reg & 3));
from pci_conf1_write deep in the callstack.
Is there any workaround known or something. Turning legacy usb off is not an
option, I want to control grub.
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: quirk_usb_disable_ehci takes 2x 1.5s on boot
2009-01-05 13:41 quirk_usb_disable_ehci takes 2x 1.5s on boot Jiri Slaby
@ 2009-01-05 22:44 ` David Brownell
2009-01-06 0:36 ` Robert Hancock
1 sibling, 0 replies; 4+ messages in thread
From: David Brownell @ 2009-01-05 22:44 UTC (permalink / raw)
To: Jiri Slaby; +Cc: USB list, Linux Kernel Mailing List, Alan Stern
On Monday 05 January 2009, Jiri Slaby wrote:
> Hi,
>
> I don't know since which moment (maybe I changed something in bios, but usb
> legacy kbd was ever enabled), but quirk_usb_disable_ehci takes for both of my
> ehci controllers 1.5 s.
>
> More precisely, the time is spent in
> pci_write_config_byte(pdev, offset + 3, 1);
> by
> outb((u8)value, 0xCFC + (reg & 3));
> from pci_conf1_write deep in the callstack.
>
> Is there any workaround known or something.
I've never heard of pci_write_config_byte() taking enough time
to be visible without a PCI bus analyser... sorry, no clue.
- Dave
> Turning legacy usb off is not an
> option, I want to control grub.
>
> Thanks.
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: quirk_usb_disable_ehci takes 2x 1.5s on boot
2009-01-05 13:41 quirk_usb_disable_ehci takes 2x 1.5s on boot Jiri Slaby
2009-01-05 22:44 ` David Brownell
@ 2009-01-06 0:36 ` Robert Hancock
2009-02-24 13:32 ` Jiri Slaby
1 sibling, 1 reply; 4+ messages in thread
From: Robert Hancock @ 2009-01-06 0:36 UTC (permalink / raw)
To: Jiri Slaby
Cc: David Brownell, USB list, Linux Kernel Mailing List, Alan Stern
Jiri Slaby wrote:
> Hi,
>
> I don't know since which moment (maybe I changed something in bios, but usb
> legacy kbd was ever enabled), but quirk_usb_disable_ehci takes for both of my
> ehci controllers 1.5 s.
>
> More precisely, the time is spent in
> pci_write_config_byte(pdev, offset + 3, 1);
> by
> outb((u8)value, 0xCFC + (reg & 3));
> from pci_conf1_write deep in the callstack.
>
> Is there any workaround known or something. Turning legacy usb off is not an
> option, I want to control grub.
Most likely the PCI config space write is causing some SMM trap and the
BIOS is taking forever to do whatever it's doing. It doesn't report that
the handoff failed, though?
I'd look for a BIOS update..
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: quirk_usb_disable_ehci takes 2x 1.5s on boot
2009-01-06 0:36 ` Robert Hancock
@ 2009-02-24 13:32 ` Jiri Slaby
0 siblings, 0 replies; 4+ messages in thread
From: Jiri Slaby @ 2009-02-24 13:32 UTC (permalink / raw)
To: Robert Hancock
Cc: David Brownell, USB list, Linux kernel mailing list, Alan Stern
On 6.1.2009 01:36, Robert Hancock wrote:
> Jiri Slaby wrote:
>> I don't know since which moment (maybe I changed something in bios,
>> but usb
>> legacy kbd was ever enabled), but quirk_usb_disable_ehci takes for
>> both of my
>> ehci controllers 1.5 s.
>>
>> More precisely, the time is spent in
>> pci_write_config_byte(pdev, offset + 3, 1);
>> by
>> outb((u8)value, 0xCFC + (reg & 3));
>> from pci_conf1_write deep in the callstack.
>>
>> Is there any workaround known or something. Turning legacy usb off is
>> not an
>> option, I want to control grub.
>
> Most likely the PCI config space write is causing some SMM trap and the
> BIOS is taking forever to do whatever it's doing. It doesn't report that
> the handoff failed, though?
Some time ago there was something like that:
http://kerneltrap.org/mailarchive/linux-kernel/2007/9/24/273262
I haven't seen it since that time.
> I'd look for a BIOS update..
I can't find any, bad luck. It's some kind of testing machine sample...
Nevermind, it obviously doesn't occur during kexeced kernel bootup, I
can live with that :).
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-24 13:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-05 13:41 quirk_usb_disable_ehci takes 2x 1.5s on boot Jiri Slaby
2009-01-05 22:44 ` David Brownell
2009-01-06 0:36 ` Robert Hancock
2009-02-24 13:32 ` Jiri Slaby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox