summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-10-11bitbake: bitbake: Bump to version 1.52.0Richard Purdie
(Bitbake rev: c78ebac71ec976fdf27ea24767057882870f5c60) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11build-appliance-image: Update to honister head revisionRichard Purdie
(From OE-Core rev: b3c387547c8b73ef134e6665e18bd4724d943133) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11poky.conf: Bump version for 3.4 honister releaseRichard Purdie
(From meta-yocto rev: fc8c4b3b6bb0798edd4ac32c3c19a553a15b5749) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11bitbake: hashserv: Improve behaviour for better determinism/sstate reuseRichard Purdie
We have a choice of policy with hashequivalence - whether to reduce sstate duplication in the sstate feed to a minimum or have maximal sstate reuse from the user's perspective. The challenge is that non-matching outhashes are generated due to determinism issues, or due to differences in host gcc version, architecture and so on and the question is how to reconcile then. The approach before this patch is that any new match is added and matches can update. This has the side effect that a queried value from the server can change due to the replacement and you may not always get the same value from the server. With the client side caching bitbake has, this can be suboptimal and when using the autobuilder sstate feed, it results in poor artefact reuse. This patch switches to the other possible behaviour, once a hash is assigned, it doesn't change. This means some sstate artefacts may be duplicated but dependency chains aren't invalidated which I suspect may give better overall performance. Update the tests to match the new behaviour. (Bitbake rev: 20d6ac753efa364349100cdc863e5eabec8e5b78) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11bitbake: hashserv: Fix diverging report race conditionJoshua Watt
Fixes the hashequivalence server to resolve the diverging report race error. This error occurs when the same task(hash) is run simultaneous on two different builders, and then the results are reported back but the hashes diverge (e.g. have different outhashes), and one outhash is equivalent to a hash and another is not. If taskhash was not originally in the database, the client will fallback to using the taskhash as the suggested unihash and the server will see reports come in like: taskhash: A unihash: A outhash: B taskhash: C unihash: C outhash: B taskhash: C unihash: C outhash: D Note that the second and third reports are the same taskhash, with diverging outhashes. Taskhash C should be equivalent to taskhash (and unihash) A because they share an outhash B, but the server would not do this when tasks were reported in the order shown. It became clear while trying to fix this that single large table to store all reported hashes was going to make these updates difficult since updating the unihash of all entries would be complex and time consuming. Instead, it makes more sense to split apart the database into two tables: One that maps taskhashes to unihashes and one that maps outhashes to taskhashes. This should hopefully improve the parsing query times as well since they only care about the taskhashes to unihashes table, at the cost of more complex INNER JOIN queries on the lesser used API. Note this change does delete existing hash equivlance data and starts a new database table rather than converting existing data. (Bitbake rev: dff5a17558e2476064e85f35bad1fd65fec23600) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11bitbake: hashserv: Add tests for diverging reportsJoshua Watt
(Bitbake rev: 953c8d622c9d1bc1eb06bcaf1eaa3aa9f85d0bc2) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11bitbake: async: Close sync client event loopJoshua Watt
Prevents `ResourceWarning: unclosed event loop` warnings when using the synchronous client and python exits (Bitbake rev: 8b95972bc04ce52a98c7780184af15a5e95f987b) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-09ptest-runner: install -collect-system-data scriptTim Orling
When ptest-runner times out or otherwise fails, it tries to call ptest-runner-collect-system-data, so install the script. The script currently calls dmesg, df, free (which are provided by busybox, etc.) and pstree (which is a sub-package of psmisc). Add pstree as an RDEPENDS. (From OE-Core rev: 4e6be3fb521b23cfc175d0c09725bcc3ebbc73b2) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-09glibc: Drop libcidn packageFred Liu
libcidn has been dropped since glibc 2.28 (From OE-Core rev: cf83790728ad569af01300f793754c0108c78b4e) Signed-off-by: Fred Liu <yclw3d2y@live.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-09lttng-ust: fix do_compile failure for arm32 with DEBUG_BUILD enabledChangqing Li
After upgrade to 2.13.0, for arm32, with DEBUG_BUILD enabled, lttng-ust build failed with error: | /path/to/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/11.2.0/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `_uatomic_link_error' | collect2: error: ld returned 1 exit status | Makefile:399: recipe for target 'test_ust_error' failed | make[3]: *** [test_ust_error] Error 1 The problem has reported to upstream, and upstream suggests to use -DUATOMIC_NO_LINK_ERROR for the failure case, refer [1]. [1]https://lists.lttng.org/pipermail/lttng-dev/2021-September/030056.html (From OE-Core rev: 722d58bccd5616b3b3364845bbf1121d3cc0c3cd) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08poky.conf: Update tested distros list with recent changesRichard Purdie
(From meta-yocto rev: 4b923df6cb2858864c351fa1fd862547d5ad00c9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08dev-manual: warn about license compliance issues when static libraries are usedMichael Opdenacker
This partly addresses [YOCTO #14407] (From yocto-docs rev: 444ca8900e8057562d2a71a77e6e6798aca3ce85) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08dev-manual: correct NO_GENERIC_LICENSE section titleMichael Opdenacker
(From yocto-docs rev: 522841b4715295c6f399fc5affe2ade128d139ae) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-By: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08overview-manual: simplify expressionMichael Opdenacker
(From yocto-docs rev: ea1e5d4214f30927119f0124ee8a80a558601161) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08dev-manual: remove errant /Jon Mason
(From yocto-docs rev: 5a10c78c574eae48f50f5c912fd6534bdf99f71c) Signed-off-by: Jon Mason <jdmason@kudzu.us> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08documentation: use YOCTO_DL_URLJon Mason
(From yocto-docs rev: e3ad609d9fce8d6729bf6cb553993bddba1785ae) Signed-off-by: Jon Mason <jdmason@kudzu.us> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08documentation: replace http with https for URLsJon Mason
https has been the preferred way to access websites for many years now. Change all of the URLs with a _working_ https server/certificate to use that URL. (From yocto-docs rev: c77868c780df94356d5f21453f80ace073fade9b) Signed-off-by: Jon Mason <jdmason@kudzu.us> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08manuals: introduce 'yocto_sstate' extlinkMichael Opdenacker
(From yocto-docs rev: f428c8d3bb12bfdb2b2afb03e0e6b80e28fd0e62) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08docs: add "make all" to build old types of docs (html, epub, pdf) at onceMichael Opdenacker
(From yocto-docs rev: 8ce6aa0d4c0985e187464c7578662ff7581bc9ce) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08overview-manual: SVG diagram for the git workflowMichael Opdenacker
Set in full-width mode to make it ready in PDF and EPUB outputs. (From yocto-docs rev: 394c7c26c6591153670c67740d9a64f54725321b) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08conf.py: use PNG first in EPUB outputMichael Opdenacker
SVG directly included in EPUB output has multiple issues, in particular font size and alignment ones (tested on two EPUB readers). Instead, using PNG, generated from SVG when available as the primary format for images. GIF and JPEG are fine too. (From yocto-docs rev: ff3876ca4910cf61bc25bfeb07e65ad6f6a93b48) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08Makefile: allow epub and latexpdf outputs to use diagrams from SVG sourcesMichael Opdenacker
html output is great when directly using SVG epub output has to use exported PNG because of issues using SVG directly latexpdf output cannot use SVG, it needs exported PDF instead This adds rules to generate PNG and PDF formats from new SVG sources. Newly added diagrams have be stored in svg/ subdirectories so that PNG and PDF files generated from SVG can be "gitignored" without ignoring the original PNG diagrams that have no SVG source. Note: had to remove the dependency to "Makefile" in the final "catch-all" target, otherwise it was also catching the SVG to PNG and SVG to PDF targets. (From yocto-docs rev: cd9bbd41d323bc124057396f142010509c65bbaf) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08manuals: replace "apt-get" by "apt"Michael Opdenacker
Modern Debian based distros (such as Ubuntu) now use "apt" instead of "apt-get" Also make sure "apt" is invoked with root privileges (mandatory) (From yocto-docs rev: 380ef2474f3ecc2bce83f11cd838d054bef56d22) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reviewed-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08documentation: update sources mirror URLJon Mason
The URL for the sources mirror no longer works. Update to the new location. (From yocto-docs rev: 616c326437c03d7f4530168c4c9d6ef50743952e) Signed-off-by: Jon Mason <jdmason@kudzu.us> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08ref-manual: document DEBUG_PREFIX_MAPMichael Opdenacker
Fixes [YOCTO #14433] (From yocto-docs rev: 23eb07c26044d06bc51c757bf1b0a53b1b357dc8) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08manuals: font fixesMichael Opdenacker
This fixes font inconsistencies, mixing a ``text`` string with another string with the regular font, where the whole string makes more sense with a single font. The result is also much simpler and will make future searches easier. (From yocto-docs rev: e6d1c166a97a1b6bb42ca49dfcbd3d39f8eadc16) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08bitbake: bitbake: replace http with https for URLsJon Mason
https has been the preferred way to access websites for many years now. Change all of the URLs with a _working_ https server/certificate to use that URL. (Bitbake rev: da543cdaf88a387675e25d3555765f1146e4105e) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08yocto-bsp/poky: replace http with https for URLsJon Mason
https has been the preferred way to access websites for many years now. Change all of the URLs with a _working_ https server/certificate to use that URL. (From meta-yocto rev: 89de71da1c1e46d42a5c786bcac76462aa9c31e0) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08bitbake: bitbake:toaster:test: Update SSTATE URLJon Mason
(Bitbake rev: b3c0dbddd7eb3c87e3989977d7640f09b49a460b) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08bitbake: bitbake-worker: Handle pseudo shutdown in Ctrl+C caseRichard Purdie
If the build is interrupted, handle the shutdown of pseudo even in this case to avoid data corruption inside docker containers. [YOCTO #14555] (Bitbake rev: a2a04c6fe94bc56efcff299c669a151746e35916) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08bitbake: knotty/uihelper: Show setscene task progress in summary outputRichard Purdie
With the changes to task accounting, bitbake doesn't show progress when executing setscene tasks on the summary console output. Change to show a progress within the setscene tasks and a progress within the main tasks. I can't see any way to display this more easily without confusing users. [YOCTO #14586] (Bitbake rev: 0244acb968eb593d2ad7bc6e52f222c2b1d39aa9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08bitbake: fetch2: npmsw: Add support for local tarball and link sourcesStefan Herbrechtsmeier
(Bitbake rev: 4f983dc419a1a6f635a5d333f253d49244cec374) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08bitbake: fetch2: npm: Create config npmrc in environment instantiationStefan Herbrechtsmeier
Create a configuration npmrc per npm environment to avoid repeated creation of the same configuration file. Create the file via python to avoid multiple npm config calls and add the ability to pass a file path instead of a temporary file. Deprecate the npm configs argument of the run function. The configs should be passed to npm environment or as command specific arguments. (Bitbake rev: 2c2df49b06a2bad7a5b8872a9998338a4660498f) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08bitbake: fetch2: npm: Support npm archives with missing search directory modeStefan Herbrechtsmeier
Delay directory restore and set execute/search directory mode bits in unpack to support npm archives with a missing search directory mode. (Bitbake rev: 60cbd34d3da8f0f523281aad7eec93eec9cd4db8) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08bitbake: fetch2/gitsm: remove the 'nugget' SRCREV cachingRoss Burton
The cached revisions which are used to decide if a repository doesn't need to be updated are misleading when used in conjunction with mirror tarballs and can cause partial fetches to happen, resulting in unpack errors as repositories were not fetched. A concrete example: edk2-firmware in meta-arm is at version 202102 (ef91b0). This is built on the autobuilder so the source mirror contains the repository as a mirror tarball. If I build edk2-firmware 202102 the gitsm fetcher will initially download the top-level repository and then iterate into the submodules to also fetch those repositories, including cmocka from cryptomilk.org. edk2-firmware will then unpack and build successfully. I then update edk2-firmware to 202105 (e1999b) and build it. Gitsm.needs_update() starts by calling Git.needs_update() which returns False, as the mirror tarball contains this revision. It then looks at the "nuggets" which are SRCREVs it has fetched before. The mirror tarball itself contains the nugget for e1999b as this has been built on the autobuilder, so needs_update return False, no more fetching is done, and the build proceeds to unpack. However, as part of the 202105 upgrade the URL of the cmocka submodule changed, and this new repository was never fetched. This means that unpack fails as one of the required git repositories isn't available. The nugget codepaths appear to be an attempt at optimising the fetch process, but have demonstratable failure cases. Just removing them entirely solves the edk2-firmware example, and all of the fetcher test cases still pass. (Bitbake rev: 51212507ce3f670ace9efb691c92887d66f7aaf8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08bitbake: fetch2: clarify the command-no-found error messageRoss Burton
If runfetchcmd() fails with bb.process.NotFoundError, the message output is simply "Fetch command" which doesn't really explain what the problem is. Add "not found" to clarify what happened. (Bitbake rev: 8de9dc02ed6a73b47f2ab10be30d1aed7954bc72) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08bitbake: tests/fetch: prefix the FetcherTest temporary directoryRoss Burton
Set a prefix so the temporary directories are identifable. (Bitbake rev: c3440b82cbe9c317f9961d61e12ea37fc9541ce0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08bitbake: tests/utils: mark a regex as a raw stringRoss Burton
Avoids a warning from Python as \s isn't a valid escape. (Bitbake rev: be39c2e926beebe78030fbe26c6737f08f960fcb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08baremetal-image: Fix do_image dependenciesAlejandro Hernandez Samaniego
Commit 282d596b8 added a fix for image.bbclass related to QEMU dependencies, such fix made the older logic borrowed from image.bbclass incompatible. Update the dependency logic to reflect new changes, we no longer need to add the do_addto_recipe_sysroot dependency specifically. (From OE-Core rev: 4663f06c81285aeab8e8d33ec5338d7854b9dd9f) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08oeqa/manual: Fix no longer valid URLsJon Mason
autobuilder.yoctoproject.org URLS no longer work. Update them to a working location. (From OE-Core rev: 56f7bac1f0d1ced41e6908706be27149aa7b87e2) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08multilib: Avoid sysroot race issues when multilib enabledRichard Purdie
Multilib changes RECIPE_SYSROOT which can make the value in PSEUDO_IGNORE_PATHS incorrect. Add the correct value, which fixes races over files in the sysroot. [YOCTO #14581] (From OE-Core rev: 64003e5e1b51c0cd561681b1ac13293546b8182b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08abi_version/sstate: Bump to fix rpm corruption issuesRichard Purdie
(From OE-Core rev: 14feca0dc781f8e9003f70f317b63b242dc579b6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08rpm: Deterministically set vendor macro entryRichard Purdie
On an aarch64 build host, vendor is found to be "unknown", on x86 systems it is "pc". This filters through to the PLATFORM tag in target rpms. We saw reproducibility test failures where the PLATFORM tags in noarch rpms were changing depending upon which host built them. Forcing the vendor value to a consistent one makes things deterministic. (From OE-Core rev: f6434075b2bdfc23c683d22281b674b1e6abde77) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08sstatesig: Only apply group/other permissions to pseudo filesRichard Purdie
We hardlink some files into the build, such as licence files in do_populate_lic tasks. Depending on the umask that the source tree was checked out with, the group permissions would vary. This results in inconsistent task outhashes. Avoid this by ignoring the group/other bits unless we're under pseudo context. Bump the ABI numbers to ensure we don't see cache corruption from earlier builds. (From OE-Core rev: 2bd9c806de7e5197168360e3bd1d223a04a92291) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07machine/qemuarm*: Fix UBOOT_MACHINE valueDaiane Angolini
(From OE-Core rev: e212473e698bee64fd710948c59392398d0c9a58) Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07qemu: Define libnfs PACKAGECONFIGAndrei Gherzan
The upstream qemu recipe uses host's pkg-config files as a solution to detecting host's SDL. This has a side effect of using other host libraries that are later queried by the configure script. This can get into a situation when the host provides libnfs (for example) and because later this dependency is not in place anymore, qemu will fail at runtime. This change adds a PACKAGECONFIG definition for libnfs that is disabled by default, in turn disabling the pkgconfig autodetection in configure. (From OE-Core rev: 42b364a25fdbc987c85dd46b8427045033924d99) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07linux-yocto/5.14: revert: scripts/gcc-plugins: consistently use HOSTCCBruce Ashfield
The previously picked up gcc-plugins script wasn't correct and has been retracted upstream. We do the same in our 5.14 kernel: c4def465fc44 Revert "scripts/gcc-plugins: consistently use HOSTCC" (From OE-Core rev: ed725fb0f27c867fa5a17a28c9ec4e21ce44867a) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07kernel-yocto: don't apply config metadata patches twiceBruce Ashfield
(From OE-Core rev: 0b88ed0af350c609ce8075e7d89ca7db91486858) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07linux-yocto/5.14: update to v5.14.9Bruce Ashfield
Updating linux-yocto/5.14 to the latest korg -stable release that comprises the following commits: 70248e7b378b Linux 5.14.9 f6fceb4e9ce6 usb: gadget: f_uac2: Populate SS descriptors' wBytesPerInterval 007574d6ac26 usb: gadget: f_uac2: Add missing companion descriptor for feedback EP d401d7d2f5c8 nvmet: fix a width vs precision bug in nvmet_subsys_attr_serial_show() 958c616efce3 qnx4: work around gcc false positive warning bug f67f85ec19fa xen/balloon: fix balloon kthread freezing 8ea750370cd6 software node: balance refcount for managed software nodes 62a27861b4ea USB: serial: cp210x: fix dropped characters with CP2102 7b389ef53115 arm64: add MTE supported check to thread switching and syscall entry/exit 338db6ec41ca irqchip/armada-370-xp: Fix ack/eoi breakage 8467f200fd38 thermal/drivers/int340x: Do not set a wrong tcc offset on resume fe5eaf1cdf9c x86/setup: Call early_reserve_memory() earlier 5111b05125bd EDAC/dmc520: Assign the proper type to dimm->edac_mode 845350d4e34b EDAC/synopsys: Fix wrong value type assignment for edac_mode ef8eac0c61d7 Revert drm/vc4 hdmi runtime PM changes 8aef50b390c4 libperf evsel: Make use of FD robust. 5f35f78ead51 spi: Fix tegra20 build with CONFIG_PM=n 9367a8fbd9d9 net: 6pack: Fix tx timeout and slot time 501b0fa2f7f2 alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile 95d6bf1d19fd arm64: Mark __stack_chk_guard as __ro_after_init 28f2eee9fc03 amd/display: enable panel orientation quirks fca67e1c4b8c drm/amd/display: Link training retry fix for abort case 76438685048a drm/amd/display: Fix unstable HPCP compliance on Chrome Barcelo b58ffd21ec45 drm/amdkfd: make needs_pcie_atomics FW-version dependent 47c6e796abe4 parisc: Use absolute_pointer() to define PAGE0 01452e3c727e qnx4: avoid stringop-overread errors dd24b4ba2d8d sparc: avoid stringop-overread errors 32f93161620a net: i825xx: Use absolute_pointer for memcpy from fixed memory location eb136917b022 compiler.h: Introduce absolute_pointer macro 7c2c69e01043 blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd a5067abc52ef block: flush the integrity workqueue in blk_integrity_unregister 282aed19c590 block: check if a profile is actually registered in blk_integrity_unregister e7f8b507fe58 drm/ttm: fix type mismatch error on sparc64 2b60676ac850 amd/display: downgrade validation failure log level 5780971d7dbd sparc32: page align size in arch_dma_alloc d268a182c56e nvme-rdma: destroy cm id before destroy qp to avoid use after free e0b9644a4903 nvme-multipath: fix ANA state updates when a namespace is not present 922fd5b6bb13 xen/balloon: use a kernel thread instead a workqueue b5fe7cdfee59 bpf: Add oversize check before call kvcalloc() ded7d5c44d8a cpufreq: intel_pstate: Override parameters if HWP forced by BIOS de4afec2d294 dma-debug: prevent an error message from causing runtime problems 4a23ae2c6a60 ipv6: delay fib6_sernum increase in fib6_add 88ad6f3803ca m68k: Double cast io functions to unsigned long 5cee359945e0 blk-mq: avoid to iterate over stale request cde9ad77f20b net: stmmac: allow CSR clock of 300MHz 4ad6f2d23b0f net: macb: fix use after free on rmmod b7646fadde06 net: phylink: Update SFP selected interface on advertising changes a5f8e8619261 blktrace: Fix uaf in blk_trace access after removing by sysfs 2f6caa538735 io_uring: don't punt files update to io-wq unconditionally 05ac8e4c8aec io_uring: put provided buffer meta data under memcg accounting 24d38dcce407 io_uring: fix missing set of EPOLLONESHOT for CQ ring overflow 4e81f12cc00c io_uring: fix race between poll completion and cancel_hash insertion 6724710fd8d4 x86/asm: Fix SETZ size enqcmds() build failure a46d5e3603bd md: fix a lock order reversal in md_alloc e0c1c2e5da19 irqchip/gic-v3-its: Fix potential VPE leak on error 546886700105 irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build 329cb72b3241 scsi: lpfc: Use correct scnprintf() limit f56250ae28af scsi: qla2xxx: Restore initiator in dual mode e607120e15b0 scsi: ufs: core: Unbreak the reset handler 1d65bff00936 scsi: ufs: Retry aborted SCSI commands instead of completing these successfully 4368d7a1aa0f scsi: ufs: Revert "Utilize Transfer Request List Completion Notification Register" 1fc9119eda5b scsi: sd_zbc: Support disks with more than 2**32 logical blocks 309c4b00c687 cifs: fix a sign extension bug a5024c719888 thermal/core: Potential buffer overflow in thermal_build_list_of_policies() ed1e0252111b nvme: keep ctrl->namespaces ordered 08a14a654f4f nvme-tcp: fix incorrect h2cdata pdu offset accounting 8cd1ae341b22 x86/fault: Fix wrong signal when vsyscall fails with pkey bfacc1de136d fpga: machxo2-spi: Fix missing error code in machxo2_write_complete() 674fd6adbfbf fpga: machxo2-spi: Return an error on failure 0ee0fbc2a3c0 tty: synclink_gt: rename a conflicting function name 8cbf9ac9941f scsi: target: Fix the pgr/alua_support_store functions 0c1b2c0d1c1e scsi: iscsi: Adjust iface sysfs attr detection c7da1781a6ad drm/amdkfd: fix dma mapping leaking warning bb8078d3a778 drm/amdkfd: map SVM range with correct access permission 80ec71bd37d4 atlantic: Fix issue in the pm resume flow. d0a3a062c91f net/mlx4_en: Don't allow aRFS for encapsulated packets 6909a55ce459 net: mscc: ocelot: fix forwarding from BLOCKING ports remaining enabled 6081c82c2ff8 net: ethernet: mtk_eth_soc: avoid creating duplicate offload entries 339440b11728 nfc: st-nci: Add SPI ID matching DT compatible 741760fa6252 nexthop: Fix memory leaks in nexthop notification chain listeners f8ff625a8082 mptcp: ensure tx skbs always have the MPTCP ext 3d6374d5c386 qed: rdma - don't wait for resources under hw error recovery flow 18eab899f43f gpio: uniphier: Fix void functions to remove return value 26c204fbdbc5 gpiolib: acpi: Make set-debounce-timeout failures non fatal 9b00fb12cdc9 s390/qeth: fix NULL deref in qeth_clear_working_pool_list() b9fc4ed7520a spi: Revert modalias changes 9839bb2b0e83 kselftest/arm64: signal: Skip tests if required features are missing 6407eb6692fe kselftest/arm64: signal: Add SVE to the set of features we can check for d12feda3daf7 platform/x86: dell: fix DELL_WMI_PRIVACY dependencies & build error 5e95328ad0cd net: dsa: realtek: register the MDIO bus under devres 880ee7cf0f02 net: dsa: don't allocate the slave_mii_bus using devres e15b7001ce5e net: dsa: fix dsa_tree_setup error path 79816b227dab net/smc: fix 'workqueue leaked lock' in smc_conn_abort_work edb96e602d84 net/smc: add missing error check in smc_clc_prfx_set() 1791e8eef88a net: hns3: fix a return value error in hclge_get_reset_status() 18d1e07be773 net: hns3: check vlan id before using it 3d4b460aeb83 net: hns3: check queue id range before using fa6126e4eda4 net: hns3: fix misuse vf id and vport id in some logs faf83d55e293 net: hns3: fix inconsistent vf id print 6a627ccb2ce9 net: hns3: fix change RSS 'hfunc' ineffective issue fab9a160ef76 bnxt_en: Fix TX timeout when TX ring size is set to the smallest ce6c8a9246ad napi: fix race inside napi_enable d9448073ee71 net: bgmac-bcma: handle deferred probe error due to mac-address 1e3d85f911f8 net: dsa: tear down devlink port regions when tearing down the devlink port on error 135c541dee18 enetc: Fix uninitialized struct dim_sample field usage 6f329d9da2a5 enetc: Fix illegal access when reading affinity_hint f020bb63b5d2 virtio-net: fix pages leaking when building skb in big mode 9a5ba85e8dce NLM: Fix svcxdr_encode_owner() 2f95dd831be0 regulator: max14577: Revert "regulator: max14577: Add proper module aliases strings" 50cb50a99fae platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR() fa3aac2b4386 afs: Fix updating of i_blocks on file/dir extension e66fc460d6dc afs: Fix corruption in reads at fpos 2G-4G from an OpenAFS server 95671c6c6374 afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation d130b5fdd422 afs: Fix page leak 7f797c79fccd regulator: qcom-rpmh-regulator: fix pm8009-1 ldo7 resource name f217b6c1e28e comedi: Fix memory leak in compat_insnlist() b032354df6ed arm64: Mitigate MTE issues with str{n}cmp() 0375ec7559ba arm64: Restore forced disabling of KPTI on ThunderX eda7a025a580 platform/x86: amd-pmc: Increase the response register timeout 449d6043c81d net: hso: fix muxed tty registration 06a18e64256f drm/amd/pm: Update intermediate power state for SI d7ee7ccdc786 scsi: sd_zbc: Ensure buffer size is aligned to SECTOR_SIZE 21907692fbf3 serial: mvebu-uart: fix driver's tx_empty callback 590e6c408e30 serial: 8250: 8250_omap: Fix RX_LVL register offset 807ac762afee xhci: Set HCD flag to defer primary roothub registration f8f91342dc0e btrfs: prevent __btrfs_dump_space_info() to underflow its free space e9d32ec26e7f nexthop: Fix division by zero while replacing a resilient group e1854b6cad5f erofs: fix up erofs_lookup tracepoint 336dabf99386 KVM: rseq: Update rseq when processing NOTIFY_RESUME on xfer to KVM guest 9fc198f415de mcb: fix error handling in mcb_alloc_bus() 9dfda47040e1 misc: genwqe: Fixes DMA mask setting 3e9a41195afe misc: bcm-vk: fix tty registration race e50c102f362e USB: serial: option: add device id for Foxconn T99W265 924956f203db USB: serial: option: remove duplicate USB device ID 4bb92efc9bd5 USB: serial: option: add Telit LN920 compositions 8db009cb6655 USB: serial: mos7840: remove duplicated 0xac24 device ID e9ce1992a338 usb: core: hcd: Add support for deferring roothub registration 0fff3d5cd436 usb: cdns3: fix race condition before setting doorbell 41d5aff380c0 usb: dwc3: core: balance phy init and exit c9f0252e4508 Re-enable UAS for LaCie Rugged USB3-FW with fk quirk b55704091500 usb: isp1760: do not sleep in field register poll 9872ff6fdce8 staging: greybus: uart: fix tty use after free b0e001ae6060 binder: fix freeze race b95483d8d94b binder: make sure fd closes complete 63239b0336b1 Revert "USB: bcma: Add a check for devm_gpiod_get" af5947c5157d USB: cdc-acm: fix minor-number release 166f843bb68c USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter 5a377e1d7ac9 usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c 842f8bde1ed9 xen/x86: fix PV trap handling on secondary processors 9b73af491ffe cifs: fix incorrect check for null pointer in header_assemble 9f6c7aff21f8 cifs: Fix soft lockup during fsstress 6344bc6cd2b4 cifs: Not to defer close on file when lock is set 14582e4d65dc usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned() 11453ccd21b1 usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA eba598563d06 usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave 40fe83550d86 usb: gadget: u_audio: EP-OUT bInterval in fback frequency 29517795c4fe usb: gadget: r8a66597: fix a loop in set_feature() 9c93c402c467 mm: fix uninitialized use in overcommit_policy_handler a7032c95c6e8 mm/debug: sync up MR_CONTIG_RANGE and MR_LONGTERM_PIN 9ad0f5ca9ccd ocfs2: drop acl cache for directories too 0414a521d1ea mm, hwpoison: add is_free_buddy_page() in HWPoisonHandlable() (From OE-Core rev: 9e0a213388be5d758e5e043386af3d7c7e535fe4) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07linux-yocto/5.10: update to v5.10.70Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: f93026b28e2a Linux 5.10.70 59094296058d qnx4: work around gcc false positive warning bug 35c0dfbbd344 xen/balloon: fix balloon kthread freezing 8373d58c89be USB: serial: cp210x: fix dropped characters with CP2102 67cdb51ab5e2 thermal/drivers/int340x: Do not set a wrong tcc offset on resume cc71740ee4d4 EDAC/dmc520: Assign the proper type to dimm->edac_mode 9afad85a43f5 EDAC/synopsys: Fix wrong value type assignment for edac_mode db76cb05c046 spi: Fix tegra20 build with CONFIG_PM=n 890e25c424ea net: 6pack: Fix tx timeout and slot time 044513c1fada alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile 0a511ba6d2a7 arm64: Mark __stack_chk_guard as __ro_after_init fec3bd622db0 parisc: Use absolute_pointer() to define PAGE0 61454e7fd624 qnx4: avoid stringop-overread errors 5520d27f02a1 sparc: avoid stringop-overread errors 8d768beaf0ef net: i825xx: Use absolute_pointer for memcpy from fixed memory location e99f9032715e compiler.h: Introduce absolute_pointer macro f58d305887ad blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd 1ef68b84bc11 block: flush the integrity workqueue in blk_integrity_unregister 1963bdb7489c block: check if a profile is actually registered in blk_integrity_unregister 526261c1b706 amd/display: downgrade validation failure log level 54a4860c6257 sparc32: page align size in arch_dma_alloc ecf0dc5a9048 nvme-rdma: destroy cm id before destroy qp to avoid use after free 2a08960577af nvme-multipath: fix ANA state updates when a namespace is not present 372d3e6ea1e1 xen/balloon: use a kernel thread instead a workqueue 6345a0bee801 bpf: Add oversize check before call kvcalloc() e567d33508a9 cpufreq: intel_pstate: Override parameters if HWP forced by BIOS 9561bb98879e ipv6: delay fib6_sernum increase in fib6_add 31df1d037cfd m68k: Double cast io functions to unsigned long cc3dd119d3cf blk-mq: avoid to iterate over stale request de7e03003367 net: stmmac: allow CSR clock of 300MHz 7721221e87d2 net: macb: fix use after free on rmmod a632288053b7 net: phylink: Update SFP selected interface on advertising changes 3815fe7371d2 blktrace: Fix uaf in blk_trace access after removing by sysfs ce092350b452 io_uring: put provided buffer meta data under memcg accounting 7040b37a9630 x86/asm: Fix SETZ size enqcmds() build failure 54e85b6c287c x86/asm: Add a missing __iomem annotation in enqcmds() b18ba3f477a2 md: fix a lock order reversal in md_alloc 568662e37f92 irqchip/gic-v3-its: Fix potential VPE leak on error af7c9ffe2bee irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build 0595fc4794c3 scsi: lpfc: Use correct scnprintf() limit cb948b158a86 scsi: qla2xxx: Restore initiator in dual mode 3d42ed6b7905 cifs: fix a sign extension bug 8cba4c2698e2 thermal/core: Potential buffer overflow in thermal_build_list_of_policies() 215df4349916 nvme: keep ctrl->namespaces ordered 55e6f8b3c0f5 treewide: Change list_sort to use const pointers 419fab1cb086 nvme-tcp: fix incorrect h2cdata pdu offset accounting c6ecdcba9da3 fpga: machxo2-spi: Fix missing error code in machxo2_write_complete() 5c6bfde245d8 fpga: machxo2-spi: Return an error on failure 4ea4925c70fd tty: synclink_gt: rename a conflicting function name 56a8f0b18f46 tty: synclink_gt, drop unneeded forward declarations c64e6c307a76 scsi: target: Fix the pgr/alua_support_store functions 2d0305425179 scsi: iscsi: Adjust iface sysfs attr detection 0032f8b3cf2a atlantic: Fix issue in the pm resume flow. c2598bce4152 net/mlx4_en: Don't allow aRFS for encapsulated packets b4e54f5f4288 qed: rdma - don't wait for resources under hw error recovery flow 1bba406c07b3 gpio: uniphier: Fix void functions to remove return value db94f89e1dad s390/qeth: fix NULL deref in qeth_clear_working_pool_list() 3aa50241e1ed kselftest/arm64: signal: Skip tests if required features are missing 91d4da33c367 kselftest/arm64: signal: Add SVE to the set of features we can check for 2eaa39d83e30 net: dsa: realtek: register the MDIO bus under devres 43c880b860c7 net: dsa: don't allocate the slave_mii_bus using devres b4561bd29e62 net/smc: fix 'workqueue leaked lock' in smc_conn_abort_work 8a00c832ef88 net/smc: add missing error check in smc_clc_prfx_set() 4e0fd1d79534 net: hns3: check queue id range before using ca435999bcaf net: hns3: fix change RSS 'hfunc' ineffective issue 1365a0dc5596 bnxt_en: Fix TX timeout when TX ring size is set to the smallest d5afe3cf52e5 enetc: Fix uninitialized struct dim_sample field usage 6c3f1b741c6c enetc: Fix illegal access when reading affinity_hint 117661cb9d3a platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR() 22538c1bde27 afs: Fix updating of i_blocks on file/dir extension 55352944b497 afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation 8d6a21e4cd6a comedi: Fix memory leak in compat_insnlist() 43241a6c6e6c net: hso: fix muxed tty registration 68d4fbe6220c drm/amd/pm: Update intermediate power state for SI 7dc9225fcde0 scsi: sd_zbc: Ensure buffer size is aligned to SECTOR_SIZE 3dfffcd26029 serial: mvebu-uart: fix driver's tx_empty callback 640946fc56b8 serial: 8250: 8250_omap: Fix RX_LVL register offset 0ea9ac731a31 xhci: Set HCD flag to defer primary roothub registration 80af86c12290 btrfs: prevent __btrfs_dump_space_info() to underflow its free space 8326be9e5121 erofs: fix up erofs_lookup tracepoint 91e4ad05bf18 mcb: fix error handling in mcb_alloc_bus() 2c28bb016bed USB: serial: option: add device id for Foxconn T99W265 600b19610ad4 USB: serial: option: remove duplicate USB device ID 0daf57973ff0 USB: serial: option: add Telit LN920 compositions dc131d3f1335 USB: serial: mos7840: remove duplicated 0xac24 device ID d58fc9e9c158 usb: core: hcd: Add support for deferring roothub registration 996f7c4a1fcf usb: dwc3: core: balance phy init and exit a05ff800013e Re-enable UAS for LaCie Rugged USB3-FW with fk quirk b9e697e60ce9 staging: greybus: uart: fix tty use after free d5b0473707fa binder: make sure fd closes complete 302e60e26ad5 Revert "USB: bcma: Add a check for devm_gpiod_get" b33b3db476e6 USB: cdc-acm: fix minor-number release 0809b8576fa8 USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter a34d6ef0c71a usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c f79282849187 xen/x86: fix PV trap handling on secondary processors 93028da5e92d cifs: fix incorrect check for null pointer in header_assemble 5940e22528df usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned() d071c7fd45dc usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA 5f4bfac26173 usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave 1fbd7eb385c3 usb: gadget: r8a66597: fix a loop in set_feature() 838297222b2b mm: fix uninitialized use in overcommit_policy_handler 437be4d6faed ocfs2: drop acl cache for directories too 31bd6cd06a18 PCI: aardvark: Increase polling delay to 1.5s while waiting for PIO response (From OE-Core rev: 3306240202254ba8ddcd2604f852a65888b4078a) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>