]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
2 months agobuild-appliance-image: Update to nanbield head revision 2023-10.3 2023-10.3-nanbield yocto-4.3.3
Steve Sakoman [Thu, 8 Feb 2024 13:49:03 +0000 (03:49 -1000)] 
build-appliance-image: Update to nanbield head revision

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agotcl: Fix prepending to run-ptest script
Khem Raj [Tue, 9 Jan 2024 23:29:12 +0000 (15:29 -0800)] 
tcl: Fix prepending to run-ptest script

This ensures that string is prepended properly and eclosed in ''
Fixes the ptest runs on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7bb45591f9caa7ff6b065220927a26e8261e2866)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agorootfs.py: check depmodwrapper execution result
Yang Xu [Tue, 9 Jan 2024 11:05:15 +0000 (11:05 +0000)] 
rootfs.py: check depmodwrapper execution result

The execution result of depmodwrapper is not checked which makes depmod
generation failed sliently and hard to detect.

So check exection result and stop building if depmodwrapper failed.

Signed-off-by: Yang Xu <yang.xu@mediatek.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2f88e7d331390c6aaecc4522253e24791aec299e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agolinux-firmware: Fix the linux-firmware-bcm4373 FILES variable
Rodrigo M. Duarte [Mon, 8 Jan 2024 13:43:23 +0000 (10:43 -0300)] 
linux-firmware: Fix the linux-firmware-bcm4373 FILES variable

This commit includes the 'cyfmac4373-sdio.clm_blob' file in
the list of files for the linux-firmware-bcm4373 package.
Without this file, the linux-firmware package adds all
firmware packages to the image.

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7886d3b77200e4488393fa11c8198658fcf386cd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agoicon-naming-utils: take tarball from debian
Alexander Kanavin [Mon, 8 Jan 2024 11:12:27 +0000 (12:12 +0100)] 
icon-naming-utils: take tarball from debian

Upstream website has disappeared; the tarball can still be downloaded
but this is probably not for long.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit af59c518467d1174d1d63594fdd3279a2fdbd8f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agoqemu.bbclass: fix a python TypeError
Ming Liu [Sun, 7 Jan 2024 10:34:48 +0000 (11:34 +0100)] 
qemu.bbclass: fix a python TypeError

QEMU_OPTIONS can be empty which will trigger a exception TypeError:
| can only concatenate str (not "NoneType") to str. Fix it by setting a
empty string.

ALso removed two useless blanks.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b619197bd52a4a99a9989e7ea6fb7032415b1e42)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agoelfutils: Update license information
William Lyu [Thu, 4 Jan 2024 18:30:45 +0000 (10:30 -0800)] 
elfutils: Update license information

Update license information for overall package, package libraries, and
package utilities in the recipe to match the license information as
described on the upstream website [1]:

"License. The libraries and backends are dual GPLv2+/LGPLv3+. The
utilities are GPLv3+."

[1] https://sourceware.org/elfutils

Signed-off-by: William Lyu <William.Lyu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c0728805f24cbd6a788871ae54af4ec8307e40d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agogrub: fs/fat: Don't error when mtime is 0
Ming Liu [Wed, 3 Jan 2024 12:30:52 +0000 (13:30 +0100)] 
grub: fs/fat: Don't error when mtime is 0

A issue was found when I run "runqemu genericx86-64 ovmf", grub failed
to boot, it's a known issue has been fixed in grub upstream, backport
the fix.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 51eab4bb0cae46c9c32d28986eb97badf47594b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agoglibc-y2038-tests: do not run tests using 32 bit time APIs
Alexander Kanavin [Wed, 3 Jan 2024 11:52:44 +0000 (12:52 +0100)] 
glibc-y2038-tests: do not run tests using 32 bit time APIs

I'm not sure why this was included and enabled to begin with: the tests
predictably mass-fail if system time is set to after y2038.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9c7ebd6e447bce19803253afd881854f686b5f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agoscripts/runqemu: fix regex escape sequences
Trevor Gamblin [Tue, 2 Jan 2024 16:52:58 +0000 (11:52 -0500)] 
scripts/runqemu: fix regex escape sequences

When invoking runqemu with Python 3.12, the following warning is
encountered:

|SyntaxWarning: invalid escape sequence '\.'

This is because the interpreter scans the string before it is processed
by the regex module, and it interprets the backslash as part of an
escape sequence, but not a standard one. This will be registered as an
error rather than a warning in future Python versions. To avoid the it,
simply add an extra backslash so that Python doesn't misinterpret the
string, while the regex parser still sees an escaped '.' character.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e8a4142bb90a92d175df6b2537d24a372356f98)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agocurl: Disable test 1091 due to intermittent failures
Richard Purdie [Thu, 28 Dec 2023 22:58:36 +0000 (22:58 +0000)] 
curl: Disable test 1091 due to intermittent failures

Disable another test that intermittently fails on the autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d169e13f7e2eb6511f0ac98da63b060c6c0d53a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agosqlite: drop obsolete CVE ignore
Peter Marko [Sun, 28 Jan 2024 16:57:05 +0000 (17:57 +0100)] 
sqlite: drop obsolete CVE ignore

CVE-2023-36191 is now rejected in NVD DB so it won't shoup up in
cve-check report anymore.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agosqlite3: upgrade 3.43.1 -> 3.43.2
Peter Marko [Sun, 28 Jan 2024 16:57:04 +0000 (17:57 +0100)] 
sqlite3: upgrade 3.43.1 -> 3.43.2

This fixes CVE-2024-0232

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agoaspell: upgrade 0.60.8 -> 0.60.8.1
Wang Mingyu [Fri, 29 Dec 2023 03:25:44 +0000 (11:25 +0800)] 
aspell: upgrade 0.60.8 -> 0.60.8.1

CVE-2019-25051.patch
removed since it's included in 0.60.8.1

Changelog:
============
-Fix memory leak in suggestion code introduced in 0.60.8.
-Various documentation fixes.
-Fix various warnings when compiling with -Wall.
-Fix two buffer overflows found by Google's OSS-Fuzz.
-Other minor updates.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec3c8642f71b470936b6dd29331afa467ab865c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agogstreamer1.0: upgrade 1.22.7 -> 1.22.8
Wang Mingyu [Wed, 27 Dec 2023 13:06:47 +0000 (21:06 +0800)] 
gstreamer1.0: upgrade 1.22.7 -> 1.22.8

From release notes:

1.22 bug-fix release (1.22.8) was released on 18 December 2023.

This release only contains bugfixes and security fixes and it should be safe to update from 1.22.x.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 132d8b7e0188aae8849ae43cfffabce4389a55df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2 months agoglibc: Set status for CVE-2023-5156 & CVE-2023-0687
Simone Weiß [Thu, 11 Jan 2024 15:20:56 +0000 (15:20 +0000)] 
glibc: Set status for CVE-2023-5156 & CVE-2023-0687

Set `CVE_STATUS`for those CVEs, they have already been fixed with the latest
pull for stable branch fixes done in rev
e444d2bed0ea140a574414fcd5a689867e8ba312. Hence the issues are fixed
already.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e6fe23c95f1d0a8a0503cb71557cf3272bf9945)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agopackage.py: OEHasPackage: Add MLPREFIX to packagename
Saul Wold [Sun, 24 Dec 2023 01:12:07 +0000 (17:12 -0800)] 
package.py: OEHasPackage: Add MLPREFIX to packagename

FIXES [YOCTO #12342]

When testing a Multilib image, the package manifest list contains
the fully qualified package name which includes the Multilib Prefix.
This patch adds the MLPREFIX to the package names that are passed
into the @OEHasPackage() decorator to ensure the set isdisjoint()
matches correctly.

Signed-off-by: Saul Wold <sgw@bigsur.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ab87e4f92305b2a664cc473869e1615cf56e0936)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agooeqa/selftest/prservice: Improve test robustness
Richard Purdie [Fri, 22 Dec 2023 13:47:39 +0000 (13:47 +0000)] 
oeqa/selftest/prservice: Improve test robustness

The tests were not cleaning up after themselves and making assumptions about
memory resident bitbake being stopped by the scripts.

Add cleanup logic to ensure the tests don't break other things and
clean up created files.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 692dd762a0c817797c28381c6169205fbaeb2705)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolib/prservice: Improve lock handling robustness
Richard Purdie [Thu, 21 Dec 2023 15:14:37 +0000 (15:14 +0000)] 
lib/prservice: Improve lock handling robustness

It is possible we could crash holding a lock whilst parsing in this code.
Switch to use utils.fileslocked() in the with expression to avoid this.

This may be causing some of our strange intermittent failures in PRServ
tests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e59db15e5df2cc3d0ae042454812a2d54cef77b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agoclasses-global/sstate: Fix variable typo
Joshua Watt [Fri, 22 Dec 2023 22:41:09 +0000 (15:41 -0700)] 
classes-global/sstate: Fix variable typo

The vardepsexclude was subtly wrong in that it referenced STATE_MANMACH
when the actual variable name is SSTATE_MANMACH.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec5054396f7fafea2a071d2695ae111fc585d6e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agouninative-tarball.xz - reproducibility fix
Robert Berger [Fri, 30 Jun 2023 13:14:30 +0000 (15:14 +0200)] 
uninative-tarball.xz - reproducibility fix

added --clamp-mtime --mtime to the tar command

see:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15148

Signed-off-by: Robert Berger <Robert.Berger@ReliableEmbeddedSystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2ef7c63871ab4fb62a9cea45a23a78bf9d541e4a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agoncurses: Fix - tty is hung after reset
Soumya Sambu [Wed, 20 Dec 2023 12:12:57 +0000 (12:12 +0000)] 
ncurses: Fix - tty is hung after reset

Serial tty is hung after reset command -
$echo "test " >> /dev/ttyS0
test
$stty -a < /dev/ttyS0
speed 115200 baud; rows 34; columns 153; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon -iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
$reset
$echo "test " >> /dev/ttyS0
^C
$stty -a < /dev/ttyS0
^C

Updating reset_tty_settings API with latest code which fixes tty hung issue

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2419afd8024f903efff862f3f7f7772aedea7613)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agodevtool: deploy: provide max_process to strip_execs
Clay Chang [Wed, 20 Dec 2023 07:31:33 +0000 (15:31 +0800)] 
devtool: deploy: provide max_process to strip_execs

Use oe.utils.get_bb_number_threads to get max_process

Signed-off-by: Clay Chang <clayc@hpe.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f0056dca0a44c374f1f0c5fccbf66ae88e0b1850)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agocurl: Disable two intermittently failing tests
Richard Purdie [Thu, 21 Dec 2023 12:37:51 +0000 (12:37 +0000)] 
curl: Disable two intermittently failing tests

These two tests seem to fail semi-regularly so just stop running them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1bfa564f1aa8b865f6c3ae3501e6d5f6cc0542eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agodtc: preserve version also from shallow git clones
Peter Marko [Sat, 16 Dec 2023 18:55:04 +0000 (19:55 +0100)] 
dtc: preserve version also from shallow git clones

Since switch from Makefile to meson based build,
the version is no longer hardcoded but queried from git tag.

This works only if git history is available.
When shallow tarballs are used, tag is not available.

Example error for trusted-firmware-a from meta-arm:
dtc version too old (039a994), you need at least version 1.4.4

Backport also patch to fix version in meson file.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 319f5d8a32d1f4a71ac997ce4522249b08f84945)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agopython3-license-expression: Fix the ptest failure
Mingli Yu [Tue, 19 Dec 2023 02:47:14 +0000 (10:47 +0800)] 
python3-license-expression: Fix the ptest failure

Fix the below ptest failure:
 self = <test_skeleton_codestyle.BaseTests testMethod=test_skeleton_codestyle>
 def test_skeleton_codestyle(self):
 """
 This test shouldn't run in proliferated repositories.
 """
 setup_cfg = configparser.ConfigParser()
 setup_cfg.read("setup.cfg")
 > if setup_cfg["metadata"]["name"] != "skeleton":
 tests/test_skeleton_codestyle.py:22:
 self = <configparser.ConfigParser object at 0x7fd87cf55110>, key = 'metadata'
 def _getitem_(self, key):
 if key != self.default_section and not self.has_section(key):
 > raise KeyError(key)
 E KeyError: 'metadata'

After the patch:
 # ./run-ptest
 [snip]
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_bad_syntax
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_as_regular_key
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_with_choice
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception_strict_false
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_key
 PASS: tests/test_license_expression.py::UtilTest::test_build_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_build_spdx_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info_vendored
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_duplicated_elements
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_empty_input
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_or_relationship
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_regular
 PASS: tests/test_skeleton_codestyle.py::BaseTests::test_skeleton_codestyle
============================================================================
Testsuite summary
 # TOTAL: 175
 # PASS: 175
 # SKIP: 0
 # XFAIL: 0
 # FAIL: 0
 # XPASS: 0

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Changed in v4:
Add python3-license-expression to PTESTS_FAST

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b06ad7a9f1dd5900483102f5723a6821f961dab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agonfs-utils: Update Upstream-Status
Robert Yang [Fri, 15 Dec 2023 13:47:27 +0000 (05:47 -0800)] 
nfs-utils: Update Upstream-Status

Update Upstream-Status for 0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7189d1ea5c066b9ffc52103160bb34945fd779d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: update CVE exclusions
Bruce Ashfield [Fri, 19 Jan 2024 21:14:19 +0000 (16:14 -0500)] 
linux-yocto/6.1: update CVE exclusions

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 15Jan24
        Date: Mon, 15 Jan 2024 12:48:45 -0500

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74bf102eb4ae7377527a146e3db1d9ee1da1f2da)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: update to v6.1.73
Bruce Ashfield [Fri, 19 Jan 2024 21:14:18 +0000 (16:14 -0500)] 
linux-yocto/6.1: update to v6.1.73

Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

    fec3b1451d5f Linux 6.1.73
    f9ee31dc7fcd cifs: fix flushing folio regression for 6.1 backport
    0f22c8a6efe6 ipv6: remove max_size check inline with ipv4
    b2c545c39877 Revert "nfsd: separate nfsd_last_thread() from nfsd_put()"
    db5f2f4db8b7 Revert "nfsd: call nfsd_last_thread() before final nfsd_put()"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27004956fb5ce3d4c2a48e64681b743763641f04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: security/cfg: add configs to harden protection
Bruce Ashfield [Fri, 19 Jan 2024 21:14:15 +0000 (16:14 -0500)] 
linux-yocto/6.1: security/cfg: add configs to harden protection

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

