From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Cc: linux-acpi@vger.kernel.org, linux-ia64@vger.kernel.org
Subject: Re: ia64 acpi-cpufreq driver
Date: Tue, 24 Oct 2006 17:50:30 +0000 [thread overview]
Message-ID: <200610241150.31012.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <EB12A50964762B4D8111D55B764A8454C57982@scsmsx413.amr.corp.intel.com>
On Monday 23 October 2006 22:46, Pallipadi, Venkatesh wrote:
> Actually it is slightly different from low_level_read and write.
> Generic ACPI definition of ACPI PERF_CTRL and PERF_STATUS define
> them as if they are registers. But, with FfixedHW, ACPI allows
> architectures to implement this functionality in a native way.
> Just like x86 implements FfixedHW based P-state support in 16 bits
> of some known MSR (Note the register field itself in _PCT is not used)
> or FFH C-states are supported by native instructions like "hlt",
> "monitor-mwait".
>
> So, when firmware tells P-state are FFH, OS will look at the hardware
> and processor information and use appropriate native interfaces.
> In this case, appropriate native interface is PAL_GET_PSTATE
> and PAL_SET_PSTATE.
Clearly ia64 ultimately has to use PAL_SET_PSTATE. My question
is, does the PAL_SET_PSTATE call belong in acpi-cpufreq, or does
it belong in the FFH driver?
I think it belongs in the latter, because the OSPM can be more
generic if the architecture-specific stuff is in the FFH driver.
Another way to ask this is, if ia64 had an FFH driver, who would
use it? I assume acpi-cpufreq would be one user. If so, what
interface would acpi-cpufreq use to access FFH?
Bjorn
next prev parent reply other threads:[~2006-10-24 17:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-23 21:31 ia64 acpi-cpufreq driver Bjorn Helgaas
2006-10-24 4:46 ` Pallipadi, Venkatesh
2006-10-24 17:50 ` Bjorn Helgaas [this message]
2006-10-25 23:20 ` Bjorn Helgaas
2006-10-24 23:59 ` Pallipadi, Venkatesh
2006-10-25 3:47 ` Bjorn Helgaas
2006-10-26 4:36 ` Pallipadi, Venkatesh
2006-10-26 15:29 ` Bjorn Helgaas
2006-11-01 18:30 ` Pallipadi, Venkatesh
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=200610241150.31012.bjorn.helgaas@hp.com \
--to=bjorn.helgaas@hp.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-ia64@vger.kernel.org \
--cc=venkatesh.pallipadi@intel.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