summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-04-30qemu: fix CVE-2021-3416Sakib Sajal
(From OE-Core rev: 7a3ce8a79a6c682e1b38f757eb68534e0ce5589d) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e2b5bc11d1b26b73b62e1a63cb75572793282dcb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30qemu: fix CVE-2021-3409Sakib Sajal
(From OE-Core rev: e6fd06544018f37943d4758ea57206f994cd04d3) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e2fb8c15a64e1f5db678e8e95924da8c88a188c0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30qemu: fix CVE-2021-20221Sakib Sajal
(From OE-Core rev: e71b85d59c96a9aba06852dfdcd6ad5d9cdc4c35) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 59a44f8c70d4a026ae74e44b9d70100029c691b5) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30qemu: fix CVE-2020-29443Sakib Sajal
(From OE-Core rev: 27cc6761ecd7dbe5b7972706f2a21cb3ee5eef3f) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 481e012de865ee232fa5a233e9f1d4fc7a2232ab) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30qemu: fix CVE-2021-20181Sakib Sajal
(From OE-Core rev: a993a379bb490efbbf507f5dccda5ab358e8afea) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c2f79065ef0684f2c0bdb92f1b03e690ab730b8c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30cve-update-db-native: skip on empty cpe23UriKonrad Weihmann
Recently an entry in the NVD DB appeared that looks like that {'vulnerable': True, 'cpe_name': []}. As besides all the vulnerable flag no data is present we would get a KeyError exception on acccess. Use get method on dictionary and return if no meta data is present Also quit if the length of the array after splitting is less than 6 (From OE-Core rev: 650eaa56b83b5698ad7b95337607959e018ff6c0) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 00ce2796d97de2bc376b038d0ea7969088791d34) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30rpm: Upgrade to 4.16.1.3Mingli Yu
Fixes some security vulnerabilities such as CVE-2021-3421 and CVE-2021-20271. Rebase 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch to avoid fuzz warnings. (From OE-Core rev: 532698a83261e3ce53f03d5b063a6978a7592bd1) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> (cherry picked from commit 25fe972c4aa6ea640b1cdcd1624108f70e539586) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30runqemu: Ensure we cleanup snapshot files after image runRichard Purdie
We need to cleanup snapshot files if we make a copy of them to ensure the tmpfs doesn't run out of space. There is already NFS code needing this so make it a generic code path. (From OE-Core rev: 63f3c44f51cf36d3ac550ebb2292eb8e08d1b8d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a3e0eec5a4785a0c4859455eb10b43aa832e606d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30gdk-pixbuf: fix CVE-2021-20240Changqing Li
(From OE-Core rev: bd08e4d179979937604c196b4047f59c5499a960) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30cairo: fix CVE-2020-35492Changqing Li
(From OE-Core rev: 69d693c4800c43b62bc216d7c1763d17e19ed421) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30lttng-tools: Fix path for test_python_loogingAnders Wallin
" was missing (From OE-Core rev: 73bc035151760ce6d07bb3541607544f71adae7e) Signed-off-by: Anders Wallin <anders.wallin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e1780ccfc89e9ff4e260276f28ffa0bb8e9b44e1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30lttng-tools: Fix missing legacy test filesAnders Wallin
tests/regression/tools/save-load (From OE-Core rev: 4d0e6ff408caeb6e57b5a347aa071d3afef98d4d) Signed-off-by: Anders Wallin <anders.wallin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2e892895e25d148b4c522e3a30bfb1bb4e9a9506) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30wpa-supplicant: fix CVE-2021-30004Stefan Ghinea
In wpa_supplicant and hostapd 2.9, forging attacks may occur because AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and tls/x509v3.c. References: https://nvd.nist.gov/vuln/detail/CVE-2021-30004 Upstream patches: https://w1.fi/cgit/hostap/commit/?id=a0541334a6394f8237a4393b7372693cd7e96f15 (From OE-Core rev: decf95ad84a38b86e4e9f86a78f76535f4f22d4f) Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b32b671bf430b36a5547f8d822dbb760d6be47f7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30deb: apply postinstall on sdkhongxu
If not postinstall applied, some nativesdk command could not be found in sdk due to update-alternatives in postinst not be executed, such as chroot: $ which chroot /sbin/chroot $ which chroot.coreutils path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils After applying the fix $ which chroot path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot $ which chroot.coreutils path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils (From OE-Core rev: 07aaa526c60c6d545ca856fc3d51606b669f641c) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2a9bf19502766baa4087456649d5471483d04f6a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30externalsrc: Detect code changes in submodulesDouglas Royds
Further to 50ff9afb39, only detect code changes in submodules that are subdirectories of the EXTERNALSRC directory. The (undocumented) git submodule--helper returns a path for each submodule relative to the top of the repo. Don't add submodules that are not within our source subtree. [YOCTO #14333] (From OE-Core rev: d233735891872b73e66cb3ce9f73b9af4d32a186) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1c18225d3ef94a41fc073ae87c163b68e6d46571) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30Revert "externalsrc: Detect code changes in submodules"Douglas Royds
This reverts commit 4525310d49d115a37705f04ac5c03d639e5e8f8c. Further to 50ff9afb39, only detect code changes in submodules that are subdirectories of the EXTERNALSRC directory. The (undocumented) git submodule--helper returns a path for each submodule relative to the top of the repo. Don't add submodules that are not within our EXTERNALSRC subtree. If we unpack one git repo inside another, like this: SRC_URI = "git://${GIT_SERVER}/repo1;name=repo1;destsuffix=repo1 \ git://${GIT_SERVER}/repo2;name=repo2;destsuffix=repo1/repo2 \ " Git status reports, for repo1: Untracked files: (use "git add <file>..." to include in what will be committed) repo2/ If we run `devtool modify` on this recipe, do_patch runs with: PATCHTOOL = "git" PATCH_COMMIT_FUNCTIONS = "1" The `patch_task_postfunc` (patch.bbclass, line 82) runs a `git add .` on the top-level repo1, leaving the checkout in an invalid state. The following git warning does not appear in the log: $ git add . warning: adding embedded git repository: repo2 hint: You've added another git repository inside your current repository. hint: Clones of the outer repository will not contain the contents of hint: the embedded repository and will not know how to obtain it. hint: If you meant to add a submodule, use: hint: hint: git submodule add <url> repo2 hint: hint: If you added this path by mistake, you can remove it from the hint: index with: hint: hint: git rm --cached repo2 hint: hint: See "git help submodule" for more information. $ git submodule status fatal: no submodule mapping found in .gitmodules for path 'repo2' No further git submodule commands can be run on the checkout. We could enhance the `patch_task_postfunc` to look for any embedded git checkouts and add them as submodules, but this seems unnecessary complexity for an obscure edge-case. Although the git repo is left in an invalid state with respect to the submodules, it still serves the purpose required by devtool: To take further commits, and generate patch files from them. We are still able to run these commands to examine any submodules, where git submodule--helper reports paths relative to the top of the checkout: $ git ls-files --stage | grep ^160000 160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0 repo2 $ git submodule--helper list 160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0 repo2 When a recipe sets EXTERNALSRC to a subdirectory of the git checkout, we test for the existence of the reported submodule paths within the EXTERNALSRC directory. The latest versions of git submodule--helper accept a path to a subdirectory and correctly report no submodules within that subdirectory. Regrettably, we still support git versions that don't accept a path to a subdirectory. [YOCTO #14333] (From OE-Core rev: 4d961d6b794b389f8a2d062d5e7c0ae1ddc49e36) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2055718fdd19f925e236d67823017323bbd92a4b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30arch-armv6m.inc: fix access rightsUlrich Ölmann
(From OE-Core rev: f07b527676d2dba05559a972b1db885db050471d) Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2f7ebe444c2a78ef149b8c5f0f005ab23f24a176) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30libxshmfence: Build fixes for riscv32Mingli Yu
NR_futex is not defined by newer architectures e.g. riscv32 as they only have 64bit variant of time_t. Glibc defines SYS_futex interface based on __NR_futex, since this is used in applications, such applications start to fail to build for these newer architectures. Define a fallback to alias __NR_futex to __NR_futex_time64 to make SYS_futex keep working. Reference: https://git.openembedded.org/openembedded-core/commit/?id=7a218adf9990f5e18d0b6a33eb34091969f979c7 (From OE-Core rev: 45fedd892d2263ac14ceae16f1f9c5ed2b312ff7) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 81599bf32135187b34726d41e9f619d22ca1bdd1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30packagegroup-core-tools-testapps.bb: Remove kexec for riscv32Mingli Yu
kexec is not yet ported to riscv32. (From OE-Core rev: 77f2d0be675f7cbb539ef65507bb946ad9b295c7) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f1e7da7737b3d6df27cc5af002fd1eb0c202d0b4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30packagegroup-core-tools-profile: Remove valgrind for riscv32Mingli Yu
valgrind is not yet ported to riscv32. (From OE-Core rev: aeb9a929ef34e61820916227358061e9b0ef9724) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit df70bc4c60838af1dd7e7f31aba43e8d190def77) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30ltp: fix empty ltp-dev packageJonas Höppner
Currently the headers are not installed and the ltp-dev package is empty. This patch adds an include-install make target in the do_install step to install them in sysroot which ends up as a working ltp-dev package. (From OE-Core rev: c4419fb58b6ab5f4fbdcd65e5b6d2e7742c8d66f) Signed-off-by: Jonas Höppner <jonas.hoeppner@garz-fricke.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f6943da4444cd71053650be0c9212bc25ac53137) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30glslang: strip whitespace in pkgconfig fileRoss Burton
Whilst pkg-config is fine with .pc files containing leading whitespace, pkgconf is less forgiving. (From OE-Core rev: bece9af0991776926004fc12c4d6ec542bc9957c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 14bfe5f15f78c1bc049868633fd6fa19feb5a70c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30go: upgrade 1.16.2 -> 1.16.3wangmy
This is bugfix release in 1.16 series [1] [1] https://github.com/golang/go/issues?q=milestone%3AGo1.16.3+label%3ACherryPickApproved (From OE-Core rev: b4c312c72c180c26691af83c0df43384e533dca5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 84188e7b78aa40b168b526fa5d681a8a21d3b77c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30pango: re-enable ptestSaul Wold
The run-ptest script got accidently dropped from the SRC_URI during a past update and ptest patch. (From OE-Core rev: 9786f7f41e034c60f61a7c0e47755d672353e07f) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4479f810c1a3ab2badf4f9610c309bc0e23e2a5f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30kmod: do not symlink config.guess/config.sub during autoreconfGavin Li
I was encountering the following race condition on poky: - automake-native does do_install. - automake-native does do_populate_sysroot. This hardlinks config.guess and config.sub into ${D}. - kmod-native does do_configure. This runs `autoreconf`, which runs `automake --add-missing` (symlinks config.guess/config.sub from recipe-sysroot-native to build dir), then runs `gnu-configize` (copies _its own_ config.guess/config.sub _on top_ of the already existing ones). Since the destinations already had symlinks, the copy would overwrite config.guess/config.sub in recipe-sysroot-native, which would in turn overwrite the same in ${D} due to being hardlinked. - automake-native does do_package. The outhash is thus calculated on the clobbered config.guess/config.sub files. With hash equivalency enabled, the different outhash produced a different unihash, which kept me from reusing sstate between my laptop and my build server. This race condition would happen only on the build server (BB_NUMBER_THREADS = 32) but never on my laptop (BB_NUMBER_THREADS = 6). I didn't see the --install and --symlink flags being used by any other recipe, so I removed them, and that fixed the issue. (From OE-Core rev: fd12e5872813a4750ef2603a357170dd3f0f44e1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 89d675efd633b495daa4a3a57420b9c309497035) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30libtool: make sure autoheader run before automakeMingli Yu
When use automake to generate Makefile.in from Makefile.am, there comes below race: | configure.ac:45: error: required file 'config-h.in' not found It is because the file config-h.in in updating process by autoheader, so make automake run after autoheader to avoid the above race. (From OE-Core rev: 55372f0b2d8c57954a704a967178c75d19e0af89) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1fc0a4a98e65db7efba8bb5cb835101ea5dd865b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30Revert "inittab: Add getty launch on hvc0 for qemuppc64"Kevin Hao
This reverts commit ed69ef20167da0986bc9363d1a91e62001995af4. The console entry has already been added into /etc/inittab based on the SERIAL_CONSOLES. So drop this redundant entry. (From OE-Core rev: 5dbe969f4fdcf3005c0a69e97e8753819ab066a4) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 633f0c6b74e3caa2bae52ca60c61b811b7b2215d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30sysvinit-inittab/start_getty: Check /sys for the tty device existenceKevin Hao
The hvc tty driver doesn't populate a file like /proc/tty/driver/serial, so the current implementation of start_getty doesn't work for the hvc console. By checking the /sys/class/tty/ for the tty device existence, it should support more console types and also make the codes more simple. (From OE-Core rev: ab7a1f14191e882439715e82f1636d7713e1da03) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 670ceef0f6584ece5ce4176610255226a6148570) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30modutils-initscripts: Bail out when no module is installedKevin Hao
Fix the following warning when boot with a core-image-minimal rootfs: depmod: can't change directory to 'lib/modules/5.10.25-yocto-standard': No such file or directory (From OE-Core rev: 1aa5d8231a7e4ee2f19afbe12aa49fc19c854062) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c34650400182a1104a5fbe03e54f5cea69eb1900) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30systemd: upgrade 247.4 -> 247.6Anthony Bagwell
(From OE-Core rev: 7580c864a4afdf72b34c94c694e590f087bf5298) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 63fbf39b8aa3d94ca2db719d1a53190045dbb86d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30insane: clean up some more warning messagesRoss Burton
(From OE-Core rev: db27cb7aabb875d9a48b3b1e82f7cf4e44d15c8b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2abe18682192e7b38b9af5a5043906f2f069648f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30sanity: Add error check for '%' in build pathRichard Purdie
It has been reported that '%' characters in build paths break with python exceptions, probably due to confusion with python string escaping. Whilst it is probably fixable, showing the user a human readable error is better given it doesn't work. [YOCTO #14282] (From OE-Core rev: 000c12eeca6f6145ba9203c91ec1e67e4b5d8b6f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 31a3cf78452270131a657be45e76569515cff7ef) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30groff: not ship /usr/bin/grap2graphMingli Yu
grap2graph which converts a GRAP diagram into a cropped image fails to run as below: $ grap2graph /usr/bin/grap2graph: line 89: convert: command not found /usr/bin/grap2graph: warning: falling back to old '-crop 0x0' trim method /usr/bin/grap2graph: line 104: convert: command not found /usr/bin/grap2graph: line 103: grap: command not found Considering we don't often need to convert a GRAP diagram into a cropped image and the recipe ImageMagick which provides convert command is in meta-oe layer, so don't ship the related files to avoid the confusion about the above run time error. (From OE-Core rev: b096417b9635c5a790616d20f0490bc15b9d7c0f) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 251be7279a475ee18c0c53fe9795bb37bffc2b45) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30oeqa/runtime: space neededJon Mason
Messages are currently being printed as: Test requires dropbear, oropenssh-sshd to be installed but should be Test requires dropbear, or openssh-sshd to be installed Adding the space after the 'or' corrects this. (From OE-Core rev: f85c993bc4535dc42b89e87050d43c018c100f58) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 51596e0f8cebe1607ab64ffb018d51e815c0ee4b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30parselogs: ignore floppy error on qemu-system-x86 at boot stageYanfei Xu
We can disable floppy drive by BIOS on a hardware, but an empty floppy drive is connected by default on qemu-system-x86. Linux usually detect the device and modprode the matched floppy.ko at the boot stage. Due to we don't specify a floppy deivce in qemu boot arguments, then the errors about floppy reading comes out. It is harmless and normal, so we could ignore this error message on qemux86. Seen if kernel-modules is included in the image which pulls in the relavent kernel module. https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg01402.html (From OE-Core rev: 0e449143839f8de338b4a18fb27e8380d80e9b2f) Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3359f23ee9351c70997d5e0a17d17d1e47d59623) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30go: update SRC_URI to use https protocolwangmy
(From OE-Core rev: 3659a2dd7fc246f1f9e8b474ed45de5d18fd558f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2a1eb731ed3bcb049192550e362b771c3a9ea6eb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30mesa: upgrade 21.0.1 -> 21.0.2wangmy
(From OE-Core rev: c94987889ccf82746221574a41d7d27464254467) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 58ad359da1b05820ea3dc4ae3f789ccb8991fc32) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30systemd: Fix build on mips/muslKhem Raj
(From OE-Core rev: 84f452be1f6a4d1de276553815899c79a1f2cf63) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b4a0d8799af0a3d1b685dd7200b545fdb2c79d64) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30python3: Improve logging, syntax and update deprecated modules to ↵Alejandro Enedino Hernandez Samaniego
create_manifest The imp module has een deprecated by upstream python, drop its usage (imp.get_tag) in favor of sys.implementation.cache_tag. Avoid incorrectly getting dependencies for running script and multiprocessing module. Improve logging behavior of the create_manifest task: - Use indentation. - Logs on temp directory. - Use a proper debug flag. - Standarize syntax. (From OE-Core rev: 003d73d74791e5d7dcdeb4f29fc7b05e35b345ea) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a3ac339f5b8549a050308ba94c4ef9093f10e303) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30python3: Upgrade 3.9.2 -> 3.9.4Alejandro Enedino Hernandez Samaniego
- Rebased patch 0001-test_locale.py-correct-the-test-output-format Maintainer needs to sign CLA and resubmit - configure now explicitly requires autoconf-archive to be present (From OE-Core rev: 8c1473189f4439d2462130b3cface95dc251fe24) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 34cb8f2a2ed36ad929dca9055c96f2f843656b8f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30oeqa/runtime/cases: Only disable/enable for current bootWes Lindauer
Previously doing a stop/start worked, but using a disable/enable does not work on a read-only rootfs. Add a --runtime flag to systemctl so that systemd only modifies the current boot and does not attempt to write to the filesystem. This also keeps the test from making a permanent (one could argue policy) change to the running system being tested. i.e. What if the image being tested had intentionally disabled the timesyncd service in preference to using chrony or ntpd? The test shouldn't assume that the user wants the timesyncd service enabled. (From OE-Core rev: 49a6632aa789fca8085a91b5b7c749aef3db4e0e) Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 43dd83b6a325589368c980a3f17cab90935aaeb0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30oe-time-dd-test.sh: increase timeout to 15 secRandy MacLeod
With the previous timeout of 5 seconds, there would be builds such as: https://autobuilder.yocto.io/pub/non-release/20210417-13/ which produced 17 files with top output with top running 454 times and that's a bit too much data to analyze for each run. By increasing the timeout, we'll find the worse problems first, fix them and then we can decrease the timeout if needed. (From OE-Core rev: 4f9921db882ed06e0902d34ae06a0eabff4ba86e) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 92b29a09b4c442597d212337b785afb76129ac7c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30scripts/oe-debuginfod: correct several issuesAlexander Kanavin
Particularly: - nesting subprocess.run() inside subprocess.check_output() does not work at all. How was this tested? - -R and -U options can be combined; no need to separate the invocations based on packaging format - both exception handlers are unnecessary; we can simply print the hint if invocation did not succeed - to run debuginfod from its own sysroot, '-c addto_recipe_sysroot' for elfutils-native must be executed (From OE-Core rev: 77deac8501990ac8071eb11d4bec6aec4be948b7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9e57bf636ec63e74d56f1ac48b5a27c5b80f1877) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30ca-certificates: Fix openssl runtime cert dependenciesKhem Raj
With commit dc778c70449ee5401b5a24ad18b22b88338c47c5, dependency was moved to openssl-bin which in itself was a fine change, but dropping dependency on openssl too should have been kept along, dropping this meant that openssl binary wont be able to validate secure connections as the CApath files wont be installed, which infact are required for openssl bins to work, following call e.g. fails $ openssl s_client -connect google.com:443 .... New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384 Server public key is 256 bit Secure Renegotiation IS NOT supported Compression: NONE Expansion: NONE No ALPN negotiated Early data was not sent Verify return code: 20 (unable to get local issuer certificate) .... The local issuer certs are not found in default location /usr/lib/ssh-1.1/certs, this dir and its content is installed by openssl package therefore re-add the dependency on openssl (From OE-Core rev: 84afcdcb9d7ee24596bd3f8d808d30c9d558d918) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eaf377315efc73d6ffe361372a873918b3bb3bf5) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30nettle: upgrade 3.7.1 -> 3.7.2Trevor Gamblin
Version 3.7.2 includes a fix for CVE-2021-20305. (From OE-Core rev: 95f038986eb53c3e1ae1b5aac96e1f2b9a235e63) Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 29f0ef2e32a9b55d8271fde240a4469070d57729) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30linux-yocto/5.10: fix arm defconfig warningsBruce Ashfield
A recent fix to the kern-tools promoted some previously unseen issues to warnings. This commit fixes them by tagging some BT options as non-hardware so they won't generate warnings if they don't appear in the final .config. These are sub BT options and shouldn't warn when/if their controlling option is disabled by a fragment. 40a967b115f base: exclude some BT options as non-hardware (From OE-Core rev: 70515be581fef634a96a72a892dcff3ec4f890c0) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fc7875ce3c68a253f8b8e5d8855c1814731b5a45) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30linux-yocto/5.4: fix arm defconfig warningsBruce Ashfield
A recent fix to the kern-tools promoted some previously unseen issues to warnings. This commit fixes them by tagging some BT options as non-hardware so they won't generate warnings if they don't appear in the final .config. These are sub BT options and shouldn't warn when/if their controlling option is disabled by a fragment. d7fd0213b75 base: exclude some BT options as non-hardware (From OE-Core rev: 32495969b2b37c2cd4f334339c4a57066da23873) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a86c8251905baf5bf4714f3db01cdfae02383839) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30linux-yocto/5.4: update to v5.4.112Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 8f55ad4daf00 Linux 5.4.112 ea42fd91d304 Revert "cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath." 7ee5bde3164c net: ieee802154: stop dump llsec params for monitors b4042ecc12cb net: ieee802154: forbid monitor for del llsec seclevel e82f8b7713ab net: ieee802154: forbid monitor for set llsec params 948a2817f71d net: ieee802154: fix nl802154 del llsec devkey b3a105e15cd6 net: ieee802154: fix nl802154 add llsec key 4097afd93df7 net: ieee802154: fix nl802154 del llsec dev 7d32fc7964d6 net: ieee802154: fix nl802154 del llsec key 8f4c815c74f4 net: ieee802154: nl-mac: fix check on panid 38ea2b3ed00f net: mac802154: Fix general protection fault 6e7098f56c83 drivers: net: fix memory leak in peak_usb_create_dev 32e2f9a708e1 drivers: net: fix memory leak in atusb_probe 0a790ad1358b net: tun: set tun->dev->addr_len during TUNSETLINK processing ed13df88c6d5 cfg80211: remove WARN_ON() in cfg80211_sme_connect 628ac886dfba net: sched: bump refcount for new action in ACT replace mode 3dbafee8426f dt-bindings: net: ethernet-controller: fix typo in NVMEM f4c5968da773 clk: socfpga: fix iomem pointer cast on 64-bit 35ba6d9240ee RAS/CEC: Correct ce_add_elem()'s returned values f666ad4f8d87 RDMA/addr: Be strict with gid size 44d03319fe77 RDMA/cxgb4: check for ipv6 address properly while destroying listener 3ca5345db92c net/mlx5: Fix PBMC register mapping 798d94a274fb net/mlx5: Fix placement of log_max_flow_counter 9716aac17419 net: hns3: clear VF down state bit before request link status 9dd7092d1a96 openvswitch: fix send of uninitialized stack memory in ct limit reply 731abf396e37 net: openvswitch: conntrack: simplify the return expression of ovs_ct_limit_get_default_limit() d0aab59f0993 perf inject: Fix repipe usage d3343a35d108 s390/cpcmd: fix inline assembly register clobbering c88fa8d4f994 workqueue: Move the position of debug_work_activate() in __queue_work() 14060454cdb9 clk: fix invalid usage of list cursor in unregister bedda47d5dce clk: fix invalid usage of list cursor in register b3717885865c net: macb: restore cmp registers on resume path c61fe6b7e21f scsi: ufs: core: Fix wrong Task Tag used in task management request UPIUs 81fddc7be649 scsi: ufs: core: Fix task management request completion timeout f6abec1a3172 scsi: ufs: Use blk_{get,put}_request() to allocate and free TMFs a8d2d45c70c7 scsi: ufs: Avoid busy-waiting by eliminating tag conflicts c5efc9d26c84 scsi: ufs: Fix irq return code 537a2449cc6f net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...); de8c5962bdae drm/msm: Set drvdata to NULL when msm_drm_init() fails e22ce1d21b42 i40e: Fix display statistics for veb_tc 7c0d2372298f soc/fsl: qbman: fix conflicting alignment attributes c178e8a19937 net/rds: Fix a use after free in rds_message_map_pages 73f88cc2bf5c net/mlx5: Don't request more than supported EQs 029416e14be2 net/mlx5e: Fix ethtool indication of connector type 1f3010fc3fe6 ASoC: sunxi: sun4i-codec: fill ASoC card owner db4600aa938c net: phy: broadcom: Only advertise EEE for supported modes 6aa7d2621b19 nfp: flower: ignore duplicate merge hints from FW bbbee59f4f32 net/ncsi: Avoid channel_monitor hrtimer deadlock c66b672a231c ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces c991ca6a2c79 net:tipc: Fix a double free in tipc_sk_mcast_rcv 200c8453287f cxgb4: avoid collecting SGE_QBASE regs during traffic e9bdd3e45f0e gianfar: Handle error code at MAC address change 516c436ff5d6 can: bcm/raw: fix msg_namelen values depending on CAN_REQUIRED_SIZE ca443546f8d4 arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0 840a181729ac sch_red: fix off-by-one checks in red_check_params() accb27006595 amd-xgbe: Update DMA coherency values e472f6814ceb hostfs: fix memory handling in follow_link() 613f35568a5d hostfs: Use kasprintf() instead of fixed buffer formatting fec47d458add i40e: Fix kernel oops when i40e driver removes VF's c0aacaa0a8f2 i40e: Added Asym_Pause to supported link modes f819977ad42c xfrm: Fix NULL pointer dereference on policy lookup bac7e764e5d5 ASoC: wm8960: Fix wrong bclk and lrclk with pll enabled for some chips b32969aaed1c ASoC: SOF: Intel: HDA: fix core status verification 99b4e9af8f00 ASoC: SOF: Intel: hda: remove unnecessary parentheses 540ddeed5c51 esp: delete NETIF_F_SCTP_CRC bit from features for esp offload a128e07b472b net: xfrm: Localize sequence counter per network namespace 34659399e713 regulator: bd9571mwv: Fix AVS and DVFS voltage range d78e99dd4960 xfrm: interface: fix ipv4 pmtu check to honor ip header df 7977d5fe3d5b net: dsa: lantiq_gswip: Configure all remaining GSWIP_MII_CFG bits 249908ed36a8 net: dsa: lantiq_gswip: Don't use PHY auto polling 910e785ba8de virtio_net: Add XDP meta data support 0534f1f1bc76 i2c: turn recovery error on init to debug cafced041915 usbip: synchronize event handler with sysfs code paths 37168011d427 usbip: vudc synchronize sysfs code paths 06fedcc6870e usbip: stub-dev synchronize sysfs code paths 6a435364b608 usbip: add sysfs_lock to synchronize sysfs code paths b02bded94b91 net: let skb_orphan_partial wake-up waiters. fd8a95d56050 net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind() b5e7653ffdd1 net: hsr: Reset MAC header for Tx path a9311be5f617 mac80211: fix TXQ AC confusion 5a4f39f19e6f net: sched: sch_teql: fix null-pointer dereference 2f5edf14f62a i40e: Fix sparse error: 'vsi->netdev' could be null b31d91e9e8c8 i40e: Fix sparse warning: missing error code 'err' 599200ad44e7 net: ensure mac header is set in virtio_net_hdr_to_skb() 158a9b815c54 bpf, sockmap: Fix sk->prot unhash op reset 0242251d6a97 ethernet/netronome/nfp: Fix a use after free in nfp_bpf_ctrl_msg_rx 4a2933c88399 net: hso: fix null-ptr-deref during tty device unregistration ef2ccf84071f ice: Cleanup fltr list in case of allocation issues 0df579b3de8c ice: Fix for dereference of NULL pointer 1aecc5781101 ice: Increase control queue timeout 9de1caa1103f batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field 79407ae3475e ARM: dts: turris-omnia: configure LED[2]/INTn pin as interrupt pin 9dfd74a8c015 parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers 957d0308aa36 parisc: parisc-agp requires SBA IOMMU driver 507c2009dc4c fs: direct-io: fix missing sdio->boundary f495bedb001b ocfs2: fix deadlock between setattr and dio_end_io_write 52999a66c0b3 nds32: flush_dcache_page: use page_mapping_file to avoid races with swapoff 75fd54ea1b60 ia64: fix user_stack_pointer() for ptrace() 7a92396bf8dd gcov: re-fix clang-11+ support c2b3cf2c70d6 drm/i915: Fix invalid access to ACPI _DSM objects 0e8f850e26b2 net: dsa: lantiq_gswip: Let GSWIP automatically set the xMII clock 6649b5eda131 net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh a09acbb53934 xen/evtchn: Change irq_info lock to raw_spinlock_t aa0cff2e0751 nfc: Avoid endless loops caused by repeated llcp_sock_connect() 404daa4d62a3 nfc: fix memory leak in llcp_sock_connect() 41bc58ba0945 nfc: fix refcount leak in llcp_sock_connect() c89903c9eff2 nfc: fix refcount leak in llcp_sock_bind() 12289d9840d6 ASoC: intel: atom: Stop advertising non working S24LE support c99780f782aa ALSA: hda/realtek: Fix speaker amp setup on Acer Aspire E1 da8f3cc5771e ALSA: aloop: Fix initialization of controls 8732c2df9d15 counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register (From OE-Core rev: 6277683a2b42e981d5e9dc566c8c48db72038c74) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit bd41c1b7170b4d27bebac0a4387cad070c41e03d) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30linux-yocto-rt/5.10: update to -rt34Bruce Ashfield
Integrating the following commit(s) to linux-yocto/5.10: ac98a75ef2bc net/xfrm: fixup 5.10.30 -stable merge (From OE-Core rev: a55ddf4892af79b900a1f5adf0a95f39023a878d) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2e7dd8afd0dbe7803170006297309b6699b98f34) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30linux-yocto/5.10: update to v5.10.30Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 1e798745fa8e Linux 5.10.30 b451aed56348 Revert "net: sched: bump refcount for new action in ACT replace mode" a22115c3492f net: ieee802154: stop dump llsec params for monitors f872fb3feadd net: ieee802154: forbid monitor for del llsec seclevel a933bcbb1f7f net: ieee802154: forbid monitor for set llsec params 0238c7b47f77 net: ieee802154: fix nl802154 del llsec devkey d06a96e72803 net: ieee802154: fix nl802154 add llsec key 399f38c420ee net: ieee802154: fix nl802154 del llsec dev 07699fcce052 net: ieee802154: fix nl802154 del llsec key 8bfb45fa131d net: ieee802154: nl-mac: fix check on panid 38731bbcd9f0 net: mac802154: Fix general protection fault 9f51a42d81f6 drivers: net: fix memory leak in peak_usb_create_dev 160ac0d55d52 drivers: net: fix memory leak in atusb_probe 4d9117b7404a net: tun: set tun->dev->addr_len during TUNSETLINK processing 26ab092615f5 cfg80211: remove WARN_ON() in cfg80211_sme_connect 138a6e1dc35e gpiolib: Read "gpio-line-names" from a firmware node 300368c59cf0 net: sched: bump refcount for new action in ACT replace mode 982dd14fba0f dt-bindings: net: ethernet-controller: fix typo in NVMEM c65a000a236e lockdep: Address clang -Wformat warning printing for %hd 4c4aa344edf4 clk: socfpga: fix iomem pointer cast on 64-bit 674ddb52f94b RAS/CEC: Correct ce_add_elem()'s returned values 253acf2e983b vdpa/mlx5: Fix wrong use of bit numbers 0ddb34c2ccce vdpa/mlx5: should exclude header length and fcs from mtu 5700c3d4abb2 RDMA/addr: Be strict with gid size e53ff6e59144 i40e: Fix parameters in aq_get_phy_register() 999852207464 drm/vc4: crtc: Reduce PV fifo threshold on hvs4 d8a0861e269d RDMA/qedr: Fix kernel panic when trying to access recv_cq 3fa7ae3f3754 perf report: Fix wrong LBR block sorting 7f40e9332898 RDMA/cxgb4: check for ipv6 address properly while destroying listener 03ad6a2521a0 net/mlx5: Fix PBMC register mapping 1312f11eb33d net/mlx5: Fix PPLM register mapping f92faf0bdd25 net/mlx5: Fix placement of log_max_flow_counter f780a0808827 net: hns3: clear VF down state bit before request link status f473789db536 tipc: increment the tmp aead refcnt before attaching it 3292c4fc9ce2 can: mcp251x: fix support for half duplex SPI host controllers a96f1ed70927 iwlwifi: fix 11ax disabled bit in the regulatory capability flags 363d610a9652 i2c: designware: Adjust bus_freq_hz when refuse high speed mode set cc5418973cc9 openvswitch: fix send of uninitialized stack memory in ct limit reply 3e288c3a7d55 net: openvswitch: conntrack: simplify the return expression of ovs_ct_limit_get_default_limit() 3b70c6f26364 perf inject: Fix repipe usage d9dc1b406cb9 s390/cpcmd: fix inline assembly register clobbering 7943f749f0d2 workqueue: Move the position of debug_work_activate() in __queue_work() b3f29ed5dd4b clk: fix invalid usage of list cursor in unregister 2307baac56af clk: fix invalid usage of list cursor in register d9c55b2d3368 net: macb: restore cmp registers on resume path af36da5becfb net: cls_api: Fix uninitialised struct field bo->unlocked_driver_cb ffd5f1e87c15 scsi: ufs: core: Fix wrong Task Tag used in task management request UPIUs ff9231ddfec8 scsi: ufs: core: Fix task management request completion timeout 71ee255d0698 mptcp: forbit mcast-related sockopt on MPTCP sockets 24bbfe89b1c7 net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...); a08d5d3bec53 drm/msm: Set drvdata to NULL when msm_drm_init() fails 7290bf419894 RDMA/rtrs-clt: Close rtrs client conn before destroying rtrs clt session files 49cfa2b20193 i40e: Fix display statistics for veb_tc e8c96b57a781 soc/fsl: qbman: fix conflicting alignment attributes 553290002aa8 xdp: fix xdp_return_frame() kernel BUG throw for page_pool memory model 4cfae7b23889 net/rds: Fix a use after free in rds_message_map_pages 05bbe9d85a4c net/mlx5: Don't request more than supported EQs 86530effd18f net/mlx5e: Fix ethtool indication of connector type bde64eac2379 net/mlx5e: Fix mapping of ct_label zero d65b66ca3334 ASoC: sunxi: sun4i-codec: fill ASoC card owner dcdf0876b040 I2C: JZ4780: Fix bug for Ingenic X1000. f295dfc831bc net: phy: broadcom: Only advertise EEE for supported modes 7a896e189361 nfp: flower: ignore duplicate merge hints from FW 6af631d1caf2 net: qrtr: Fix memory leak on qrtr_tx_wait failure dfe7805e6aa6 net/ncsi: Avoid channel_monitor hrtimer deadlock ae4a8d10ac8b ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces e5e5ecc9d9fd net:tipc: Fix a double free in tipc_sk_mcast_rcv f273e3726e14 cxgb4: avoid collecting SGE_QBASE regs during traffic 63a64c366ce0 net: dsa: Fix type was not set for devlink port ed613d96842e gianfar: Handle error code at MAC address change 1eb5f4e00755 ethernet: myri10ge: Fix a use after free in myri10ge_sw_tso 759b44d247c6 mlxsw: spectrum: Fix ECN marking in tunnel decapsulation d02b68a92905 can: isotp: fix msg_namelen values depending on CAN_REQUIRED_SIZE 1d3837ca7335 can: bcm/raw: fix msg_namelen values depending on CAN_REQUIRED_SIZE 58f8f1074039 xfrm: Provide private skb extensions for segmented and hw offloaded ESP packets bc0b89a9a28f arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0 d9670f5e77e5 drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit d38bce5adcd9 sch_red: fix off-by-one checks in red_check_params() 985c9bb1b594 geneve: do not modify the shared tunnel info when PMTU triggers an ICMP reply f3bc1885746f vxlan: do not modify the shared tunnel info when PMTU triggers an ICMP reply f33f79703a4e amd-xgbe: Update DMA coherency values e5a3449ce16a hostfs: fix memory handling in follow_link() 3cc4db1213a4 i40e: Fix kernel oops when i40e driver removes VF's 9856607c9c29 i40e: Added Asym_Pause to supported link modes d4d4c6a4ca7c virtchnl: Fix layout of RSS structures 95d58bf5ed43 xfrm: Fix NULL pointer dereference on policy lookup 48a443026bb6 ASoC: wm8960: Fix wrong bclk and lrclk with pll enabled for some chips f6db9dbfa6b6 ASoC: SOF: Intel: HDA: fix core status verification ef4ddd1d6d93 esp: delete NETIF_F_SCTP_CRC bit from features for esp offload 0224432a8fc1 net: xfrm: Localize sequence counter per network namespace 1e6a3b41cf2a ARM: OMAP4: PM: update ROM return address for OSWR and OFF 042b2cad81de ARM: OMAP4: Fix PMIC voltage domains for bionic 1f51cb88e788 regulator: bd9571mwv: Fix AVS and DVFS voltage range b267688ce007 remoteproc: qcom: pil_info: avoid 64-bit division c7a175a24b0e xfrm: Use actual socket sk instead of skb socket for xfrm_output_resume 3b74ce529ece xfrm: interface: fix ipv4 pmtu check to honor ip header df 2d62d6980c2b ice: Recognize 860 as iSCSI port in CEE mode fd92e7aacc16 ice: Refactor DCB related variables out of the ice_port_info struct 4a78ae127803 net: sched: fix err handler in tcf_action_init() 3c7d3d188ca7 KVM: x86/mmu: preserve pending TLB flush across calls to kvm_tdp_mmu_zap_sp 25fc773b21ce KVM: x86/mmu: Don't allow TDP MMU to yield when recovering NX pages be2c527b5d39 KVM: x86/mmu: Ensure TLBs are flushed for TDP MMU during NX zapping 0aa4dd9e5132 KVM: x86/mmu: Ensure TLBs are flushed when yielding during GFN range zap 3c7a18440638 KVM: x86/mmu: Yield in TDU MMU iter even if no SPTES changed 85f4ff2b06af KVM: x86/mmu: Ensure forward progress when yielding in TDP MMU iter 1cd17c5c9b8a KVM: x86/mmu: Rename goal_gfn to next_last_level_gfn b4a3a0d27924 KVM: x86/mmu: Merge flush and non-flush tdp_mmu_iter_cond_resched 8f90432d7f59 KVM: x86/mmu: change TDP MMU yield function returns to match cond_resched 5ea9e6038d29 i2c: turn recovery error on init to debug efa869b68be9 percpu: make pcpu_nr_empty_pop_pages per chunk type c441949184a9 scsi: target: iscsi: Fix zero tag inside a trace event d8e7fa8509d7 scsi: pm80xx: Fix chip initialization failure 0c47d8a55f7f driver core: Fix locking bug in deferred_probe_timeout_work_func() f06cb4641b15 usbip: synchronize event handler with sysfs code paths 28dc9237fe83 usbip: vudc synchronize sysfs code paths 513765b186c9 usbip: stub-dev synchronize sysfs code paths 68be610c19a5 usbip: add sysfs_lock to synchronize sysfs code paths 126ce97d39cf thunderbolt: Fix off by one in tb_port_find_retimer() 256ece954961 thunderbolt: Fix a leak in tb_retimer_add() b830650c1a0c net: let skb_orphan_partial wake-up waiters. 5d9216b85100 net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind() b82816d77875 net: hsr: Reset MAC header for Tx path 9b9c910ccc19 mac80211: fix TXQ AC confusion cc357c29358d mac80211: fix time-is-after bug in mlme cc1a702e6ec0 cfg80211: check S1G beacon compat element length fea52345f422 nl80211: fix potential leak of ACL params 42e4450e3790 nl80211: fix beacon head validation 81692c6add7e net: sched: fix action overwrite reference counting cdcf3829f418 net: sched: sch_teql: fix null-pointer dereference 422eda625516 vdpa/mlx5: Fix suspend/resume index restoration 89e406e95278 i40e: Fix sparse errors in i40e_txrx.c 12e1438a0946 i40e: Fix sparse error: uninitialized symbol 'ring' 2472ba1c46b4 i40e: Fix sparse error: 'vsi->netdev' could be null 792387118204 i40e: Fix sparse warning: missing error code 'err' f0b4c9acf5fe net: ensure mac header is set in virtio_net_hdr_to_skb() 72c5de25ba83 bpf, sockmap: Fix incorrect fwd_alloc accounting 00c01de1a994 bpf, sockmap: Fix sk->prot unhash op reset d921baabd964 bpf: Refcount task stack in bpf_get_task_stack caef7806141a libbpf: Only create rx and tx XDP rings when necessary 4cc9177b099e libbpf: Restore umem state after socket create failure 5aa7df172207 libbpf: Ensure umem pointer is non-NULL before dereferencing b52e88638f71 ethernet/netronome/nfp: Fix a use after free in nfp_bpf_ctrl_msg_rx d86046a77535 bpf: link: Refuse non-O_RDWR flags in BPF_OBJ_GET b7004ecafade bpf: Enforce that struct_ops programs be GPL-only 3015db3de715 libbpf: Fix bail out from 'ringbuf_process_ring()' on error dc195928d7e4 net: hso: fix null-ptr-deref during tty device unregistration c2743e0a631c ice: fix memory leak of aRFS after resuming from suspend 6bd4e822925d iwlwifi: pcie: properly set LTR workarounds on 22000 devices e5386e87f8aa ice: Cleanup fltr list in case of allocation issues 9d1c342c5018 ice: Use port number instead of PF ID for WoL b69686110291 ice: Fix for dereference of NULL pointer 4d73a6143d40 ice: remove DCBNL_DEVRESET bit from PF state 286830a8469c ice: fix memory allocation call 4686a26e9536 ice: prevent ice_open and ice_stop during reset ef7ed8c77d1c ice: Increase control queue timeout 6590b7bfbc2b ice: Continue probe on link/PHY errors 9a7bc0c40367 batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field d1173effc574 ARM: dts: turris-omnia: configure LED[2]/INTn pin as interrupt pin 4941889535f3 parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers 597121792eb4 parisc: parisc-agp requires SBA IOMMU driver 9b54dad28def of: property: fw_devlink: do not link ".*,nr-gpios" 009c5665278b ethtool: fix incorrect datatype in set_eee ops 3a675c1b507f fs: direct-io: fix missing sdio->boundary b1a5122554ae ocfs2: fix deadlock between setattr and dio_end_io_write 4fabcf229477 nds32: flush_dcache_page: use page_mapping_file to avoid races with swapoff 7d9da660affc ia64: fix user_stack_pointer() for ptrace() 8e5bfafedf6d gcov: re-fix clang-11+ support 43908139368e LOOKUP_MOUNTPOINT: we are cleaning "jumped" flag too late de427b662bfb IB/hfi1: Fix probe time panic when AIP is enabled with a buggy BIOS 856f60e3e800 ACPI: processor: Fix build when CONFIG_ACPI_PROCESSOR=m 8599a39adca8 drm/i915: Fix invalid access to ACPI _DSM objects bf991df9535e net: dsa: lantiq_gswip: Configure all remaining GSWIP_MII_CFG bits c4ae852ec940 net: dsa: lantiq_gswip: Don't use PHY auto polling ba39959bfebd net: dsa: lantiq_gswip: Let GSWIP automatically set the xMII clock 40375bc3d0f9 net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh 005c5afa9f85 xen/evtchn: Change irq_info lock to raw_spinlock_t a28124e8ad03 selinux: fix race between old and new sidtab fd75d73aa214 selinux: fix cond_list corruption when changing booleans 4f29b08e238f selinux: make nslot handling in avtab more robust a12a2fa9a129 nfc: Avoid endless loops caused by repeated llcp_sock_connect() 568ac94df580 nfc: fix memory leak in llcp_sock_connect() 99b596199e84 nfc: fix refcount leak in llcp_sock_connect() 6fb003e5ae18 nfc: fix refcount leak in llcp_sock_bind() 117557711974 ASoC: intel: atom: Stop advertising non working S24LE support c4a6fb0e8389 ALSA: hda/conexant: Apply quirk for another HP ZBook G5 model 6c9119de7ffe ALSA: hda/realtek: Fix speaker amp setup on Acer Aspire E1 6efe4c1f4d17 ALSA: aloop: Fix initialization of controls 4c933ff31f21 xfrm/compat: Cleanup WARN()s that can be user-triggered (From OE-Core rev: ccbfd33bea75460cc97ffaeea78972ca3b6bd395) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit aec9a6d709f14decd65013434f13a26c57e9196f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>