1/1 [
    Author: Xiangyu Chen
    Email: xiangyu.chen@windriver.com
    Subject: feature/security: add configs to harden protection
    Date: Tue, 16 Jan 2024 18:22:31 +0800

    Add some configs to harden protection:
      CONFIG_HW_RANDOM_TPM=y Exposing the TPM's Random Number Generator as a hwrng device.
      CONFIG_DEBUG_WX=y Warn on W+X mappings at boot.
      CONFIG_SECURITY_DMESG_RESTRICT=y Restrict unprivileged access to the kernel syslog.
      CONFIG_LDISC_AUTOLOAD=n Disable automatically load TTY Line Disciplines.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33d3dd8f5469cb0b2999d7f935378899d447b3ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: update CVE exclusions
Bruce Ashfield [Fri, 19 Jan 2024 21:14:12 +0000 (16:14 -0500)] 
linux-yocto/6.1: update CVE exclusions

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 27Dec23
        Date: Wed, 27 Dec 2023 19:47:13 -0500

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c16ed90dae1f1954b582c4fb6783fca7e3171af3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: update to v6.1.72
Bruce Ashfield [Fri, 19 Jan 2024 21:14:11 +0000 (16:14 -0500)] 
linux-yocto/6.1: update to v6.1.72

Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

    7c58bfa711cb Linux 6.1.72
    2dbe25ae06e6 Revert "interconnect: qcom: sm8250: Enable sync_state"
    f73a374c1969 smb3: Replace smb2pdu 1-element arrays with flex-arrays
    ec162546a733 media: qcom: camss: Comment CSID dt_id field
    a5c3f2b4cee7 bpf: syzkaller found null ptr deref in unix_bpf proto add
    15db682980fc bpf: Fix a verifier bug due to incorrect branch offset comparison with cpu=v4
    7cbdf36eabf3 net/sched: act_ct: Always fill offloading tuple iifidx
    2be4e8ac2d16 net/sched: act_ct: additional checks for outdated flows
    87318b7e374c f2fs: compress: fix to assign compress_level for lz4 correctly
    397f719037c2 genirq/affinity: Only build SMP-only helper functions on SMP kernels
    28c9222e29e5 mmc: sdhci-sprd: Fix eMMC init failure after hw reset
    2813a434d461 mmc: core: Cancel delayed work before releasing host
    575e127041f2 mmc: rpmb: fixes pause retune on all RPMB partitions.
    9c5efaa09b31 mmc: meson-mx-sdhc: Fix initialization frozen issue
    48e1d426f452 drm/amd/display: add nv12 bounding box
    11c3510d1d4d drm/amdgpu: skip gpu_info fw loading on navi12
    dafdeb7b91f1 mm: fix unmap_mapping_range high bits shift bug
    08038069c237 i2c: core: Fix atomic xfer check for non-preempt config
    53b42cb33fb1 x86/kprobes: fix incorrect return address calculation in kprobe_emulate_call_indirect
    d1db1ef5e633 firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards
    09a44d994bfe ring-buffer: Fix 32-bit rb_time_read() race with rb_time_cmpxchg()
    820a7802f25a btrfs: mark the len field in struct btrfs_ordered_sum as unsigned
    ab220f4f5c70 btrfs: fix qgroup_free_reserved_data int overflow
    0f74dde5be2c octeontx2-af: Support variable number of lmacs
    7d3912613d5b octeontx2-af: Fix pause frame configuration
    a29b15cc68a6 net/sched: act_ct: Take per-cb reference to tcf_ct_flow_table
    2bb4ecb3349c netfilter: flowtable: GC pushes back packets to classic path
    df01de08b411 net/sched: act_ct: Fix promotion of offloaded unreplied tuple
    87466a374571 net/sched: act_ct: offload UDP NEW connections
    8b160f2fba77 netfilter: flowtable: cache info of last offload
    c29a7656f8a2 netfilter: flowtable: allow unidirectional rules
    e681f711e9e8 net: sched: call tcf_ct_params_free to free params in tcf_ct_init
    d49bf9c1ceb3 mm/memory_hotplug: fix error handling in add_memory_resource()
    4666f003afff mm/memory_hotplug: add missing mem_hotplug_lock
    a576780a2a66 lib/group_cpus.c: avoid acquiring cpu hotplug lock in group_cpus_evenly
    f33b27f5c3de genirq/affinity: Move group_cpus_evenly() into lib/
    617ba3735d3b genirq/affinity: Rename irq_build_affinity_masks as group_cpus_evenly
    aeeb4e4e49f8 genirq/affinity: Don't pass irq_affinity_desc array to irq_build_affinity_masks
    9e84d7bb1505 genirq/affinity: Pass affinity managed mask array to irq_build_affinity_masks
    a1dcd1794730 genirq/affinity: Remove the 'firstvec' parameter from irq_build_affinity_masks
    f4fe76467e7b ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7
    aee609302d65 firmware: arm_scmi: Fix frequency truncation by promoting multiplier type
    90d1f74c3cf6 bpf, sockmap: af_unix stream sockets need to hold ref for pair sock
    5ff1682fec18 ethtool: don't propagate EOPNOTSUPP from dumps
    e570b1508753 dpaa2-eth: recycle the RX buffer only after all processing done
    5b8938fc7d00 net: dpaa2-eth: rearrange variable in dpaa2_eth_get_ethtool_stats
    e88275ce7e7b smb: client: fix missing mode bits for SMB symlinks
    bf223fd4d914 block: update the stable_writes flag in bdev_add
    a8e4300ae58d filemap: add a per-mapping stable writes flag
    d0eafc763135 mm, netfs, fscache: stop read optimisation when folio removed from pagecache
    bceff380f361 mm: merge folio_has_private()/filemap_release_folio() call pairs
    8b6b3ecf0c13 memory-failure: convert truncate_error_page() to use folio
    a6f440f3b956 khugepage: replace try_to_release_page() with filemap_release_folio()
    4c78612e5fbc ext4: convert move_extent_per_page() to use folios
    b92a8f591ca8 media: qcom: camss: Fix set CSI2_RX_CFG1_VC_MODE when VC is greater than 3
    710f70555d5b media: camss: sm8250: Virtual channels for CSID
    c96a4f936008 selftests: mptcp: set FAILING_LINKS in run_tests
    4b85e920afc8 selftests: mptcp: fix fastclose with csum failure
    336d1ee07efb f2fs: set the default compress_level on ioctl
    1ff3f5ef284b f2fs: assign default compression level
    55d3f41e5583 f2fs: convert to use bitmap API
    84a8d913fb53 f2fs: clean up i_compress_flag and i_compress_level usage
    2c14f4991610 s390/cpumf: support user space events for counting
    a1a1e5ce88a7 s390/mm: add missing arch_set_page_dat() call to vmem_crst_alloc()
    31051f722db2 net/mlx5: Increase size of irq name buffer
    b5c8e0ff76d1 blk-mq: make sure active queue usage is held for bio_integrity_prep()
    803fb6109fcf bpf: fix precision backtracking instruction iteration
    b08acd5c4602 bpf: handle ldimm64 properly in check_cfg()
    2c795ce09042 bpf: Support new 32bit offset jmp instruction
    b1c780ed3c22 bpf: clean up visit_insn()'s instruction processing
    97bb6dab0172 bpf: Remove unused insn_cnt argument from visit_[func_call_]insn()
    8266c47d04b2 bpf: remove unnecessary prune and jump points
    743f3548d301 bpf: decouple prune and jump points
    eb4f2e17886a fbdev: imsttfb: fix double free in probe()
    f2a79f3651a5 fbdev: imsttfb: Release framebuffer and dealloc cmap on error path
    51a1b943022f arm64: dts: qcom: sdm845: Fix PSCI power domain names
    5db8b93cbe2d arm64: dts: qcom: sdm845: align RPMh regulator nodes with bindings
    343bb27e3152 wifi: iwlwifi: yoyo: swap cdb and jacket bits values
    158b71f3a9fa udp: annotate data-races around udp->encap_type
    8d929b6c1114 udp: lockless UDP_ENCAP_L2TPINUDP / UDP_GRO
    b680a907d17c udp: move udp->accept_udp_{l4|fraglist} to udp->udp_flags
    753886c0b994 udp: move udp->gro_enabled to udp->udp_flags
    a01cff15ccdc udp: move udp->no_check6_rx to udp->udp_flags
    50e41aa9ea0d udp: move udp->no_check6_tx to udp->udp_flags
    e2a4392b61f6 udp: introduce udp->udp_flags
    2489502fb1f5 ipv4, ipv6: Use splice_eof() to flush
    4713b7c7568b splice, net: Add a splice_eof op to file-ops and socket-ops
    ac8c69e448f7 udp: Convert udp_sendpage() to use MSG_SPLICE_PAGES
    6bcc79a4e760 net: Declare MSG_SPLICE_PAGES internal sendmsg() flag
    89b51e70e5e3 bpf, x86: save/restore regs with BPF_DW size
    4ee461c5dc99 bpf, x86: Simplify the parsing logic of structure parameters
    605c8d8f9966 bpf, x64: Fix tailcall infinite loop
    5573fdbc3423 srcu: Fix callbacks acceleration mishandling
    abc3e3fb71a5 cpu/SMT: Make SMT control more robust against enumeration failures
    482fa21635c8 cpu/SMT: Create topology_smt_thread_allowed()
    a364c18553d0 selftests: secretmem: floor the memory size to the multiple of page_size
    c38c5cfd3ed7 net: Implement missing SO_TIMESTAMPING_NEW cmsg support
    14937f47a48f bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
    55fbcd83aaca net: ravb: Wait for operating mode to be applied
    8a09b0f01c40 asix: Add check for usbnet_get_endpoints
    db9c4a1f37ee octeontx2-af: Re-enable MAC TX in otx2_stop processing
    b67e7d78e48a octeontx2-af: Always configure NIX TX link credits based on max frame size
    84c3833a93bb net/smc: fix invalid link access in dumping SMC-R connections
    0af75845ff5e net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
    9b0504292237 igc: Fix hicredit calculation
    7663226274af i40e: Restore VF MSI-X state during PCI reset
    5735f529e318 ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux
    8719838c126a ASoC: meson: g12a-toacodec: Fix event generation
    5de3c8496e77 ASoC: meson: g12a-tohdmitx: Validate written enum values
    95b4d4093ac0 ASoC: meson: g12a-toacodec: Validate written enum values
    2f3b6e8600c9 i40e: fix use-after-free in i40e_aqc_add_filters()
    72fa66177859 net: Save and restore msg_namelen in sock_sendmsg
    81f8a995ebc8 netfilter: nft_immediate: drop chain reference counter on error
    bb1bf97fa187 net: bcmgenet: Fix FCS generation for fragmented skbuffs
    e75715e1c2e5 sfc: fix a double-free bug in efx_probe_filters
    725d44e49fb5 ARM: sun9i: smp: Fix array-index-out-of-bounds read in sunxi_mc_smp_init
    85f6fae44bba selftests: bonding: do not set port down when adding to bond
    3edd66bd4e42 net: Implement missing getsockopt(SO_TIMESTAMPING_NEW)
    ac5fde92b510 net: annotate data-races around sk->sk_bind_phc
    c48fcb4f4906 net: annotate data-races around sk->sk_tsflags
    5d586f7ca0fc net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestamps
    b2130366a952 can: raw: add support for SO_MARK
    633a49e34b32 r8169: Fix PCI error on system resume
    565460e180d9 net: sched: em_text: fix possible memory leak in em_text_destroy()
    ac5cbe931c43 mlxbf_gige: fix receive packet race condition
    6d7f45492706 ASoC: mediatek: mt8186: fix AUD_PAD_TOP register and offset
    811604fb02c4 ASoC: fsl_rpmsg: Fix error handler with pm_runtime_enable
    c3a37dc15685 igc: Check VLAN EtherType mask
    6edff0b8381c igc: Check VLAN TCI mask
    d27b98f4aeae igc: Report VLAN EtherType matching back to user
    e76d1913f6a8 i40e: Fix filter input checks to prevent config with invalid values
    188c9970d05e ice: Shut down VSI with "link-down-on-close" enabled
    83b80170b7fa ice: Fix link_down_on_close message
    f3f6a23e054c drm/i915/dp: Fix passing the correct DPCD_REV for drm_dp_set_phy_test_pattern
    6cf7235bc1fb octeontx2-af: Fix marking couple of structure as __packed
    a4b0a9b80a96 nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local
    282e3fb61285 netfilter: nf_tables: set transport offset from mac header for netdev/egress
    9487cc4c90fb netfilter: use skb_ip_totlen and iph_totlen
    5f523f1beb46 drm/bridge: ti-sn65dsi86: Never store more than msg->size bytes in AUX xfer
    3da4868907da wifi: iwlwifi: pcie: don't synchronize IRQs from IRQ
    493d556278a3 KVM: x86/pmu: fix masking logic for MSR_CORE_PERF_GLOBAL_CTRL
    3152a7d361c6 cifs: do not depend on release_iface for maintaining iface_list
    5982a625fc0d cifs: cifs_chan_is_iface_active should be called with chan_lock held
    4afcb82518b9 drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE
    b9c370b61d73 Revert "PCI/ASPM: Remove pcie_aspm_pm_state_change()"
    af9a5307656d mptcp: prevent tcp diag from closing listener subflows
    105063f7f441 ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP ProBook 440 G6
    0fa3cf2d151e ALSA: hda/realtek: fix mute/micmute LEDs for a HP ZBook
    beda900d3aaf ALSA: hda/realtek: enable SND_PCI_QUIRK for hp pavilion 14-ec1xxx series
    9539e3b56e0d block: Don't invalidate pagecache for invalid falloc modes
    079eefaecfd7 keys, dns: Fix missing size check of V1 server-list header
    38fb82ecd144 Linux 6.1.71
    74c4c7d57cf2 Revert "platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe"
    7709b16bdbd5 tracing/kprobes: Fix symbol counting logic by looking at modules as well
    9dd295341dc1 kallsyms: Make module_kallsyms_on_each_symbol generally available
    29cb16577189 device property: Allow const parameter to dev_fwnode()
    e7b04372179e spi: Constify spi parameters of chip select APIs
    f9a01938e079 NFSD: fix possible oops when nfsd/pool_stats is closed.
    899ac41804d8 ring-buffer: Fix slowpath of interrupted event
    0105571f80ed netfilter: nf_tables: skip set commit for deleted/destroyed sets
    4768430d5a69 ring-buffer: Remove useless update to write_stamp in rb_try_to_discard()
    f33c4e4cabce tracing: Fix blocked reader of snapshot buffer
    09640899e6b7 ring-buffer: Fix wake ups when buffer_percent is set to 100
    4ee9d9291b95 mm/memory-failure: check the mapcount of the precise page
    fb21c9780a31 mm/memory-failure: cast index to loff_t before shifting it
    be72d197b228 mm: migrate high-order folios in swap cache correctly
    a8df791470fb mm/filemap: avoid buffered read/write race to read inconsistent data
    b954b92ef08f platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
    7a3bbbadac4b ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
    b9c5f0fd5cd5 block: renumber QUEUE_FLAG_HW_WC
    e21b5fc5b887 spi: atmel: Fix clock issue when using devices with different polarities
    025cf65f68d4 spi: Add APIs in spi core to set/get spi->chip_select and spi->cs_gpiod
    64a4eb2982db spi: Reintroduce spi_set_cs_timing()
    95e21657ffe9 linux/export: Ensure natural alignment of kcrctab array
    bb4f791cb2de nfsd: call nfsd_last_thread() before final nfsd_put()
    03d68ffc48b9 nfsd: separate nfsd_last_thread() from nfsd_put()
    481561a431ff iio: imu: adis16475: add spi_device_id table
    027eaeaf3294 spi: Introduce spi_get_device_match_data() helper
    457a219c8453 usb: fotg210-hcd: delete an incorrect bounds test
    119127273b5d ARM: dts: Fix occasional boot hang for am3 usb
    98235bc13aa8 ksmbd: fix wrong allocation size update in smb2_open()
    04b8e04f8f89 ksmbd: avoid duplicate opinfo_put() call on error of smb21_lease_break_ack()
    34f7d5b5c972 ksmbd: lazy v2 lease break on smb2_write()
    500c7a5e9af8 ksmbd: send v2 lease break notification for directory
    1993959460c0 ksmbd: downgrade RWH lease caching state to RH for directory
    2fcb46df3460 ksmbd: set v2 lease capability
    3eddc811a7c8 ksmbd: set epoch in create context v2 lease
    52a32eafd0a5 ksmbd: don't update ->op_state as OPLOCK_STATE_NONE on error
    0bc46c2370ee ksmbd: move setting SMB2_FLAGS_ASYNC_COMMAND and AsyncId
    d9aa5c19084e ksmbd: release interim response after sending status pending response
    013bf453af0d ksmbd: move oplock handling after unlock parent dir
    20dd92c23756 ksmbd: separately allocate ci per dentry
    d5651972e5c5 ksmbd: fix possible deadlock in smb2_open
    aabc944ebf08 ksmbd: prevent memory leak on error return
    b4a269bb89dd ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
    699ad8d03cc5 ksmbd: no need to wait for binded connection termination at logoff
    3cf44550814c ksmbd: add support for surrogate pair conversion
    d26e024a5ead ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev()
    5113f7222554 ksmbd: fix recursive locking in vfs helpers
    42e56982bed1 ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr()
    533e6dc4469f ksmbd: reorganize ksmbd_iov_pin_rsp()
    1d95c5a54184 ksmbd: Remove unused field in ksmbd_user struct
    5929e98f3bb7 ksmbd: fix potential double free on smb2_read_pipe() error path
    a7aae713eaf2 ksmbd: fix Null pointer dereferences in ksmbd_update_fstate()
    943cebf9ea34 ksmbd: fix wrong error response status by using set_smb2_rsp_status()
    7b58ee8d0b91 ksmbd: fix race condition between tree conn lookup and disconnect
    0090f0bfc225 ksmbd: fix race condition from parallel smb2 lock requests
    6584ca894f30 ksmbd: fix race condition from parallel smb2 logoff requests
    b3a843caed29 ksmbd: fix race condition with fp
    7345f5dbf66d ksmbd: check iov vector index in ksmbd_conn_write()
    8beae8a0a065 ksmbd: return invalid parameter error response if smb2 request is invalid
    e523a26c0567 ksmbd: fix passing freed memory 'aux_payload_buf'
    b4b3fd1a95b4 ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
    1ee419e08fa1 ksmbd: remove experimental warning
    83b01f7330d7 ksmbd: add missing calling smb2_set_err_rsp() on error
    422c0cd01693 ksmbd: Fix one kernel-doc comment
    c20105a8975c ksmbd: fix `force create mode' and `force directory mode'
    f8cf1ebb7de6 ksmbd: fix wrong interim response on compound
    9f297df20d93 ksmbd: add support for read compound
    673e60c69124 ksmbd: switch to use kmemdup_nul() helper
    0a9b91f45e88 ksmbd: check if a mount point is crossed during path lookup
    d782f42eed93 ksmbd: Fix unsigned expression compared with zero
    48cc49384048 ksmbd: Replace one-element array with flexible-array member
    63fbfd212c82 ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
    e7ab53bd81b0 ksmbd: Replace the ternary conditional operator with min()
    143da652cee8 ksmbd: use kvzalloc instead of kvmalloc
    de43cdaa88c2 ksmbd: Change the return value of ksmbd_vfs_query_maximal_access to void
    deb79f20be21 ksmbd: return a literal instead of 'err' in ksmbd_vfs_kern_path_locked()
    fe7977b872a6 ksmbd: use kzalloc() instead of __GFP_ZERO
    294a275f374b ksmbd: remove unused ksmbd_tree_conn_share function
    b069977b2b47 ksmbd: add mnt_want_write to ksmbd vfs functions
    13a5045011ec ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
    1524884c3efb ksmbd: call putname after using the last component
    30a1344198aa ksmbd: fix uninitialized pointer read in smb2_create_link()
    6d4e21e369f3 ksmbd: fix uninitialized pointer read in ksmbd_vfs_rename()
    6927ffe7479c ksmbd: fix racy issue from using ->d_parent and ->d_name
    6e99fbb4296a fs: introduce lock_rename_child() helper
    965eb8650737 ksmbd: remove unused compression negotiate ctx packing
    49d9f6ad1ee0 ksmbd: avoid duplicate negotiate ctx offset increments
    2182d96ec0b7 ksmbd: set NegotiateContextCount once instead of every inc
    8d271ef5e5ca ksmbd: delete asynchronous work from list
    4ef3fd2f85bb ksmbd: remove unused is_char_allowed function
    226aaaa59365 ksmbd: Fix parameter name and comment mismatch
    e8c49f9364c5 ksmbd: Fix spelling mistake "excceed" -> "exceeded"
    ada8bcc48acd ksmbd: update Kconfig to note Kerberos support and fix indentation
    5c0306b0abcd ksmbd: Remove duplicated codes
    b6502c34cf30 ksmbd: fix typo, syncronous->synchronous
    052b41ef2abe ksmbd: Implements sess->rpc_handle_list as xarray
    264547e13f80 ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs
    87ffbb9e24ba ksmbd: Fix resource leak in smb2_lock()
    d847b7588341 ksmbd: use F_SETLK when unlocking a file
    343d667deee1 ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for this share
    ab69d3e8f7a0 ksmbd: replace one-element arrays with flexible-array members

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5a2a428407e7f94ef9207dbac9f24dad14c7202)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: update CVE exclusions
Bruce Ashfield [Wed, 3 Jan 2024 21:24:21 +0000 (16:24 -0500)] 
linux-yocto/6.1: update CVE exclusions

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 27Dec23
        Date: Wed, 27 Dec 2023 19:47:13 -0500

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit b303a7dd260ad3f6a9e6f1b8099b86efcc8373a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: update to v6.1.70
Bruce Ashfield [Wed, 3 Jan 2024 21:24:20 +0000 (16:24 -0500)] 
linux-yocto/6.1: update to v6.1.70

Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

    a507f147e6f0 Linux 6.1.70
    a413b88cdb69 loop: deprecate autoloading callback loop_probe()
    75c27bdb2144 wifi: nl80211: fix deadlock in nl80211_set_cqm_rssi (6.6.x)
    15577a98ef29 wifi: cfg80211: fix CQM for non-range use
    706448f716c1 fuse: share lookup state between submount and its parent
    ec7b81b0abcd mm/damon/core: make damon_start() waits until kdamond_fn() starts
    41f4ff9fe22c x86/alternatives: Sync core before enabling interrupts
    425379154b7f KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy
    5dfacfd0fcd6 KVM: arm64: vgic: Add a non-locking primitive for kvm_vgic_vcpu_destroy()
    3a0fd93cd9f7 KVM: arm64: vgic: Simplify kvm_vgic_destroy()
    3339028dd082 thunderbolt: Fix memory leak in margining_port_remove()
    69b6596c6e4a lib/vsprintf: Fix %pfwf when current node refcount == 0
    2dd6f2286047 gpio: dwapb: mask/unmask IRQ when disable/enale it
    ab1c3f91d174 bus: ti-sysc: Flush posted write only after srst_udelay
    cd9f9ef59d85 pinctrl: starfive: jh7100: ignore disabled device tree nodes
    7f7efa30fa87 dm-integrity: don't modify bio's immutable bio_vec in integrity_metadata()
    33b976a0f2ae tracing / synthetic: Disable events after testing in synth_event_gen_test_init()
    d2b549d3107b scsi: core: Always send batch on reset or error handling command
    72e472a91c0d Revert "scsi: aacraid: Reply queue mapping to CPUs based on IRQ affinity"
    4258274bacfb selftests: mptcp: join: fix subflow_send_ack lookup
    a8555c86f508 ublk: move ublk_cancel_dev() out of ub->mutex
    1c250f2c5fa5 ubifs: fix possible dereference after free
    3c42cc437d7e btrfs: zoned: no longer count fresh BG region as zone unusable
    b09a67617621 Revert "drm/amd/display: Do not set DRR on pipe commit"
    93da3d8af9ee dm thin metadata: Fix ABBA deadlock by resetting dm_bufio_client
    e9779fac685e loop: do not enforce max_loop hard limit by (new) default
    600043e1856c RISC-V: Fix do_notify_resume / do_work_pending prototype
    764c6790dd71 9p: prevent read overrun in protocol dump tracepoint
    7d09c84df5ab drm/i915: Reject async flips with bigjoiner
    c60e10d1549f smb: client: fix OOB in smbCalcSize()
    bef4315f19ba smb: client: fix OOB in SMB2_query_info_init()
    71fe685b6a47 smb: client: fix potential OOB in cifs_dump_detail()
    277832a306f9 smb: client: fix OOB in cifsd when receiving compounded resps
    3f6da210470c dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
    1092525155ea net: ks8851: Fix TX stall caused by TX buffer overrun
    e9df9f089128 net: rfkill: gpio: set GPIO direction
    805611157d68 net: 9p: avoid freeing uninit memory in p9pdu_vreadf
    4c775b4cd8dd Input: soc_button_array - add mapping for airplane mode button
    5df2b49e7e78 net: usb: ax88179_178a: avoid failed operations when device is disconnected
    0f7bffd40a51 Bluetooth: Add more enc key size check
    39347d645081 Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE
    e14a7ebafe4e Bluetooth: L2CAP: Send reject on command corrupted request
    37f71e2c9f51 Bluetooth: af_bluetooth: Fix Use-After-Free in bt_sock_recvmsg
    470896ecbc92 Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has been sent
    d36d945f94c3 ALSA: hda/realtek: Add quirk for ASUS ROG GV302XA
    9599a5e34ca9 USB: serial: option: add Quectel RM500Q R13 firmware support
    a91fb450df5d USB: serial: option: add Foxconn T99W265 with new baseline
    73b6b6ab03ae USB: serial: option: add Quectel EG912Y module support
    9b968a708678 USB: serial: ftdi_sio: update Actisense PIDs constant names
    db57ef0dd4c2 wifi: cfg80211: fix certs build to not depend on file order
    ec350809cd98 wifi: cfg80211: Add my certificate
    228d9960ae81 usb-storage: Add quirk for incorrect WP on Kingston DT Ultimate 3.0 G3
    82f913724bc9 ALSA: usb-audio: Increase delay in MOTU M quirk
    01bc94b58192 iio: triggered-buffer: prevent possible freeing of wrong buffer
    c508a99fbc21 iio: adc: ti_am335x_adc: Fix return value check of tiadc_request_dma()
    1b670b0eeefa iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table
    1fe4c93fc77b scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
    66ccf5f7437a Input: ipaq-micro-keys - add error handling for devm_kmemdup
    3637f6bdfe2c interconnect: qcom: sm8250: Enable sync_state
    90aa62722d3e iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
    50d60bfc9681 interconnect: Treat xlate() returning NULL node as an error
    900c1b3c62f9 drm/i915: Fix ADL+ tiled plane stride when the POT stride is smaller than the original
    de4349bdf9f3 drm/i915/mtl: Add MTL for remapping CCS FBs
    52c1a67dd303 drm/i915/dpt: Only do the POT stride remap when using DPT
    7afe8109456d drm/i915: Fix intel_atomic_setup_scalers() plane_state handling
    b097184f8026 drm/i915: Relocate intel_atomic_setup_scalers()
    99767368b7fa drm/i915/mtl: limit second scaler vertical scaling in ver >= 14
    387e8077593e nvme-pci: fix sleeping function called from interrupt context
    b506833ee887 gpiolib: cdev: add gpio_device locking wrapper around gpio_ioctl()
    6eb51df9e739 pinctrl: at91-pio4: use dedicated lock class for IRQ
    903bb0c7b81f x86/xen: add CPU dependencies for 32-bit build
    2550d96aa248 i2c: aspeed: Handle the coalesced stop conditions with the start conditions.
    5c11f637999c ASoC: fsl_sai: Fix channel swap issue on i.MX8MP
    264d8c9b7f7f ASoC: hdmi-codec: fix missing report for jack initial status
    9b4c95a63e2d afs: Fix use-after-free due to get/remove race in volume tree
    17605162e26b afs: Fix overwriting of result of DNS query
    791d5409cdb9 keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry
    3e617c7e39eb net: check dev->gso_max_size in gso_features_check()
    087b96adc694 afs: Fix dynamic root lookup DNS check
    9c6ea7abe3ed afs: Fix the dynamic root's d_delete to always delete unused dentries
    a70c2dd74198 net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()
    ea03196ebc47 net: mana: select PAGE_POOL
    a1986c429c68 Bluetooth: hci_event: shut up a false-positive warning
    fc6471510582 Bluetooth: Fix deadlock in vhci_send_frame
    3e0d1585799d net/rose: fix races in rose_kill_by_device()
    51e28c37d960 ethernet: atheros: fix a memleak in atl1e_setup_ring_resources
    6707baabe432 net: sched: ife: fix potential use-after-free
    31edab12229c net: Return error from sk_stream_wait_connect() if sk_wait_event() fails
    9d00421e1430 octeontx2-pf: Fix graceful exit during PFC configuration failure
    b0cee294022f net: mscc: ocelot: fix eMAC TX RMON stats for bucket 256-511 and above
    72b8de75b394 net/mlx5e: Correct snprintf truncation handling for fw_version buffer used by representors
    18b4a5e0c3f5 net/mlx5e: Correct snprintf truncation handling for fw_version buffer
    94c8485b449e net/mlx5: Fix fw tracer first block check
    1750f55d855a net/mlx5e: fix a potential double-free in fs_udp_create_groups
    01877daaeff0 net/mlx5e: Fix a race in command alloc flow
    f3739647a737 net/mlx5: Re-organize mlx5_cmd struct
    148ec770c63e net/mlx5: Prevent high-rate FW commands from populating all slots
    bd6e09162910 net/mlx5: Introduce and use opcode getter in command interface
    0f5de95fa266 net/mlx5e: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list()
    31037cfceff8 Revert "net/mlx5e: fix double free of encap_header"
    8a84413505a6 Revert "net/mlx5e: fix double free of encap_header in update funcs"
    2f635af7d6b4 wifi: mac80211: mesh_plink: fix matches_local logic
    7a07af00aa88 wifi: mac80211: mesh: check element parsing succeeded
    40ba7f9ab82a wifi: mac80211: check if the existing link config remains unchanged
    e90da1c7c6e7 wifi: iwlwifi: pcie: add another missing bh-disable for rxq->lock
    912652366f9e s390/vx: fix save/restore of fpu kernel context
    0a6e700c3d7b reset: Fix crash when freeing non-existent optional resets
    930a61fd795d ARM: OMAP2+: Fix null pointer dereference and memory leak in omap_soc_device_init
    228a00a77d50 ARM: dts: dra7: Fix DRA7 L3 NoC node register size
    913463f8e6cd drm/amd/display: fix hw rotated modes when PSR-SU is enabled
    a4f48f77bbe7 HID: i2c-hid: Add IDEA5002 to i2c_hid_acpi_blacklist[]
    413bef367ba6 HID: i2c-hid: acpi: Unify ACPI ID tables format
    57a6b0a464eb bpf: Fix prog_array_map_poke_run map poke update
    4768f82272a7 kasan: disable kasan_non_canonical_hook() for HW tags

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit a0bfc167a283372297881baa696bc91bcea7787a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: update to v6.1.69
Bruce Ashfield [Tue, 2 Jan 2024 04:31:09 +0000 (23:31 -0500)] 
linux-yocto/6.1: update to v6.1.69

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

    4aa6747d9352 Linux 6.1.69
    325556d46bfd r8152: fix the autosuspend doesn't work
    4c2ad8e39c62 r8152: remove rtl_vendor_mode function
    1d82735f4bae r8152: avoid to change cfg for all devices
    9b3d3a7f3c4d net: tls, update curr on splice as well
    869aee35cf61 ring-buffer: Have rb_time_cmpxchg() set the msb counter too
    c425a772fc58 ring-buffer: Do not try to put back write_stamp
    b15cf1486999 ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs
    edbc03d671f7 ring-buffer: Fix writing to the buffer with max_data_size
    6d98d594a5b6 ring-buffer: Have saved event hold the entire event
    7888b607a981 ring-buffer: Do not update before stamp when switching sub-buffers
    7043c4610ca7 tracing: Update snapshot buffer on resize if it is allocated
    31785cf8171e ring-buffer: Fix memory leak of free page
    8c3b77ad4e91 smb: client: fix OOB in smb2_query_reparse_point()
    d8541c50c671 smb: client: fix NULL deref in asn1_ber_decoder()
    9f528a8e6832 smb: client: fix OOB in receive_encrypted_standard()
    7b0faa541f15 drm/i915: Fix remapped stride with CCS on ADL+
    20907717918f drm/amd/display: Disable PSR-SU on Parade 0803 TCON again
    a9e2de19433f drm/amdgpu: fix tear down order in amdgpu_vm_pt_free
    730b3322b8c3 btrfs: don't clear qgroup reserved bit in release_folio
    9b670e1b644c btrfs: free qgroup reserve when ORDERED_IOERR is set
    da9b7c651c65 mm/shmem: fix race in shmem_undo_range w/THP
    8ec07b0620ac mm/mglru: fix underprotected page cache
    40f3ad769ec8 dmaengine: stm32-dma: avoid bitfield overflow assertion
    78b2ba39beef drm/amdgpu/sdma5.2: add begin/end_use ring callbacks
    6a1472d9be02 team: Fix use-after-free when an option instance allocation fails
    b01af9281851 arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify
    0b071a3266a8 ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS
    f2955dd3e933 soundwire: stream: fix NULL pointer dereference for multi_link
    56f762659a5e btrfs: do not allow non subvolume root targets for snapshot
    557f7ad06460 perf: Fix perf_event_validate_size() lockdep splat
    a684235d3035 HID: hid-asus: add const to read-only outgoing usb buffer
    2b9e16bc1ce5 arm64: add dependency between vmlinuz.efi and Image
    6cb0c71c6e7c net: usb: qmi_wwan: claim interface 4 for ZTE MF290
    f7ce765744a3 asm-generic: qspinlock: fix queued_spin_value_unlocked() implementation
    fba6e958caa1 HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad
    8f0c8585856c HID: hid-asus: reset the backlight brightness level on resume
    de78e4bdcb5e nbd: pass nbd_sock to nbd_read_reply() instead of index
    d482bb566344 HID: add ALWAYS_POLL quirk for Apple kb
    541b183be92f HID: glorious: fix Glorious Model I HID report
    42b4ab97bee5 platform/x86: intel_telemetry: Fix kernel doc descriptions
    355170a7ecac LoongArch: Implement constant timer shutdown interface
    adb6a907540c LoongArch: Add dependency between vmlinuz.efi and vmlinux.efi
    943cde1f3daa selftests/bpf: fix bpf_loop_bench for new callback verification scheme
    1b40f23e702e nvme: catch errors from nvme_configure_metadata()
    6cb3741c4582 nvme-auth: set explanation code for failure2 msgs
    83bb13bf6c23 nbd: fold nbd config initialization into nbd_alloc_config()
    02a4b14d17ab bcache: avoid NULL checking to c->root in run_cache_set()
    3d3f72efc77d bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()
    bc17ec4215e2 bcache: remove redundant assignment to variable cur_idx
    be0e2a28e06a bcache: avoid oversize memory allocation by small stripe_size
    94070fd6689e blk-cgroup: bypass blkcg_deactivate_policy after destroying
    e52d0eb48efd blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"
    5fb6772cb573 stmmac: dwmac-loongson: Add architecture dependency
    82c386d73689 usb: aqc111: check packet for fixup for true limit
    d6c02295c824 x86/hyperv: Fix the detection of E820_TYPE_PRAM in a Gen2 VM
    ae818b2a2e78 drm/mediatek: Add spinlock for setting vblank event in atomic_begin
    73c240e1ec73 ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE
    0c196180b588 PCI: loongson: Limit MRRS to 256
    56d1891594d6 Revert "PCI: acpiphp: Reassign resources on bridge if necessary"
    1ec80b9d4310 ALSA: hda/realtek: Apply mute LED quirk for HP15-db
    eeeb91216a1b ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants
    82413e9e4255 ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
    0dc6a06c4843 fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()
    36e2497ac7ad cred: switch to using atomic_long_t
    a51f71cd4f56 net: atlantic: fix double free in ring reinit logic
    1646b2929d5e appletalk: Fix Use-After-Free in atalk_ioctl
    d835299dde3e net: stmmac: Handle disabled MDIO busses from devicetree
    9aac81639e52 dpaa2-switch: do not ask for MDB, VLAN and FDB replay
    a81c7069af05 dpaa2-switch: fix size of the dma_unmap
    9a23be1e5806 vsock/virtio: Fix unsigned integer wrap around in virtio_transport_has_space()
    2027dd67c3cf sign-file: Fix incorrect return values check
    918991db7de0 stmmac: dwmac-loongson: Make sure MDIO is initialized before use
    63387fe87fc5 net: ena: Fix XDP redirection error
    2664b56420b3 net: ena: Fix xdp drops handling due to multibuf packets
    e312eed27aba net: ena: Destroy correct number of xdp queues upon failure
    55a43bae0886 net: Remove acked SYN flag from packet in the transmit queue correctly
    9bb392ee53af qed: Fix a potential use-after-free in qed_cxt_tables_alloc
    112792ad36c4 iavf: Handle ntuple on/off based on new state machines for flow director
    11c314a5a44a iavf: Introduce new state machines for flow director
    01540ee2366a net/rose: Fix Use-After-Free in rose_ioctl
    2de2a6cbe14f atm: Fix Use-After-Free in do_vcc_ioctl
    3a76dcab2e3a octeontx2-af: Update RSS algorithm index
    d0f0786f8c5a octeontx2-pf: Fix promisc mcam entry action
    34b630626a97 octeontx2-af: fix a use-after-free in rvu_nix_register_reporters
    e4ce3dc7a0ed net: fec: correct queue selection
    a00dbc6dec4b net: vlan: introduce skb_vlan_eth_hdr()
    7cfbb8bea36a atm: solos-pci: Fix potential deadlock on &tx_queue_lock
    35c63d366fff atm: solos-pci: Fix potential deadlock on &cli_queue_lock
    525904a15791 bnxt_en: Fix HWTSTAMP_FILTER_ALL packet timestamp logic
    ac6125174190 bnxt_en: Fix wrong return value check in bnxt_close_nic()
    8217f9362c79 bnxt_en: Save ring error counters across reset
    53cacb8cdc7e bnxt_en: Clear resource reservation during resume
    ab410db6e9aa qca_spi: Fix reset behavior
    7e177e5a40d0 qca_debug: Fix ethtool -G iface tx behavior
    2127142c179c qca_debug: Prevent crash on TX ring changes
    0da41ddfb291 net: ipv6: support reporting otherwise unknown prefix flags in RTM_NEWPREFIX
    514232495aa5 net/mlx5e: Fix possible deadlock on mlx5e_tx_timeout_work
    1e8396aab21d HID: lenovo: Restrict detection of patched firmware only to USB cptkbd
    e0cda159c865 afs: Fix refcount underflow from error handling race
    a7e6477cc3af ksmbd: fix memory leak in smb2_lock()
    8925ab33b391 ext4: fix warning in ext4_dio_write_end_io()
    1c077acf246c powerpc/ftrace: Fix stack teardown in ftrace_no_trace
    34ae53cccf53 r8152: add vendor/device ID pair for ASUS USB-C2500
    cac1218b32d7 r8152: add vendor/device ID pair for D-Link DUB-E250
    893597cbabfb r8152: add USB device driver for config selection
    b80d0c6e5bae perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a4364e4733c8b8757927596dcbf7d6230f1da96)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agokea: upgrade 2.4.0 -> 2.4.1
Wang Mingyu [Tue, 19 Dec 2023 09:33:46 +0000 (17:33 +0800)] 
kea: upgrade 2.4.0 -> 2.4.1

Changelog:
=========
-The library version numbers have been bumped up for the Kea 2.4.1 stable release.
-Fixed interface redetection which had stopped working since Kea 2.3.6.
-Fixed a race condition in free lease queue allocator

fix-multilib-conflict.patch
fix_pid_keactrl.patch
refreshed for 2.4.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7afab39fd1c3239df3bb2fa49b79a5efaaaf9db6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolibadwaita: update 1.4.0 -> 1.4.2
Markus Volk [Fri, 15 Dec 2023 17:30:55 +0000 (18:30 +0100)] 
libadwaita: update 1.4.0 -> 1.4.2

=============
Version 1.4.2
=============

- Really fix build with libappstream 1.0

=============
Version 1.4.1
=============

- Fix build with MSVC
- Fix build with libappstream 1.0
- AdwCarousel
  - Fix carousel scroll behavior with page reordering
- AdwComboRow
  - Fix focus when opening the popover
  - Set the correct state on the selected checkmark
- AdwNavigationView
  - Fix a warning message
- AdwTabOverview
  - Allow child focus on out animations
- AdwTabView
  - Keep view alive during ::page-detached
  - Fix crashes when using :pages
