summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* meta-oe: Remove True option to getVar callsakash hadke2025-01-222-2/+2
| | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Signed-off-by: Akash Hadke <akash.hadke27@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libbpf: installing uapi headers for native packageXiangyu Chen2023-05-231-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>
* libbpf: add native and nativesdk BBCLASSEXTENDGianluigi Spagnuolo2023-05-061-0/+2
| | | | | | | | | To build pahole-native we need libbpf-native Signed-off-by: Khem Raj <raj.khem@gmail.com> (backport from commit a28b7fdbf4bf973112530219d63f7559060ec8c7) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* kernel-selftest: install kselftest runnerChase Qi2022-11-011-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> (cherry picked from commit fd330c4514ae5acefa5e472e6775419066d60385) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* minicoredumper: retry elf parsing as long as neededSakib Sajal2022-09-252-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> (cherry picked from commit e231c86e282eefff0e8164551f75f8e01682abe6) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
* makedumpfile: Use right TARGET for ppc32Khem Raj2022-05-171-1/+5
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit f994a19220ab42d3d8002adc89a04b3904020feb) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* makedumpfile: Upgrade to 1.7.1Mingli Yu2022-05-032-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> (cherry picked from commit f2748082e84b70c0a73d7d494b0f02338fedded1) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* crash: Fix build for mips targetKhem Raj2022-05-031-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> (cherry picked from commit 224d8a8cbeef0c5ccdf03e9f6660203af7abead6) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* crash: Upgrade to 8.0.0Mingli Yu2022-05-036-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> (cherry picked from commit c7ce2371c021d713f5328a0a50b23a21f2e4792b) Signed-off-by: Armin Kuster <akuster808@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>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-0417-17/+17
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Added usbip-tools for kernel USB/IPClaus Stovgaard2021-12-211-0/+69
| | | | | | | | | | Userspace tool from the kernel. Used for control the client/server of USB/IP. The server expect USB devices and the client import them on the client machine. Making it look like a device is physical connected to the client, even though it is physical connected to the server. Signed-off-by: Claus Stovgaard <clst@ambu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ipmitool: Split ipmievd into a separate packageWilliam A. Kennington III2021-12-211-0/+3
| | | | | | | | We generally want to use ipmitool without the event daemon. Generally this utility is less commonly used and takes up space in our images. Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* makedumpfile: upgrade from 1.6.9 to 1.7.0Fathi Boudra2021-11-183-100/+18
| | | | | | | | | | | | | | | | | | | | * Drop 0002-mem_section-Support-only-46-bit-for-MAX_PHYSMEM_BITS.patch This patch has been introduced in January 2017 for makedumpfile 1.6.1. It has never reached upstream, hence the pending status is inappropriate. Since that time, the upstream code to retrieve MAX_PHYSMEM_BITS has been updated to use vmcoreinfo, with a backward compatibility for older kernels. * Remove the deprecated comment about arm/aarch64 would compile but has never been tested upstream, introduced in July 2016. Nowadays, it works just fine on those architectures. * Add PACKAGECONFIG option for zstd compression Since 1.7.0 release, Zstandard (zstd) compression support has been added. With zstd, the vmcore size and time consumption can have a better balance than zlib/lzo/snappy. http://lists.infradead.org/pipermail/kexec/2021-September/023011.html Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-038-8/+8
| | | | | | | | | 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>
* libbpf: fix PVOleksandr Kravchuk2021-10-161-0/+0
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: bump to 0.5.0Matteo Croce2021-09-141-2/+2
| | | | | Signed-off-by: Matteo Croce <mcroce@microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: upgrade 7.2.9 -> 7.3.0zangrc2021-09-095-563/+14
| | | | | | | | | | | | | Refresh the following patch: donnot-extract-gdb-during-do-compile.patch remove-unrecognized-gcc-option-m32-for-mips.patch 0001-printk-add-support-for-lockless-ringbuffer.patch 0002-printk-use-committed-finalized-state-values.patch Removed since these are included in 7.3.0. Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: remove kernel configuration dependencyPeter Morrow2021-09-071-14/+2
| | | | | | | | | | | | | | | | | | | | | This dependency introduces a cycle with pahole: ``` kernel --> pahole --> libbpf ^ / \ / `------------------< ``` pahole is a build time dependency of the kernel which is required to generate BTF symbols. The dependency on the kernel configuration is nice to have but makes using pahole during kernel compile time impossible. Furthermore this dependency doesn't make sense when building libbpf purely to ship it via a SDK. Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: remove stale commentPeter Morrow2021-08-311-2/+0
| | | | | | | The license typo (LPGL --> LGPL) was fixed in libbpf 0.4. Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: bump to 0.4.0Matteo Croce2021-08-262-37/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-0316-90/+90
| | | | | | | | | | 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>
* libhugetlbfs: Disable build with glibc 2.34+Khem Raj2021-08-031-2/+1
| | | | | | | | | | It uses __morecore internal function from glibc which has been removed in 2.34+ and replacing it is not so simple and upstream needs to fix it see [1] [1] https://github.com/libhugetlbfs/libhugetlbfs/issues/52 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libpfm4 4.10.1 : enable arm64 host platformOlivier Georget2021-06-251-1/+2
| | | | | | | | libpfm4 is only enabled for powerpc arch as of now. This enables the lib on Arm 64bit platform as well. Signed-off-by: Olivier Georget <olivier.georget@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spidev-test: Update common-licenses referenceDaniel Klauer2021-06-181-1/+1
| | | | | | | | | | | The license files were renamed in oe-core to match the SPDX names. Most recipes here were already updated in commit ed54f12e19 ("recipes: Update common-licenses references to match new names"), but spidev-test was still missing. Signed-off-by: Daniel Klauer <daniel.klauer@gin.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libpfm4: Upgrade to 4.11.0Khem Raj2021-06-182-3/+47
| | | | | | Add a patch to fix compiler error with latest clang compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pm-graph: parse separated cpu exec lineLiweiSong2021-05-282-0/+52
| | | | | | | | | | | | | | if cpu exec line was split into different line, there will be an error when parse it: File "/usr/bin/sleepgraph", line 3165, in parseTraceLog proclist[name] = int(val[1]) IndexError: list index out of range check this case and append to parse the unfinished line. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* makedumpfile: upgrade 1.6.8 -> 1.6.9zangrc2021-05-191-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* trace-cmd: Conflict resolutionwangmy2021-05-191-0/+2
| | | | | | | perf(oe-core) also uses the doc included in plugins/, so package it in own subdirs of trace-cmd. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: Replace pthread_mutexattr_setrobust_np with ↵Khem Raj2021-05-113-29/+34
| | | | | | | | pthread_mutexattr_setrobust Remove unused patch 0001-minicoredumper-Initialize-pointer-to-config-struct-t.patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* makedumpfile: Bump srcrevBruce Mitchell2021-05-063-11/+7
| | | | | | supports for kernel 5.10, prior to 1.6.9 release Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftool: improve reproducibilityINC@Cisco)2021-03-301-1/+10
| | | | | | | | | Pass -f(debug|macro)-prefix-map through CC because libbpf build system overrides CFLAGS. Also remap STAGING_KERNEL_DIR because it is also stored in resulting executable Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftool: remove recipe from blacklistINC@Cisco)2021-03-281-1/+1
| | | | | | | | Have not seen build issues for 5.4 and 5.10 x86-64 kernels so allow to build it Signed-off-by: Denys Zagorui <dzagorui@cisco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* oprofile: Upgrade to 1.4.0 releaseKhem Raj2021-03-1816-219/+319
| | | | | | | | | Drop upstreamed patches Backport musl fix and deterministic build patches from master Release notes - https://oprofile.sourceforge.io/release-notes/oprofile-1.4.0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* oprofile: Fix build on muslKhem Raj2021-03-132-0/+18
| | | | | | MAX_INPUT is defined in linux/limits.h, therefore include it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbpf: Depend on virtual/kernel:do_shared_workdirKhem Raj2021-03-111-0/+2
| | | | | | | | its checking for .config values which means we need to stage kernel sources before executing do_compile Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Matteo Croce <mcroce@microsoft.com>
* libbpf: use pkg-configMatteo Croce2021-03-111-2/+2
| | | | | | | | | | The libbpf makefile uses pkg-config to get the libelf build flags and file paths. Inherit pkgconfig so the install target can copy the binaries in the sysroot, which are needed by other packages, like bcc. Signed-off-by: Matteo Croce <mcroce@microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes-kernel: add libbpfMatteo Croce2021-02-272-0/+75
| | | | | | | | Add a recipe to build libbpf from https://github.com/libbpf/libbpf The only patch fixes a build issue, and it's already merged upstream. Signed-off-by: Matteo Croce <mcroce@microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: add support for lockless ringbufferMingli Yu2021-02-203-0/+550
| | | | | | | | | | | Backport 2 patches to add support for lockless ringbuffer to fix below issue: crash: cannot determine length of symbol: log_end Reference: https://github.com/crash-utility/crash/issues/74 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Disable building bpfKhem Raj2021-02-081-1/+1
| | | | | | | | with 5.10 it builds bpf-bootstrap tool and then tries to run it as well which wont work in cross builds. Disable it until it can be make cross compile friendly. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: upgrade 7.2.8 -> 7.2.9zhengruoqin2020-11-302-56/+1
| | | | | | | | crash/0001-Fix-for-an-ARM64-gcc-10-compilation-error.-Without-t.patch Removed since this is included in 7.2.9 Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* trace-cmd: create recipe for version 2.9.1Beniamin Sandu2020-11-302-0/+149
| | | | | Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* makedumpfile: upgrade 1.6.7 -> 1.6.8Alexander Kamensky2020-11-234-135/+36
| | | | | | | | | | | | | | | | | * Starting with 1.6.8 makedumpfile project migrated from sourceforge to github; properly updated SRC_URI, HOMEPAGE, UPSTREAM_CHECK_XX * Refreshed patch 0001-makedumpfile-replace-hardcode-CFLAGS.patch * Refreshed patch 0002-mem_section-Support-only-46-bit-for-MAX_PHYSMEM_BITS.patch; had conflict in patch removed function, is this patch still required? * Removed 0001-PATCH-Remove-duplicated-variable-definitions.patch backported patch * Added dependency to xz required by new version Signed-off-by: Alexander Kamensky <alexander.kamensky42@gmail.com>
* makedumpfile: add PACKAGECONFIG options for lzo and snappy compressionAlexander Kamensky2020-11-121-0/+5
| | | | | | | | | | | | | | | makedumpfile can be compiled with lzo and/or snappy dump file compression support. Lzo and snappy offer faster compression time but slightly bigger compressed files. When reload time is important it might be beneficial to use lzo or snappy compression. But it brings additional dependencies and can make crash image bigger. Add makedumpfile PACKAGECONFIG that would allow to add lzo and/or snappy if so desired. Signed-off-by: Alexander Kamensky <alexander.kamensky42@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Disable vm packageconfig for riscvKhem Raj2020-11-041-0/+4
| | | | | | it now needs libhugetlbfs which is not ported to riscv yet Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Disable vm tests for mips/armKhem Raj2020-08-241-4/+8
| | | | | | | | | | | Include lib and kernel subdirs as vm tests need headers from it in 5.8+ (test_hmm_uapi.h) see [1] It now uses tests which are not compatible on arm starting with 5.8+ [1] https://lkml.org/lkml/2020/4/22/1654 Signed-off-by: Khem Raj <raj.khem@gmail.com>