summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-07-26gnupg: update 2.3.4 -> 2.3.6Alexander Kanavin
Remove 0003-dirmngr-uses-libgpg-error.patch (upstream addressed the issue). Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Yue Tao <yue.tao@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-26bind: upgrade 9.18.3 -> 9.18.4wangmy
Changelog: ========== [func] Don't try to process DNSSEC-related and ZONEMD records in catz. [GL #3380] [func] Add some more dnssec-policy checks to detect weird policies. [GL #1611] [test] Add new set of unit test macros and move the unit tests under single namespace in /tests/. [GL !6243] [func] Key timing options for 'dnssec-settime' and related utilities now accept "UNSET" times as printed by 'dnssec-settime -p'. [GL #3361] [bug] When the fetches-per-server quota was adjusted because of an authoritative server timing out more or less frequently, it was incorrectly set to 1 rather than the intended value. This has been fixed. [GL #3327] [bug] Only write key files if the dnssec-policy keymgr has changed the metadata. [GL #3302] [func] Key timing options for 'dnssec-keygen' and 'dnssec-settime' now accept times as printed by 'dnssec-settime -p'. [GL !2947] Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d5a12d549209f01324d03963db96449ee43452eb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-26bind: upgrade 9.18.2 -> 9.18.3wangmy
Changelog: ========== [security] Fix a crash in DNS-over-HTTPS (DoH) code caused by premature TLS stream socket object deletion. (CVE-2022-1183) [GL #3216] [bug] RPZ NSIP and NSDNAME rule processing didn't handle stub and static-stub zones at or above the query name. This has now been addressed. [GL #3232] Fixed a deadlock that could occur if an rndc connection arrived during the shutdown of network interfaces. [GL #3272] Refactor the fctx_done() function to set fctx to NULL after detaching, so that reference counting errors will be easier to avoid. [GL #2969] udp_recv() in dispatch could trigger an INSIST when the callback's result indicated success but the response was canceled in the meantime. [GL #3300] Work around a jemalloc quirk which could trigger an out-of-memory condition in named over time. [GL #3287] If there was a pending negative cache DS entry, validations depending upon it could fail. [GL #3279] dig returned a 0 exit status on UDP connection failure. [GL #3235] Fix an assertion failure when using dig with +nssearch and +tcp options by starting the next query in the send_done() callback (like in the UDP mode) instead of doing that recursively in start_tcp(). Also ensure that queries interrupted while connecting are detached properly. [GL #3144] Don't remove CDS/CDNSKEY DELETE records on zone sign when using 'auto-dnssec maintain;'. [GL #2931] [contrib] Avoid name space collision in dlz modules by prefixing functions with 'dlz_'. [GL !5778] dlz: Add FALLTHROUGH and UNREACHABLE macros. [GL #3306] [func] Add new named command-line option -C to print built-in defaults. [GL #1326] Introduce the concept of broken catalog zones described in the DNS catalog zones draft version 5 document. [GL #3224] Add DNS Extended Errors when stale answers are returned from cache. [GL #2267] Implement support for catalog zones change of ownership (coo) mechanism described in the DNS catalog zones draft version 5 document. [GL #3223] Implement support for catalog zones options new syntax based on catalog zones custom properties with "ext" suffix described in the DNS catalog zones draft version 5 document. [GL #3222] Implement reference counting for TLS contexts and allow reloading of TLS certificates on reconfiguration without destroying the underlying TCP listener sockets for TLS-based DNS transports. [GL #3122] Add support for remote TLS certificates verification, both to BIND and dig, making it possible to implement Strict and Mutual TLS authentication, as described in RFC 9103, Section 9.3. [GL #3163] [cleanup] Remove use of exclusive mode in ns_interfacemgr in favor of rwlocked access to localhost and localnets members of dns_aclenv_t structure. [GL #3229] Remove the task exclusive mode use in ns_clientmgr. [GL #3230] Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d2ae8b85c71be2e9e332b1ef0a2d3083b30c63e6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-26dpkg: fix CVE-2022-1664Sakib Sajal
Backport patch to fix CVE-2022-1664. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-23tiff: Security fixes CVE-2022-1354 and CVE-2022-1355Yi Zhao
References: https://nvd.nist.gov/vuln/detail/CVE-2022-1354 https://security-tracker.debian.org/tracker/CVE-2022-1354 https://nvd.nist.gov/vuln/detail/CVE-2022-1355 https://security-tracker.debian.org/tracker/CVE-2022-1355 Patches from: CVE-2022-1354: https://gitlab.com/libtiff/libtiff/-/commit/87f580f39011109b3bb5f6eca13fac543a542798 CVE-2022-1355: https://gitlab.com/libtiff/libtiff/-/commit/c1ae29f9ebacd29b7c3e0c7db671af7db3584bc2 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-23lua: Backport fix for CVE-2022-33099Khem Raj
Fixes stack overflow while handling recurring errors in Lua-stack Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit caad9d5f7184f0fa60fa7770e5d3da3f533647cb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17pulseaudio: add m4-native to DEPENDSRoss Burton
Normally m4-native ends up in the sysroot via the toolchain, but if a non-standard toolchain is used them m4-native may not be installed. However Pulseaudio explicitly checks for m4 in the meson.build, so add it to DEPENDS. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ddf846635783923d43520c9dd6f63ca59ed6e3b8) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17externalsrc.bbclass: support crate fetcher on externalsrcChanho Park
To support crate:// fetcher on externalsrc, we need to make pass-through the URIs in SRC_URI. Signed-off-by: Chanho Park <chanho61.park@samsung.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Pastrick <ripastri@linux.microsoft.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17cargo_common.bbclass: enable bitbake vendoring for externalsrcChanho Park
To support crate:// fetcher on externalsrc, we need to remove "-z ${EXTERNALSRC} check of bitbake vendoring. It is possible to disable vendoring by CARGO_DISABLE_BITBAKE_VENDORING = "1" if externalsrc-ed project does not want to enablt it. Signed-off-by: Chanho Park <chanho61.park@samsung.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Pastrick <ripastri@linux.microsoft.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17selftest/runtime_test/virgl: Disable for all almalinuxRichard Purdie
We can't support vgem on RHEL derived distros so disable this test for all almalinux hosts rather than specific versions. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e921f3c1b917072e4c5a110c7dfeeadd2e571bde) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17gcc-runtime: Fix missing MLPREFIX in debug mappingsRichard Purdie
This fixes reproducibility issues with multilibs were a different recipe specific sysroot is used which was leaking into debug symbols in libraries. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f442edf51e256bd315bd8e4ac4d9fa12b8e9e092) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17gcc-runtime: Fix build when using goldRichard Purdie
If gold is enabled as the default linker, it errors trying to link to our dummy library empty file and this turns off things which should be present in libstdc++. For example, _GLIBCXX_HAVE_S_ISREG isn't defined and HAVE_S_ISREG in libstdc++-v3/config.h isn't set properly. Instead of just creating an empty file, create an empty elf binary instead which addresses the issue. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2070bcd10aa3a05c96c8501c6a8c1e129fb1d440) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17oe-selftest: devtool: test modify git recipe building from a subdirPaul Eggleton
Add a test that verifies that devtool modify + devtool finish do the right thing on a recipe that fetches from git and sets S to point to a subdirectory of the source tree. We have a few examples among the core recipes, dos2unix is a convenient one so let's use that. (The test first verifies that that is still true in case the recipe is changed in future.) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a84d9ed14173b0bf467ea78dff4f0f7bae0bc082) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17devtool: finish: handle patching when S points to subdir of a git repoPaul Eggleton
If devtool finish needs to create a patch and have it applied to the sources for a recipe where S points to a subdirectory of the sources, then the patch needs to be applied at the root of the repo i.e. we need to add a patchdir= parameter to the SRC_URI entry. Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ad3736d9ca14cac14a7da22c1cfdeda219665e6f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17patch: handle if S points to a subdirectory of a git repoPaul Eggleton
If PATCHTOOL = "git", SRC_URI fetches from a git repo and S points to a subdirectory of the checked out sources, then we were erroneously initialising the subdirectory as its own git repo. Check if the returned top-level repo directory is a subdirectory of WORKDIR and do not run initialise the source directory if that is the case. (This was a regression introduced with OE-Core revision 6184b56a7a0fc6f5d19fdfb81e7453667f7da940, however we didn't have a test that verified the behaviour.) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9cca53a2bcbf6809615ce5626c86c6ee481a7a76) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17bin_package: install into base_prefixPascal Bach
This makes the bin_package.bbclass work properly with the native class. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ad330b6d4b6e2ba051b5c6c437e07a183831f757) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17devtool: ignore pn- overrides when determining SRC_URI overridesPaul Eggleton
If (perhaps foolishly) at your configuration level you have e.g. SRC_URI_append_pn-recipename = " file://patchname.patch" and then run devtool modify on a different recipe, an error occurs: INFO: SRC_URI contains some conditional appends/prepends - will create branches to represent these ... ERROR: [Errno 2] No such file or directory: '/path/to/downloads/patchname.patch' pn- overrides would not constitute an alternative configuration that we should handle in this context, so just ignore them to avoid the issue. Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3f2a812ade42ece0bb59b2d303125a91b29936dd) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17kernel-arch: Fix buildpaths leaking into external module compilesRichard Purdie
Building external kernel modules like lttng-modules was showing build paths inside the debug symbols for the modules and breaking build reproducibility. Fix this by adding in the mapping needed to map the kernel build directory to something more approriate on target. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b56dc9009ba93174de6bf4c01e17808ef249dc5c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17alsa-state: correct licensePeter Marko
* add GPL license because of alsa-state-init file * gpl link points to gpl3, but at time of adding this file was actually pointing to gpl2, so should correspond to SPDX GPL-2.0-or-later * remove date as the file was already changed several times since then Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ca73ff0d9930d545ce8cb8a62e259c0b43310f99) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17perl: don't install Makefile.old into perl-ptestRoss Burton
We already exclude Makefile, makefile, and makefile.old from copy of the perl source tree that is used by perl-ptest, but Makefile.old is not being excluded. In a rebuild of perl with an existing source tree these files now exist but have build paths in. As they're backup files, they can just be excluded from the packages. Use range globs to clean up the expressions, and exclude Makefile.old. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 30a99affca7930f7fe0ddeb016b6183240b5f13c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17gtk-doc: Remove hardcoded buildpathRichard Purdie
When api-documentation is enabled, we see a hardcoded build path to xsltproc in the target python configuration file. We curate PATH carefully so we don't need the path there, tweak configure to remove it and solve the issue. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f7924a85de548f9403d561b15c1f2c33d9912393) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17libmodule-build-perl: Use env utility to find perl interpreterKhem Raj
Fixes ERROR: QA Issue: : /work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/sysroot-destdir/work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/recipe-sysroot-native/usr/bin/config_data maximum shebang size exceeded, the maximum size is 128. [shebang-size] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 54ecb2d3f2523293383103cbe590ebdd037ee483) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17vala: Fix on target wrapper buildpaths issueRichard Purdie
The on target wrapper contains paths from the host build. Remove them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 10980ae59f18679413f2d3fd428a9386e4d6fc3a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17lua: Fix multilib buildpath reproducibility issuesRichard Purdie
The .pc we install ourselves for lua has hardcoded /lib assumptions in it which means in a multilib environment, full build paths end up in users like rpm's configuration. Fix the .pc file to use a correct includedir and libdir to resolve those reproducibility issues. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 93bee5c74b8d181adf93de4b4101e25d24780603) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17waffle: correctly request wayland-scanner executableAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cd05e2543bde4175da67781ec6f3eebc143d95d0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17insane: Fix buildpaths test to work with special devicesRichard Purdie
If enabled, the buildpaths test hangs in psplash as it tries to open a fifo and read from it, hanging indefinitely. Tweak the test to ignore fifo/socket/device files. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2567edb7e0a8c5ca9a88d6940491bf33bfe0eff9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17package.bbclass: Fix kernel source handling when not using externalsrcAlejandro Hernandez Samaniego
Previous commit c725bdb29b266 broke kernel source handling, this was due to the code expecting the sources to be in a different directory, this did not happen when using externalsrc since sources were found in the expected directories. Pass work-shared to the check to allow sources to be found in the proper directory, allowing these to be packaged in the next step. To test this we grabbed a commit where we knew the buildpaths QA test should flag a file inside the kernel sources, with the previous commit the QA warning wasnt flagged since no sources where there, with this fix the buildpaths QA warning gets flagged properly. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2714a8ef8c7b3c66d50f27f4f52fe2fe4db39b00) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17package.bbclass: Avoid stripping signed kernel modules in splitdebuginfoChristoph Lauer
Since commit d756b346f248df47b0540644adb1d0f17bcc4b6e kernel modules are stripped by the functions 'runstrip' and 'splitdebuginfo'. Signed modules must not be stripped. Function 'runstrip' avoids this by running is_kernel_module_signed. Apply the same check to splitdebuginfo. (From OE-Core rev: 6859226652339b19cbc7bdfec074fe2016cdee60) Signed-off-by: Christoph Lauer <christoph.lauer@xtronic.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dc0f0413eabfd50f78d887f73f808d40a314fbd8) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17package.bbclass: Fix base directory for debugsource files when using externalsrcAlejandro Hernandez Samaniego
While executing do_package, bitbake checks for a list of debug source files and uses a pattern to match the ones to be included in copydebugsources. Previously when externalsrc was in use either directly or by using devtool, the source location changed and this pattern no longer matched, hence debug source files failed to be included in the corresponding package. Check when the source directory isnt the default (based on WORKDIR), and change the pattern used to match debug source files if that is the case, allowing us to perform do_package properly. Workaround debugsource.list containing paths from the host by moving debug source files away from the host directory structure to avoid host contamination (this seems to happen when packages use $TMPDIR/work-shared and externalsrc is in use). Test matrix included using: - devtool to use externalsrc automatically - externalsrc with a non-devtool based source directory - No externalsrc at all Tested the following packages to be working: - glibc ($TMPDIR/work-shared based) - libxcrypt ($TMPDIR/work based) [YOCTO 8015] Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a887bd96fd0a15398e8077ea79df5070971866e4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17python3: Backport patch to fix an issue in subinterpretersMarkus Volk
This adds a backport patch that fixes a problem in subinterpreters related to the garbagecollector. Without the patch, there are random segfaults in several Kodi addons that use python3-sqlite3. Presumably there are real world issues in other programs as well. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17udev-extraconf:mount.sh: fix path mismatching issuesMing Liu
Since commit f077befd5f36ad88623aaf6a38b1a837ecb18650: [ udev-extraconf: let automount base directory configurable ] the mount base directory was configurable, we need drop 'run-media' usage as well, change to figure it out from MOUNT_BASE. Also 'get_label_name' function needs to be called ealier in automount_systemd before checking '/tmp/.automount-$name', otherwise they would never match. (From OE-Core rev: c013b33162546fb5bd4bcc1daac75aa65d0be1a3) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7ed210054b3e253d5a67075bb9d4768d1661bef1) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17udev-extraconf: fix some systemd automount issuesMing Liu
The '.include' syntax has been dropped from latest systemd releases, we need drop the systemd-udevd.service here, introduce a postinst function to add "MountFlags=shared" to systemd-udevd.service. Also lsblk binary is being called in mount.sh automount_systemd function, add it to RDEPENDS. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 356520d60b9429c6f62124821e42468ff2b7b1d6) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17udev-extraconf/mount.sh: ignore lvm in automountMuhammad Hamza
Failure message is shown in boot logs when trying to mount lvm as automounter does not handle cases where lvm is mounted. This simply skips lvm while automounting to avoid failure message in boot logs. Signed-off-by: Ansar Rasool <ansar_rasool@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit b1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17udev-extraconf: force systemd-udevd to use shared MountFlagsMuhammad Hamza
Automounting does not work cleanly in case systemd as well as udev rules are being used simultaneously and in most cases race conditions and unknown behavior can come up. In case we're running on top of systemd we need to make sure that systemd-udevd knows that udev is in play as well and mounting should be done using shared flags. Also as we're using mount from sources other than systemd-mount in current scripts this is the most manageable fix to automounting problems. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 1e770416b4c9a0468404fb64d55114d93e84763b) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17udev-extraconf/mount.sh: only mount devices on hotplugMuhammad Hamza
fdisk from util-linux (2.31.1) and above allows the user to manipulate an already mounted device. In order to achieve this functionality it issues a BLKRRPART (block device re-read part) ioctl and in response the kernel generates remove/change/add events if the device is not mounted (manually unmounted etc) which are caught and processed by udev. This causes our auto-mounter to remount everything because it does not keep track and things go out of control. Differentiating between types of remove events such as the one described above (generated by BLKRRPART) and one where the device is physically plugged out is only possible using the DEVPATH variable which is cleaned up only when the device is actually plugged-out. This fixes the above anomaly by only mounting a device in add event which is cleaned up properly (tmp cache deleted) in the remove event or is not present in the tmp cache while making use of the DEVPATH variable during the remove action. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 11a5e6c17535438ea1e7a8403ed260c8b3a22bc8) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17udev-extraconf/mount.sh: save mount name in our tmp filecacheMuhammad Hamza
Doing this will allow to fetch the exact name created by the auto-mounter during the remove action where depending on the scenario utilities such as the blkid might not be usable due to actual device not being present on the system. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 496b76f8775a620c1d449eb6f62a41656abf2a9b) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17udev-extraconf/mount.sh: add LABELs to mountpointsMuhammad Hamza
This alters the mountpoints such that if a device has a LABEL or a PARTLABEL, it will be mounted at e.g.: /run/media/$LABEL-<device-node> /run/media/$PARTLABEL-<device-node> /run/media/rootfs-sda2 otherwise the device will be mounted at e.g.: /run/media/<device-node> /run/media/sda1 The <device-node> appended with LABEL or PARTLABEL makes sure that the mountpoint is unique, therefore, avoids overlapping mounts. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit a9a0a0967832445f1bcc65d58f95343d1b562e1b) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17udev-extraconf: let automount base directory configurableMing Liu
Dont hard-code automount base directory to '/run/media', introduce a variable MOUNT_BASE to let it configurable, like in udisks2 the mount base is also configurable by setting option: --enable-fhs-media. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f077befd5f36ad88623aaf6a38b1a837ecb18650) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17udev-extraconf/initrdscripts/parted: Rename mount.blacklist -> mount.ignorelistRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 69e486ddb3059f80ba538e1f59c2ca8a8df0faf9) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17harfbuzz: Fix compilation with clangPavel Zhukov
Fixup commit for prevous CVE-2022-33068 fix. Fixes: | In file included from ../harfbuzz-4.0.1/src/hb-ot-face.cc:39: 4429| ../harfbuzz-4.0.1/src/hb-ot-color-sbix-table.hh:301:11: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical] 4430| if (png.IHDR.height >= 65536 | png.IHDR.width >= 65536) 4431| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4432| || 4433| ../harfbuzz-4.0.1/src/hb-ot-color-sbix-table.hh:301:11: note: cast one or both operands to int to silence this warning 4434| 1 error generated. Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-17curl: Fix multiple CVEsRobert Joslyn
Backport fixes for: * CVE-2022-32205 - https://curl.se/docs/CVE-2022-32205.html * CVE-2022-32206 - https://curl.se/docs/CVE-2022-32206.html * CVE-2022-32207 - https://curl.se/docs/CVE-2022-32207.html * CVE-2022-32208 - https://curl.se/docs/CVE-2022-32208.html Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-16perf: fix reproducibility in 5.19+Bruce Ashfield
kernels with upstream commit 630af16eee495f583db5202c3613d1b191f10694 [perf tools: Use Python devtools for version autodetection rather than runtime], or -stable backports of that commmit, evade our substitutions for reproducibility. We add a second sed expression to ensure that our definition of python is used, as we have the proper environement setup and don't need the full path of python, which eventually will be captured by the perf binaries. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b24e73fb34049061ea03a6f2b6a54cdbee7b406b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-16gperf: Switch to upstream patchRichard Purdie
Upstream merged a patch to handle the reproducibility issue, switch to their patch which is functionally equivalent. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit db28cd0e1540e44db963108430205c8c0c817774) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-16gperf: Add a patch to work around reproducibility issuesRichard Purdie
Add a patch to avoid writing the full pathname to gperf into source files which leads to reproducibility issues. This fixes issues with systemd reproducibility in particular. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dea3c7ee2a413f7dc5f13ec006592084f7fb266c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-16kernel-devsrc: ppc32: fix reproducibilityBruce Ashfield
In a similar manner to the arm/arm32 reprodicibility fixes, we can also fix ppc32. The file .vdso32-offsets.h.cmd has captured paths, but we don't need it on target or SDKs to regenerate a build enviroment. We add it to our vdso-offsets list of files to delete and we no longer have files patckaged with buildpaths. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2a142b68b232ff7728f4eb945eea923c64e7ebd5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-16kernel-devsrc: fix reproducibility and buildpaths QA warningBruce Ashfield
We've been removing .vdso-offsets.h.cmd for quite some time, as it is not required to regenerate scripts or to satisfy the prepare target in the kernel source. That being said, there is a secondary location that this file may be found, and since we aren't detecting or removing it, we end up with embedded build paths, which cause both reproducibility and buildpaths QA warnings. We can test for both files, and force remove them if present, and we'll fix this new location of the file and not risk breaking any old kernels. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e0a9433685397b716920fa9ad5d5a7be95c496f7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-16linux-yocto/5.15: fix buildpaths issue with pnmtologoBruce Ashfield
Integrating the following commit(s) to linux-yocto/5.15: a40d2daf2795 pnmtologo: use relocatable file name Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3c2bd1b975b05df30af21475b33aaf3d6fb192e6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-16linux-yocto/5.15: update to v5.15.54Bruce Ashfield
Updating to the latest korg -stable release that comprises the following commits: 843dae1756d9 Linux 5.15.54 c0c041a60cac selftests/net: fix section name when using xdp_dummy.o a5fe76328ea5 dmaengine: idxd: force wq context cleanup on device disable path 568b2bd79b59 dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate 2f6ded79068c dmaengine: qcom: bam_dma: fix runtime PM underflow cb9813d7eae9 dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate e08ccbaa5fb3 dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly c787908bee3f dmaengine: lgm: Fix an error handling path in intel_ldma_probe() 0bbb30d077f2 dmaengine: pl330: Fix lockdep warning about non-static key 8b07022de2d3 ida: don't use BUG_ON() for debugging 9839d89112d4 dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo e99bad0d76cf Revert "serial: 8250_mtk: Make sure to select the right FEATURE_SEL" 2fa22e7906c1 Revert "mm/memory-failure.c: fix race with changing page compound again" c1c98764c3c3 misc: rtsx_usb: set return value in rsp_buf alloc err path bab1a05a1141 misc: rtsx_usb: use separate command and response buffers 378080b7d8dd misc: rtsx_usb: fix use of dma mapped buffer for usb bulk transfer d76704f8ccbb dmaengine: imx-sdma: Allow imx8m for imx7 FW revs 530ee8d3c6a4 i2c: cadence: Unregister the clk notifier in error path 941d77b795d1 r8169: fix accessing unset transport header 3abec0b38173 selftests: forwarding: fix error message in learning_test 1b74fe2e8f5c selftests: forwarding: fix learning_test when h1 supports IFF_UNICAST_FLT 8e5fcfecd99a selftests: forwarding: fix flood_unicast_test when h2 supports IFF_UNICAST_FLT 3fdca34e7811 ibmvnic: Properly dispose of all skbs during a failover. 5912e5e47ac9 ARM: dts: stm32: add missing usbh clock and fix clk order on stm32mp15 d5670adf5cff ARM: dts: stm32: use usbphyc ck_usbo_48m as USBH OHCI clock on stm32mp151 ddec6cbbe227 i40e: Fix VF's MAC Address change on VM 9d1e322a9103 i40e: Fix dropped jumbo frames statistics d2bf1a6480e8 i2c: piix4: Fix a memory leak in the EFCH MMIO support e7a1d5100921 xsk: Clear page contiguity bit when unmapping pool a2b92fffd51b ARM: at91: fix soc detection for SAM9X60 SiPs e3ee4ffa3c92 ARM: dts: at91: sama5d2_icp: fix eeprom compatibles f5b0e6d7b453 ARM: dts: at91: sam9x60ek: fix eeprom compatible and size a65b92628ae0 ARM: at91: pm: use proper compatibles for sama7g5's rtc and rtt cfd0e717bd93 ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt 9ec5fe55ba75 ARM: at91: pm: use proper compatible for sama5d2's rtc ec5533b2ce26 arm64: dts: qcom: msm8992-*: Fix vdd_lvs1_2-supply typo 76292cf4b3bc pinctrl: sunxi: sunxi_pconf_set: use correct offset c041165d8f04 arm64: dts: imx8mp-phyboard-pollux-rdk: correct i2c2 & mmc settings 44826474a39a arm64: dts: imx8mp-phyboard-pollux-rdk: correct eqos pad settings ea8dbe870c84 arm64: dts: imx8mp-phyboard-pollux-rdk: correct uart pad settings 67a21eb8c48e arm64: dts: imx8mp-evk: correct I2C3 pad settings b34da817e3fa arm64: dts: imx8mp-evk: correct I2C1 pad settings 37413a0ea090 arm64: dts: imx8mp-evk: correct eqos pad settings ebad4d73ab1c arm64: dts: imx8mp-evk: correct vbus pad settings f1571c8c8724 arm64: dts: imx8mp-evk: correct gpio-led pad settings 637b3dab51f7 arm64: dts: imx8mp-evk: correct the uart2 pinctl value 401d27fec614 arm64: dts: imx8mp-evk: correct mmc pad settings ee1ced3dd863 ARM: mxs_defconfig: Enable the framebuffer 89a718d1d080 arm64: dts: qcom: sdm845: use dispcc AHB clock for mdss node 216094007699 arm64: dts: qcom: msm8994: Fix CPU6/7 reg values 4157343a6a1a ASoC: codecs: rt700/rt711/rt711-sdca: resume bus/codec in .set_jack_detect ac80a45ddb62 ASoC: rt711-sdca: Add endianness flag in snd_soc_component_driver 25e61636a5c3 ASoC: rt711: Add endianness flag in snd_soc_component_driver 29029ca6eed7 pinctrl: sunxi: a83t: Fix NAND function name for some pins 7208101ded1e ARM: meson: Fix refcount leak in meson_smp_prepare_cpus 9c26be2c3e69 tty: n_gsm: fix encoding of command/response bit 3b9f49138669 btrfs: fix use of uninitialized variable at rm device ioctl cb91c0548ff2 virtio-blk: modify the value type of num in virtio_queue_rq() d35b78cb053a btrfs: fix error pointer dereference in btrfs_ioctl_rm_dev_v2() f88e79727fba Revert "serial: sc16is7xx: Clear RS485 bits in the shutdown" 83d3449e8ae5 xfs: remove incorrect ASSERT in xfs_rename 63a3d2377715 can: kvaser_usb: kvaser_usb_leaf: fix bittiming limits 420b99306b7e can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression baffaed7fab3 can: kvaser_usb: replace run-time checks with struct kvaser_usb_driver_info 188c798f3c25 net: dsa: qca8k: reset cpu port on MTU change c79726aba6af powerpc/powernv: delay rng platform device creation until later in boot cc409f88e8f7 video: of_display_timing.h: include errno.h 6c9c8a7a9a54 memregion: Fix memregion_free() fallback definition 79827e53b069 PM: runtime: Redefine pm_runtime_release_supplier() 9c9e44bb3dd5 fbcon: Prevent that screen size is smaller than font size 688632778025 fbcon: Disallow setting font bigger than screen size 738d06ef99cb fbmem: Check virtual screen sizes in fb_set_var() 989b2c40322e fbdev: fbmem: Fix logo center image dx issue e5fde29135a4 iommu/vt-d: Fix PCI bus rescan device hot add 09cb6663618a module: fix [e_shstrndx].sh_size=0 OOB access e9f331bb5d43 module: change to print useful messages from elf_validity_check() 82b50219c85d dt-bindings: soc: qcom: smd-rpm: Fix missing MSM8936 compatible 93dfb9c6deeb dt-bindings: soc: qcom: smd-rpm: Add compatible for MSM8953 SoC 8371666ef44c rxrpc: Fix locking issue d74b09b933b9 irqchip/gic-v3: Refactor ISB + EOIR at ack time b82dfacba576 irqchip/gic-v3: Ensure pseudo-NMIs have an ISB between ack and handling 51ebf1b6a077 io_uring: avoid io-wq -EAGAIN looping for !IOPOLL b3cec8a42fcd Bluetooth: btmtksdio: fix use-after-free at btmtksdio_recv_event 5781bb8a3191 Bluetooth: protect le accept and resolv lists with hdev->lock 8a2dbdeccef6 drm/mediatek: Add vblank register/unregister callback functions 2c4396693698 drm/mediatek: Add cmdq_handle in mtk_crtc d3f153557045 drm/mediatek: Detect CMDQ execution timeout 6f77386ddb1c drm/mediatek: Remove the pointer of struct cmdq_client d953c679022c drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb 51a405dea0ae drm/i915: Fix a race between vma / object destruction and unbinding 7a9e13b86536 drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems 0a9a60dcedaa drm/amd: Refactor `amdgpu_aspm` to be evaluated per device 00fa5cbbb6a7 tty: n_gsm: fix invalid gsmtty_write_room() result 156f2c2378e1 serial: 8250_mtk: Make sure to select the right FEATURE_SEL e58094e2b516 tty: n_gsm: fix sometimes uninitialized warning in gsm_dlci_modem_output() b952aa508786 tty: n_gsm: fix invalid use of MSC in advanced option 62d1655b9229 mm/hwpoison: fix race between hugetlb free/demotion and memory_failure_hugetlb() 5429eb5502fc mm/memory-failure.c: fix race with changing page compound again 7a07875fabcc mm/hwpoison: avoid the impact of hwpoison_filter() return value on mce handler d04b62b64056 mm/hwpoison: mf_mutex for soft offline and unpoison a0f4fd486896 KVM: Initialize debugfs_dentry when a VM is created to avoid NULL deref 70e2e87ea878 btrfs: zoned: use dedicated lock for data relocation 1519e6e28478 btrfs: zoned: encapsulate inode locking for zoned relocation 920e849b7d23 tty: n_gsm: fix missing update of modem controls after DLCI open 4db0a8dd9067 ALSA: usb-audio: add mapping for MSI MAG X570S Torpedo MAX. a7fe6934ce7c ALSA: usb-audio: add mapping for MSI MPG X570S Carbon Max Wifi. 6dcf1e5581b4 tty: n_gsm: fix frame reception handling 375dfcfca4a1 tty: n_gsm: Save dlci address open status when config requester 88a4fb1346b3 tty: n_gsm: Modify CR,PF bit when config requester e73c0eaf7f35 KVM: Don't create VM debugfs files outside of the VM directory f3647c369c17 drm/amd/vcn: fix an error msg on vcn 3.0 a976456c797c ASoC: rt5682: fix an incorrect NULL check on list iterator c0058893a4a9 ASoC: rt5682: move clk related code to rt5682_i2c_probe 121af0231f82 uapi/linux/stddef.h: Add include guards 1d9bd723e7b4 stddef: Introduce DECLARE_FLEX_ARRAY() helper c2f3dab1ac54 bus: mhi: Fix pm_state conversion to string 3f6d5cb0a5e5 bus: mhi: core: Use correctly sized arguments for bit field 170a08ad3d1a serial: sc16is7xx: Clear RS485 bits in the shutdown 5dce84f475d1 powerpc/tm: Fix more userspace r13 corruption ed8a5d63a0da powerpc: flexible GPR range save/restore macros 0a80e66a10af powerpc/32: Don't use lmw/stmw for saving/restoring non volatile regs b342feb49141 scsi: qla2xxx: Fix loss of NVMe namespaces after driver reload test 31c60d15ccd1 KVM: s390x: fix SCK locking 83772314e1e0 btrfs: don't access possibly stale fs_info data in device_list_add 6784b694ecd8 KVM: use __vcalloc for very large allocations c33904fd1ef4 mm: vmalloc: introduce array allocation functions ff41804632e5 Compiler Attributes: add __alloc_size() for better bounds checking a1e69c36de17 mtd: spi-nor: Skip erase logic when SPI_NOR_NO_ERASE is set e65d78b12fbc batman-adv: Use netif_rx(). 4c0bb583a444 iio: accel: mma8452: use the correct logic to get mma8452_data ffd3e67f0dfb riscv/mm: Add XIP_FIXUP for riscv_pfn_base d6f1651ddf91 NFSD: COMMIT operations must not return NFS?ERR_INVAL c2a9881bc2ca NFSD: De-duplicate net_generic(nf->nf_net, nfsd_net_id) 59bf2aca4b1c drm/amd/display: Fix by adding FPU protection for dcn30_internal_validate_bw f276634b12fa drm/amd/display: Set min dcfclk if pipe count is 0 f799df4569c1 drbd: fix an invalid memory access caused by incorrect use of list iterator 5bb1df0bfd46 drbd: Fix double free problem in drbd_create_device dbbcf21ad6a8 drbd: add error handling support for add_disk() 72fa2ea3e0ab btrfs: remove device item and update super block in the same transaction f75534a71abf btrfs: use btrfs_get_dev_args_from_path in dev removal ioctls 321a81835b4a btrfs: add a btrfs_get_dev_args_from_path helper 5578b681fbf2 btrfs: handle device lookup with btrfs_dev_lookup_args 09674bfd8054 vdpa/mlx5: Avoid processing works if workqueue was destroyed 008e29d172ca gfs2: Fix gfs2_file_buffered_write endless loop workaround 9b7eb92dac24 scsi: qla2xxx: Fix crash during module load unload test 72806635ee63 scsi: qla2xxx: edif: Replace list_for_each_safe with list_for_each_entry_safe d4510119911c scsi: qla2xxx: Fix laggy FC remote port session recovery 241afac69b96 scsi: qla2xxx: Move heartbeat handling from DPC thread to workqueue 1e9d6854951a KVM: x86/mmu: Use common TDP MMU zap helper for MMU notifier unmap hook eabbe74e7de5 KVM: x86/mmu: Use yield-safe TDP MMU root iter in MMU notifier unmapping 0855054fa889 clk: renesas: r9a07g044: Update multiplier and divider values for PLL2/3 518bb9636712 cxl/port: Hold port reference until decoder release 8b5ce83872b4 mt76: mt7921: do not always disable fw runtime-pm 9d721a17505b mt76: mt76_connac: fix MCU_CE_CMD_SET_ROC definition error 6512c3c39cb6 media: davinci: vpif: fix use-after-free on driver unbind 2823225fbba0 media: omap3isp: Use struct_group() for memcpy() region d57ab893cdf8 stddef: Introduce struct_group() helper macro af9452dfdba4 block: fix rq-qos breakage from skipping rq_qos_done_bio() 13141cceadd0 block: only mark bio as tracked if it really is tracked eb79d1353cd0 block: use bdev_get_queue() in bio.c df1ec53252d5 io_uring: ensure that fsnotify is always called 5c82c94b0be7 virtio-blk: avoid preallocating big SGL for data 32ac44b70e17 ibmvnic: Allow queueing resets during probe 85996ef17952 ibmvnic: clear fop when retrying probe 4fe1439ef2e0 ibmvnic: init init_done_rc earlier a29c71f3a4b1 s390/setup: preserve memory at OLDMEM_BASE and OLDMEM_SIZE 06de5cf61538 s390/setup: use physical pointers for memblock_reserve() 6ed826c949cf s390/boot: allocate amode31 section in decompressor aa1f19606558 netfilter: nft_payload: don't allow th access for fragments 5445819e76a6 netfilter: nft_payload: support for inner header matching / mangling 0d9bd7e6ac3a netfilter: nf_tables: convert pktinfo->tprot_set to flags field 25ca15fed4bb ASoC: rt5682: Fix deadlock on resume f536e0df64b8 ASoC: rt5682: Re-detect the combo jack after resuming 4b72179e53bd ASoC: rt5682: Avoid the unexpected IRQ event during going to suspend 301ebfa578e3 net/mlx5e: TC, Reject rules with forward and drop actions 6d1ac7f882da net/mlx5e: TC, Reject rules with drop and modify hdr action aa944fefb396 net/mlx5e: Split actions_match_supported() into a sub function f1c36a47a3b4 net/mlx5e: Check action fwd/drop flag exists also for nic flows 910349170ac0 RISC-V: defconfigs: Set CONFIG_FB=y, for FB console 49ae6abd617f riscv: defconfig: enable DRM_NOUVEAU feacd73fd8b2 bpf, arm64: Use emit_addr_mov_i64() for BPF_PSEUDO_FUNC d53c8fe9ee29 bpf: Stop caching subprog index in the bpf_pseudo_func insn d3688bfa5af4 mt76: mt7921: fix a possible race enabling/disabling runtime-pm 281a194f5a67 mt76: mt7921: introduce mt7921_mcu_set_beacon_filter utility routine 09aee8375b0c mt76: mt7921: get rid of mt7921_mac_set_beacon_filter 9846b9e4bba7 platform/x86: wmi: Fix driver->notify() vs ->probe() race 4b5356231989 platform/x86: wmi: Replace read_takes_no_args with a flags field 789382ce7359 platform/x86: wmi: introduce helper to convert driver to WMI driver a9a101842420 qed: Improve the stack space of filter_config() 8a29aec244ae ath11k: add hw_param for wakeup_mhi 16b7cb2803bf memory: renesas-rpc-if: Avoid unaligned bus access for HyperFlash a4ac45aff8d3 media: ir_toy: prevent device from hanging during transmit e1716b0ff925 PCI: pciehp: Ignore Link Down/Up caused by error-induced Hot Reset 006d00d826fb PCI/portdrv: Rename pm_iter() to pcie_port_device_iter() b33035945b0a drm/i915: Replace the unconditional clflush with drm_clflush_virt_range() 9cf3a1c1288e drm/i915/gt: Register the migrate contexts with their engines d839d15b5074 drm/i915: Disable bonding on gen12+ platforms 70fc07e30817 btrfs: fix deadlock between chunk allocation and chunk btree modifications 3fb11d13220d dma-buf/poll: Get a file reference for outstanding fence callbacks 140395211626 Input: goodix - try not to touch the reset-pin on x86/ACPI devices 8422a9b306f1 Input: goodix - refactor reset handling f5b1c6d526d8 Input: goodix - add a goodix.h header file 1354ceb1b6bf Input: goodix - change goodix_i2c_write() len parameter type to int 8d1d6b29baa9 Input: cpcap-pwrbutton - handle errors from platform_get_irq() 48f8f198a2ab btrfs: fix warning when freeing leaf after subvolume creation failure 9bc53f5a3932 btrfs: fix invalid delayed ref after subvolume creation failure 661820504717 btrfs: add additional parameters to btrfs_init_tree_ref/btrfs_init_data_ref bb5c24715501 btrfs: rename btrfs_alloc_chunk to btrfs_create_chunk c1784d207513 netfilter: nf_tables: stricter validation of element data 5ccecafc728b netfilter: nft_set_pipapo: release elements in clone from abort path 75e9009edabc net: rose: fix UAF bug caused by rose_t0timer_expiry db89582ff330 usbnet: fix memory leak in error case a7de8d436db9 bpf: Fix insufficient bounds propagation from adjust_scalar_min_max_vals a703cbdd791b bpf: Fix incorrect verifier simulation around jmp32's jeq/jne f7c9b38cc5a2 can: mcp251xfd: mcp251xfd_regmap_crc_read(): update workaround broken CRC on TBC register 0cab3fb917c5 can: mcp251xfd: mcp251xfd_regmap_crc_read(): improve workaround handling for mcp2517fd c7333f798884 can: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits f4d90e9c95d4 can: m_can: m_can_chip_config(): actually enable internal timestamping 0e60230bc643 can: gs_usb: gs_usb_open/close(): fix memory leak 8cfa1a33b0fb can: grcan: grcan_probe(): remove extra of_node_get() f34f2a18e47b can: bcm: use call_rcu() instead of costly synchronize_rcu() 51aab37a66a2 ALSA: cs46xx: Fix missing snd_card_free() call at probe error f768f3ca5f38 ALSA: hda/realtek: Add quirk for Clevo L140PU f62c53c6e70d ALSA: usb-audio: Workarounds for Behringer UMC 204/404 HD e63b94b8dd5f Revert "selftests/bpf: Add test for bpf_timer overwriting crash" 066a5b678472 mm/filemap: fix UAF in find_lock_entries 0515cc9b6b24 mm/slub: add missing TID updates on slab deactivation eb18ccd14633 Linux 5.15.53 6b316eedff44 hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails 8848842f0a9b hwmon: (occ) Prevent power cap command overwriting poll response 38920480329f hwmon: (occ) Remove sequence numbering and checksum calculation 5b458d3de9cf drm/fourcc: fix integer type usage in uapi header f2def2643350 platform/x86: panasonic-laptop: filter out duplicate volume up/down/mute keypresses b9b7a115dfd1 platform/x86: panasonic-laptop: don't report duplicate brightness key-presses 6201123ca5bc platform/x86: panasonic-laptop: revert "Resolve hotkey double trigger bug" 484e10843a74 platform/x86: panasonic-laptop: sort includes alphabetically b619348d9d69 platform/x86: panasonic-laptop: de-obfuscate button codes 8547315c1377 drivers: cpufreq: Add missing of_node_put() in qoriq-cpufreq.c 68aa6f13dc43 drm/msm/gem: Fix error return on fence id alloc fail a13ea254268c drm/i915/gem: add missing else 4dc036ddf4bf net: fix IFF_TX_SKB_NO_LINEAR definition 25daf14eacd1 fsi: occ: Force sequence numbering per OCC 8169198652b9 clocksource/drivers/ixp4xx: remove EXPORT_SYMBOL_GPL from ixp4xx_timer_setup() 74acf9cc87c7 net: usb: qmi_wwan: add Telit 0x1070 composition 9f83c8f6ab14 xen/arm: Fix race in RB-tree based P2M accounting 1052fc2b7391 xen-netfront: restore __skb_queue_tail() positioning in xennet_get_responses() 6d0a9127279a xen/blkfront: force data bouncing when backend is untrusted ed3cfc690675 xen/netfront: force data bouncing when backend is untrusted 5dd0993c3683 xen/netfront: fix leaking data in shared pages 7ed65a4ad8fa xen/blkfront: fix leaking data in shared pages 472863c7b523 selftests/rseq: Change type of rseq_offset to ptrdiff_t df2e933a5348 selftests/rseq: x86-32: use %gs segment selector for accessing rseq thread area f5a656b4ab48 selftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area 4633aa6fadc6 selftests/rseq: Fix: work-around asm goto compiler bugs 786bd3511934 selftests/rseq: Remove arm/mips asm goto compiler work-around 33307f2afd85 selftests/rseq: Fix warnings about #if checks of undefined tokens 21199d90428e selftests/rseq: Fix ppc32 offsets by using long rather than off_t 56cbd6e40e41 selftests/rseq: Fix ppc32 missing instruction selection "u" and "x" for load/store 1969c5eff964 selftests/rseq: Fix ppc32: wrong rseq_cs 32-bit field pointer on big endian b9a8ebe29636 selftests/rseq: Uplift rseq selftests for compatibility with glibc-2.35 e49d1c413d28 selftests/rseq: Introduce thread pointer getters d471088d078b selftests/rseq: Introduce rseq_get_abi() helper c9a96b4231c3 selftests/rseq: Remove volatile from __rseq_abi 3c35d9cbd99b selftests/rseq: Remove useless assignment to cpu variable 94a913fe6271 selftests/rseq: introduce own copy of rseq uapi header 58f64962a697 selftests/rseq: remove ARRAY_SIZE define from individual tests 34ec62bc44b0 selftests/bpf: Add test_verifier support to fixup kfunc call insns e11cdd74519e tcp: add a missing nf_reset_ct() in 3WHS handling 010d7c422296 MAINTAINERS: add Leah as xfs maintainer for 5.15.y c28f95515503 net: tun: avoid disabling NAPI twice 9db9e649f88f mlxsw: spectrum_router: Fix rollback in tunnel next hop init 2930ee1a166d ipv6: fix lockdep splat in in6_dump_addrs() d6371303b4db ipv6/sit: fix ipip6_tunnel_get_prl return value 674a641e5b67 tunnels: do not assume mac header is set in skb_tunnel_check_pmtu() b43a47c1c5c7 ACPI: video: Change how we determine if brightness key-presses are handled 50fefe57f45e io_uring: ensure that send/sendmsg and recv/recvmsg check sqe->ioprio c8fb40fd7bb7 epic100: fix use after free on rmmod 35fcb2ba35b4 tipc: move bc link creation back to tipc_node_create eaf7e6fe4b07 NFC: nxp-nci: Don't issue a zero length i2c_master_read() d13a5b86e284 nfc: nfcmrvl: Fix irq_of_parse_and_map() return value 89296ac435e2 powerpc/memhotplug: Add add_pages override for PPC ef0af7d08d26 net: bonding: fix use-after-free after 802.3ad slave unbind 7227bc7bd103 net: phy: ax88772a: fix lost pause advertisement configuration 0d139145cc0f net: bonding: fix possible NULL deref in rlb code efafb28ff39f net: asix: fix "can't send until first packet is send" issue ed303cc7aab9 net/sched: act_api: Notify user space if any actions were flushed before error 1d776f085006 net/dsa/hirschmann: Add missing of_node_get() in hellcreek_led_setup() 031561caa38a netfilter: nft_dynset: restore set element counter when failing to update a6c5c65f4c37 s390: remove unneeded 'select BUILD_BIN2C' 10f88306f9f3 vdpa/mlx5: Update Control VQ callback information 01121e39ef53 PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events 7cf7ed8f23c4 caif_virtio: fix race between virtio_device_ready() and ndo_open() 4d5055873e24 vfs: fix copy_file_range() regression in cross-fs copies 115d94191691 NFSD: restore EINVAL error translation in nfsd_commit() c9f8f94d3ca9 net: ipv6: unexport __init-annotated seg6_hmac_net_init() 0b842b9e84cd selftests: mptcp: more stable diag tests 536d2a6a4fd6 usbnet: fix memory allocation in helpers f7eaa228b0fa net: usb: asix: do not force pause frames support 0b6e0eb5c45e linux/dim: Fix divide by 0 in RDMA DIM 889000874c12 RDMA/cm: Fix memory leak in ib_cm_insert_listen 732e73bd81c7 RDMA/qedr: Fix reporting QP timeout attribute c16404122a7c net: dp83822: disable rx error interrupt 7191cecb99b2 net: dp83822: disable false carrier interrupt 92e4f3ee5831 net: tun: stop NAPI when detaching queues 8145f77d38de net: tun: unlink NAPI from device on destruction 1e2327ba0fe9 net: dsa: bcm_sf2: force pause link settings cc38c1eaa2e0 selftests/net: pass ipv6_args to udpgso_bench's IPv6 TCP test 4db9730360ab virtio-net: fix race between ndo_open() and virtio_device_ready() aa0806efb8f0 net: usb: ax88179_178a: Fix packet receiving 659d39545260 net: rose: fix UAF bugs caused by timer handler 6437d3deee28 SUNRPC: Fix READ_PLUS crasher 0222575395bd s390/archrandom: simplify back to earlier design and initialize earlier d5b06039b195 dm raid: fix KASAN warning in raid5_add_disks 6352b2f4d8e9 dm raid: fix accesses beyond end of raid member array bdb4d98d6d95 powerpc/bpf: Fix use of user_pt_regs in uapi e646baf1a4fd powerpc/book3e: Fix PUD allocation size in map_kernel_page() 0c1d781d6b08 powerpc/prom_init: Fix kernel config grep be74e588f1a5 nvdimm: Fix badblocks clear off-by-one error 526b53192d09 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA IM2P33F8ABR1 58caf60ce217 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG SX6000LNP (AKA SPECTRIX S40G) 25fab798784b net: phy: Don't trigger state machine while in suspend 159f2454ab12 ipv6: take care of disable_policy when restoring routes e33f5b581574 ksmbd: use vfs_llseek instead of dereferencing NULL 9d48194d3e49 ksmbd: check invalid FileOffset and BeyondFinalZero in FSCTL_ZERO_DATA 6791b57284f5 ksmbd: set the range of bytes to zero without extending file size in FSCTL_ZERO_DATA 31c371b61d13 drm/amdgpu: To flush tlb for MMHUB of RAVEN series 990132bebcc8 Revert "drm/amdgpu/display: set vblank_disable_immediate for DC" Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 05457334a7344cabd9b7973834c9f02484fe99a7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-16linux-yocto/5.15: fix buildpaths issue with gen-mach-typesBruce Ashfield
Integrating the following commit(s) to linux-yocto/5.15: 6c085baf1838 tools: use basename to identify file in gen-mach-types Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d5db9594da2bdc6d13be2190d10739b51de57890) Signed-off-by: Steve Sakoman <steve@sakoman.com>
2022-07-16linux-yocto/5.15: fix build_OID_registry buildpaths warningBruce Ashfield
Integrating the following commit(s) to linux-yocto/5.15: Author: Bruce Ashfield <bruce.ashfield@gmail.com> Date: Sun Jul 10 22:56:53 2022 -0400 lib/build_OID_registry: fix reproducibility issues The script build_OID_registry captures the full path of itself in the generated data. This causes reproduciblity issues as the path is captured and packaged. We use the basename of the script instead, and that allows us to be reprodicible, with slightly less information captured in the output data (but the generating script can still easily be found). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 708421238ed149b1eabf463bd563a37480ad1169) Signed-off-by: Steve Sakoman <steve@sakoman.com>