- Docs
  - Fix erroneous <child> use in breakpoints migration guide
- Translation updates
  - Russian
  - Serbian

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7c02a1169197fd5452d5b323dd523f6712245cb6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolibva-utils: upgrade 2.20.0 -> 2.20.1
Wang Mingyu [Tue, 19 Dec 2023 09:31:46 +0000 (17:31 +0800)] 
libva-utils: upgrade 2.20.0 -> 2.20.1

Changelog:
============
-Fix some coverity issues exposed in encode
-Fixed VPP coverity issues

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2bd1443d047ba56196b2eaa7d59b3c39c9c0f49b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolibatomic-ops: upgrade 7.8.0 -> 7.8.2
Wang Mingyu [Tue, 19 Dec 2023 09:28:20 +0000 (17:28 +0800)] 
libatomic-ops: upgrade 7.8.0 -> 7.8.2

Changelog:
=========
* Eliminate 'atomic_thread_fence is unsupported with tsan' gcc-11 warning
* Eliminate 'comparing signed/unsigned values' lcc warning in add_chunk_as
* Fix 'undefined reference to AO_pt_lock' if configure is using clang-16
* Fix 'undefined reference to __atomic_load/store/cas_16' Mingw64-gcc error
* Fix 'undefined reference' linker errors if shared build on OpenBSD (CMake)
* Fix get_chunk for case of mmap area is located before AO_initial_heap
* Fix typo in AO_HAVE_compare_and_swap_double name in atomic_ops_stack.h
* Fix typo in comment of run_one_test of test_stack
* Fix typos in comments of atomic_ops_malloc.c and atomic_ops_stack.c/h
* Update cmake minimum required version to 3.5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1dea52da8cd00e6619890b8c4dcece8b5ff83f74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agorpcbind: Specify state directory under /run
Joshua Watt [Fri, 15 Dec 2023 20:34:04 +0000 (13:34 -0700)] 
rpcbind: Specify state directory under /run

The state directory must be correctly specified as under /run because
RequiresMountsFor doesn't follow symbolic links which means the unit may
run before /run is mounted if the default of /var/run/rpcbind is kept

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 561e853e97e2cfa325ed310233577a5e124d9049)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agocreate-spdx-2.2: combine spdx can try to write before dir creation
Jeremy A. Puhlman [Fri, 15 Dec 2023 17:10:46 +0000 (09:10 -0800)] 
create-spdx-2.2: combine spdx can try to write before dir creation

On occasion a file is attmpeded to be opened prior to the
creation of the spdx_workdir. Create the directory before
the open, just in case.

File: '/build/layers/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1081, function: combine_spdx
     1077:        )
     1078:
     1079:    image_spdx_path = spdx_workdir / (rootfs_name + ".spdx.json")
     1080:
 *** 1081:    with image_spdx_path.open("wb") as f:
     1082:        doc.to_json(f, sort_keys=True, indent=get_json_indent(d))

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb9f2a9c0ff5dcdeaf1a0beb6a614d0d022a2481)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agodevtool: modify: Handle recipes with a menuconfig task correctly
Peter Kjellerstedt [Fri, 15 Dec 2023 12:12:06 +0000 (13:12 +0100)] 
devtool: modify: Handle recipes with a menuconfig task correctly

This avoids the following error when running `devtool modify` on a
recipe that has a menuconfig task, but does not have
KCONFIG_CONFIG_ENABLE_MENUCONFIG set.

  .../temp/run.do_configure.4163366: line 152:
  ${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') }: bad substitution
  WARNING: .../temp/run.do_configure.4163366:152 exit 1 from
  '[ ${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') } = True ]'

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e87e6fa84a0c4b5ac8e736dc62f6e08390ba2436)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agosstate: Fix dir ownership issues in SSTATE_DIR
Richard Purdie [Sun, 10 Dec 2023 09:33:17 +0000 (09:33 +0000)] 
sstate: Fix dir ownership issues in SSTATE_DIR

We currently use mkdir -p to create missing parent directories within SSTATE_DIR.
Reading the man page for mkdir mentions that parent directories are created with
the current umask, *not* the mode passed upon the commandline.

We could fix this by setting and resetting the umask but since we already have
decent python code able to do this, move to using that injecting a python function
into the chain of functions already present.

This should help fix the occasional sstate directory creation with the wrong
permissions.

