Re: [PATCH] Cyrix setup

Mike Jagdis (mike@roan.co.uk)
Mon, 9 Mar 1998 11:35:26 +0000 (GMT/BST)


On Mon, 9 Mar 1998, Alan Cox wrote:

> If you do HLT-on-idle make sure you handle it with the nohlt option at
> boot properly so you can nohlt a Cyrix

It has always worked like that. The suspend on halt Cyrix setting
simply tells the CPU to go into low power mode when a hlt instruction
is executed rather than spinning in power sucking mode. The nohlt
Linux boot option controls whether or not the hlt instruction is
executed when the system is idle.

i.e. the kernel *already* assumes that the hlt instruction will
benefit the idle loop by putting the CPU into a low power mode and
*already* provides a means of disabling use of hlt for those
systems that can't recover from such a state correctly (it's a
problem for some Intel based systems too).

Not setting the Cyrix to go low power on hlt breaks the existing
assumptions in a way that is just plain *dumb*!

Mike

-- 
..----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  54A Peach Street, Wokingham  |  Telephone:  +44 118 989 0403        |
|  RG40 1XG, ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu