]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
22 months agobuild-appliance-image: Update to kirkstone head revision 2022-04.2 2022-04.2-kirkstone yocto-4.0.2
Richard Purdie [Wed, 29 Jun 2022 06:48:24 +0000 (07:48 +0100)] 
build-appliance-image: Update to kirkstone head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agomesa: backport a patch to support compositors without zwp_linux_dmabuf_v1 again
Martin Jansa [Wed, 15 Jun 2022 20:21:08 +0000 (22:21 +0200)] 
mesa: backport a patch to support compositors without zwp_linux_dmabuf_v1 again

* the same will be needed for kirkstone

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3857066550d77c2c8134326f7e9b28d0f4d78b7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agorootfs-postcommands.bbclass: correct comments
Michael Opdenacker [Wed, 15 Jun 2022 18:36:04 +0000 (20:36 +0200)] 
rootfs-postcommands.bbclass: correct comments

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 41ade8e9a14c867e146a545be8d2d9c151b6855f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agogtk-doc: Fix potential shebang overflow on gtkdoc-mkhtml2
Paulo Neves [Tue, 14 Jun 2022 15:11:00 +0000 (17:11 +0200)] 
gtk-doc: Fix potential shebang overflow on gtkdoc-mkhtml2

A native path can cause a shebang overflow on gtkdoc-mkhtml.
Replace it with /usr/bin/env.

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f018d3f77f27b73206a26c78228fed563950bd9d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agosystemd: systemd-systemctl: Support instance conf files during enable
Nick Potenski [Wed, 15 Jun 2022 19:32:19 +0000 (14:32 -0500)] 
systemd: systemd-systemctl: Support instance conf files during enable

Add ability to parse instance-specific conf files when
enabling an instance of a templated unit during postinstall.

Signed-off-by: Nick Potenski <nick.potenski@garmin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit baa0ecf3271008cf60cd830c54a71f191aebb81c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agoefivar: add musl libc compatibility
Davide Gardenal [Tue, 24 May 2022 08:04:00 +0000 (10:04 +0200)] 
efivar: add musl libc compatibility

Backport patch to get efivar working with musl.

Upstream issue:
https://github.com/rhboot/efivar/issues/202

After commit meta-oe/1582f81805ee3114bc1a44bd5cf52d21f96702ca
fwupd gives an error when trying to build with musl because
efivar is not compatible. This fixes the issue.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 005b6aba89eaf1b79fdd7565dd028fdd9bbfcc7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agopython: Avoid shebang overflow on python-config.py
Paulo Neves [Tue, 14 Jun 2022 15:10:59 +0000 (17:10 +0200)] 
python: Avoid shebang overflow on python-config.py

The native path may be too big, leading to shebang
overflow. Just use the #!/usr/bin/env python3.

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 84783dee09e48cb930c7cd27944eaf3f03997237)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agopython3: Ensure stale empty python module directories don't break the build
Richard Purdie [Fri, 27 May 2022 16:05:44 +0000 (17:05 +0100)] 
python3: Ensure stale empty python module directories don't break the build

There are two issues inside importlib. Firstly, the modules are accessed in
on disk order. This means behaviour seen on one system might not reproduce
on another and is a real headache.

Secondly, empty directories left behind by previous modules might be looked
at. This has caused a long string of different issues for us.

As a result, patch this to a behaviour which works for us. Upstream discussion
can follow later, this is breaking builds for too many people to leave unpatched.

[YOCTO #14816]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5944a38db513e033c3a3e9313267055f7254be7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agopython3: Remove problematic paths from sysroot files
Richard Purdie [Fri, 27 May 2022 10:43:36 +0000 (11:43 +0100)] 
python3: Remove problematic paths from sysroot files

In the native sysroot we should never have paths to the python3-native
build directory. These may or may not exist at the time some dependency
is building and nothing should rely upon them.

I suspect nothing is relying on this at the moment but clean up
just to be sure.

The various config copies are adjusted to be modified consistently as some
copies were and some were not. The Makefile has the "bad" ${B} paths
replaced with a dummy placeholder too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae9e6249ded8fc063d6333231c391cfa2d594567)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agopython3: use built-in distutils for ptest, rather than setuptools' 'fork'
Alexander Kanavin [Wed, 18 May 2022 10:58:43 +0000 (12:58 +0200)] 
python3: use built-in distutils for ptest, rather than setuptools' 'fork'

The setuptools version is now used by default when setuptools is installed,
but it  is incompatible with some of python's own tests.

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>
(cherry picked from commit c0c1ee33781733d712cd983be460001cd7938014)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agolinux-firmware: upgrade 20220509 -> 20220610
Dmitry Baryshkov [Wed, 15 Jun 2022 10:04:15 +0000 (13:04 +0300)] 
linux-firmware: upgrade 20220509 -> 20220610

Drop 0001-Makefile-replace-mkdir-by-install.patch merged upstream.

License-Update: additional files
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91cd99267157e860a108282aee13e162e8c10572)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agolinux-firmware: add support for building snapshots
Dmitry Baryshkov [Wed, 1 Jun 2022 11:08:16 +0000 (14:08 +0300)] 
linux-firmware: add support for building snapshots

In some cases it is useful to be able to test the snapshot of
linux-firmware (e.g. to test if the updated firmware works on the
particular hardware). Allow building the linux-firmware snapshots.

To switch to the most recent branch, add the following lines to the
local.conf file:

PREFERRED_VERSION_linux-firmware = "1:20220509+git%"
SRCREV:class-devupstream = "${AUTOREV}"
WHENCE_CHKSUM:class-devupstream:pn-linux-firmware = "4288aad55d189fa225d492526b8406d5"

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b023570ae1d239de14b50a0e827582d0e84ddf81)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agooeqa/selftest/cve_check: add tests for Ignored and partial reports
Marta Rybczynska [Wed, 15 Jun 2022 13:21:48 +0000 (15:21 +0200)] 
oeqa/selftest/cve_check: add tests for Ignored and partial reports

Add testcases for partial reports with CVE_CHECK_REPORT_PATCHED and
Ignored CVEs.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3f7639b90004973782a2e74925fd2e9a764c1090)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agocve-check: add support for Ignored CVEs
Marta Rybczynska [Wed, 15 Jun 2022 13:20:11 +0000 (15:20 +0200)] 
cve-check: add support for Ignored CVEs

Ignored CVEs aren't patched, but do not apply in our configuration
for some reason. Up till now they were only partially supported
and reported as "Patched".

This patch adds separate reporting of Ignored CVEs. The variable
CVE_CHECK_REPORT_PATCHED now manages reporting of both patched
and ignored CVEs.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c773102d4828fc4ddd1024f6115d577e23f1afe4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agoliberror-perl: Update sstate/equiv versions to clean cache
Richard Purdie [Sun, 8 May 2022 18:25:17 +0000 (19:25 +0100)] 
liberror-perl: Update sstate/equiv versions to clean cache

There are cached reproducibility issues on the autobuilder due to the PRServ
sstate checksum issues, flush the bad data out the system by bumping the
versions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b12e6cfe3bb34e426c8bb74183d041948cb2ed89)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agosystemd: update 0008-add-missing-FTW_-macros-for-musl.patch
Pavel Zhukov [Thu, 16 Jun 2022 05:58:28 +0000 (07:58 +0200)] 
systemd: update 0008-add-missing-FTW_-macros-for-musl.patch

Fixes fuzz warning with insane class ihnerited introduced in 4c3f51142b
Kirkstone specific, master has been updated to 251.2 and FTBFS with musl [Yocto 14838]

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agoarchiver: don't use machine variables in shared recipes
Jose Quaresma [Tue, 14 Jun 2022 16:24:38 +0000 (17:24 +0100)] 
archiver: don't use machine variables in shared recipes

When using multiconfig with the same TMP folder we can have
races because the shared recipes like gcc-source run twice.

ARCHIVER_OUTDIR = ${ARCHIVER_TOPDIR}/${TARGET_SYS}/${PF}/
which includes TARGET_SYS and between the two different MACHINE values,
this changes  from 'arm-poky-linux-gnueabi' to 'aarch64-poky-linux'.
This leads to the task running twice, once for each multiconfig.

To solve this we need to store the shared output in a common place
for all machines and in this way the stamps will be the same for each
machine so the gcc-source will on run once regardless of the machine used.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5abe497aad39a6ce8d72556fcdda1938a0f8c1bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agogcc-source: Fix incorrect task dependencies from ${B}
Richard Purdie [Tue, 14 Jun 2022 16:24:36 +0000 (17:24 +0100)] 
gcc-source: Fix incorrect task dependencies from ${B}

Some tasks may reference ${B} for gcc-source which in general would not exist.
It has dependencies on HOST_SYS and TARGET_SYS which are not appropriate for a
shared recipe like gcc-source. This causes problems for the archiver and
multiconfigs in particlar.

Set B to something else to avoid these task hash issues.

Acked-by: Jose Quaresma <jose.quaresma@foundries.io>
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 beb2a76c591e985c6fc7ed473abd1bee27f955a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agogit: fix override syntax in RDEPENDS
Yi Zhao [Tue, 14 Jun 2022 02:42:29 +0000 (10:42 +0800)] 
git: fix override syntax in RDEPENDS

RDEPENDS_${PN}-tk -> RDEPENDS:${PN}-tk

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1ed9267a318d53a302991a8ec7259d3bb809eaaa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agopopt: fix override syntax in RDEPENDS
Yi Zhao [Tue, 14 Jun 2022 02:42:28 +0000 (10:42 +0800)] 
popt: fix override syntax in RDEPENDS

RDEPENDS_${PN}-ptest -> RDEPENDS:${PN}-ptest

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37a47bfced900c2f1e239b216d8614eb290f2f0c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agoe2fsprogs: add alternatives handling of lsattr as well
Rasmus Villemoes [Wed, 8 Jun 2022 13:12:05 +0000 (15:12 +0200)] 
e2fsprogs: add alternatives handling of lsattr as well

Building busybox with CONFIG_LSATTR=y and installing that in the same
filesystem as e2fsprogs breaks:

  ERROR: ... do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
  then please place them into pkg_postinst_ontarget:${PN} ().
  Deferring to first boot via 'exit 1' is no longer supported.

Fix that by also alternatifying lsattr just as chattr already is.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96703961eeb3460e9da26503d7942cc965d1e573)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agooescripts: change compare logic in OEListPackageconfigTests
Mingli Yu [Mon, 23 May 2022 12:51:43 +0000 (20:51 +0800)] 
oescripts: change compare logic in OEListPackageconfigTests

When multilib enabled and add layers/meta-openembedded/meta-oe in
conf/bblayers.conf, it reports below error when run oe-selftest.
 $ oe-selftest -r  oescripts
 [snip]
 [20:36:33-0700] 2022-05-16 03:36:33,494 - oe-selftest - INFO - RESULTS - oescripts.OEListPackageconfigTests.test_packageconfig_flags_option_flags: FAILED (585.37s)
 [snip]

 It is because the output of "list-packageconfig-flags.py -f" as below:
 $ ../scripts/contrib/list-packageconfig-flags.py -f
 [snip]
 qt                     lib32-pinentry  lib32-wxwidgets  nativesdk-pinentry  pinentry  pinentry-native  wxwidgets  wxwidgets-native
 secret                 lib32-pinentry  nativesdk-pinentry  pinentry  pinentry-native
 [snip]

 But the check logic as below:
 class OEListPackageconfigTests(OEScriptTests):
    #oe-core.scripts.List_all_the_PACKAGECONFIG's_flags
    def check_endlines(self, results,  expected_endlines):
        for line in results.output.splitlines():
            for el in expected_endlines:
                if line.split() == el.split():
                    expected_endlines.remove(el)
                    break

 def test_packageconfig_flags_option_flags(self):
        results = runCmd('%s/contrib/list-packageconfig-flags.py -f' % self.scripts_dir)
        expected_endlines = []
        expected_endlines.append("PACKAGECONFIG FLAG     RECIPE NAMES")
        expected_endlines.append("qt                     nativesdk-pinentry  pinentry  pinentry-native")
        expected_endlines.append("secret                 nativesdk-pinentry  pinentry  pinentry-native")

        self.check_endlines(results, expected_endlines)

And the test will fail as line.split() doesn't equal el.split() as
line.split() is ['lib32-pinentry', 'lib32-wxwidgets', 'nativesdk-pinentry',
'pinentry', 'pinentry-native', 'wxwidgets', 'wxwidgets-native'] and
el.split() is ['nativesdk-pinentry', 'pinentry', 'pinentry-native'].

So change the compare logic to fix the gap.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 239f22847bcae0cb31769adb0a42b5440173a7c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agoxxhash: fix build with gcc 12
Kai Kang [Fri, 10 Jun 2022 06:54:38 +0000 (14:54 +0800)] 
xxhash: fix build with gcc 12

It fails to compile xxhash when '-Og' is set in CFLAGS via such as set
DEBUG_BUILD = '1' in local.conf. Check and disable inline when '-Og'
exists.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3464c67cd34acbb1a6705369e34dee8af7e348ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agoarchiver: use bb.note instead of echo
Jose Quaresma [Thu, 9 Jun 2022 16:42:07 +0000 (17:42 +0100)] 
archiver: use bb.note instead of echo

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6420c8a6a8143f53ccad7ab2d56b2ba06db83099)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agomeson.bbclass: add cython binary to cross/native toolchain config
Jack Mitchell [Thu, 9 Jun 2022 14:17:32 +0000 (15:17 +0100)] 
meson.bbclass: add cython binary to cross/native toolchain config

This allows building Cython based Python modules with the native
meson support which has been present since meson version 0.59.

https://mesonbuild.com/Cython.html

Signed-off-by: Jack Mitchell <ml@embed.me.uk>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1dcb1eb69032c30f5a8faf4d7120fc6c4ecd051)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agodevtool: Fix _copy_file() TypeError
Xiaobing Luo [Thu, 9 Jun 2022 11:47:03 +0000 (11:47 +0000)] 
devtool: Fix _copy_file() TypeError

when devtool finish, the _copy_file() failed.
--------------------------------------------
TypeError: _copy_file() got an unexpected keyword argument
'base_outdir'
--------------------------------------------

Fixes: 05f2d5d2ce00 ("devtool: finish: add dry-run option")
Signed-off-by: Xiaobing Luo <luoxiaobing0926@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a45d9dc089fb2719ca69b92870917f8c0925f632)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agoselftest/multiconfig: Test that multiconfigs in separate layers works
Richard Purdie [Thu, 9 Jun 2022 09:42:09 +0000 (10:42 +0100)] 
selftest/multiconfig: Test that multiconfigs in separate layers works

We should test that mutliconfigs from a layer work, not just build/conf.
This adds such a test.

[YOCTO #13566]

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 2306261fb85d5d03145989c3af9c6897111644ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agouboot-sign: Fix potential index error issues
Richard Purdie [Thu, 9 Jun 2022 08:58:35 +0000 (09:58 +0100)] 
uboot-sign: Fix potential index error issues

Someone reported that if some other shell function has left i or j set,
the concat_dtb_helper function could fail. Add a small tweak to avoid this.

[YOCTO #14815]

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 d219c97bdf5d30be89795fbf9b66ddc367bef384)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agovim: Upgrade 8.2.5034 -> 8.2.5083
Richard Purdie [Tue, 14 Jun 2022 21:24:18 +0000 (22:24 +0100)] 
vim: Upgrade 8.2.5034 -> 8.2.5083

Includes fixes for CVE-2022-1927, CVE-2022-1942.

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 1e740b5c2227c0040621ae63436d06db4873670f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agorootfs.py: close kernel_abi_ver_file
Martin Jansa [Tue, 7 Jun 2022 20:52:42 +0000 (22:52 +0200)] 
rootfs.py: close kernel_abi_ver_file

* fixes:
  oe-core/meta/lib/oe/rootfs.py:331: ResourceWarning: unclosed file <_io.TextIOWrapper name='pkgdata/mach/kernel-depmod/kernel-abiversion' mode='r' encoding='UTF-8'>
  kernel_ver = open(kernel_abi_ver_file).read().strip(' \n')

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9dd8ee063c1132265248457fcd628e1e93727be)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
22 months agobuildhistory.bbclass: fix shell syntax when using dash
Martin Jansa [Tue, 7 Jun 2022 20:52:41 +0000 (22:52 +0200)] 
buildhistory.bbclass: fix shell syntax when using dash

* fix:
  run.buildhistory_get_image_installed.791888: 198: [: unexpected operator

  introduced in:
  commit 82e6172c1df378dff4e503aa878501c08937b5bb
  Author: Andres Beltran <abeltran@linux.microsoft.com>
  Date:   Tue Oct 5 00:34:15 2021 +0000

    buildhistory: Fix package output files for SDKs

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9852bedcb9eb8306a3f82f805ec4f76abbbbdd0f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agosystemd: Correct 0001-pass-correct-parameters-to-getdents64.patch
Jiaqing Zhao [Tue, 7 Jun 2022 02:49:23 +0000 (10:49 +0800)] 
systemd: Correct 0001-pass-correct-parameters-to-getdents64.patch

Current patch removes the uint8_t* cast in src/basic/recurse-dir.c:57
to fix musl build, but it changes the value here as pointer arithmetic
is type-depended in C. This patch corrects the behavior by adding an
extra cast to struct dirent*.

Also changes the patch's Upstream-Status to Inappropriate as it's musl-
specific.

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9e43d7f7488c4da8598759c4882cceeda9d2095)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolttng-modules: fix shell syntax
Martin Jansa [Tue, 7 Jun 2022 17:18:02 +0000 (19:18 +0200)] 
lttng-modules: fix shell syntax

* add missing space to fix:
  /bin/sh: 1: [: Illegal number: 119)
  shown in the log.do_compile (isn't fatal for the build)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8f785f35c8a9cdc0107fbaa76b20df5199159ee0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolttng-modules: Fix build failure for 5.10.119+ and 5.15.44+ kernel
He Zhe [Thu, 2 Jun 2022 07:39:42 +0000 (15:39 +0800)] 
lttng-modules: Fix build failure for 5.10.119+ and 5.15.44+ kernel

The following kernel commit has been back ported to v5.10.119 and v5.15.44.

commit 14c174633f349cb41ea90c2c0aaddac157012f74
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Thu Feb 10 16:40:44 2022 +0100

  random: remove unused tracepoints

  These explicit tracepoints aren't really used and show sign of aging.
  It's work to keep these up to date, and before I attempted to keep them
  up to date, they weren't up to date, which indicates that they're not
  really used. These days there are better ways of introspecting anyway.

Which causes the following build failure
lttng-modules-2.13.3/src/probes/lttng-probe-random.c:18:10: fatal error: trace/events/random.h: No such file or directory
|    18 | #include <trace/events/random.h>
|       |          ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c8effd12cae7c7024f8e6c8f6ef70ed602d380ed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolttng-modules: fix build against 5.18-rc7+
Bruce Ashfield [Fri, 20 May 2022 00:46:09 +0000 (20:46 -0400)] 
lttng-modules: fix build against 5.18-rc7+

lttng-modules fails to build against 5.18-rc7, the details of the fix
are as follows:

   The commit [fix: sched/tracing: Don't re-read p->state when emitting
   sched_switch event (v5.18)] was correct, but the kernel changed their
   mind with the following commit:

      commit 9c2136be0878c88c53dea26943ce40bb03ad8d8d
      Author: Delyan Kratunov <delyank@fb.com>
      Date:   Wed May 11 18:28:36 2022 +0000

          sched/tracing: Append prev_state to tp args instead

          Commit fa2c3254d7cf (sched/tracing: Don't re-read p->state when emitting
          sched_switch event, 2022-01-20) added a new prev_state argument to the
          sched_switch tracepoint, before the prev task_struct pointer.

          This reordering of arguments broke BPF programs that use the raw
          tracepoint (e.g. tp_btf programs). The type of the second argument has
          changed and existing programs that assume a task_struct* argument
          (e.g. for bpf_task_storage access) will now fail to verify.

          If we instead append the new argument to the end, all existing programs
          would continue to work and can conditionally extract the prev_state
          argument on supported kernel versions.

Fixes: fa2c3254d7cf (sched/tracing: Don't re-read p->state when emitting sched_switch event, 2022-01-20)
Signed-off-by: Delyan Kratunov <delyank@fb.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://lkml.kernel.org/r/c8a6930dfdd58a4a5755fc01732675472979732b.camel@fb.com
   By reordering the parameters (again) we can get back up and building.

Upstream-Status: Backport

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb69e5cfb043a15354beb2d613772aa0233d12ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolinux-yocto/5.10: update to v5.10.119
Bruce Ashfield [Tue, 7 Jun 2022 13:59:37 +0000 (09:59 -0400)] 
linux-yocto/5.10: update to v5.10.119

Updating  to the latest korg -stable release that comprises
the following commits:

    56c31ac1d8aa Linux 5.10.119
    7c57f2134988 ALSA: ctxfi: Add SB046x PCI ID
    514f58734001 random: check for signals after page of pool writes
    18c261e9485a random: wire up fops->splice_{read,write}_iter()
    cf8f8d37586f random: convert to using fops->write_iter()
    affa1ae52219 random: convert to using fops->read_iter()
    4bb374a1183b random: unify batched entropy implementations
    552ae8e4841b random: move randomize_page() into mm where it belongs
    5f2a040b2fb4 random: move initialization functions out of hot pages
    02102b63bd96 random: make consistent use of buf and len
    33783ca3556e random: use proper return types on get_random_{int,long}_wait()
    1fdd7eef2100 random: remove extern from functions in header
    811afd06e0f3 random: use static branch for crng_ready()
    04d61b96bd8a random: credit architectural init the exact amount
    5123cc61e27d random: handle latent entropy and command line from random_init()
    9320e087f2b6 random: use proper jiffies comparison macro
    31ac294037be random: remove ratelimiting for in-kernel unseeded randomness
    b50f2830b3df random: move initialization out of reseeding hot path
    4c4110c052e8 random: avoid initializing twice in credit race
    cef9010b78c4 random: use symbolic constants for crng_init states
    30e9f362661c siphash: use one source of truth for siphash permutations
    772edeb8c76a random: help compiler out with fast_mix() by using simpler arguments
    18413472339b random: do not use input pool from hard IRQs
    999b0c9e8a97 random: order timer entropy functions below interrupt functions
    ce3c4ff38186 random: do not pretend to handle premature next security model
    24d327568578 random: use first 128 bits of input as fast init
    273aebb50be6 random: do not use batches when !crng_ready()
    f4c98fe1d100 random: insist on random_get_entropy() existing in order to simplify
    ffcfdd5de9d0 xtensa: use fallback for random_get_entropy() instead of zero
    e1ea0e26d3e4 sparc: use fallback for random_get_entropy() instead of zero
    a5092be129cf um: use fallback for random_get_entropy() instead of zero
    25d4fdf1f0f8 x86/tsc: Use fallback for random_get_entropy() instead of zero
    0b93f40cbe97 nios2: use fallback for random_get_entropy() instead of zero
    fdca77508152 arm: use fallback for random_get_entropy() instead of zero
    d5531246afcf mips: use fallback for random_get_entropy() instead of just c0 random
    714def449776 riscv: use fallback for random_get_entropy() instead of zero
    84397906a603 m68k: use fallback for random_get_entropy() instead of zero
    7690be1adf8a timekeeping: Add raw clock fallback for random_get_entropy()
    07b5d0b3e2cc powerpc: define get_cycles macro for arch-override
    30ee01bcdc2c alpha: define get_cycles macro for arch-override
    c55a863c304e parisc: define get_cycles macro for arch-override
    641d1fbd9667 s390: define get_cycles macro for arch-override
    c895438b172c ia64: define get_cycles macro for arch-override
    7d9eab78bed9 init: call time_init() before rand_initialize()
    ec25e386d381 random: fix sysctl documentation nits
    9dff512945f1 random: document crng_fast_key_erasure() destination possibility
    a1b5c849d855 random: make random_get_entropy() return an unsigned long
    72a9ec8d7514 random: allow partial reads if later user copies fail
    1805d20dfb67 random: check for signals every PAGE_SIZE chunk of /dev/[u]random
    9641d9b4303f random: check for signal_pending() outside of need_resched() check
    26ee8fa4dfda random: do not allow user to keep crng key around on stack
    bb515a5beff2 random: do not split fast init input in add_hwgenerator_randomness()
    be0d4e3e96ad random: mix build-time latent entropy into pool at init
    bb563d06c5bc random: re-add removed comment about get_random_{u32,u64} reseeding
    f3bc5eca83d3 random: treat bootloader trust toggle the same way as cpu trust toggle
    7cb6782146b8 random: skip fast_init if hwrng provides large chunk of entropy
    083ab33951e4 random: check for signal and try earlier when generating entropy
    20da9c6079df random: reseed more often immediately after booting
    9891211dfe03 random: make consistent usage of crng_ready()
    95a1c94a1bd7 random: use SipHash as interrupt entropy accumulator
    849e7b744cf2 random: replace custom notifier chain with standard one
    66307429b5df random: don't let 644 read-only sysctls be written to
    4c74ca006afe random: give sysctl_random_min_urandom_seed a more sensible value
    0964a76fd58b random: do crng pre-init loading in worker rather than irq
    192d4c6cb3e2 random: unify cycles_t and jiffies usage and types
    47f0e89b71e2 random: cleanup UUID handling
    9b0e0e27140d random: only wake up writers after zap if threshold was passed
    c47f215ab36d random: round-robin registers as ulong, not u32
    5064550d422d random: clear fast pool, crng, and batches in cpuhp bring up
    6e1cb84cc6a0 random: pull add_hwgenerator_randomness() declaration into random.h
    32252548b50f random: check for crng_init == 0 in add_device_randomness()
    684e9fe92d44 random: unify early init crng load accounting
    f656bd0011fd random: do not take pool spinlock at boot
    5d73e69a5dd4 random: defer fast pool mixing to worker
    7873321cd88f random: rewrite header introductory comment
    6d1671b6d253 random: group sysctl functions
    21ae543e3afb random: group userspace read/write functions
    f04580811d26 random: group entropy collection functions
    e9ff357860ab random: group entropy extraction functions
    d7e5b1925a67 random: group crng functions
    6b1ffb3b5a08 random: group initialization wait functions
    6c9cee15555d random: remove whitespace and reorder includes
    7b0f36f7c252 random: remove useless header comment
    b3901816545e random: introduce drain_entropy() helper to declutter crng_reseed()
    0971c1c2fdc6 random: deobfuscate irq u32/u64 contributions
    ae1b8f19542f random: add proper SPDX header
    9342656c013d random: remove unused tracepoints
    17ad693cd214 random: remove ifdef'd out interrupt bench
    28683a188537 random: tie batched entropy generation to base_crng generation
    adc32acf23db random: fix locking for crng_init in crng_reseed()
    bb63851c2557 random: zero buffer after reading entropy from userspace
    63c1aae40ac1 random: remove outdated INT_MAX >> 6 check in urandom_read()
    07280d2c3f33 random: make more consistent use of integer types
    655a69cb41e0 random: use hash function for crng_slow_load()
    95026060d809 random: use simpler fast key erasure flow on per-cpu keys
    732872aa2c41 random: absorb fast pool into input pool after fast load
    7a5b9ca583f9 random: do not xor RDRAND when writing into /dev/random
    16a6e4ae71e2 random: ensure early RDSEED goes through mixer on init
    c521bf08ee69 random: inline leaves of rand_initialize()
    70377ee0740c random: get rid of secondary crngs
    c36e71b5a52e random: use RDSEED instead of RDRAND in entropy extraction
    1d1582e5fe52 random: fix locking in crng_fast_load()
    0762b7d1f1ad random: remove batched entropy locking
    8d07e2a22687 random: remove use_input_pool parameter from crng_reseed()
    b07fcd9e53fa random: make credit_entropy_bits() always safe
    32d1d7ce3aad random: always wake up entropy writers after extraction
    985292206167 random: use linear min-entropy accumulation crediting
    bb9c45cfb97e random: simplify entropy debiting
    de0727c0c448 random: use computational hash for entropy extraction
    e0cc561e4758 random: only call crng_finalize_init() for primary_crng
    480fd91dcdc7 random: access primary_pool directly rather than through pointer
    0b9e36e895bb random: continually use hwgenerator randomness
    6d2d29f051be random: simplify arithmetic function flow in account()
    a0653a9ec15e random: selectively clang-format where it makes sense
    bccc8d92310d random: access input_pool_data directly rather than through pointer
    a9db850c219f random: cleanup fractional entropy shift constants
    edd294052e77 random: prepend remaining pool constants with POOL_
    f87f50b843e4 random: de-duplicate INPUT_POOL constants
    09ae6b851979 random: remove unused OUTPUT_POOL constants
    8cc5260c19da random: rather than entropy_store abstraction, use global
    5897e06ac15a random: remove unused extract_entropy() reserved argument
    ae093ca1256e random: remove incomplete last_data logic
    7abbc9809fa0 random: cleanup integer types
    c9e108e36dc8 random: cleanup poolinfo abstraction
    8a3b78f9177c random: fix typo in comments
    0ad5d6384d25 random: don't reset crng_init_cnt on urandom_read()
    17420c77f04c random: avoid superfluous call to RDRAND in CRNG extraction
    c245231aecd3 random: early initialization of ChaCha constants
    efaddd56bc54 random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefs
    644320410266 random: harmonize "crng init done" messages
    ca57d51126e4 random: mix bootloader randomness into pool
    542d8ebedb4d random: do not re-init if crng_reseed completes before primary init
    2bfdf588a811 random: do not sign extend bytes for rotation when mixing
    685200b076ff random: use BLAKE2s instead of SHA1 in extraction
    33c30bfe4fb4 random: remove unused irq_flags argument from add_interrupt_randomness()
    b57a88874088 random: document add_hwgenerator_randomness() with other input functions
    ae33c501e059 lib/crypto: blake2s: avoid indirect calls to compression function for Clang CFI
    07918ddba3ab lib/crypto: sha1: re-roll loops to reduce code size
    5fb6a3ba3af6 lib/crypto: blake2s: move hmac construction into wireguard
    62531d446a98 lib/crypto: blake2s: include as built-in
    aec0878b1d13 crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>
    030d3443aa61 crypto: blake2s - adjust include guard naming
    fea91e907076 crypto: blake2s - add comment for blake2s_state fields
    d45ae768b71b crypto: blake2s - optimize blake2s initialization
    6c362b7c7764 crypto: blake2s - share the "shash" API boilerplate code
    72e5b68f33a1 crypto: blake2s - move update and final logic to internal/blake2s.h
    e467a55bd006 crypto: blake2s - remove unneeded includes
    198a19d7ee95 crypto: x86/blake2s - define shash_alg structs using macros
    89f9ee998e36 crypto: blake2s - define shash_alg structs using macros
    0f8fcf5b6ed7 crypto: lib/blake2s - Move selftest prototype into header file
    c3a4645d803e MAINTAINERS: add git tree for random.c
    c4882c6e1ec9 MAINTAINERS: co-maintain random.c
    acb198c4d11f random: remove dead code left over from blocking pool
    6227458fef95 random: avoid arch_get_random_seed_long() when collecting IRQ randomness
    257fbea15ab1 ACPI: sysfs: Fix BERT error region memory mapping
    14fa2769ea6c ACPI: sysfs: Make sparse happy about address space in use
    0debc69f003b media: vim2m: initialize the media device earlier
    ed0e71cc3f1e media: vim2m: Register video device after setting up internals
    a5c68f457fbf secure_seq: use the 64 bits of the siphash for port offset calculation
    33f1b4a27abc tcp: change source port randomizarion at connect() time
    9b4aa0d80b18 KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID
    74c6e5d58435 KVM: x86: Properly handle APF vs disabled LAPIC situation
    c06e5f751a08 staging: rtl8723bs: prevent ->Ssid overflow in rtw_wx_set_scan()
    a8f4d63142f9 lockdown: also lock down previous kgdb use

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e03685b0263e127777baa3440c15db0de9fff523)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolinux-yocto/5.15: update to v5.15.44
Bruce Ashfield [Tue, 7 Jun 2022 13:59:36 +0000 (09:59 -0400)] 
linux-yocto/5.15: update to v5.15.44

Updating  to the latest korg -stable release that comprises
the following commits:

    4e67be407725 Linux 5.15.44
    50196b5d73dc ALSA: ctxfi: Add SB046x PCI ID
    ea5b87349d5a random: check for signals after page of pool writes
    3e167570a951 random: wire up fops->splice_{read,write}_iter()
    0789c69644c8 random: convert to using fops->write_iter()
    7f8cea12a494 random: convert to using fops->read_iter()
    6244da28c6b3 random: unify batched entropy implementations
    64cb7f01ddd2 random: move randomize_page() into mm where it belongs
    55a368c3e850 random: move initialization functions out of hot pages
    542a60612d2a random: make consistent use of buf and len
    29ed26a33436 random: use proper return types on get_random_{int,long}_wait()
    55729575eaa9 random: remove extern from functions in header
    c6ae9d65bcdb random: use static branch for crng_ready()
    4e5e6754a4b6 random: credit architectural init the exact amount
    11cce5040c29 random: handle latent entropy and command line from random_init()
    ac0172992c94 random: use proper jiffies comparison macro
    8df752b82ec5 random: remove ratelimiting for in-kernel unseeded randomness
    272b79432f66 random: move initialization out of reseeding hot path
    c4e600154ac0 random: avoid initializing twice in credit race
    23a1b984f4b8 random: use symbolic constants for crng_init states
    f4cb809a90df siphash: use one source of truth for siphash permutations
    82caef84092e random: help compiler out with fast_mix() by using simpler arguments
    4649394c4749 random: do not use input pool from hard IRQs
    df4e319ea60f random: order timer entropy functions below interrupt functions
    baf06217704b random: do not pretend to handle premature next security model
    0d24003b5fde random: use first 128 bits of input as fast init
    0d79a47b4ae0 random: do not use batches when !crng_ready()
    1ab530cf40dc random: insist on random_get_entropy() existing in order to simplify
    e6bd242523e8 xtensa: use fallback for random_get_entropy() instead of zero
    b4582cb35167 sparc: use fallback for random_get_entropy() instead of zero
    d876dca6edf3 um: use fallback for random_get_entropy() instead of zero
    e017497815f3 x86/tsc: Use fallback for random_get_entropy() instead of zero
    38fbfa404da6 nios2: use fallback for random_get_entropy() instead of zero
    197d25e068c0 arm: use fallback for random_get_entropy() instead of zero
    9e6db825e87a mips: use fallback for random_get_entropy() instead of just c0 random
    2ab416043a94 riscv: use fallback for random_get_entropy() instead of zero
    a1428cd7e194 m68k: use fallback for random_get_entropy() instead of zero
    82f182812f17 timekeeping: Add raw clock fallback for random_get_entropy()
    bc94ccb2904e powerpc: define get_cycles macro for arch-override
    8ca78fbdeba0 alpha: define get_cycles macro for arch-override
    9bf990cff673 parisc: define get_cycles macro for arch-override
    e05efd31b9db s390: define get_cycles macro for arch-override
    9f174326e35c ia64: define get_cycles macro for arch-override
    807ed9c29586 init: call time_init() before rand_initialize()
    2814a9e632db random: fix sysctl documentation nits
    4179671f496b random: document crng_fast_key_erasure() destination possibility
    8b373c113a4c random: make random_get_entropy() return an unsigned long
    b8078810e44d random: allow partial reads if later user copies fail
    ccaaff57ed50 random: check for signals every PAGE_SIZE chunk of /dev/[u]random
    02c2e2ca3610 random: check for signal_pending() outside of need_resched() check
    e7e196e1ae26 random: do not allow user to keep crng key around on stack
    be7561767ce8 random: do not split fast init input in add_hwgenerator_randomness()
    636b057e2a1a random: mix build-time latent entropy into pool at init
    3967a200367c random: re-add removed comment about get_random_{u32,u64} reseeding
    25727cbbe9b4 random: treat bootloader trust toggle the same way as cpu trust toggle
    a704248b4590 random: skip fast_init if hwrng provides large chunk of entropy
    3689ac035180 random: check for signal and try earlier when generating entropy
    94c8249efa76 random: reseed more often immediately after booting
    99290c6898b2 random: make consistent usage of crng_ready()
    0c66c876393b random: use SipHash as interrupt entropy accumulator
    6da877d2d46b random: replace custom notifier chain with standard one
    39c9e5566ac5 random: don't let 644 read-only sysctls be written to
    e4e1600a674f random: give sysctl_random_min_urandom_seed a more sensible value
    2c60d7f38d64 random: do crng pre-init loading in worker rather than irq
    1523ec5324e9 random: unify cycles_t and jiffies usage and types
    fdb1e54472c3 random: cleanup UUID handling
    c169e7a09cd4 random: only wake up writers after zap if threshold was passed
    e400ba11a241 random: round-robin registers as ulong, not u32
    144c1e7ecf00 random: clear fast pool, crng, and batches in cpuhp bring up
    80c1f7f8f3cd random: pull add_hwgenerator_randomness() declaration into random.h
    98d6def672fd random: check for crng_init == 0 in add_device_randomness()
    9df4a56fad32 random: unify early init crng load accounting
    d386b087056a random: do not take pool spinlock at boot
    3c48a2da32ef random: defer fast pool mixing to worker
    9489e36e2150 random: rewrite header introductory comment
    9385681af846 random: group sysctl functions
    96340f035df6 random: group userspace read/write functions
    74b704245f31 random: group entropy collection functions
    43e87e6f3317 random: group entropy extraction functions
    019e057db9b1 random: group crng functions
    81e62ff1f650 random: group initialization wait functions
    d3a2510216b4 random: remove whitespace and reorder includes
    30c52e99db0d random: remove useless header comment
    95f85a01584e random: introduce drain_entropy() helper to declutter crng_reseed()
    c807eca035c3 random: deobfuscate irq u32/u64 contributions
    f641f9495d6f random: add proper SPDX header
    ce951e9672df random: remove unused tracepoints
    4509941f75ac random: remove ifdef'd out interrupt bench
    ad5d17d0faf9 random: tie batched entropy generation to base_crng generation
    86ab60616ec6 random: fix locking for crng_init in crng_reseed()
    d2d1ad9430b1 random: zero buffer after reading entropy from userspace
    eda555356b39 random: remove outdated INT_MAX >> 6 check in urandom_read()
    5dd066ade820 random: make more consistent use of integer types
    ba789caa17a0 random: use hash function for crng_slow_load()
    b27bd09d0544 random: use simpler fast key erasure flow on per-cpu keys
    1aab83f96663 random: absorb fast pool into input pool after fast load
    4a18db164cbb random: do not xor RDRAND when writing into /dev/random
    b51caadb18a7 random: ensure early RDSEED goes through mixer on init
    fd6eb2800589 random: inline leaves of rand_initialize()
    5e4fab6fefb1 random: get rid of secondary crngs
    ded4cc806d0d random: use RDSEED instead of RDRAND in entropy extraction
    704c76e08804 random: fix locking in crng_fast_load()
    67fdda9af773 random: remove batched entropy locking
    ad86aa8ec90f random: remove use_input_pool parameter from crng_reseed()
    1bc9db59b24c random: make credit_entropy_bits() always safe
    3730490111ca random: always wake up entropy writers after extraction
    cb65ac300816 random: use linear min-entropy accumulation crediting
    a6beb8155b9c random: simplify entropy debiting
    a5e2c8a4574a random: use computational hash for entropy extraction
    add92df1cb37 random: only call crng_finalize_init() for primary_crng
    07e015230415 random: access primary_pool directly rather than through pointer
    b53c9666e714 random: continually use hwgenerator randomness
    c1dc53d781fd random: simplify arithmetic function flow in account()
    2f0e83e8326b random: selectively clang-format where it makes sense
    db7a0a9171ed random: access input_pool_data directly rather than through pointer
    c25c7e29be27 random: cleanup fractional entropy shift constants
    68512942c0d7 random: prepend remaining pool constants with POOL_
    2772ba4d5223 random: de-duplicate INPUT_POOL constants
    da80b44cf9cf random: remove unused OUTPUT_POOL constants
    f9efa1a98831 random: rather than entropy_store abstraction, use global
    b6d849d0e2f8 random: remove unused extract_entropy() reserved argument
    578fbb760064 random: remove incomplete last_data logic
    8aa9ddc4db29 random: cleanup integer types
    4330c485f92c random: cleanup poolinfo abstraction
    250bda5d0505 random: fix typo in comments
    15a1a3baf14f random: don't reset crng_init_cnt on urandom_read()
    d47579fb283a random: avoid superfluous call to RDRAND in CRNG extraction
    0c3910447110 random: early initialization of ChaCha constants
    5822fad8d3dc random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefs
    69bb5f0917f9 random: harmonize "crng init done" messages
    c4c9081184e9 random: mix bootloader randomness into pool
    1b1258b91757 random: do not re-init if crng_reseed completes before primary init
    08040365d0b7 random: do not sign extend bytes for rotation when mixing
    2e827d53343a random: use BLAKE2s instead of SHA1 in extraction
    c5a7694fa802 random: remove unused irq_flags argument from add_interrupt_randomness()
    40af1df8034a random: document add_hwgenerator_randomness() with other input functions
    45626449eb25 lib/crypto: blake2s: avoid indirect calls to compression function for Clang CFI
    b0cdd9ec8445 lib/crypto: sha1: re-roll loops to reduce code size
    cba2195416d4 lib/crypto: blake2s: move hmac construction into wireguard
    caba66ec322e lib/crypto: blake2s: include as built-in
    830ecbae41a7 MAINTAINERS: add git tree for random.c
    12d7163380a2 MAINTAINERS: co-maintain random.c
    0da5349e2254 ACPI: sysfs: Fix BERT error region memory mapping
    bf5a3c51e9f7 ice: fix crash at allocation failure
    acd12d165281 KVM: x86/mmu: fix NULL pointer dereference on guest INVPCID
    f82ccfa4835b HID: amd_sfh: Add support for sensor discovery

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20bd31326564cfb29e1442e8bbe2f9765aad5992)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolinux-yocto/5.15: cfg/xen: Move x86 configs to separate file
Bruce Ashfield [Tue, 7 Jun 2022 13:59:35 +0000 (09:59 -0400)] 
linux-yocto/5.15: cfg/xen: Move x86 configs to separate file

Integrating the following commit(s) to linux-yocto/.:

    ad633e22764 features/xen: Move x86 configs to separate file

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a13622703747eb1d7bc4085693d468c2772441b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolinux-yocto/5.15: Enable MDIO bus config
Bruce Ashfield [Tue, 7 Jun 2022 13:59:34 +0000 (09:59 -0400)] 
linux-yocto/5.15: Enable MDIO bus config

Integrating the following commit(s) to linux-yocto/.:

    52919926480 bsp/mti-malta32: enable MDIO for mti-malta32
    963ab127810 bsp/qemuarm64: enable MDIO for qemuarm64
    77d5d5e86c0 cfg/net: introduce mdio fragment

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 161888872b8c02c77733c7b74d11db3ec59c93e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolinux-yocto/5.10: update to v5.10.118
Bruce Ashfield [Tue, 7 Jun 2022 13:59:33 +0000 (09:59 -0400)] 
linux-yocto/5.10: update to v5.10.118

Updating  to the latest korg -stable release that comprises
the following commits:

    c204ee3350eb Linux 5.10.118
    56642f6af2ab module: check for exit sections in layout_sections() instead of module_init_section()
    633be494c3ca include/uapi/linux/xfrm.h: Fix XFRM_MSG_MAPPING ABI breakage
    61a4cc41e5c1 afs: Fix afs_getattr() to refetch file status if callback break occurred
    606011cb6a69 i2c: mt7621: fix missing clk_disable_unprepare() on error in mtk_i2c_probe()
    030de84d453a module: treat exit sections the same as init sections when !CONFIG_MODULE_UNLOAD
    355141fdbfef dt-bindings: pinctrl: aspeed-g6: remove FWQSPID group
    d30fdf7d1343 Input: ili210x - fix reset timing
    a698bf1f728c arm64: Enable repeat tlbi workaround on KRYO4XX gold CPUs
    696292b9b5f6 net: atlantic: verify hw_head_ lies within TX buffer ring
    cd66ab20a8f8 net: atlantic: add check for MAX_SKB_FRAGS
    9bee8b4275ec net: atlantic: reduce scope of is_rsc_complete
    9b84e83a92cd net: atlantic: fix "frag[0] not initialized"
    0ae23a1d472a net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe()
    d4c6e5cebcf5 ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one()
    3a6dee284fa0 nl80211: fix locking in nl80211_set_tx_bitrate_mask()
    efe580c436f9 selftests: add ping test with ping_group_range tuned
    1cfbf6d3a7f6 nl80211: validate S1G channel width
    a0f5ff20496b mac80211: fix rx reordering with non explicit / psmp ack policy
    e21d734fd05c scsi: qla2xxx: Fix missed DMA unmap for aborted commands
    c5af34174733 perf bench numa: Address compiler error on s390
    210ea7da5c1f gpio: mvebu/pwm: Refuse requests with inverted polarity
    30d4721feced gpio: gpio-vf610: do not touch other bits when set the target bit
    ea8a9cb4a779 riscv: dts: sifive: fu540-c000: align dma node name with dtschema
    dfd1f0cb628b net: bridge: Clear offload_fwd_mark when passing frame up bridge interface.
    579061f39143 igb: skip phy status check where unavailable
    a89888648e0c ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2
    1756b45d8d83 ARM: 9196/1: spectre-bhb: enable for Cortex-A15
    7b676abe328a net: af_key: add check for pfkey_broadcast in function pfkey_process
    697f3219ee2f net/mlx5e: Properly block LRO when XDP is enabled
    b503d0228c92 NFC: nci: fix sleep in atomic context bugs caused by nci_skb_alloc
    42d4287cc1e4 net/qla3xxx: Fix a test in ql_reset_work()
    d35bf8d766b1 clk: at91: generated: consider range when calculating best rate
    9e0e75a5e753 ice: fix possible under reporting of ethtool Tx and Rx statistics
    6e2caee5cddc net: vmxnet3: fix possible NULL pointer dereference in vmxnet3_rq_cleanup()
    a54d86cf4184 net: vmxnet3: fix possible use-after-free bugs in vmxnet3_rq_alloc_rx_buf()
    201e5b5c2799 net: systemport: Fix an error handling path in bcm_sysport_probe()
    9bfe898e2b76 net/sched: act_pedit: sanitize shift argument before usage
    47f04f95edb1 xfrm: fix "disable_policy" flag use when arriving from different devices
    0d2e9d8000ef xfrm: rework default policy structure
    57c1bbe7098b xfrm: fix dflt policy check when there is no policy configured
    9856c3a129dd xfrm: notify default policy on update
    20fd28df4049 xfrm: make user policy API complete
    ab610ee1d1a1 net: xfrm: fix shift-out-of-bounce
    5b7f84b1f9f4 xfrm: Add possibility to set the default to block if we have no policy
    243e72e20446 net: evaluate net.ipvX.conf.all.disable_policy and disable_xfrm
    1bc27eb71b55 net: macb: Increment rx bd head after allocating skb and buffer
    998e305bd160 net: ipa: record proper RX transaction count
    0599d5a8b4e1 ARM: dts: aspeed-g6: fix SPI1/SPI2 quad pin group
    0a2847d44812 pinctrl: pinctrl-aspeed-g6: remove FWQSPID group in pinctrl
    d8ca684c3d3b ARM: dts: aspeed-g6: remove FWQSPID group in pinctrl dtsi
    3fc28460998a dma-buf: fix use of DMA_BUF_SET_NAME_{A,B} in userspace
    e5289affbacc drm/dp/mst: fix a possible memory leak in fetch_monitor_name()
    8ceca1a0693a libceph: fix potential use-after-free on linger ping and resends
    233a3cc60e7a crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ
    6013ef5f51e0 arm64: mte: Ensure the cleared tags are visible before setting the PTE
    a817f78ed69b arm64: paravirt: Use RCU read locks to guard stolen_time
    b49bc8d615ee KVM: x86/mmu: Update number of zapped pages even if page list is stable
    146128ba265d PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold
    ec0d801d1a44 Fix double fget() in vhost_net_set_backend()
    b42e5e3a84dd selinux: fix bad cleanup on error in hashtab_duplicate()
    3ee8e109c3c3 perf: Fix sys_perf_event_open() race against self
    18fb7d533c79 ALSA: hda/realtek: Add quirk for TongFang devices with pop noise
    3eaf770163b7 ALSA: wavefront: Proper check of get_user() error
    a34d018b6eab ALSA: usb-audio: Restore Rane SL-1 quirk
    f3f2247ac31c Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    e2cfa7b0935c Revert "swiotlb: fix info leak with DMA_FROM_DEVICE"
    fe5ac3da50a9 nilfs2: fix lockdep warnings during disk space reclamation
    d626fcdabea2 nilfs2: fix lockdep warnings in page operations for btree nodes
    aca18bacdb71 ARM: 9191/1: arm/stacktrace, kasan: Silence KASAN warnings in unwind_frame()
    0acaf9cacd4f platform/chrome: cros_ec_debugfs: detach log reader wq from devm
    5a19f3c2d3b6 drbd: remove usage of list iterator variable after loop
    9b7f3211064d MIPS: lantiq: check the return value of kzalloc()
    05c073b1ad25 fs: fix an infinite loop in iomap_fiemap
    00d8b06a4ed4 rtc: mc146818-lib: Fix the AltCentury for AMD platforms
    87fd0dd43e9c nvme-multipath: fix hang when disk goes live over reconnect
    3663d6023aa2 tools/virtio: compile with -pthread
    5a4cbcb3df45 vhost_vdpa: don't setup irq offloading when irq_num < 0
    f0931ee125ff s390/pci: improve zpci_dev reference counting
    7d3f69cbdec8 ALSA: hda/realtek: Enable headset mic on Lenovo P360
    a59450656bcd crypto: x86/chacha20 - Avoid spurious jumps to other functions
    39acee8aea3d crypto: stm32 - fix reference leak in stm32_crc_remove
    703c80ff4330 rtc: sun6i: Fix time overflow handling
    bab037ebbe7d gfs2: Disable page faults during lockless buffered reads
    e803f12ea27f nvme-pci: add quirks for Samsung X5 SSDs
    5565fc538ded Input: stmfts - fix reference leak in stmfts_input_open
    d5e88c2d76ef Input: add bounds checking to input_set_capability()
    ea6a86886caa um: Cleanup syscall_handler_t definition/cast, fix warning
    c39b91fcd5e3 rtc: pcf2127: fix bug when reading alarm registers
    2b4e5a2d7da0 rtc: fix use-after-free on device removal
    67136fff5b9a igc: Update I226_K device ID
    d0229838b63c igc: Remove phy->type checking
    170110adbecc igc: Remove _I_PHY_ID checking
    55c820c1b2b6 Revert "drm/i915/opregion: check port number bounds for SWSCI display power state"
    911b36267855 floppy: use a statically allocated error counter
    3c48558be571 io_uring: always grab file table for deferred statx
    a1a2c957da58 usb: gadget: fix race when gadget driver register via ioctl
    7686a5c2a8d3 Linux 5.10.117
    937c6b0e3e94 SUNRPC: Fix fall-through warnings for Clang
    29f077d07051 io_uring: always use original task when preparing req identity
    1444e0568bc2 usb: gadget: uvc: allow for application to cleanly shutdown
    42505e362285 usb: gadget: uvc: rename function to be more consistent
    002e7223dc1b ping: fix address binding wrt vrf
    d9a1e82bf656 arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map
    49750c5e9acb net: phy: Fix race condition on link status change
    e68b60ae29de SUNRPC: Ensure we flush any closed sockets before xs_xprt_free()
    dbe6974a39ac SUNRPC: Don't call connect() more than once on a TCP socket
    47541ed4d47b SUNRPC: Prevent immediate close+reconnect
    2ab569edd883 SUNRPC: Clean up scheduling of autoclose
    85844ea29f82 drm/vmwgfx: Initialize drm_mode_fb_cmd2
    7e849dbe604d cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp()
    6aa239d82e35 net: atlantic: always deep reset on pm op, fixing up my null deref regression
    6158df4fa5c2 i40e: i40e_main: fix a missing check on list iterator
    819796024cce drm/nouveau/tegra: Stop using iommu_present()
    e06605af8bdc ceph: fix setting of xattrs on async created inodes
    86db01f37347 serial: 8250_mtk: Fix register address for XON/XOFF character
    84ad84e495ae serial: 8250_mtk: Fix UART_EFR register address
    f8d8440f1357 slimbus: qcom: Fix IRQ check in qcom_slim_probe
    d7b7c5532a83 USB: serial: option: add Fibocom MA510 modem
    2ba0034e3649 USB: serial: option: add Fibocom L610 modem
    319b312edb8e USB: serial: qcserial: add support for Sierra Wireless EM7590
    994395f356ea USB: serial: pl2303: add device id for HP LM930 Display
    8276a3dbe21d usb: typec: tcpci_mt6360: Update for BMC PHY setting
    54979aa49e0f usb: typec: tcpci: Don't skip cleanup in .remove() on error
    7335a6b11d13 usb: cdc-wdm: fix reading stuck on device close
    6d47eceaf311 tty: n_gsm: fix mux activation issues in gsm_config()
    69139a45b89b tty/serial: digicolor: fix possible null-ptr-deref in digicolor_uart_probe()
    5a7358111636 firmware_loader: use kernel credentials when reading firmware
    d254309aab27 tcp: resalt the secret every 10 seconds
    3abbfac1ab24 net: sfp: Add tx-fault workaround for Huawei MA5671A SFP ONT
    48f1dd67a83f net: emaclite: Don't advertise 1000BASE-T and do auto negotiation
    5c09dbdfd4fc s390: disable -Warray-bounds
    03ebc6fd5c9d ASoC: ops: Validate input values in snd_soc_put_volsw_range()
    31606a73baa3 ASoC: max98090: Generate notifications on changes for custom control
    ce154bd3bc43 ASoC: max98090: Reject invalid values in custom control put()
    5ecaaaeb2c76 hwmon: (f71882fg) Fix negative temperature
    88091c0275b2 gfs2: Fix filesystem block deallocation for short writes
    fccf4bf3f25d tls: Fix context leak on tls_device_down
    161c4edeca45 net: sfc: ef10: fix memory leak in efx_ef10_mtd_probe()
    d5e1b41bf7e0 net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending
    e417a8fceaa9 net: dsa: bcm_sf2: Fix Wake-on-LAN with mac_link_down()
    9012209f4357 net: bcmgenet: Check for Wake-on-LAN interrupt probe deferral
    abe35bf3be51 net/sched: act_pedit: really ensure the skb is writable
    b816ed53f318 s390/lcs: fix variable dereferenced before check
    4d3c6d741816 s390/ctcm: fix potential memory leak
    5497f87edcda s390/ctcm: fix variable dereferenced before check
    cc71c9f17caf selftests: vm: Makefile: rename TARGETS to VMTARGETS
    ce12e5ff8de8 hwmon: (ltq-cputemp) restrict it to SOC_XWAY
    ceb3db723fda dim: initialize all struct fields
    8b1b8fc819f7 ionic: fix missing pci_release_regions() on error in ionic_probe()
    2cb8689f45f2 nfs: fix broken handling of the softreval mount option
    49c10784b955 mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection
    79432d223728 net: sfc: fix memory leak due to ptp channel
    bdb8d4aed1cf sfc: Use swap() instead of open coding it
    33c93f6e5598 netlink: do not reset transport header in netlink_recvmsg()
    9e40f2c51392 drm/nouveau: Fix a potential theorical leak in nouveau_get_backlight_name()
    54f26fc07e6d ipv4: drop dst in multicast routing path
    c07a84492ffe net: mscc: ocelot: avoid corrupting hardware counters when moving VCAP filters
    abb237c544f1 net: mscc: ocelot: restrict tc-trap actions to VCAP IS2 lookup 0
    f9674c52a158 net: mscc: ocelot: fix VCAP IS2 filters matching on both lookups
    c1184d2888a3 net: mscc: ocelot: fix last VCAP IS1/IS2 filter persisting in hardware when deleted
    e2cdde89d253 net: Fix features skip in for_each_netdev_feature()
    c420d6604706 mac80211: Reset MBSSID parameters upon connection
    9cbf2a7d5d17 hwmon: (tmp401) Add OF device ID table
    85eba08be2f7 iwlwifi: iwl-dbg: Use del_timer_sync() before freeing
    a6a73781b460 batman-adv: Don't skb_split skbuffs with frag_list
    07a4d3649aef Linux 5.10.116
    d1ac096f8869 mm: userfaultfd: fix missing cache flush in mcopy_atomic_pte() and __mcopy_atomic()
    c6cbf5431a62 mm: hugetlb: fix missing cache flush in copy_huge_page_from_user()
    308ff6a6e768 mm: fix missing cache flush for all tail pages of compound page
    185fa5984d7a Bluetooth: Fix the creation of hdev->name
    9ff4a6b80642 arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
    dfb55dcf9d39 nfp: bpf: silence bitwise vs. logical OR warning
    f89f76f4b0e7 drm/amd/display/dc/gpio/gpio_service: Pass around correct dce_{version, environment} types
    efd1429fa99b block: drbd: drbd_nl: Make conversion to 'enum drbd_ret_code' explicit
    a71658c7db0b regulator: consumer: Add missing stubs to regulator/consumer.h
    7648f42d1a62 MIPS: Use address-of operator on section symbols
    e61686bb77c4 Linux 5.10.115
    8528806abed5 mmc: rtsx: add 74 Clocks in power on flow
    e1ab92302b44 PCI: aardvark: Fix reading MSI interrupt number
    49143c9ed232 PCI: aardvark: Clear all MSIs at setup
    7676a5b99f3d dm: interlock pending dm_io and dm_wait_for_bios_completion
    a439819f4797 block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern
    a22d66eb518f rcu: Apply callbacks processing time limit only on softirq
    40fb3812d997 rcu: Fix callbacks processing time limit retaining cond_resched()
    43dbc3edada6 KVM: LAPIC: Enable timer posted-interrupt only when mwait/hlt is advertised
    9c8474fa3477 KVM: x86/mmu: avoid NULL-pointer dereference on page freeing bugs
    a474ee5ececc KVM: x86: Do not change ICR on write to APIC_SELF_IPI
    64e3e16dbc26 x86/kvm: Preserve BSP MSR_KVM_POLL_CONTROL across suspend/resume
    5f884e0c2ea6 net/mlx5: Fix slab-out-of-bounds while reading resource dump menu
    599fc32e7421 kvm: x86/cpuid: Only provide CPUID leaf 0xA if host has architectural PMU
    0a960a367216 net: igmp: respect RCU rules in ip_mc_source() and ip_mc_msfilter()
    4fd45ef7042a btrfs: always log symlinks in full mode
    687167eef99e smsc911x: allow using IRQ0
    b280877eab49 selftests: ocelot: tc_flower_chains: specify conform-exceed action for policer
    a9fd5d6cd594 bnxt_en: Fix unnecessary dropping of RX packets
    72e4fc1a4e63 bnxt_en: Fix possible bnxt_open() failure caused by wrong RFS flag
    9ac9f07f0fbb selftests: mirror_gre_bridge_1q: Avoid changing PVID while interface is operational
    475237e807a2 hinic: fix bug of wq out of bound access
    1b9f1f455de2 net: emaclite: Add error handling for of_address_to_resource()
    8459485db70c net: cpsw: add missing of_node_put() in cpsw_probe_dt()
    4eee9809505c net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux()
    2347e9c92270 net: dsa: mt7530: add missing of_node_put() in mt7530_setup()
    1092656cc4ca net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init()
    408fb2680e73 NFSv4: Don't invalidate inode attributes on delegation return
    c1b480e6bed8 RDMA/siw: Fix a condition race issue in MPA request processing
    5bf2a45e3343 selftests/seccomp: Don't call read() on TTY from background pgrp
    3ea0b44c01ee net/mlx5: Avoid double clear or set of sync reset requested
    24553315910c net/mlx5e: Fix the calling of update_buffer_lossy() API
    e07c13fbdded net/mlx5e: CT: Fix queued up restore put() executing after relevant ft release
    d8338a7a0957 net/mlx5e: Don't match double-vlan packets if cvlan is not set
    c7f87ad11584 net/mlx5e: Fix trust state reset in reload
    87f0d9a518b7 ASoC: dmaengine: Restore NULL prepare_slave_config() callback
    ad87f8498ea2 hwmon: (adt7470) Fix warning on module removal
    997b8605e8f3 gpio: pca953x: fix irq_stat not updated when irq is disabled (irq_mask not set)
    879b075a9a36 NFC: netlink: fix sleep in atomic bug when firmware download timeout
    1961c5a688ed nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs
    8a9e7c64f4a0 nfc: replace improper check device_is_registered() in netlink related functions
    11adc9ab3eb3 can: grcan: only use the NAPI poll budget for RX
    4df5e498e0ff can: grcan: grcan_probe(): fix broken system id check for errata workaround needs
    dd973c0185c5 can: grcan: use ofdev->dev when allocating DMA memory
    45bdcb5ca426 can: isotp: remove re-binding of bound socket
    13959b911700 can: grcan: grcan_close(): fix deadlock
    6c7c0e131ec1 s390/dasd: Fix read inconsistency for ESE DASD devices
    6e02c0413a93 s390/dasd: Fix read for ESE with blksize < 4k
    ecc839682770 s390/dasd: prevent double format of tracks for ESE devices
    30e008ab3fe7 s390/dasd: fix data corruption for ESE devices
    d53d47fadd17 ASoC: meson: Fix event generation for AUI CODEC mux
    93a1f0755edc ASoC: meson: Fix event generation for G12A tohdmi mux
    e8b08e2f171b ASoC: meson: Fix event generation for AUI ACODEC mux
    954d55170f43 ASoC: wm8958: Fix change notifications for DSP controls
    f45359824a48 ASoC: da7219: Fix change notifications for tone generator frequency
    e6e61aab4967 genirq: Synchronize interrupt thread startup
    dcf1150f2e69 net: stmmac: disable Split Header (SPH) for Intel platforms
    68f35987d43c firewire: core: extend card->lock in fw_core_handle_bus_reset
    629b4003a71a firewire: remove check of list iterator against head past the loop body
    e757ff4bbc89 firewire: fix potential uaf in outbound_phy_packet_callback()
    70d25d4fba24 Revert "SUNRPC: attempt AF_LOCAL connect on setup"
    466721d7671a drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT
    2e6f3d665a29 iommu/vt-d: Calculate mask for non-aligned flushes
    fbb7c61e7601 KVM: x86/svm: Account for family 17h event renumberings in amd_pmc_perf_hw_id
    b085afe22607 gpiolib: of: fix bounds check for 'gpio-reserved-ranges'
    2b7cb072d07c mmc: core: Set HS clock speed before sending HS CMD13
    66651d719948 mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC
    2906c73632d7 ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes
    03ab174805a3 ALSA: hda/realtek: Add quirk for Yoga Duet 7 13ITL6 speakers
    a196f277c547 parisc: Merge model and model name into one line in /proc/cpuinfo
    326f02f172d0 MIPS: Fix CP0 counter erratum detection for R4k CPUs

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef232218c488c54ffe0270552be03424e04c4526)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolinux-yocto/5.15: update to v5.15.43
Bruce Ashfield [Tue, 7 Jun 2022 13:59:32 +0000 (09:59 -0400)] 
linux-yocto/5.15: update to v5.15.43

Updating  to the latest korg -stable release that comprises
the following commits:

    0e5bb338bf47 Linux 5.15.43
    d12cd0bf5d26 mptcp: Do TCP fallback on early DSS checksum failure
    c5871dddc145 Linux 5.15.42
    94bf8bfb009f afs: Fix afs_getattr() to refetch file status if callback break occurred
    e7647ddf0ac5 i2c: mt7621: fix missing clk_disable_unprepare() on error in mtk_i2c_probe()
    69c5d307dce1 lockdown: also lock down previous kgdb use
    649178c0493e mt76: mt7921e: fix possible probe failure after reboot
    a2797b550755 dt-bindings: pinctrl: aspeed-g6: remove FWQSPID group
    331c57431f7a Input: ili210x - fix reset timing
    149a25b82ca9 arm64: Enable repeat tlbi workaround on KRYO4XX gold CPUs
    47840af397be net: atlantic: verify hw_head_ lies within TX buffer ring
    948ddbdc5663 net: atlantic: add check for MAX_SKB_FRAGS
    2d1b336ffb77 net: atlantic: reduce scope of is_rsc_complete
    d955f45d1a56 net: atlantic: fix "frag[0] not initialized"
    fd721da2df7a net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe()
    b076fa169465 ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one()
    dc5c5b74075f nl80211: fix locking in nl80211_set_tx_bitrate_mask()
    7140149849d2 net: fix wrong network header length
    4f631f9f9d08 fbdev: Prevent possible use-after-free in fb_release()
    92dc6278dec9 Revert "fbdev: Make fb_release() return -ENODEV if fbdev was unregistered"
    9e87c228be71 selftests: add ping test with ping_group_range tuned
    020fb19eae9c nl80211: validate S1G channel width
    4bcc2ab96fce mac80211: fix rx reordering with non explicit / psmp ack policy
    e2c54b945864 scsi: qla2xxx: Fix missed DMA unmap for aborted commands
    d711a211844a scsi: scsi_dh_alua: Properly handle the ALUA transitioning state
    0b56244bda16 perf bench numa: Address compiler error on s390
    dff5463bc750 perf regs x86: Fix arch__intr_reg_mask() for the hybrid platform
    d883b2e9afb1 gpio: mvebu/pwm: Refuse requests with inverted polarity
    e7c6ac3cc2b9 gpio: gpio-vf610: do not touch other bits when set the target bit
    86eac8d76101 perf build: Fix check for btf__load_from_kernel_by_id() in libbpf
    e80793223252 scsi: ufs: core: Fix referencing invalid rsp field
    d0116a3f25e2 riscv: dts: sifive: fu540-c000: align dma node name with dtschema
    11ad6bab26c8 net: bridge: Clear offload_fwd_mark when passing frame up bridge interface.
    88b937673b35 netfilter: flowtable: move dst_check to packet path
    c1e170b11276 netfilter: flowtable: pass flowtable to nf_flow_table_iterate()
    b8835ba8c029 netfilter: flowtable: fix TCP flow teardown
    e723f67cf0c7 igb: skip phy status check where unavailable
    bf6800a39494 mptcp: fix checksum byte order
    f67eeb03fea6 mptcp: reuse __mptcp_make_csum in validate_data_csum
    6e66d31618a9 mptcp: change the parameter of __mptcp_make_csum
    37bb8ea1542b ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2
    b88e30dcdf64 ARM: 9196/1: spectre-bhb: enable for Cortex-A15
    ad54e63b832d net: af_key: add check for pfkey_broadcast in function pfkey_process
    404877831816 net/mlx5e: Properly block LRO when XDP is enabled
    9cec84ed7ca7 net/mlx5: DR, Fix missing flow_source when creating multi-destination FW table
    2372405955f9 NFC: nci: fix sleep in atomic context bugs caused by nci_skb_alloc
    1b0c87de277e net/qla3xxx: Fix a test in ql_reset_work()
    212ca7bb55d3 clk: at91: generated: consider range when calculating best rate
    2b037a3bedf8 ice: Fix interrupt moderation settings getting cleared
    a2fd0fb3baaf ice: move ice_container_type onto ice_ring_container
    737fbf0c3263 ice: fix possible under reporting of ethtool Tx and Rx statistics
    12fd5b112117 ice: fix crash when writing timestamp on RX rings
    e35387a91318 net: vmxnet3: fix possible NULL pointer dereference in vmxnet3_rq_cleanup()
    4ad09fdef55b net: vmxnet3: fix possible use-after-free bugs in vmxnet3_rq_alloc_rx_buf()
    2c560e90086f net: systemport: Fix an error handling path in bcm_sysport_probe()
    eb0ebbd4b0d4 Revert "PCI: aardvark: Rewrite IRQ code to chained IRQ handler"
    b329889974ae netfilter: nft_flow_offload: fix offload with pppoe + vlan
    f96b2e067212 net: fix dev_fill_forward_path with pppoe + bridge
    7613dcaceee2 netfilter: nft_flow_offload: skip dst neigh lookup for ppp devices
    5f4197a020c0 netfilter: flowtable: fix excessive hw offload attempts after failure
    c22ee3a0674c net/sched: act_pedit: sanitize shift argument before usage
    952c24649638 xfrm: fix "disable_policy" flag use when arriving from different devices
    36d8cca5b46f xfrm: rework default policy structure
    ad7491e92b71 net: macb: Increment rx bd head after allocating skb and buffer
    999ee216c65e net: ipa: record proper RX transaction count
    636184fd1bd4 ALSA: hda - fix unused Realtek function when PM is not enabled
    84b6e3d58955 pinctrl: mediatek: mt8365: fix IES control pins
    53bac31c8d8a ARM: dts: aspeed: Add video engine to g6
    ed978be2afb5 ARM: dts: aspeed: Add secure boot controller node
    794f7da40d65 ARM: dts: aspeed: Add ADC for AST2600 and enable for Rainier and Everest
    75e9562bb4bf ARM: dts: aspeed-g6: fix SPI1/SPI2 quad pin group
    f234feed77d2 pinctrl: pinctrl-aspeed-g6: remove FWQSPID group in pinctrl
    b29774c208a3 ARM: dts: aspeed-g6: remove FWQSPID group in pinctrl dtsi
    250f71a57559 dma-buf: ensure unique directory name for dmabuf stats
    6a4c06e265ea dma-buf: fix use of DMA_BUF_SET_NAME_{A,B} in userspace
    deec86168170 drm/dp/mst: fix a possible memory leak in fetch_monitor_name()
    aaf0f01d074d drm/i915/dmc: Add MMIO range restrictions
    9d3ec4e5bf03 drm/amd: Don't reset dGPUs if the system is going to s2idle
    24501d51c6b4 libceph: fix potential use-after-free on linger ping and resends
    8a06f25f5941 crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ
    c42f9a5a3aae arm64: mte: Ensure the cleared tags are visible before setting the PTE
    e9ea44dc030d arm64: paravirt: Use RCU read locks to guard stolen_time
    a3c0ba7870b9 KVM: x86/mmu: Update number of zapped pages even if page list is stable
    9f8f09d92ab6 Revert "can: m_can: pci: use custom bit timings for Elkhart Lake"
    f5012bad435d PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold
    42d8a6dc45fc Fix double fget() in vhost_net_set_backend()
    0f71433eb705 selinux: fix bad cleanup on error in hashtab_duplicate()
    e085354dde25 perf: Fix sys_perf_event_open() race against self
    f380aba42199 ALSA: hda/realtek: Add quirk for TongFang devices with pop noise
    48550a90e408 ALSA: wavefront: Proper check of get_user() error
    74f64e7d18bb ALSA: usb-audio: Restore Rane SL-1 quirk
    e156805ae285 nilfs2: fix lockdep warnings during disk space reclamation
    d05cc5395e36 nilfs2: fix lockdep warnings in page operations for btree nodes
    2a8b2f6a91d1 ARM: 9191/1: arm/stacktrace, kasan: Silence KASAN warnings in unwind_frame()
    6d32c58b267a platform/chrome: cros_ec_debugfs: detach log reader wq from devm
    1848108927ce drbd: remove usage of list iterator variable after loop
    98e0a2e96a78 MIPS: lantiq: check the return value of kzalloc()
    9a865748658b fs: fix an infinite loop in iomap_fiemap
    258a7a7fb568 rtc: mc146818-lib: Fix the AltCentury for AMD platforms
    9690e989d263 nvme-multipath: fix hang when disk goes live over reconnect
    d44ff3b100b9 nvmet: use a private workqueue instead of the system workqueue
    b6f7efb9221b tools/virtio: compile with -pthread
    87c54a0b6475 vhost_vdpa: don't setup irq offloading when irq_num < 0
    4e32c4c7016e s390/pci: improve zpci_dev reference counting
    2d5f611add95 s390/traps: improve panic message for translation-specification exception
    3e3f28529a52 ALSA: hda/realtek: Enable headset mic on Lenovo P360
    4e640d4a9d14 crypto: x86/chacha20 - Avoid spurious jumps to other functions
    625ff6f49789 crypto: stm32 - fix reference leak in stm32_crc_remove
    0a482fc4290b rtc: sun6i: Fix time overflow handling
    8b2ea9a3a159 gfs2: Disable page faults during lockless buffered reads
    3fbccc4082c1 nvme-pci: add quirks for Samsung X5 SSDs
    a6ae0d0b7b6b Input: stmfts - fix reference leak in stmfts_input_open
    021138310983 Input: add bounds checking to input_set_capability()
    3ec283635457 um: Cleanup syscall_handler_t definition/cast, fix warning
    fe9f2f3a68fc rtc: pcf2127: fix bug when reading alarm registers
    25ddeb6be3d9 rtc: fix use-after-free on device removal
    11e6a90ffd62 Revert "drm/i915/opregion: check port number bounds for SWSCI display power state"
    a12252908221 mm/kfence: reset PG_slab and memcg_data before freeing __kfence_pool
    486bcceeed04 Watchdog: sp5100_tco: Enable Family 17h+ CPUs
    b4c0f1600df4 Watchdog: sp5100_tco: Add initialization using EFCH MMIO
    3bb1b58c53b0 Watchdog: sp5100_tco: Refactor MMIO base address initialization
    8ed3e7523df3 Watchdog: sp5100_tco: Move timer initialization into function
    5996d3601e77 i2c: piix4: Enable EFCH MMIO for Family 17h+
    d46b4ff3bb0b i2c: piix4: Add EFCH MMIO support for SMBus port select
    c4194b266bf7 i2c: piix4: Add EFCH MMIO support to SMBus base address detect
    4b965566ca26 i2c: piix4: Add EFCH MMIO support to region request and release
    08bc26f28bcb i2c: piix4: Move SMBus port selection into function
    9a8119ddc3c5 i2c: piix4: Move SMBus controller base address detect into function
    bdf9bed734c3 i2c: piix4: Move port I/O region request/release code into functions
    5166f933da0e i2c: piix4: Replace hardcoded memory map size with a #define
    879e811a41f8 kernel/resource: Introduce request_mem_region_muxed()
    fc2bee93e31b floppy: use a statically allocated error counter
    5655455a06b8 io_uring: arm poll for non-nowait files
    d9bae32c6a32 usb: gadget: fix race when gadget driver register via ioctl
    9f43e3ac7e66 Linux 5.15.41
    4962e5a2f301 usb: gadget: uvc: allow for application to cleanly shutdown
    9c76663f73f1 usb: gadget: uvc: rename function to be more consistent
    6a060190f247 ping: fix address binding wrt vrf
    54f6834b283d SUNRPC: Ensure we flush any closed sockets before xs_xprt_free()
    cc57b2e4a737 mm/hwpoison: use pr_err() instead of dump_page() in get_any_page()
    789891632901 dma-buf: call dma_buf_stats_setup after dmabuf is in valid list
    0fad10b263a3 Revert "drm/amd/pm: keep the BACO feature enabled for suspend"
    86ea55e80ddc drm/vmwgfx: Initialize drm_mode_fb_cmd2
    e05949240b4d SUNRPC: Ensure that the gssproxy client can start in a connected state
    962686f619ae net: phy: micrel: Pass .probe for KS8737
    bfec9d6a909f net: phy: micrel: Do not use kszphy_suspend/resume for KSZ8061
    3539241b5936 arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map
    8e1716993ba0 cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp()
    80b6fb3d181d writeback: Avoid skipping inode writeback
    1bd91049e378 net: phy: Fix race condition on link status change
    890a5c6d1981 net: atlantic: always deep reset on pm op, fixing up my null deref regression
    8d2cc06d653a i40e: i40e_main: fix a missing check on list iterator
    73ad9e6023a4 drm/nouveau/tegra: Stop using iommu_present()
    7d8b5d344a41 drm/vmwgfx: Disable command buffers on svga3 without gbobjects
    f8f836100fff mm/huge_memory: do not overkill when splitting huge_zero_page
    0e89d770dca5 Revert "mm/memory-failure.c: skip huge_zero_page in memory_failure()"
    8c09cb115e9f ceph: fix setting of xattrs on async created inodes
    73e12d4d33bc serial: 8250_mtk: Fix register address for XON/XOFF character
    d01eb92f8b42 serial: 8250_mtk: Fix UART_EFR register address
    7ef67d38b294 fsl_lpuart: Don't enable interrupts too early
    7207e12d244b slimbus: qcom: Fix IRQ check in qcom_slim_probe
    113ac16e51bc USB: serial: option: add Fibocom MA510 modem
    f2ab0c604b1a USB: serial: option: add Fibocom L610 modem
    84cd0f9b2608 USB: serial: qcserial: add support for Sierra Wireless EM7590
    34669b1c7398 USB: serial: pl2303: add device id for HP LM930 Display
    cb59b3092ab7 usb: typec: tcpci_mt6360: Update for BMC PHY setting
    f5c774bdc1d6 usb: typec: tcpci: Don't skip cleanup in .remove() on error
    92764e5bedf2 usb: cdc-wdm: fix reading stuck on device close
    643760ff0fcf tty: n_gsm: fix mux activation issues in gsm_config()
    e68de92d2f39 tty: n_gsm: fix buffer over-read in gsm_dlci_data()
    99fbf2653836 tty/serial: digicolor: fix possible null-ptr-deref in digicolor_uart_probe()
    04d5b08e6697 x86/mm: Fix marking of unused sub-pmd ranges
    5399686de11e usb: xhci-mtk: fix fs isoc's transfer error
    0912e07d4f3c KVM: PPC: Book3S PR: Enable MSR_DR for switch_mmu_context()
    12ff11142100 firmware_loader: use kernel credentials when reading firmware
    4e6a74c8b444 interconnect: Restore sync state by ignoring ipa-virt in provider count
    f26c6f9404e1 tcp: drop the hash_32() part from the index calculation
    952a238d779e tcp: increase source port perturb table to 2^16
    4a3eefa399e6 tcp: dynamically allocate the perturb table used by source ports
    b763fce193b4 tcp: add small random increments to the source port
    f41f6336bfc4 tcp: resalt the secret every 10 seconds
    ff01554d8755 tcp: use different parts of the port_offset for index and offset
    1a8ee547da2b secure_seq: use the 64 bits of the siphash for port offset calculation
    99858114a3b2 net: sfp: Add tx-fault workaround for Huawei MA5671A SFP ONT
    39740a06ca7a net: emaclite: Don't advertise 1000BASE-T and do auto negotiation
    4bf5bc44ea9e ASoC: SOF: Fix NULL pointer exception in sof_pci_probe callback
    46125e40a917 s390: disable -Warray-bounds
    e9cd31881e5c ASoC: ops: Validate input values in snd_soc_put_volsw_range()
    7758a40d8608 ASoC: max98090: Generate notifications on changes for custom control
    081188d82e5b ASoC: max98090: Reject invalid values in custom control put()
    e1d387eead8b iommu: arm-smmu: disable large page mappings for Nvidia arm-smmu
    2f6b75c03c7f RDMA/irdma: Fix deadlock in irdma_cleanup_cm_core()
    f21579e443f6 hwmon: (f71882fg) Fix negative temperature
    41d5ad959670 gfs2: Fix filesystem block deallocation for short writes
    cf2589a6679c drm/vmwgfx: Fix fencing on SVGAv3
    70098cc9569f tls: Fix context leak on tls_device_down
    280a93745c92 net: sfc: ef10: fix memory leak in efx_ef10_mtd_probe()
    8d75d66ff177 net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending
    e3e02d681d12 net: dsa: bcm_sf2: Fix Wake-on-LAN with mac_link_down()
    18f03c3343d2 drm/vc4: hdmi: Fix build error for implicit function declaration
    6e4c10cbbb3e net: bcmgenet: Check for Wake-on-LAN interrupt probe deferral
    598483f1fe08 net: ethernet: mediatek: ppe: fix wrong size passed to memset()
    b773640d5bb9 net/sched: act_pedit: really ensure the skb is writable
    3a518561a3c3 s390/lcs: fix variable dereferenced before check
    2bd57101c3ec s390/ctcm: fix potential memory leak
    21bb0246af42 s390/ctcm: fix variable dereferenced before check
    79e87cfc82e6 virtio: fix virtio transitional ids
    4147d2e1a0ac arm64: vdso: fix makefile dependency on vdso.so
    00782d1dddea selftests: vm: Makefile: rename TARGETS to VMTARGETS
    62cbb09899f7 procfs: prevent unprivileged processes accessing fdinfo dir
    844c31a4534e hwmon: (ltq-cputemp) restrict it to SOC_XWAY
    5f71bc9a6b14 dim: initialize all struct fields
    53a55a3124a8 ionic: fix missing pci_release_regions() on error in ionic_probe()
    1a2e139e68bb nfs: fix broken handling of the softreval mount option
    8bf4039e3e19 mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection
    7b2fa7ad6bf2 net: sfc: fix memory leak due to ptp channel
    fc4615a8e9f5 sfc: Use swap() instead of open coding it
    ef090cd44dd9 fbdev: efifb: Fix a use-after-free due early fb_info cleanup
    42125c81ca25 net: chelsio: cxgb4: Avoid potential negative array offset
    fa189827f00c netlink: do not reset transport header in netlink_recvmsg()
    57d6374f5c1c drm/nouveau: Fix a potential theorical leak in nouveau_get_backlight_name()
    337530058e17 ipv4: drop dst in multicast routing path
    04b199e47050 ice: fix PTP stale Tx timestamps cleanup
    4a5c4713ff1e ice: Fix race during aux device (un)plugging
    50bf9411372e platform/surface: aggregator: Fix initialization order when compiling as builtin module
    f94aa46efaa0 fbdev: vesafb: Cleanup fb_info in .fb_destroy rather than .remove
    cd3c8abbdc4e fbdev: efifb: Cleanup fb_info in .fb_destroy rather than .remove
    02eef429bf4a fbdev: simplefb: Cleanup fb_info in .fb_destroy rather than .remove
    4ebbf76dcbe5 net: mscc: ocelot: avoid corrupting hardware counters when moving VCAP filters
    e4a3386221d2 net: mscc: ocelot: restrict tc-trap actions to VCAP IS2 lookup 0
    ceffde8c6e1d net: mscc: ocelot: fix VCAP IS2 filters matching on both lookups
    d242b66a3140 net: mscc: ocelot: fix last VCAP IS1/IS2 filter persisting in hardware when deleted
    cc22bb201d77 net: Fix features skip in for_each_netdev_feature()
    afc080e42f8a mac80211: Reset MBSSID parameters upon connection
    e346e603625a hwmon: (tmp401) Add OF device ID table
    e29b71fc793e iwlwifi: iwl-dbg: Use del_timer_sync() before freeing
    8f37aad74f46 batman-adv: Don't skb_split skbuffs with frag_list
    ae766496dbd4 Linux 5.15.40
    5f0023211221 mm: fix invalid page pointer returned with FOLL_PIN gups
    954c78ed8c84 mm/mlock: fix potential imbalanced rlimit ucounts adjustment
    acf3e6843a85 mm/hwpoison: fix error page recovered but reported "not recovered"
    13d75c31a8ad mm: userfaultfd: fix missing cache flush in mcopy_atomic_pte() and __mcopy_atomic()
    72dd0487237d mm: shmem: fix missing cache flush in shmem_mfill_atomic_pte()
    e36b476a829c mm: hugetlb: fix missing cache flush in copy_huge_page_from_user()
    97a9f80290aa mm: fix missing cache flush for all tail pages of compound page
    9e951f2d85c9 udf: Avoid using stale lengthOfImpUse
    3d9c1d39237e rfkill: uapi: fix RFKILL_IOCTL_MAX_SIZE ioctl request definition
    b063e8cbec3c Bluetooth: Fix the creation of hdev->name
    01986c7dbf9d objtool: Fix SLS validation for kcov tail-call replacement
    41b6878eedf8 crypto: x86/poly1305 - Fixup SLS
    f277e36addad kvm/emulate: Fix SETcc emulation function offsets with SLS
    80c8ac8eca77 tools arch: Update arch/x86/lib/mem{cpy,set}_64.S copies used in 'perf bench mem memcpy'
    370d33da35e3 x86: Add straight-line-speculation mitigation
    d11f96d0c0c3 kbuild: move objtool_args back to scripts/Makefile.build
    f835241fdb0f x86/alternative: Relax text_poke_bp() constraint
    ee4724cc045f objtool: Add straight-line-speculation validation
    a467f694a46d x86: Prepare inline-asm for straight-line-speculation
    14b476e07fab x86: Prepare asm files for straight-line-speculation
    89837223d00d x86/lib/atomic64_386_32: Rename things
    c9e18547cc55 Linux 5.15.39
    4b4f9f172af4 PCI: aardvark: Update comment about link going down after link-up
    0dde2c7e6afb PCI: aardvark: Drop __maybe_unused from advk_pcie_disable_phy()
    c29d876c202c PCI: aardvark: Don't mask irq when mapping
    f0a2ee95dfeb PCI: aardvark: Remove irq_mask_ack() callback for INTx interrupts
    03da50b8e42e PCI: aardvark: Use separate INTA interrupt for emulated root bridge
    038c1516178c PCI: aardvark: Fix support for PME requester on emulated bridge
    cf7ef0e3029e PCI: aardvark: Add support for PME interrupts
    4da95b9fdad3 PCI: aardvark: Optimize writing PCI_EXP_RTCTL_PMEIE and PCI_EXP_RTSTA_PME on emulated bridge
    2aa9f36c3931 PCI: aardvark: Add support for ERR interrupt on emulated bridge
    d8efde346003 PCI: aardvark: Enable MSI-X support
    0993795b2f7a PCI: aardvark: Fix setting MSI address
    6e80e16149b9 PCI: aardvark: Add support for masking MSI interrupts
    d4bd61f99d13 PCI: aardvark: Refactor unmasking summary MSI interrupt
    b904c90a4624 PCI: aardvark: Use dev_fwnode() instead of of_node_to_fwnode(dev->of_node)
    0a5d0a9808ef PCI: aardvark: Make msi_domain_info structure a static driver structure
    d951cbef2e46 PCI: aardvark: Make MSI irq_chip structures static driver structures
    9e475a95c59b PCI: aardvark: Check return value of generic_handle_domain_irq() when processing INTx IRQ
    95bd4e10877c PCI: aardvark: Rewrite IRQ code to chained IRQ handler
    c1e237cd6463 PCI: aardvark: Replace custom PCIE_CORE_INT_* macros with PCI_INTERRUPT_*
    ac76c36aa417 PCI: aardvark: Disable common PHY when unbinding driver
    a346d08ca45e PCI: aardvark: Disable link training when unbinding driver
    246a36b66377 PCI: aardvark: Assert PERST# when unbinding driver
    af27f54e6224 PCI: aardvark: Fix memory leak in driver unbind
    55e38c42051d PCI: aardvark: Mask all interrupts when unbinding driver
    5c9fc7a028da PCI: aardvark: Disable bus mastering when unbinding driver
    6ee10ccca811 PCI: aardvark: Comment actions in driver remove method
    2855fb2b6340 PCI: aardvark: Clear all MSIs at setup
    5ea7bcb084ae PCI: aardvark: Add support for DEVCAP2, DEVCTL2, LNKCAP2 and LNKCTL2 registers on emulated bridge
    739c052b9b26 PCI: pci-bridge-emul: Add definitions for missing capabilities registers
    b3ca84e3c66a PCI: pci-bridge-emul: Add description for class_revision field
    0060c7bd9e33 rcu: Apply callbacks processing time limit only on softirq
    2c5029d652f3 rcu: Fix callbacks processing time limit retaining cond_resched()
    38b9770741ae Revert "parisc: Mark sched_clock unstable only if clocks are not syncronized"
    e3c465defa0f mmc: rtsx: add 74 Clocks in power on flow
    0b4e16093e08 selftest/vm: verify remap destination address in mremap_test
    e8b9989597da selftest/vm: verify mmap addr in mremap_test
    680e982ae89b KVM: LAPIC: Enable timer posted-interrupt only when mwait/hlt is advertised
    8e10a00b1876 KVM: x86/mmu: avoid NULL-pointer dereference on page freeing bugs
    6b68f26a6556 KVM: x86: Do not change ICR on write to APIC_SELF_IPI
    ddba1a4aadd4 x86/kvm: Preserve BSP MSR_KVM_POLL_CONTROL across suspend/resume
    067f2fbe4ac9 KVM: selftests: Silence compiler warning in the kvm_page_table_test
    119a65a465f5 kvm: selftests: do not use bitfields larger than 32-bits for PTEs
    aa9993f8f984 iommu/dart: Add missing module owner to ops structure
    7f95fdff56e9 net/mlx5e: Lag, Don't skip fib events on current dst
    7fc51e7e7b6b net/mlx5e: Lag, Fix fib_info pointer assignment
    197bd9738a97 net/mlx5e: Lag, Fix use-after-free in fib event handler
    bc8e74239fb8 net/mlx5: Fix slab-out-of-bounds while reading resource dump menu
    161568b7494a fbdev: Make fb_release() return -ENODEV if fbdev was unregistered
    11f5f236dbd6 kvm: x86/cpuid: Only provide CPUID leaf 0xA if host has architectural PMU
    3e56e9a7f2cc gpio: mvebu: drop pwm base assignment
    94ca25aed123 drm/amdgpu: Ensure HDA function is suspended before ASIC reset
    060102fbd92d drm/amdgpu: don't set s3 and s0ix at the same time
    22b80bff1726 drm/amdgpu: explicitly check for s0ix when evicting resources
    90253ae21c6b drm/amdgpu: unify BO evicting method in amdgpu_ttm
    3d0e7373b291 btrfs: always log symlinks in full mode
    e42a8545487e btrfs: force v2 space cache usage for subpage mount
    1222440c4a1a smsc911x: allow using IRQ0
    e447338d51b0 selftests: ocelot: tc_flower_chains: specify conform-exceed action for policer
    45967729f2a5 bnxt_en: Fix unnecessary dropping of RX packets
    cb0c054accc5 bnxt_en: Fix possible bnxt_open() failure caused by wrong RFS flag
    814d91a84ac3 selftests: mirror_gre_bridge_1q: Avoid changing PVID while interface is operational
    01b7fe62cbf5 rxrpc: Enable IPv6 checksums on transport socket
    9bcb779ba80b mld: respect RCU rules in ip6_mc_source() and ip6_mc_msfilter()
    299c189f4778 hinic: fix bug of wq out of bound access
    74b9abc46862 btrfs: do not BUG_ON() on failure to update inode when setting xattr
    b79815c35416 drm/msm/dp: remove fail safe mode related code
    e325bef5f67d selftests/net: so_txtime: usage(): fix documentation of default clock
    ba5ece30153c selftests/net: so_txtime: fix parsing of start time stamp on 32 bit systems
    da07b2e273b3 net: emaclite: Add error handling for of_address_to_resource()
    8010fdba29e4 net: igmp: respect RCU rules in ip_mc_source() and ip_mc_msfilter()
    8fa3b32dfa28 net: cpsw: add missing of_node_put() in cpsw_probe_dt()
    1dfbeb85a4c9 net: mdio: Fix ENOMEM return value in BCM6368 mux bus controller
    1043a3c44641 net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux()
    8c703731e7d5 net: dsa: mt7530: add missing of_node_put() in mt7530_setup()
    bd7e519ff79a net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init()
    d34f9bbc1d19 NFSv4: Don't invalidate inode attributes on delegation return
    a61a55823711 RDMA/irdma: Fix possible crash due to NULL netdev in notifier
    22d872b7adce RDMA/irdma: Reduce iWARP QP destroy time
    62e9930ff8ca RDMA/irdma: Flush iWARP QP if modified to ERR from RTR state
    546c957f313a RDMA/siw: Fix a condition race issue in MPA request processing
    53b33d43fc45 SUNRPC release the transport of a relocated task with an assigned transport
    6352ecab8a3f selftests/seccomp: Don't call read() on TTY from background pgrp
    642e0de286af net/mlx5: Fix deadlock in sync reset flow
    e967439d76e0 net/mlx5: Avoid double clear or set of sync reset requested
    9d6d76f5f190 net/mlx5e: Fix the calling of update_buffer_lossy() API
    d9b4965d2401 net/mlx5e: CT: Fix queued up restore put() executing after relevant ft release
    32d9ad28dcda net/mlx5e: Don't match double-vlan packets if cvlan is not set
    ec26ba1f202a net/mlx5e: Fix trust state reset in reload
    504d9b86745e iommu/dart: check return value after calling platform_get_resource()
    af89d886edfc iommu/vt-d: Drop stop marker messages
    48c37e5ab679 ASoC: soc-ops: fix error handling
    ad06826f6130 ASoC: dmaengine: Restore NULL prepare_slave_config() callback
    051a2cede6c7 hwmon: (pmbus) disable PEC if not enabled
    64e5dd91d128 hwmon: (adt7470) Fix warning on module removal
    e75dd874e02a gpio: pca953x: fix irq_stat not updated when irq is disabled (irq_mask not set)
    8ec1096a09f1 gpio: visconti: Fix fwnode of GPIO IRQ
    7bd81a05d489 NFC: netlink: fix sleep in atomic bug when firmware download timeout
    b8f2b836e7d0 nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs
    a2168fb3128a nfc: replace improper check device_is_registered() in netlink related functions
    56a5ff94807d can: grcan: only use the NAPI poll budget for RX
    ab5adbcead00 can: grcan: grcan_probe(): fix broken system id check for errata workaround needs
    142305ab00e9 can: grcan: use ofdev->dev when allocating DMA memory
    30a63e7ef37f can: isotp: remove re-binding of bound socket
    b266f564c553 can: grcan: grcan_close(): fix deadlock
    392aeeceb9b6 s390/dasd: Fix read inconsistency for ESE DASD devices
    12b022a9f5c6 s390/dasd: Fix read for ESE with blksize < 4k
    cdf348236343 s390/dasd: prevent double format of tracks for ESE devices
    99bb425d7226 s390/dasd: fix data corruption for ESE devices
    7011cc9a2188 ASoC: meson: Fix event generation for AUI CODEC mux
    61c45cece50b ASoC: meson: Fix event generation for G12A tohdmi mux
    c7c0ceb7141d ASoC: meson: Fix event generation for AUI ACODEC mux
    66e5f6d561c7 ASoC: wm8958: Fix change notifications for DSP controls
    a5581587bbee ASoC: da7219: Fix change notifications for tone generator frequency
    61808e408952 genirq: Synchronize interrupt thread startup
    41eebbf90dfb net: stmmac: disable Split Header (SPH) for Intel platforms
    282eab6e3826 firewire: core: extend card->lock in fw_core_handle_bus_reset
    95726e666093 firewire: remove check of list iterator against head past the loop body
    e259ba5c08d3 firewire: fix potential uaf in outbound_phy_packet_callback()
    07adb6954548 timekeeping: Mark NMI safe time accessors as notrace
    09e7e3aee713 Revert "SUNRPC: attempt AF_LOCAL connect on setup"
    148faea97855 RISC-V: relocate DTB if it's outside memory region
    1a78d8fe6606 drm/amdgpu: do not use passthrough mode in Xen dom0
    c10bab89a1be drm/amd/display: Avoid reading audio pattern past AUDIO_CHANNELS_COUNT
    2c14dda7a4df iommu/arm-smmu-v3: Fix size calculation in arm_smmu_mm_invalidate_range()
    d503958eea81 iommu/vt-d: Calculate mask for non-aligned flushes
    91a97c86a8f0 KVM: x86/svm: Account for family 17h event renumberings in amd_pmc_perf_hw_id
    2e4d4123c861 x86/fpu: Prevent FPU state corruption
    d46f64fd9172 gpiolib: of: fix bounds check for 'gpio-reserved-ranges'
    a06979edcc47 mmc: core: Set HS clock speed before sending HS CMD13
    56bba3ad290d mmc: sunxi-mmc: Fix DMA descriptors allocated above 32 bits
    3c0a0a2710c8 mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC
    d95bad91b419 ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes
    9561b7ddcb78 ALSA: hda/realtek: Add quirk for Yoga Duet 7 13ITL6 speakers
    a49454368934 parisc: Merge model and model name into one line in /proc/cpuinfo
    f9a1dbc8b848 MIPS: Fix CP0 counter erratum detection for R4k CPUs

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c587bacddfc5d217638c8f97ac665d7baae60e4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolinux-yocto/5.15: bpf: explicitly disable unpriv eBPF by default
Bruce Ashfield [Tue, 7 Jun 2022 13:59:31 +0000 (09:59 -0400)] 
linux-yocto/5.15: bpf: explicitly disable unpriv eBPF by default

Integrating the following commit(s) to linux-yocto/.:

    5371fc3b2a2 bpf: explicitly disable unpriv eBPF by default

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3da9b7882a397b204f63fac5fef04d79ba0a01f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolttng-ust: upgrade 2.13.2 -> 2.13.3
wangmy [Mon, 6 Jun 2022 12:25:35 +0000 (20:25 +0800)] 
lttng-ust: upgrade 2.13.2 -> 2.13.3

Changelog:
==========
* Document ust lock async-signal-safety
* Fix: don't use strerror() from ust lock nocheck
* Fix: remove non-async-signal-safe fflush from ERR()
* Fix: Pointers are rejected by integer element compile time assertion for array and sequence
* Fix: statedump: invalid read during iter_end
* Fix: bytecode interpreter context_get_index() leaves byte order uninitialized

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 d9d7b5d9fd8366bc4d2720e3396ab10f8b1ab6a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agoiso-codes: upgrade 4.9.0 -> 4.10.0
wangmy [Mon, 6 Jun 2022 12:25:34 +0000 (20:25 +0800)] 
iso-codes: upgrade 4.9.0 -> 4.10.0

Changelog:
==========
Added
--------
Update ISO 639-2 codes to include Montenegrin (cnr) added in 2017.
Update ISO 4217. Fixes #24
ISO 639-3: New translation for Friulian
ISO 639-5: New translations for Esperanto, Hindi, Russian
ISO 4217: New translation for Esperanto

Changed
--------
Translation updates for ISO 3166-1
Translation updates for ISO 3166-2
Translation updates for ISO 3166-3
Translation updates for ISO 639-2
Translation updates for ISO 639-3
Translation updates for ISO 639-5
Translation updates for ISO 4217
Translation updates for ISO 15924

Fixed
--------
ISO 3166-2: Add parent codes for GB. Fixes #36
ISO 3166-2: Fix subdivision names for Finland. Fixes #37

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 eb771fa7740f9749d26a4d3f74a926eb1e564ee5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agobaremetal-image: fix broken symlink in do_rootfs
Davide Gardenal [Mon, 6 Jun 2022 10:51:42 +0000 (12:51 +0200)] 
baremetal-image: fix broken symlink in do_rootfs

If IMAGE_LINK_NAME and IMAGE_MANIFEST are equal
don't create a link otherwise it will create it
to itself.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8fd1a37c38dbfc688d840d12c61d76f151f9f605)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agobitbake.conf: Make TCLIBC and TCMODE lazy assigned
Pavel Zhukov [Fri, 3 Jun 2022 06:41:22 +0000 (08:41 +0200)] 
bitbake.conf: Make TCLIBC and TCMODE lazy assigned