[YOCTO #14385]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae642a4b038c6946e6c8aa9778bf09099d938a31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agosudo: upgrade from 1.9.15p2 to 1.9.15p5
Chen Qi [Mon, 22 Jan 2024 09:29:11 +0000 (17:29 +0800)] 
sudo: upgrade from 1.9.15p2 to 1.9.15p5

(cherry picked from OE-Core rev 4b2eccc0ee3f2906f9b04de194b9df6e24c2cdf4)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agosudo: upgrade 1.9.14p3 -> 1.9.15p2
Xiangyu Chen [Mon, 22 Jan 2024 09:29:10 +0000 (17:29 +0800)] 
sudo: upgrade 1.9.14p3 -> 1.9.15p2

Changelog:
===========
1.9.15p2:
- Fixed a bug on BSD systems where sudo would not restore the
terminal settings on exit if the terminal had parity enabled.

1.9.15p1:
- Fixed a bug introduced in sudo 1.9.15 that prevented LDAP-based
sudoers from being able to read the ldap.conf file.

1.9.15:
- Fixed an undefined symbol problem on older versions of macOS
when "intercept" or "log_subcmds" are enabled in sudoers.
- Fixed "make check" failure related to getpwent(3) wrapping
on NetBSD.
- Fixed the warning message for "sudo -l command" when the command
is not permitted.  There was a missing space between "list" and
the actual command due to changes in sudo 1.9.14.
- Fixed a bug where output could go to the wrong terminal if
"use_pty" is enabled (the default) and the standard input, output
or error is redirected to a different terminal.  Bug #1056.
- The visudo utility will no longer create an empty file when the
specified sudoers file does not exist and the user exits the
editor without making any changes.  GitHub issue #294.
- The AIX and Solaris sudo packages on www.sudo.ws now support
"log_subcmds" and "intercept" with both 32-bit and 64-bit
binaries.  Previously, they only worked when running binaries
with the same word size as the sudo binary.  GitHub issue #289.
- The sudoers source is now logged in the JSON event log.  This
makes it possible to tell which rule resulted in a match.
Running "sudo -ll command" now produces verbose output that
includes matching rule as well as the path to the sudoers file
the matching rule came from.  For LDAP sudoers, the name of the
matching sudoRole is printed instead.
- The embedded copy of zlib has been updated to version 1.3.
- The sudoers plugin has been modified to make it more resilient
to ROWHAMMER attacks on authentication and policy matching.
This addresses CVE-2023-42465.
- The sudoers plugin now constructs the user time stamp file path
name using the user-ID instead of the user name.  This avoids a
potential problem with user names that contain a path separator
('/') being interpreted as part of the path name.  A similar
issue in sudo-rs has been assigned CVE-2023-42456.
- A path separator ('/') in a user, group or host name is now
replaced with an underbar character ('_') when expanding escapes
in @include and @includedir directives as well as the "iolog_file"
and "iolog_dir" sudoers Default settings.
- The "intercept_verify" sudoers option is now only applied when
the "intercept" option is set in sudoers.  Previously, it was
also applied when "log_subcmds" was enabled.  Sudo 1.9.14
contained an incorrect fix for this.  Bug #1058.
- Changes to terminal settings are now performed atomically, where
possible.  If the command is being run in a pseudo-terminal and
the user's terminal is already in raw mode, sudo will not change
the user's terminal settings.  This prevents concurrent sudo
processes from restoring the terminal settings to the wrong values.
GitHub issue #312.
- Reverted a change from sudo 1.9.4 that resulted in PAM session
modules being called with the environment of the command to be
run instead of the environment of the invoking user.
GitHub issue #318.
- New Indonesian translation from translationproject.org.
- The sudo_logsrvd server will now raise its open file descriptor
limit to the maximum allowed value when it starts up.  Each
connection can require up to nine open file descriptors so the
default soft limit may be too low.
- Better log message when rejecting a command if the "intercept"
option is enabled and the "intercept_allow_setid" option is
disabled.  Previously, "command not allowed" would be logged and
the user had no way of knowing what the actual problem was.
- Sudo will now log the invoking user's environment as "submitenv"
in the JSON logs.  The command's environment ("runenv") is no
longer logged for commands rejected by the sudoers file or an
approval plugin.

(cherry picked from OE-Core rev 5ea298680a8f17d3b808a2c43b0182e9c391f663)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agoqemu: 8.1.2 -> 8.1.4
Lee Chee Yang [Mon, 15 Jan 2024 07:30:57 +0000 (15:30 +0800)] 
qemu: 8.1.2 -> 8.1.4

update include fix for CVE-2023-3019.
CVE-2023-3019 : https://github.com/qemu/qemu/commit/88e79a2dfda319f9ebec2cc8a5c3c9733716d13f

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agoglib-2.0: upgrade 2.78.1 -> 2.78.3
Anuj Mittal [Mon, 18 Dec 2023 14:47:19 +0000 (22:47 +0800)] 
glib-2.0: upgrade 2.78.1 -> 2.78.3

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 419503d3d3402b683979696f248cd42f05c282b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agobase-passwd: upgrade 3.6.2 -> 3.6.3
Anuj Mittal [Mon, 18 Dec 2023 14:47:17 +0000 (22:47 +0800)] 
base-passwd: upgrade 3.6.2 -> 3.6.3

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74d165f5baacd0cd94eb90396b0a3119281df91d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agoxwayland: upgrade 23.2.2 -> 23.2.3
Wang Mingyu [Tue, 16 Jan 2024 07:30:55 +0000 (15:30 +0800)] 
xwayland: upgrade 23.2.2 -> 23.2.3

upgrade include fix for CVE-2023-6377 CVE-2023-6478

(Cherry-pick from OE-Core rev: bf0bb7b94ed4930145af5f1fb3836157daceb6bb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agonfs-utils: Upgrade 2.6.3 -> 2.6.4
Robert Yang [Mon, 11 Dec 2023 14:49:50 +0000 (06:49 -0800)] 
nfs-utils: Upgrade 2.6.3 -> 2.6.4

* Remove backported patch 0001-configure.ac-libevent-and-libsqlite3-checked-when-nf.patch.
* Add 0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch to fix build with musl

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ff416e9fd6a1a65cf59ecd662613581b6190e05e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agocurl: Fix CVE-2023-46219
Lee Chee Yang [Tue, 16 Jan 2024 07:30:56 +0000 (15:30 +0800)] 
curl: Fix CVE-2023-46219

Upstream docs for CVE-2023-46219:
https://curl.se/docs/CVE-2023-46219.html

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agopseudo: Update to pull in syncfs probe fix
Richard Purdie [Fri, 8 Dec 2023 17:30:53 +0000 (17:30 +0000)] 
pseudo: Update to pull in syncfs probe fix

Pulls in the changes:

Eilís 'pidge' Ní Fhlannagáin (1):
      subports: Add _GNU_SOURCE for syncfs probe

Richard Purdie (1):
      SECURITY.md: Add file

Wu Zhenyu (1):
      pseudo.1: Fix a typo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9aab5be508c0dd88a4d9767f65ba5b6fcd5fb9dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agozstd: fix LICENSE statement
Massimiliano Minella [Wed, 6 Dec 2023 15:55:01 +0000 (16:55 +0100)] 
zstd: fix LICENSE statement

zstd is dual-licensed under BSD _OR_ GPLv2. License wording in the
README for v1.5.5 is misleading, but license headers in the code clearly
state that there is a choice between the two licenses.

Signed-off-by: Massimiliano Minella <massimiliano.minella@se.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 40f85de590c188c9c3985e64a83efaf06b0b4fbc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agoavahi: update URL for new project location
Ross Burton [Mon, 4 Dec 2023 10:41:04 +0000 (10:41 +0000)] 
avahi: update URL for new project location

Avahi has moved to a new parent organisation on GitHub, so update the
URLs to match.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02caef1567186f250e64ae3ef84fcff33d7323e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agocmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
Zahir Hussain [Fri, 1 Dec 2023 12:16:17 +0000 (17:46 +0530)] 
cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES

As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake.

The variable CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES value updates incorrectly
during do_compile the code. Due to this getting sporadic error like below,

fatal error: stdlib.h: No such file or directory
|    75 | #include_next <stdlib.h>
|       |               ^~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.

As cmake already correctly initializes the variable from environment,
So we have to unset it in the toolchain file to avoid overwriting the
variable definition again.

Signed-off-by: aszh07 <mail2szahir@gmail.com>
Signed-off-by: Zahir Hussain <zahir.basha@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5aeada5793af53e8c93940952d4f314474dca4c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agodocumentation.conf: fix do_menuconfig description
Joao Marcos Costa [Thu, 30 Nov 2023 15:09:43 +0000 (16:09 +0100)] 
documentation.conf: fix do_menuconfig description

The current description is only pertinent to the kernel, even though
do_menuconfig task is used by other projects, such as Busybox and
U-Boot.

Replace "for the kernel" by an agnostic alternative (i.e., "in the
compilation directory").

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52e053bce5e359995ebdaa21d6899f04ad2306a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-firmware: Create bnx2x subpackage
Jason Andryuk [Tue, 5 Dec 2023 18:42:06 +0000 (13:42 -0500)] 
linux-firmware: Create bnx2x subpackage

bnx2x is another broadcom ethernet adapter with its own firmware.  Place
it into its own subpackage.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 414f71bb692da7ca1899b07ebb689edeb53f8e0d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-firmware: Change bnx2 packaging
Jason Andryuk [Tue, 5 Dec 2023 18:42:05 +0000 (13:42 -0500)] 
linux-firmware: Change bnx2 packaging

The bnx2 module uses both the mips and rv2p files, so package them all
together.  Remove -mips from the package name, but add an RPROVIDES for
compatibility.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 46f2b7b3bebc7efdb4199cdfe386dc16c049d8d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-firmware: Package iwlwifi .pnvm files
Jason Andryuk [Tue, 5 Dec 2023 18:42:04 +0000 (13:42 -0500)] 
linux-firmware: Package iwlwifi .pnvm files

The iwlwifi uses the .pnvm files for newer AX210+ cards, so package them
into the iwlwifi-misc subpackage.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 056c4de1422ff06745c5669f871a1bb6f5390d01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agogo: update 1.20.11 -> 1.20.12
Jose Quaresma [Wed, 6 Dec 2023 15:59:30 +0000 (15:59 +0000)] 
go: update 1.20.11 -> 1.20.12

Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.11..go1.20.12
97c8ff8d53 (tag: go1.20.12, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.12
6446af942e [release-branch.go1.20] net/http: limit chunked data overhead
77397ffcb2 [release-branch.go1.20] crypto/rand,runtime: revert "switch RtlGenRandom for ProcessPrng"
d77307f855 [release-branch.go1.20] cmd/compile: fix findIndVar so it does not match disjointed loop headers
1bd76576fe [release-branch.go1.20] crypto/rand,runtime: switch RtlGenRandom for ProcessPrng
1b59b017db [release-branch.go1.20] path/filepath: consider \\?\c: as a volume on Windows
46bc33819a [release-branch.go1.20] cmd/go/internal/vcs: error out if the requested repo does not support a secure protocol
e1dc209be8 [release-branch.go1.20] cmd/go/internal/modfetch/codehost: set core.longpaths in Git repos on Windows

[1] https://github.com/golang/go/compare/go1.20.11...go1.20.12

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 8515842b5c503b9a8840675d9cbcfe147d25c1d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agogo: update 1.20.10 -> 1.20.11
Jose Quaresma [Wed, 6 Dec 2023 15:59:28 +0000 (15:59 +0000)] 
go: update 1.20.10 -> 1.20.11

Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.10..go1.20.11
1d0d4b149c (tag: go1.20.11) [release-branch.go1.20] go1.20.11
46fb781685 [release-branch.go1.20] path/filepath: fix various issues in parsing Windows paths
998fdce3ae [release-branch.go1.20] net/http: pull http2 underflow fix from x/net/http2
d48639094b [release-branch.go1.20] cmd/link: split text sections for arm 32-bit
c8fdffb790 [release-branch.go1.20] all: tidy dependency versioning after release

[1] https://github.com/golang/go/compare/go1.20.10...go1.20.11

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 09fb378fb9c60c383f0ac068bbe3692f047aa617)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agotiff: Backport fixes for CVE-2023-6277
Khem Raj [Tue, 5 Dec 2023 17:53:49 +0000 (09:53 -0800)] 
tiff: Backport fixes for CVE-2023-6277

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d115e17ad7775cf5bbfd402e98e61f362ac96efa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agoshadow: Fix for CVE-2023-4641
Xiangyu Chen [Thu, 30 Nov 2023 09:27:51 +0000 (17:27 +0800)] 
shadow: Fix for CVE-2023-4641

shadow-utils: possible password leak during passwd(1) change

CVE: CVE-2023-4641

Upstream-Status: Backport
[https://github.com/shadow-maint/shadow/commit/65c88a43a23c2391dcc90c0abda3e839e9c57904]

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7942df17d9dfcf690106b8b86506d496e6251327)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agobuild-appliance-image: Update to nanbield head revision 2023-10.2 2023-10.2-nanbield yocto-4.3.2
Steve Sakoman [Thu, 4 Jan 2024 14:13:37 +0000 (04:13 -1000)] 
build-appliance-image: Update to nanbield head revision

Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agotzdata: Upgrade to 2023d
Shubham Kulkarni [Tue, 26 Dec 2023 17:00:54 +0000 (22:30 +0530)] 
tzdata: Upgrade to 2023d

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2956b1aa22129951b8c08ac06ff1ffd66811a26c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agotcl: skip async and event tests in run-ptest
Ross Burton [Mon, 18 Dec 2023 17:08:01 +0000 (17:08 +0000)] 
tcl: skip async and event tests in run-ptest

These test suites are full of timing-sensitive test cases, so skip
them too.

[ YOCTO #15321 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd06c3668dbe9ec1cf9a0a84d7a6bc9851f9c662)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agotcl: skip timing-dependent tests in run-ptest
Ross Burton [Thu, 7 Dec 2023 22:31:10 +0000 (22:31 +0000)] 
tcl: skip timing-dependent tests in run-ptest

There are several tests in the test suite which are very dependent on
timing and fail on a loaded host system, so skip them.

[ YOCTO #14825 #14882 #15081 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 68beb4f4b5a0bea5d431decddf7656f18ac7a04a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agotestimage: Drop target_dumper and most of monitor_dumper
Richard Purdie [Tue, 19 Dec 2023 16:04:24 +0000 (16:04 +0000)] 
testimage: Drop target_dumper and most of monitor_dumper

The target_dumper code is basically broken. It has been reading binary files
over the text base serial communication and runs at every command failure which
makes no sense. Each run might overwrite files from the previous run and the
output appears corrupted due to confusion from the binary data.

For now, remove the commands and the target dumper code as the command
and execution point are problematic. Also remove the same pieces of the monitor
code but leave the command list since in theory this can be moved to a more
useful place in the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a24d787987dccc95fdd95b7e85bf525a1c55b285)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agopatchtest: shorten patch signed-off-by test output
Trevor Gamblin [Wed, 29 Nov 2023 14:32:41 +0000 (09:32 -0500)] 
patchtest: shorten patch signed-off-by test output

The patch Signed-off-by test's output line is excessively long, and can
trigger a failsafe in the patchtest automated service's email content
generation. Shorten the output by reducing redundant phrasing and using
os.path.basename to get only the failing patch's name, not the entire
path, as the submitter should have a good idea of where it is located
regardless.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc7546ded87dd44a988d7a23f1d7645094b5cdd4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agosystemd-boot: Fix build issues on armv7a-linux
Viswanath Kraleti [Wed, 29 Nov 2023 06:52:51 +0000 (12:22 +0530)] 
systemd-boot: Fix build issues on armv7a-linux

Backport a fix to address the build failure on armv7a introduced
in systemd v254-rc1.

see
https://github.com/systemd/systemd/issues/29381

Signed-off-by: Viswanath Kraleti <quic_vkraleti@quicinc.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 782790dc6423fe3ae1ce4cd674ab492bfc881230)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agojson-c: fix icecc compilation
Marco Felsch [Tue, 28 Nov 2023 22:47:44 +0000 (23:47 +0100)] 
json-c: fix icecc compilation

Skip -Werror to make it possible to compile this recipe with ICECC else
all fallthrough comments will be removed since we pre-process the files
on the host before sending them to the compile nodes which then cause
errors because of default -Werror switch.

Fixes: caf64f85b5c5 ("json-c: update 0.13.1 - > 0.14")
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 915f8307b063e17ddadd5dface83578b8ad254e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agocups: Add root,sys,wheel to system groups
Markus Volk [Sat, 25 Nov 2023 11:15:52 +0000 (12:15 +0100)] 
cups: Add root,sys,wheel to system groups

The Cups documentation states:
The default contains "admin", "lpadmin", "root", "sys" and/or "system".
https://www.cups.org/doc/man-cups-files.conf.html#:~:text=SystemGroup

Add root and sys accordingly
Also add wheel group. This is required for systems with polkit support in order to
control the printer settings with cups-pk-helper.
Not only for gnome-control-center, but also when using plain system-config-printer on
a system with running polkit, cups-pk-helper would be a required rdepend.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 572fed0ac6dbcf5749e19c7b624826fc30cf301e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agobluez5: fix connection for ps5/dualshock controllers
Markus Volk [Sat, 25 Nov 2023 12:10:27 +0000 (13:10 +0100)] 
bluez5: fix connection for ps5/dualshock controllers

Bluez 5.69 added a regression. Bluetooth connection for playstation controllers
stopped working. This adds a backport patch for the issue

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be05a177f943e9c8ce6c0fdbd157ee6f9103eef9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agodevtool: finish/update-recipe: restrict mode srcrev to recipes fetched from SCM
Julien Stephan [Wed, 22 Nov 2023 11:08:14 +0000 (12:08 +0100)] 
devtool: finish/update-recipe: restrict mode srcrev to recipes fetched from SCM

When specifying --mode / -m srcrev with devtool finish/update-recipe on
recipes that are not fetched from a SCM repository we get the following
error:

  Traceback (most recent call last):
  [..]
    File "<...>/poky/meta/lib/oe/patch.py", line 49, in runcmd
    raise CmdError(cmd, exitstatus >> 8, "stdout: %s\nstderr: %s" % (stdout, stderr))
oe.patch.CmdError: Command Error: 'sh -c 'git format-patch --no-signature --no-numbered INVALID -o /tmp/oepatchbj7pfmzj -- .'' exited with 0  Output:
stdout:
stderr: fatal: bad revision 'INVALID'

Fix this by adding a check and abort with a proper error message.

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b77f60e85d07921ae5e808daa1fd7d8c3dc40ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agopython3-ptest: skip test_storlines
Trevor Gamblin [Thu, 23 Nov 2023 18:36:27 +0000 (13:36 -0500)] 
python3-ptest: skip test_storlines

[YOCTO #14933]

test_storlines is yet another Python ptest that fails intermittently on
the Yocto AB, so disable it during ptests for now.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d7b9f8157e6214a83b5495e8a32e11540ae65ff8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agodevtool: fix update-recipe dry-run mode
Julien Stephan [Wed, 22 Nov 2023 11:08:13 +0000 (12:08 +0100)] 
devtool: fix update-recipe dry-run mode

When running devtool update-recipe with --mode=srcrev AND --append switch
in dry-run, we get the following error:

  Traceback (most recent call last):
  [...]
  Exception: destpath should be set here

Fix this by removing a misplaced else statement in _update_recipe_srcrev

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 85ba125703d5b442133fd7c470b915460ee68ac9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agosystemd-compat-units.bb: fix postinstall script
Michael Opdenacker [Wed, 22 Nov 2023 10:23:48 +0000 (11:23 +0100)] 
systemd-compat-units.bb: fix postinstall script

This fixes an issue running "opkg upgrade" on a system with systemd
(and when there is an update to "systemd-compat-units",
for example between yocto 4.2.2 and 4.2.3):

//var/lib/opkg/info/systemd-compat-units.postinst: cd: line 3: can't cd to /etc/init.d: No such file or directory

The existence of /etc/init.d is now tested
without causing an error if doesn't exist.

Fixes [YOCTO #15292]

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0330331a1386fd2a34b410a7f62b29bfc8dc23c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agopackage_ipk: Fix Source: field variable dependency
Richard Purdie [Wed, 22 Nov 2023 09:35:01 +0000 (09:35 +0000)] 
package_ipk: Fix Source: field variable dependency

The Source: variable is generated from FILE but this is excluded from checksums
normally which results in a reproduciubility issue when the filename changes.

Add in a dependency by reworking the code a little to avoid this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ea7da76c6930031a0071069027b1d71f737fbc9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agokernel-arch: use ccache only for compiler
Javier Tia [Tue, 21 Nov 2023 13:26:38 +0000 (07:26 -0600)] 
kernel-arch: use ccache only for compiler

Attempting to use it with other tools is not beneficial, only with the
compiler. Confirmation from ccache's maintainer [1].

[1] https://github.com/ccache/ccache/discussions/1346#discussioncomment-7616180

Signed-off-by: Javier Tia <javier.tia@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47fa8d81083f1ef594f8fe6fcab3e227e9607b3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolib/oe/patch: ensure os.chdir restoring always happens
Ross Burton [Tue, 21 Nov 2023 14:06:17 +0000 (14:06 +0000)] 
lib/oe/patch: ensure os.chdir restoring always happens

If we chdir(), do the chdir back to the original directory in a finally
block so they always run.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cdc40292818683b6df1c814498c7589450a163fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agouseradd_base: Fix sed command line for passwd-expire
Adam Johnston [Tue, 21 Nov 2023 19:05:28 +0000 (19:05 +0000)] 
useradd_base: Fix sed command line for passwd-expire

A previous commit tried to add the --follow-symlinks option to
the perform_passwd_expire function in useradd_base.bbclass, however it used
a single -.

This is interpreted as --file=ollow-symlinks which results in...

sed: couldn't open file ollow-symlinks: No such file or directory

and...

ERROR: <image name>: passwd --expire operation did not succeed.

Fix by adding the missing -

Signed-off-by: Adam Johnston <adam.johnston@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c0deafcfcea3f610c7dd9a2d2884a16fbfe0497)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agogtk: Add rdepend on printbackend for cups
Markus Volk [Fri, 17 Nov 2023 06:58:15 +0000 (07:58 +0100)] 
gtk: Add rdepend on printbackend for cups

install the required printbackends

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0a97892920db46043102d54ef1623669241e9780)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agosed -i destroys symlinks
Joakim Tjernlund [Tue, 14 Nov 2023 13:28:42 +0000 (14:28 +0100)] 
sed -i destroys symlinks

If /etc/passwd is a symlink, sed -i on same file will replace the
symlink with a new file. Prevent that by adding --follow-symlinks
option to sed

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6ec004b2e7b4342465af8e5e6cc66041834821a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agosystemd: update LICENSE statement
Massimiliano Minella [Tue, 7 Nov 2023 14:28:40 +0000 (15:28 +0100)] 
systemd: update LICENSE statement

As stated in the LICENSES/README.md "Unless otherwise noted, the systemd
project sources are licensed under the terms and conditions of the GNU
Lesser General Public License v2.1 or later", so replace LGPL-2.1-only
with LGPL-2.1-or-later.

With the exception of some udev sources that are licensed under
GPL-2.0-or-later (but are packaged separately), the project is licensed
under LGPL, and all the components are LGPL or under LGPL compatible
licenses. The package libsystemd is currently under the main package
license, which can cause problems when scanning for GPL software linked
to CLOSED one.  Add more granularity by setting a license for libsystemd
to LGPL-2.1-or-later.

Signed-off-by: Massimiliano Minella <massimiliano.minella@se.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54975f4b2184fe12c4995c289eba8358958e6c21)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agocmake: upgrade 3.27.5 -> 3.27.7
Alexander Kanavin [Mon, 27 Nov 2023 10:17:38 +0000 (11:17 +0100)] 
cmake: upgrade 3.27.5 -> 3.27.7

Changes made since CMake 3.27.6:

Brad King (6):
  Android: Require Clang 18 for -std=c++23
  Tests: Clarify RunCMake.CTestTimeout case name
  ctest: Restore support for --timeout values higher than default test timeout
  Help: Document CMP0124 behavior on already-set variables
  FindPostgreSQL: Add support for version 16
  CMake 3.27.7

Orkun Tokdemir (1):
  Linting: Fix empty evaluated genex

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0faec0c8606b31216702252d0db7aa88388df231)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolog4cplus: upgrade 2.1.0 -> 2.1.1
Wang Mingyu [Wed, 22 Nov 2023 09:01:56 +0000 (17:01 +0800)] 
log4cplus: upgrade 2.1.0 -> 2.1.1

Changelog:
===========
-Add missing source files to MSVC project files.
-Resolve environment variables in include directive in configuration file.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 33d49b14609d9b92a7c23d79f1bdfca79a5d8197)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolibxslt: upgrade 1.1.38 -> 1.1.39
Wang Mingyu [Wed, 22 Nov 2023 09:01:09 +0000 (17:01 +0800)] 
libxslt: upgrade 1.1.38 -> 1.1.39

