Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package numatop for openSUSE:Factory checked 
in at 2024-10-16 23:50:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/numatop (Old)
 and      /work/SRC/openSUSE:Factory/.numatop.new.19354 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "numatop"

Wed Oct 16 23:50:30 2024 rev:12 rq:1208399 version:2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/numatop/numatop.changes  2024-01-19 
23:02:55.999646693 +0100
+++ /work/SRC/openSUSE:Factory/.numatop.new.19354/numatop.changes       
2024-10-16 23:52:01.858189966 +0200
@@ -1,0 +2,7 @@
+Tue Oct 15 13:34:50 UTC 2024 - Vlastimil Babka <vba...@suse.com>
+
+- numatop-fix-missing-fields.patch: Fix building with recent gcc
+- numatop-power11.patch: Support Power11 processors (jsc#PED-9887,
+  jsc#PED-10899)
+
+-------------------------------------------------------------------

New:
----
  numatop-fix-missing-fields.patch
  numatop-power11.patch

BETA DEBUG BEGIN:
  New:
- numatop-fix-missing-fields.patch: Fix building with recent gcc
- numatop-power11.patch: Support Power11 processors (jsc#PED-9887,
  New:- numatop-fix-missing-fields.patch: Fix building with recent gcc
- numatop-power11.patch: Support Power11 processors (jsc#PED-9887,
  jsc#PED-10899)
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ numatop.spec ++++++
--- /var/tmp/diff_new_pack.W9ZhN5/_old  2024-10-16 23:52:02.858231673 +0200
+++ /var/tmp/diff_new_pack.W9ZhN5/_new  2024-10-16 23:52:02.858231673 +0200
@@ -32,6 +32,10 @@
 BuildRequires:  ncurses-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  x86_64 ppc64le
+# PATCH-FIX-UPSTREAM numatop-fix-missing-fields.patch
+Patch0:         numatop-fix-missing-fields.patch
+# PATCH-FEATURE-SLE numatop-power11.patch jsc#PED-9887 jsc#PED-10899
+Patch1:         numatop-power11.patch
 
 %description
 NumaTOP is an observation tool for runtime memory locality characterization
@@ -45,6 +49,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+%autopatch -p1
 
 %build
 autoreconf -i

++++++ numatop-fix-missing-fields.patch ++++++
>From 8badd8cfed744c254520808890d7351b88e1b9c4 Mon Sep 17 00:00:00 2001
From: Colin Ian King <colin.i.k...@gmail.com>
Date: Wed, 31 Jul 2024 12:02:06 +0100
Subject: [PATCH] x86: Fix missing fields for EMR support
Upstream: merged, not released

There are two missing fields in the s_emr_config array causing
build issues with modern versions of gcc. Fix this.

Fixes: d3fcffc6a9cc ("x86: Add initial support for EMR")
Signed-off-by: Colin Ian King <colin.i.k...@gmail.com>
---
 x86/skl.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/x86/skl.c b/x86/skl.c
index 17cfbcc..a80a868 100644
--- a/x86/skl.c
+++ b/x86/skl.c
@@ -64,11 +64,11 @@ static plat_event_config_t s_spr_config[PERF_COUNT_NUM] = {
 };
 
 static plat_event_config_t s_emr_config[PERF_COUNT_NUM] = {
-       { PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES, 0x53, 0, 
"cpu_clk_unhalted.core" },
-       { PERF_TYPE_RAW, 0x012A, 0x53, 0x730000001, "off_core_response_0" },
-       { PERF_TYPE_HARDWARE, PERF_COUNT_HW_REF_CPU_CYCLES, 0x53, 0, 
"cpu_clk_unhalted.ref" },
-       { PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS, 0x53, 0, 
"instr_retired.any" },
-       { PERF_TYPE_RAW, 0x012B, 0x53, 0x104000001, "off_core_response_1" }
+       { PERF_TYPE_HARDWARE, PERF_COUNT_HW_CPU_CYCLES, 0x53, 0, 0, 0, 
"cpu_clk_unhalted.core" },
+       { PERF_TYPE_RAW, 0x012A, 0x53, 0x730000001, 0, 0, "off_core_response_0" 
},
+       { PERF_TYPE_HARDWARE, PERF_COUNT_HW_REF_CPU_CYCLES, 0x53, 0, 0, 0, 
"cpu_clk_unhalted.ref" },
+       { PERF_TYPE_HARDWARE, PERF_COUNT_HW_INSTRUCTIONS, 0x53, 0, 0, 0, 
"instr_retired.any" },
+       { PERF_TYPE_RAW, 0x012B, 0x53, 0x104000001, 0, 0, "off_core_response_1" 
}
 };
 
 static plat_event_config_t s_skl_ll = {

++++++ numatop-power11.patch ++++++
>From 50617b9a0e197a5261b3824d6e6309c034e99134 Mon Sep 17 00:00:00 2001
From: Kajol Jain <kj...@linux.ibm.com>
Date: Fri, 12 Apr 2024 04:46:59 -0400
Subject: [PATCH] numatop/powerpc: Add Power11 support
References: jsc#PED-9887, jsc#PED-10899
Upstream: merged, not released

Power11 is PowerISA v3.1 compliant processor and support Power10 events.
So using Power10 events to enable numatop in Power11 platform and to
count the per-process/per-thread memory accesses and CPU usage.

Signed-off-by: Kajol Jain <kj...@linux.ibm.com>
---
 numatop.8      | 2 +-
 powerpc/plat.c | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/numatop.8 b/numatop.8
index 7237093..b09862e 100644
--- a/numatop.8
+++ b/numatop.8
@@ -500,4 +500,4 @@ in 3.9. The following steps show how to get and apply the 
patch set.
 \fBnumatop\fP supports the Intel Xeon processors: 5500-series, 
6500/7500-series, 
 5600 series, E7-x8xx-series, and E5-16xx/24xx/26xx/46xx-series. 
 \fBNote\fP: CPU microcode version 0x618 or 0x70c or later is required on
-E5-16xx/24xx/26xx/46xx-series. It also supports IBM Power8, Power9 and Power10 
processors.
+E5-16xx/24xx/26xx/46xx-series. It also supports IBM Power8, Power9, Power10 
and Power11 processors.
diff --git a/powerpc/plat.c b/powerpc/plat.c
index bed27d5..0ea262b 100644
--- a/powerpc/plat.c
+++ b/powerpc/plat.c
@@ -93,6 +93,11 @@ plat_detect(void)
                s_cpu_type = CPU_POWER10;
                ret = 0;
                break;
+
+       case 0x82:
+               s_cpu_type = CPU_POWER10;
+               ret = 0;
+               break;
        }
 
        return ret;

Reply via email to