summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* kernel-selftest: Build headers before compiling testsKhem Raj2023-10-151-1/+1
| | | | | | | This fixes build failure with kernel 6.5 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libbpf: installing uapi headers for native packageXiangyu Chen2023-06-071-0/+5
| | | | | | | using libbpf-native provided headers for pahole-native or other application. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* minicoredumper: correct the sysvinit service file attributeMingli Yu2023-05-281-1/+1
| | | | | | | | | | | | Add the execute attribute for sysvinit service file to fix the below error: $ service minicoredumper status minicoredumper: unrecognized service Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit d477cbb5267f39846d129f27d0f6a7f2b001db7b) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* ipmitool: Update linksAlexander Amelkin2023-05-281-3/+3
| | | | | | | | | | | | | | | The project has been moved to CodeBerg.org. Update the links in the recipe and also bump to the latest revision (1.8.19.13). Additionally fix the link to the IANA PEN registry as IANA has changed their URL scheme some time ago and the old link started pointing to the HTML page instead of the text file. Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 05acb8d0661d7dd42c760075e623e3ee7b0a37f6) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libtraceevent: upgrade 1.7.1 -> 1.7.2Wang Mingyu2023-04-041-1/+1
| | | | | | | | | | | Changelog: ========== - Fix big-endian build breakage in unit tests - Fix double free in process_sizeof() function - Cleaned up process_sizeof() function as well Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libpfm4: upgrade 4.12.0 -> 4.13.0Wang Mingyu2023-04-041-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: ========== update Intel SKL/SKX/CLX event table add ARM Neoverse V2 core PMU support move ARM Neoverse N2 to ARMv9 support add ARM v9 support basic infrastructure add Arm Neoverse V1 core PMU support Update Intel SapphireRapid event table update Intel Icelake event table update AMD Zen4 event table add AMD Zen4 core PMU support correctly detect all AMD Zen3 processors fix CPU_CLK_UNHALTED.REF_DISTRIBUTED on Intel Icelake Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: Upgrade to 8.0.2Mingli Yu2023-03-095-33/+65
| | | | | | | Upgrade crash to 8.0.2 and rebase 4 patches to the new version. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: upgrade 0.8.0 -> 1.1.0Xiangyu Chen2023-03-091-1/+1
| | | | | | | | Changelog: https://github.com/libbpf/libbpf/releases/tag/v1.1.0 Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* .patch: fix Upstream-Status formatting issues reported by patchreview tool ↵Martin Jansa2023-02-242-2/+2
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: upgrade 2.0.2 -> 2.0.3Wang Mingyu2023-02-182-39/+1
| | | | | | | | | | | | | | | | | | | | | | | 0001-minicoredumper_demo-Use-optnone-attribute-with-clang.patch removed since it's included in 2.0.3 Changelog: ========== * Dump zero-blocks as 4KB blocks instead of single bytes to speed up piping to the compressor. (Only relevant if tar is not used.) * Drop core data exceeding the ustar 8GB limit. The core file is appropriately truncated and the actions are logged. This fixes tar file corruption for core files >8GB. * Known problems: - If tar is active, core files larger than 8GB will be truncated. If it is known that the core files will be >8GB and the full core file is needed, tar must be disabled. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* oprofile: Do not use std::bind2ndKhem Raj2023-02-062-0/+35
| | | | | | | std::bind2nd is removed from c++17, therefore re-implement with generic lambda Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: Upgrade to 2.0.2 releaseKhem Raj2023-02-044-166/+39
| | | | | | | Drop patches already upstreamed. Add patch to fix tests with clang compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: Add ptestSimone Weiss2023-02-032-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the demo from minicoredumper - that is intended as a test for it - as a ptest for minicoredumper. Result example: root@qemux86-64:~# ptest-runner minicoredumper START: ptest-runner 2023-02-02T12:27 BEGIN: /usr/lib/minicoredumper/ptest minicoredumper_demo expecting Segmentation fault with core dump ... [ 21.791878] minicoredumper_[330]: segfault at 0 ip 00000000004014f2 sp 00007ffe4271f870 error 4 in minicoredumper_demo[401000+1000] likely on CPU 0 (core 0, socket 0) [ 21.793886] Code: 00 b8 00 00 00 00 e8 7d fb ff ff 83 bd 5c ff ff ff 01 75 2f 48 c7 45 e8 00 00 00 00 bf 58 21 40 00 e8 52 fb ff ff 48 8b 45 e8 <0f> b6 00 0f be c0 89 c6 bf 77 21 40 00 b8 00 00 00 00 e8 47 ff /usr/lib/minicoredumper/ptest/run-ptest: line 6: 330 Segmentation fault minicoredumper_demo minicoredumper SUCCESS DURATION: 3 END: /usr/lib/minicoredumper/ptest 2023-02-02T12:28 STOP: ptest-runner TOTAL: 1 FAIL: 0 root@qemux86-64:~# Please note the Segmentation fault is intended to provoke a coredump. Signed-off-by: Simone Weiss <simone.weiss@elektrobit.com> Signed-off-by: Kai Tomerius <kai.tomerius@elektrobit.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta: remove True option to getVar calls (again)Martin Jansa2023-02-012-2/+2
| | | | | | | | | | | | | * True is default since 2016 and most layers were already updated not to pass this parameter where not necessary, e.g. oe-core was updated couple times, first in: https://git.openembedded.org/openembedded-core/commit/?id=7c552996597faaee2fbee185b250c0ee30ea3b5f Updated with the same regexp as later oe-core update: https://git.openembedded.org/openembedded-core/commit/?id=9f551d588693328e4d99d33be94f26684eafcaba Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* .patch: fix Signed-off-by formatting issues reported by patchreview tool ↵Martin Jansa2023-01-271-1/+1
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* .patch: fix Upstream-Status formatting issues reported by patchreview tool ↵Martin Jansa2023-01-271-1/+1
| | | | | | | from oe-core Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libtracefs: upgrade 1.6.3 -> 1.6.4Wang Mingyu2023-01-171-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libtraceevent: upgrade 1.7.0 -> 1.7.1Wang Mingyu2023-01-171-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ipmitool: Remove unneeded patchKhem Raj2023-01-112-35/+0
| | | | | | | | This has been fixed with [1] [1] https://github.com/ipmitool/ipmitool/commit/1724b031 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* trace-cmd: Fix QA Issue of do_package when enable multilib:Lei Maohui2023-01-111-1/+1
| | | | | | | | | | ERROR: trace-cmd-3.1.5-r0 do_package: QA Issue: trace-cmd: Files/directories were installed but not shipped in any package: /usr/usr/lib64/libtracecmd.so /usr/usr/lib64/libtracecmd.so.1.3.0 /usr/usr/lib64/libtracecmd.so.1 Signed-off-by: Lei Maohui <leimaohui@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* trace-cmd: Update to upstream submitted patchesKhem Raj2023-01-113-34/+180
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* trace-cmd: Upgrade to 3.1.5Khem Raj2023-01-066-590/+1201
| | | | | | | | = Drop uneeded 0001-trace-cmd-make-it-build-with-musl.patch - Update LFS64 patch with the upstream submitted one - Add a patch to remove useless rpaths Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libtraceevent: Move plugins into package of its ownKhem Raj2023-01-061-1/+3
| | | | | | | From Peter Bergin <peter@berginkonsult.se> see https://github.com/openembedded/meta-openembedded/pull/632/commits/cf672ba52f8c4d983ad9a74b67f226ac753a50f8 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* trace-cmd: Build libs before building restKhem Raj2023-01-061-1/+2
| | | | | | | | | | | | There is a dependency on libs in trace-cmd binaries so lets build libs first before building trace-cmd Fixes errors like trace-cmd/2.9.1-r0/git/tracecmd/trace-record.o: in function `make_instances': | /usr/src/debug/trace-cmd/2.9.1-r0/tracecmd/trace-record.c:5037: undefined reference to `tracefs_instance_create' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* trace-cmd: Pass ldflags to compilerKhem Raj2022-12-271-0/+2
| | | | | | | Fixes File /usr/lib/traceevent/libtraceevent.so in package trace-cmd doesn't have GNU_HASH (didn't pass LDFLAGS?) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* trace-cmd: Remove use of off64_t and lseek64Khem Raj2022-12-242-3/+439
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libtracefs: Add recipeKhem Raj2022-12-242-0/+53
| | | | | | Needed by trace-cmd Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libtraceevent: Add recipeKhem Raj2022-12-242-0/+63
| | | | | | Its needed by trace-cmd Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: add native and nativesdk BBCLASSEXTENDGianluigi Spagnuolo2022-11-301-0/+2
| | | | | | To build pahole-native we need libbpf-native Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ipmitool: fix typo in .bb file's comments, using = instead of =?Xiangyu Chen2022-11-011-1/+1
| | | | | Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* makedumpfile: upgrade 1.7.1 -> 1.7.2Wang Mingyu2022-10-241-1/+1
| | | | | | | | | | Changelog: ========= - LoongArch64 architecture support - Support kernels up to v6.0 (x86_64) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* broadcom-bt-firmware: upgradeWang Mingyu2022-10-181-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftool: add aarch64 to COMPATIBLE_HOSTGianluigi Spagnuolo2022-09-291-1/+1
|
* libpfm4: upgrade 4.11.0 -> 4.12.0wangmy2022-09-201-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ipmitool: Update to 1.8.19Khem Raj2022-09-0511-749/+94
| | | | | | | | Remove backported patches Add a patch to fix build with clang Add a patch to stop downloading IANA registry during configure Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ipmiutil: Add missing headers for protypes of free/malloc/atoiKhem Raj2022-09-052-0/+27
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* oprofile: Fix configure check for perf_events supportKhem Raj2022-09-052-0/+29
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: retry elf parsing as long as neededSakib Sajal2022-06-302-0/+129
| | | | | | | | Maximum number of tries, in rare cases, is insufficient for elf parse. Backport patch that fixes the issue. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: upgrade 0.7.0 -> 0.8.0Wang Mingyu2022-05-241-1/+1
| | | | | | | | Changelog: https://github.com/libbpf/libbpf/releases/tag/v0.8.0 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* intel-speed-select: Add libnl dependency and extend CFLAGSRandy MacLeod2022-05-091-0/+3
| | | | | | | | | | Add libnl dependency and extend CFLAGS to include the libnl3 directory. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: install kselftest runnerChase Qi2022-05-071-1/+7
| | | | | | | Install kselftest runner and the required kselftest-list.txt. Signed-off-by: Chase Qi <chase.qi@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* makedumpfile: Use right TARGET for ppc32Khem Raj2022-05-011-1/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* makedumpfile: Upgrade to 1.7.1Mingli Yu2022-04-252-35/+26
| | | | | | | | | Remove related man pages gz logic as it's removed in new version [1]. [1] https://github.com/makedumpfile/makedumpfile/commit/2169de66ecd4504a3e69e0be0330f492f966ce5e Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: Fix build for mips targetKhem Raj2022-04-221-0/+1
| | | | | | | | The patch to remove these options is removed therefore instrument them via sed operations Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Mingli Yu <mingli.yu@windriver.com>
* crash: Upgrade to 8.0.0Mingli Yu2022-04-226-227/+3
| | | | | | | | | | The bundled gdb upgraded to 10.2 [1] and remove related patches against the previous gdb 7.6. [1] https://github.com/crash-utility/crash/commit/ec568e2ea515b66343d3488d5d4b9a625d55b7ae Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libpfm4: Remove -Werror from compiler flagsKhem Raj2022-04-131-1/+1
| | | | | | | | | | | | Newer versions of compilers get stricter and add new diagnostics which cause build failures that upstream should address not distros Fixes | In function 'perf_table_alloc_umask', | inlined from 'gen_tracepoint_table' at pfmlib_perf_event_pmu.c:434:10: | pfmlib_perf_event_pmu.c:304:47: error: pointer may be used after 'realloc' [-Werror=use-after-free] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: upgrade 0.5.0 -> 0.7.0wangmy2022-04-121-1/+1
| | | | | | | | Changelog: https://github.com/libbpf/libbpf/releases/tag/v0.7.0 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* broadcom-bt-firmware: upgrade 12.0.1.1105_p2 -> 12.0.1.1105_p3wangmy2022-04-111-1/+1
| | | | | | | | | Changelog: ========== Fixed #26 (unable to install RPM pacakge), updated documentation. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: Enable on ppc64Khem Raj2022-03-211-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: Enable builds for riscv64Khem Raj2022-03-051-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>