This allows two level of overriding (distro level and local.conf/shell
variable). Previous settings blocked shell variables overring
if it was overriden on distro level.

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit de6c3f9cb2c589aecbf8d9d25fa83cd18bf80891)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agoglibc: Drop make-native dependency
Richard Purdie [Sat, 4 Jun 2022 22:52:22 +0000 (23:52 +0100)] 
glibc: Drop make-native dependency

Now that our make version is a minmum of 4.0 we can drop this dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a0c52fd44332abb24e0dea608229ab7c472d94e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agoperl: Add dependency on make-native to avoid race issues
Richard Purdie [Sat, 4 Jun 2022 22:50:43 +0000 (23:50 +0100)] 
perl: Add dependency on make-native to avoid race issues

Make 4.1 has race issues with double colon usage in makefiles which are common
in MakeMaker generated code in perl. Add a dependency on make-native to avoid
this as it is relaitvely low overhead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 692b7c518637c77804caf7b3cfc60a83afa2e4f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agosanity: Switch to make 4.0 as a minimum version
Richard Purdie [Sat, 4 Jun 2022 22:47:55 +0000 (23:47 +0100)] 
sanity: Switch to make 4.0 as a minimum version

We can't build glibc without make 4.0 and we don't work on older distros with
older versions of make without buildtools tarball so increase the minimum
version to 4.0.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9a449aeec72a698206323c3471c9268f949b1ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agorootfs.py: find .ko.zst kernel modules
Sean Anderson [Tue, 31 May 2022 15:10:52 +0000 (11:10 -0400)] 
rootfs.py: find .ko.zst kernel modules

With CONFIG_MODULE_COMPRESS_ZSTD enabled, kernel modules will have a
.ko.zst extension. This fixes depmod not being run.

Fixes: 1b696a45ddb ("rootfs.py: Add check for kernel modules before running depmod")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 425efac7110f0f42d70643e0a448e834d0f01a7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolicense.bbclass: Bound beginline and endline in copy_license_files()
Peter Kjellerstedt [Fri, 3 Jun 2022 00:06:49 +0000 (02:06 +0200)] 
license.bbclass: Bound beginline and endline in copy_license_files()

Ensure that begin_idx (i.e., beginline - 1) and end_idx (i.e.,
endline) are positive numbers in copy_license_files(). This makes sure
the same lines are copied as populate_lic_qa_checksum() uses when it
calculates the checksum. Before, beginline=0 would typically lead to
that no lines were copied at all.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab3cc3651d08d226675c461da760cda0bb6c0ce0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolibseccomp: Correct LIC_FILES_CHKSUM
Peter Kjellerstedt [Fri, 3 Jun 2022 00:06:48 +0000 (02:06 +0200)] 
libseccomp: Correct LIC_FILES_CHKSUM

Previously, only the first line of the LICENSE file was included,
which only covered the license name and thus would not detect a change
to the version (or anything else for that matter).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ac45755dffc611fb46f5cd1c07f4876d3094893)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agoalsa-plugins: fix libavtp vs. avtp packageconfig
Marcel Ziswiler [Thu, 2 Jun 2022 09:48:09 +0000 (11:48 +0200)] 
alsa-plugins: fix libavtp vs. avtp packageconfig

Fix PACKAGECONFIG to refer to libavtp instead of avtp as this is what
the project and everything is really called everywhere.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8824d91fe2063195014c38c134b97946d3b429c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agokernel-yocto.bbclass: Reset to exiting on non-zero return code at end of task
Stefan Wiehler [Thu, 2 Jun 2022 09:45:14 +0000 (11:45 +0200)] 
kernel-yocto.bbclass: Reset to exiting on non-zero return code at end of task

Several tasks deactivate exiting on non-zero return codes via set +e because
they run subcommands that have legitimate non-zero return codes. However when
appending to those tasks, this behavior is not expected and can lead to builds
silently proceeding in case of an error. Therefore reset the default behavior
at the end of the respective tasks via set -e.

Signed-off-by: Stefan Wiehler <stefan.wiehler@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 83a6f28d2e464f00202090e998a63045adba9e4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agoperl: Fix build with gcc-12
Mingli Yu [Thu, 2 Jun 2022 05:46:40 +0000 (13:46 +0800)] 
perl: Fix build with gcc-12

Fix the build failure when debug build is enabled.
Add DEBUG_BUILD = "1" in conf/local.conf.
 $ bitbake perl
  | In function 'dynprep',
    inlined from 'S_sortsv_flags_impl' at pp_sort.c:358:20,
    inlined from 'sortsv_amagic_i_ncmp' at pp_sort.c:572:5:
  |  pp_sort.c:1232:1: error: inlining failed in call to 'always_inline' 'S_amagic_i_ncmp': function not considered for inlining
  | 1232 | S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 880296e68cfd92cfd4c9474972c8d8e6f21a2a40)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agogcc-cross-canadian: Add nativesdk-zstd dependency
Richard Purdie [Thu, 2 Jun 2022 09:38:59 +0000 (10:38 +0100)] 
gcc-cross-canadian: Add nativesdk-zstd dependency

To match the changes to gcc-cross, add a nativesdk-zstd dependency to ensure
our configurations match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c145e00710fe557b5a3832fdc556ad53434b3615)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agogcc: depend on zstd-native
Jeremy Puhlman [Wed, 1 Jun 2022 23:02:15 +0000 (19:02 -0400)] 
gcc: depend on zstd-native

Sharing sstate cache binaries between two systems, one with libzstd installed
and the other without, leads to various gcc components being linked against
the system libzstd and failing to run on the system with out it installed.

Make zstd-native from our system available.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b0a6f03137f24b211c8881cebf65732e550a942)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agoopenssl: Backport fix for ptest cert expiry
Richard Purdie [Thu, 2 Jun 2022 07:57:55 +0000 (08:57 +0100)] 
openssl: Backport fix for ptest cert expiry

ptests in in openssl have started failing as one of the test certificates has
expired. Backport a fix for this from upstream, replacing the test
certificate to allow the ptests to pass again.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f26f0b34f12bbca2beed153da402a3594d127374)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agopatch.py: make sure that patches/series file exists before quilt pop
Martin Jansa [Sun, 29 May 2022 02:34:05 +0000 (04:34 +0200)] 
patch.py: make sure that patches/series file exists before quilt pop

* Since quilt upgrade to 0.67 some recipes sometimes fail in do_patch with
  errors like:

  ERROR: Applying patch 'GPLv2.patch' on target directory '/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31'
  CmdError('quilt --quiltrc /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout:
  stderr: File series fully applied, ends at patch GPLv2.patch
  ')

* It affects only recipes with S = "${WORKDIR}", which wipe only
  ${S}/patches, because in other cases whole ${S} is wiped when
  do_unpack is re-executed.

* It was originally added in:
  https://git.openembedded.org/openembedded-core/commit/?id=5fe5e6a15f26f23f0c5b863fafad7a0d382a55e2

  since then it was extended to wipe whole ${S} when ${S} != ${WORKDIR} in:
  https://git.openembedded.org/openembedded-core/commit/?id=5fe5e6a15f26f23f0c5b863fafad7a0d382a55e2
  https://git.openembedded.org/openembedded-core/commit/?id=eccae514b71394ffaed8fc45dea7942152a334a1

  this is now causing issues to quilt-0.67 because it checks that
  ${S}/patches/series exists during 'quilt pop -a -f' which we call
  from QuiltTree.Clean to undo patches possibly already applied
  in ${S} in previous do_patch execution.

* There are couple recipes affected by this e.g. keymaps (.patch already
  removed in oe-core), makedevs (.patch removal sent to ML yesterday
  https://lists.openembedded.org/g/openembedded-core/message/166172),
  devmem2
  (https://lists.openembedded.org/g/openembedded-devel/message/97270), but
  there are other recipes with S = "${WORKDIR}" where you can trigger this
  e.g. by having a .patch file in DISTRO layer .bbappend (e.g. tzdata with
  webOS
  https://github.com/webosose/meta-webosose/blob/06e5298d9f5c47679b679081d9930f8d1c776142/meta-webos/recipes-extended/tzdata/tzdata.bbappend#L10)

  This do_patch issue is caused by:
  https://git.savannah.nongnu.org/cgit/quilt.git/commit/?id=8b39a960afcf45cd4f5804ae62b6b0656bdb191d
  introduced in kirkstone with:
  https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=fa71afcee9ab42198c619333b77a15bd2ae02b20

  The shortest sequence to reproduce this is just
  bitbake keymaps -c patch
  bitbake keymaps -c unpack -f
  bitbake keymaps -c patch
  with
  https://git.openembedded.org/openembedded-core/commit/?id=17d981005a0c0c97702ad88602b7181b69bcc9eb
  reverted.

  And the change in quilt behavior is causing QuiltTree.Clean (quilt pop -a -f) in:
  https://git.openembedded.org/openembedded-core/tree/meta/lib/oe/patch.py?id=17d981005a0c0c97702ad88602b7181b69bcc9eb#n601

  to silently fail with "No series file found" before undoing the
  patches in ${S} and then quilt push failing, because all the
  patches are _still_ applied in ${S}.

  Removing ".pc" doesn't help, because we really
  need quilt's help to undo the patches (in this case to delete COPYING
  file from WORKDIR before applying the .patch which tries to add it
  again), because do_unpack cannot just wipe S and start over (because S
  == WORKDIR) - nor selectively removing the files listed in SRC_URI,
  because COPYING file isn't listed there.

  Using skip_series_check in 'quilt pop' (partially reverting the change
  from upstream) does fix this as well and it's simple one line patch
  (just adding skip_series_check=1 in pop.in), but might be difficult
  to upstream, because it's this strange OE specific behavior that we
  remove 'patches' directory and then still need quilt pop to work.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9d36882044b1c633d8611a77df54cd68c9bee25)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolinux-firmware: split ath3k firmware
Dmitry Baryshkov [Mon, 30 May 2022 17:02:13 +0000 (20:02 +0300)] 
linux-firmware: split ath3k firmware

Atheros AR3011 Bluetooth devices require special ath3k-1.fw firmware
file. Package it separately from the main linux-firmware package to
allow deploying this firmware on embedded devices.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit a12a5606f4c7003d9a90c493380c656ee557dea5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolinux-firmware: package new Qualcomm firmware
Dmitry Baryshkov [Mon, 30 May 2022 17:02:12 +0000 (20:02 +0300)] 
linux-firmware: package new Qualcomm firmware

Create separate packages with firmware files for APQ8096 SoC and for
Adreno 2xx/4xx. Include A330 firmware into the 3xx package.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a0cb8f9131d1f238dc150e583a7ff816645765f)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agowebkitgtk: upgrade 2.36.1 -> 2.36.3
Richard Purdie [Wed, 1 Jun 2022 15:33:32 +0000 (15:33 +0000)] 
webkitgtk: upgrade 2.36.1 -> 2.36.3

This is a bug fix release in the stable 2.36 series.

Support capturing already encoded video streams, which takes advantage of encoding done in hardware by devices which support this feature.
Avoid using experimental GStreamer elements for video demuxing.
Avoid using the legacy GStreamer VA-API decoding plug-ins, which often cause rendering issues and are not much maintained. Their usage can be re-enabled setting WEBKIT_GST_ENABLE_LEGACY_VAAPI=1 in the environment.
Fix playback of YouTube streams which use dynamic ad insertion.
Fix display capture with Pipewire.
Fix the build without the X11 target when X11 headers are not present.
Fix several crashes and rendering issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69e1c72417a4ea5594c17ead7bff2f9a0298e6c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agogtk+3: upgrade 3.24.33 -> 3.24.34
Richard Purdie [Wed, 1 Jun 2022 12:08:13 +0000 (12:08 +0000)] 
gtk+3: upgrade 3.24.33 -> 3.24.34

Overview of Changes in GTK+ 3.24.34, 05-18-2022
===============================================
* Include legacy hicolor icons
* Fix the build with gcc 12
* MacOS:
 - Restore QUARTZ_RELOCATION support
* X11:
 - Trap errors when getting output properties
* Wayland:
 - Ignore empty preedit updates This fixes a problem with
   textview scrolling
* Translation updates
 Danish
 Dutch
 French
 German
 Hungarian
 Italian
 Kazakh
 Latvian
 Lithuanian
 Norwegian Bokmål
 Swedish

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a652d392a47aa7c0652aac941fb7d550aea192ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolibxkbcommon: upgrade 1.4.0 -> 1.4.1
Richard Purdie [Wed, 1 Jun 2022 14:13:06 +0000 (14:13 +0000)] 
libxkbcommon: upgrade 1.4.0 -> 1.4.1

libxkbcommon 1.4.1 - 2022-05-21
==================

- Fix compose sequence overriding (common prefix) not working correctly.
  Regressed in 1.2.0.

- Remove various bogus currency sign (particulary Euro and Korean Won) entries
  from the keysym <-> Unicode mappings. They prevented the real
  keysyms/codepoints for these from mapping correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 75655c8b48b425beb42b23d8e596d3c987047792)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agoglib-2.0: upgrade 2.72.1 -> 2.72.2
Richard Purdie [Wed, 1 Jun 2022 06:34:50 +0000 (06:34 +0000)] 
glib-2.0: upgrade 2.72.1 -> 2.72.2

Bugs fixed:

2640 UWP warnings about extensions and verbs with glib 2.72.1
2605 Backport !2449 and !2600 mingw test fixes to glib-2-72
2616 Backport !2615 “Meson: Fix gio-windows-2.0 override name” to glib-2-72
2629 Backport !2626, !2627 minor leak fixes to glib-2-72
2643 Backport !2642 “meson: Check rres.compiled() before calling rres.returncode()” to glib-2-72
2644 Backport !2631 “Cast to guintptr instead of subtracting by null” to glib-2-72
2662 Backport !2654 “gtask: use g_strconcat() in g_task_return() only if needed” to glib-2-72
2691 Backport !2661 “win32appinfo: change log level from warning to debug” to glib-2-72

Translation updates:

Croatian
Danish
English (United Kingdom)
French
Galician
German
Nepali
Portuguese (Brazil)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 780d40c9cc98fd5e9369be974acbbb60d7531a60)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agologrotate: upgrade 3.19.0 -> 3.20.1
wangmy [Mon, 30 May 2022 06:40:47 +0000 (14:40 +0800)] 
logrotate: upgrade 3.19.0 -> 3.20.1

