]> git.itanic.dy.fi Git - linux-stable/commit
hwmon: (k10temp) Support all Family 15h Model 6xh and Model 7xh processors
authorGuenter Roeck <linux@roeck-us.net>
Sun, 2 Sep 2018 19:02:53 +0000 (12:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:20:59 +0000 (08:20 +0100)
commita58d5770493cb624a08ed0f9c8a974363580244a
treea1bb42f26a230de8551afa68f3dd7df9ec1cd813
parent1301b861cf50ba0758a01da5b3920561e700367b
hwmon: (k10temp) Support all Family 15h Model 6xh and Model 7xh processors

[ Upstream commit 53dfa0088edd2e2793afa21488532b12eb2dae48 ]

BIOS developer guides refer to Family 15h Models 60h-6fh and Family 15h
Models 70h-7fh. So far the driver only checked for Models 60h and 70h.
However, there are now processors with other model numbers in the same
families. Example is A10-9620P family 15h model 65h. Follow the developer
guides and mask the lower 4 bit of the model number to determine the
registers to use for reading temperatures and temperature limits.

Reported-by: Guglielmo Fanini <g.fanini@gmail.com>
Cc: Guglielmo Fanini <g.fanini@gmail.com>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hwmon/k10temp.c