Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package numatop for openSUSE:Factory checked in at 2022-11-18 15:44:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/numatop (Old) and /work/SRC/openSUSE:Factory/.numatop.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "numatop" Fri Nov 18 15:44:19 2022 rev:9 rq:1036629 version:2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/numatop/numatop.changes 2021-11-27 00:52:29.614559851 +0100 +++ /work/SRC/openSUSE:Factory/.numatop.new.1597/numatop.changes 2022-11-18 15:44:25.154795669 +0100 @@ -1,0 +2,6 @@ +Fri Nov 18 09:16:32 UTC 2022 - Vlastimil Babka <[email protected]> + +- update to version 2.3 + * Add support for SPR CPUs (jsc#PED-2015) + +------------------------------------------------------------------- Old: ---- v2.2.tar.gz New: ---- v2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ numatop.spec ++++++ --- /var/tmp/diff_new_pack.MitFWZ/_old 2022-11-18 15:44:25.882798867 +0100 +++ /var/tmp/diff_new_pack.MitFWZ/_new 2022-11-18 15:44:25.886798885 +0100 @@ -1,7 +1,7 @@ # # spec file for package numatop # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # 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: numatop -Version: 2.2 +Version: 2.3 Release: 0 Summary: A top-like tool for runtime memory locality monitoring on NUMA systems License: BSD-3-Clause ++++++ v2.2.tar.gz -> v2.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numatop-2.2/SECURITY.md new/numatop-2.3/SECURITY.md --- old/numatop-2.2/SECURITY.md 1970-01-01 01:00:00.000000000 +0100 +++ new/numatop-2.3/SECURITY.md 2022-09-26 09:19:59.000000000 +0200 @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numatop-2.2/common/include/win.h new/numatop-2.3/common/include/win.h --- old/numatop-2.2/common/include/win.h 2021-09-08 04:29:54.000000000 +0200 +++ new/numatop-2.3/common/include/win.h 2022-09-26 09:19:59.000000000 +0200 @@ -46,7 +46,7 @@ extern double g_llc_total_bw_scale; extern double g_llc_local_bw_scale; -#define NUMATOP_TITLE "NumaTOP v2.0, (C) 2015 Intel Corporation" +#define NUMATOP_TITLE "NumaTOP v2.3, (C) 2022 Intel Corporation" #define CMD_CAPTION "Command: " #define WIN_PROCNAME_SIZE 12 #define WIN_DESCBUF_SIZE 32 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numatop-2.2/common/win.c new/numatop-2.3/common/win.c --- old/numatop-2.2/common/win.c 2021-09-08 04:29:54.000000000 +0200 +++ new/numatop-2.3/common/win.c 2022-09-26 09:19:59.000000000 +0200 @@ -497,7 +497,7 @@ } /* - * Show the title "NumaTop v2.0, (C) 2015 Intel Corporation" + * Show the title "NumaTop v2.3, (C) 2022 Intel Corporation" */ void win_title_show(void) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numatop-2.2/intel/include/skl.h new/numatop-2.3/intel/include/skl.h --- old/numatop-2.2/intel/include/skl.h 2021-09-08 04:29:54.000000000 +0200 +++ new/numatop-2.3/intel/include/skl.h 2022-09-26 09:19:59.000000000 +0200 @@ -47,6 +47,10 @@ extern void icx_ll_config(struct _plat_event_config *); extern int icx_offcore_num(void); +extern void spr_profiling_config(perf_count_id_t, struct _plat_event_config *); +extern void spr_ll_config(struct _plat_event_config *); +extern int spr_offcore_num(void); + #ifdef __cplusplus } #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numatop-2.2/intel/include/types.h new/numatop-2.3/intel/include/types.h --- old/numatop-2.2/intel/include/types.h 2021-09-08 04:29:54.000000000 +0200 +++ new/numatop-2.3/intel/include/types.h 2022-09-26 09:19:59.000000000 +0200 @@ -45,10 +45,11 @@ CPU_HSX, CPU_BDX, CPU_SKX, - CPU_ICX + CPU_ICX, + CPU_SPR } cpu_type_t; -#define CPU_TYPE_NUM 11 +#define CPU_TYPE_NUM 12 typedef enum { PERF_COUNT_INVALID = -1, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numatop-2.2/intel/plat.c new/numatop-2.3/intel/plat.c --- old/numatop-2.2/intel/plat.c 2021-09-08 04:29:54.000000000 +0200 +++ new/numatop-2.3/intel/plat.c 2022-09-26 09:19:59.000000000 +0200 @@ -49,7 +49,8 @@ snbep_profiling_config, bdw_profiling_config, skl_profiling_config, - icx_profiling_config + icx_profiling_config, + spr_profiling_config }; pfn_plat_ll_config_t @@ -64,7 +65,8 @@ snbep_ll_config, bdw_ll_config, skl_ll_config, - icx_ll_config + icx_ll_config, + spr_ll_config }; pfn_plat_offcore_num_t @@ -79,7 +81,8 @@ snb_offcore_num, bdw_offcore_num, skl_offcore_num, - icx_offcore_num + icx_offcore_num, + spr_offcore_num }; /* ARGSUSED */ @@ -171,6 +174,9 @@ case 106: type = CPU_ICX; break; + case 143: + type = CPU_SPR; + break; } } @@ -210,6 +216,7 @@ /* fall through */ case CPU_SKX: case CPU_ICX: + case CPU_SPR: ret = 0; s_cpu_type = cpu_type; break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/numatop-2.2/intel/skl.c new/numatop-2.3/intel/skl.c --- old/numatop-2.2/intel/skl.c 2021-09-08 04:29:54.000000000 +0200 +++ new/numatop-2.3/intel/skl.c 2022-09-26 09:19:59.000000000 +0200 @@ -55,6 +55,14 @@ { PERF_TYPE_RAW, 0x01BB, 0x53, 0x104000001, "off_core_response_1" } }; +static plat_event_config_t s_spr_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" } +}; + static plat_event_config_t s_skl_ll = { PERF_TYPE_RAW, 0x01CD, 0x53, LL_THRESH, "mem_trans_retired.latency_above_threshold" }; @@ -72,6 +80,12 @@ } void +spr_profiling_config(perf_count_id_t perf_count_id, plat_event_config_t *cfg) +{ + plat_config_get(perf_count_id, cfg, s_spr_config); +} + +void skl_ll_config(plat_event_config_t *cfg) { memcpy(cfg, &s_skl_ll, sizeof (plat_event_config_t)); @@ -83,6 +97,12 @@ skl_ll_config(cfg); } +void +spr_ll_config(plat_event_config_t *cfg) +{ + skl_ll_config(cfg); +} + int skl_offcore_num(void) { @@ -94,3 +114,9 @@ { return skl_offcore_num(); } + +int +spr_offcore_num(void) +{ + return skl_offcore_num(); +}
