Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mcelog for openSUSE:Factory checked in at 2024-11-30 13:27:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mcelog (Old) and /work/SRC/openSUSE:Factory/.mcelog.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mcelog" Sat Nov 30 13:27:18 2024 rev:68 rq:1227167 version:201 Changes: -------- --- /work/SRC/openSUSE:Factory/mcelog/mcelog.changes 2024-10-08 17:22:53.293221216 +0200 +++ /work/SRC/openSUSE:Factory/.mcelog.new.28523/mcelog.changes 2024-11-30 13:27:25.272644235 +0100 @@ -1,0 +2,8 @@ +Thu Nov 28 08:46:31 UTC 2024 - tr...@suse.de + +- Update to version 201: + * add listen backlog config for mcelog server + * mcelog: Add basic support for Diamond Rapids + * mcelog: Add support for other CPU families + +------------------------------------------------------------------- Old: ---- mcelog-200.obscpio New: ---- mcelog-201.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mcelog.spec ++++++ --- /var/tmp/diff_new_pack.fVFsQn/_old 2024-11-30 13:27:26.036676058 +0100 +++ /var/tmp/diff_new_pack.fVFsQn/_new 2024-11-30 13:27:26.036676058 +0100 @@ -21,7 +21,7 @@ %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: mcelog -Version: 200 +Version: 201 Release: 0 Summary: Log Machine Check Events License: GPL-2.0-only ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.fVFsQn/_old 2024-11-30 13:27:26.096678557 +0100 +++ /var/tmp/diff_new_pack.fVFsQn/_new 2024-11-30 13:27:26.100678723 +0100 @@ -7,6 +7,6 @@ <param name="url">https://github.com/andikleen/mcelog.git</param> <param name="changesrevision">1f3a769c8fb736815a56ea104b7b751c5565cb88</param></service><service name="tar_scm"> <param name="url">https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git</param> - <param name="changesrevision">cb52c8680cb5920cfede232286b798096d8b750d</param></service></servicedata> + <param name="changesrevision">d70a0a7a794b35225295f77225941462c1d57254</param></service></servicedata> (No newline at EOF) ++++++ mcelog-200.obscpio -> mcelog-201.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mcelog-200/cputype.table new/mcelog-201/cputype.table --- old/mcelog-200/cputype.table 2024-09-30 17:36:43.000000000 +0200 +++ new/mcelog-201/cputype.table 2024-11-15 17:11:54.000000000 +0100 @@ -7,6 +7,7 @@ CPU_COMETLAKE|0xa5,0xa6|Cometlake|cometlake CPU_CORE2|0xf,0x17|Intel Core|core2,xeon3100,xeon3200,xeon5100,xeon5200,xeon7200 CPU_DENVERTON|0x5f|Denverton|denverton +CPU_DIAMONDRAPIDS|0x1301|Diamond Rapids|diamond_rapids CPU_DUNNINGTON|0x1d|Intel Xeon 7400 series|dunnington,xeon7400,xeon74xx CPU_EMERALDRAPIDS|0xcf|Emeraldrapids server|emeraldrapids_server CPU_GRANDRIDGE|0xb6|Grandridge|grandridge diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mcelog-200/input/dmr_dcu_srar new/mcelog-201/input/dmr_dcu_srar --- old/mcelog-200/input/dmr_dcu_srar 1970-01-01 01:00:00.000000000 +0100 +++ new/mcelog-201/input/dmr_dcu_srar 2024-11-15 17:11:54.000000000 +0100 @@ -0,0 +1,4 @@ +# Diamond Rapids DCU SRAR +CPU 0 1 +PROCESSOR 0:0x400f10 +STATUS 0xbd80000010100134 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mcelog-200/intel.c new/mcelog-201/intel.c --- old/mcelog-200/intel.c 2024-09-30 17:36:43.000000000 +0200 +++ new/mcelog-201/intel.c 2024-11-15 17:11:54.000000000 +0100 @@ -64,6 +64,14 @@ return CPU_INTEL; } } + if (family > 0xf) { + ret = lookup_intel_cputype((family << 8) | model); + if (ret != -1) + return ret; + Eprintf("Family %u Model %u CPU: only decoding architectural errors\n", + family, model); + return CPU_INTEL; + } if (family > 6) { Eprintf("Family %u Model %u CPU: only decoding architectural errors\n", family, model); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mcelog-200/mcelog.conf new/mcelog-201/mcelog.conf --- old/mcelog-200/mcelog.conf 2024-09-30 17:36:43.000000000 +0200 +++ new/mcelog-201/mcelog.conf 2024-11-15 17:11:54.000000000 +0100 @@ -93,7 +93,10 @@ # When mcelog starts it checks if a server is already running. This configures the timeout # for this check. #initial-ping-timeout = 2 -# +# Listen backlog for the unix socket. +# default: 10 +#listen-backlog = 10 + [dimm] # Is the in memory DIMM error tracking enabled? # Only works on systems with integrated memory controller and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mcelog-200/server.c new/mcelog-201/server.c --- old/mcelog-200/server.c 2024-09-30 17:36:43.000000000 +0200 +++ new/mcelog-201/server.c 2024-11-15 17:11:54.000000000 +0100 @@ -51,6 +51,7 @@ static char *client_path = SOCKET_PATH; static int initial_ping_timeout = 2; +static int listen_backlog = 10; static struct config_cred acc = { .uid = 0, .gid = -1U }; static void free_outbuf(struct clientcon *cc) @@ -275,12 +276,15 @@ { char *s; long v; + int l; config_cred("server", "client", &acc); if ((s = config_string("server", "socket-path")) != NULL) client_path = s; if (config_number("server", "initial-ping-timeout", "%u", &v) == 0) initial_ping_timeout = v; + if (config_number("server", "listen-backlog", "%u", &l) == 0) + listen_backlog = l; } static sigjmp_buf ping_timeout_ctx; @@ -327,6 +331,7 @@ int fd; struct sockaddr_un adr; int on; + int ret_listen; server_config(); @@ -364,7 +369,11 @@ } - listen(fd, 10); + ret_listen = listen(fd, listen_backlog); + if (ret_listen < 0) { + SYSERRprintf("cannot listen for connections on client unix socket"); + goto cleanup; + } /* Set SO_PASSCRED to avoid race with client connecting too fast */ /* Ignore error for old kernels */ on = 1; @@ -377,5 +386,3 @@ close(fd); exit(1); } - - ++++++ mcelog.obsinfo ++++++ --- /var/tmp/diff_new_pack.fVFsQn/_old 2024-11-30 13:27:26.276686055 +0100 +++ /var/tmp/diff_new_pack.fVFsQn/_new 2024-11-30 13:27:26.280686221 +0100 @@ -1,5 +1,5 @@ name: mcelog -version: 200 -mtime: 1727710603 -commit: cb52c8680cb5920cfede232286b798096d8b750d +version: 201 +mtime: 1731687114 +commit: d70a0a7a794b35225295f77225941462c1d57254