summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-08-21rust-cross*: ignore how some sstate sigs are computedrmacleod/rust-redo-aug-21-2021-aRichard Purdie
The test: sstatetests.SStateTests.test_sstate_sametune_samesigs which checks if the sstate checksums of two identical machines (using the same tune) are the same, apart from changes within the machine specific stamps directory, fails on the assertion: self.assertCountEqual(files1, files2) due to the signature of various 32 bit package builds such as: x86_64-linux/lib32-rust-cross-i686 x86_64-linux/rust-cross-i686 x86-pokymllib32-linux/lib32-libstd-rs x86-pokymllib32-linux/lib32-rust differing. Jumping down the rabbit hole past all the bitbake-diffsig outputs that differ due to dependent hashes, you come to a diff of: -Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE} +Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}:qemux86 in stamps/x86_64-linux/rust-cross-i686/1.54.0-r0.do_rust_gen_target.<sig> Ignore these signatures by setting the vardepvalue for the variables: target_is_armv7 and llvm_features_from_tune as is done for other cross-toolchains in: 39bfa0dd32 recipes/*-cross recipes: ignore TARGET_ARCH sstate hash See the bitbake commit log for: 6c879b44 data/siggen: Add vardepvalue mechanism to allow the variable dependency code to be forced to specific values and other usages of vardepvalue in oe-core for background. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2021-08-21rust: remove Rust version 1.51.0 toolchainRandy MacLeod
We typically only have one version so remove the older rust toolchain. This also fixes a maintainers oe-selftest. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2021-08-21cargo_common: remove http_proxyRandy MacLeod
Fix the test_sstate_noop_samesigs oe-selftest that produces an error like: core2-64-poky-linux/libstd-rs/1.54.0-r0.do_configure.sigdata differs: basehash changed from <hash-a> to <hash-b> Variable http_proxy value changed from '' to 'http://example.com/' by simply removing the proxy config option. This may be added back after merge to oe-core if needed and if the diffsigs check passes. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2021-08-21rust-common.inc: Fix build failure with qemuppc64.Vinay Kumar
The glibc build of "rust-hello-world" throws error in libstd-rs package. error: unrecognized arch "powerpc64le" in target specification The same got fixed by changing the arch to "powerpc64". Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2021-08-21maintainers: Add myself as maintainer for rust pkgsRandy MacLeod
I'm willing to do the rust package maintenance but if anyone else wants to sign up, that would be welcome. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2021-08-21cargo/rust/rustfmt: exclude from worldRandy MacLeod
cargo, rust, and rustfmt can't be built for the targets yet so exclude them from world builds. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2021-08-21rust: update the README to conform to being in oe-coreRandy MacLeod
Provide the full link to the meta-rust issue since the README is no longer part of meta-rust. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2021-08-21rust: mv README.md to recipes-devtools/rust/README-rust.mdRandy MacLeod
Import the meta-rust/README.md but relocate and rename it. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2021-08-21rust: initial merge of most of meta-rustRandy MacLeod
In the meta-rust repo at commit: 448047c Upgrade to 1.54.0 (#359) Make the required directories: mkdir ../oe-core/meta/recipes-devtools/rust mkdir ../oe-core/meta/recipes-devtools/cargo mkdir ../oe-core/meta/recipes-example and then: cp recipes-devtools/rust/* ../oe-core/meta/recipes-devtools/rust cp recipes-devtools/cargo/* ../oe-core/meta/recipes-devtools/cargo cp lib/crate.py ../oe-core/meta/lib cp recipes-example/* ../oe-core/meta/recipes-example cp conf/distro/include/rust_* ../oe-core/meta/conf/distro/include/ cp classes/* ../oe-core/meta/classes/ cp recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb ../oe-core/meta/recipes-core/packagegroups Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
2021-08-20ref-manual: Fix reference to bbappend section of dev-manualRichard Purdie
(From yocto-docs rev: 015914cdbe3f58a39ec64ee6a4181d3d29741205) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20bsp-guide: Fix reference to bbappend section of dev-manualRichard Purdie
This was broken in a previous commit which broke doc generation. (From yocto-docs rev: 8fc45b2e7e2cd1a18d65014f88d83631cc67c2fb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20python3-hypothesis: upgrade 6.14.5 -> 6.14.8Tim Orling
6.14.8 - 2021-08-16 This patch ensures that registering a strategy for a subclass of a parametrised generic type such as class Lines(Sequence[str]): will not “leak” into unrelated strategies such as st.from_type(Sequence[int]) (issue #2951). Unfortunately this fix requires PEP 560, meaning Python 3.7 or later. 6.14.7 - 2021-08-14 This patch fixes issue #3050, where attrs classes could cause an internal error in the ghostwriter. 6.14.6 - 2021-08-07 This patch improves the error message for issue #3016, where PEP 585 builtin generics with self-referential forward-reference strings cannot be resolved to a strategy by from_type(). References: https://github.com/HypothesisWorks/hypothesis/issues/2951 https://www.python.org/dev/peps/pep-0560 https://github.com/HypothesisWorks/hypothesis/issues/3050 https://www.python.org/dev/peps/pep-0585 (From OE-Core rev: 1f2276c6d0312854caacebe1c83dee57474f1bb2) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20python3-importlib-metadata: upgrade 4.6.3 -> 4.6.4Tim Orling
v4.6.4 Issue 334: Correct SimplePath protocol to match pathlib protocol for __truediv__. References: https://github.com/python/importlib_metadata/issues/334 (From OE-Core rev: 9c7768d26a006445ed703e961184be3b8add68c6) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20tune-cortexr*: add support for all Arm Cortex-R processorsJon Mason
Add tune entries for all Arm Cortex-R processors currently supported in GCC. Also, add the simd feature, which can be used in ARMv7a and ARMv8a, but currently isn't. (From OE-Core rev: 67e582379afa9bff8d585b4c7f1bc65a76d088fb) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20arch-arm*: add better support for gcc march extensionsJon Mason
GCC has the ability to pass extensions to the march parameter, which expand the funcationality of the march. For example "-march=armv7ve+simd" adds SIMD to ARMv7. Currently, there is no way to expand the march setting without modifying each instance, as you can't guarantee the ordering when using the existing TUNE_CCARGS. By introducing two new variables, TUNE_CCARGS_MARCH and TUNE_CCARGS_MARCH_OPT, we can enforce that these two go together. Also, expand existing and create new feature files that use these variables to expand the functionality. (From OE-Core rev: 794eb617bfd1997e7a3498812c63a20c58a10554) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20Allow global override of golang GO_DYNLINKOliver Kranz
Small golang applications create massive memory overhead if go-runtime is deployed. So it is helpfull to be able to disable the GO_DYNLINK option on a per distro/local.conf basis by making it a ?= instead of =. (From OE-Core rev: 2a7f5843c4ad2a3bd44bf9c262aacab2931b5677) Signed-off-by: Oliver Kranz <o.kranz.88@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20libcgroup: upgrade to 2.0Ross Burton
Our UPSTREAM_CHECK_URI was looking at SourceForge, but development has moved to GitHub so update the URI. Update to 2.0. Swap musl-decls-compat.patch for a backport of an upstream commit. Replace do_install commands with a backport of an upstream commit to install the PAM module correctly. Don't mess about installing the library into base_libdir as the /lib vs /usr/lib prefix split is moot these days. Delete libcgroupfortesting.so as we don't install the test suite. (From OE-Core rev: 466c1c674e3da1fdbe1eae1cd90637d79a1500f5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20shadow: add /etc/default/useraddYi Zhao
The shadow 4.9 stops shiping /etc/default/useradd[1] and uses built-in settings by default. Some settings are not consistent with previous shadow 4.8.1 in oe-core. e.g. The default shell is /bin/bash rather than /bin/sh. Per shadow 4.8.1 settings, add /etc/default/useradd back. [1] https://github.com/shadow-maint/shadow/commit/bbf4b79bc49fd1826eb41f6629669ef0b647267b (From OE-Core rev: 736d0b29c6246658a925ea9036ccfe6216d12837) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20sstate.bbclass: get the number of threads from BB_NUMBER_THREADSJose Quaresma
- bitbake BB_NUMBER_THREADS uses cpu_count from oe utils that uses the python os.sched_getaffinity and it is more acurrate. grep -nH ^BB_NUMBER_THREADS meta/conf/bitbake.conf meta/conf/bitbake.conf:806:BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}" - multiprocessing.cpu_count() returns the number of CPUs on the host, not the number of usable CPUs on the host. If the user is using scheduler affinity then the number of usable CPUs may be less, so when determining how many cores we can use check the affinity instead. (From OE-Core rev: 45c52f08a289c6eb2329de50634a0406204d1d8e) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20oeqa: wic: Add tests for --no-fstab-updateDaniel Gomez
Add tests for the --no-fstab-update wic part command. (From OE-Core rev: 90141d41a370ff377d95fb3dd144b63a85e22f8e) Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20wic: Add --no-fstab-update part optionDaniel Gomez
When embedding a rootfs image (e.g. 'rootfs-dir') as a partition we might want to keep the stock fstab for that image. In such a case, use this option to not update the fstab and use the stock one instead. This option allows you to specify which partitions get the fstab updated and which get the stock fstab. The option matches the argument you can pass to wic itself where the same action is performed but for all the partitions. Example: part /export --source rootfs --rootfs-dir=hockeycam-image --fstype=ext4 --label export --align 1024 --no-fstab-update part / --source rootfs --fstype=ext4 --label rootfs --align 1024 (From OE-Core rev: ab4c95af8ecd15dc136194ab761afae756db5803) Signed-off-by: Daniel Gomez <daniel@qtec.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20glibc: Fix CVE-2021-38604Vinay Kumar
Source: https://sourceware.org/git/glibc.git Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=28213 Backported upstream commits b805aebd42364fe696e417808a700fdb9800c9e8 and 4cc79c217744743077bf7a0ec5e0a4318f1e6641 to glibc-2.34 source. Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=b805aebd42364fe696e417808a700fdb9800c9e8] Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=4cc79c217744743077bf7a0ec5e0a4318f1e6641] (From OE-Core rev: 014c6b0a1188d5dfb32790246491973ea91017d8) Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20elfutils: Fix ptest dependenciesRichard Purdie
The elfutils ptests require debug symbols for the libc to be available, else we see failures such as those on the autobuilder for the fast ptest image on arm (the dbg symbols are pulled in by other recipes in other images). Also fix various test skips/error messages due to missing gcc/ld and development headers. (From OE-Core rev: 41ecc76c7fab8f9805d3271255bcd027d87298bb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18docs: update docs with new tune locationsJon Mason
(From yocto-docs rev: ce6d3dbaea9d6250567d23e7d95ce9cbd3a03c99) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18yocto-bsp: update machine confs with new tune locationsJon Mason
(From meta-yocto rev: c909922cc70bbf1420a51e035625d06537334b47) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18poky-alt: switch default kernel to 5.10Bruce Ashfield
5.4 has been dropped from oe-core release/development, so we switch the alt-config to use 5.10. (From meta-yocto rev: 979b52c5f1d649791bfe312d79585a4cd346ce26) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18yocto-bsp: drop 5.4 bbappendBruce Ashfield
5.4 has been removed from oe-core, so we drop our associated bbappend. (From meta-yocto rev: 9ea749976abbb0d9b3746ab309da1c8bf32d4bef) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18poky: set default kernel to 5.13Bruce Ashfield
both -rt and -standard have been updated to 5.13, so we switch out defaults. (From meta-yocto rev: 20dfac37b818b652274aba88ad0b40c56b0ea8a5) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18poky/poky-tiny: set default kernel to 5.13Bruce Ashfield
(From meta-yocto rev: 795579ee2097d5a263d833b54d949bba5305c163) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18oeqa/sdk: add HTTPS test for buildtoolsRoss Burton
Verify that HTTPS connections work in both wget and Python, as this depends on variables correctly pointing to the certificate chain. (From OE-Core rev: 5c2b1fb09e786ec392979d21dc7884ca23cd84f0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18kernel-devsrc: fix 5.14+ objtool compilationBruce Ashfield
In v5.14+, x86 requires not just elfutils, but the elf headers on the target to build objtool (required for 'scripts parepare'), so we tweak our RDEPENDS to ensure that the right headers are on the target. (From OE-Core rev: 03ccc234386f753e1b0129ec557e67bcd04cc69e) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18kernel-devsrc: 5.14+ updatesBruce Ashfield
commit 6218d0f6b8dec [x86/syscalls: Switch to generic syscalltbl.sh] means that x86 no longer has a syscall script to copy, which causes a build error. We already copy the generic syscall script (in scripts), so we just catch errors for the copies to support older and 5.14+ kernels in the same devsrc recipe. (From OE-Core rev: 5debc9bc25110b836b76927c61b2455e5e235a84) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18lttng-modules: update to 2.13.0Bruce Ashfield
Updating to 2.13.0, so we can pick up the latest -stable and support for 5.14+ kernels. We refresh one patch for new context, and update the LICENSE checksum due to commit 2df37e95fa4303 [Cleanup: Move headers from toplevel to include/lttng/]. which impacted the LICENSE file (but licensing is the same). MODULES_MODULE_SYMVERS_LOCATION must also be specified in this release, as the lttng build has moved the module target to a 'src' subdirectory. (From OE-Core rev: 5dad15af8b3423ad9631edf3eef6e77902f1b36e) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18linux-yocto-dev: bump to v5.14+Bruce Ashfield
(From OE-Core rev: 8059018ae2f8cb731b58a3bc7b0c7392657adcfb) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18glibc: package the stub .a libaries into glibc-devRoss Burton
In glibc 2.34, the libraries libpthread, libdl, libutil, libanl have been integrated into libc. To retain compatibility with old binaries the shared libaries are still shipped but are empty, and to keep software building there are empty static libraries. However, these static libraries get packaged into glibc-staticdev (as they should be), but by this design they should be in glibc-dev. https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html (From OE-Core rev: f42658198193dcf88814513e1fa09bf484777079) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18oeqa/sdk: add relocation test for buildtoolsRoss Burton
The buildtools-extended tarball includes GCC, which relies on being relocated correctly to work. Add a test case that verifies that the loader paths have all been relocated, as otherwise there are hard-to-debug errors at build time. (From OE-Core rev: fe1f675ea156722a3709b13cd751479c9528134d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18grep: upgrade 3.6 -> 3.7Denys Dmytriyenko
GNU grep 3.7 has been released with a fix for a bug causing "extreme performance degradation" in certain types of search. https://www.theregister.com/2021/08/16/gnu_grep_37/ (From OE-Core rev: 8a2bfc9da626597e915b774e1dca95ae2929014f) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18binutils: Apply upstream patch to fix 'too many open files' on qtwebengineAndreas Müller
Since upgrade of binutils to 2.37 builds of qtwebengine failed to link even with ulimits -n 1000000 (!!). Fix that by applying a patch from stable 'binutils-2_37-branch'. (From OE-Core rev: 9f4660e1c6b251c55f9e7e8072b602edf843b952) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18mesa: upgrade 21.1.5 -> 21.1.7Andreas Müller
Joshua's vc4/v3d/dma-patch was applied in 21.1.7 Release notes 21.1.7: Bug fixes Miscompilation of a switch case [radeonsi][regression] CPU is being used ~10 times more than usual after c5478f9067f. dEQP-VK.wsi.android.swapchain.create#image_swapchain_create_info crash on Android R The image is distorted while use iGPU(Intel GPU) rendering and output via dGPU (AMD GPU) lima: regression in plbu scissors cmd Incorrect rendering Changes pan/bi: Restrict swizzles on same cycle temporaries nir/lower_mediump_io: Don’t remap base unless needed nir/lower_mediump: Fix metadata in all passes util/fossilize_db: Update parsed_offset correctly. util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure. util/fossilize_db: Flush files after header write. util/fossilize_db: Be conservative about header length check for locking. util/fossilize_db: Only allocate entries after full read. util/fossilize_db: Use uint64_t for file size. util/fossilize_db: Unlock the cache file if the entry already exists. util/fossilize_db: Add extra flock mutex. radv: Allocate space for inline push constants. vulkan/wsi/x11: do not inherit last_present_mode ir3: Preserve gl_ViewportIndex in the binning shader teximage: return correct desktop GL error for compressedteximage intel/fs: restrict max push length on older GPUs to a smaller amount virgl: disable anisotropic filtering. freedreno/ir3: Add build id to the disassembler test .pick_status.json: Update to 7055282231cdad23e7b23fb49a2f953a99797f8a .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144 .pick_status.json: Mark 6ccf11ac2b951963407601b5b1109b45a972e48e as denominated .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144 .pick_status.json: Update to 353e6323936b812884fa677c25bdba91554881b7 .pick_status.json: Update to 4128acdee32eadfef1fb8c3c3ce2e512a267cdf4 pick-ui: drop assert that optional argument is passed pick-ui: show nomination type in the UI pick-ui: show commit date lima: avoid crash with negative viewport values zink: make codegen compatible with python 3.5 mesa/main: Check for fbo attachments when importing EGL images to textures v3d, vc4: Fix dmabuf import for non-scanout buffers gallium/hud: initialize query nv30: fix emulated vertex index buffers gallium: Reset {d,r}Priv in dri_unbind_context loader/dri3: create linear buffer with scanout support anv: fix submission batching with perf queries anv: don’t try to access Android swapchains renderonly: don’t complain when GPU import fails etnaviv: always try to create KMS side handles for imported resources glsl: evaluate switch expression once zink: use array size in spirv bo length calculations etnaviv: fix gbm_bo_get_handle_for_plane for multiplanar images clover/spirv: Properly size 3-component vector args clover/nir: Set constant buffer pointer size to host gallium/va: don’t use key=NULL in hash tables amd/registers: fix fields conflict detection radeonsi: don’t create an infinite number of variants nir/algebraic: fix imod by negative power-of-two radv: fix selecting the first active CU when profiling with SQTT etnaviv: fix renderonly check in etna_resource_alloc etnaviv: fail in get_handle(TYPE_KMS) without a scanout resource freedreno: fail in get_handle(TYPE_KMS) without a scanout resource panfrost: fail in get_handle(TYPE_KMS) without a scanout resource lima: fail in get_handle(TYPE_KMS) without a scanout resource nine: Fix assert in tx_src_param intel/compiler: make sure swizzle is applied to if condition glsl: Add operator for .length() method on implicitly-sized arrays glsl: Properly handle .length() of an unsized array gallium/vl: don’t leak fd in vl_dri3_screen_create Release notes 21.1.6: Bug fixes [RADV] FSR in Resident Evil: Village looks very pixelated on Polaris Crash in update_buffers after closing KDE “splash screen” downloader Crash in update_buffers after closing KDE “splash screen” downloader radeonsi: persistent, read-only buffer maps are slow to read substance painter flickering with jagged texture and masks shown black radv: FP16 mode in FidelityFX FSR doesn’t look right [RADV] Blocky corruption in Scarlet Nexus and vkd3d-proton 2.4 Radeon RX580 and 5700 XT: Reloading ARB assembly shaders causes very glitchy rendering Changes targets/graw-xlib: Add missing dep_x11 egl/surfaceless: try kms_swrast before swrast meson: allow egl_native_platform to be specified freedreno/computerator: Fix local_size typo aco/optimizer: ensure to not erase high bits when propagating packed constants egl/wayland: Error on invalid native window egl/wayland: Allow EGLSurface to outlive wl_egl_window softpipe/aniso: move DDQ calculation to after scaling. llvmpipe: add support for time elapsed queries. .pick_status.json: Mark a9c9a9938d6d2ead6f08ccf5256c95801fbc864f as backported .pick_status.json: Update to 376fb4f55f080929df8ca5a2a975fc88a00eec06 .pick_status.json: Update to 1d6c790f9f6c373e667de955822b1048c7073ba3 .pick_status.json: Update to 73262d4bd4a4637a332264a165c62ce3209d03fb zink: remove duplicate format-mapping on little-endian vulkan: do not map zero-sized region of memory vulkan: allocate host-visible memory for swapchain images nir/gcm: Clear out pass_flags before starting iris: Re-emit MEDIA_VFE_STATE for variable group size shaders anv: Handle errors properly in anv_i915_query v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell lavapipe: Use common Vulkan format helpers broadcom/compiler: emit TMU flush before a jump nv50/ir/nir: fix smem size for GL radeonsi: don’t expose no-attachment MSAA 16x on all 1 RB chips due to issues st/mesa: always use PIPE_USAGE_STAGING for GL_MAP_READ_BIT usage egl/android: include “util/compiler.h” for FALLTHROUGH macro util/foz: stop crashing on destroy if prepare hasn’t been called radeonsi: Check aux_context on si_destroy_screen() mesa: clear shader_info::is_lowered in prog_to_nir mesa: fix bindless uniform samplers update aco: don’t create v_madmk_f32/v_madak_f32 from v_fma_legacy_f16 freedreno/ir3: Don’t force RTNE if rounding mode is undefined radv: only init the TC-compat ZRANGE metadata for the depth aspect glsl: replace some C++ code with C util: add workaround for Full Bore glsl: relax rule on varying matching for shaders older than 4.20 lima: handle fp16 vertex formats (From OE-Core rev: ce202e5f3f0eaceec2e23ebd1697f73c9fa00aaf) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18qemu: fix CVE-2021-3682Sakib Sajal
(From OE-Core rev: e16cd155c5ef7cfe8b4d3a94485cb7b13fd95036) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18conf/machine: move tune files to architecture directoriesJon Mason
Move all of the tune files found in conf/machine/include into their respective architecture directories in that same location. All references to these will need to be updated. So, change the relevant ones for this tree in this commit as well. For the ARM tunes, nest them one further into armv8a, armv8m, etc. and rename some to make them uniform with the rest of the tunes. (From OE-Core rev: b6f15209bcfff953cce69da97a93f9ddff141ced) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18uninative: Upgrade to 3.3, support glibc 2.34Michael Halstead
(From OE-Core rev: 4aa4dcd5f31657073f2207a9a4a43247322c7eb1) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18uninative: Improve glob to handle glibc 2.34Ross Burton
With glibc 2.34, the libraries were renamed. Tweak the glob to support both as this is needed for newer uninative versions. [RP: tweak commit message] (From OE-Core rev: 98248306e4b5f023e96375293b60524574ebb686) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18bitbake.conf: Add lz4c, pzstd and zstdJoshua Watt
Adds the command line compression tools which are needed by bitbake (From OE-Core rev: 58f5389e3c6b0e5b29df8850c2056b5fc41b618f) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18conf/machine: bump qemu preferred versions to 5.13Bruce Ashfield
5.13 is the latest reference kernel, so let's make it the default. (From OE-Core rev: a7ebb5053a5dd7d0989a15cc4dee7116d3ef0948) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18linux-yocto/5.4: remove recipesBruce Ashfield
We have 5.10 and 5.13 as the active recipes in the release/development branches, so we remove 5.4. This leaves us with the standard three versions for release (5.10, 5.13 and -dev). 5.4 will continue to be updated in stable/supported releases. (From OE-Core rev: f4ff7a501df84f15900652703349c0072ef8714c) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18bitbake: contrib: vim: Add "remove" override highlightingJoshua Watt
"remove" was accidentally omitted when defining which override operators should be highlighted (Bitbake rev: a0248338452f9ec26b588ef83679aca6263e7e76) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18bitbake: bitbake: Make 3.6.0 the minimum python versionRichard Purdie
OE-Core did this a while ago, it is simpler if bitbake matches. (Bitbake rev: a3050aee21b6a23b55232d52f89980a3bbd3a290) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17package: Fix overrides converion issue with PKGSIZERichard Purdie
This fixes pkgdata PKGSIZE info after the overrides change. (From OE-Core rev: 6964f06e48c7002c9ad788aa04bd8873fb3ee024) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17package/scripts: Fix FILES_INFO handlingRichard Purdie
There is a long standing bug where FILES_INFO isn't written into pkgdata with a package suffix. This means if the files are read into the datastore as intended, the last one "wins". Fix this to work as intended. Most of the call sites using the data need to be updated to handle this and the overrides change correctly. Also fix some other problematic references noticed along the way. (From OE-Core rev: a1190903e0a61a12c9854c96af918ae8d12c6327) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>