Re: setting cpu speed on crusoe

2001-02-14 Thread Ookhoi

Hi Daniel,

> > We're going through our docs and we have internal programs that
> > we'll release for this so that you'll not just have docs but
> > actually working code too. It just needs to be cleaned up a bit, and
> > go through the proper channels (ever wonder why open source gets
> > deveoped faster?). It really should be "any day now".
> 
> Working code is better anyway (and in this case, it's first).  Go to
> your favorite kernel.org mirror and check out
> 
>   /pub/linux/utils/cpu/crusoe/longrun-0.9.tar.gz
> 
> It does everything you could ever want and more, as long as you
> include the CPUID and MSR devices in your kernel, set up the devices
> correctly, etc.

Very cool. :-)  Will we also be able to do a software upgrade of the cpu
code morphing software in the future?

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



Re: setting cpu speed on crusoe

2001-02-14 Thread Daniel Quinlan

Linus Torvalds <[EMAIL PROTECTED]> writes:

> We're going through our docs and we have internal programs that we'll
> release for this so that you'll not just have docs but actually working
> code too. It just needs to be cleaned up a bit, and go through the proper
> channels (ever wonder why open source gets deveoped faster?). It really
> should be "any day now".

Working code is better anyway (and in this case, it's first).  Go to
your favorite kernel.org mirror and check out

  /pub/linux/utils/cpu/crusoe/longrun-0.9.tar.gz

It does everything you could ever want and more, as long as you include
the CPUID and MSR devices in your kernel, set up the devices correctly,
etc.

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



Re: setting cpu speed on crusoe

2001-02-14 Thread Daniel Quinlan

Linus Torvalds [EMAIL PROTECTED] writes:

 We're going through our docs and we have internal programs that we'll
 release for this so that you'll not just have docs but actually working
 code too. It just needs to be cleaned up a bit, and go through the proper
 channels (ever wonder why open source gets deveoped faster?). It really
 should be "any day now".

Working code is better anyway (and in this case, it's first).  Go to
your favorite kernel.org mirror and check out

  /pub/linux/utils/cpu/crusoe/longrun-0.9.tar.gz

It does everything you could ever want and more, as long as you include
the CPUID and MSR devices in your kernel, set up the devices correctly,
etc.

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



Re: setting cpu speed on crusoe

2001-02-14 Thread Ookhoi

Hi Daniel,

  We're going through our docs and we have internal programs that
  we'll release for this so that you'll not just have docs but
  actually working code too. It just needs to be cleaned up a bit, and
  go through the proper channels (ever wonder why open source gets
  deveoped faster?). It really should be "any day now".
 
 Working code is better anyway (and in this case, it's first).  Go to
 your favorite kernel.org mirror and check out
 
   /pub/linux/utils/cpu/crusoe/longrun-0.9.tar.gz
 
 It does everything you could ever want and more, as long as you
 include the CPUID and MSR devices in your kernel, set up the devices
 correctly, etc.

Very cool. :-)  Will we also be able to do a software upgrade of the cpu
code morphing software in the future?

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



Re: setting cpu speed on crusoe

2001-02-13 Thread Linus Torvalds



On Sat, 10 Feb 2001, Pavel Machek wrote:
> 
> > Junichi Morita and I have worked out how to access the crusoe
> > "longrun" settings on the crusoe based VAIO. This allows you to enable
> > power saving mode and slow the cpu down. It should help battery life a
> > lot.
> 
> There is no documentation? I thought transmeta is linux-friendly
> company ;-).

We are, but the documentation we mean for internal use sometimes tends to
be in the "not good enough to be released" category.

Anyway, the register the above is touching has nothing to do with
"longrun", but with "coolrun" - it's the temperature control, not the CPU
speed control. Now, obviously, CPU speed and temperature do have tons of
things in common, which is why it gives somewhat expected results.

We're going through our docs and we have internal programs that we'll
release for this so that you'll not just have docs but actually working
code too. It just needs to be cleaned up a bit, and go through the proper
channels (ever wonder why open source gets deveoped faster?). It really
should be "any day now".

Linus

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



Re: setting cpu speed on crusoe

2001-02-13 Thread Linus Torvalds



On Sat, 10 Feb 2001, Pavel Machek wrote:
 
  Junichi Morita and I have worked out how to access the crusoe
  "longrun" settings on the crusoe based VAIO. This allows you to enable
  power saving mode and slow the cpu down. It should help battery life a
  lot.
 
 There is no documentation? I thought transmeta is linux-friendly
 company ;-).

We are, but the documentation we mean for internal use sometimes tends to
be in the "not good enough to be released" category.

Anyway, the register the above is touching has nothing to do with
"longrun", but with "coolrun" - it's the temperature control, not the CPU
speed control. Now, obviously, CPU speed and temperature do have tons of
things in common, which is why it gives somewhat expected results.