Changelog:
===========
- extensions: Don't search imports for extension prefixes
- transform: Check maximum depth when processing default templates
- build: Add more missing includes
- python: Don't set deprecated global
- build: Add missing includes
- imports: Limit nesting depth
- extensions: Report top-level elements in xsltDebugDumpExtensions
- Add extern "C" { } block to xsltlocale.h
- python: Make it compatible with python3.12
- date: Fix check for localtime_s
- date: Fix check for gmtime_s
- pkg-config files include cflags for static builds
- Handle NOCONFIG case when setting locations from CMake target properties
- autotools: Make xslt-config executable
- tests: Structured error handler now passes a const xmlError
- python: Fix tests on MinGW
- fuzz: Fix xmlFuzzEntityLoader after recent libxml2 changes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 48b353f3fb8e5ab1853cba7faa3065d2fe6f36b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolibgcrypt: upgrade 1.10.2 -> 1.10.3
Wang Mingyu [Wed, 22 Nov 2023 08:59:44 +0000 (16:59 +0800)] 
libgcrypt: upgrade 1.10.2 -> 1.10.3

Changelog:
==========
- Fix public key computation for other EdDSA curves.
- Remove out of core handler diagnostic in FIPS mode.
- Check that the digest size is not zero in gcry_pk_sign_md and
  gcry_pk_verify_md.
- Make store an s-exp with \0 is considered to be binary.
- Various constant-time improvements.
- Use getrandom call only when supported by the platform.
- Change the default for --with-libtool-modification to never.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e21583896116cf37bf6b95aea466854e4fd5e54b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agoell: upgrade 0.59 -> 0.60
Wang Mingyu [Wed, 22 Nov 2023 08:55:21 +0000 (16:55 +0800)] 
ell: upgrade 0.59 -> 0.60

Changelog:
==========
-Fix issue with missing NETLINK_EXT_ACK definition.
-Fix issue with incorrect derivation of ECC compressed points.
-Add support for ECC usage from SPAKE2+ key exchange protocol.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b13c1ffadda0893561e804d2ab789bf1c401d3a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agobind: upgrade 9.18.19 -> 9.18.20
Wang Mingyu [Wed, 22 Nov 2023 08:53:52 +0000 (16:53 +0800)] 
bind: upgrade 9.18.19 -> 9.18.20

Changelog:
============
-Fix missing newlines in the output of "rndc nta -dump".
-Take into account local authoritative zones when falling back to serve-stale.
-Fix assertion failure when using lock-file configuration option together -X
 argument to named.
-The 'lock-file' file was being removed when it shouldn't have been making it
 ineffective if named was started 3 or more times.
-Fix a shutdown race in dns__catz_update_cb().
-B.ROOT-SERVERS.NET addresses are now 170.247.170.2 and 2801:1b8:10::b.
-The timeouts for resending zone refresh queries over UDP were lowered to enable
 named to more quickly determine that a primary is down.
-Don't schedule resign operations on the raw version of an inline-signing zone.
-Fix a possible assertion failure on an error path in resolver.c:fctx_query(),
 when using an uninitialized link.
-Add semantic patch to do an explicit cast from char to unsigned char in ctype.h
 class of functions.
-Python system tests have to be executed by invoking pytest directly. Executing
 them with the legacy test runner is no longer supported.
-The wrong covered value was being set by dns_ncache_current for RRSIG records
 in the returned rdataset structure. This resulted in TYPE0 being reported as
 the covered value of the RRSIG when dumping the cache contents.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b34124561d926d9273c52163853161515e5666a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agogstreamer1.0: upgrade 1.22.6 -> 1.22.7
Anuj Mittal [Tue, 21 Nov 2023 01:34:38 +0000 (09:34 +0800)] 
gstreamer1.0: upgrade 1.22.6 -> 1.22.7

This release only contains bugfixes and security fixes.  For details:

https://gstreamer.freedesktop.org/releases/1.22/#1.22.8

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f6be55ef1e862d93d8275fb5792e6c66b0a0beee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolibsolv: upgrade 0.7.25 -> 0.7.26
Wang Mingyu [Wed, 15 Nov 2023 08:26:36 +0000 (16:26 +0800)] 
libsolv: upgrade 0.7.25 -> 0.7.26

Version 0.7.26
- selected bug fixes:
  * fix evr roundtrip in testcases
  * do not use deprecated headerUnload with newer rpm versions

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit abd47f16a4ef8a50af4287795969832d1391d8d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.5: fix AB-INT: QEMU kernel panic: No irq handler for vector
Bruce Ashfield [Thu, 21 Dec 2023 14:25:08 +0000 (09:25 -0500)] 
linux-yocto/6.5: fix AB-INT: QEMU kernel panic: No irq handler for vector

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

1/2 [
    Author: Thomas Gleixner
    Email: tglx@linutronix.de
    Subject: x86/alternatives: Sync core before enabling interrupts
    Date: Thu, 7 Dec 2023 20:49:24 +0100

    text_poke_early() does:

       local_irq_save(flags);
       memcpy(addr, opcode, len);
       local_irq_restore(flags);
       sync_core();

    That's not really correct because the synchronization should happen before
    interrupts are reenabled to ensure that a pending interrupt observes the
    complete update of the opcodes.

    It's not entirely clear whether the interrupt entry provides enough
    serialization already, but moving the sync_core() invocation into interrupt
    disabled region does no harm and is obviously correct.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/2 [
    Author: Thomas Gleixner
    Email: tglx@linutronix.de
    Subject: x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    Date: Thu, 7 Dec 2023 20:49:26 +0100

    apply_alternatives() treats alternatives with the ALT_FLAG_NOT flag set
    special as it optimizes the existing NOPs in place.

    Unfortunately this happens with interrupts enabled and does not provide any
    form of core synchronization.

    So an interrupt hitting in the middle of the update and using the affected
    code path will observe a half updated NOP and crash and burn. The following
    3 NOP sequence was observed to expose this crash halfways reliably under
    QEMU 32bit:

       0x90 0x90 0x90

    which is replaced by the optimized 3 byte NOP:

       0x8d 0x76 0x00

    So an interrupt can observe:

       1) 0x90 0x90 0x90 nop nop nop
       2) 0x8d 0x90 0x90 undefined
       3) 0x8d 0x76 0x90 lea    -0x70(%esi),%esi
       4) 0x8d 0x76 0x00 lea     0x0(%esi),%esi

    Where only #1 and #4 are true NOPs. The same problem exists for 64bit obviously.

    Disable interrupts around this NOP optimization and invoke sync_core()
    before reenabling them.

Fixes: 270a69c4485d ("x86/alternative: Support relocations in alternatives")
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c8d29ab6b02c5b783429db3b67583deb1637142)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.5: drop removed IMA option
Bruce Ashfield [Thu, 21 Dec 2023 14:25:04 +0000 (09:25 -0500)] 
linux-yocto/6.5: drop removed IMA option

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

1/1 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: features/ima: drop now retired IMA_TRUSTED_KEYRING option
    Date: Wed, 6 Dec 2023 09:15:38 -0500

    Unfortunately linux-stable backported this:

      Subject: ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig

      From: Nayna Jain <nayna@linux.ibm.com>

      [ Upstream commit 5087fd9e80e539d2163accd045b73da64de7de95 ]

      Time to remove "IMA_TRUSTED_KEYRING".

    ...to all releases still being maintained.

    stable-queue$git grep -l 5087fd9e80e539
    releases/5.10.195/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.15.132/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.4.257/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.1.53/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.4.16/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.5.3/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch

    So now when someone uses the feature, it triggers a do_kernel_configcheck
    warning when the audit runs.

    We added this file way back in 2019 so this fix will be needed on all
    active branches that are using an LTS linux-stable kernel listed above.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d575b2822c1779077177deb177bafa94ab975bfc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux/cve-exclusion6.1: Update to latest kernel point release
