4 Commits

5 changed files with 60 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cdcc4a756b3ed268224945dbab6a0654ecd211ffb16e7644e33e0e2c0054910e
size 1236511

3
CoreFreq-2.0.9.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:968d2e5f0d1198989b6ac00d99521c144e63afa96a1f551b51dccc817db90043
size 1237167

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Tue Nov 11 12:30:12 UTC 2025 - Michael Pujos <pujos.michael@gmail.com>
- Update to 2.0.9
* [AMD]
- Adding Ryzen Z2 A and Ryzen AI Z2 Extreme
- [Turin][Dense] Complete the EPYC Embedded 9005 Series
- Adding the Ryzen 5 5500X3D processor
- Complete the Ryzen 8000 Series
- [Zen5][SHP] Introducing the Shimada Peak architecture
- [Family 15h] Provides Package voltage from Core aggregation
* [Intel]
- [Skylake/X] Provides Package voltage from Core aggregation
* [x86_64]
- [Virtualization] Initialized DCU_Mask bitmask
* [aarch64]
- Pass explicit variable-immediate type to fix assembly
* [Build]
- [x86_64] Fedora v34 api fix detecting RHEL MINOR 99
- [Kernel][aarch64] Set mcelsius based on thermal_zone_get_temp()
- [Kernel] Preparing for the impacts of kernel version 6.18
-------------------------------------------------------------------
Wed Aug 6 13:03:56 UTC 2025 - Michael Pujos <pujos.michael@gmail.com>
- added fix-leap16-compilation.patch to fix compilation on x86_64 Leap 16.0
-------------------------------------------------------------------
Sat Aug 2 13:31:16 UTC 2025 - Michael Pujos <pujos.michael@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package CoreFreq
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: CoreFreq
Version: 2.0.8
Version: 2.0.9
Release: 0
Summary: CPU monitoring software for 64-bit processors
License: GPL-2.0-or-later
@@ -25,6 +25,8 @@ URL: https://github.com/cyring/CoreFreq
Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source100: corefreqd.service
Source101: preamble
# PATCH-FIX-OPENSUSE fix-leap16-compilation.patch bsc#1247592
Patch: fix-leap16-compilation.patch
BuildRequires: %{kernel_module_package_buildreqs}
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libsystemd)
@@ -40,7 +42,10 @@ and superiors, and AMD Families 0Fh17h (Zen), 18h (Hygon
Dhyana).
%prep
%autosetup -p1
%setup
%if 0%{?suse_version} == 1600 && 0%{?is_opensuse}
%patch -P 0 -p 1
%endif
%build
%make_build

View File

@@ -0,0 +1,22 @@
diff -ruN CoreFreq-2.0.8.orig/x86_64/corefreqk.h CoreFreq-2.0.8/x86_64/corefreqk.h
--- CoreFreq-2.0.8.orig/x86_64/corefreqk.h 2025-08-06 14:14:26.771406762 +0200
+++ CoreFreq-2.0.8/x86_64/corefreqk.h 2025-08-06 15:02:28.729320262 +0200
@@ -700,7 +700,7 @@
#if defined(CONFIG_AMD_NB) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0) /* asm/amd_node.h */
+
static u16 amd_pci_dev_to_node_id(struct pci_dev *pdev)
{
return PCI_SLOT(pdev->devfn) - AMD_NODE0_PCI_SLOT;
@@ -708,9 +708,6 @@
#define GetRootFromNode(_node) pci_get_domain_bus_and_slot( 0x0, 0x0, \
PCI_DEVFN(0x0, 0x0) )
-#else
-#define GetRootFromNode(_node) node_to_amd_nb(_node)->root
-#endif
#define AMD_SMN_RW(node, address, value, write, indexPort, dataPort) \
({ \