cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: athul acharya <nyte2k@yahoo.com>
Cc: Dave Jones <davej@codemonkey.org.uk>,
	cpufreq list <cpufreq@www.linux.org.uk>
Subject: Re: Dothan/Centrino cpufreq
Date: Wed, 09 Jun 2004 19:09:22 -0700	[thread overview]
Message-ID: <1086833362.6427.4.camel@localhost.localdomain> (raw)
In-Reply-To: <20040610013039.21458.qmail@web21002.mail.yahoo.com>

On Wed, 2004-06-09 at 18:30 -0700, athul acharya wrote:
> Hey,
> 
> I originally sent this to linux-kernel and was advised
> that I'd be better off sending it here. 
> 
> I noticed that 2.6.7-rc1 was supposed to have Dothan
> support for cpufreq, but since neither it nor -rc2
> worked  on my machine, I decided to take a look at the
> code and see if I couldn't figure something out.  I
> saw this:
> 
> static const struct cpu_id cpu_id_dothan_a1 = {
>         .x86_vendor = X86_VENDOR_INTEL,
>         .x86 = 6,
>         .x86_model = 13,
>         .x86_mask = 1,
> };
> 
> Attempting to match this against /proc/cpuinfo, I
> changed it to
> 
> static const struct cpu_id cpu_id_dothan_a1 = {
>         .x86_vendor = X86_VENDOR_INTEL,
>         .x86 = 6,
>         .x86_model = 13,
>         .x86_mask = 6,
> };
> 
> This worked, creating
> /sys/devices/system/cpu/cpu0/cpufreq/ and the whole
> shebang.  So, the above change needs to be integrated
> in order for (some?) Dothans to work.

There seems to be a few things which need fixing in the driver, which
will require a re-org of the various tables:

1. Intel seems to have changed the branding string on Banias (but
without apparently changing the stepping)
2. There seems to be two steppings of Dothan

I'm a bit hesitant to just assume that both Dothan steppings are
identical (but since we're currently just extracting the operating
points from the BIOS, it shouldn't be a big risk).

	J

      reply	other threads:[~2004-06-10  2:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-10  1:30 Dothan/Centrino cpufreq athul acharya
2004-06-10  2:09 ` Jeremy Fitzhardinge [this message]

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=1086833362.6427.4.camel@localhost.localdomain \
    --to=jeremy@goop.org \
    --cc=cpufreq@www.linux.org.uk \
    --cc=davej@codemonkey.org.uk \
    --cc=nyte2k@yahoo.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox