lkml.org 
[lkml]   [2004]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [PATCH] Early USB handoff
Date
From
>>   Basically, in a case of legacy free BIOS, HC is not in 
>> SMM mode, and USB IRQ is routed to PCI IRQ line and generates
>> interrupts. When this IRQ is enabled in PIC (by driver that
>> starts before HC driver), system is flooded with interrupts.
>
>The BIOS should not be leaving the device generating
>interrupts surely ?
>If that IRQ line ends up shared we are in trouble at boot time.
Well, this is what happened on Motion tablet.
While still in real mode, BIOS takes care of interrupts from
devices. But once OS takes control over and goes to protected
mode, there is no easy way for BIOS to detect that and disable HC.
So, one should either avoid 'sharing' it with other devices (at
IRQ routing stage), or reprogram HC in native OS mode first (at
least disable interrupts).

>We don't always want to hand off. Some setups only work in USB legacy
>mode because of other bugs. That's why the SMM fixup I did for E750x is
>triggered in specific cases. We can do such things with DMI table
>blacklists easily enough.
I was not aware of this. However, there is an option and handoff
is disabled by default. DMI table may be Ok if there are only
a few such machines. Unfortunately, I personally had USB legacy
problems on several laptops, plus saw some reports on the web.
But I guess it is not for me to decide ;)

Aleks.

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

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.148 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site