Re: quirk_usb_disable_ehci takes 2x 1.5s on boot

From: David Brownell
Date: Mon Jan 05 2009 - 17:44:55 EST


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.
>
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/