Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package thermald for openSUSE:Factory checked in at 2023-07-12 17:28:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/thermald (Old) and /work/SRC/openSUSE:Factory/.thermald.new.8922 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "thermald" Wed Jul 12 17:28:17 2023 rev:15 rq:1098373 version:2.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/thermald/thermald.changes 2023-04-17 17:41:29.306287866 +0200 +++ /work/SRC/openSUSE:Factory/.thermald.new.8922/thermald.changes 2023-07-12 17:28:53.163140238 +0200 @@ -1,0 +2,6 @@ +Wed Jul 12 13:48:25 UTC 2023 - Andrea Manzini <andrea.manz...@suse.com> + +- update to 2.5.3: + * Support for Meteor Lake + +------------------------------------------------------------------- Old: ---- thermal_daemon-2.5.2.tar.gz New: ---- thermal_daemon-2.5.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ thermald.spec ++++++ --- /var/tmp/diff_new_pack.MEnfE4/_old 2023-07-12 17:28:53.723144115 +0200 +++ /var/tmp/diff_new_pack.MEnfE4/_new 2023-07-12 17:28:53.727144142 +0200 @@ -21,7 +21,7 @@ %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: thermald -Version: 2.5.2 +Version: 2.5.3 Release: 0 Summary: The Linux Thermal Daemon program from 01.org License: GPL-2.0-or-later ++++++ thermal_daemon-2.5.2.tar.gz -> thermal_daemon-2.5.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/thermal_daemon-2.5.2/README.txt new/thermal_daemon-2.5.3/README.txt --- old/thermal_daemon-2.5.2/README.txt 2023-01-30 23:55:28.000000000 +0100 +++ new/thermal_daemon-2.5.3/README.txt 2023-07-06 20:37:00.000000000 +0200 @@ -117,6 +117,9 @@ Releases Release 2.5.2 +- Support Meteor Lake + +Release 2.5.2 - Support Alder Lake N - Support ITMT version 2, which is used in some Raptor Lake systems diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/thermal_daemon-2.5.2/configure.ac new/thermal_daemon-2.5.3/configure.ac --- old/thermal_daemon-2.5.2/configure.ac 2023-01-30 23:55:28.000000000 +0100 +++ new/thermal_daemon-2.5.3/configure.ac 2023-07-06 20:37:00.000000000 +0200 @@ -1,7 +1,7 @@ AC_PREREQ(1.0) m4_define([td_major_version], [2]) -m4_define([td_minor_version], [5.2]) +m4_define([td_minor_version], [5.3]) m4_define([td_version], [td_major_version.td_minor_version]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/thermal_daemon-2.5.2/man/thermal-conf.xml.5 new/thermal_daemon-2.5.3/man/thermal-conf.xml.5 --- old/thermal_daemon-2.5.2/man/thermal-conf.xml.5 2023-01-30 23:55:28.000000000 +0100 +++ new/thermal_daemon-2.5.3/man/thermal-conf.xml.5 2023-07-06 20:37:00.000000000 +0200 @@ -434,3 +434,94 @@ </Platform> </ThermalConfiguration> .EE +.PP +Example 7: Use RAPL power limits to control. +.sp 1 +.EX +<?xml version="1.0"?> +<!-- BEGIN --> +<ThermalConfiguration> +<Platform> + <Name> TEST </Name> + <ProductName>Example_RAPL_Power </ProductName> + <Preference>QUIET</Preference> + <PPCC> + <!-- + Specify the Maximum/Minimum RAPL power limit for the + platform. The limits are in milli watts. + The step size to reduce/increase for each sampling interval + Time window in miili seconds. + --> + <PowerLimitIndex>0</PowerLimitIndex> + <PowerLimitMaximum>15000</PowerLimitMaximum> + <PowerLimitMinimum>2000</PowerLimitMinimum> + <TimeWindowMinimum>20</TimeWindowMinimum> + <TimeWindowMaximum>30</TimeWindowMaximum> + <StepSize>1000</StepSize> + </PPCC> + <ThermalZones> + <ThermalZone> + <Type>TestZone</Type> + <TripPoints> + <TripPoint> + <SensorType>SEN3</SensorType> + <Temperature>50000</Temperature> + <Type>Passive</Type> + <CoolingDevice> + <Type>B0D4</Type> + <SamplingPeriod>3</SamplingPeriod> + <TargetState>2147483647</TargetState> + <!-- + This setting means that when SEN3 reaches 50C, set the RAPL + max power limit to whatever the maximum power limit of the + platform. + --> + </CoolingDevice> + </TripPoint> + <TripPoint> + <SensorType>SEN3</SensorType> + <Temperature>52000</Temperature> + <Type>Passive</Type> + <CoolingDevice> + <Type>B0D4</Type> + <SamplingPeriod>3</SamplingPeriod> + <TargetState>8500000</TargetState> + <!-- + This setting means that when SEN3 reaches 52C, set the RAPL + max power limit to 8.5W. + --> + </CoolingDevice> + </TripPoint> + <TripPoint> + <SensorType>SEN3</SensorType> + <Temperature>60000</Temperature> + <Type>Passive</Type> + <CoolingDevice> + <Type>B0D4</Type> + <SamplingPeriod>3</SamplingPeriod> + <TargetState>4500000</TargetState> + <!-- + This setting means that when SEN3 reaches 60C, set the RAPL + max power limit to 4.5W. + --> + </CoolingDevice> + </TripPoint> + <TripPoint> + <SensorType>SEN3</SensorType> + <Temperature>65000</Temperature> + <Type>Passive</Type> + <CoolingDevice> + <Type>B0D4</Type> + <SamplingPeriod>3</SamplingPeriod> + <!-- + This setting means that when SEN3 reaches 65C, set the RAPL + max power limit to minimum power limit for the platform. + --> + </CoolingDevice> + </TripPoint> + </TripPoints> + </ThermalZone> + </ThermalZones> +</Platform> +</ThermalConfiguration> +.EE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/thermal_daemon-2.5.2/src/thd_engine.cpp new/thermal_daemon-2.5.3/src/thd_engine.cpp --- old/thermal_daemon-2.5.2/src/thd_engine.cpp 2023-01-30 23:55:28.000000000 +0100 +++ new/thermal_daemon-2.5.3/src/thd_engine.cpp 2023-07-06 20:37:00.000000000 +0200 @@ -715,6 +715,7 @@ { 6, 0xba }, // Raptorlake { 6, 0xbe }, // Alderlake N { 6, 0xbf }, // Raptorlake S + { 6, 0xaa }, // Mateor Lake L { 0, 0 } // Last Invalid entry }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/thermal_daemon-2.5.2/src/thd_engine_adaptive.cpp new/thermal_daemon-2.5.3/src/thd_engine_adaptive.cpp --- old/thermal_daemon-2.5.2/src/thd_engine_adaptive.cpp 2023-01-30 23:55:28.000000000 +0100 +++ new/thermal_daemon-2.5.3/src/thd_engine_adaptive.cpp 2023-07-06 20:37:00.000000000 +0200 @@ -581,6 +581,8 @@ int3400_base_path = "/sys/bus/platform/devices/INTC1041:00/"; } else if (sysfs.exists("/sys/bus/platform/devices/INTC10A0:00")) { int3400_base_path = "/sys/bus/platform/devices/INTC10A0:00/"; + } else if (sysfs.exists("/sys/bus/platform/devices/INTC1042:00")) { + int3400_base_path = "/sys/bus/platform/devices/INTC1042:00/"; } else { return THD_ERROR; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/thermal_daemon-2.5.2/src/thd_gddv.cpp new/thermal_daemon-2.5.3/src/thd_gddv.cpp --- old/thermal_daemon-2.5.2/src/thd_gddv.cpp 2023-01-30 23:55:28.000000000 +0100 +++ new/thermal_daemon-2.5.3/src/thd_gddv.cpp 2023-07-06 20:37:00.000000000 +0200 @@ -1487,6 +1487,8 @@ int3400_base_path = "/sys/bus/platform/devices/INTC1041:00/"; } else if (sysfs.exists("/sys/bus/platform/devices/INTC10A0:00")) { int3400_base_path = "/sys/bus/platform/devices/INTC10A0:00/"; + } else if (sysfs.exists("/sys/bus/platform/devices/INTC1042:00")) { + int3400_base_path = "/sys/bus/platform/devices/INTC1042:00/"; } else { return THD_ERROR; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/thermal_daemon-2.5.2/src/thd_int3400.cpp new/thermal_daemon-2.5.3/src/thd_int3400.cpp --- old/thermal_daemon-2.5.2/src/thd_int3400.cpp 2023-01-30 23:55:28.000000000 +0100 +++ new/thermal_daemon-2.5.3/src/thd_int3400.cpp 2023-07-06 20:37:00.000000000 +0200 @@ -40,6 +40,8 @@ base_path = "/sys/bus/acpi/devices/INTC1041:00/physical_node/uuids/"; } else if (cdev_sysfs.exists("/sys/bus/acpi/devices/INTC10A0:00/physical_node/uuids")) { base_path = "/sys/bus/acpi/devices/INTC10A0:00/physical_node/uuids/"; + } else if (cdev_sysfs.exists("/sys/bus/acpi/devices/INTC1042:00/physical_node/uuids")) { + base_path = "/sys/bus/acpi/devices/INTC1042:00/physical_node/uuids/"; } thd_log_info("INT3400 Base path is %s\n", base_path.c_str()); }