From owner-svn-ports-head@freebsd.org Wed Feb 13 23:35:50 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A60314DB6DA; Wed, 13 Feb 2019 23:35:50 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3096D81347; Wed, 13 Feb 2019 23:35:50 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1B89B2E3D8; Wed, 13 Feb 2019 23:35:50 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1DNZnwd023496; Wed, 13 Feb 2019 23:35:49 GMT (envelope-from ultima@FreeBSD.org) Received: (from ultima@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1DNZnu1023494; Wed, 13 Feb 2019 23:35:49 GMT (envelope-from ultima@FreeBSD.org) Message-Id: <201902132335.x1DNZnu1023494@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ultima set sender to ultima@FreeBSD.org using -f From: Richard Gallamore Date: Wed, 13 Feb 2019 23:35:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492868 - in head/sysutils/mcelog: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ultima X-SVN-Commit-Paths: in head/sysutils/mcelog: . files X-SVN-Commit-Revision: 492868 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3096D81347 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2019 23:35:50 -0000 Author: ultima Date: Wed Feb 13 23:35:49 2019 New Revision: 492868 URL: https://svnweb.freebsd.org/changeset/ports/492868 Log: * Updated to 162 - Fix memory controller bank channel mappings for Skylake - Add decoding for Optane DC persistent memory mode Modified: head/sysutils/mcelog/Makefile head/sysutils/mcelog/distinfo head/sysutils/mcelog/files/patch-p4.c Modified: head/sysutils/mcelog/Makefile ============================================================================== --- head/sysutils/mcelog/Makefile Wed Feb 13 23:10:14 2019 (r492867) +++ head/sysutils/mcelog/Makefile Wed Feb 13 23:35:49 2019 (r492868) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= mcelog -PORTVERSION= 161 +PORTVERSION= 162 DISTVERSIONPREFIX= v CATEGORIES= sysutils Modified: head/sysutils/mcelog/distinfo ============================================================================== --- head/sysutils/mcelog/distinfo Wed Feb 13 23:10:14 2019 (r492867) +++ head/sysutils/mcelog/distinfo Wed Feb 13 23:35:49 2019 (r492868) @@ -1,3 +1,3 @@ -TIMESTAMP = 1540433813 -SHA256 (andikleen-mcelog-v161_GH0.tar.gz) = 485f5be8f2d5ff8ec1382b54033f75f88b2960ef18f1d87bcf865bb1c094dbd5 -SIZE (andikleen-mcelog-v161_GH0.tar.gz) = 308227 +TIMESTAMP = 1550099603 +SHA256 (andikleen-mcelog-v162_GH0.tar.gz) = 875e98572e86240ea319ab1f69ee6d744eb8b73ac5d700e474f6410d0f52d3fc +SIZE (andikleen-mcelog-v162_GH0.tar.gz) = 308347 Modified: head/sysutils/mcelog/files/patch-p4.c ============================================================================== --- head/sysutils/mcelog/files/patch-p4.c Wed Feb 13 23:10:14 2019 (r492867) +++ head/sysutils/mcelog/files/patch-p4.c Wed Feb 13 23:35:49 2019 (r492868) @@ -1,6 +1,6 @@ ---- p4.c.orig 2016-10-10 22:08:11 UTC +--- p4.c.orig 2019-02-05 19:57:07 UTC +++ p4.c -@@ -176,8 +176,10 @@ static int decode_mca(u64 status, u64 mi +@@ -177,8 +177,10 @@ static int decode_mca(u64 status, u64 misc, u64 track, levelnum = mca & 3; level = get_LL_str(levelnum); Wprintf("%s Generic cache hierarchy error\n", level); @@ -11,7 +11,7 @@ } else if (test_prefix(4, mca)) { unsigned levelnum, typenum; char *level, *type; -@@ -186,8 +188,10 @@ static int decode_mca(u64 status, u64 mi +@@ -187,8 +189,10 @@ static int decode_mca(u64 status, u64 misc, u64 track, levelnum = (mca & TLB_LL_MASK) >> TLB_LL_SHIFT; level = get_LL_str(levelnum); Wprintf("%s TLB %s Error\n", type, level); @@ -22,7 +22,7 @@ } else if (test_prefix(8, mca)) { unsigned typenum = (mca & CACHE_TT_MASK) >> CACHE_TT_SHIFT; unsigned levelnum = (mca & CACHE_LL_MASK) >> CACHE_LL_SHIFT; -@@ -196,8 +200,10 @@ static int decode_mca(u64 status, u64 mi +@@ -197,8 +201,10 @@ static int decode_mca(u64 status, u64 misc, u64 track, Wprintf("%s CACHE %s %s Error\n", type, level, get_RRRR_str((mca & CACHE_RRRR_MASK) >> CACHE_RRRR_SHIFT)); @@ -30,10 +30,10 @@ if (track == 2) run_yellow_trigger(cpu, typenum, levelnum, type, level,socket); +#endif - } else if (test_prefix(10, mca)) { - if (mca == 0x400) - Wprintf("Internal Timer error\n"); -@@ -216,7 +222,9 @@ static int decode_mca(u64 status, u64 mi + } else if (test_prefix(9, mca) && EXTRACT(mca, 7, 8) == 1) { + Wprintf("Memory as cache: "); + decode_memory_controller(mca, bank); +@@ -220,7 +226,9 @@ static int decode_mca(u64 status, u64 misc, u64 track, Wprintf("BUS error: %d %d %s %s %s %s %s\n", socket, cpu, level, pp, rrrr, ii, timeout); @@ -43,7 +43,7 @@ /* IO MCA - reported as bus/interconnect with specific PP,T,RRRR,II,LL values * and MISCV set. MISC register points to root port that reported the error * need to cross check with AER logs for more details. -@@ -232,7 +240,9 @@ static int decode_mca(u64 status, u64 mi +@@ -236,7 +244,9 @@ static int decode_mca(u64 status, u64 misc, u64 track, fn = EXTRACT(misc, 16, 18); Wprintf("IO MCA reported by root port %x:%02x:%02x.%x\n", seg, bus, dev, fn); @@ -53,7 +53,7 @@ } } else if (test_prefix(7, mca)) { decode_memory_controller(mca, bank); -@@ -382,19 +392,25 @@ static void decode_thermal(struct mce *l +@@ -386,19 +396,25 @@ static void decode_thermal(struct mce *log, int cpu) void decode_intel_mc(struct mce *log, int cputype, int *ismemerr, unsigned size) {