Commit Graph

55 Commits

Author SHA1 Message Date
Wang Mingyu 996bb4371c mcelog: upgrade 204 -> 206
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-24 13:17:38 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Martin Jansa eb6dc0ceb5 mce-test: fix build with gcc-15
fix wait_handler declaration to match definition in:
tools/ltp-pan/ltp-pan.c:wait_handler( int sig )

* fixes build with gcc-15:
  http://errors.yoctoproject.org/Errors/Details/852857/

ltp-pan.c: In function 'main':
ltp-pan.c:459:19: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  459 |     sa.sa_handler = wait_handler;
      |                   ^
In file included from ltp-pan.c:67:
zoolib.h:52:6: note: 'wait_handler' declared here
   52 | void wait_handler();
      |      ^~~~~~~~~~~~
In file included from TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot/usr/include/sys/param.h:28,
                 from ltp-pan.c:56:
TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
ltp-pan.c:489:17: error: too many arguments to function 'wait_handler'; expected 0, have 1
  489 |                 wait_handler(SIGINT);
      |                 ^~~~~~~~~~~~ ~~~~~~

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-23 19:35:09 -07:00
Ross Burton ca4bd3c786 mce-inject: don't inherit autotools
This upstream does not in fact use autotools, so remove the inherit and
implement the required do_install.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-19 11:37:47 -07:00
Wang Mingyu 3ec4bb000d mcelog: upgrade 202 -> 204
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:51 -08:00
Richard Purdie bd6a1bb278 recipes: Fix variable assignment whitespace
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.

This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Yi Zhao f5676076df mce-inject: update to latest git rev
7668d820 simulate a MCE event happened during TDX guest context

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-01 19:02:18 -08:00
Wang Mingyu aacf96f2b0 mcelog: upgrade 201 -> 202
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-19 09:41:23 -08:00
Wang Mingyu 873515c6bd mcelog: upgrade 200 -> 201
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-19 16:59:12 -08:00
Yi Zhao b3efb7ecd8 mce-test: update to latest git rev
9d11fc3e05ea tprctl: enhance sighandler to explicitly print si_code

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:15:34 -07:00
Yi Zhao d960b366eb mce-inject: upgrade to latest git rev
7668d820cadc simulate a MCE event happened during TDX guest context

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:15:34 -07:00
Wang Mingyu d5e0be9ea9 mcelog: upgrade 199 -> 200
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-27 09:18:54 -07:00
Wang Mingyu 7596d6a497 mcelog: upgrade 198 -> 199
0001-server-Correct-prameter-type-for-connect-API.patch
removed since it's included in 199

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-07 09:11:59 -07:00
Khem Raj 03bcc8ffb2 mcelog: Fix build with GCC14 and musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-12 21:51:32 -07:00
Wang Mingyu afd7afbbae mcelog: upgrade 197 -> 198
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:50 -07:00
Wang Mingyu 7c92b00745 mcelog: upgrade 196 -> 197
Changelog:
 assign freed pointers to NULL pointer

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-20 09:28:06 -07:00
Martin Jansa 21f956598d recipes: drop ${SRCPV} usage
* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Khem Raj cfadecc6b4 mcelog: upgrade 194 -> 196
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:27:15 -08:00
Khem Raj 7552a26887 mce-test: Pass CFLAGS to make
Fixes QA errors like below
File /opt/mce-test/cases/function/erst-inject/erst-inject.o in package mce-test contains reference to TMPDIR

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-21 18:11:01 -07:00
Khem Raj 63c9747a32 mce-test: Update to latest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-21 18:11:01 -07:00
Khem Raj 29e6c4928c mcelog: Upgrade to 194
Drop unneeded autotools-brokensep class inherit, this package has
traditional makefile build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Khem Raj 9f1f22f95b mce-inject: Pass CFLAGS to make
This ensures right debug directory remapping options are passed to
compiler

Fixes
 WARNING: mce-inject-git-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/mce-inject in package mce-inject-dbg contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Mingli Yu c2ddfe8b3a mcelog: improve the ptest output
Before:
 # ./run-ptest
 [snip]
 code 0xd2d: [PASS]

 After:
 # ./run-ptest
  [snip]
  PASS: code 0xd2d

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-30 06:24:16 -07:00
Mingli Yu 34afc86242 mcelog: Upgrade to v191
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-12 22:12:35 -07:00
Khem Raj e549ce1de1 mcelog: Upgrade to v189
Fix build with clang while here
Drop 0001-genconfig.py-update-shebang.patch its fixed upstream now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Kai Kang af11f6ce73 mcelog: fix compile error
Fix compile error of mcelog if no /usr/bin/python exists on build
machine. And adjust indent as well.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-31 21:23:05 -07:00
Randy MacLeod 825cd36797 mcelog: update from 175 to 180
The patch has been merged upstream so drop it:
   f922739 test: avoid the pfa test hang