Richard Purdie [Sat, 23 Dec 2023 08:45:07 +0000 (08:45 +0000)] 
linux/cve-exclusion6.1: Update to latest kernel point release

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c4ffd18d3e71b935acc050b106267db544d86df7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: update to v6.1.68
Bruce Ashfield [Thu, 21 Dec 2023 14:25:09 +0000 (09:25 -0500)] 
linux-yocto/6.1: update to v6.1.68

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

    ba6f5fb46511 Linux 6.1.68
    f38b4e99e24c drm/i915: Skip some timing checks on BXT/GLK DSI transcoders
    d9ef7b05ccd7 drm/i915/sdvo: stop caching has_hdmi_monitor in struct intel_sdvo
    cf70d62ace90 drm/i915/lvds: Use REG_BIT() & co.
    e6d55cf49399 drm/i915/display: Drop check for doublescan mode in modevalid
    9c322aaf28e8 riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE
    189c2a82933c netfilter: nft_set_pipapo: skip inactive elements during set walk
    b4e440cf600e MIPS: Loongson64: Enable DMA noncoherent support
    d52a5178cbdc MIPS: Loongson64: Handle more memory types passed from firmware
    8d18a0158546 MIPS: Loongson64: Reserve vgabios memory on boot
    2b9b2d28a92a KVM: SVM: Update EFER software model on CR0 trap for SEV-ES
    6d6314c3dbac KVM: s390/mm: Properly reset no-dat
    be297475cabc MIPS: kernel: Clear FPU states when setting up kernel threads
    358bd5f436d8 cifs: Fix flushing, invalidation and file size with FICLONE
    18b02e4343e8 cifs: Fix flushing, invalidation and file size with copy_file_range()
    69540c108d72 USB: gadget: core: adjust uevent timing on gadget unbind
    2467f4f8cb7c x86/CPU/AMD: Check vendor in the AMD microcode callback
    0553d5290879 devcoredump: Send uevent once devcd is ready
    74799b43d856 serial: 8250_omap: Add earlycon support for the AM654 UART controller
    d59dafa9eb12 serial: 8250: 8250_omap: Do not start RX DMA on THRI interrupt
    638a6cbacefd serial: 8250: 8250_omap: Clear UART_HAS_RHR_IT_DIS bit
    f434703fb893 serial: sc16is7xx: address RX timeout interrupt errata
    a8027753ab65 ARM: PL011: Fix DMA support
    c909ce57d055 usb: typec: class: fix typec_altmode_put_partner to put plugs
    b12ccef70545 smb: client: fix potential NULL deref in parse_dfs_referrals()
    f48430635b5e Revert "xhci: Loosen RPM as default policy to cover for AMD xHC 1.1"
    9ce109b74875 cifs: Fix non-availability of dedup breaking generic/304
    8e25331ea560 parport: Add support for Brainboxes IX/UC/PX parallel cards
    bee9affd37b9 serial: 8250_dw: Add ACPI ID for Granite Rapids-D UART
    16da1f84f5ef usb: gadget: f_hid: fix report descriptor allocation
    c8bf22e0d049 drm/amdgpu: Update EEPROM I2C address for smu v13_0_0
    87509778718c drm/amdgpu: Add I2C EEPROM support on smu v13_0_6
    4ccb34d4313b drm/amdgpu: simplify amdgpu_ras_eeprom.c
    af6b1f1156fc drm/amdgpu: Return from switch early for EEPROM I2C address
    a3049c9a3013 drm/amdgpu: Remove second moot switch to set EEPROM I2C address
    30289057ef8f drm/amdgpu: Add support for RAS table at 0x40000
    c67c553b4dd9 drm/amdgpu: Decouple RAS EEPROM addresses from chips
    ee9efcdc76af drm/amdgpu: Remove redundant I2C EEPROM address
    a945568638ac drm/amdgpu: Add EEPROM I2C address support for ip discovery
    f549f837b9ac drm/amdgpu: Update ras eeprom support for smu v13_0_0 and v13_0_10
    458affed0619 drm/amdgpu: correct the amdgpu runtime dereference usage count
    41c5dd545e76 drm/amd/amdgpu: Fix warnings in amdgpu/amdgpu_display.c
    613eaee4459d drm/amdgpu: fix memory overflow in the IB test
    1705927a1073 gpiolib: sysfs: Fix error handling on failed export
    4b716fcacd2a x86/sev: Fix kernel crash due to late update to read-only ghcb_version
    06dec254c59a perf: Fix perf_event_validate_size()
    b0c195a825d4 arm64: dts: mt8183: kukui: Fix underscores in node names
    8a3d746c7ec5 arm64: dts: mediatek: add missing space before {
    5656634ce01e parisc: Fix asm operand number out of range build error in bug table
    f9e9e156dbbb parisc: Reduce size of the bug_table on 64-bit kernel by half
    8479f5ca8b6c tracing: Stop current tracer when resizing buffer
    df4aa7e84d00 tracing: Set actual size after ring buffer resize
    07ad456e1c02 ring-buffer: Force absolute timestamp on discard of event
    40421e0cf34e LoongArch: BPF: Don't sign extend function return value
    ebb09d58dfe7 LoongArch: BPF: Don't sign extend memory load operand
    066dcd87b94c misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
    d78789ba2195 misc: mei: client.c: return negative error code in mei_cl_write
    672976c28e1b hwtracing: hisi_ptt: Add dummy callback pmu::read()
    0b80e6af0d90 coresight: etm4x: Remove bogous __exit annotation for some functions
    766b29f6141a coresight: etm4x: Make etm4_remove_dev() return void
    920f84a6e8e9 binder: fix memory leaks of spam and pending work
    18847b6bba36 arm64: dts: mediatek: mt8183-evb: Fix unit_address_vs_reg warning on ntc
    c428285eab3c arm64: dts: mediatek: mt8183: Move thermal-zones to the root node
    bdd7508661fc arm64: dts: mediatek: mt8183: Fix unit address for scp reserved memory
    66398d18565d arm64: dts: mediatek: mt8195: Fix PM suspend/resume with venc clocks
    e1d4f02a68d3 arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names
    ff566a8d765f arm64: dts: mediatek: cherry: Fix interrupt cells for MT6360 on I2C7
    6d50aa965650 arm64: dts: mediatek: mt8183-kukui-jacuzzi: fix dsi unnecessary cells properties
    c2adea319187 arm64: dts: mediatek: mt7622: fix memory node warning check
    515d971cd26a md/raid6: use valid sector values to determine if an I/O should wait on the reshape
    4132cc3a3aa9 powercap: DTPM: Fix missing cpufreq_cpu_put() calls
    686cc4de099f mm: fix oops when filemap_map_pmd() without prealloc_pte
    574a6db80f3e hugetlb: fix null-ptr-deref in hugetlb_vma_lock_write
    f5e6958919e0 platform/surface: aggregator: fix recv_buf() return value
    bcd50a3bd637 regmap: fix bogus error on regcache_sync success
    1c1c6d5c7e14 r8169: fix rtl8125b PAUSE frames blasting when suspended
    6a71d7785643 packet: Move reference count in packet_sock to atomic_long_t
    15c251f81442 tracing: Fix a possible race when disabling buffered events
    b00b50091693 tracing: Fix incomplete locking when disabling buffered events
    6e0d6c685b1b tracing: Disable snapshot buffer when stopping instance tracers
    20fd56ca2e6d tracing: Always update snapshot buffer size
    f33d663db004 checkstack: fix printed address
    4c00f01832f2 cgroup_freezer: cgroup_freezing: Check if not frozen
    3907e9cc85ff nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
    c344e99dd812 nilfs2: fix missing error check for sb_set_blocksize call
    d2558e726e76 ring-buffer: Test last update in 32bit version of __rb_time_read()
    c4dcc915ea22 ALSA: hda/realtek: Add Framework laptop 16 to quirks
    0675fe3b3234 ALSA: hda/realtek: add new Framework laptop to quirks
    8b23707c8a1e ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5
    dc1141ae5ca2 ALSA: pcm: fix out-of-bounds in snd_pcm_state_names
    bb43c57c3d0b ALSA: usb-audio: Add Pioneer DJM-450 mixer controls
    bfe5a5e2f9e9 io_uring: fix mutex_unlock with unreferenced ctx
    8bba38f7a0d4 nvme-pci: Add sleep quirk for Kingston drives
    f2f57f51b53b io_uring/af_unix: disable sending io_uring over sockets
    515c25be77ba ASoC: amd: yc: Fix non-functional mic on ASUS E1504FA
    0fcfc90c8664 kprobes: consistent rcu api usage for kretprobe holder
    a5325a055f0f rethook: Use __rcu pointer for rethook::handler
    68bc7b200305 iommu: Avoid more races around device probe
    3c796895b4e2 md: don't leave 'MD_RECOVERY_FROZEN' in error path of md_set_readonly()
    5255ded03422 md: introduce md_ro_state
    a38c1e766f4f riscv: fix misaligned access handling of C.SWSP and C.SDSP
    8b41bdcc22da ARM: dts: imx28-xea: Pass the 'model' property
    282b5acd586e ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt
    12ac3b0ab837 ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init
    4d8cc87d1845 scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
    bc5b79df6d54 tracing: Fix a warning when allocating buffered events fails
    fc2d811d3101 ARM: dts: imx6ul-pico: Describe the Ethernet PHY clock
    22143a0e5ac2 arm64: dts: imx8mp: imx8mq: Add parkmode-disable-ss-quirk on DWC3
    8dd0e20b41b1 arm64: dts: imx8mq: drop usb3-resume-missing-cas from usb
    188de9839ff2 drm/bridge: tc358768: select CONFIG_VIDEOMODE_HELPERS
    1ff56298ab32 RDMA/irdma: Avoid free the non-cqp_request scratch
    0a929e837527 RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz
    ebcb4e19d3ef ASoC: wm_adsp: fix memleak in wm_adsp_buffer_populate
    2358e53208c0 hwmon: (nzxt-kraken2) Fix error handling path in kraken2_probe()
    3baaba79088b ASoC: codecs: lpass-tx-macro: set active_decimator correct default value
    c11b7e26d2f0 hwmon: (acpi_power_meter) Fix 4.29 MW bug
    19269741c3e2 RDMA/irdma: Fix UAF in irdma_sc_ccq_get_cqe_info()
    439857e2fe4e RDMA/irdma: Refactor error handling in create CQP
    59a022a869b1 RDMA/bnxt_re: Correct module description string
    7ed498095c6d RDMA/rtrs-clt: Remove the warnings for req in_use check
    03095a6440db RDMA/rtrs-clt: Fix the max_send_wr setting
    233c32bcf069 RDMA/rtrs-srv: Destroy path files after making sure no IOs in-flight
    7be574c34dc7 RDMA/rtrs-srv: Free srv_mr iu only when always_invalidate is true
    9dd976c435be RDMA/rtrs-srv: Check return values while processing info request
    3910ccbf25a7 RDMA/rtrs-clt: Start hb after path_up
    1e46485045cd RDMA/rtrs-srv: Do not unconditionally enable irq
    4a8774a63303 ASoC: fsl_sai: Fix no frame sync clock issue on i.MX8MP
    3166c76d1deb arm64: dts: rockchip: Expand reg size of vdec node for RK3399
    aa9ae3dffc34 arm64: dts: rockchip: Expand reg size of vdec node for RK3328
    945bfe4e0b09 RDMA/irdma: Add wait for suspend on SQD
    0b0afd4e1477 RDMA/irdma: Do not modify to SQD on error
    9d005ea01ed0 RDMA/hns: Fix unnecessary err return when using invalid congest control algorithm
    1c9561b438cb tee: optee: Fix supplicant based device enumeration
    5fd29433b29d mm/damon/sysfs: eliminate potential uninitialized variable warning
    b5ca945612b4 drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group
    07c8229c022b psample: Require 'CAP_NET_ADMIN' when joining "packets" group
    af39b80173e4 bpf: sockmap, updating the sg structure should also update curr
    008b807fe487 tcp: do not accept ACK of bytes we never sent
    7a63521ed041 netfilter: xt_owner: Fix for unsafe access of sk->sk_socket
    3176160c22d9 netfilter: nf_tables: validate family when identifying table via handle
    96f8654b701f netfilter: nf_tables: bail out on mismatching dynset and set expressions
    c9704c26193c netfilter: nf_tables: fix 'exist' matching on bigendian arches
    0bfbfd9423f3 netfilter: nft_exthdr: add boolean DCCP option matching
    9225a4566bc1 dt-bindings: interrupt-controller: Allow #power-domain-cells
    6b9e78d6c6b9 octeontx2-af: Update Tx link register range
    9be8f66ea857 octeontx2-af: Add missing mcs flr handler call
    d54470adfcc7 octeontx2-af: Fix mcs stats register address
    90773de07391 octeontx2-af: Fix mcs sa cam entries size
    0c8baa37bfa5 octeontx2-af: Adjust Tx credits when MCS external bypass is disabled
    d2689aea4f2e net: hns: fix fake link up on xge port
    217cc7f6a6ac net: hns: fix wrong head when modify the tx feature when sending packets
    87559196c316 net: atlantic: Fix NULL dereference of skb pointer in
    64c78c57e307 ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()
    ce3c5acb594e ionic: Fix dim work handling in split interrupt mode
    a92719900fc6 ionic: fix snprintf format length warning
    c91685ac1bce tcp: fix mid stream window clamp.
    9fc81912fcdb net: bnxt: fix a potential use-after-free in bnxt_init_tc
    0d33871b66f9 iavf: validate tx_coalesce_usecs even if rx_coalesce_usecs is zero
    75fd86e54119 i40e: Fix unexpected MFS warning message
    ba6eb3a77a56 octeontx2-af: fix a use-after-free in rvu_npa_register_reporters
    2c0cbb97b118 xsk: Skip polling event check for unbound socket
    ed7e211b6786 net: stmmac: fix FPE events losing
    1a41ffc4dc6a octeontx2-pf: consider both Rx and Tx packet stats for adaptive interrupt coalescing
    8d034da82563 arcnet: restoring support for multiple Sohard Arcnet cards
    3c323796951a platform/mellanox: Check devm_hwmon_device_register_with_groups() return value
    29d82b366a22 platform/mellanox: Add null pointer checks for devm_kasprintf()
    646f1e9c1978 mlxbf-bootctl: correctly identify secure boot with development keys
    ef91309a570a r8152: Add RTL8152_INACCESSIBLE to r8153_aldps_en()
    d11ef4d3dd37 r8152: Add RTL8152_INACCESSIBLE to r8153_pre_firmware_1()
    284cd311bb48 r8152: Add RTL8152_INACCESSIBLE to r8156b_wait_loading_flash()
    0823990da76f r8152: Add RTL8152_INACCESSIBLE checks to more loops
    3759e735562a r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
    ecb5068f55a8 hv_netvsc: rndis_filter needs to select NLS
    80de965ca52c octeontx2-af: Check return value of nix_get_nixlf before using nixlf
    f565044d1d84 octeontx2-pf: Add missing mutex lock in otx2_get_pauseparam
    a3f5de10b5cf ipv6: fix potential NULL deref in fib6_add()
    e2b202821dd8 platform/x86: wmi: Skip blocks with zero instances
    b536601d0520 of: dynamic: Fix of_reconfig_get_state_change() return value documentation
    76b9ea6f54ed platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code
    3453531284cb dt: dt-extract-compatibles: Don't follow symlinks when walking tree
    8a124b9e784b dt: dt-extract-compatibles: Handle cfile arguments in generator function
    cde700ceb0ea x86/tdx: Allow 32-bit emulation by default
    e09d243a518b x86/entry: Do not allow external 0x80 interrupts
    d5f999317e83 x86/entry: Convert INT 0x80 emulation to IDTENTRY
    b8ec27ae221e x86/coco: Disable 32-bit emulation by default on TDX and SEV
    0870f19b54de x86: Introduce ia32_enabled()
    9046665befd6 drm/amdgpu: correct chunk_ptr to a pointer to chunk.
    18209382db64 kconfig: fix memory leak from range properties
    bcc2abaa4095 tg3: Increment tx_dropped in tg3_tso_bug()
    9bbc655e1849 tg3: Move the [rt]x_dropped counters to tg3_napi
    62c6d82bac2b zstd: Fix array-index-out-of-bounds UBSAN warning
    875ee3a09e27 netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test
    6025052bbf3d i2c: designware: Fix corrupted memory seen in the ISR
    75b5016ce325 hrtimers: Push pending hrtimers away from outgoing CPU earlier
    8ea2b4ba9ba2 vdpa/mlx5: preserve CVQ vringh index

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98dd7225341e4a8c46e9db17728cd162a0d12216)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: update to v6.1.67
Bruce Ashfield [Thu, 21 Dec 2023 14:25:07 +0000 (09:25 -0500)] 
linux-yocto/6.1: update to v6.1.67

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

    e7cddbb41b63 Linux 6.1.67
    db46c77f3d51 Revert "wifi: cfg80211: fix CQM for non-range use"

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a80b32127dccd35ed7ed129e28231229afdaa53b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: update to v6.1.66
Bruce Ashfield [Thu, 21 Dec 2023 14:25:06 +0000 (09:25 -0500)] 
linux-yocto/6.1: update to v6.1.66

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

    6c6a6c7e211c Linux 6.1.66
    ea574927fc0b iomap: update ki_pos a little later in iomap_dio_complete
    adf0ecebf00a x86/apic/msi: Fix misconfigured non-maskable MSI quirk
    b3b839fb636b x86/xen: fix percpu vcpu_info allocation
    00bc8b2cf44c xen: simplify evtchn_do_upcall() call maze
    9311a0ff388a xen: Allow platform PCI interrupt to be shared
    402b8323461c r8169: fix deadlock on RTL8125 in jumbo mtu mode
    22ee0ddb2af7 r8169: disable ASPM in case of tx timeout
    10ce6301009f drm/amd/display: Fix MPCC 1DLUT programming
    8332cb6c6339 drm/amd/display: Fix the delta clamping for shaper LUT
    442a4d4d0157 drm/amd/display: clean code-style issues in dcn30_set_mpc_shaper_3dlut
    6cd736272165 drm/amd/display: Expand kernel doc for DC
    8b01195be4a9 mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
    38d3216032c9 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
    0e0a95166882 drm/amd/pm: fix a memleak in aldebaran_tables_init
    59862b869275 iommu/vt-d: Make context clearing consistent with context mapping
    ee2c2247690c iommu/vt-d: Disable PCI ATS in legacy passthrough mode
    8f39d297a26a iommu/vt-d: Add device_block_translation() helper
    3787b3168b6c iommu/vt-d: Allocate pasid table in device probe path
    681aeeda413d iommu/vt-d: Omit devTLB invalidation requests when TES=0
    8aaed5b81d26 cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
    d3788f6e9d5a cpufreq: imx6q: don't warn for disabling a non-existing frequency
    195514bda626 drm/amd/display: Guard against invalid RPTR/WPTR being set
    395a63ca1ad2 drm/amd/display: Restore rptr/wptr for DMCUB as workaround
    4ec4508db975 spi: Fix null dereference on suspend
    b57eebfb80e8 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
    5bc8d96fedce PCI: qcom-ep: Add dedicated callback for writing to DBI2 registers
    10c3d86fea04 octeontx2-af: Initialize 'cntr_val' to fix uninitialized symbol error
    1c8f75ee9233 PCI: Lengthen reset delay for VideoPropulsion Torrent QN16e card
    7545ddda9c98 KVM: x86: Fix lapic timer interrupt lost after loading a snapshot.
    21feaf558f93 net: ravb: Keep reverse order of operations in ravb_remove()
    8d04278ff48b net: ravb: Stop DMA in case of failures on ravb_open()
    52b751686cbf net: ravb: Start TX queues after HW initialization succeeded
    e2db25d16cdd net: ravb: Make write access to CXR35 first before accessing other EMAC registers
    f5c649ce7975 net: ravb: Use pm_runtime_resume_and_get()
    149b2fe12aca net: ravb: Check return value of reset_control_deassert()
    7ed2e4c2d016 ravb: Fix races between ravb_tx_timeout_work() and net related ops
    8b1d088be5f1 r8169: prevent potential deadlock in rtl8169_close
    9c4ac2d98a48 octeontx2-pf: Restore TC ingress police rules when interface is up
    aef2d5b3e56e octeontx2-af: Install TC filter rules in hardware based on priority
    662b88708408 octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64
    5d5bcfb1ca8d net: stmmac: xgmac: Disable FPE MMC interrupts
    334e6378c28c octeontx2-af: Fix possible buffer overflow
    c3e974e9c4bb selftests/net: mptcp: fix uninitialized variable warnings
    12dd4c1bf3bd selftests/net: unix: fix unused variable compiler warning
    4e999af7cf8a selftests/net: fix a char signedness issue
    249ceee95caf selftests/net: ipsec: fix constant out of range
    e01249a83939 uapi: propagate __struct_group() attributes to the container union
    fd91b48f108d dpaa2-eth: increase the needed headroom to account for alignment
    94445d958307 ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
    f89fef7710b2 usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
    9aff7c51b440 USB: core: Change configuration warnings to notices
    c89b34eef336 USB: xhci-plat: fix legacy PHY double init
    307a6525c82a wifi: cfg80211: fix CQM for non-range use
    e8c1105c0ccc serial: sc16is7xx: add missing support for rs485 devicetree properties
    55061c323075 serial: sc16is7xx: Put IOControl register into regmap_volatile
    a491c7be35ed auxdisplay: hd44780: move cursor home after clear display command
    7f2116777541 Input: xpad - add HyperX Clutch Gladiate Support
    7a105de27538 btrfs: fix 64bit compat send ioctl arguments not initializing version member
    32912ee86931 btrfs: make error messages more clear when getting a chunk map
    4fc9c61c02c0 btrfs: send: ensure send_fd is writable
    86742a963fe6 btrfs: fix off-by-one when checking chunk map includes logical address
    9fe447c485ed btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
    3f26d9b257ad btrfs: add dmesg output for first mount and last unmount of a filesystem
    0ad7d59e7901 parisc: Mark altinstructions read-only and 32-bit aligned
    cf2ae6494d1f parisc: Ensure 32-bit alignment on parisc unwind section
    2acfff573042 parisc: Mark jump_table naturally aligned
    3793cd2ded7c parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
    79a1fdf4c212 parisc: Mark lock_aligned variables 16-byte aligned on SMP
    41d7852a0a39 parisc: Use natural CPU alignment for bug_table
    c7c78a4aa60a parisc: Mark ex_table entries 32-bit aligned in uaccess.h
    645e4b693b5e parisc: Mark ex_table entries 32-bit aligned in assembly.h
    c23b9eaca80c powerpc: Don't clobber f0/vs0 during fp|altivec register save
    e6bc42fae6b8 KVM: PPC: Book3S HV: Fix KVM_RUN clobbering FP/VEC user registers
    59419ebcc0a6 iommu/vt-d: Add MTL to quirk list to skip TE disabling
    0b48970ce102 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
    fc98ea2699c0 dma-buf: fix check in dma_resv_add_fence
    4da1556996fa cpufreq/amd-pstate: Fix the return value of amd_pstate_fast_switch()
    9d4c721c1866 powercap: DTPM: Fix unneeded conversions to micro-Watts
    a62ca58bb3cc nvme: check for valid nvme_identify_ns() before using it
    82b5e603edd4 dm verity: don't perform FEC for failed readahead IO
    6f5a9fc94bfc dm verity: initialize fec io before freeing it
    7cfc3884a8bb drm/amd/display: fix ABM disablement
    859a3a9f1e6b drm/amd/display: Update min Z8 residency time to 2100 for DCN314
    6ef7f13c72df drm/amd/display: Use DRAM speed from validation for dummy p-state
    a67c18704706 drm/amd/display: Remove min_dst_y_next_start check for Z8
    33ed892f0cde drm/amd/display: Include udelay when waiting for INBOX0 ACK
    c5cf436c8969 drm/amdgpu: Force order between a read and write to the same address
    c60884296300 drm/amd: Enable PCIe PME from D3
    cebccbe80165 scsi: sd: Fix system start for ATA devices
    181fd67dc5b9 scsi: Change SCSI device boolean fields to single bit flags
    7d2faae81b57 dm-verity: align struct dm_verity_fec_io properly
    da9f55393f69 ALSA: hda/realtek: Add supported ALC257 for ChromeOS
    f4b130213497 ALSA: hda/realtek: Headset Mic VREF to 100%
    65654af4c8a6 ALSA: hda: Disable power-save on KONTRON SinglePC
    ba911edc6c0c mmc: block: Be sure to wait while busy in CQE error recovery
    eab9ec644637 mmc: block: Do not lose cache flush during CQE error recovery
    e121f6d73d2e mmc: block: Retry commands in CQE error recovery
    3a9a9c256f02 mmc: cqhci: Fix task clearing in CQE error recovery
    def67fd8efde mmc: cqhci: Warn of halt or task clear failure
    2ebc8b758c7d mmc: cqhci: Increase recovery halt timeout
    d2fc10e262b5 mmc: sdhci-pci-gli: Disable LPM during initialization
    87ceaa8521fc firewire: core: fix possible memory leak in create_units()
    db0b69e46da6 pinctrl: avoid reload of p state in list iteration
    74820f7406a1 smb: client: report correct st_size for SMB and NFS symlinks
    60fed17ca5b8 cifs: Fix FALLOC_FL_INSERT_RANGE by setting i_size after EOF moved
    6406cce4b22d cifs: Fix FALLOC_FL_ZERO_RANGE by setting i_size if EOF moved

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 83c13368918a69ad63ee957f3d03362e366afe42)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto-rt/6.1: update to -rt18
Bruce Ashfield [Thu, 21 Dec 2023 14:25:05 +0000 (09:25 -0500)] 
linux-yocto-rt/6.1: update to -rt18

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

