summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* python: import ruamel-yaml from meta-pythonBruce Ashfield2021-11-261-0/+23
| | | | | | | | | | | Importing ruamel-yaml from meta-python. This package is a dependency of python3-dtschema, which is required to validate kernel devicetrees. (From OE-Core rev: 748f7d377b62a0cd6bae558791a4d84b8110ea1a) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: import webcolors from meta-pythonBruce Ashfield2021-11-262-0/+30
| | | | | | | | | | | Importing webcolors, which is a dependency of python3-jsonschema. These packges are required to support the validation of kernel device trees. (From OE-Core rev: cbba71e821815f97bb1dcadadc067d28b9d1e5ab) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: import rfc3986-validator from meta-pythonBruce Ashfield2021-11-262-0/+55
| | | | | | | | | | | Importing rfc3986-validator, which is a dependency of python3-jsonschema. These packges are required to support the validation of kernel device trees. (From OE-Core rev: ffe53365633833e5134744730b00c74cbb462752) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: import rfc3339-validator from meta-pythonBruce Ashfield2021-11-261-0/+20
| | | | | | | | | | | Importing rfc3339-validator from meta-python, which is a dependency of python3-jsonschema. These packges are required to support the validation of kernel device trees. (From OE-Core rev: 8f9ade9448c1c87004d81bec049136a745dfb0b1) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: import idna from meta-pythonBruce Ashfield2021-11-261-0/+19
| | | | | | | | | | | Importing idna from meta-python, which is a dependency of python3-jsonschema. These packges are required to support the validation of kernel device trees. (From OE-Core rev: 14fdb80c3c32e728f32d798134acaef6250c001a) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: import jsonschema from meta-pythonBruce Ashfield2021-11-261-0/+48
| | | | | | | | | | Importing this package as a dependency to python3-dt-schema, which is required for kernel device tree validation. (From OE-Core rev: c28fd66c673a852d287220ec0c9fe882464a0161) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-packagelists: Add missing python3-jsonpointer entryRichard Purdie2021-11-261-0/+1
| | | | | | | | | | Resolves: WARNING: python3-jsonpointer-2.2-r0 do_package_qa: QA Issue: supports ptests but is not included in oe-core's ptest-packagelists.inc [missing-ptest] (From OE-Core rev: 7e561760278c980715fa966448f1f978b3767b8a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonpointer: Update 2.1 to 2.2Bruce Ashfield2021-11-261-1/+1
| | | | | | | | | | | The import from meta-python was slightly out of date, and the 2.1 version was grabbed. We bump the oe-core version to 2.2 to match the latest meta-oe version. (From OE-Core rev: 687823be0ec6ee93614e386af72c3d315d0258ef) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: import jsonpointer from meta-pythonBruce Ashfield2021-11-262-0/+29
| | | | | | | | | | required to support python3-json, which is required for python3-dtschema and device tree checking by the kernel. (From OE-Core rev: 5e057c058da55385d8566532bd713bcd7b4c9ebc) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: introduce python3-dtschemaBruce Ashfield2021-11-261-0/+16
| | | | | | | | | | | | | | | | kernel commit 53182e81f47d [kbuild: Enable DT schema checks for %.dtb targets], which is part of v5.16+, makes the checking of dtb schemas manditory. To support the checking, we introduce this new recipe dtschema. Dependencies will be imported in subsequent commits, so we can track the dependency need on a per-import basis. (From OE-Core rev: d56fcb5806784359a9e81ea5ac4816caaeee7750) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: export native PKGCONFIG variablesBruce Ashfield2021-11-261-0/+7
| | | | | | | | | | | | | | | | | | | | | | In a similar manner to cml1.bbclass, we export the pkg-config variables to allow a direct call to pkg-config access to the native sysroot versus the target sysroot. The kernel doesn't use pkg-config for target configuration, and has many explicit calls to pkg-config, without the possibility of easy override to pkg-config-native. The calls to pkg-config could be made cross friendly via replacement with make variables, but until that effort is undertaken upstream, we need a bridge approach. In particular, this is required for dtschema validation, which is a requirement in kernel 5.16+ (From OE-Core rev: 9172d61c57e23682c3d2c25701cbd53c84d01a27) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-dev: bump to v5.16+Bruce Ashfield2021-11-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping the version of -dev ot 5.16. We also pickup two new dependencies to support kernel dtschema validation. This requirement was introduced by kernel commit: commit 53182e81f47d4ea0c727c49ad23cb782173ab849 Author: Rob Herring <robh@kernel.org> Date: Mon Sep 13 09:51:46 2021 -0500 kbuild: Enable DT schema checks for %.dtb targets It is possible to build a single dtb, but not with DT schema validation enabled. Enable the schema validation to run for %.dtb and %.dtbo targets. Anyone building a dtb for a specific platform *should* pay attention to schema warnings. This could be supported with a separate %.dt.yaml target instead. However, the .dt.yaml format is considered an intermediate format and could possibly go away at some point if schema checking is integrated into dtc. Also, the plan is to enable the schema checks by default once platforms are free of warnings, and this is a move in that direction. Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Cc: Tom Rini <trini@konsulko.com> Cc: Masahiro Yamada <masahiroy@kernel.org> Cc: linux-kbuild@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Masahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20210913145146.766080-1-robh@kernel.org (From OE-Core rev: 37fb1592eb8bcc4a8bbfc3f4b1dc6373733827f0) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Drop no longer needed patchRichard Purdie2021-11-252-36/+0
| | | | | | | | | | | | | This patch was mentioned upstream a long time ago: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47256 Changes from gcc 10 onward mean it is no longer needed as mentioned in the above bug report. Drop the patch. (From OE-Core rev: 6fca075a8d87d033359f81d476c8506df66ad53d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe/utils: by default cap cpu_count() to 64 coresRoss Burton2021-11-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Larger systems may have large numbers of cores, but beyond a certain point they can't all be used for compiling: whilst purely compute-intensive jobs can be parallelised to hundreds of cores, operations such as compressing (needs lots of RAM) or compiling (lots of I/O) don't scale linearly. For example, the Marvel ThunderX2 has 32 cores, each capable of executing four threads, and can be configured with two sockets, making 256 CPUs according to Linux. Zstd using 256 threads has been seen to fail to allocate memory during even small recipes such as iso-codes. Add a default cap of 64 CPUs to the cpu_count() method so that extreme parallisation is limited. 64 is high enough that meaningful gains beyond it are unlikely, but high enough that most systems won't be effected. (From OE-Core rev: 765d0f25ce48636b1838a5968e2dc15de2127428) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: explicitly name the checkhashes thread poolRoss Burton2021-11-251-1/+2
| | | | | | | | | Give this thread pool a name for clarity. (From OE-Core rev: 57ea50fcfe81f47b93b9302d1aab2e81dcdd3105) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe/utils: allow naming threads in ThreadedPoolRoss Burton2021-11-251-6/+5
| | | | | | | | | | When looking at logs involving thread pools it is useful if the threads can be named. (From OE-Core rev: 18342945b021608794d83ecf567afd43f4379b24) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: update 58.5.3 -> 59.2.0Alexander Kanavin2021-11-253-9/+10
| | | | | | | (From OE-Core rev: 717e538e70f78d79ba7cec2797024af0dc91aeb0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: update 21.2 -> 21.3Alexander Kanavin2021-11-252-40/+1
| | | | | | | (From OE-Core rev: f1b1eaf63cd0a762f149d2fed9cbef98eb7f4977) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: update 9.16.22 -> 9.16.23Alexander Kanavin2021-11-2511-36/+38
| | | | | | | (From OE-Core rev: cf024ecc5d19876ef6bd9a93606fae64426a0e4c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan: update 1.2.191.0 -> 1.2.198.0Alexander Kanavin2021-11-253-6/+5
| | | | | | | (From OE-Core rev: 5eb61a191acfb2a7d5fdcde2657b59d0e5a81997) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update 249.6 -> 249.7Alexander Kanavin2021-11-2527-29/+29
| | | | | | | (From OE-Core rev: 5671ef44cf85df00406b391f7786ffaefd05a701) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: update 3.21.4 -> 3.22.0Alexander Kanavin2021-11-253-1/+1
| | | | | | | (From OE-Core rev: 3f83264a4d84669e62e801ce1bb5e04904aec73d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: update 2.33.1 -> 2.34.0Alexander Kanavin2021-11-251-2/+2
| | | | | | | (From OE-Core rev: b2a6b1b0711a75dada8276bc3d573436ba7051df) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gptfdisk: submit patch upstreamAlexander Kanavin2021-11-251-1/+1
| | | | | | | (From OE-Core rev: 9d3e9854ea15145277ba6deebfc1e9fb4c0c9aa9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: mark patch as deniedAlexander Kanavin2021-11-251-1/+1
| | | | | | | | | | upstream has explained in the patch submisstion how the issue should be solved differently; we should work towards that. (From OE-Core rev: 60c0f7fb94e81e644c3b5dc87126fe32a6780239) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: submit patch upstreamAlexander Kanavin2021-11-251-10/+11
| | | | | | | (From OE-Core rev: a71a527ecf198e2e3712ed9608b74e78e09ece0f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: update 0.185 -> 0.186Alexander Kanavin2021-11-257-307/+65
| | | | | | | | | | | | | | | | Drop glibc-2.34-fix.patch merged upstream. Rework support for error() on non-glibc targets: upstream now provides its own implementation, so we can drop the patch that adds ours; said implementation isn't build-tested with tests, so ptest has to be disabled on musl. This, in turns, allows dropping 0004-Fix-error-on-musl.patch. License-Update: copyright years (From OE-Core rev: 9c51ae20c0e4c0d3e7161fc6b51fca078dbf014a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: replace a patch with a tweak to an already existing sed fixupAlexander Kanavin2021-11-253-26/+2
| | | | | | | (From OE-Core rev: b9751b21f4234854f8750f1048bb54f578bd95d3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffstat: remove unneeded patchAlexander Kanavin2021-11-252-25/+0
| | | | | | | (From OE-Core rev: 54ddaef8eb90998c3256a3454450fd2e1aa250d2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: drop unneeded chunk from a musl patch, submit the rest upstreamAlexander Kanavin2021-11-251-26/+9
| | | | | | | | | Upstream has inserted guards around the use of offending constant. (From OE-Core rev: 67cf70f17e9b7afe7ee6416f80545be57714fcd9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: remove unneeded patchAlexander Kanavin2021-11-252-28/+0
| | | | | | | | | Upstream added internal implementation shortly after the patch was added. (From OE-Core rev: f72df428904921cb87223de4e72e784e97208e8f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: submit patch upstreamAlexander Kanavin2021-11-251-1/+1
| | | | | | | (From OE-Core rev: 82288f0b1eb3189d14a006d2fa1844bc9d6303c1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* logrotate: add a link to upstream review for one of the patchAlexander Kanavin2021-11-241-1/+1
| | | | | | | | | | The patch author (Robert Yang) has been asked by email to rework the patch. (From OE-Core rev: 42b0ae35701ec459f621b9b2a3bc350c02c7267f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: include references to corresponding upstream commits in a patchAlexander Kanavin2021-11-241-1/+5
| | | | | | | (From OE-Core rev: 818684b458f20a66c26db5138d7ee185f5b790f1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: conditionally enable stack protection checking on x86-64Bruce Ashfield2021-11-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | The kernel Makfile uses pkgconfig to check for libelf when enabling CONFIG_STACK_VALIDATION. We already have libelf in our DEPENDS, but the kernel Makefiles hardcode 'pkgconfig', so fail to pick up our pkgconfig-native binary that would report the correct flags and paths for libelf support. Rather than patching the kernel Makefile's to use pkgconfig-native, we can use the KERNEL_EXTRA_ARGS variable to pass the definition of HOST_LIBELF_LIBS via the kernel build commmand line. We conditionally set HOST_LIBELF_LIBS based on "stack" being in a newly introduced variable KERNEL_DEBUG_OPTIONS. The value of HOST_LIBELF_LIBS is the same as pkgconfig-native would set in a kernel build (but we cannot call pkgconfig at the point this variable is set). (From OE-Core rev: 0ad2b69dace6ac851c1f0bdae6a3c41045fc2d1d) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.79Bruce Ashfield2021-11-243-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: bd816c278316 Linux 5.10.79 62424fe4c2cf rsi: fix control-message timeout 8971158af1e0 media: staging/intel-ipu3: css: Fix wrong size comparison imgu_css_fw_init 1cf43e928954 staging: rtl8192u: fix control-message timeouts 9963ba5b9d49 staging: r8712u: fix control-message timeout 844b02496eac comedi: vmk80xx: fix bulk and interrupt message timeouts b7fd7f3387f0 comedi: vmk80xx: fix bulk-buffer overflow 33d7a470730d comedi: vmk80xx: fix transfer-buffer overflows ef143dc0c3de comedi: ni_usb6501: fix NULL-deref in command paths 786f5b034504 comedi: dt9812: fix DMA buffers on stack 86d4aedcbc69 isofs: Fix out of bound access for corrupted isofs image c430094541a8 staging: rtl8712: fix use-after-free in rtl8712_dl_fw ab4af56ae250 printk/console: Allow to disable console output by using console="" or console=null 07d1db141e47 binder: don't detect sender/target during buffer cleanup 42681b90c4db usb-storage: Add compatibility quirk flags for iODD 2531/2541 1309753b7841 usb: musb: Balance list entry in musb_gadget_queue 27409143122f usb: gadget: Mark USB_FSL_QE broken on 64-bit 94e5305a3816 usb: ehci: handshake CMD_RUN instead of STS_HALT a8db6fd04d58 Revert "x86/kvm: fix vcpu-id indexed array sizes" ecf58653f1e4 KVM: x86: avoid warning with -Wbitwise-instead-of-logical (From OE-Core rev: 3356c5e7acc86be2e1584819a70e984d984b0d9c) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.14: update to v5.14.18Bruce Ashfield2021-11-243-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.14 to the latest korg -stable release that comprises the following commits: a0265dd8262d Linux 5.14.18 1379769b0b46 rsi: fix control-message timeout eda57a310234 media: staging/intel-ipu3: css: Fix wrong size comparison imgu_css_fw_init 5013f2aaf959 staging: rtl8192u: fix control-message timeouts f3422d1fceba staging: r8712u: fix control-message timeout 373ac8c59414 comedi: vmk80xx: fix bulk and interrupt message timeouts 7b0e35618932 comedi: vmk80xx: fix bulk-buffer overflow 278484ae9329 comedi: vmk80xx: fix transfer-buffer overflows 4a9d43cb5d5f comedi: ni_usb6501: fix NULL-deref in command paths 3ac273d154d6 comedi: dt9812: fix DMA buffers on stack b2fa1f52d22c isofs: Fix out of bound access for corrupted isofs image befd23bd3b17 staging: rtl8712: fix use-after-free in rtl8712_dl_fw bec32c40e438 binder: don't detect sender/target during buffer cleanup 68abe9aefc40 binder: use cred instead of task for getsecid 46088365bab7 binder: use cred instead of task for selinux checks fbb106e79524 binder: use euid from cred instead of using task f9b4ef2504bb Revert "proc/wchan: use printk format instead of lookup_symbol_name()" 4674de4e2734 usb-storage: Add compatibility quirk flags for iODD 2531/2541 6be11f54f5d4 usb: musb: Balance list entry in musb_gadget_queue d7f4ffba71d0 usb: gadget: Mark USB_FSL_QE broken on 64-bit d3c7daab289d usb: ehci: handshake CMD_RUN instead of STS_HALT a4cdb4c9c453 Revert "x86/kvm: fix vcpu-id indexed array sizes" 2f63111ab86f KVM: x86: avoid warning with -Wbitwise-instead-of-logical f468cbedb2a7 ALSA: pci: cs46xx: Fix set up buffer type properly 186155ac272e ALSA: pcm: Check mmap capability of runtime dma buffer at first (From OE-Core rev: 7f09947f9fc12f7b548f18573ffbc452837527bd) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.15: update to v5.15.2Bruce Ashfield2021-11-243-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.15 to the latest korg -stable release that comprises the following commits: 7cc36c3e14ae Linux 5.15.2 5dbe126056fb rsi: fix control-message timeout 7d6f8d3bab72 media: staging/intel-ipu3: css: Fix wrong size comparison imgu_css_fw_init 4787caef521c staging: r8188eu: fix memleak in rtw_wx_set_enc_ext 8f60f9f6ee24 staging: rtl8192u: fix control-message timeouts 9033490a3fef staging: r8712u: fix control-message timeout 3a66e8a661a4 comedi: vmk80xx: fix bulk and interrupt message timeouts 47b4636ebdbe comedi: vmk80xx: fix bulk-buffer overflow 06ac746d57e6 comedi: vmk80xx: fix transfer-buffer overflows d6a727a681a3 comedi: ni_usb6501: fix NULL-deref in command paths 20cebb8b620d comedi: dt9812: fix DMA buffers on stack e7fb722586a2 isofs: Fix out of bound access for corrupted isofs image a65c9afe9f2f staging: rtl8712: fix use-after-free in rtl8712_dl_fw a0041453ff9e btrfs: fix lzo_decompress_bio() kmap leakage d5dd3b44488b kfence: default to dynamic branch instead of static keys mode 93ce7441001f kfence: always use static branches to guard kfence_alloc() 5e57d171e2e6 binder: don't detect sender/target during buffer cleanup 6e8813eadf8b binder: use cred instead of task for getsecid 3f3c31dd0f8c binder: use cred instead of task for selinux checks ff1bd01f490b binder: use euid from cred instead of using task ec7c20d41714 Revert "proc/wchan: use printk format instead of lookup_symbol_name()" 2e93afda0520 usb-storage: Add compatibility quirk flags for iODD 2531/2541 ad5df979295b usb: musb: Balance list entry in musb_gadget_queue 72a9bf9bb16a usb: gadget: Mark USB_FSL_QE broken on 64-bit adb1902a1246 usb: ehci: handshake CMD_RUN instead of STS_HALT aa8a82d6db0b Revert "x86/kvm: fix vcpu-id indexed array sizes" 26ac7dec7ff0 KVM: x86: avoid warning with -Wbitwise-instead-of-logical (From OE-Core rev: 0fe8d5a28d1161c152bf64cd67053b8f51fc7073) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland-protocols: upgrade 1.23 -> 1.24Denys Dmytriyenko2021-11-241-2/+4
| | | | | | | | | | | | | | | | | | | | | | | wayland-protocols 1.24 is now available. This release adds feedback to the DMA buffer protocol, allowing smarter and more dynamic DMA buffer allocation semantics. Other changes include documentation improvements and improved testing infrastructure. This is also the first release of wayland-protocols that do not include a autotools build description. https://lists.freedesktop.org/archives/wayland-devel/2021-November/042039.html Disable build-time tests as they want to cross-compile in an allarch package: | # Check buildability | add_languages('c', 'cpp', native: false) (From OE-Core rev: 08bf9f59ede30918e0cf8763cd2714734bb02b9f) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Fix i586/c3 supportRichard Purdie2021-11-241-1/+1
| | | | | | | | | | | CET can't be enabled on i586 or c3 for x86, adjust the configuration accordingly to fix those builds. [YOCTO #14632] (From OE-Core rev: 26e4fed594daefb6923c50171360f925c4822683) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: upgrade 1.16.8 -> 1.16.10Pavel Zhukov2021-11-248-4/+4
| | | | | | | | | The release includes fixes for CVE-2021-41771 and CVE-2021-41772 (From OE-Core rev: 69c68f470e8e12456a4d9abf2d1c33b857e4ea37) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image: Include psplash only when screen machine feature is enabledKhem Raj2021-11-241-1/+1
| | | | | | | | | | | | | base-image boots in degraded mode when using systems without display system since there is no fb device detected and pslash service would fail to start. Removing this image feature means that core-image-base is complete for headless devices [RP: tweak the false case so it builds] (From OE-Core rev: 7a6dbad7bf12d2f27f21a81a31a5173cacb49228) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Pass -D option to ranlib for determisimRichard Purdie2021-11-241-1/+1
| | | | | | | | | | | | | Add the -D option to BUILD_RANLIB so that deterministic archives are built for native/cross output. This improves the changes of hash equivalence matches and hence build artefact reuse. We don't need this in the target case since we compile binutils-cross with an option making this the default. (From OE-Core rev: f5d136f5a9c14e6629a47bf3e796f1d951ed998b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: Fix do_package race issuesRichard Purdie2021-11-241-4/+8
| | | | | | | | | | | | | | The buildhistory_list_pkg_files function uses data from do_package, not do_packagedata. Usally the two are restored together but it may see a half complete directory or other races issues depending on timing. Rework the function so that it uses the correct task dependencies. This should avoid races but means the data is only restored to buildhistory if the do_package or do_package_setscene tasks are restored. (From OE-Core rev: b83823ce44e7531bbd2bfa62062c04147a11f724) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc-tests: Do not set SYSTEMD_SERVICEKhem Raj2021-11-231-0/+2
| | | | | | | | | These are glibc specific which comes from glibc packaging class (From OE-Core rev: 9febfe70507035fd75b0aeb108b1bbb6996f9b78) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-packagelists: Handle glibc vs musl for ptestRichard Purdie2021-11-231-1/+2
| | | | | | (From OE-Core rev: f7bcb67342b4ee754b699c4c2f3b1a49bb8473b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: ptest: Add running glibc time related test suite (Y2038) with ptestLukasz Majewski2021-11-234-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces new recipe - namely 'glibc-tests', which builds and installs time related (to check if Y2038 support works) glibc test suite to OE/Yocto built image. It reuses code from already available 'glibc-testsuite' recipe, which is run with 'bitbake glibc-testsuite -c check' and uses qemu to execute remotely (via SSH) tests on some emulated machine. This recipe installs time related glibc tests on some rootfs image. Afterwards, those tests can be executed on the real hardware, to facilitate validation of it with Y2038 problem compliance. To test time related subset - one needs to call: ptest-runner glibc-tests then change the date after Y2038 threshold for 32 bit systems: date -s "20 JAN 2038 18:00:00" and then run ptest-runner again. To facilitate debugging, source files are provided by default with the unstripped debugging symbols. Such approach would reduce the already complex recipe (as it inherits base glibc one), so there is no need to also install *-dbg and *-src packages. (From OE-Core rev: 0a64888e033694e7a68f12df81ef8edfdca0ba3c) Signed-off-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: fix CVE-2021-43618Ross Burton2021-11-232-0/+28
| | | | | | | (From OE-Core rev: fb3b9a7f668a6ffd56a99e1e8b83cdbad2a4bc66) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libjpeg-turbo: upgrade 2.1.1 -> 2.1.2wangmy2021-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Significant changes relative to 2.1.1: Fixed a regression introduced by 2.1 beta1[13] that caused the remaining GAS implementations of AArch64 (Arm 64-bit) Neon SIMD functions (which are used by default with GCC for performance reasons) to be placed in the .rodata section rather than in the .text section. This caused the GNU linker to automatically place the .rodata section in an executable segment, which prevented libjpeg-turbo from working properly with other linkers and also represented a potential security risk. Fixed an issue whereby the tjTransform() function incorrectly computed the MCU block size for 4:4:4 JPEG images with non-unary sampling factors and thus unduly rejected some cropping regions, even though those regions aligned with 8x8 MCU block boundaries. Fixed a regression introduced by 2.1 beta1[13] that caused the build system to enable the Arm Neon SIMD extensions when targetting Armv6 and other legacy architectures that do not support Neon instructions. libjpeg-turbo now performs run-time detection of AltiVec instructions on FreeBSD/PowerPC systems if AltiVec instructions are not enabled at compile time. This allows both AltiVec-equipped and non-AltiVec-equipped CPUs to be supported using the same build of libjpeg-turbo. cjpeg now accepts a -strict argument similar to that of djpeg and jpegtran, which causes the compressor to abort if an LZW-compressed GIF input image contains incomplete or corrupt image data. (From OE-Core rev: f0740dd1ad0eabc57cc30cc9bdb891b2ccd18caa) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.1.5 -> 1.1.6wangmy2021-11-231-1/+1
| | | | | | | | | | | Fixed issue where control statements on multi lines with a backslash would not parse correctly if the template itself contained CR/LF pairs as on Windows. (From OE-Core rev: 2fa42b223a9bdafd52a7feb335001ef0b5713af8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>