Difference between revisions of "ACPI"
Jump to navigation
Jump to search
(Fix the pstate info) |
|||
Line 100: | Line 100: | ||
The CPU power management is hardware specific. It is described in APCI specs and also in AMD BIOS and Kernel Developer guide. The rest of this section describes the AMD specific part. AMD needs ACPI objects which describes the similar info as the legacy PowerNow table. Check the BKDG for details. | The CPU power management is hardware specific. It is described in APCI specs and also in AMD BIOS and Kernel Developer guide. The rest of this section describes the AMD specific part. AMD needs ACPI objects which describes the similar info as the legacy PowerNow table. Check the BKDG for details. | ||
The content of the tables must be generated runtime, which is a bit problem, because the | The content of the tables must be generated runtime, which is a bit problem, because the AML code must be generated or DSDT patched. There is an acpigen infrastructure to generate the AML code. | ||
be patched | |||
The actual content for family 0fh revF and later can be generated by complex algorithm implemented in | The actual content for family 0fh revF and later P-States can be generated by complex algorithm implemented in amd_model_fxx_generate_powernow(). This function should be called in acpi_fill_ssdt_generator() callback. | ||
Up to revE, all P state info must be hardcoded in tables (not supported). | |||
===== C States ===== | ===== C States ===== |