A LICENSE file was added, with the same terms, so update the
file and checksum. Change the HOMEPAGE link to https.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-24 09:45:25 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Mingli Yu 335ddbb02f mcelog: Upgrade to 175
Rebase 0001-test-avoid-the-pfa-test-hang.patch to the new version.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03 11:08:29 -08:00
Mingli Yu e64c674ce2 mcelog: fix the pfa test hang
Per [1], the pfa test needs to install page-types and the pfa test
will hang forever if there is no page-types installed.

Improve the test script to avoid the pfa test hang.

[1] https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git/tree/tests/pfa/PFA_test_howto?id=7b776a8c005b60572f49797e81287540f99fff1f

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-11 19:40:31 -08:00
Zheng Ruoqin 95ba7d5ee3 mcelog: upgrade 168 -> 170
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-31 22:42:25 -07:00
Mingli Yu 6018030050 mce-test: switch to python3
Make gcov_merge.py and scov_merge.py port to python3.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-13 23:38:56 -07:00
Mingli Yu addc04e7c1 mcelog: Upgrade to 168
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-13 14:07:47 -08:00
Wang Mingyu 86be032ac2 mcelog: upgrade 1.65 -> 1.66
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-22 09:22:56 -08:00
Zheng Ruoqin 6afe317dcc mce-test: Update to latest git version
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 17:43:44 -08:00
Zheng Ruoqin 24f2a99d42 mcelog: upgrade 164 -> 165
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-07 17:43:44 -08:00
Zang Ruochen 5f05cba746 mcelog: upgrade 162 -> 164
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-08 10:01:45 -07:00
Adrian Bunk 3ae37ea261 mcelog: Remove manual RDEPENDS from PN-ptest to PN package
They are now added automatically by the ptest class.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:33 -07:00
Zang Ruochen 5e7dc091f1 mcelog: upgrade 161 -> 162
-Upgrade from mcelog_161.bb to mcelog_162.bb.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
dengke.du@windriver.com 23c0153942 mce-test: add it
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-06 08:11:52 -08:00
Mingli Yu dc74bc57cf mcelog: Upgrade to 161
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-14 21:06:58 -08:00
Mingli Yu c7285f6548 mcelog: Upgrade to 160
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 18:18:14 -07:00
Martin Jansa 279045b2b0 mce-inject: add dependency on bison-native
* fixes:
NOTE: make -j 24 destdir=mce-inject/git-r0/image
Makefile:42: .depend: No such file or directory
bison -d mce.y
bison -d mce.y
make: bison: Command not found
Makefile:20: recipe for target 'mce.tab.h' failed
make: *** [mce.tab.h] Error 127

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Mingli Yu b0cfa32993 mcelog: Upgrade to 159
Licence-Update:
* mcelog.org link changed to https://www.mcelog.org
* Add the package version overridden support as below:
  By default mcelog reports its version as the git tag. This
  can be overridden by setting up a .os_release file in the
  source directory. A build system could write the OS version
  to this file to mark the binary.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-09 08:38:53 -07:00
Yi Zhao 0a7e6a2105 mce-inject: add UPSTREAM_CHECK_COMMITS
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:56:19 -07:00
Liwei Song 4ddc0a58a7 mcelog: upgrade to 1.49 to support Denverton SoC
Update mcelog to 1.49 to support Denverton SoC, and delete the additional
patches which are already involved in v1.49.

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-24 10:59:27 +02:00
wqyoung ebde590d14 mcelog: Add Kabylake client support
Issue: TA164086
(LOCAL REV: NOT UPSTREAM) -- will send to oe-devel on 20161117

CPU models 0x8E and 0x9E denote kabylake client processor

Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:29:54 +01:00
Martin Jansa b70d4e2fb3 p7zip, mce-inject: update LIC_FILES_CHKSUM
* both were failing since last upgrade, but nobody noticed, because nobody
  reads QA issues in "bitbake world status" e-mails and LIC_FILES_CHKSUM
  mismatch wasn't fatal due to bug in insane.bbclass
* http://errors.yoctoproject.org/Errors/Details/83571/
* http://errors.yoctoproject.org/Errors/Details/83572/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:15 +02:00