Changelog:
=========
drop world-readable permission on state file even when ACLs are enabled (#446)
fix potential DoS from unprivileged users via the state file (CVE-2022-1348)
fix a misleading debug message with copytruncate and rotate 0 (#443)
add support for unsigned time_t (#438)
do not lock state file /dev/null (#433)

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 391fdcf742c4669c1c4654f9b022b3d277aa0038)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agocups: upgrade 2.4.1 -> 2.4.2
wangmy [Mon, 30 May 2022 06:38:40 +0000 (14:38 +0800)] 
cups: upgrade 2.4.1 -> 2.4.2

Changelog:
==========
- Fixed certificate strings comparison for Local authorization (CVE-2022-26691)
- The cupsFileOpen function no longer opens files for append in read-write
  mode (Issue #291)
- The cupsd daemon removed processing temporary queue (Issue #364)
- Fixed delay in IPP backend if GNUTLS is used and endpoint doesn't confirm
  closing the connection (Issue #365)
- Fixed conditional jump based on uninitialized value in cups/ppd.c (Issue #329)
- Fixed CSS related issues in CUPS Web UI (Issue #344)
- Fixed copyright in CUPS Web UI trailer template (Issue #346)
- mDNS hostname in device uri is not resolved when installaling a permanent
- IPP Everywhere queue (Issues #340, #343)
- The lpstat command now reports when the scheduler is not running
  (Issue #352)
- Updated the man pages concerning the -h option (Issue #357)
- Re-added LibreSSL/OpenSSL support (Issue #362)
- Updated the Solaris smf service file (Issue #368)
- Fixed a regression in lpoptions option support (Issue #370)
- The scheduler now regenerates the PPD cache information after changing the
  "cupsd.conf" file (Issue #371)
- Updated the scheduler to set "auth-info-required" to "username,password" if a
  backend reports it needs authentication info but doesn't set a method for
  authentication (Issue #373)
- Updated the configure script to look for the OpenSSL library the old way if
  pkg-config is not available (Issue #375)
- Fixed the prototype for the httpWriteResponse function (Issue #380)
- Brought back minimal AIX support (Issue #389)
  cupsGetResponse did not always set the last error.
- Fixed a number of old references to the Apple CUPS web page.
- Restored the default/generic printer icon file for the web interface.
- Removed old stylesheet classes that are no longer used by the web
  interface.

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 6f4131e73553f47709e19871c23a411275ab3857)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agocve-update-db-native: make it possible to disable database updates
Marta Rybczynska [Fri, 3 Jun 2022 09:09:56 +0000 (11:09 +0200)] 
cve-update-db-native: make it possible to disable database updates

Make it possible to disable the database update completely by using
a negative update interval CVE_DB_UPDATE_INTERVAL.

Disabling the update is useful when running multiple parallel builds
when we want to have a control on the database version. This allows
coherent cve-check results without an database update for only
some of the builds.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5c2269240327c2a8f93b9e55354698f52c976f3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agocve-check: fix return type in check_cves
Marta Rybczynska [Fri, 3 Jun 2022 08:56:14 +0000 (10:56 +0200)] 
cve-check: fix return type in check_cves

Make empty return types in check_cvs the same for all code paths.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f86393c93dec47b24e837d0c4c5761a716ecdbb6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agocve-check: write empty fragment files in the text mode
Marta Rybczynska [Fri, 3 Jun 2022 12:17:10 +0000 (14:17 +0200)] 
cve-check: write empty fragment files in the text mode

In the cve-check text mode output, we didn't write fragment
files if there are no CVEs (if CVE_CHECK_REPORT_PATCHED is 1),
or no unpached CVEs otherwise.

However, in a system after multiple builds,
cve_check_write_rootfs_manifest might find older files and use
them as current, what leads to incorrect reporting.

Fix it by always writing a fragment file, even if empty.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1b7877acd0f6e3626faa57d9f89809cfcdfd0f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agocve-check: move update_symlinks to a library
Marta Rybczynska [Fri, 3 Jun 2022 08:58:27 +0000 (10:58 +0200)] 
cve-check: move update_symlinks to a library

Move the function to a library, it could be useful in other places.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit debd37abcdde8788761ebdb4a05bc61f7394cbb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolzo: Add further info to a patch and mark as Inactive-Upstream
Richard Purdie [Tue, 24 May 2022 12:03:07 +0000 (13:03 +0100)] 
lzo: Add further info to a patch and mark as Inactive-Upstream

Add some further info to the patch based on upstream changes. Given the last release
in 2017 and glaring issues on at least armv5, it does raise the question on whether
we should drop this. There are probably better compression tools now.

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 241309c6dec364445093fa5973cc8998431cbed9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agozip/unzip: mark all submittable patches as Inactive-Upstream
Alexander Kanavin [Tue, 24 May 2022 17:18:05 +0000 (19:18 +0200)] 
zip/unzip: mark all submittable patches as Inactive-Upstream

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>
(cherry picked from commit df78f7bb461c7d3eccac469fd01a77a3d0b800df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agomakedevs: Don't use COPYING.patch just to add license file into ${S}
Martin Jansa [Wed, 25 May 2022 21:04:08 +0000 (23:04 +0200)] 
makedevs: Don't use COPYING.patch just to add license file into ${S}

* as it uses S = "${WORKDIR}" it's another possible reproducer for
  do_patch issue mentioned here:
  https://lists.yoctoproject.org/g/yocto/message/56602

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d5c5af4dc69df39934fe54500b3dac2fb7b8ae7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agovalgrind: submit arm patches upstream
Alexander Kanavin [Tue, 24 May 2022 17:18:07 +0000 (19:18 +0200)] 
valgrind: submit arm patches upstream

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>
(cherry picked from commit 118a68bbe8c87eac77e87db409ce419749b211bb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agobash: submit patch upstream
Alexander Kanavin [Tue, 24 May 2022 17:18:06 +0000 (19:18 +0200)] 
bash: submit patch upstream

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>
(cherry picked from commit 424f1c24c569afd245463b02ca10c40dad3f8a0c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agosystemd: Correct path returned in sd_path_lookup()
Jiaqing Zhao [Mon, 23 May 2022 02:20:14 +0000 (10:20 +0800)] 
systemd: Correct path returned in sd_path_lookup()

In oe-core, sysusers.d/sysctl.d/binfmt.d/modules-load.d are still kept
under /usr/lib instead of /lib changed in systemd v246. This patch
corrects the SD_PATH_{SYSUSERS,SYSCTL,BINFMT,MODULES_LOAD} returned
in sd_path_lookup() back to the /usr/lib ones.

Also updates the patch description and upstream status.

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 8d913ab6db3ae4b2786a64a086d519a40dcb8c4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agosystemd: Drop 0002-don-t-use-glibc-specific-qsort_r.patch
Jiaqing Zhao [Mon, 23 May 2022 02:20:13 +0000 (10:20 +0800)] 
systemd: Drop 0002-don-t-use-glibc-specific-qsort_r.patch

musl 1.2.3 implements qsort_r function.

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 0c2bbf66c7a00268457ac10fed4bef3714da8651)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agosystemd: Remove __compare_fn_t type in musl-specific patch
Jiaqing Zhao [Mon, 23 May 2022 02:20:12 +0000 (10:20 +0800)] 
systemd: Remove __compare_fn_t type in musl-specific patch

Since systemd v250, commit d8f16737005e ("sort-util: avoid using
glibc's internal __compar_d_fn_t type"), __compare_fn_t type is no
longer used. This patch removes that type in the musl-specific patch.

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 89c8a3f96dfeb444213fd6c523e1495c49065ccc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agosystemd: Drop 0001-test-parse-argument-Include-signal.h.patch
Jiaqing Zhao [Mon, 23 May 2022 02:20:11 +0000 (10:20 +0800)] 
systemd: Drop 0001-test-parse-argument-Include-signal.h.patch

This patch has already been upstreamed in commit systemd/850f0008bff7
("test-parse-argument: Include signal.h") since v249 stable release.

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 25d8defc806ed760d371423a7ef99bd872462d1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agosystemd: Update patch status
Khem Raj [Thu, 19 May 2022 19:32:17 +0000 (12:32 -0700)] 
systemd: Update patch status

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2cdfc505ce4e00ae9b4abd962c60c9fec6c3db6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agosystemd: Drop 0016-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
Khem Raj [Thu, 19 May 2022 19:29:57 +0000 (12:29 -0700)] 
systemd: Drop 0016-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch

This patch was effectively needed when usng gold linker but it has been
fixed in binutils [1], it was seen in systemd as well [2]

This however, should not happen with latest binutils and systemd has
already reverted the fix since it was a tool error

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=18548
[2] https://github.com/systemd/systemd/issues/234

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e57707e820f548b3ad940ee6de9e45b4de869565)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agosystemd: Document future actions needed for set of musl patches
Khem Raj [Thu, 19 May 2022 19:29:56 +0000 (12:29 -0700)] 
systemd: Document future actions needed for set of musl patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 433d51c3840d03623509ce8e3a1b3679f8771164)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agosystemd: Drop redundant musl patches
Khem Raj [Thu, 19 May 2022 19:29:55 +0000 (12:29 -0700)] 
systemd: Drop redundant musl patches

These patches are no longer needed in version 250, they have been
dragged along rebasing over releases unnessarily. Lets remove them

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 216fe2b8e53640ae5794e9426de56cd87637dde4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agogcc: Upgrade to 11.3 release
Khem Raj [Wed, 25 May 2022 18:48:51 +0000 (20:48 +0200)] 
gcc: Upgrade to 11.3 release

This is a bugfix release on gcc-11 series, fixes 189 bugs [1]
Drop backported patches already included in 11.3 release

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=11.3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agorust-common: Fix native signature dependency issues
Richard Purdie [Sat, 21 May 2022 13:12:15 +0000 (14:12 +0100)] 
rust-common: Fix native signature dependency issues

The previous changes cause sstatetests.SStateTests.test_sstate_32_64_same_hash
to fail since RUST_XXX_SYS changes depending on the native architecture. This
is correct but these are accounted for in the layout of paths in TMPDIR so
they should be excluded from the task signatures for the correct behaviour.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b9bb4c07d0ab53f58cbdd8a96896780a90be9a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agorust-common: Drop LLVM_TARGET and simplify
Richard Purdie [Sat, 21 May 2022 13:02:47 +0000 (14:02 +0100)] 
rust-common: Drop LLVM_TARGET and simplify

This all seems over complicated for something which is basically always
one of two values. This might even help cross-canadian work on something
which isn't x86-64.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bd36593ba3db758b3eacc974e48468a665967961)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agorust-common: Fix for target definitions returning 'NoneType' for arm
Sundeep KOKKONDA [Fri, 13 May 2022 05:59:23 +0000 (22:59 -0700)] 
rust-common: Fix for target definitions returning 'NoneType' for arm

[YOCTO #14742]

The build shows below error while building for arm machines.
Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Detailed error info :

Steps to reproduce:
1. Set MACHINE ?= "qemuarm" in local.conf & add 'TOOLCHAIN_HOST_TASK:append = " packagegroup-rust-cross-canadian-${MACHINE}"'
2. bitbake core-image-minimal -cpopulate_sdk

Complete Error:
ERROR: rust-cross-canadian-arm-1.59.0-r0 do_rust_gen_targets: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_rust_gen_targets(d)
     0003:
File: '/ala-lpggp31/skokkonda/yocto/poky/meta/recipes-devtools/rust/rust-cross-canadian-common.inc', lineno: 31, function: do_rust_gen_targets
     0027:
     0028:LLVM_TARGET[x86_64] = "${RUST_HOST_SYS}"
     0029:python do_rust_gen_targets () {
     0030:    wd = d.getVar('WORKDIR') + '/targets/'
 *** 0031:    rust_gen_target(d, 'TARGET', wd, d.getVar('TARGET_LLVM_FEATURES') or "", d.getVar('TARGET_LLVM_CPU'), d.getVar('TARGET_ARCH'))
     0032:    rust_gen_target(d, 'HOST', wd, "", "generic", d.getVar('HOST_ARCH'))
     0033:    rust_gen_target(d, 'BUILD', wd, "", "generic", d.getVar('BUILD_ARCH'))
     0034:}
     0035:
File: '/ala-lpggp31/skokkonda/yocto/poky/meta/recipes-devtools/rust/rust-common.inc', lineno: 330, function: rust_gen_target
     0326:    # build tspec
     0327:    tspec = {}
     0328:    tspec['llvm-target'] = d.getVarFlag('LLVM_TARGET', arch_abi)
     0329:    tspec['data-layout'] = d.getVarFlag('DATA_LAYOUT', arch_abi)
 *** 0330:    tspec['max-atomic-width'] = int(d.getVarFlag('MAX_ATOMIC_WIDTH', arch_abi))
     0331:    tspec['target-pointer-width'] = d.getVarFlag('TARGET_POINTER_WIDTH', arch_abi)
     0332:    tspec['target-c-int-width'] = d.getVarFlag('TARGET_C_INT_WIDTH', arch_abi)
     0333:    tspec['target-endian'] = d.getVarFlag('TARGET_ENDIAN', arch_abi)
     0334:    tspec['arch'] = arch_to_rust_target_arch(rust_arch)
Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Below are the local variables from rust_gen_target function for arm and
aarch64 targets. Refer below, the tspec varibles for 'arm' generated with NoneType.

(a) Locals at rust_gen_target for arm::
tspec['data-layout'] =  None, Type of tspec['data-layout'] =  <class 'NoneType'>
tspec['data-layout'] =  None, Type of tspec['data-layout'] =  <class 'NoneType'>
DEBUG: Python function do_rust_gen_targets finished
(b) Locals at rust_gen_target  for aarch64::
tspec['data-layout'] =  aarch64-unknown-linux-gnu, Type of tspec['data-layout'] =  <class 'str'>
tspec['max-atomic-width'] =  128, Type of tspec['max-atomic-width'] =  <class 'int'>

Reason for changing arm-eabi to arm: The earlier changes introduced this bug, so reverting the change 'arm-eabi' to 'arm' fixed the issue.

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8ed000debb026477abd86ea3bf72adaf21d69f39)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agorust-common: Ensure sstate signatures have correct dependencues for do_rust_gen_targets
Sundeep KOKKONDA [Sat, 21 May 2022 09:05:54 +0000 (10:05 +0100)] 
rust-common: Ensure sstate signatures have correct dependencues for do_rust_gen_targets

The do_rust_gen_targets task was not rerunning when the configuration variables it
uses were changed. Add the missing variable dependencies to fix this.

[RP: Split to separate patch and add commit message]
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 65ce2d129154d4540cb8ec960971bcf6aa5a9480)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agorust-common: Fix sstate signatures between arm hf and non-hf
Richard Purdie [Sat, 21 May 2022 09:00:50 +0000 (10:00 +0100)] 
rust-common: Fix sstate signatures between arm hf and non-hf

Building with MACHINE=qemuarm and MACHINE=qemux86-64 causes rust-native
to rebuild. The reason is all the ingredients into the RUST_*_SYS
variables are being tracked but that doesn't really make sense in this
case:

$ bitbake-diffsigs tmp/stamps/x86_64-linux/rust-native/1.60.0-r0.do_rust_gen_targets.sigdata.63* tmp/stamps/x86_64-linux/rust-native/1.60.0-r0.do_rust_gen_targets.sigdata.34*
NOTE: Starting bitbake server...
basehash changed from 860b8f11b10182dc5b2737f62cdb697477f714adb63eeb4d4b932d67cac8eec2 to 9379e8b9df9696e8056fec7d1534661f34dda073f6d816e241b09a2dff76ae2d
Variable rust_base_triple value changed:
@@ -36,4 +36,4 @@

 # In some cases uname and the toolchain differ on their idea of the arch name
-TUNE_FEATURES{callconvention-hard} = Set
+TUNE_FEATURES{callconvention-hard} = Unset

Switch to using the final variable value for sstate signature purposes
which avoids this issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 38b61aeaf877f6a34c3c0060c175119975ebd782)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agoovmf: Fix native build with gcc-12
Khem Raj [Fri, 13 May 2022 16:22:44 +0000 (09:22 -0700)] 
ovmf: Fix native build with gcc-12

Host distros have started deploying gcc12 as well e.g. archlinux
this build failure shows up which has been fixed upstream

In function ‘GetAlignmentFromFile’,
    inlined from ‘main’ at GenFfs.c:816:20:
GenFfs.c:545:5: error: pointer ‘InFileHandle’ used after ‘fclose’ [-Werror=use-after-free]
  545 |     Error(NULL, 0, 4001, "Resource", "memory cannot be allocated  of %s", InFileHandle);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7b67f19d353d88107f52cceda3c858730ac1db54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agopciutils: avoid lspci conflict with busybox
Naveen Saini [Wed, 25 May 2022 02:43:29 +0000 (10:43 +0800)] 
pciutils: avoid lspci conflict with busybox

if virtualization is enabled as DISTRO_FEATURES, then meta-virtualization layer
enables CONFIG_LSPCI=y for busybox, which in result have conflicts with pciutils

update-alternatives: Error: not linking ..core-image-base/1.0-r0/rootfs/usr/bin/lspci
to /bin/busybox.nosuid since
..core-image-base/1.0-r0/rootfs/usr/bin/lspci exists and is not a link

So marking it as ALTERNATIVE with ALTERNATIVE_PRIORITY set to 100

Ref:
https://git.yoctoproject.org/poky/commit/meta/recipes-bsp/pciutils?id=a81af375dfc51446b21548dce2afa6a77bc02df3
https://github.com/pciutils/pciutils/commit/0b307156c92f61c1a02d232f4c6ed17e888de9a9
https://git.yoctoproject.org/meta-virtualization/tree/recipes-core/busybox/busybox/lspci.cfg
https://git.yoctoproject.org/meta-virtualization/tree/recipes-core/busybox/busybox_virtualization.inc#n4
https://git.yoctoproject.org/meta-virtualization/tree/recipes-core/busybox/busybox_%25.bbappend#n1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 257e7620a79ea50c0c59746ff9a3817d43411e39)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agoinsane.bbclass: make sure to close .patch files
Martin Jansa [Thu, 26 May 2022 10:02:36 +0000 (12:02 +0200)] 
insane.bbclass: make sure to close .patch files

* fixes:
  DEBUG: Executing python function do_qa_patch
  /OE/build/oe-core/openembedded-core/meta/classes/insane.bbclass:1189: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/openembedded-core/meta/recipes-bsp/keymaps/files/GPLv2.patch' mode='r' encoding='utf-8'>
    content = open(fullpath, encoding='utf-8', errors='ignore').read()
  ResourceWarning: Enable tracemalloc to get the object allocation traceback
  DEBUG: Python function do_qa_patch finished

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61be3668d866834adfff688620aee7e29f6d8c44)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolibseccomp: Add missing files for ptests
Joerg Vehlow [Wed, 25 May 2022 09:26:59 +0000 (11:26 +0200)] 
libseccomp: Add missing files for ptests

pfc files are used e.g. in 38-basic-pfc_coverage.sh
valgrind_test.supp is required, when valgrind is installed, otherwise
all valgrind tests fail

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 32ba67bc37b5ca73f7d29cb6c7de281ab8f824bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agostaging.bbclass: process direct dependencies in deterministic order
Martin Jansa [Thu, 26 May 2022 10:02:37 +0000 (12:02 +0200)] 
staging.bbclass: process direct dependencies in deterministic order

* this doesn't fix any issue (at least AFAIK),
  just keeps the log files more deterministic to avoid unnecessary churn like in:

  --- /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/temp/log.do_patch.2213051      2022-05-26 11:35:44.110063749 +0200
  +++ /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/temp/log.do_patch.2213372      2022-05-26 11:35:54.553062630 +0200
  @@ -1,7 +1,7 @@
   DEBUG: Executing python function extend_recipe_sysroot
  -NOTE: Direct dependencies are ['virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot']
  +NOTE: Direct dependencies are ['/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot']
   NOTE: Installed into sysroot: []
  -NOTE: Skipping as already exists in sysroot: ['patch-native', 'quilt-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native']
  +NOTE: Skipping as already exists in sysroot: ['quilt-native', 'patch-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native']
   DEBUG: Python function extend_recipe_sysroot finished
   DEBUG: Executing python function do_patch
   DEBUG: Executing python function patch_do_patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d3ebb37b97da15166d452bf51f5f7e0c312ae42e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agomesa.inc: package 00-radv-defaults.conf
Markus Volk [Thu, 19 May 2022 15:05:23 +0000 (17:05 +0200)] 
mesa.inc: package 00-radv-defaults.conf

this fixes:

ERROR: mesa-2_22.0.2-r0 do_package: QA Issue: mesa: Files/directories were installed but not shipped in any package:
  /usr/share/drirc.d/00-radv-defaults.conf
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
mesa: 1 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e306dd7d300727852a2794cd78f3097d5999eb58)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agoncurses: update to patchlevel 20220423
Davide Gardenal [Tue, 31 May 2022 14:16:45 +0000 (16:16 +0200)] 
ncurses: update to patchlevel 20220423

CVE: CVE-2022-29458

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolibpcre2: upgrade 10.39 -> 10.40
Davide Gardenal [Tue, 31 May 2022 08:26:03 +0000 (10:26 +0200)] 
libpcre2: upgrade 10.39 -> 10.40

Security fixes and update to Unicode property handling.

Upstream release notes:
https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.40

CVE: CVE-2022-1587

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolinux-yocto/5.10: update to v5.10.114
Bruce Ashfield [Thu, 19 May 2022 15:15:04 +0000 (11:15 -0400)] 
linux-yocto/5.10: update to v5.10.114

Updating  to the latest korg -stable release that comprises
the following commits:

    f40e35e79c11 Linux 5.10.114
    2d74f61787e6 perf symbol: Remove arch__symbols__fixup_end()
    bf98302e689d tty: n_gsm: fix software flow control handling
    95b267271a7d tty: n_gsm: fix incorrect UA handling
    70b045d9ae4f tty: n_gsm: fix reset fifo race condition
    320a24c4ef44 tty: n_gsm: fix wrong command frame length field encoding
    935f314b6fdb tty: n_gsm: fix wrong command retry handling
    17b86db43c00 tty: n_gsm: fix missing explicit ldisc flush
    a2baa907c281 tty: n_gsm: fix wrong DLCI release order
    705925e69360 tty: n_gsm: fix insufficient txframe size
    842a9bbbeff1 netfilter: nft_socket: only do sk lookups when indev is available
    7346e54dbf5b tty: n_gsm: fix malformed counter for out of frame data
    d19613895e15 tty: n_gsm: fix wrong signal octet encoding in convergence layer type 2
    26f127f6d938 tty: n_gsm: fix mux cleanup after unregister tty device
    f26c271492b6 tty: n_gsm: fix decoupled mux resource
    47132f9f7f76 tty: n_gsm: fix restart handling via CLD command
    b3c88d46db76 perf symbol: Update symbols__fixup_end()
    3d0a3168a364 perf symbol: Pass is_kallsyms to symbols__fixup_end()
    2ab14625b879 x86/cpu: Load microcode during restore_processor_state()
    795afbe8b40c thermal: int340x: Fix attr.show callback prototype
    11d16498d737 net: ethernet: stmmac: fix write to sgmii_adapter_base
    236dd6223051 drm/i915: Fix SEL_FETCH_PLANE_*(PIPE_B+) register addresses
    78d4dccf1601 kasan: prevent cpu_quarantine corruption when CPU offline and cache shrink occur at same time
    5fef6df2731f zonefs: Clear inode information flags on inode creation
    92ed64a9205b zonefs: Fix management of open zones
    42e8ec3b4be8 powerpc/perf: Fix 32bit compile
    ac3d0770437e drivers: net: hippi: Fix deadlock in rr_close()
    5399e7b80c37 cifs: destage any unwritten data to the server before calling copychunk_write
    80fc45377f41 x86: __memcpy_flushcache: fix wrong alignment if size > 2^32
    585ef03c9e79 ext4: fix bug_on in start_this_handle during umount filesystem
    07da0be58853 ASoC: wm8731: Disable the regulator when probing fails
    1b1747ad7e88 ASoC: Intel: soc-acpi: correct device endpoints for max98373
    aa138efd2bbf tcp: fix F-RTO may not work correctly when receiving DSACK
    9d56e369bd4f Revert "ibmvnic: Add ethtool private flag for driver-defined queue limits"
    96904c828991 ibmvnic: fix miscellaneous checks
    17f71272ef41 ixgbe: ensure IPsec VF<->PF compatibility
    c33d717e064a net: fec: add missing of_node_put() in fec_enet_init_stop_mode()
    9591967ac4d5 bnx2x: fix napi API usage sequence
    1781beb87935 tls: Skip tls_append_frag on zero copy size
    77b922683e9e drm/amd/display: Fix memory leak in dcn21_clock_source_create
    18068e0527d4 drm/amdkfd: Fix GWS queue count
    c0396f5e5bba net: dsa: lantiq_gswip: Don't set GSWIP_MII_CFG_RMII_CLK
    1204386e2657 net: phy: marvell10g: fix return value on error
    e974c730f0af net: bcmgenet: hide status block before TX timestamping
    ee71b47da599 clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
    8dacbef4fe58 bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create()
    9f29f6f8da9e tcp: make sure treq->af_specific is initialized
    8a9d6ca3608f tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWAT
    720b6ced8549 ip_gre, ip6_gre: Fix race condition on o_seqno in collect_md mode
    41661b4c1ab1 ip6_gre: Make o_seqno start from 0 in native mode
    7b187fbd7e38 ip_gre: Make o_seqno start from 0 in native mode
    83d128daff2e net/smc: sync err code when tcp connection was refused
    9eb25e00f59b net: hns3: add return value for mailbox handling in PF
    929c30c02de4 net: hns3: add validity check for message data length
    e3ec78d82d48 net: hns3: modify the return code of hclge_get_ring_chain_from_mbx
    06a40e71053a cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe
    fb172e93f861 pinctrl: pistachio: fix use of irq_of_parse_and_map()
    8f042884aff8 arm64: dts: imx8mn-ddr4-evk: Describe the 32.768 kHz PMIC clock
    73c35379dbdf ARM: dts: imx6ull-colibri: fix vqmmc regulator
    61a89d0a5bce sctp: check asoc strreset_chunk in sctp_generate_reconf_event
    41d6ac687da8 wireguard: device: check for metadata_dst with skb_valid_dst()
    3c464db03c12 tcp: ensure to use the most recently sent skb when filling the rate sample
    ce4c3f708787 pinctrl: stm32: Keep pinctrl block clock enabled when LEVEL IRQ requested
    0c60271df026 tcp: md5: incorrect tcp_header_len for incoming connections
    f4dad5a48db5 pinctrl: rockchip: fix RK3308 pinmux bits
    9ef33d23f86f bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook
    6ac03e6ddde9 netfilter: nft_set_rbtree: overlap detection with element re-addition after deletion
    72ae15d5ce5f net: dsa: Add missing of_node_put() in dsa_port_link_register_of
    14cc2044c17e memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode
    690c1bc4bfcf pinctrl: stm32: Do not call stm32_gpio_get() for edge triggered IRQs in EOI
    6f2bf9c5ddfe mtd: fix 'part' field data corruption in mtd_info
    4da421035baa mtd: rawnand: Fix return value check of wait_for_completion_timeout
    94ca69b70225 pinctrl: mediatek: moore: Fix build error
    123b7e0388e7 ipvs: correctly print the memory size of ip_vs_conn_tab
    f4446f213623 ARM: dts: logicpd-som-lv: Fix wrong pinmuxing on OMAP35
    4a526cc29cba ARM: dts: am3517-evm: Fix misc pinmuxing
    b622bca852f6 ARM: dts: Fix mmc order for omap3-gta04
    9419d27fe142 phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe
    9e00a6e1fd71 phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe
    eb659608e61e ARM: dts: at91: sama5d4_xplained: fix pinctrl phandle name
    bb524f5a95f2 ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek
    4691ce8f28da phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks
    76d1591a38c6 bus: ti-sysc: Make omap3 gpt12 quirk handling SoC specific
    1b9855bf31e2 ARM: OMAP2+: Fix refcount leak in omap_gic_of_init
    93cc8f184e3c phy: samsung: exynos5250-sata: fix missing device put in probe error paths
    3ca74915702e phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe
    8f7644ac24ba ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue
    23b0711fcd3c USB: Fix xhci event ring dequeue pointer ERDP update issue
    712302aed104 mtd: rawnand: fix ecc parameters for mt7622
    207c7af3418f iio:imu:bmi160: disable regulator in error path
    70d2df257eed arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards
    2d320609be49 arm64: dts: meson: remove CPU opps below 1GHz for G12B boards
    c4fb41bdf4d6 video: fbdev: udlfb: properly check endpoint type
    0967830e720d iocost: don't reset the inuse weight of under-weighted debtors
    ad604cbd1d54 x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests
    8fcce58c59dd riscv: patch_text: Fixup last cpu should be master
    51477d3b387b hex2bin: fix access beyond string end
    616d354fb9e8 hex2bin: make the function hex_to_bin constant-time
    1633cb2d4a1d pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config
    bdc3ad925131 arch_topology: Do not set llc_sibling if llc_id is invalid
    aaee3f661799 serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device
    662f945a2091 serial: 8250: Also set sticky MCR bits in console restoration
    8be962c89de6 serial: imx: fix overrun interrupts in DMA mode
    d22d92230ffb usb: phy: generic: Get the vbus supply
    b820764c6450 usb: cdns3: Fix issue for clear halt endpoint
    bd7f84708ea0 usb: dwc3: gadget: Return proper request status
    a633b8c34149 usb: dwc3: core: Only handle soft-reset in DCTL
    5fa59bb867a0 usb: dwc3: core: Fix tx/rx threshold settings
    140801d3fbd3 usb: dwc3: Try usb-role-switch first in dwc3_drd_init
    4dd5feb27939 usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind()
    6c3da0e19c98 usb: gadget: uvc: Fix crash when encoding data for usb request
    fb1fe1a4557a usb: typec: ucsi: Fix role swapping
    06826eb0631c usb: typec: ucsi: Fix reuse of completion structure
    7b510d4bb468 usb: misc: fix improper handling of refcount in uss720_probe()
    bb8ecca2ddf9 iio: imu: inv_icm42600: Fix I2C init possible nack
    ca2b54b6ad69 iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on()
    1060604fc7f2 iio: dac: ad5446: Fix read_raw not returning set value
    6ff33c01befb iio: dac: ad5592r: Fix the missing return value.
    06ada9487f24 xhci: increase usb U3 -> U0 link resume timeout from 100ms to 500ms
    e1be0001664d xhci: stop polling roothubs after shutdown
    2eb6c8689146 xhci: Enable runtime PM on second Alderlake controller
    63eda431b2f7 USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions
    e9971dac69a3 USB: serial: option: add support for Cinterion MV32-WA/MV32-WB
    34ff5455eed2 USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader
    729a81ae101b USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS
    008ba29f339d USB: quirks: add STRING quirk for VCOM device
    ac6ad0ef83cf USB: quirks: add a Realtek card reader
    8ba02cebb734 usb: mtu3: fix USB 3.0 dual-role-switch from device to host
    549209caabc8 lightnvm: disable the subsystem
    54c028cfc496 floppy: disable FDRAWCMD by default

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e222f60784034809b4d81a77fcca54669237915b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
23 months agolinux-yocto/5.15: update to v5.15.38
Bruce Ashfield [Thu, 19 May 2022 15:15:03 +0000 (11:15 -0400)] 
linux-yocto/5.15: update to v5.15.38

Updating  to the latest korg -stable release that comprises
the following commits:

    3fbf24b73f4a Linux 5.15.38
    151322c24e87 powerpc/64: Add UADDR64 relocation support
    ec1bb681eee2 objtool: Fix type of reloc::addend
    19ffee7d6231 objtool: Fix code relocs vs weak symbols
    80c71d76e88a eeprom: at25: Use DMA safe buffers
    7d0010f62840 perf symbol: Remove arch__symbols__fixup_end()
    ea47db3bac7a tty: n_gsm: fix software flow control handling
    ab49c23668ea tty: n_gsm: fix incorrect UA handling
    e0a84ae1c662 tty: n_gsm: fix reset fifo race condition
    f92783b7568e tty: n_gsm: fix missing tty wakeup in convergence layer type 2
    aeacc7e81c71 tty: n_gsm: fix wrong signal octets encoding in MSC
    ef2f08ee00b0 tty: n_gsm: fix wrong command frame length field encoding
    e51f35470383 tty: n_gsm: fix wrong command retry handling
    73defa00a7bc tty: n_gsm: fix missing explicit ldisc flush
    2484787cde3d tty: n_gsm: fix wrong DLCI release order
    0a7fe1a47ca5 tty: n_gsm: fix insufficient txframe size
    87e1b4f90703 netfilter: nft_socket: only do sk lookups when indev is available
    a93d2d3189e8 tty: n_gsm: fix malformed counter for out of frame data
    0d6289c4a0e1 tty: n_gsm: fix wrong signal octet encoding in convergence layer type 2
    4e1beef38c35 tty: n_gsm: fix mux cleanup after unregister tty device
    8b19dfb3e817 tty: n_gsm: fix decoupled mux resource
    7f71387d9f3b tty: n_gsm: fix restart handling via CLD command
    a87a36badd94 perf symbol: Update symbols__fixup_end()
    cf7bf78f10bd perf symbol: Pass is_kallsyms to symbols__fixup_end()
    f858bd6536e1 x86/cpu: Load microcode during restore_processor_state()
    2333d2a72ba1 ARM: dts: imx8mm-venice-gw{71xx,72xx,73xx}: fix OTG controller OC mode
    0dc5cad09e32 ARM: dts: at91: sama7g5ek: enable pull-up on flexcom3 console lines
    cf12ce1bd71d btrfs: fix leaked plug after failure syncing log on zoned filesystems
    65b785cdb397 thermal: int340x: Fix attr.show callback prototype
    f3106b0b0113 ACPI: processor: idle: Avoid falling back to C3 type C-states
    d2bc6fc51e58 net: ethernet: stmmac: fix write to sgmii_adapter_base
    4e308b21bc16 drm/i915: Fix SEL_FETCH_PLANE_*(PIPE_B+) register addresses
    67434e132b8c drm/i915: Check EDID for HDR static metadata when choosing blc
    891883c426b8 netfilter: Update ip6_route_me_harder to consider L3 domain
    c63fbe063ffb mtd: rawnand: qcom: fix memory corruption that causes panic
    30083f049204 kasan: prevent cpu_quarantine corruption when CPU offline and cache shrink occur at same time
    051e78dc1f97 zonefs: Clear inode information flags on inode creation
    534c3f29acdd zonefs: Fix management of open zones
    746140625a0f Revert "ACPI: processor: idle: fix lockup regression on 32-bit ThinkPad T40"
    2688d967ec65 selftest/vm: verify remap destination address in mremap_test
    a17404fcbfd0 selftest/vm: verify mmap addr in mremap_test
    c18b69393b4f powerpc/perf: Fix 32bit compile
    9a90c13f72e7 drivers: net: hippi: Fix deadlock in rr_close()
    3bb73c4cc265 cifs: destage any unwritten data to the server before calling copychunk_write
    4640802e1cd4 x86: __memcpy_flushcache: fix wrong alignment if size > 2^32
    5bf8eda3815a bonding: do not discard lowest hash bit for non layer3+4 hashing
    d276bcc5f72e ksmbd: set fixed sector size to FS_SECTOR_SIZE_INFORMATION
    df30cbfd3d8a ksmbd: increment reference count of parent fp
    50f79a2abb65 arch: xtensa: platforms: Fix deadlock in rs_close()
    52c3a04f9ec2 ext4: fix bug_on in start_this_handle during umount filesystem
    dd2f7fcb2a43 ASoC: wm8731: Disable the regulator when probing fails
    2c5ca9bde710 ASoC: Intel: soc-acpi: correct device endpoints for max98373
    27e724bf7c51 tcp: fix F-RTO may not work correctly when receiving DSACK
    8de15dad3c77 Revert "ibmvnic: Add ethtool private flag for driver-defined queue limits"
    881c48b61fbb ixgbe: ensure IPsec VF<->PF compatibility
    3bc7a1f85d5b perf arm-spe: Fix addresses of synthesized SPE events
    3591293c19df gfs2: No short reads or writes upon glock contention
    b5afb477d2f8 gfs2: Make sure not to return short direct writes
    fe24959a79c9 gfs2: Minor retry logic cleanup
    e4ea3286b1aa gfs2: Prevent endless loops in gfs2_file_buffered_write
    a83ee2d81b34 net: fec: add missing of_node_put() in fec_enet_init_stop_mode()
    925ebcac26e4 bnx2x: fix napi API usage sequence
    87fe5a392d27 tls: Skip tls_append_frag on zero copy size
    815b847af99d drm/amd/display: Fix memory leak in dcn21_clock_source_create
    ce9be3baec9b drm/amdkfd: Fix GWS queue count
    54e0b949bf59 netfilter: conntrack: fix udp offload timeout sysctl
    37811e46a232 io_uring: check reserved fields for recv/recvmsg
    79c10cb18815 io_uring: check reserved fields for send/sendmsg
    ee6d708520b7 net: dsa: lantiq_gswip: Don't set GSWIP_MII_CFG_RMII_CLK
    8a991ba5ddde drm/sun4i: Remove obsolete references to PHYS_OFFSET
    ede22fc0bf7e net: dsa: mv88e6xxx: Fix port_hidden_wait to account for port_base_addr
    9b649f4c5672 net: phy: marvell10g: fix return value on error
    21bf1dc99db4 net: bcmgenet: hide status block before TX timestamping
    abff341ac2f9 cpufreq: qcom-cpufreq-hw: Clear dcvs interrupts
    7356c1f0ae47 clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
    409789e2cec5 bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create()
    45b7fca32bbc tcp: make sure treq->af_specific is initialized
    6c4d4334e573 tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWAT
    6b59df7d4d0a ip_gre, ip6_gre: Fix race condition on o_seqno in collect_md mode
    e5e985dd99d8 ip6_gre: Make o_seqno start from 0 in native mode
    2dec240fb161 ip_gre: Make o_seqno start from 0 in native mode
    479dc5d15316 net/smc: sync err code when tcp connection was refused
    8c59a61ffb11 net: hns3: add return value for mailbox handling in PF
    fc480b465ab6 net: hns3: add validity check for message data length
    cfedc70d3c63 net: hns3: modify the return code of hclge_get_ring_chain_from_mbx
    88c39408187c net: hns3: clear inited state and stop client after failed to register netdev
    ac01adfa7d6d cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe
    cdc350a76925 pinctrl: pistachio: fix use of irq_of_parse_and_map()
    111827dfea31 arm64: dts: imx8mn-ddr4-evk: Describe the 32.768 kHz PMIC clock
    a621f6ce1fb3 ARM: dts: imx6ull-colibri: fix vqmmc regulator
    5a4da2e23351 sctp: check asoc strreset_chunk in sctp_generate_reconf_event
    37a04788c573 wireguard: device: check for metadata_dst with skb_valid_dst()
    d632cba7dee7 tcp: ensure to use the most recently sent skb when filling the rate sample
    e9b1a51c3297 pinctrl: stm32: Keep pinctrl block clock enabled when LEVEL IRQ requested
    eb90a4269c20 tcp: md5: incorrect tcp_header_len for incoming connections
    eea166561f7c pinctrl: rockchip: fix RK3308 pinmux bits
    86d8076e5971 bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook
    c2a69ac00b42 netfilter: nft_set_rbtree: overlap detection with element re-addition after deletion
    9cc897ca03df net: dsa: Add missing of_node_put() in dsa_port_link_register_of
    72e7940b00b5 memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode
    2075f6f8e627 pinctrl: stm32: Do not call stm32_gpio_get() for edge triggered IRQs in EOI
    291ee6787b35 mtd: fix 'part' field data corruption in mtd_info
    6465a2120b23 mtd: rawnand: Fix return value check of wait_for_completion_timeout
    102775603cd9 pinctrl: mediatek: moore: Fix build error
    d3dfa4954e35 phy: amlogic: fix error path in phy_g12a_usb3_pcie_probe()
    b347b850a49f ipvs: correctly print the memory size of ip_vs_conn_tab
    12d3fd4d8c49 ARM: dts: logicpd-som-lv: Fix wrong pinmuxing on OMAP35
    6b4928990b14 ARM: dts: am3517-evm: Fix misc pinmuxing
    6476c49e8e31 ARM: dts: Fix mmc order for omap3-gta04
    4e81598e2122 interconnect: qcom: sdx55: Drop IP0 interconnects
    344558d201bb phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe
    cf6f119f8244 phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe
    49c7d87f19d4 ARM: dts: at91: fix pinctrl phandles
    7ecb2639eb8a ARM: dts: at91: sama5d4_xplained: fix pinctrl phandle name
    1e68040245ad ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek
    555bcbb7d0ff phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks
    d60abf246aa5 ARM: dts: dra7: Fix suspend warning for vpe powerdomain
    127295f86f70 bus: ti-sysc: Make omap3 gpt12 quirk handling SoC specific
    033cac39d0b7 ARM: OMAP2+: Fix refcount leak in omap_gic_of_init
    a933ee691dbd phy: samsung: exynos5250-sata: fix missing device put in probe error paths
    3c8a02347f84 phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe
    bb0f3522cf42 arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO pin labeling for CON1
    0f8e303faf88 arm64: dts: imx8mn: Fix SAI nodes
    f1266c4eba8a ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue
    7596c4576a0e USB: Fix xhci event ring dequeue pointer ERDP update issue
    11baa5edf37d arm64: dts: imx8qm: Correct SCU clock controller's compatible property
    d84f8327af13 xsk: Fix l2fwd for copy mode + busy poll combo
    3ec920d755ae mtd: rawnand: fix ecc parameters for mt7622
    9e4dedb8ec72 iio:imu:bmi160: disable regulator in error path
    d583cd6afc3b arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards
    9f878775fceb arm64: dts: meson: remove CPU opps below 1GHz for G12B boards
    4df1584738f1 video: fbdev: udlfb: properly check endpoint type
    1ad0832e8712 cpufreq: qcom-cpufreq-hw: Fix throttle frequency value on EPSS platforms
    38ac9ca93252 cpufreq: qcom-hw: fix the race between LMH worker and cpuhp
    08b036bac865 virtio_net: fix wrong buf address calculation when using xdp
    10f24144ca48 iocost: don't reset the inuse weight of under-weighted debtors
    559d4f45958b x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests
    95ad6bef5bf1 riscv: patch_text: Fixup last cpu should be master
    3437091fcc2f hex2bin: fix access beyond string end
    4541645b5881 hex2bin: make the function hex_to_bin constant-time
    41dee1832617 pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config
    8f2dac58b39e arm64: dts: imx8mm-venice: fix spi2 pin configuration
    34b5d2aa355a bus: mhi: host: pci_generic: Flush recovery worker during freeze
    b3d21deabcbe bus: mhi: host: pci_generic: Add missing poweroff() PM callback
    732f861dd480 ceph: fix possible NULL pointer dereference for req->r_session
    2b008197a06b arch_topology: Do not set llc_sibling if llc_id is invalid
    03cab849da1a serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device
    9445505273a5 serial: 8250: Also set sticky MCR bits in console restoration
    ac55cac5dcd4 serial: amba-pl011: do not time out prematurely when draining tx fifo
    858d93280e83 serial: imx: fix overrun interrupts in DMA mode
    c0ea202fbc85 usb: phy: generic: Get the vbus supply
    dd2af3ad968f usb: cdns3: Fix issue for clear halt endpoint
    455285db8717 usb: dwc3: pci: add support for the Intel Meteor Lake-P
    0d1c407b1a74 usb: dwc3: gadget: Return proper request status
    7d14c96bff09 usb: dwc3: core: Only handle soft-reset in DCTL
    5d8299ead7c5 usb: dwc3: core: Fix tx/rx threshold settings
    b81be940eaca usb: dwc3: Try usb-role-switch first in dwc3_drd_init
    9f051e510cd2 usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind()
    f9b2660d9c10 usb: gadget: uvc: Fix crash when encoding data for usb request
    e5e7d6c4b305 usb: typec: ucsi: Fix role swapping
    3e5dd4cf30fe usb: typec: ucsi: Fix reuse of completion structure
    6bf55f6b0ebf usb: core: Don't hold the device lock while sleeping in do_proc_control()
    949d422949ee usb: misc: fix improper handling of refcount in uss720_probe()
    a590353a9506 iio: imu: inv_icm42600: Fix I2C init possible nack
    7619f3c498a2 iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on()
    28e1f974e3e7 iio: dac: ad5446: Fix read_raw not returning set value
    cd266c38aaa4 iio: dac: ad5592r: Fix the missing return value.
    48bc03979f30 xhci: increase usb U3 -> U0 link resume timeout from 100ms to 500ms
    9faa311f65b0 xhci: stop polling roothubs after shutdown
    10e0d30f99f4 xhci: Enable runtime PM on second Alderlake controller
    576b40690e91 usb: xhci: tegra:Fix PM usage reference leak of tegra_xusb_unpowergate_partitions
    4ebf2982db15 USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions
    be94d697baab USB: serial: option: add support for Cinterion MV32-WA/MV32-WB
    bb73ae98f086 USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader
    f183708e8ecc USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS
    7f8fc606893c USB: quirks: add STRING quirk for VCOM device
    96a5999e1f62 USB: quirks: add a Realtek card reader
    0da0ac894129 usb: mtu3: fix USB 3.0 dual-role-switch from device to host

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8017b8b05ad8c071f7fb56bfd8e983d9361b8c46)
Signed-off-by: Steve Sakoman <steve@sakoman.com>