summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* build-appliance-image: Update to dunfell head revisionyocto-3.1.3dunfell-23.0.3Richard Purdie2020-09-231-1/+1
| | | | | | (From OE-Core rev: b39bda4cc62db12c0edfbe489d5a7f5988ede6a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to dunfell head revisionRichard Purdie2020-09-221-1/+1
| | | | | | (From OE-Core rev: d652b2aaa02a8aa9ff8f0ad84ca7762a6f950640) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "kernel.bbclass: run do_symlink_kernsrc before do_patch"Steve Sakoman2020-09-221-1/+1
| | | | | | | | | | | | | This reverts commit 914d8a00e34a8edf75a349da6f5978e4ed60e6d5. Due to bug introduced for externalsrc https://bugzilla.yoctoproject.org/show_bug.cgi?id=14044 (From OE-Core rev: a6a9913575aab96f4347bdf979e26115aa0fd716) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_ext: Do not assume local.conf will always existKhem Raj2020-09-221-2/+3
| | | | | | | | | | | | | | Some distros may not have local.conf, and use auto.conf or site.conf alone to describe distro config metadata, therefore make code robust to not fail eSDK builds for such setups (From OE-Core rev: 554dba802108c91b79acf81c046e6a47815404fb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6379f951ba92b2b86a55de5fc267bacf8c6095d2) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: Remove ${B} assignmentMichael Gloff2020-09-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | The VERSION variable is not set unless the top level Makefile is used as the version is derived from the Changelog. If VERSION is not set, none of the binaries built in the sysvinit recipe will have a valid version output. Before: INIT: version booting After: INIT: version 2.96 booting Using the top level Makefile does not cause any additional builds to occur. (From OE-Core rev: c8ad554db100b9fd16097fc8616b2af5390772e7) Signed-off-by: Michael Gloff <mgloff@emacinc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 10992ad4f343d0f92d9d6246cc2e58effd3f3eeb) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libubootenv: upgrade 0.3 -> 0.3.1Pierre-Jean Texier2020-09-221-1/+1
| | | | | | | | | | | | | | | | | This is a bugfix release which includes the following changes: 824551a Prepare 0.3.1 ca6aaa1 Fix file reading/writing when the environment is in EEPROM a031dea Fix regression in UBI volume support c91c150 Define SOVERSION to indicate API version (From OE-Core rev: 2e646f0aca9a0af7e308590117c220c940996d86) Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 447eb941ef43cd5af19aed650fb7da718cedda61) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-framework: support kernel cmdline with double quotesChristophe GUIBOUT2020-09-221-0/+13
| | | | | | | | | | | | | | It avoids init to crash when kernel cmdline contains a string with spaces inside, like that: dyndbg="file drivers/usb/core/hub.c +pltf" (From OE-Core rev: 16bad6260a6a25b2ec25c7eb0dfe526db56f166e) Signed-off-by: Christophe Guibout <christophe.guibout@st.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 88b8b94bd2d052bca29d27bd5cd00eddb0f5999d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-serialgetty: Replace sed quoting using ' with " to allow var expansionGeoff Parker2020-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | A recent commit added single quotes around the sed regex's. This prevented the expansion of $default_baudrate in do_install(), and ended up with systemd's' serial-getty@.service file having a literal $default_baudrate. This broke the serial console getty service. serial-getty@.service was getting a line which looked like this: ExecStart=-/sbin/agetty -8 -L %I $default_baudrate $TERM Rather than: ExecStart=-/sbin/agetty -8 -L %I 115200 $TERM Fixed by repacing the single quotes with double quotes in the sed expressions. (From OE-Core rev: 1cc94a6b9b6a9d12f782471053448ad9795944bb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 80b721bfa4fe300a2f52f233f44fa2835426d304) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-serialgetty: Fix sed expression quotingRahul Kumar2020-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix sed: -e expression #1, char 13: unterminated `s' command Error Message: | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'glibc', 'patch-native', 'quilt-native', 'gcc-cross-arm', 'gcc-runtime', 'linux-libc-headers', 'libgcc', 'flex-native', 'xz-native', 'libtool-native', 'automake-native', 'binutils-cross-arm', 'zlib-native', 'mpfr-native', 'texinfo-dummy-native', 'autoconf-native', 'libmpc-native', 'gnu-config-native', 'gmp-native', 'attr-native', 'm4-native', 'gettext-minimal-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_install | sed: -e expression #1, char 13: unterminated `s' command | WARNING: exit code 1 from a shell command. | ERROR: Execution of '/opt/Projects/poky/build/tmp/work/qemux86_64-poky-linux/systemd-serialgetty/1.0-r5/temp/run.do_install.11228' failed with exit code 1: | sed: -e expression #1, char 13: unterminated `s' command | WARNING: exit code 1 from a shell command. | To Fix this Issue using the strong (single quote) character in sed command. It is recommend to use quotes. If we have meta-characters in the command, quotes are necessary. (From OE-Core rev: edaecac74210ae201dc5eea5758bcf4e85cb14cb) Signed-off-by: Rahul Kumar <rahulk@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e2fea05e150dcfec4b7dfbd8edddb53897026bf9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: avoid FileNotFoundError if no do_cve_check task has runChris Laplante2020-09-171-6/+7
| | | | | | | | | | | | | For example, if you just run 'bitbake cve-update-db-native' in a clean build system, |cve_tmp_file| won't exist yet. (From OE-Core rev: b98e50f08b2bcf61fbc75ea1b0ad83a17c0a736a) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dd4473f3d8e1c1a587b6de660775e4b46ddc5fad) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: use context manager for cve_fChris Laplante2020-09-171-4/+1
| | | | | | | | | (From OE-Core rev: c8c307c4b28d93938887ecb1d87f6024e916c0f9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ff422652e1b5db62205fafc75ce56bb5951d478d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check/cve-update-db-native: use lockfile to fix usage under multiconfigChris Laplante2020-09-172-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously CVE_CHECK_DB_FILE / CVE_CHECK_DB_DIR was the same across multiconfigs which led to a race condition wherein multiple cve-update-db-native:do_populate_cve_db tasks could attempt to write to the same sqlite database. This led to the following task failure: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: <module> 0001: *** 0002:do_populate_cve_db(d) 0003: File: '/mnt/data/agent/work/74f119cccb44f133/yocto/sources/poky/meta/recipes-core/meta/cve-update-db-native.bb', lineno: 103, function: do_populate_cve_db 0099: if year == date.today().year: 0100: cve_f.write('CVE database update : %s\n\n' % date.today()) 0101: 0102: cve_f.close() *** 0103: conn.commit() 0104: conn.close() 0105:} 0106: 0107:def initialize_db(c): Exception: sqlite3.OperationalError: disk I/O error Use a lockfile to ensure multiple tasks don't step over each other. (From OE-Core rev: f08604d27ecacfd37bd37bfaf4c76f17b8f65604) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 24e9380643a2ae3fcae193519cb64aedaf682153) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db-native: add progress handlerChris Laplante2020-09-171-43/+47
| | | | | | | | | | (From OE-Core rev: 694f5107388c5301b82581007ff5fe96dfa8769d) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 79ae2e82b8ec11578177f428060b568d6c7d44ca) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check.bbclass: always save cve reportakuster2020-09-171-0/+32
| | | | | | | | | | | | | | | | The cve-check file should be saved always, it has good info. Put a copy in the log dir as cve-summary with symlinks to latest run. [Yocto #13974] (From OE-Core rev: 4dab2610a35a998ee0bf5309a0b399ee0d54b4a8) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 859849c7b594d844819ad8c3f7d8325388d94b93) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: Fix CVE-2020-24977Ovidiu Panait2020-09-172-0/+42
| | | | | | | | | | | | | | | | | | | | GNOME project libxml2 v2.9.10 and earlier have a global Buffer Overflow vulnerability in xmlEncodeEntitiesInternal at libxml2/entities.c. The issue has been fixed in commit 8e7c20a1 (20910-GITv2.9.10-103-g8e7c20a1). Reference: https://gitlab.gnome.org/GNOME/libxml2/-/issues/178 Upstream patch: https://gitlab.gnome.org/GNOME/libxml2/-/commit/50f06b3efb638efb0abd95dc62dca05ae67882c2 (From OE-Core rev: d5406b389fcae8fb0f5fc9cc7dbf7ee819c04bc8) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 92dc02b8f03f3586de0a2ec1463b189a3918e303) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: whitelist CVE-2016-10642Ross Burton2020-09-171-0/+4
| | | | | | | | | | | | | This CVE is specific to the npm package that can install cmake, so isn't relevant to our cmake recipe. (From OE-Core rev: ad11e4a9afea5a4c9dd34a7fa37b82efd61952a4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8e74ed809ec4c1f61264ecf5be4bc319e5e07766) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: add vendors to CVE_PRODUCT to exclude false positivesRoss Burton2020-09-171-1/+3
| | | | | | | | | | | | | To avoid false positives (such as CVE-2010-0734, rubygems:curl), expand the CVE_PRODUCT list to include all the vendors that have been used. (From OE-Core rev: 3c0029c9cf22b6983020edf9ce2aeb7b326d8c12) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bb265122cccea9466405fdd924ad10ce8cda0dec) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ell: update to 0.33Oleksandr Kravchuk2020-09-171-1/+1
| | | | | | | | | | | | | | | | | Changelog - Fix issue with uintset and number of bytes copied. - Fix issue with overflow in DHCP lease T2 computation. - Fix issue with side channel leak in l_ecc_scalar_new. - Fix issue with missing MSG_MORE in l_cipher_set_iv. - Add support for DHCP v6 client implementation. (From OE-Core rev: deb77c59b9c11738a93fc80c1b256b3df8e14827) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3ad8ca257d40f5041b3ec167e4117c687da448a9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: CVE-2020-24659Zhixiong Chi2020-09-172-0/+118
| | | | | | | | | | | | | | Backport the CVE patch from the usptream: https://gitlab.com/gnutls/gnutls.git commit 29ee67c205855e848a0a26e6d0e4f65b6b943e0a (From OE-Core rev: fe3eebd129409fd8ed3ad1705a87eced5a61b33e) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 84b1bc500e318657cb7a8a189b59cc63bc91dca3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/concurrencytest: Improve builddir path manipulationsRichard Purdie2020-09-171-1/+3
| | | | | | | | | | | | | Its possible some patterns may cause problems with the current path manipulations, make a small tweak to try and avoid potential pathname overlap issues. (From OE-Core rev: b90c8e041a9a2daa9472ed37630d8e0fdec18d36) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 889005dc17d3e3b8eadee907ee2c05b8ff613285) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/signing: Ensure build path relocation is safeRichard Purdie2020-09-171-1/+3
| | | | | | | | | | | | Similarly to 04ee0e8b95cd8ed890374e0007f976684206b630, ensure only full build paths are replaced in the environment to avoid breaking buildtools. (From OE-Core rev: 3be3740d0239f2eb198ccd2b75597cdccbdd1efc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fcd0a9683af1a9155eabbd9056e3b46d4a931b2e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: fix REPRODUCIBLE_TIMESTAMP_ROOTFS referenceMatt Madison2020-09-171-1/+1
| | | | | | | | | | | | | | | | | | Commit 97b439469a45a089431ca9c31893288c855045f4 added a fallback mechanism for getting the rootfs timestamp. However, it uses curly braces around the variable name, which causes bitbake resolve the variable reference, rather than the shell, so the git timestamp never gets used. Fix the reference to restore the intent of making it a fallback for when there is no git timestamp to retrieve. (From OE-Core rev: 21d7ab8ce10f6d6a56875244c09dcfebae457b22) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fbcf2c1c255b0c61a795c032cf7b67f5db41baa8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: consolidate DEPENDSRoss Burton2020-09-171-3/+2
| | | | | | | | | | | | | | Depending on nativesdk- varients in a nativesdk build isn't correct, so just collapse the DEPENDS down and let bitbake do the right thing (which is leaving them as -native). (From OE-Core rev: 32902a2763a7557d52bf27f3717b8f9b27275284) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4864167ad4ed4c57e49f2aa5e7c58383bddb052b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: only load real files as ELFRoss Burton2020-09-171-6/+7
| | | | | | | | | | | | | | | | | The file path checks are passed an ELF object if the file is an ELF. It doesn't make a lot of sense to load symlinks to ELFs as if they're in the same package then the real file will be checked too. This should speed up do_package_qa slightly as libraries won't be scanned repeatedly. (From OE-Core rev: 0b6f03752e6581a15e5fb900a8de7aef78709ef6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c63af30d3b6350361daff94a59d4f14d7c5395e1) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: add tests PACKAGECONFIGRoss Burton2020-09-171-4/+4
| | | | | | | | | | | | | Convert the installed-tests toggle from simply respecting PTEST_ENABLED to a PACKAGECONFIG, so that it can be turned on/off in the usual manner. (From OE-Core rev: 02a1d8edc42961a4d97e6cd8d6e7cc573e1c1486) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 08e61ffae6056055b56f93678bcbb9fd71f3303e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Use update-alternatives for rpcinfoKhem Raj2020-09-171-1/+4
| | | | | | | | | | | | rpcinfo is also provided vy netkit in meta-networking (From OE-Core rev: 177a82f0e9f9c7fa12dd39cbbdd2ac64d920699d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 28183dfd7446de9113773ab89edd0afb4ab82f7e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11 : fix CVE-2020-14344Lee Chee Yang2020-09-172-1/+324
| | | | | | | | | | | | | | | | | | | fix CVE-2020-14344 with squashed patch. squashed patch include below patch, https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/1703b9f3435079d3c6021e1ee2ec34fd4978103d https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/1a566c9e00e5f35c1f9e7f3d741a02e5170852b2 https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/2fcfcc49f3b1be854bb9085993a01d17c62acf60 https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/388b303c62aa35a245f1704211a023440ad2c488 also include fix to issue introduced in above patch (388b303c62aa35a245f1704211a023440ad2c488) https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/93fce3f4e79cbc737d6468a4f68ba3de1b83953b (From OE-Core rev: b68ded7dee5e6e8b8f23840e3118edcdee7e5c7e) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2020-14364 CVE-2020-14415Lee Chee Yang2020-09-173-0/+132
| | | | | | | | (From OE-Core rev: 1a150f0df36892283686e3e1afb30a7742c8e252) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: fix CVE-2020-14347Lee Chee Yang2020-09-172-0/+39
| | | | | | | | (From OE-Core rev: 02484c21042fcbd31d2982fc1cf60d565ae035e4) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative: Upgrade to 2.9Khem Raj2020-09-171-5/+5
| | | | | | | | | | | | | This supports glibc upto 2.32 which is now rolling into distributions (From OE-Core rev: 0f01fb2286335dd0da0c7be3f56c36a0fced3e42) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5cda8c7d642cfb72242c95f450e3391bd6537709) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package: get_package_mapping: avoid dependency mapping if renamed package ↵Yann Dirson2020-09-101-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | provides original name Packages with a runtime dependency on a target package whose name is changed by the PKG_* mechanism must rebuild when that mapping changes, but we have no way of tracking this today, so eg. packagegroup-machine-base ends up with a relationship on a versioned kernel-image, and does not get rebuilt when that version changes, leading to unsatisfiable dependency and reproducibility issue. OTOH there is no reason for the dependency to get rewritten if the renamed package already has a RPROVIDES on the non-rewritten package name, and if the dependency relationship is an unversionned one. This is what this patch prevents. Note that this may not cover all cases of rewritten package names. Notably I had to let the rewrite be done in the case of versionned dependencies, as package managers usually can follow "Provides" in such case; this includes many dependencies against shared-lib packages renamed to their soname, and those at least are OK, since the dependent recipe should explicitly depend on the target recipe. (From OE-Core rev: 920beaaeef62b558e046f32c8ef0332250969ef1) (From OE-Core rev: 210ebed1e9c2285d6e457bf03d1f1a1f3ddc7fda) Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers: kernel headers are installed in STAGING_KERNEL_BUILDDIRNicolas Dechesne2020-09-101-1/+1
| | | | | | | | | | | | | | Since 'fido', kernel headers are installed in STAGING_KERNEL_BUILDDIR, not STAGING_KERNEL_DIR. So this message in the linux-libc-headers recipe is slightly misleading. (From OE-Core rev: 83b74458783aac5d1d5a3ea8a31ccb79de3719bc) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bdd06f8ed58ed1c4983f8188e98f1a132da91e3d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* json-glib: Backport a build fix with clangKhem Raj2020-09-102-1/+36
| | | | | | | | | | (From OE-Core rev: 09bc151f577cbdcb194bb999ada0b7aec7e7aba7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a654c916853f6ead4268282e15dc8c9ef962446e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/prservice: Improve test failure messageRichard Purdie2020-09-101-2/+2
| | | | | | | | | | | | When failing, give more information about why exactly a failure is happening such as the PR values in question. (From OE-Core rev: 86eb281069334020c5fd93ba6fce69c67d7c8056) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bdd3abcc210e8f58b7b411da6bbd9c5314819908) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: improve gnu-hash-style warningRoss Burton2020-09-101-1/+2
| | | | | | | | | | | | | Instead of showing a filename under packages-split, show the package name and filename inside the package. (From OE-Core rev: 60b474320e2dd36bff9f0ef5f1dc491cbe734919) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4f78fc65bb0c9bff05651d9e543bab3d75998f79) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: fix gnu-hash-style checkSumit Garg2020-09-101-1/+1
| | | | | | | | | | | | | | Fix gnu-hash-style check that always returned True after commit [1] leading to false positive presence of "GNU_HASH" in objdump output. Fixes: 9ff90bf04a4c ("mips: Enable gnu-hash-style on glibc") [1] (From OE-Core rev: af265eca8c95ba92718b37e62b5b4eeb2f17668c) Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 996010f1b9ca98592e2c87e1adcb0c79b86517b7) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa: sdk: Capture stderr outputJoshua Watt2020-09-106-6/+6
| | | | | | | | | | | | | | Redirect stderr to stdout when running subcommands while doing the SDK tests. The tests will show stdout when CalledProcessError is raised, but any output to stderr was lost. (From OE-Core rev: cf6cab12ca7ff40ac484cdaf27ea91ed49b901b0) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7cb4e9ab8c1596281060e94a216966060103956e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Allow update alternatives for additional appsKhem Raj2020-09-101-0/+3
| | | | | | | | | | | | mcookie/prlimit/uuidgen are also provided by toybox (From OE-Core rev: 497d883c0f4b31790152bdc7f4f212b2fa1d8424) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b6135777799de531e2cb4017e91a8c41749d1fd5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-kernel: linux-firmware add qcom-venus-{5.2,5.4} packagesAnibal Limon2020-09-101-1/+5
| | | | | | | | | | (From OE-Core rev: ecfc52630fb28ca2288c3319aea6a017d5878cc7) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e20c1e07a807f66f028104d8491d974a36734192) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysstat: fix installed-vs-shipped QA Issue in systemdhongxu2020-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | While enabling systemd, there is QA issue: ... |ERROR: sysstat-12.4.0-r0 do_package: QA Issue: sysstat: Files/directories were installed but not shipped in any package: | /lib/systemd/system-sleep | /lib/systemd/system-sleep/sysstat.sleep ... https://www.freedesktop.org/software/systemd/man/systemd-sleep.html says the files should be dropped into /usr/lib/systemd/system-sleep (that would be /lib/systemd/system-sleep in our configuration). By moving the files to another directory they'll be packaged but not loaded by systemd. Suggested-by Ross Burton <ross@burtonini.com> (From OE-Core rev: 89cb403fce24c853be49e4190d2020c6911b6a31) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3bdd40ea09e50067f11c12290ab465a9ef229fc4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.conf: update BB_MIN_VERSION to 1.46.0Steve Sakoman2020-09-101-1/+1
| | | | | | | | | | npm changes were merged that require bitbake 1.46.0, you can't do a recipetool newappend on dunfell otherwise (From OE-Core rev: 5d8b81fd0f1a25fab6de6e23223e46ec54a8cf66) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cml1: Move find_cfgs() helper to cml1.bbclassRasmus Villemoes2020-09-103-20/+10
| | | | | | | | | | | | | | | | u-boot.inc and busybox.inc contain identical copies of this little helper. They both inherit the cml1 class and use cml1_do_configure right after having used this helper, and other recipes that want to write similar logic for doing Kconfig via fragments will also need it or something equivalent. (From OE-Core rev: b0fb7f18f9091db50204ef1ebd5248739ddcd6c2) Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit af687c9137a3e8efe48afa6fd12866cf656ae913) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* json-c: Fix CVE-2020-12762Khem Raj2020-09-102-0/+232
| | | | | | | | (From OE-Core rev: d26c5882ee5dbdb41d5c8903b0e470f2291512a5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: checksum all modifications to available kernel fragments ↵Bruce Ashfield2020-09-101-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | directories This is based on the patch from Zhaolong Zhang <zhangzl2013@126.com> [kernel-yocto: checksum indirect cfg and scc files] While the recommended manner to share/reuse feature fragments is to maintain them in a kernel-meta repository and track the changes via the standard SRCREV fetcher mechanism, that method is not always practical for small sets of features or for quick testing of changes. These other flows use .scc files on the SRC_URI. It has been noted that config fragments or other features indirectly included by those .scc files will not trigger the kernel meta-data to be re-run and hence a build can continue with stale data (or not be triggered at all). To solve this issue, we can collect the directories that are searchable via FILESEXTRAPATHS and add them to the do_kernel_metadata task checksum. This allows modifications, additions and removals from the potential kernel feature directories to trigger a re-execution of the meta data task. (From OE-Core rev: e397859ceac42d926134d5cb7828526d8d649c95) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 09f4db415fb6a1398e9e9b359630043c833f6118) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: explode the RPROVIDES so we don't think the versions are ↵Ross Burton2020-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | provides emit_pkgdata() creates symlinks for each of the RPROVIDES in pkgdata/MACHINE/runtime-rprovides. However this string can contain versions which results in directories called (=2.32), so pass the RPROVIDES string through bb.utils.explode_deps() to strip the versions out. Helps mitigate - but not solve - #13999. (From OE-Core rev: be88ca5c4bd0dd98d172a53727c7104d46349fdd) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6a5395dec34192db233bfb2a060e5ccc99708f03) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: update 20200721 -> 20200817Alexander Kanavin2020-09-021-2/+2
| | | | | | | | | | (From OE-Core rev: 0d4d0df6084cce3c3d9051db88f3199a030d3352) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 16f2e190ef55e349512b8f70fe437b46ef1dc142) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20200619 -> 20200721Alexander Kanavin2020-09-021-2/+2
| | | | | | | | | | | License-Update: firmware versions/filenames (From OE-Core rev: 9580d83f5ce5f854b596a2c9a6b125595115591d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6c1ee3b8a02cd8c5b4219e06c2d71dac1edf4fdf) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: run do_symlink_kernsrc before do_patchRasmus Villemoes2020-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | There's a race between do_symlink_kernsrc and do_populate_lic, since the latter is ordered "after do_patch"; so the two may run in parallel. In some cases, that actually causes do_populate_lic to fail if it happens to look for a license file somewhere under ${S} in the short window after shutil.move and before the symlink has been created. Fix that by simply ordering symlink_kernsrc before do_patch. Any task that pokes around in ${S} looking for files should be ordered after do_patch, so this should also fix similar latent races with other ad hoc tasks. (From OE-Core rev: 914d8a00e34a8edf75a349da6f5978e4ed60e6d5) Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c5dfc2586b4135cc86e91bb04fed837daf505676) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.61Bruce Ashfield2020-09-023-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 6576d69aac94 Linux 5.4.61 d316d52742c4 KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set e1818ffcca0e KVM: Pass MMU notifier range flags to kvm_unmap_hva_range() 744fde53ec32 xen: don't reschedule in preemption off sections d6bca2a8f064 mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible 42694912aaf1 do_epoll_ctl(): clean the failure exits up a bit b158e91610c7 epoll: Keep a reference on files added to the check list 5167f194da69 efi: add missed destroy_workqueue when efisubsys_init fails 13b1fc60ecb0 powerpc/pseries: Do not initiate shutdown when system is running on UPS dafae068886a net: dsa: b53: check for timeout 83236e697f79 hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit() 2dd00ae408a9 net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe() f4adc6430d74 net: ena: Prevent reset after device destruction f4ed9ede3441 bonding: fix active-backup failover for current ARP slave 542a493c8c5e ARM64: vdso32: Install vdso32 from vdso_install 278eb88ab206 afs: Fix NULL deref in afs_dynroot_depopulate() 140ac9370b16 RDMA/bnxt_re: Do not add user qps to flushlist dc0d58e281a6 Fix build error when CONFIG_ACPI is not set/enabled: 7cc9812be1c7 efi: avoid error message when booting under Xen d3ca317cf62a kconfig: qconf: fix signal connection to invalid slots 51d85e70e3ad kconfig: qconf: do not limit the pop-up menu to the first row da1069e4e727 Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe" 6e2aa034d777 kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode 46713f3d61b3 kvm: x86: Toggling CR4.SMAP does not load PDPTEs in PAE mode 667a59aa55fb vfio/type1: Add proper error unwind for vfio_iommu_replay() 503176f5dc07 ASoC: intel: Fix memleak in sst_media_open 8aeb112d58c0 ASoC: msm8916-wcd-analog: fix register Interrupt offset e9849a60facb s390/ptrace: fix storage key handling d35f24bc566d s390/runtime_instrumentation: fix storage key handling cc215d206881 bonding: fix a potential double-unregister 8a49739f58f5 can: j1939: add rxtimer for multipacket broadcast session d7ab964b6ba9 can: j1939: abort multipacket broadcast session when timeout occurs d0dc3d2c71e2 can: j1939: cancel rxtimer on multipacket broadcast session complete 5159a0a5164b can: j1939: fix support for multipacket broadcast message 5dc0c1c12094 bonding: show saner speed for broadcast mode 1b9dee25ad25 net: fec: correct the error path for regulator disable in probe c0e04d08e544 i40e: Fix crash during removing i40e driver e2a8d4423640 i40e: Set RX_ONLY mode for unicast promiscuous on VLAN 154ccf69feca can: j1939: transport: add j1939_session_skb_find_by_offset() function 3bfd1398de6a can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send not by J1939 stack ff723ef6b7b6 can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can() 6e0bc946cbee bpf: sock_ops sk access may stomp registers when dst_reg = src_reg ece9ca5840e0 ASoC: q6routing: add dummy register read/write function aaa6e691b983 ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM 233d6f2ab120 spi: stm32: fixes suspend/resume management 666d1d1a0584 netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian 3473fa198178 ext4: don't allow overlapping system zones ea54176e5821 ext4: fix potential negative array index in do_split() 2585402c5799 fs/signalfd.c: fix inconsistent return codes for signalfd4 e4f952b031c1 alpha: fix annotation of io{read,write}{16,32}be() 538c74a9cb26 xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init 4591461ea9f2 tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference 10b2bb101f06 media: camss: fix memory leaks on error handling paths in probe 05724341d9db virtio_ring: Avoid loop when vq is broken in virtqueue_poll 34f8368f6634 scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases 28850b8043cc cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0 cca58a166920 swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses 2bd8ba398fad ceph: fix use-after-free for fsc->mdsc 2524bb04d81b jffs2: fix UAF problem 04aeb884e8a5 drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access 711f5688bb97 xfs: fix inode quota reservation checks 8fe5e38acbe7 svcrdma: Fix another Receive buffer leak 7aca2f7d1710 m68knommu: fix overwriting of bits in ColdFire V3 cache control 1a718d4caa1a MIPS: Fix unable to reserve memory for Crash kernel 5594a54c520b Input: psmouse - add a newline when printing 'proto' by sysfs 06d4d9acd7d8 media: vpss: clean up resources in init f948f1d02237 rtc: goldfish: Enable interrupt in set_alarm() when necessary 85ad0d5f3d69 media: budget-core: Improve exception handling in budget_register() 62b8c76d061f scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM 59d587cc3640 scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices 10e99c3003d5 opp: Enable resources again if they were disabled earlier 52d322f91954 kthread: Do not preempt current task if it is going to call schedule() 504fe0ab2412 drm/amd/display: fix pow() crashing when given base 0 1f3cfa9338c3 drm/amd/display: Fix EDID parsing after resume from suspend 6f3bff30f1cb drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal f45ab6e7d957 scsi: zfcp: Fix use-after-free in request timeout handlers b4062a49ad4a jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock() 2bc54ba65fdc ext4: fix checking of directory entry validity for inline directories 59af0759bd46 RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request 0cfb9320d00c mm, page_alloc: fix core hung in free_pcppages_bulk() 5663159e2930 mm: include CMA pages in lowmem_reserve at boot e9e3ec03e6ae uprobes: __replace_page() avoid BUG in munlock_vma_page() fa2e0d4e4a4c kernel/relay.c: fix memleak on destroy relay channel 19a77c937a19 romfs: fix uninitialized memory leak in romfs_dev_read() 3e538c536f01 spi: Prevent adding devices below an unregistering controller 143df6b3584a can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocated 60be1488a3ae can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j1939_tp_txtimer() 055c65c7e7dd ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion 4fe52a85eeb4 ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book 84bfb4b10d6f btrfs: add wrapper for transaction abort predicate 745148367b04 btrfs: return EROFS for BTRFS_FS_STATE_ERROR cases de88b7e2f02f btrfs: don't show full path of bind mounts in subvol= 038580b1f58b btrfs: export helpers for subvolume name/id resolution b40753984979 bcache: avoid nr_stripes overflow in bcache_device_init() 9f4f7c08d50b khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter() 9a05b774af30 khugepaged: khugepaged_test_exit() check mmget_still_valid() 8043d5ee9168 perf probe: Fix memory leakage when the probe point is not found 888d9b829c25 gfs2: Never call gfs2_block_zero_range with an open transaction 18a640d3b570 gfs2: Improve mmap write vs. punch_hole consistency e42c75ef3477 drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset() 62353048e2d4 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM c7d8f67db126 kbuild: replace AS=clang with LLVM_IAS=1 244d9026768d kbuild: remove AS variable fed06097acce kbuild: remove PYTHON2 variable fa84d9f31599 x86/boot: kbuild: allow readelf executable to be specified c173511a12e4 net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding firmware c7c239c947be net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware f781285d09a9 Documentation/llvm: fix the name of llvm-size 97eab9af0036 Documentation/llvm: add documentation on building w/ Clang/LLVM (From OE-Core rev: c5d9e41382e200aad51ba7869f5db931b7eaced5) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0c67ef9397da5dacaba557956a33c0c457684032) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.60Bruce Ashfield2020-09-023-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 77fcb48939fc Linux 5.4.60 53a856c5a6af drm/amd/display: dchubbub p-state warning during surface planes switch 4287c18a7d8f drm/amdgpu: Fix bug where DPM is not enabled after hibernate and resume 915ad46bdd4a drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi f9f53b7c6a81 drm: Added orientation quirk for ASUS tablet model T103HAF aeec14061d53 drm/panfrost: Use kvfree() to free bo->sgts a202b42b94bc arm64: dts: marvell: espressobin: add ethernet alias 0f1c938ef82d khugepaged: retract_page_tables() remember to test exit e47e00559893 sh: landisk: Add missing initialization of sh_io_port_base 64d358a9adb5 perf/x86/rapl: Fix missing psys sysfs attributes 5c90739d36ce tools build feature: Quote CC and CXX for their arguments 45989801d7cf perf bench mem: Always memset source before memcpy 306df54b5b8a ALSA: echoaudio: Fix potential Oops in snd_echo_resume() 8bc48c35a983 crypto: algif_aead - fix uninitialized ctx->init a23269976109 mfd: dln2: Run event handler loop under spinlock 315b5cbe1aee i2c: iproc: fix race between client unreg and isr 8620d18575af test_kmod: avoid potential double free in trigger_config_run_type() 3457ba1acec2 fs/ufs: avoid potential u32 multiplication overflow ba40d33e36b2 fs/minix: remove expected error message in block_to_path() d91005b645d1 fs/minix: fix block limit check for V1 filesystems 6def476496a5 fs/minix: set s_maxbytes correctly 75cf7f895f56 nfs: Fix getxattr kernel panic and memory overflow d09d6dca89e9 net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init 35b5e689abd9 drm/vmwgfx: Fix two list_for_each loop exit tests 95922cdab4ad drm/vmwgfx: Use correct vmw_legacy_display_unit pointer 1d8dce52a008 recordmcount: Fix build failure on non arm64 f41600c55789 Input: sentelic - fix error return when fsp_reg_write fails 8d7633b5aff9 x86/tsr: Fix tsc frequency enumeration bug on Lightning Mountain SoC 8645225c7180 md-cluster: Fix potential error pointer dereference in resize_bitmaps() 3fcd24040f55 watchdog: initialize device before misc_register 9340d8bfec94 nfs: nfs_file_write() should check for writeback errors da14c05ad875 scsi: lpfc: nvmet: Avoid hang / use-after-free again when destroying targetport c9220ff3b9cc openrisc: Fix oops caused when dumping stack a6d5c5a398d6 libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr dfb5d727d721 libnvdimm/security: fix a typo 0c51d8f5c83e clk: bcm2835: Do not use prediv with bcm2711's PLLs 1896dfc97c90 ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename 7dccbf1111bf nfs: ensure correct writeback errors are returned on close() 9153e0d43710 i2c: rcar: avoid race when unregistering slave 4f69483568d6 tools build feature: Use CC and CXX from parent 3d0808f3c7d9 pwm: bcm-iproc: handle clk_get_rate() return ba2c4d0e720b clk: clk-atlas6: fix return value check in atlas6_clk_init() c7bd131f4335 clk: qcom: gcc-sdm660: Fix up gcc_mss_mnoc_bimc_axi_clk 422a01fc23d2 i2c: rcar: slave: only send STOP event when we have been addressed 043bc80399a8 iommu/vt-d: Enforce PASID devTLB field mask 99d1472ba802 clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL f66d0154ed2f clk: qcom: gcc: fix sm8150 GPU and NPU clocks a31ac4101981 iommu/omap: Check for failure of a call to omap_iommu_dump_ctx 34c920e2c858 selftests/powerpc: ptrace-pkey: Don't update expected UAMOR value cf5078181528 selftests/powerpc: ptrace-pkey: Update the test to mark an invalid pkey correctly e4a6919c9908 selftests/powerpc: ptrace-pkey: Rename variables to make it easier to follow code ea777df6b8b9 clk: actions: Fix h_clk for Actions S500 SoC 0e0a146f978e dm rq: don't call blk_mq_queue_stopped() in dm_stop_queue() 386f82040c84 gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile 0f77e95efd75 gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers e0a684edf6d7 crypto: caam - Remove broken arc4 support 64563d1dca80 mmc: renesas_sdhi_internal_dmac: clean up the code for dma complete b638533ec6fa RDMA/counter: Allow manually bind QPs with different pids to same counter e5a9bb4f1243 RDMA/counter: Only bind user QPs in auto mode cf304df99fac devres: keep both device name and resource name in pretty name ddd3934f7b39 crypto: af_alg - Fix regression on empty requests 9705f53eb01a USB: serial: ftdi_sio: clean up receive processing aeefe7d15cf1 USB: serial: ftdi_sio: make process-packet buffer unsigned 8cab023c03aa selftests/bpf: test_progs use another shell exit on non-actions de624fbac3eb selftests/bpf: Test_progs indicate to shell on non-actions 95c736a29105 IB/uverbs: Set IOVA on IB MR in uverbs layer ea1cdb1bb80b media: rockchip: rga: Only set output CSC mode for RGB input 5f51ca677cd2 media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic 0f334b668455 RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah() 5412efa6285a RDMA/ipoib: Return void from ipoib_ib_dev_stop() ab67471562ad platform/chrome: cros_ec_ishtp: Fix a double-unlock issue 617da16f5ab9 mtd: rawnand: fsl_upm: Remove unused mtd var e1f2606892f2 octeontx2-af: change (struct qmem)->entry_sz from u8 to u16 368caae37037 mfd: arizona: Ensure 32k clock is put on driver unbind and error cf368b876f44 crypto: algif_aead - Only wake up when ctx->more is zero bb0bba78d365 pinctrl: ingenic: Properly detect GPIO direction when configured for IRQ 974ca069d531 orangefs: get rid of knob code... 1752ab50e825 drm/imx: imx-ldb: Disable both channels for split mode in enc->disable() 988fcef346a3 remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load babd6a4c3336 remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load 73ba6991e981 remoteproc: qcom: q6v5: Update running state before requesting stop 55052ac61cb8 perf intel-pt: Fix duplicate branch after CBR 8214e74b662d perf intel-pt: Fix FUP packet state 169015f464d0 module: Correctly truncate sysfs sections output 54f44e3af24b pseries: Fix 64 bit logical memory block panic 37e3a1c08e2d ceph: handle zero-length feature mask in session messages 8953e8cb0d6a ceph: set sec_context xattr on symlink creation 12badd382453 watchdog: f71808e_wdt: clear watchdog timeout occurred flag 0f35915a0feb watchdog: f71808e_wdt: remove use of wrong watchdog_info option 4699d95a715b watchdog: f71808e_wdt: indicate WDIOF_CARDRESET support in watchdog_info.options 43e172e31bad tracing: Move pipe reference to trace array instead of current_tracer 9aab8b2b0f8f tracing: Use trace_sched_process_free() instead of exit() for pid tracing bd23940da2d1 tracing/hwlat: Honor the tracing_cpumask 1424f0aa18dc kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler 3a1208574658 ftrace: Setup correct FTRACE_FL_REGS flags for module b47215b3749a mm/memory_hotplug: fix unpaired mem_hotplug_begin/done aeeddba9b498 mm/page_counter.c: fix protection usage propagation bd99ff4dc92b ocfs2: change slot number type s16 to u16 a6b238cac6d3 khugepaged: collapse_pte_mapped_thp() protect the pmd lock 687d366d0db1 khugepaged: collapse_pte_mapped_thp() flush the right range 8cdf68355312 ext2: fix missing percpu_counter_inc 6c7b42c8f01d MIPS: qi_lb60: Fix routing to audio amplifier 59909e23020f MIPS: CPU#0 is not hotpluggable d3c9e815006e driver core: Avoid binding drivers to dead devices 0cf746d8b052 mac80211: fix misplaced while instead of if c573e8673dc1 bcache: fix overflow in offset_to_stripe() 42dd8cc9e499 bcache: allocate meta data pages as compound pages 391b5d39faea md/raid5: Fix Force reconstruct-write io stuck in degraded raid5 28163868530b net/compat: Add missing sock updates for SCM_RIGHTS 6ea125ec644b net: stmmac: dwmac1000: provide multicast filter fallback e92a02e47e16 net: ethernet: stmmac: Disable hardware multicast filter eca5084aabdf media: vsp1: dl: Fix NULL pointer dereference on unbind 28bbbc45054c pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH 9ba5f37fa353 powerpc: Fix circular dependency between percpu.h and mmu.h 9de20a6c4dd6 powerpc: Allow 4224 bytes of stack expansion for the signal frame 2150c25b76fb powerpc/ptdump: Fix build failure in hashpagetable.c 7a991df9e5cb cifs: Fix leak when handling lease break for cached root fid 545771537ec4 xtensa: fix xtensa_pmu_setup prototype d1e2ec2e0b7d xtensa: add missing exclusive access state management 5efb3f91403c iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw() 1a5e5b3b7571 dt-bindings: iio: io-channel-mux: Fix compatible string in example code ab58cc033124 arm64: perf: Correct the event index in sysfs 8c1431221374 btrfs: fix return value mixup in btrfs_get_extent d256992d5105 btrfs: make sure SB_I_VERSION doesn't get unset by remount 5bed3387c8a1 btrfs: fix memory leaks after failure to lookup checksums during inode logging f1d21b2688d9 btrfs: inode: fix NULL pointer dereference if inode doesn't need compression 7bbf647dbb5a btrfs: only search for left_info if there is no right_info in try_merge_free_space 38c8255af7d7 btrfs: fix messages after changing compression level by remount 242747612209 btrfs: fix race between page release and a fast fsync ee6373070108 btrfs: don't WARN if we abort a transaction with EROFS d8848f4c2555 btrfs: sysfs: use NOFS for device creation e0e51f4fc488 btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree 2f29a31f394e btrfs: add missing check for nocow and compression inode flags 38ab14b1e27c btrfs: relocation: review the call sites which can be interrupted by signal ae3f93cafd6f btrfs: move the chunk_mutex in btrfs_read_chunk_tree 98f55cd49671 btrfs: open device without device_list_mutex 3d3452920cac btrfs: don't traverse into the seed devices in show_devname 8bc3a5d8c2ae btrfs: remove no longer needed use of log_writers for the log root tree 938051408905 btrfs: stop incremening log_batch for the log root tree when syncing log 0ddf373adb42 btrfs: ref-verify: fix memory leak in add_block_entry c16ba06f5204 btrfs: don't allocate anonymous block device for user invisible roots d2731ac13ca5 btrfs: free anon block device right after subvolume deletion 207659ef151c btrfs: allow use of global block reserve for balance item deletion 7a6fc7c21962 PCI: qcom: Add support for tx term offset for rev 2.1.0 5956d3847502 PCI: qcom: Define some PARF params needed for ipq8064 SoC 588d5cbf4de7 PCI: Add device even if driver attach failed d7caf80700f2 PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken ae86233204ba PCI: hotplug: ACPI: Fix context refcounting in acpiphp_grab_context() 72ba9d544e60 genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq() a11f42496ac8 genirq/affinity: Make affinity setting if activated opt-in 582ee2cb6f90 smb3: warn on confusing error scenario with sec=krb5 (From OE-Core rev: 5e40a4bcffbd89ff173c2ef95dfa56f79e4b4d14) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 05ed88405bdcb0bec513bfd5aaeb652d0fa035fb) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>