blob: e2b1b69eebea85dc0c4bef2b0a337dc1ce239ab6 [file] [log] [blame]
Andreas Herrmann512d1022011-05-25 20:43:31 +02001Kernel driver fam15h_power
2==========================
3
4Supported chips:
5* AMD Family 15h Processors
Huang Rui5aeb5d22015-08-27 16:07:37 +08006* AMD Family 16h Processors
Andreas Herrmann512d1022011-05-25 20:43:31 +02007
8 Prefix: 'fam15h_power'
9 Addresses scanned: PCI space
10 Datasheets:
11 BIOS and Kernel Developer's Guide (BKDG) For AMD Family 15h Processors
Huang Rui5aeb5d22015-08-27 16:07:37 +080012 BIOS and Kernel Developer's Guide (BKDG) For AMD Family 16h Processors
Andreas Herrmann512d1022011-05-25 20:43:31 +020013
Andreas Herrmannd034fbf2012-10-29 18:50:47 +010014Author: Andreas Herrmann <herrmann.der.user@googlemail.com>
Andreas Herrmann512d1022011-05-25 20:43:31 +020015
16Description
17-----------
18
19This driver permits reading of registers providing power information
Huang Rui5aeb5d22015-08-27 16:07:37 +080020of AMD Family 15h and 16h processors.
Andreas Herrmann512d1022011-05-25 20:43:31 +020021
Huang Rui5aeb5d22015-08-27 16:07:37 +080022For AMD Family 15h and 16h processors the following power values can
23be calculated using different processor northbridge function
24registers:
Andreas Herrmann512d1022011-05-25 20:43:31 +020025
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
33This driver provides ProcessorPwrWatts and CurrPwrWatts:
34* power1_crit (ProcessorPwrWatts)
35* power1_input (CurrPwrWatts)
36
37On multi-node processors the calculated value is for the entire
38package and not for a single node. Thus the driver creates sysfs
39attributes only for internal node0 of a multi-node processor.