hwmon: fam15h_power: fix bogus values with current BIOSes
Newer BKDG versions recommend a different initialization value for
the running average range register in the northbridge. This improves
the power reading by avoiding counter saturations resulting in bogus
values for anything below about 80% of TDP power consumption.
Updated BIOSes will have this new value set up from the beginning,
but meanwhile we correct this value ourselves.
This needs to be done on all northbridges, even on those where the
driver itself does not register at.
This fixes the driver on all current machines to provide proper
values for idle load.
Chapter 3.8: D18F5xE0 Processor TDP Running Average (p. 452)
Signed-off-by: Andre Przywara <firstname.lastname@example.org>
Acked-by: Jean Delvare <email@example.com>
[firstname.lastname@example.org: Removed unnecessary return statement]
Signed-off-by: Guenter Roeck <email@example.com>
Cc: firstname.lastname@example.org # 3.0+
1 file changed