Skip to contentSkip to conversation

mcelog: Upgrade to 175

PATCH New Yu, Mingli 1 participant 1 message Mar 3, 2021

lore
Share & tools
lore

Yu, Mingli

author
#0 lore raw

PATCH 1/1 mcelog: Upgrade to 175

From: Mingli Yu <[email protected]>

Rebase 0001-test-avoid-the-pfa-test-hang.patch to the new version.

---
 .../mcelog/0001-test-avoid-the-pfa-test-hang.patch | 14 +++++++-------
 .../mcelog/{mcelog_170.bb => mcelog_175.bb}        |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-support/mcelog/{mcelog_170.bb => mcelog_175.bb} (95%)
meta-oe/recipes-support/mcelog/mcelog/0001-test-avoid-the-pfa-test-hang.patch +7 -7
index 83c29a651..03bcc451d 100644
@@ -1,6 +1,6 @@
-From 139177715a2d66ccd3e099be5d9d4dc86db30055 Mon Sep 17 00:00:00 2001
+From 3765b3a4cabf76f55c1c126ac64780a8c117d1d9 Mon Sep 17 00:00:00 2001
 From: Mingli Yu <[email protected]>
-Date: Tue, 12 Jan 2021 03:05:38 +0000
+Date: Tue, 12 Jan 2021 10:30:13 +0800
 Subject: [PATCH] test: avoid the pfa test hang
 
 Per [1], the pfa test needs to install page-types and the pfa test
@@ -18,13 +18,13 @@ Signed-off-by: Mingli Yu <[email protected]>
  1 file changed, 3 insertions(+)
 
 diff --git a/tests/test b/tests/test
-index 9623f4a..7c552a9 100755
+index 020ae2b..320f57f 100755
 --- a/tests/test
 +++ b/tests/test
-@@ -45,6 +45,9 @@ for conf in `ls *.conf`
- do
- 	log=`echo $conf | sed "s/conf/log/g"`
- 	./inject $conf
+@@ -47,6 +47,9 @@ do
+ 	# Inject mce records and run mcelog in parallel.
+ 	# So that the mce records can be consumed by mcelog in time (avoid mce record overflow).
+ 	./inject $conf &
 +	if [ "$1" = "pfa" ] ; then
 +		which page-types > /dev/null 2>&1 || continue
 +	fi
meta-oe/recipes-support/mcelog/mcelog_175.bb renamed from meta-oe/recipes-support/mcelog/mcelog_170.bb +1 -1
similarity index 95%
rename from meta-oe/recipes-support/mcelog/mcelog_170.bb
rename to meta-oe/recipes-support/mcelog/mcelog_175.bb
index f3e018d4a..ae810eff8 100644
@@ -10,7 +10,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;
     file://run-ptest \
 "
 
-SRCREV = "391abaac9bdff385934b18134789bcc98b0adeb7"
+SRCREV = "7b776a8c005b60572f49797e81287540f99fff1f"
 
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://README.md;md5=74bb47b9a68850cb398665cf78b31de6"
Signature · 1 line
2.17.1