mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 02:05:20 +07:00
5aeb5d205e
This patch updates description of fam15h_power driver, its scope is extended to family 16h processsors. Signed-off-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
Kernel driver fam15h_power
|
|
==========================
|
|
|
|
Supported chips:
|
|
* AMD Family 15h Processors
|
|
* AMD Family 16h Processors
|
|
|
|
Prefix: 'fam15h_power'
|
|
Addresses scanned: PCI space
|
|
Datasheets:
|
|
BIOS and Kernel Developer's Guide (BKDG) For AMD Family 15h Processors
|
|
BIOS and Kernel Developer's Guide (BKDG) For AMD Family 16h Processors
|
|
|
|
Author: Andreas Herrmann <herrmann.der.user@googlemail.com>
|
|
|
|
Description
|
|
-----------
|
|
|
|
This driver permits reading of registers providing power information
|
|
of AMD Family 15h and 16h processors.
|
|
|
|
For AMD Family 15h and 16h processors the following power values can
|
|
be calculated using different processor northbridge function
|
|
registers:
|
|
|
|
* 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.
|