public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Calibration issues with USB disc present.
@ 2005-11-11 21:37 George Anzinger
  2005-11-11 21:57 ` john stultz
  0 siblings, 1 reply; 14+ messages in thread
From: George Anzinger @ 2005-11-11 21:37 UTC (permalink / raw)
  To: john stultz, lkml

John,

Have you run into this.  One of the USB disc controllers has the ability to boot the system, 
however, it needs SMM code to do this.  This SMM code, somehow, causes SMI interrupts (which are 
higher priority than NMI interrutps and not maskable) which it needs to do its thing.

Problem is that if one of these occurs while calibrating the TSC or the delay code, it can cause a 
wrong result.  We have seen both a too long and a too short result (depending on where the interrut 
happens).

They have found the root cause of TSC calibration problem.
Now they ask for the fix or workaround.

That is the BIOS is periodically interrupted by USB controller and the CPU
waits during the processing of these interrupts.
Their experiments say the interrupt interval is 260mSec and the BIOS needs
150uSec - 200uSec for processing.
It is proved that the problem doesn't reproduce by masking such SMI in BIOS.
They say SMI is for BIOS emulation for connecting legacy devices to USB.
Without such an emulation it's impossible to boot from USB-FD for instance,
they say too.


-- 
George Anzinger   george@mvista.com
HRT (High-res-timers):  http://sourceforge.net/projects/high-res-timers/

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-11-17 17:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-11 21:37 Calibration issues with USB disc present George Anzinger
2005-11-11 21:57 ` john stultz
2005-11-12  5:05   ` Greg KH
2005-11-12 16:06     ` George Anzinger
2005-11-12 21:33       ` Greg KH
2005-11-14 18:56         ` George Anzinger
2005-11-14 18:49           ` Greg KH
2005-11-14 19:46             ` Brad Campbell
2005-11-14 19:43               ` Greg KH
2005-11-14 19:58             ` john stultz
2005-11-14 21:52               ` George Anzinger
2005-11-17  0:03                 ` Max Krasnyansky
2005-11-17  0:30                   ` Lee Revell
2005-11-17 17:43                     ` Max Krasnyansky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox