Re: Buggy HLT instruction in Cyrix M2 or error in ATAPI CDROM code ?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 18 Oct 1999 12:58:13 +0100 (BST)


> I tried to find how many cycles it takes for the cyrix to wake up from 'hlt
> mode'. There's good (approx. 150 pages) mii_all.pdf on the cyrix site, with

The Cyrix goes from the TSC stopped and really powered right down so it could
well be longer but that is speculation

> My (humble) theory is that the CPU misses the interrupt or cannot react in
> timely fashion when in 'hlt mode' and my Maxtor hard drive just waits a little
> bit longer than the CDROM .

Interrupts are queued. The flow is

Hardware raises PCI IRQ
Chipset passes it on to CPU
CPU must perform some action to the hardware to make the hardware drop it

So if the CPU is asleep the IRQ stays asserted.

Alan

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