summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* kernel-selftest: Tests in 5.8 depend on libhugetlbfs.hKhem Raj2020-08-211-1/+1
| | | | | | | | | Fixes | hmm-tests.c:24:10: fatal error: hugetlbfs.h: No such file or directory | 24 | #include <hugetlbfs.h> | | ^~~~~~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: Fix arm64 build with -fno-commonKhem Raj2020-08-172-0/+55
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* makedumpfile: Fix build with -fno-commonKhem Raj2020-08-132-0/+105
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ipmitool: Fix build with -fno-commonKhem Raj2020-08-132-0/+42
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* broadcom-bt-firmware: add PE backOleksandr Kravchuk2020-07-311-0/+2
| | | | | | | It was mistakenly removed in @77469168db5062. Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* broadcom-bt-firmware: update to 12.0.1.1105_p2Oleksandr Kravchuk2020-07-281-3/+1
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* minicoredumper: update SRC_URI to use github insteadPierre-Jean Texier2020-07-021-1/+1
| | | | | | | | | | | | | | | | Change SRC_URI: - all minicoredumper related sources moved to https://github.com/diamon/minicoredumper >From the NEWS: The Linux Foundation will be shutting down their git service for workgroups. The minicoredumper repository and bug tracking has been moved to the DiaMon Workgroup account on github.com. We thank the Linux Foundation for providing us the git service over the last 5 years. Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pm-graph: add flags support for RT kernelLiwei Song2020-06-222-0/+43
| | | | | | | | | with PREEMPT_RT enabled in kernel, ftrace have a different falgs compare with standard kernel. Add supported for RT kernel ftrace flags format. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* intel-speed-select: Add new recipe for the tool to validate Intel SSTYongxin Liu2020-06-101-0/+30
| | | | | Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* use weak assignments for PNBLACKLIST in recipe filesRobert P. J. Day2020-05-261-1/+1
| | | | | | | | Make sure PNBLACKLIST assignments in recipe files use weak assignment, so they can be overridden in, for example, local.conf files. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* turbostat: fix the build failure for new v5.7-rc6 kernelYanfei Xu2020-05-221-4/+16
| | | | | | | | Due to the new v5.7-rc6 kernel has some modify in header files, turbostat build failed. Now match the files. Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* oprofile: Disable build on riscvKhem Raj2020-04-251-0/+3
| | | | | | Not supported arch yet Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: Do not build on riscvKhem Raj2020-04-251-2/+6
| | | | | | Keep mips64 exclusion as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Specify the target with -target instead of -archKhem Raj2020-04-131-1/+1
| | | | | | This ensures that generated code is properly cross compiled Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: only emit warning on clang if bpf is builtScott Branden2020-03-311-0/+3
| | | | | | | Only emit warning on clang if bpf is actually in PACKAGECONFIG. Signed-off-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: add firmware testsScott Branden2020-03-311-2/+3
| | | | | | | Add firmware tests to kernel-selftest. Signed-off-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kpatch: upgrade 0.9.0 -> 0.9.1Wang Mingyu2020-03-311-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* turbostat: Fix build failure for missing kernel internal heaers and clean upHe Zhe2020-03-271-3/+6
| | | | | | | | | | | | | | | | | | To fix the following build failures turbostat.c:(.text+0xc28a): undefined reference to `UL' turbostat.c:33:10: fatal error: sys/capability.h: No such file or directory (for kernel v5.6-rc7) - Add dependency on libcap for kernel v5.6-rc7 and later versions - Copy internal linux/const.h used by previously added internal linux/bits.h - Tweak linux/const.h to allow it to refer to uapi const.h, as linux-libc-headers purposely removes _UAPI from the locker macros of the headers - Remove -I for kernel-source in EXTRA_OEMAKE, as linux-kernel-headers has provided enough and necessary headers - Make do_configure depend on kernel's do_shared_workdir Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: fix crash-cross build on x86_64Goran Cengic2020-03-201-9/+3
| | | | | | | | | | Remove -m32 from CFLAGS even for -cross recipe. Also remove ${GDB_CONF_FLAGS} from GDB_TARGET variable (that is passed to the gdb configuration) since the use of GDB_CONF_FLAGS is removed by 0001-cross_add_configure_option.patch. Signed-off-by: Goran Cengic <cengic@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ipmitool: fixes for CVE-2020-5208Wenlin Kang2020-03-176-0/+416
| | | | | | | This patch is the other part of the fixes for CVE-2020-5208. Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ipmiutil: gzip man pages with out timestampJeremy Puhlman2020-02-232-0/+26
| | | | | | | | A timestamp was getting encoded into the gzip header. This causes multilib conflicts when installed together, and would likely fail reproducablity tests. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* oprofile: Fix build with bfd 2.34+Khem Raj2020-02-232-0/+80
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kpatch: upgrade 0.8.0 -> 0.9.0Wang Mingyu2020-02-212-5/+5
| | | | | | | | refresh the following patch: 0002-kpatch-build-allow-overriding-of-distro-name.patch Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: upgrade 7.2.7 -> 7.2.8Wang Mingyu2020-02-211-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* makedumpfile: upgrade 1.6.6 -> 1.6.7Wang Mingyu2020-02-203-40/+5
| | | | | | | | | | | refresh the following patch: 0001-makedumpfile-replace-hardcode-CFLAGS.patch 0003-build-Delete-libebl-from-required-libraries-during-l.patch removed since it is included in 1.6.7 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pm-graph: Provide analyze-suspend as wellKhem Raj2020-02-181-0/+11
| | | | | | Remove stale analyze-suspend recipe Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spidev-test: Add initial version of recipeArun Parameswaran2020-02-151-0/+29
| | | | | | | | | | | Allows for testing SPI interface using spidev driver and is part of the kernel tools. Signed-off-by: Arun Parameswaran <arun.parameswaran@broadcom.com> Reviewed-by: Jonathan Richardson <jonathan.richardson@broadcom.com> Tested-by: Jonathan Richardson <jonathan.richardson@broadcom.com> Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ipmitool: fix CVE-2020-5208Wenlin Kang2020-02-142-0/+134
| | | | | | | Fix CVE-2020-5208 Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Disable bpf tests on mipsKhem Raj2020-02-021-1/+5
| | | | | | | | | | | | | | | | | | | 5.4 kernel exposes a problem, where its using host includes to compile BPF tests and it fails for mips because ptrace.h is quite different so it can not find the needed pt_struct definitions during cross compile % clang -fno-stack-protector -I. -I./include/uapi -I../../../include/uapi -I/mnt/b/yoe/build/tmp/work/qemumips-yoe-linux/kernel-selft est/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/../usr/include -D__TARGET_ARCH_mips -g -idirafter /mnt/b/yoe/build/tmp/wor k/qemumips-yoe-linux/kernel-selftest/1.0-r0/recipe-sysroot-native/usr/lib/clang/10.0.0/include -Wno-compare-distinct-pointer-types -O2 -target bpf -emit-llvm \ -c progs/loop1.c progs/loop1.c:21:9: error: no member named 'regs' in 'struct pt_regs' m = PT_REGS_RC(ctx); ^~~~~~~~~~~~~~~ ./bpf_helpers.h:466:29: note: expanded from macro 'PT_REGS_RC' ~~ ^ 1 error generated. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Make powerpc64le overridesKhem Raj2020-01-192-0/+2
| | | | | | The existing conditions for ppc64/be are applicable for le as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ipmiutil: upgrade 3.0.5 -> 3.1.5Wang Mingyu2020-01-121-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* makedumpfile: Drop linking with libeblKhem Raj2020-01-102-0/+35
| | | | | | | | This seems to be not needed as link succeeds without this library, moreover this is static-only library in latest elfutils Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com>
* kernel-selftest: Include rtc testsAndrei Gherzan2020-01-061-0/+1
| | | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libpfm4: Moved here from oe-coreKhem Raj2019-12-152-0/+117
| | | | | | | Upgrade to 4.10.1 while here oprofile/ppc64 still depends on it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: update from 7.2.6 to 7.2.7Randy MacLeod2019-09-251-1/+1
| | | | | | | Change log: http://people.redhat.com/anderson/crash.changelog.html Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Exclude from world buildsKhem Raj2019-09-181-0/+4
| | | | | | Avoid need for installing clang on host, or depending on meta-clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* agent-proxy: update to 1.97Oleksandr Kravchuk2019-09-161-2/+1
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pm-graph: upgrade 5.3 -> 5.5Naveen Saini2019-09-113-35/+42
| | | | | | | | | | This release has python3 support so updating python3 to RDEPENDS. python subprocess comes with python3-core, so removing from RDEPENDS. Removed patch, which is already merged in this release. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Needs error.h which is missing in muslKhem Raj2019-09-091-0/+2
| | | | | | | | prog_tests/flow_dissector.c:3:10: fatal error: error.h: No such file or directory | #include <error.h> | ^~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vboxguestdrivers,can-isotp,bpftool: Add to BlacklistKhem Raj2019-09-071-0/+1
| | | | | | They need forward porting to kernel 5.2+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: Replace EXCLUDE_FROM_WORLD_libc-musl = "1" with ↵Adrian Bunk2019-08-302-2/+2
| | | | | | | | | | COMPATIBLE_HOST_libc-musl = 'null' This gives users a proper error message when trying to build a known non-building package. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Explicitly disable stack protectorKhem Raj2019-08-291-20/+2
| | | | | | | | | | selftests do not support it and clang from meta-clang builds with this turned on by default Disable security flags completely, drop all workarounds used to get around the hoop Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftool.bb: Disable SECURITY_CFLAGSKhem Raj2019-08-291-1/+3
| | | | | | | | | | | | | We do not pass CFLAGS to build and fortify sources needs some optimization to be enabled, its better to reset the additional flags and let the build system add them as it needs Fixes build failures like tools/include/tools/libc_compat.h:11:21: error: static declaration of 'reallocarray' follows non-static declaration | 11 | static inline void *reallocarray(void *ptr, size_t nmemb, size_t size) | | ^~~~~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Warn conditionally about clang-native dependencyKhem Raj2019-08-291-3/+4
| | | | | | | When meta-clang is in mix then it does the right thing already so no need to warn in that case Signed-off-by: Khem Raj <raj.khem@gmail.com>