2011-05-25 18:43:31 +00:00
|
|
|
Kernel driver fam15h_power
|
|
|
|
==========================
|
|
|
|
|
|
|
|
Supported chips:
|
|
|
|
* AMD Family 15h Processors
|
2015-08-27 08:07:37 +00:00
|
|
|
* AMD Family 16h Processors
|
2011-05-25 18:43:31 +00:00
|
|
|
|
|
|
|
Prefix: 'fam15h_power'
|
|
|
|
Addresses scanned: PCI space
|
|
|
|
Datasheets:
|
|
|
|
BIOS and Kernel Developer's Guide (BKDG) For AMD Family 15h Processors
|
2015-08-27 08:07:37 +00:00
|
|
|
BIOS and Kernel Developer's Guide (BKDG) For AMD Family 16h Processors
|
2011-05-25 18:43:31 +00:00
|
|
|
|
2012-10-29 17:50:47 +00:00
|
|
|
Author: Andreas Herrmann <herrmann.der.user@googlemail.com>
|
2011-05-25 18:43:31 +00:00
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
|
|
|
This driver permits reading of registers providing power information
|
2015-08-27 08:07:37 +00:00
|
|
|
of AMD Family 15h and 16h processors.
|
2011-05-25 18:43:31 +00:00
|
|
|
|
2015-08-27 08:07:37 +00:00
|
|
|
For AMD Family 15h and 16h processors the following power values can
|
|
|
|
be calculated using different processor northbridge function
|
|
|
|
registers:
|
2011-05-25 18:43:31 +00:00
|
|
|
|
|
|
|
* BasePwrWatts: Specifies in watts the maximum amount of power
|
|
|
|
consumed by the processor for NB and logic external to the core.
|
|
|
|
* ProcessorPwrWatts: Specifies in watts the maximum amount of power
|
|
|
|
the processor can support.
|
|
|
|
* CurrPwrWatts: Specifies in watts the current amount of power being
|
|
|
|
consumed by the processor.
|
|
|
|
|
|
|
|
This driver provides ProcessorPwrWatts and CurrPwrWatts:
|
|
|
|
* power1_crit (ProcessorPwrWatts)
|
|
|
|
* power1_input (CurrPwrWatts)
|
|
|
|
|
|
|
|
On multi-node processors the calculated value is for the entire
|
|
|
|
package and not for a single node. Thus the driver creates sysfs
|
|
|
|
attributes only for internal node0 of a multi-node processor.
|