From: Nate Lawson <nate-Y6VGUYTwhu0@public.gmane.org>
To: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: IBM R40 FFixedHW register?
Date: Wed, 22 Oct 2003 13:02:41 -0700 (PDT) [thread overview]
Message-ID: <20031022130030.C59735@root.org> (raw)
In-Reply-To: <20031022095656.GN13989-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
On Wed, 22 Oct 2003, Ducrot Bruno wrote:
> On Tue, Oct 21, 2003 at 03:39:55PM -0700, Nate Lawson wrote:
> > I'm testing out my new cpu driver for FreeBSD and came across an
> > interesting case in supporting Px states. They work great on several
> > laptops but the R40 can't set Px states. I looked at the ASL and found
> > that the control/status register pair is FFixedHW.
> >
> > Return (Package (0x02)
> > {
> > ResourceTemplate ()
> > {
> > Register (FFixedHW, 0x40, 0x00, 0x0000000000000199)
> > },
> >
> > ResourceTemplate ()
> > {
> > Register (FFixedHW, 0x10, 0x00, 0x0000000000000198)
> > }
> > }
> >
> > I guess I have to find the datasheet for that model to figure out how to
> > access those registers. Anyone come across this before? What space are
> > those actually in (IO, Memory, ??). The register widths are also strange
> > (64 and 16 bits).
>
> They are MSRs for Pentium-M found in Centrino platforms, but acpi spec would
> only say you that you have to contact the CPU vendor.
Ah, thank you. That makes sense. How do you decide which platform you
are on to determine how to interpret FFixedHW resources? Check the vendor
ID string for the ASL? Check CPU or chipset type? It could be that
FFixedHW is MSR on x86 but some other thing (EFI) on ia64.
For this particular laptop, should I be looking in the chipset guide or
the CPU guide?
-Nate
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
next prev parent reply other threads:[~2003-10-22 20:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 22:39 IBM R40 FFixedHW register? Nate Lawson
[not found] ` <20031021153556.B56816-Y6VGUYTwhu0@public.gmane.org>
2003-10-22 9:56 ` Ducrot Bruno
[not found] ` <20031022095656.GN13989-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-10-22 20:02 ` Nate Lawson [this message]
[not found] ` <20031022130030.C59735-Y6VGUYTwhu0@public.gmane.org>
2003-10-23 17:28 ` Ducrot Bruno
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=20031022130030.C59735@root.org \
--to=nate-y6vguytwhu0@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org \
/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