import lm_sensors-3.4.0-22.20180522git70f7e08.el8

This commit is contained in:
CentOS Sources 2021-03-30 15:13:32 -04:00 committed by Stepan Oksanichenko
parent 2342c9a8d4
commit 8e3eb9c963
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 0ed0dcd43556598c657dc527e3a8e5c04621e64b Mon Sep 17 00:00:00 2001
From: a b <a@b.c>
Date: Thu, 29 Oct 2020 17:25:38 +0100
Subject: [PATCH] Add support for AMD CPU Family 19h
---
prog/detect/sensors-detect | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index 8ee1c1b..3bcb547 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -2779,6 +2779,10 @@ use vars qw(@cpu_ids);
name => "AMD Family 16h power sensors",
driver => "fam15h_power",
detect => sub { amd_pci_detect('1534') },
+ }, {
+ name => "AMD Family 19h thermal sensors",
+ driver => "k10temp",
+ detect => sub { amd_pci_detect('1653') },
}, {
name => "Intel digital thermal sensor",
driver => "coretemp",
--
2.26.2

View File

@ -7,7 +7,7 @@
Name: lm_sensors
Version: 3.4.0
Release: 21.%{date}git%{shortcommit}%{?dist}
Release: 22.%{date}git%{shortcommit}%{?dist}
Summary: Hardware monitoring tools
Group: Applications/System
@ -40,6 +40,8 @@ Patch3: 0001-sensors-detect-Fix-printing-CPU-info-on-ppc-and-arm.patch
# with the version string modified from 3.5.0+git to 3.4.0+git. Drop/modify
# this patch on rebase.
Patch4: fix-unexpanded-revision-strings.patch
# Upstream commit 5deee7d0c301df779:
Patch5: 0001-sensors-detect-Add-support-for-AMD-CPU-Family-19h.patch
Requires: /usr/sbin/modprobe
%ifarch %{ix86} x86_64
@ -99,6 +101,7 @@ database, and warns of sensor alarms.
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
# Remove currently unused files to make sure we've got the license right
rm -f prog/init/sysconfig-lm_sensors-convert prog/hotplug/unhide_ICH_SMBus
@ -220,6 +223,10 @@ fi
%changelog
* Fri Oct 30 2020 Artem Egorenkov <aegorenk@redhat.com> - 3.4.0-22.20180522git70f7e08
- Add support for AMD CPU Family 19h
- Resolves: rhbz#1846847
* Fri Oct 18 2019 Ondřej Lysoněk <olysonek@redhat.com> - 3.4.0-21.20180522git70f7e08
- Fix printing CPU info on non-x86 architectures in sensors-detect
- Resolves: rhbz#1752854