1/17 [
    Author: Tvrtko Ursulin
    Email: tvrtko.ursulin@intel.com
    Subject: drm/i915: Do not disable preemption for resets
    Date: Fri, 18 Aug 2023 22:45:25 -0400

    [commit 40cd2835ced288789a685aa4aa7bc04b492dcd45 in linux-rt-devel]

    Commit ade8a0f59844 ("drm/i915: Make all GPU resets atomic") added a
    preempt disable section over the hardware reset callback to prepare the
    driver for being able to reset from atomic contexts.

    In retrospect I can see that the work item at a time was about removing
    the struct mutex from the reset path. Code base also briefly entertained
    the idea of doing the reset under stop_machine in order to serialize
    userspace mmap and temporary glitch in the fence registers (see
    eb8d0f5af4ec ("drm/i915: Remove GPU reset dependence on struct_mutex"),
    but that never materialized and was soon removed in 2caffbf11762
    ("drm/i915: Revoke mmaps and prevent access to fence registers across
    reset") and replaced with a SRCU based solution.

    As such, as far as I can see, today we still have a requirement that
    resets must not sleep (invoked from submission tasklets), but no need to
    support invoking them from a truly atomic context.

    Given that the preemption section is problematic on RT kernels, since the
    uncore lock becomes a sleeping lock and so is invalid in such section,
    lets try and remove it. Potential downside is that our short waits on GPU
    to complete the reset may get extended if CPU scheduling interferes, but
    in practice that probably isn't a deal breaker.

    In terms of mechanics, since the preemption disabled block is being
    removed we just need to replace a few of the wait_for_atomic macros into
    busy looping versions which will work (and not complain) when called from
    non-atomic sections.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris.p.wilson@intel.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20230705093025.3689748-1-tvrtko.ursulin@linux.intel.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    [PG: backport from v6.4-rt ; minor context fixup caused by b7d70b8b06ed]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Clark Williams <williams@redhat.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/17 [
    Author: Clark Williams
    Email: clrkwllms@kernel.org
    Subject: 'Linux 6.1.33-rt11'
    Date: Mon, 12 Jun 2023 10:40:02 -0500

Signed-off-by: Clark Williams <clrkwllms@kernel.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

5/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: io-mapping: don't disable preempt on RT in io_mapping_map_atomic_wc().
    Date: Fri, 10 Mar 2023 17:29:05 +0100

    io_mapping_map_atomic_wc() disables preemption and pagefaults for
    historical reasons.  The conversion to io_mapping_map_local_wc(), which
    only disables migration, cannot be done wholesale because quite some call
    sites need to be updated to accommodate with the changed semantics.

    On PREEMPT_RT enabled kernels the io_mapping_map_atomic_wc() semantics are
    problematic due to the implicit disabling of preemption which makes it
    impossible to acquire 'sleeping' spinlocks within the mapped atomic
    sections.

    PREEMPT_RT replaces the preempt_disable() with a migrate_disable() for
    more than a decade.  It could be argued that this is a justification to do
    this unconditionally, but PREEMPT_RT covers only a limited number of
    architectures and it disables some functionality which limits the coverage
    further.

    Limit the replacement to PREEMPT_RT for now.  This is also done
    kmap_atomic().

Link: https://lkml.kernel.org/r/20230310162905.O57Pj7hh@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reported-by: Richard Weinberger <richard.weinberger@gmail.com>
Link: https://lore.kernel.org/CAFLxGvw0WMxaMqYqJ5WgvVSbKHq2D2xcXTOgMCpgq9nDC-MWTQ@mail.gmail.com
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    (cherry picked from commit 7eb16f23b9a415f062db22739e59bb144e0b24ab)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

6/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: locking/rwbase: Mitigate indefinite writer starvation
    Date: Tue, 21 Mar 2023 17:11:40 +0100

    On PREEMPT_RT, rw_semaphore and rwlock_t locks are unfair to writers.
    Readers can indefinitely acquire the lock unless the writer fully acquired
    the lock, which might never happen if there is always a reader in the
    critical section owning the lock.

    Mel Gorman reported that since LTP-20220121 the dio_truncate test case
    went from having 1 reader to having 16 readers and that number of readers
    is sufficient to prevent the down_write ever succeeding while readers
    exist. Eventually the test is killed after 30 minutes as a failure.

    Mel proposed a timeout to limit how long a writer can be blocked until
    the reader is forced into the slowpath.

    Thomas argued that there is no added value by providing this timeout.  From
    a PREEMPT_RT point of view, there are no critical rw_semaphore or rwlock_t
    locks left where the reader must be preferred.

    Mitigate indefinite writer starvation by forcing the READER into the
    slowpath once the WRITER attempts to acquire the lock.

Reported-by: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Link: https://lore.kernel.org/877cwbq4cq.ffs@tglx
Link: https://lore.kernel.org/r/20230321161140.HMcQEhHb@linutronix.de
Cc: Linus Torvalds <torvalds@linux-foundation.org>
    (cherry picked from commit 286deb7ec03d941664ac3ffaff58814b454adf65)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

7/17 [
    Author: Paolo Abeni
    Email: pabeni@redhat.com
    Subject: revert: "softirq: Let ksoftirqd do its job"
    Date: Mon, 8 May 2023 08:17:44 +0200

    Due to the mentioned commit, when the ksoftirqd processes take charge
    of softirq processing, the system can experience high latencies.

    In the past a few workarounds have been implemented for specific
    side-effects of the above:

    commit 1ff688209e2e ("watchdog: core: make sure the watchdog_worker is not deferred")
    commit 8d5755b3f77b ("watchdog: softdog: fire watchdog even if softirqs do not get to run")
    commit 217f69743681 ("net: busy-poll: allow preemption in sk_busy_loop()")
    commit 3c53776e29f8 ("Mark HI and TASKLET softirq synchronous")

    but the latency problem still exists in real-life workloads, see the
    link below.

    The reverted commit intended to solve a live-lock scenario that can now
    be addressed with the NAPI threaded mode, introduced with commit
    29863d41bb6e ("net: implement threaded-able napi poll loop support"),
    and nowadays in a pretty stable status.

    While a complete solution to put softirq processing under nice resource
    control would be preferable, that has proven to be a very hard task. In
    the short term, remove the main pain point, and also simplify a bit the
    current softirq implementation.

    Note that this change also reverts commit 3c53776e29f8 ("Mark HI and
    TASKLET softirq synchronous") and commit 1342d8080f61 ("softirq: Don't
    skip softirq execution when softirq thread is parking"), which are
    direct follow-ups of the feature commit. A single change is preferred to
    avoid known bad intermediate states introduced by a patch series
    reverting them individually.

Link: https://lore.kernel.org/netdev/305d7742212cbe98621b16be782b0562f1012cb6.camel@redhat.com/
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Tested-by: Jason Xing <kerneljasonxing@gmail.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/57e66b364f1b6f09c9bc0316742c3b14f4ce83bd.1683526542.git.pabeni@redhat.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    (cherry picked from commit b8a04a538ed4755dc97c403ee3b8dd882955c98c)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

8/17 [
    Author: Peter Zijlstra
    Email: peterz@infradead.org
    Subject: debugobjects,locking: Annotate debug_object_fill_pool() wait type violation
    Date: Tue, 25 Apr 2023 17:03:13 +0200

    There is an explicit wait-type violation in debug_object_fill_pool()
    for PREEMPT_RT=n kernels which allows them to more easily fill the
    object pool and reduce the chance of allocation failures.

    Lockdep's wait-type checks are designed to check the PREEMPT_RT
    locking rules even for PREEMPT_RT=n kernels and object to this, so
    create a lockdep annotation to allow this to stand.

    Specifically, create a 'lock' type that overrides the inner wait-type
    while it is held -- allowing one to temporarily raise it, such that
    the violation is hidden.

Reported-by: Vlastimil Babka <vbabka@suse.cz>
Reported-by: Qi Zheng <zhengqi.arch@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Qi Zheng <zhengqi.arch@bytedance.com>
Link: https://lkml.kernel.org/r/20230429100614.GA1489784@hirez.programming.kicks-ass.net
    (cherry picked from commit 0cce06ba859a515bd06224085d3addb870608b6d)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

9/17 [
    Author: Wander Lairson Costa
    Email: wander@redhat.com
    Subject: sched: avoid false lockdep splat in put_task_struct()
    Date: Wed, 14 Jun 2023 09:23:22 -0300

    In put_task_struct(), a spin_lock is indirectly acquired under the kernel
    stock. When running the kernel in real-time (RT) configuration, the
    operation is dispatched to a preemptible context call to ensure
    guaranteed preemption. However, if PROVE_RAW_LOCK_NESTING is enabled
    and __put_task_struct() is called while holding a raw_spinlock, lockdep
    incorrectly reports an "Invalid lock context" in the stock kernel.

    This false splat occurs because lockdep is unaware of the different
    route taken under RT. To address this issue, override the inner wait
    type to prevent the false lockdep splat.

Signed-off-by: Wander Lairson Costa <wander@redhat.com>
Suggested-by: Oleg Nesterov <oleg@redhat.com>
Suggested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Luis Goncalves <lgoncalv@redhat.com>
Link: https://lore.kernel.org/r/20230614122323.37957-3-wander@redhat.com
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    (cherry picked from commit a5e446e728e89d5f5c5e427cc919bc7813c64c28)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

10/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: mm/page_alloc: Use write_seqlock_irqsave() instead write_seqlock() + local_irq_save().
    Date: Fri, 23 Jun 2023 22:15:17 +0200

    __build_all_zonelists() acquires zonelist_update_seq by first disabling
    interrupts via local_irq_save() and then acquiring the seqlock with
    write_seqlock(). This is troublesome and leads to problems on
    PREEMPT_RT. The problem is that the inner spinlock_t becomes a sleeping
    lock on PREEMPT_RT and must not be acquired with disabled interrupts.

    The API provides write_seqlock_irqsave() which does the right thing in
    one step.
    printk_deferred_enter() has to be invoked in non-migrate-able context to
    ensure that deferred printing is enabled and disabled on the same CPU.
    This is the case after zonelist_update_seq has been acquired.

    There was discussion on the first submission that the order should be:
     local_irq_disable();
     printk_deferred_enter();
     write_seqlock();

    to avoid pitfalls like having an unaccounted printk() coming from
    write_seqlock_irqsave() before printk_deferred_enter() is invoked. The
    only origin of such a printk() can be a lockdep splat because the
    lockdep annotation happens after the sequence count is incremented.
    This is exceptional and subject to change.

    It was also pointed that PREEMPT_RT can be affected by the printk
    problem since its write_seqlock_irqsave() does not really disable
    interrupts. This isn't the case because PREEMPT_RT's printk
    implementation differs from the mainline implementation in two important
    aspects:
    - Printing happens in a dedicated threads and not at during the
      invocation of printk().
    - In emergency cases where synchronous printing is used, a different
      driver is used which does not use tty_port::lock.

    Acquire zonelist_update_seq with write_seqlock_irqsave() and then defer
    printk output.

Fixes: 1007843a91909 ("mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock")
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20230623201517.yw286Knb@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    (cherry picked from commit 4d1139baae8bc4fff3728d1d204bdb04c13dbe10)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

11/17 [
    Author: Sebastian Andrzej Siewior
    Email: bigeasy@linutronix.de
    Subject: bpf: Remove in_atomic() from bpf_link_put().
    Date: Wed, 14 Jun 2023 10:34:30 +0200

    bpf_free_inode() is invoked as a RCU callback. Usually RCU callbacks are
    invoked within softirq context. By setting rcutree.use_softirq=0 boot
    option the RCU callbacks will be invoked in a per-CPU kthread with
    bottom halves disabled which implies a RCU read section.

    On PREEMPT_RT the context remains fully preemptible. The RCU read
    section however does not allow schedule() invocation. The latter happens
    in mutex_lock() performed by bpf_trampoline_unlink_prog() originated
    from bpf_link_put().

    It was pointed out that the bpf_link_put() invocation should not be
    delayed if originated from close(). It was also pointed out that other
    invocations from within a syscall should also avoid the workqueue.
    Everyone else should use workqueue by default to remain safe in the
    future (while auditing the code, every caller was preemptible except for
    the RCU case).

    Let bpf_link_put() use the worker unconditionally. Add
    bpf_link_put_direct() which will directly free the resources and is used
    by close() and from within __sys_bpf().

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230614083430.oENawF8f@linutronix.de
    (cherry picked from commit ab5d47bd41b1db82c295b0e751e2b822b43a4b5a)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

12/17 [
    Author: Thomas Gleixner
    Email: tglx@linutronix.de
    Subject: posix-timers: Ensure timer ID search-loop limit is valid
    Date: Thu, 1 Jun 2023 20:58:47 +0200

    posix_timer_add() tries to allocate a posix timer ID by starting from the
    cached ID which was stored by the last successful allocation.

    This is done in a loop searching the ID space for a free slot one by
    one. The loop has to terminate when the search wrapped around to the
    starting point.

    But that's racy vs. establishing the starting point. That is read out
    lockless, which leads to the following problem:

    CPU0                    CPU1
    posix_timer_add()
      start = sig->posix_timer_id;
      lock(hash_lock);
      ...    posix_timer_add()
      if (++sig->posix_timer_id < 0)
                        start = sig->posix_timer_id;
         sig->posix_timer_id = 0;

    So CPU1 can observe a negative start value, i.e. -1, and the loop break
    never happens because the condition can never be true:

      if (sig->posix_timer_id == start)
         break;

    While this is unlikely to ever turn into an endless loop as the ID space is
    huge (INT_MAX), the racy read of the start value caught the attention of
    KCSAN and Dmitry unearthed that incorrectness.

    Rewrite it so that all id operations are under the hash lock.

Reported-by: syzbot+5c54bd3eb218bb595aa9@syzkaller.appspotmail.com
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/87bkhzdn6g.ffs@tglx
    (cherry picked from commit 8ce8849dd1e78dadcee0ec9acbd259d239b7069f)
Signed-off-by: Clark Williams <clark.williams@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 53e612c42ce438b100505c93d8bb65e59f49895d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
3 months agolinux-yocto/6.1: drop removed IMA option
Bruce Ashfield [Thu, 21 Dec 2023 14:25:03 +0000 (09:25 -0500)] 
linux-yocto/6.1: drop removed IMA option

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

1/1 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: features/ima: drop now retired IMA_TRUSTED_KEYRING option
    Date: Wed, 6 Dec 2023 09:15:38 -0500

    Unfortunately linux-stable backported this:

      Subject: ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig

      From: Nayna Jain <nayna@linux.ibm.com>

      [ Upstream commit 5087fd9e80e539d2163accd045b73da64de7de95 ]

      Time to remove "IMA_TRUSTED_KEYRING".

    ...to all releases still being maintained.

    stable-queue$git grep -l 5087fd9e80e539
    releases/5.10.195/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.15.132/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/5.4.257/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.1.53/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.4.16/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
    releases/6.5.3/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch

    So now when someone uses the feature, it triggers a do_kernel_configcheck
    warning when the audit runs.

    We added this file way back in 2019 so this fix will be needed on all
    active branches that are using an LTS linux-stable kernel listed above.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db11dfcd8304ded18fd21d7c4c2db50331402666)
Signed-off-by: Steve Sakoman <steve@sakoman.com>