summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bitbake: fetch2/git: Avoid races over mirror tarball creationRichard Purdie2021-10-251-2/+19
| | | | | | | | | | | | | | | | | There is a potential race over the mirror tarballs where a partial git repo could be extracted causing fetcher failures if the tarball is being rewritten whilst another build accesses it. Create the mirror tarball atomically to avoid this. [YOCTO #14441] (Bitbake rev: 7c8f344b81b8f8936214f87f695e24dc4e546659) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3250bc950c56bd7dd2114df26e5a8e13b04ceac8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: test/fetch: Update urls to match upstream branch name changesRichard Purdie2021-10-191-3/+3
| | | | | | (Bitbake rev: bcd4285116ea4990f10d53698e0a81ae1e7ce24c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scriptutils.py: Add check before deleting pathChandana kalluri2021-10-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | Add a check before deleting path when using recipetool commands to avoid the following type of errors: Traceback (most recent call last): File "<workdir>/sources/core/scripts/lib/scriptutils.py", line 218, in fetch_url shutil.rmtree(path) File "/usr/local/lib/python3.7/shutil.py", line 476, in rmtree onerror(os.lstat, path, sys.exc_info()) File "/usr/local/lib/python3.7/shutil.py", line 474, in rmtree orig_st = os.lstat(path) FileNotFoundError: [Errno 2] No such file or directory: '<workdir>/build/tmp/work/recipetool-usg7o81n/work/recipe-sysroot' ERROR: Command 'script -e -q -c "recipetool --color=always create --devtool -o /tmp/devtool5sq_op37 'file:///<SRCTREE>' -x <workdir>/build/workspace/sources/devtoolsrcxc1b9zjq -N test" /dev/null' failed (From OE-Core rev: 366070c476405a1f49e22a02c21fd99fc0ec76d9) Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b6aa8b47e023004ffd6958d1cec18c2d9c95d77b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-support/ptest-runner: Bump to v2.4.2Anibal Limon2021-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changes, bcb8280 utils.c: add system data collection when a test gets stuck. c29240c utils.c: handle test timeouts directly with poll() d6f509f tests/utils.c: fix a memory corruption in find_word c10e747 main: Do not return number of failed tests when calling ptest-runner 4958988 utils.c: fix memory leak in run_ptests() fcfa6a1 clang: clean-ups to avoid -Weverything warnings. 215e52d Makefile: allow using CC env var to pick compiler fdd233d mem: Simplify memory management e5e218a mem: Fix memleak for ptest_opts 0dc42eb git: Extend the gitignore (From OE-Core rev: c0993e6c4108ae65537ad6e70de90387dacc5495) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 710fa373375beb977af704e17a925ed41c9a858d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rm_work.bbclass: Fix for files starting with -William A. Kennington III2021-10-071-4/+4
| | | | | | | | | | | | | | This makes it possible to name files starting with a hyphen in the work directory. Without this change rm will fail due to an unexpected option being passed. (From OE-Core rev: 88d67525dc70c21b5a29dbcef65d12a1c780d717) Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5f1a63e0de4921ef970114a16d0827fcddcdaa0e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_ipk: Use localdata store when signing packagesKenfe-Mickael Laventure2021-10-071-2/+2
| | | | | | | | | | | | | | | | | | | When signing a package, we were resolving the `PKGV` version using the original data store (`d`). However, since that store does not have the package name in its `OVERRIDES` list the wrong version can be returned in recipes that produce multiple packages. One such example would be `external-arm-toolchain.bb`. The above issue is fixed by using `localdata` instead of `d` when resolving the needed variables. (From OE-Core rev: c4724cd652b5a3adc398652b48e16d1fd1a90e89) Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@verkada.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2b5f01cf5a92a873ac4c3f0ba0584cab2cc05714) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glew: Stop polluting /tmp during buildsRichard Purdie2021-10-072-0/+20
| | | | | | | | | | | | | Currently the glew code creates a new directory in /tmp for each make invocation. This is a bit ugly, don't do that. The patch does break the dist targets but we don't use them. (From OE-Core rev: f730707b3e00e5d9d145d55cdf479cd6d11a62f5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3a55194f90e11da5671b24391a4aaf2b86a8e1e6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Backport fix for CVE-2021-3770Richard Purdie2021-10-072-0/+209
| | | | | | | | | (From OE-Core rev: 27c7e46bc4dbabdcd8c5c1a9de2906c5bc8a48c4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 54d3d023ce55ba4a7160ed25a283f0918e7d8e2e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: keep rootfs_size as integerAlexander Kanavin2021-10-071-1/+1
| | | | | | | | | | | | | | | | | The corrected line accidentally converted it to float, which causes problems later on with python 3.10: | File "/home/alex/development/poky/scripts/lib/wic/partition.py", line 278, in prepare_rootfs_ext | os.ftruncate(sparse.fileno(), rootfs_size * 1024) | TypeError: 'float' object cannot be interpreted as an integer (From OE-Core rev: 5b6cd58a000c4a1eaac95e37a047838df6478305) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d1d260dd2d196d10379ed9e238bcb34f39f3a3b7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update mailing list addressJon Mason2021-10-072-2/+2
| | | | | | | | | | (From OE-Core rev: c2531bf2503e8dd736bba0acde9e329a439f3fda) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 83169c33f7585da25560784f79eaad2c6f029f3c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: Exclude CVE-2019-6470 from cve-checkRichard Purdie2021-10-071-0/+4
| | | | | | | | | | | | Issue only affects dhcpd with recent bind versions. We don't ship dhcpd anymore so the issue doesn't affect us. (From OE-Core rev: 09898a99b42e048e7085a3df4504e887811b2349) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 30106ae676124ba3c0e496a4f19c919c8418b59b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: fix CVE-2021-3682Sakib Sajal2021-10-072-0/+42
| | | | | | | | | | (From OE-Core rev: 14783d10fb43d10a91d5e61ad9811ad469a0fb46) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e16cd155c5ef7cfe8b4d3a94485cb7b13fd95036) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix CVE-2021-33910Chen Qi2021-10-072-0/+73
| | | | | | | | | | Backport patch to fix CVE-2021-33910. (From OE-Core rev: 866a880c4fb58dea1e8460acea8152658376cd12) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: build: Handle SystemExit in python tasks correctlyRichard Purdie2021-10-021-1/+1
| | | | | | | | | | | | | | | | If a python task fails with sys.exit(), we currently see no TaskFailed event. The high level code does detect the exit code and fail the task but it can leave the UI inconsistent with log output. Fix this be intercepting SystemExit explicitly. This makes python task failures consistent with shell task failures. (Bitbake rev: fdc2d3df35ad1282c4ad85d76519e395b023a563) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9eee9fd4f2f96789ad2b037e74d561bdc1426856) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: build: Avoid duplicating logs in verbose modeRichard Purdie2021-10-021-0/+4
| | | | | | | | | | | | With "bitbake -v", for task failures you'd see the log output twice. Avoid this by using the existing "did we print info" switch. (Bitbake rev: 69c622b744d987b48f7dd805ead973ad90479e4e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e2c1afda4cb8023ed4ffeb5dc5bee4f0055659a8) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: process: Don't include logs in error message if piping themRichard Purdie2021-10-021-0/+3
| | | | | | | | | | | | | If the caller is piping the logs, they likely don't want them in the error exception as well. This removes duplicate output from the build output allowing the UI level controls on whether to show logs to work correctly. (Bitbake rev: cf864cd84172f605b0e1777c3defc000fa3a7379) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fc58ad84a9deb2620ad90611684dad65dafedb11) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: Ensure deterministic buildRichard Purdie2021-10-021-0/+5
| | | | | | | | | | | | | Bash keeps a count of the number of times make was invoked on a directory and changes the output versioning accordingly. We want deterministic output so disable this behaviour. (From OE-Core rev: 97d6a8452779fe511a354a70a72dd338f52a92cb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 13a039e03195a47c750d5901e96fe81cf523481f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/buildproject: Ensure temp directories are cleaned upRichard Purdie2021-10-022-1/+6
| | | | | | | | | (From OE-Core rev: bccbcb6f13f574810ac3549aeabf90a45c483d8e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d10aff865120a5feecc42c24726bd119364e0188) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/gotoolchain: Fix temp file cleanupRichard Purdie2021-10-021-0/+6
| | | | | | | | | | | | | | The go tests leave readonly files and directories behind. Fix this to allow cleanup. [YOCTO #14575] (From OE-Core rev: 985283733946f42ca4c9ea5ef3611cbaa491088c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5680e95d7bd9fe00a797b2d0deb8cb4790027508) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/qemurunner: Use oe._exit(), not sys.exit()Richard Purdie2021-10-021-1/+1
| | | | | | | | | | | | sys.exit will cause finally statements and other code to run at exit. Since we're using os.fork() here, os._exit() is apprioriate in this codepath. (From OE-Core rev: a99e23c403abd8e520079e2e216d87e713559682) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ec08498ff29de9ccd23be88b9d7af3dab6bbb81e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsamplerate0: Set correct soname for 0.1.9Tom Pollard2021-10-022-0/+14
| | | | | | | | | | | | | Manually patch SHARED_VERSION_INFO, which was missed in the 0.1.9 release and later incorrectly fixed until 0.2.1 (From OE-Core rev: 26109606df69374d06046b758492fb16fa224db9) Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cb2e8efd316d44b9b1453882114856e0eb7b3500) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bzip2: Update soname for libbz2 1.0.8Tom Pollard2021-10-021-1/+1
| | | | | | | | | | | | | Set shared library name as libbz2.so.1.0.8, version in configure.ac already synced via do_configure PV substitution. (From OE-Core rev: 5a6e647335df4a46d88a263977577948f370e072) Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 07e3abc9d282a54add69a6905ec4248f3104219f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pybootchart: Avoid divide by zeroRichard Purdie2021-10-021-1/+4
| | | | | | | | | | | | | Avoid a rare divide by zero error if there isn't data point spread. [YOCTO #14547] (From OE-Core rev: af8a9ecacc00e9166a7b754c25e55334c65af82d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d7e36d01e87ddf89f76f164a0b7d98f597a53fa5) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: pull from github releasesKonrad Weihmann2021-10-021-1/+5
| | | | | | | | | | | | | | | | | | sometimes we can find release tarballs from sourceforge are not fully distributed along all download mirrors leading to fetching failures, depending on what download mirror will be chosen by sourceforge servers. As the project moved to github anyway, it's better to pull the tarballs directly from github releases - serving the very same static artifacts. Add an override UPSTREAM_CHECK_URI to enable devtool upgrade checks (From OE-Core rev: 75cdae00b80e0a64bb02f274cdf8b9a321bd57e5) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> (backported from commit 2a1743ace5aa41b188f77853d0f00c9e5a359c6d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: add CVE_PRODUCTSteve Sakoman2021-10-021-0/+2
| | | | | | | | | | | | Upstream database uses both "connman" and "connection_manager" to report CVEs (From OE-Core rev: f0789ed2f4b49f8c63dedd770e5c78bac6cae456) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eadf7bb17289731be9747822e3d4084ab69cf109) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: fix CVEsMingli Yu2021-10-023-0/+86
| | | | | | | | | | Backport patches to fix CVE-2021-3778 and CVE-2021-3796. (From OE-Core rev: 48a9709f955c1523918c891ca5c94f7bf5c71c54) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp/5.10: update to v5.10.63Bruce Ashfield2021-09-271-8/+8
| | | | | | | | | | | | | Updating the reference platforms to match the latest 5.10 -stable in oe-core. (From meta-yocto rev: f927800f0b379a48bce06857b2d5c8313a8feb3f) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 77b8e31f706cb29d1efb19305470d9b525fc5a67) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-yocto-bsp: Bump to the v5.10.55Kevin Hao2021-09-271-8/+8
| | | | | | | | | | | | Build and boot test for all the boards. (From meta-yocto rev: 43fc4344836aacf03015683f87f9c75bb3f4093f) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8b5c126510dbf265dc494ff7c8decbae63f5b597) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* local.conf.sample: Update sstate mirror entry with new hash equivalence settingRichard Purdie2021-09-271-2/+4
| | | | | | | | | (From meta-yocto rev: d48a7514e400110a2755772bb456cbc74f7403f0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1d98182eb9fa059444c935967d1dc075535289db) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky: Use SDKPATHINSTALL instead of SDKPATHRichard Purdie2021-09-271-1/+1
| | | | | | | | | | | | | | | | SDKPATHINSTALL is the default installation path used for the SDK but is not the path encoded into every SDK binary as the default path. This change allows it to contain things like dates without requiring every nativesdk recipe to rebuild. Partially fixes [YOCTO #14100] (From meta-yocto rev: 87b3d773ca36a6889cf4899e05f17db32da90abb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a62175ee581bd05661717f0fb89dad2a297b4034) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix CVE-2021-38114Kiran Surendran2021-09-242-0/+68
| | | | | | | | | | backport from upstream (From OE-Core rev: 437f5e04c92158d3c9e27fe6252260a02a108391) Signed-off-by: Kiran Surendran <kiran.surendran@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: ignore node-tar CVEsArmin Kuster2021-09-241-0/+1
| | | | | | | | | | | | | | These three CVEs are specific to the Node package node-tar. exclude: CVE-2021-37701 CVE-2021-37712 CVE-2021-37713 (From OE-Core rev: a84267dfe713b85f039c35549a00708d92654ded) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9f9317a02d73c1e5aea026683a037e52c996c7bb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Avoid problems with recipes using SRCPV when fetching sstateRichard Purdie2021-09-241-0/+4
| | | | | | | | | | | | | | | When fetching sstate, SRCPV can be expanded withuin PV which breaks the sstate fetcher as other variables like SRC_URI are changed by the fetcher code. Expand the variable before doing this to avoid those problems and hence avoid setscene task failures with remote sstate storage in git recipes. (From OE-Core rev: 5232aa1c46380e7197098bed39fc6d5b8456caa7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0d9d7acebe0be42d4cf8a30ecbbbbcb2dfd16a4b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue/knotty: Improve UI handling of setscene task countingRichard Purdie2021-09-243-5/+20
| | | | | | | | | | | | | | | | | | | The recent fixes to merge setscene and normal task accounting in runqueue fixed some display issues but broke the task numbering of setscene tasks. Add new accounting methods to the stats structure specifically designed for setscene. This accounts for the fact that setscene tasks can rerun multiple times in the build. Then use the new data in the UI to correctly display the numbers the user wants to see to understand progress. (Bitbake rev: 7d938703d9321cde5a32e4dff005f07e8821b704) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ed7e2da88bf4b7bfc7ebfc12b9bd6c0fb7d8c1aa) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cookerdata: Show a readable error for invalid multiconfig nameRichard Purdie2021-09-241-0/+2
| | | | | | | | | | | | | | | | | If a multiconfig starts with a digit, users would see pages of errors as we use the multiconfig as a python function name prefix and python functions cannot start with a digit. We could avoid doing that but it is easier just to ask users to name multiconfigs not starting with digits. This tweak ensures the user sees an easier to understand error. (Bitbake rev: fb2c154c8a96fd30d46e34c7ae715d1b964ced35) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f9cddaeef35b2ea0dadf717101ed896f6b857abd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-worker: Improve error handlingRichard Purdie2021-09-241-3/+5
| | | | | | | | | | | | | | | If bitbake-worker fails, return an error code showing that. Also make the thread cleanup code explict in a finally clause as it would otherwise hang. [YOCTO #14393] (Bitbake rev: 0637703046d3f3f7d3bfdd1e5ecb524440897c35) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7e0af70fb53fb13f824ca954b8cc1dffee730233) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker/process: Fix typos in exiting messageMartin Jansa2021-09-243-3/+3
| | | | | | | | | | (Bitbake rev: 284ca139b3a2ce61cef91b3076fd8bb544461c16) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1ff1ea3880d293b14ce0fc65e3bc4c938d587a2f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Clean up task stats handlingRichard Purdie2021-09-242-16/+8
| | | | | | | | | | | | | | | | | | | | | | | | When we parallelised normal and setscene tasks, the task stats handling was left separate pending further thought. We had to remove handling of the setscene tasks from the UI in order to maintain consistent task numbering. Currently, "0 of 0" tasks can be shown as setscene tasks execute until the first normal task runs. The only use left for sq_stats is in the active task numbers which we can use the length of sq_ive for instead. We can therefore drop it and return stats in all cases. This removes the "0 of 0" task problem since the stats in all normal and setscene tasks matches. [YOCTO #14479] (Bitbake rev: fac319e2d5463be2a82335b9cb348c7893a1e65f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eae6e947e37e18cded053814bd2a268b44fb25cd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: data_smart: Improve error display for handled exceptionsRichard Purdie2021-09-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't need tracebacks for BBHandledException. Reduces confusing output like: ERROR: /meta/recipes-core/images/core-image-tiny-initramfs.bb: Circular task dependencies as do_image_complete depends itself via the chain do_image_complete -> do_packageswu -> do_image_qa -> do_image -> do_image_cpio ERROR: ExpansionError during parsing /meta/recipes-core/images/core-image-tiny-initramfs.bb Traceback (most recent call last): File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image_qa', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']): if task in deps: > follow_chain(othertask, endtask, chain) chain.pop() File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']): if task in deps: > follow_chain(othertask, endtask, chain) chain.pop() File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image_cpio', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']): if task in deps: > follow_chain(othertask, endtask, chain) chain.pop() File "/bitbake/lib/bb/build.py", line 1038, in follow_chain(task='do_image_complete', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']): if task in chain: > bb.fatal("Circular task dependencies as %s depends itself via the chain %s?!" % (task, " -> ".join(chain))) chain.append(task) File "/bitbake/lib/bb/__init__.py", line 165, in fatal: mainlogger.critical(''.join(args), extra=kwargs) > raise BBHandledException() to the real error: ERROR: /media/build1/poky/meta/recipes-core/images/core-image-tiny-initramfs.bb: Circular task dependencies as do_image_complete depends itself via the chain do_image_complete -> do_packageswu -> do_image_qa -> do_image -> do_image_cpio (Bitbake rev: bdaab86ae7c2c16e5e1a0afa3e3f68130e9d57ca) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 551d4c0576a0a0c3406000029df9238b312f2263) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cookerdata: Improve missing core layer error messageRichard Purdie2021-09-241-0/+2
| | | | | | | | | | | | | | If the core layer is missing from bblayers.conf, the message the user sees is hard to understand. Improve it. [YOCTO #14340] (Bitbake rev: b460667572994066921c1971f73c58c081463bfc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5815a7258ebb8a989e0c6f5798853559d9413f02) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cookerdata: Show error for no BBLAYERS in bblayers.confRichard Purdie2021-09-241-0/+3
| | | | | | | | | | | | | | If there is no BBLAYERS set in bblayers.conf show a more helpful error and exit. [YOCTO #14340] (Bitbake rev: ba79d4711c8010bb7f28784e18a0a42b98284d48) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 97183e10faf9862b5d9489d6e2c27ac77c3b697d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: tests/fetch2: Use our own git server for dtc test repoRichard Purdie2021-09-221-1/+1
| | | | | | (Bitbake rev: 19c5605b72e25e06f5ea57bcc1672650e7978a7f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.144Bruce Ashfield2021-09-173-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: c6bf0ed9d1a7 Linux 5.4.144 0634c0f91995 audit: move put_tree() to avoid trim_trees refcount underflow and UAF cab0003311a0 net: don't unconditionally copy_from_user a struct ifreq for socket ioctls 6752b3b0628e Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat" 67871ada3a53 Revert "floppy: reintroduce O_NDELAY fix" d7f7eca72ecc btrfs: fix NULL pointer dereference when deleting device by invalid id e644da7ace0f arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88 4f76285f6df8 KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs 620681d7201a net: dsa: mt7530: fix VLAN traffic leaks again 38adbf21f37e bpf: Fix cast to pointer from integer of different size warning 812ee47ad76e bpf: Track contents of read-only maps as scalars f4418015201b vt_kdsetmode: extend console locking 8a19e0045086 btrfs: fix race between marking inode needs to be logged and log syncing f3a1ac258ebc net/rds: dma_map_sg is entitled to merge entries ad6a2bc7588a drm/nouveau/disp: power down unused DP links during init 689179c462d8 drm: Copy drm_wait_vblank to user before returning 18ceb99f8483 qed: Fix null-pointer dereference in qed_rdma_create_qp() f1a0db49abd5 qed: qed ll2 race condition fixes 73ba9e4ece4b vringh: Use wiov->used to check for read/write desc order ee52acae6fb5 virtio_pci: Support surprise removal of virtio pci device be9b79e84154 virtio: Improve vq->broken access to avoid any compiler optimization 0d4ba693db48 opp: remove WARN when no valid OPPs remain baf56a1d8199 perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32 0ad96094ab90 usb: gadget: u_audio: fix race condition on endpoint stop c5c2b4ca5035 drm/i915: Fix syncmap memory leak 2f3cefa6abf0 net: hns3: fix get wrong pfc_en when query PFC configuration 6f0c0b35e277 net: hns3: fix duplicate node in VLAN list 951805c23dff net: hns3: clear hardware resource when loading driver 08162f65642c rtnetlink: Return correct error on changing device netns f58e42d1928c net: marvell: fix MVNETA_TX_IN_PRGRS bit number 45454400a647 xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()' 53b480e68c1c ip_gre: add validation for csum_start bb8ca7e2e67e RDMA/efa: Free IRQ vectors on error flow e29565b4515e e1000e: Fix the max snoop/no-snoop latency for 10M 8a21e84334ec IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs() 944a50f56f1b RDMA/bnxt_re: Add missing spin lock initialization 28b189541027 scsi: core: Fix hang of freezing queue between blocking and running device 628c582854d3 usb: dwc3: gadget: Stop EP0 transfers during pullup disable d9da281c8f9e usb: dwc3: gadget: Fix dwc3_calc_trbs_left() 21880abf19ba USB: serial: option: add new VID/PID to support Fibocom FG150 2e098e91eeec Revert "USB: serial: ch341: fix character loss at high transfer rates" 16b281a70a10 can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters 765437d1f078 mm, oom: make the calculation of oom badness more accurate 1cccf5c03077 mmc: sdhci-msm: Update the software timeout value for sdhc aec1e470d906 ovl: fix uninitialized pointer read in ovl_lookup_real_one() 57bd5b59f1ce once: Fix panic when module unload 5892f910f401 netfilter: conntrack: collect all entries in one cycle 7c95c89b6929 ARC: Fix CONFIG_STACKDEPOT a6b049aeefa8 net: qrtr: fix another OOB Read in qrtr_endpoint_post (From OE-Core rev: e99578cde6078828a3075e10f1bb97e1a373ce12) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.143Bruce Ashfield2021-09-173-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: fd80923202c6 Linux 5.4.143 4bf194158102 netfilter: nft_exthdr: fix endianness of tcp option cast e4fd994f02c5 fs: warn about impending deprecation of mandatory locks 41c7f46c89f6 mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim 1a3aa81444d3 mm, memcg: avoid stale protection values when cgroup is above protection 9c1c449dcca0 ASoC: intel: atom: Fix breakage for PCM buffer address setup 846ba58a7c06 PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI 548b75f4905e btrfs: prevent rename2 from exchanging a subvol with a directory from different parents 0fc6a9c2025b ipack: tpci200: fix memory leak in the tpci200_register 280d66b31797 ipack: tpci200: fix many double free issues in tpci200_pci_probe cb7aa5103146 slimbus: ngd: reset dma setup during runtime pm abce32d0f7f4 slimbus: messaging: check for valid transaction id 0786d315f55c slimbus: messaging: start transaction ids from 1 instead of zero 20c2f141b1e5 tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name 8fbfebe188c0 ALSA: hda - fix the 'Capture Switch' value change notifications 85e60614d1f6 mmc: dw_mmc: Fix hang on data CRC error 4f6c9caf7b6c ovl: add splice file read write helper 85813f1f9e86 iavf: Fix ping is lost after untrusted VF had tried to change MAC a498115dcd9c i40e: Fix ATR queue selection 1b8a8fba7853 ovs: clear skb->tstamp in forwarding path 84dbbf5482e3 net: mdio-mux: Handle -EPROBE_DEFER correctly 453486e79ed2 net: mdio-mux: Don't ignore memory allocation errors 6b70c67849bb net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32 da92ce364595 virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO 9aeadce8e33b virtio-net: support XDP when not more queues 3ed7cf8386c9 vrf: Reset skb conntrack connection on VRF rcv 447b16028956 bnxt_en: Add missing DMA memory barriers c9566df334d0 ptp_pch: Restore dependency on PCI a73b9aa14269 net: 6pack: fix slab-out-of-bounds in decode_data 2bc75713434b bnxt: disable napi before canceling DIM a9fb0f155980 bnxt: don't lock the tx queue from napi poll 1fe038030cc8 bpf: Clear zext_dst of dead insns 73a45f75a07b vhost: Fix the calculation in vhost_overflow() b9a59636c4bf virtio: Protect vqs list access b264e37b3517 dccp: add do-while-0 stubs for dccp_pr_debug macros 9112ebc2990a cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant cb9a9d5fe636 iommu: Check if group is NULL before remove device 911a8141efdd Bluetooth: hidp: use correct wait queue when removing ctrl_wait 5b14c1f16e2d drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X f92dc3a89dd8 net: usb: lan78xx: don't modify phy_device state concurrently be7043679967 ARM: dts: nomadik: Fix up interrupt controller node names 69aa1a1a569f scsi: core: Fix capacity set to zero after offlinining device 935de7ec7a4d scsi: core: Avoid printing an error if target_alloc() returns -ENXIO 7a721a1e1885 scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach() 9900e06ae6e6 scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry() e37cf26bd56d dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available 12d1322d93a6 ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218 11145efd295b dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe() 9c97a0539288 dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers fc566b5a21f5 USB: core: Avoid WARNings for 0-length descriptor requests 1bd505c814cc media: drivers/media/usb: fix memory leak in zr364xx_probe 705660a6d98d media: zr364xx: fix memory leaks in probe() 79dff2a3f41a media: zr364xx: propagate errors from zr364xx_start_readpipe() 7305d6d4078f mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards 23f77ad13f81 ath9k: Postpone key cache entry deletion for TXQ frames reference it c6feaf806da6 ath: Modify ath_key_delete() to not need full key entry b7d593705eb4 ath: Export ath_hw_keysetmac() add283e2517a ath9k: Clear key cache explicitly on disabling hardware 0c049ce432b3 ath: Use safer key clearing with key cache entries 172b91bbbb49 x86/fpu: Make init_fpstate correct with optimized XSAVE 81d152c8daf8 ext4: fix EXT4_MAX_LOGICAL_BLOCK macro (From OE-Core rev: e03dd78008235282143093271678944a5ca1f938) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ffmpeg: fix CVE-2021-38171Kiran Surendran2021-09-172-0/+41
| | | | | | | | | | backport from upstream (From OE-Core rev: 130af0502d1ae6fe3721b83ff5218e3aa48dbf0d) Signed-off-by: Kiran Surendran <Kiran.Surendran@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Fix headers issue with x86 and 5.13 headersRichard Purdie2021-09-172-0/+27
| | | | | | | | | | | | | | | | On some x86 platforms there were header issues causing pt_regs compile failures for our stap tests, e.g. on genericx86-64 but not qemux86-64. Backport a patch from upstream which fixes the issue. [YOCTO #14491] (From OE-Core rev: 3934d33861ebf18e3208b09b892b39b16e350157) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a4ad6c88b683b7310ef46d89b1add80b0f41bf2d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.63Bruce Ashfield2021-09-173-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: e07f317d5a28 Linux 5.10.63 4405ea221dea media: stkwebcam: fix memory leak in stk_camera_probe ad5e13f15db7 fuse: fix illegal access to inode with reused nodeid 40ba433a85db new helper: inode_wrong_type() ded9137fcf0d spi: Switch to signed types for *_native_cs SPI controller fields 55bb5193cec5 serial: 8250: 8250_omap: Fix possible array out of bounds access 8e41134a92a5 ALSA: pcm: fix divide error in snd_pcm_lib_ioctl 4ffde17862b0 ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17 4ee2686b3745 ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup 2808d59fb29b cryptoloop: add a deprecation warning 61a038f80c80 perf/x86/amd/power: Assign pmu.module ec9a82e034f6 perf/x86/amd/ibs: Work around erratum #1197 23c29490b84d ceph: fix possible null-pointer dereference in ceph_mdsmap_decode() d2064a1444d6 perf/x86/intel/pt: Fix mask of num_address_ranges 0e74bba60452 qede: Fix memset corruption 35f223cb21b1 net: macb: Add a NULL check on desc_ptp cf50d02e474b qed: Fix the VF msix vectors flow 2177c4943e40 reset: reset-zynqmp: Fixed the argument data type 9872349b088d gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats b983d60292a6 ARM: OMAP1: ams-delta: remove unused function ams_delta_camera_power bc860c3f0945 xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG b1075d2a7052 static_call: Fix unused variable warn w/o MODULE ae16b7c66837 Revert "Add a reference to ucounts for each cred" 1aa3f27e592d Revert "cred: add missing return error code when set_cred_ucounts() failed" 0c1443874e1c Revert "ucounts: Increase ucounts reference counter before the security hook" 0479b2bd2959 ubifs: report correct st_size for encrypted symlinks 3ac01789f6d9 f2fs: report correct st_size for encrypted symlinks 894a02236d0d ext4: report correct st_size for encrypted symlinks b8c298cf57dc fscrypt: add fscrypt_symlink_getattr() for computing st_size 09a379549620 ext4: fix race writing to an inline_data file while its xattrs are changing f6dd002450bf Linux 5.10.62 0c9a876f2897 bpf: Fix potentially incorrect results with bpf_get_local_storage() 38c1915d3e9f audit: move put_tree() to avoid trim_trees refcount underflow and UAF 1890ee7ff87f net: don't unconditionally copy_from_user a struct ifreq for socket ioctls 0085646e02b2 Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat" 17982c664f8b Revert "floppy: reintroduce O_NDELAY fix" 709c162ddc83 kthread: Fix PF_KTHREAD vs to_kthread() race c43add24dffd btrfs: fix NULL pointer dereference when deleting device by invalid id 1604c42a1ca9 arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88 f760c1101f52 lkdtm: Enable DOUBLE_FAULT on all architectures b6c657abb893 net: dsa: mt7530: fix VLAN traffic leaks again f8242f554c82 usb: typec: ucsi: Clear pending after acking connector change e15e32d519fa usb: typec: ucsi: Work around PPM losing change information 08953884aad4 usb: typec: ucsi: acpi: Always decode connector change information 9a4f1dc8a17c tracepoint: Use rcu get state and cond sync for static call updates b6ae3854075e srcu: Provide polling interfaces for Tiny SRCU grace periods 450948b06ce8 srcu: Make Tiny SRCU use multi-bit grace-period counter 641e1d88404a srcu: Provide internal interface to start a Tiny SRCU grace period f789de3be808 srcu: Provide polling interfaces for Tree SRCU grace periods fdf66e5a7fc8 srcu: Provide internal interface to start a Tree SRCU grace period d3c38d8549c0 powerpc/perf: Invoke per-CPU variable access with disabled interrupts 77b77d45a4b1 perf annotate: Fix jump parsing for C++ code. 9f9e40ddfca3 perf tools: Fix arm64 build error with gcc-11 94687c49b65b perf record: Fix memory leak in vDSO found using ASAN e0ca67030fda perf symbol-elf: Fix memory leak by freeing sdt_note.args 0d8e39bb9416 perf env: Fix memory leak of bpf_prog_info_linear member 133d7f93eecd riscv: Fixup patch_text panic in ftrace 7e2087249e87 riscv: Fixup wrong ftrace remove cflag b42fde92cdde Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS 60d69cb4e60d vt_kdsetmode: extend console locking 0a178a015161 tipc: call tipc_wait_for_connect only when dlen is not 0 ded6da217ced mtd: spinand: Fix incorrect parameters for on-die ECC 3b2018f9c9c0 pipe: do FASYNC notifications for every pipe IO, not just state changes e91da23c1be1 pipe: avoid unnecessary EPOLLET wakeups under normal loads d845f89d59fc btrfs: fix race between marking inode needs to be logged and log syncing 6f38d95f33be net/rds: dma_map_sg is entitled to merge entries b882dda2bf7a drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences 7f422cda03a6 drm/nouveau/disp: power down unused DP links during init 6fd6e20520cc drm: Copy drm_wait_vblank to user before returning 26ee94ba343c blk-mq: don't grab rq's refcount in blk_mq_check_expired() b00ca567579a drm/amd/pm: change the workload type for some cards 3c37ec435022 Revert "drm/amd/pm: fix workload mismatch on vega10" cc126b400b25 qed: Fix null-pointer dereference in qed_rdma_create_qp() 18a65ba06903 qed: qed ll2 race condition fixes 4ac9c81e8a54 tools/virtio: fix build c7ee4d22614e vringh: Use wiov->used to check for read/write desc order 6c074eaaf785 virtio_vdpa: reject invalid vq indices 0698278e8eef virtio_pci: Support surprise removal of virtio pci device 065a13c299b4 virtio: Improve vq->broken access to avoid any compiler optimization f41c7462d8ae cpufreq: blocklist Qualcomm sm8150 in cpufreq-dt-platdev 3dea93159038 opp: remove WARN when no valid OPPs remain be37f7dbcd2c iwlwifi: pnvm: accept multiple HW-type TLVs 9a6a5602c217 clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference bdc5049c3698 perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32 c5600b914690 dt-bindings: sifive-l2-cache: Fix 'select' matching ad5329a53327 usb: gadget: u_audio: fix race condition on endpoint stop 257ea8a5edc0 drm/i915: Fix syncmap memory leak e49b8d9c5e88 net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est b2091d47a14e net: stmmac: add mutex lock to protect est parameters ac874290e75c Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711" 411680a07cc6 net: hns3: fix get wrong pfc_en when query PFC configuration e834ca7c7924 net: hns3: fix duplicate node in VLAN list 5931ec35e992 net: hns3: add waiting time before cmdq memory is released 9820af16a879 net: hns3: clear hardware resource when loading driver ad0db8385575 rtnetlink: Return correct error on changing device netns 51bc5c66606d cxgb4: dont touch blocked freelist bitmap after free beefd5f0c63a ipv4: use siphash instead of Jenkins in fnhe_hashfun() dced8347a727 ipv6: use siphash in rt6_exception_hash() f517335a61ff net/sched: ets: fix crash when flipping from 'strict' to 'quantum' b493af3a66e0 ucounts: Increase ucounts reference counter before the security hook 8e0881f6f57e net: marvell: fix MVNETA_TX_IN_PRGRS bit number 850401a23a85 xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()' fb45459d9ddb ip_gre: add validation for csum_start e78006b59a30 RDMA/efa: Free IRQ vectors on error flow 8f1e3ad94569 e1000e: Do not take care about recovery NVM checksum 87285ac51ecf e1000e: Fix the max snoop/no-snoop latency for 10M 58b3dbf10c01 igc: Use num_tx_queues when iterating over tx_ring queue ae6480ba0665 igc: fix page fault when thunderbolt is unplugged 384dea502e91 net: usb: pegasus: fixes of set_register(s) return value evaluation; 3217c9d4602f ice: do not abort devlink info if board identifier can't be found 3a2c5fbb1cc6 RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init() 56ac7463a140 IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs() 3e949aaa8bef RDMA/bnxt_re: Add missing spin lock initialization 22c18102ec59 scsi: core: Fix hang of freezing queue between blocking and running device 01da7c1dc4cf usb: dwc3: gadget: Stop EP0 transfers during pullup disable 87b2016493eb usb: dwc3: gadget: Fix dwc3_calc_trbs_left() 56c92b8ddc0c usb: renesas-xhci: Prefer firmware loading on unknown ROM state b0bcc8038868 USB: serial: option: add new VID/PID to support Fibocom FG150 8437e07c370f Revert "USB: serial: ch341: fix character loss at high transfer rates" da3067eadcc1 drm/amdgpu: Cancel delayed work when GFXOFF is disabled 3134292a8e79 Revert "btrfs: compression: don't try to compress if we don't have enough pages" 921c2533aa3a riscv: Ensure the value of FP registers in the core dump file is up to date e55a8b461585 ceph: correctly handle releasing an embedded cap flush 7008b9981b6a can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters 45b7b2097153 net: mscc: Fix non-GPL export of regmap APIs ef2d68ef9a3b ovl: fix uninitialized pointer read in ovl_lookup_real_one() c94d50979f20 blk-iocost: fix lockdep warning on blkcg->lock 6815e21fe28d once: Fix panic when module unload f68ad168e235 netfilter: conntrack: collect all entries in one cycle a13a2df0b149 ARC: Fix CONFIG_STACKDEPOT 0af6a9f82ca3 ASoC: component: Remove misplaced prefix handling in pin control functions 34cc80ec12d6 ASoC: rt5682: Adjust headset volume button threshold d81ddadabdee bpf: Fix NULL pointer dereference in bpf_get_local_storage() helper 9dd6f6d89693 bpf: Fix ringbuf helper function compatibility ad41706c771a net: qrtr: fix another OOB Read in qrtr_endpoint_post (From OE-Core rev: 8ae6f847f343621933cf6fdacfed456ceff04250) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bb885bf8ffe9ba7260f83d9575978f753edf538e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.61Bruce Ashfield2021-09-173-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 452ea6a15ed2 Linux 5.10.61 f15e64267393 io_uring: only assign io_uring_enter() SQPOLL error in actual error case 695ab28a7fa1 io_uring: fix xa_alloc_cycle() error return value check 0d5fcfc6406e fs: warn about impending deprecation of mandatory locks 8132fc2bf4b7 mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim 53e81668e119 ASoC: intel: atom: Fix breakage for PCM buffer address setup 88f65f57a0b9 ALSA: hda/realtek: Limit mic boost on HP ProBook 445 G8 b6672f67ec28 PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI a69326e134d4 s390/pci: fix use after free of zpci_dev 05b56e05543c ALSA: hda/via: Apply runtime PM workaround for ASUS B23E 67fece6289a9 btrfs: prevent rename2 from exchanging a subvol with a directory from different parents 16cfa72766b5 mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711 2566c1d8239d mmc: sdhci-iproc: Cap min clock frequency on BCM2711 110b7f72f6d0 ALSA: hda/realtek: Enable 4-speaker output for Dell XPS 15 9510 laptop 258782b93701 ipack: tpci200: fix memory leak in the tpci200_register 3ee1b08097c1 ipack: tpci200: fix many double free issues in tpci200_pci_probe 0775bc462ae7 slimbus: ngd: reset dma setup during runtime pm 45d6fc21cd4d slimbus: messaging: check for valid transaction id b700b523ddaf slimbus: messaging: start transaction ids from 1 instead of zero bd0c2f83d072 tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name f7c125493c78 ALSA: hda - fix the 'Capture Switch' value change notifications 7451c309c7a3 clk: qcom: gdsc: Ensure regulator init state matches GDSC state 7203b4986d9a clk: imx6q: fix uart earlycon unwork 3f8920c5706e mmc: sdhci-msm: Update the software timeout value for sdhc 8f499a90e7ee mmc: mmci: stm32: Check when the voltage switch procedure should be done f8dac276a9b4 mmc: dw_mmc: Fix hang on data CRC error 645fd92c3ed4 Revert "flow_offload: action should not be NULL when it is referenced" 2f6c42806e10 iavf: Fix ping is lost after untrusted VF had tried to change MAC 7873c29832a3 i40e: Fix ATR queue selection e003a8921949 r8152: fix writing USB_BP2_EN 21ca0b18ad64 iommu/vt-d: Fix incomplete cache flush in intel_pasid_tear_down_entry() 81578e587c08 iommu/vt-d: Consolidate duplicate cache invaliation code eee84eafc3bb ovs: clear skb->tstamp in forwarding path 47a1161dacb1 net: mdio-mux: Handle -EPROBE_DEFER correctly 13af9c81e62f net: mdio-mux: Don't ignore memory allocation errors df61235881c8 sch_cake: fix srchost/dsthost hashing mode e1ec5858bae1 ixgbe, xsk: clean up the resources in ixgbe_xsk_pool_enable error path 3b7397b203cc net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32 9bc2d1a5a890 virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO b7adfde94930 virtio-net: support XDP when not more queues 1ce62fe6e4cb vrf: Reset skb conntrack connection on VRF rcv 8ae539a36194 bnxt_en: Add missing DMA memory barriers 9751aa443695 bnxt_en: Disable aRFS if running on 212 firmware efd9b79b92a3 ptp_pch: Restore dependency on PCI 85e0518f181a net: 6pack: fix slab-out-of-bounds in decode_data e0ae16836027 bnxt: count Tx drops 296fe765dd02 bnxt: make sure xmit_more + errors does not miss doorbells d913d5cc3ba5 bnxt: disable napi before canceling DIM 5b24ae8f05ca bnxt: don't lock the tx queue from napi poll 585ff7344ec1 bpf: Clear zext_dst of dead insns 8dfdeeb1e98e drm/mediatek: Add AAL output size configuration a8b8d61babb4 drm/mediatek: Fix aal size config 6715cefa72f6 soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h 1b6fc6f739d4 vdpa/mlx5: Avoid destroying MR on empty iotlb ecdd7c488062 vhost: Fix the calculation in vhost_overflow() e0b603c89a93 bus: ti-sysc: Fix error handling for sysc_check_active_timer() 1af7ccbd920a vhost-vdpa: Fix integer overflow in vhost_vdpa_process_iotlb_update() 293180f59342 virtio: Protect vqs list access 9108120fbe31 dccp: add do-while-0 stubs for dccp_pr_debug macros e352531ed020 cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant d2ab5491de91 iommu: Check if group is NULL before remove device 44f454a146c0 arm64: dts: qcom: msm8992-bullhead: Remove PSCI 95ed753d91bf arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x d7d04c67492e Bluetooth: hidp: use correct wait queue when removing ctrl_wait 2e6cc93e1b8c drm/amd/display: workaround for hard hang on HPD on native DP dcc8c5fb8d85 drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X 8849a8c7058e net: usb: lan78xx: don't modify phy_device state concurrently 735e613fa587 net: usb: pegasus: Check the return value of get_geristers() and friends; 6b368411bc0f ARM: dts: nomadik: Fix up interrupt controller node names 410d1ea4ff3a qede: fix crash in rmmod qede while automatic debug collection 7525f2e4de00 drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir. 711459514e29 scsi: core: Fix capacity set to zero after offlinining device 8071dbe1bdd0 scsi: core: Avoid printing an error if target_alloc() returns -ENXIO 4f78db7df6ed scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach() cc312fa7e6ef scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry() 968ee9176a44 scsi: pm80xx: Fix TMF task completion race condition b353028aed92 dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available 35f416223673 ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218 505884a0c7a1 net: xfrm: Fix end of loop tests for list_for_each_entry f1c0533fae59 spi: spi-mux: Add module info needed for autoloading b618a32142c7 dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe() c160df90b0ca dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers d4930271a409 USB: core: Fix incorrect pipe calculation in do_proc_control() ba6c1b004ac5 USB: core: Avoid WARNings for 0-length descriptor requests 8e100c72b6de KVM: X86: Fix warning caused by stale emulation context 47d4c7999799 KVM: x86: Factor out x86 instruction emulation with decoding ff2fc9e4aaa6 media: drivers/media/usb: fix memory leak in zr364xx_probe 56320b1ad4d0 media: zr364xx: fix memory leaks in probe() b5c7ec6d15af media: zr364xx: propagate errors from zr364xx_start_readpipe() 779a0f4347a4 mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards e2036bc3fc7d ath9k: Postpone key cache entry deletion for TXQ frames reference it 609c0cfd07f0 ath: Modify ath_key_delete() to not need full key entry 2925a8385ec7 ath: Export ath_hw_keysetmac() 6566c207e576 ath9k: Clear key cache explicitly on disabling hardware 8f05076983dd ath: Use safer key clearing with key cache entries (From OE-Core rev: 172d84a695a4bb1c4cde95be163b32cc9266ccec) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ce4eb69dc8ce06b3bb49fbddf27017f58ac20b0d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Exclude CVE-2021-29923 from report listRichard Purdie2021-09-171-0/+5
| | | | | | | | | | | | | | Upstream don't believe it is a signifiant real world issue and will only fix in 1.17 onwards. Therefore exclude it from our reports. https://github.com/golang/go/issues/30999#issuecomment-910470358 (From OE-Core rev: 573337b8432677fa3a7643e74045ae7d7b331b3f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5bd5faf0c34b47b2443975d66b71482d2380a01a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* flex: Add CVE-2019-6293 to exclusions for checksRichard Purdie2021-09-171-0/+5
| | | | | | | | | | | | | | | CVE is effectively disputed - yes there is stack exhaustion but no bug and it is building the parser, not running it, effectively similar to a compiler ICE. Upstream no plans to address and there is no security issue. https://github.com/westes/flex/issues/414 (From OE-Core rev: e2de2e5e977d84dab6cb1461800d4c29436da5c9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0cae5d7a24bedf6784781b62cbb3795a44bab4d1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>