All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Kevan <ben.kevan@gmail.com>
To: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: cpufreq@lists.linux.org.uk, Jeremy Fitzhardinge <jeremy@goop.org>,
	Bruno Ducrot <ducrot@poupinou.org>
Subject: Re: 2.6.16.x CPUFREQ / SpeedStep-Centrino: couldn't enable	Enchanced SpeedStep
Date: Sat, 24 Jun 2006 11:03:54 -0700	[thread overview]
Message-ID: <200606241103.54533.ben.kevan@gmail.com> (raw)
In-Reply-To: <20060622175907.GD10138@dominikbrodowski.de>

I was able to fix the problem by sending the UNIT to a Toshiba dealer, and 
they had to re-write the microde once it was rewritten I could do the 
following"

bkevan@LSHESU01004839:~> dmesg | grep Microcode
IA-32 Microcode Update Driver: v1.14 <tigran@veritas.com>
IA-32 Microcode Update Driver v1.14 unregistered

And see that the Microcode driver worked, and am now able to run cpufreq-info 
and also modprobe speedstep-centrino etc. 

Thank you ALL for your help. 

Ben


On Thursday 22 June 2006 10:59, Dominik Brodowski wrote:
> Hi,
>
> On Tue, Jun 20, 2006 at 01:32:01PM -0700, Ben Kevan wrote:
> > speedstep-centrino: P1 has larger frequency (65535) than P0 (600),
> > skipping speedstep-centrino: P2 has larger frequency (65535) than P0
> > (600), skipping speedstep-centrino: P3 has larger frequency (65535) than
> > P0 (600), skipping speedstep-centrino: P4 has larger frequency (65535)
> > than P0 (600), skipping speedstep-centrino: P5 has larger frequency
> > (65535) than P0 (600), skipping speedstep-centrino: P6 has larger
> > frequency (65535) than P0 (600), skipping speedstep-centrino: P7 has
> > larger frequency (65535) than P0 (600), skipping speedstep-centrino: P8
> > has larger frequency (65535) than P0 (600), skipping speedstep-centrino:
> > P9 has larger frequency (65535) than P0 (600), skipping
> > speedstep-centrino: P10 has larger frequency (65535) than P0 (600),
> > skipping speedstep-centrino: P11 has larger frequency (65535) than P0
> > (600), skipping speedstep-centrino: P12 has larger frequency (65535) than
> > P0 (600), skipping speedstep-centrino: P13 has larger frequency (65535)
> > than P0 (600), skipping speedstep-centrino: P14 has larger frequency
> > (65535) than P0 (600), skipping speedstep-centrino: P15 has larger
> > frequency (65535) than P0 (600), skipping speedstep-centrino: adding
> > state 0 with frequency 600000 and control value 0610 speedstep-centrino:
> > adding state 1 with frequency 0 and control value ffff
> > speedstep-centrino: adding state 2 with frequency 0 and control value
> > ffff speedstep-centrino: adding state 3 with frequency 0 and control
> > value ffff speedstep-centrino: adding state 4 with frequency 0 and
> > control value ffff speedstep-centrino: adding state 5 with frequency 0
> > and control value ffff speedstep-centrino: adding state 6 with frequency
> > 0 and control value ffff speedstep-centrino: adding state 7 with
> > frequency 0 and control value ffff speedstep-centrino: adding state 8
> > with frequency 0 and control value ffff speedstep-centrino: adding state
> > 9 with frequency 0 and control value ffff speedstep-centrino: adding
> > state 10 with frequency 0 and control value ffff speedstep-centrino:
> > adding state 11 with frequency 0 and control value ffff
> > speedstep-centrino: adding state 12 with frequency 0 and control value
> > ffff speedstep-centrino: adding state 13 with frequency 0 and control
> > value ffff speedstep-centrino: adding state 14 with frequency 0 and
> > control value ffff speedstep-centrino: adding state 15 with frequency 0
> > and control value ffff
>
> As ACPI initialization succeeded, we didn't fall back to use the table.
> Does this patch help?
>
>
> [PATCH] speedstep_centrino: only use ACPI if it offers more than one state
>
> Fall back to hard-coded tables in speedstep_centrino if ACPI only tells us
> about one valid state.
>
> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
>
> diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
> b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c index ce54ff1..5818d24
> 100644
> --- a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
> +++ b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
> @@ -365,6 +365,7 @@ static int centrino_cpu_init_acpi(struct
>  	unsigned long			cur_freq;
>  	int				result = 0, i;
>  	unsigned int			cpu = policy->cpu;
> +	unsigned int			states = 0;
>
>  	/* register with ACPI core */
>  	if (acpi_processor_register_performance(&p, cpu)) {
> @@ -452,6 +453,13 @@ static int centrino_cpu_init_acpi(struct
>
>  		if (cur_freq == centrino_model[cpu]->op_points[i].frequency)
>  			p.state = i;
> +
> +		states++;
> +	}
> +
> +	if (states <= 1) {
> +		result = -ENODEV;
> +		goto err_kfree_all;
>  	}
>
>  	/* notify BIOS that we exist */

  reply	other threads:[~2006-06-24 18:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19 23:10 2.6.16.x CPUFREQ / SpeedStep-Centrino: couldn't enable Enchanced SpeedStep Ben Kevan
2006-06-19 23:13 ` Dave Jones
2006-06-20  1:07   ` Ben Kevan
2006-06-20  5:24     ` Ben Kevan
2006-06-20  5:33       ` Dave Jones
2006-06-20  9:43 ` Bruno Ducrot
2006-06-20 10:16   ` Bruno Ducrot
2006-06-20 18:07   ` Jeremy Fitzhardinge
2006-06-20 20:32     ` Ben Kevan
2006-06-20 20:37       ` Jeremy Fitzhardinge
2006-06-20 21:09         ` Ben Kevan
2006-06-22 17:59       ` Dominik Brodowski
2006-06-24 18:03         ` Ben Kevan [this message]
2006-06-21 10:01     ` Bruno Ducrot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200606241103.54533.ben.kevan@gmail.com \
    --to=ben.kevan@gmail.com \
    --cc=cpufreq@lists.linux.org.uk \
    --cc=ducrot@poupinou.org \
    --cc=jeremy@goop.org \
    --cc=linux@dominikbrodowski.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.