public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [ACPI] _PDC method in DSDT
@ 2003-06-23  7:11 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A301-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 20+ messages in thread
From: Grover, Andrew @ 2003-06-23  7:11 UTC (permalink / raw)
  To: David Moore, Adachi, Kenichi
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	cpufreq-1walMZg8u8rXmaaqVzeoHQ

> From: David Moore [mailto:dcm-HInyCGIudOg@public.gmane.org] 
> Given this document, I think I have enough information now to patch
> processor.c to support Enhanced Speedstep on Pentium M for 
> those BIOSes
> that have a correctly written _PDC method in the DSDT.  Would the
> maintainers of the ACPI driver be willing to accept such a patch?

I don't think so, at least not right now.

_PDC is used for the OS to indicate to the firmware (the AML) if it
supports native CPU perf transitions or not. If it does, then _PCT/_PSS
returns one thing, if it doesn't, _PCT/_PSS returns something else.
Typically, if _PDC is not called, the platform will indicate ACPI 2.0
CPU perf state support instead of native support.

However, since the recently added non-vendor-supported Pentium M cpufreq
driver uses hardcoded tables and cpuid instead of relying on ACPI for
this information anyways, adding _PDC support to processor.c would not
affect its behavior. If that driver were changed to use ACPI for
determining platform capabilities, like Windows and our released binary
driver do, then yes, adding _PDC support would be important.

Regards -- Andy

btw my understanding is that _PDC will be actually in the ACPI spec in
the near future.

^ permalink raw reply	[flat|nested] 20+ messages in thread
* RE: [ACPI] _PDC method in DSDT
@ 2003-06-23  9:19 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A84725A303-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 20+ messages in thread
From: Grover, Andrew @ 2003-06-23  9:19 UTC (permalink / raw)
  To: David Moore
  Cc: Adachi, Kenichi, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	cpufreq-1walMZg8u8rXmaaqVzeoHQ

> From: David Moore [mailto:dcm-HInyCGIudOg@public.gmane.org] 
> My intention was not for processor.c and cpufreq to cooperate, but
> rather for processor.c to be able to control Enhanced Speedstep solely
> with P-states -- no cpufreq necessary.  Cpufreq is certainly 
> useful for
> those systems not running the ACPI driver, but in the long 
> run, ACPI and
> processor.c seem to be the right way to get maximum compatibility with
> many platforms.

> I only have two concerns:
> 1) If the processor is an AMD or a Transmeta, it looks like _PCT may
> also return FixedHardware registers for their respective power
> management systems.  Do we need to read cpuid to treat these cases
> differently in processor.c, or will the blind wrmsr() do the trick?

The spec intended FixedFunctionalHW registers to be an "escape hatch".
FFH means that while ACPI is used for perf state enumeration, the
transitions will be handled in a CPU-specific driver, not via methods
described in the ACPI spec. This division (use ACPI for enum, x for
control) isn't currently supported by cpufreq; ACPI either does both
enum and control, or neither.

It is not safe to assume the CPU-specific mechanism will be the same
across vendors, or even across models from the same vendor. Indeed, the
whole point of all this was so these mechanisms could be different, and
remain proprietary.

> 2) If this capability is open-source, do you personally have 
> a conflict
> of interest between protecting the binary-only module vs. 
> accepting the
> patch?

Response #1 (practical):
What patch? The patch you haven't written yet? That may or may not be
against files I maintain (as opposed to
arch/i386/kernel/cpu/cpufreq/acpi.c)?

Response #2 (philosophical):
Do you really think a maintainer really has any power? Or just
responsibility?

Regards -- Andy

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2003-06-26 11:13 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-23  7:11 [ACPI] _PDC method in DSDT Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A301-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-06-23  7:53   ` David Moore
     [not found]     ` <1056354807.10323.71.camel-cfibRQahR+cF6I9xFAAkN5QCsf4PZ8us@public.gmane.org>
2003-06-23 12:27       ` Ducrot Bruno
2003-06-23 13:42       ` Dominik Brodowski
2003-06-23  7:59   ` Arjan van de Ven
2003-06-23 13:44   ` Dominik Brodowski
  -- strict thread matches above, loose matches on Subject: below --
2003-06-23  9:19 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A84725A303-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-06-23 13:38   ` Dominik Brodowski
     [not found]     ` <20030623133834.GA2330-JhLEnvuH02M@public.gmane.org>
2003-06-23 16:11       ` Ducrot Bruno
     [not found]         ` <20030623161136.GG19556-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-06-23 17:12           ` Jeremy Fitzhardinge
     [not found]             ` <1056388336.15250.62.camel-Ir80B/JpJuPj/dU0+sc/eg@public.gmane.org>
2003-06-23 20:02               ` David Moore
     [not found]                 ` <1056398545.10322.111.camel-cfibRQahR+cF6I9xFAAkN5QCsf4PZ8us@public.gmane.org>
2003-06-23 21:37                   ` Dominik Brodowski
     [not found]                     ` <20030623213726.GA1317-JhLEnvuH02M@public.gmane.org>
2003-06-24  1:14                       ` David Moore
     [not found]                         ` <1056417280.10323.148.camel-cfibRQahR+cF6I9xFAAkN5QCsf4PZ8us@public.gmane.org>
2003-06-24  1:37                           ` Jeremy Fitzhardinge
     [not found]                             ` <1056418635.5977.20.camel-8CPiehpM6Y7yyrDBriEPRMdZPGv2U8no@public.gmane.org>
2003-06-24  2:02                               ` David Moore
     [not found]                                 ` <1056420149.10322.160.camel-cfibRQahR+cF6I9xFAAkN5QCsf4PZ8us@public.gmane.org>
2003-06-24  2:16                                   ` Jeremy Fitzhardinge
2003-06-24  9:18                                   ` Ducrot Bruno
     [not found]                                     ` <20030624091836.GI19556-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-06-24 21:47                                       ` David Moore
     [not found]                                         ` <1056491271.3979.15.camel-cfibRQahR+cF6I9xFAAkN5QCsf4PZ8us@public.gmane.org>
2003-06-26 10:40                                           ` Ducrot Bruno
     [not found]                                             ` <20030626104041.GR19556-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-06-26 11:13                                               ` Ducrot Bruno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox