Skip to contentSkip to conversation

_PDC method in DSDT

DISCUSSION David Moore 3 participants 5 messages Jun 23, 2003 3 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi,

Does anyone know the purpose or specification of the _PDC method of the DSDT? It's a reserved method that exists on my laptop (a Dell Latitude D600) but does not seem to be documented in the ACPI specification on the web.

The reason I ask is that I'm interested in porting the cpufreq driver for Enhanced Speedstep to ACPI. Right now, the cpufreq driver has the tables of proper MSR register values encoded into the source, but a more elegant solution would be to get this information from ACPI. In my DSDT source I notice that when the _PDC method is called properly, the _PCT method will return FixedHardware addresses for the Enhanced Speedstep MSRs instead of its normal SystemIO ports. To get this to work on more than just my system, I should probably use the proper specification for calling _PDC rather than just making it work.

Anyone have any suggestions?

Regards,

David

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

#2 lore raw
In reply to a message not in the archive

Hi,

Quoted 1 line

Does anyone know the purpose or specification of the _PDC method of

the DSDT?

It's another annoyance (?) added by Microsoft -); Document is available online at the following URL:

"Windows Native Processor Performance Control"
http://www.microsoft.com/whdc/hwdev/tech/onnow/procperfctrl.mspx

Thanks,
- Adachi, Kenichi

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

#4 lore raw
In reply to a message not in the archive

Thanks, that's exactly what I needed.

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?

Regards,

David

Quoted 5 lines · Kenichi

Hi,

Quoted 1 line

Does anyone know the purpose or specification of the _PDC method of

the DSDT?

Quoted 9 lines

It's another annoyance (?) added by Microsoft -); Document is available online at the following URL:

"Windows Native Processor Performance Control"
http://www.microsoft.com/whdc/hwdev/tech/onnow/procperfctrl.mspx

Thanks,
- Adachi, Kenichi

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

#5 lore raw
In reply to a message not in the archive
Quoted 17 lines · David Moore

Hi,

Does anyone know the purpose or specification of the _PDC method of the DSDT? It's a reserved method that exists on my laptop (a Dell Latitude D600) but does not seem to be documented in the ACPI specification on the web.

The reason I ask is that I'm interested in porting the cpufreq driver for Enhanced Speedstep to ACPI. Right now, the cpufreq driver has the tables of proper MSR register values encoded into the source, but a more elegant solution would be to get this information from ACPI. In my DSDT source I notice that when the _PDC method is called properly, the _PCT method will return FixedHardware addresses for the Enhanced Speedstep MSRs instead of its normal SystemIO ports. To get this to work on more than just my system, I should probably use the proper specification for calling _PDC rather than just making it work.

Quoted 2 lines

Anyone have any suggestions?

Too late... A CPUFreq driver is already writen and is in the CPUFreq cvs.

Signature · 11 lines
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
#7 lore raw
In reply to a message not in the archive
Quoted 18 lines · Ducrot Bruno
Quoted 17 lines · David Moore

Hi,

Does anyone know the purpose or specification of the _PDC method of the DSDT? It's a reserved method that exists on my laptop (a Dell Latitude D600) but does not seem to be documented in the ACPI specification on the web.

The reason I ask is that I'm interested in porting the cpufreq driver for Enhanced Speedstep to ACPI. Right now, the cpufreq driver has the tables of proper MSR register values encoded into the source, but a more elegant solution would be to get this information from ACPI. In my DSDT source I notice that when the _PDC method is called properly, the _PCT method will return FixedHardware addresses for the Enhanced Speedstep MSRs instead of its normal SystemIO ports. To get this to work on more than just my system, I should probably use the proper specification for calling _PDC rather than just making it work.

Quoted 6 lines
Quoted 2 lines

Anyone have any suggestions?

Too late... A CPUFreq driver is already writen and is in the CPUFreq cvs.

Sorry, I had not read enough your mail. The reason why the speedstep-centrino driver do not use ACPI is that we do want to support even people which do not want ACPI. Therefore, this is more a design question but for CPUFreq, not ACPI.

In my humble opinion, _PDC method is stupid, since anyway this imply a legacy CPU driver to be written in all case. And worst, some other CPU like the Athlon XP will even not have any real benefice from it. Why bother for something that have been written specifically for Intel processor and seems more actually a bad design at first?

If you want to discuss more on this topic, you should post to the cpufreq mailing-list, not to the ACPI mailing-list, anyway.

Cheers,

Signature · 11 lines
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php