Commit | Line | Data |
---|---|---|
512d1027 AH |
1 | Kernel driver fam15h_power |
2 | ========================== | |
3 | ||
4 | Supported chips: | |
5 | * AMD Family 15h Processors | |
5aeb5d20 | 6 | * AMD Family 16h Processors |
512d1027 AH |
7 | |
8 | Prefix: 'fam15h_power' | |
9 | Addresses scanned: PCI space | |
10 | Datasheets: | |
11 | BIOS and Kernel Developer's Guide (BKDG) For AMD Family 15h Processors | |
5aeb5d20 | 12 | BIOS and Kernel Developer's Guide (BKDG) For AMD Family 16h Processors |
512d1027 | 13 | |
d034fbf0 | 14 | Author: Andreas Herrmann <herrmann.der.user@googlemail.com> |
512d1027 AH |
15 | |
16 | Description | |
17 | ----------- | |
18 | ||
19 | This driver permits reading of registers providing power information | |
5aeb5d20 | 20 | of AMD Family 15h and 16h processors. |
512d1027 | 21 | |
5aeb5d20 HR |
22 | For AMD Family 15h and 16h processors the following power values can |
23 | be calculated using different processor northbridge function | |
24 | registers: | |
512d1027 AH |
25 | |
26 | * BasePwrWatts: Specifies in watts the maximum amount of power | |
27 | consumed by the processor for NB and logic external to the core. | |
28 | * ProcessorPwrWatts: Specifies in watts the maximum amount of power | |
29 | the processor can support. | |
30 | * CurrPwrWatts: Specifies in watts the current amount of power being | |
31 | consumed by the processor. | |
32 | ||
33 | This driver provides ProcessorPwrWatts and CurrPwrWatts: | |
34 | * power1_crit (ProcessorPwrWatts) | |
35 | * power1_input (CurrPwrWatts) | |
36 | ||
37 | On multi-node processors the calculated value is for the entire | |
38 | package and not for a single node. Thus the driver creates sysfs | |
39 | attributes only for internal node0 of a multi-node processor. |