We're going through our docs and we have internal programs that we'll
release for this so that you'll not just have docs but actually working
code too. It just needs to be cleaned up a bit, and go through the proper
channels (ever wonder why open source gets deveoped faster?). It really
should be "any day now".

Linus

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



Re: setting cpu speed on crusoe

2001-02-11 Thread Pavel Machek

Hi!

> Junichi Morita and I have worked out how to access the crusoe
> "longrun" settings on the crusoe based VAIO. This allows you to enable
> power saving mode and slow the cpu down. It should help battery life a
> lot.

There is no documentation? I thought transmeta is linux-friendly
company ;-).

Pavel

> the following will enable power saving and set the cpu to the slowest
> speed:
> 
>   setpci -s 0:0.0 a8.b=11
> 
> and this will restore you to max speed:
> 
>   setpci -s 0:0.0 a8.b=0e
> 
> the bits are:
> 
> LRON bit0: long run "on" - I'm not really sure what this does

Did you try just asking linus?

> LRRV bit1-3: cpu speed
> LREN bit4: seems to enable variable speed 


-- 
I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: setting cpu speed on crusoe

2001-02-11 Thread Pavel Machek

Hi!

 Junichi Morita and I have worked out how to access the crusoe
 "longrun" settings on the crusoe based VAIO. This allows you to enable
 power saving mode and slow the cpu down. It should help battery life a
 lot.

There is no documentation? I thought transmeta is linux-friendly
company ;-).

Pavel

 the following will enable power saving and set the cpu to the slowest
 speed:
 
   setpci -s 0:0.0 a8.b=11
 
 and this will restore you to max speed:
 
   setpci -s 0:0.0 a8.b=0e
 
 the bits are:
 
 LRON bit0: long run "on" - I'm not really sure what this does

Did you try just asking linus?

 LRRV bit1-3: cpu speed
 LREN bit4: seems to enable variable speed 


-- 
I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



setting cpu speed on crusoe

2001-02-03 Thread Andrew Tridgell

Junichi Morita and I have worked out how to access the crusoe
"longrun" settings on the crusoe based VAIO. This allows you to enable
power saving mode and slow the cpu down. It should help battery life a
lot.

the following will enable power saving and set the cpu to the slowest
speed:

  setpci -s 0:0.0 a8.b=11

and this will restore you to max speed:

  setpci -s 0:0.0 a8.b=0e

the bits are:

LRON bit0: long run "on" - I'm not really sure what this does
LRRV bit1-3: cpu speed
LREN bit4: seems to enable variable speed 

the info came from a dump of the AML off the box like this:

1e24:   Scope PCI0 (\_SB_.PCI0)
1e30: OpRegion LRCR (\_SB_.PCI0.LRCR)
1e36:   PCI_Config
1e37:   0xa8
1e39:   0x04
1e3b: Field
1e3e:   LRCR (1e30)
1e42:   AccessType: ByteAcc; LockRule: NoLock; UpdateRule: Preserve
1e43:   NamedField (1 bits at 0x0:0) LRON
1e48:   NamedField (3 bits at 0x0:1) LRRV
1e4d:   NamedField (1 bits at 0x0:4) LREN

the patch to acpidisasm to give the bit offsets and lengths for named
fields is available from
http://www.samba.org/ftp/unpacked/picturebook/acpi.patch





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



setting cpu speed on crusoe

2001-02-03 Thread Andrew Tridgell

Junichi Morita and I have worked out how to access the crusoe
"longrun" settings on the crusoe based VAIO. This allows you to enable
power saving mode and slow the cpu down. It should help battery life a
lot.

the following will enable power saving and set the cpu to the slowest
speed:

  setpci -s 0:0.0 a8.b=11

and this will restore you to max speed:

  setpci -s 0:0.0 a8.b=0e

the bits are:

LRON bit0: long run "on" - I'm not really sure what this does
LRRV bit1-3: cpu speed
LREN bit4: seems to enable variable speed 

the info came from a dump of the AML off the box like this:

1e24:   Scope PCI0 (\_SB_.PCI0)
1e30: OpRegion LRCR (\_SB_.PCI0.LRCR)
1e36:   PCI_Config
1e37:   0xa8
1e39:   0x04
1e3b: Field
1e3e:   LRCR (1e30)
1e42:   AccessType: ByteAcc; LockRule: NoLock; UpdateRule: Preserve
1e43:   NamedField (1 bits at 0x0:0) LRON
1e48:   NamedField (3 bits at 0x0:1) LRRV
1e4d:   NamedField (1 bits at 0x0:4) LREN

the patch to acpidisasm to give the bit offsets and lengths for named
fields is available from
http://www.samba.org/ftp/unpacked/picturebook/acpi.patch





-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/