Compare commits

..

2393 Commits

Author SHA1 Message Date
Steve Sakoman
aa63b25cbe build-appliance-image: Update to mickledore head revision
(From OE-Core rev: 7e3489c0c5970389c8a239dc7b367bcadf554eb5)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:59:05 -10:00
Steve Sakoman
500101cc15 poky.conf: bump version for 4.2.3 release
(From meta-yocto rev: a6cbea61972f3ee292f6177f3923d797d8841cd8)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Michael Opdenacker
48ba18aa2d poky.conf: update SANITY_TESTED_DISTROS to match autobuilder
From the intersection of the list of allowed workers
on https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py
and the active workers on
https://autobuilder.yoctoproject.org/typhoon/#/workers

(From meta-yocto rev: e1590665ab1a4fa4ffb2321a4a63e038c153e5d8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Joel Stanley
870d88bff4 kernel: don't fail if Modules.symvers doesn't exist
Kernels that do not use modules do not have the Modules.symvers file,
which causes the previous one-liner to fail.  Invert the logic so that
the absence of the Modules.symvers is a passing situation but we still
get failure checking on the install operation.

(From OE-Core rev: 6fff6ce35864cfef70ffd10db3b7d5f090dd3f62)

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 856c916ffbf3438d8cf5d8bed344473bde03b56e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Alexander Kanavin
c17b8013ce curl: ensure all ptest failures are caught
Piping results through sed is masking failures that aren't
picked up by sed expressions.

One such failure probes the source tree, and so isn't
relevant for target testing, and can be disabled.

(From OE-Core rev: 3afb1edc760a7cc1048aa9ae009a8cc6d32f9e89)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 86c96cbf68d986b44fdb45e988343ce29d6b8cc7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Alexander Kanavin
9e2b1cdc04 devtool/upgrade: raise an error if extracting source produces more than one directory
This can happen if running unpack task produces unrelated files and directories
(e.g. if recipe_qa or other tasks run); in this case it's better to stop, rather
than allow devtool to continue and error out much later with a message that has
nothing to do with where the problem originated.

The idea here was to handle tarballs that don't contain a top level directory and thus
the source tree is one level up; this basically never happens, and if it does we
should find a less brittle way to handle such tarballs.

(From OE-Core rev: 814672f886b5859524dcc0c285d916a1ccca6605)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b25e922b271794906b22450c7e6cc18fcab51ff8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Andrej Valek
c40f486385 maintainers.inc: Modify email address
andrej.valek@siemens.com -> andrej.v@skyrain.eu

(From OE-Core rev: ac97d97f56d409fab994cdf2e43f4feefca058d3)

Signed-off-by: Andrej Valek <andrej.v@skyrain.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1af0edaa83934d67ff554be591968fc8cea42e4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Dmitry Baryshkov
ac02d78010 linux-firmware: split platform-specific Adreno shaders to separate packages
For newest Qualcomm platforms the firmware for the Adreno GPU consists
of two parts: platform-independent SQE/GMU/GPMU/PFP/PM4 and
platform-specific ZAP shader, which is used during the boot process. As
the platform-independent parts can be shared between different
platforms, split the platform-specific part to the separate package.

(From OE-Core rev: d13736bd39b4bf10d25f25cbfe47910bb2b42327)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf00a042d2fa2eb4b20d8c5982926758821bf990)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
BELOUARGA Mohamed
32aff1ceef linux-firmware : Add firmware of RTL8822 serie
RTL8822 is a serie of wireless modules that need firmwares to function correctly.
The linux firmware recipe does not have a package of these firmwares, and this commit add them.

(From OE-Core rev: fffb1425b94818ef282760551296b60f9e6e90d0)

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6459959beeb91c0b694f5f17b6587a12c6dcb087)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Marek Vasut
c7f3e6b6fb linux-firmware: Fix mediatek mt7601u firmware path
The following linux-firmware commit moved the mt7601u firmware blob
into a mediatek/ subdirectory, update the path accordingly.
8451c2b1 ("mt76xx: Move the old Mediatek WiFi firmware to mediatek")

Fixes: 64603f602d ("linux-firmware: upgrade 20230404 -> 20230515")
(From OE-Core rev: 9eb02966397c825d1482dd59246c0d446cc7454d)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Alexander Kanavin
26bfcd407b glibc-locale: use stricter matching for metapackages' runtime dependencies
This resolves two issues:

1. metapackages were depending on themselves (except -binaries which wouldn't match against 'glibc-binary').

2. for the nativesdk variant, due to a non-empty dependency list at parsing time caused by
issue 1, map_depends_variable() from meta/lib/oe/classextend.py was forcibly setting PACKAGES
to the initial parse-time value (e.g. missing the dynamically created packages). This meant that
three out of four nativesdk- metapackages were entireyly missing the dependencies on the
respective dynamic package sets.

(From OE-Core rev: 580d92c2ae5aab9f4afab1e534291c26dd5bc5c6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a90fd3afe9184aa1870b34a826e3ba0563477d4b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Richard Purdie
7e020d4aea oeqa/ssh: Further improve process exit handling
It looks like there were further cases where orphaned processes may be left
behind since the .kill() calls may be unsuccessful if the process terminated
due to the terminate or through normal exit. In that situation .wait()
wouldn't have been called.

Further tweak the exit code paths to ensure .wait() is called to update the
returncode value before returning in all cases.

(From OE-Core rev: f647d1400bfa5b8eab81b2b2e2c86df306970a71)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0a0a1731e38edfa72a141e8fd8f2de52be562e94)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Mark Hatle
51904d6c60 tcf-agent: Update to 1.8.0 release
New 1.8 release of tcf-agent.  Implements DWARF 5 support and various
bug fixes.

Changelog since last SRCREV:
   Releng: Upversion TCF to 1.8
   Fixed possible SEGFAULT after error message queue overflow
   Fixed misspelling in a comment
   TCF Agent: update breakpoint error message
   Fixed regression: possible segfault in run_safe_events()
   Bug 581978 - TCF agent wrong handle the call frame debug info generated by LLVM 16 for RISC-V
   DWARF: a bit faster implementation of dio_ReadAddressX()
   Bug 581971 - Failed to handle loclist for DWARF 5
   Fixed handling of situation when a context resumed or exited during breakpoint evaluation
   Bug 581799 - when loads .debug_info section from dwarf 5 file, the content of some part are zero
   Updated examples/daytime/readme.txt

(From OE-Core rev: 1b5b577f1b766ed6f98b6854e6968d4b9b02a45a)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0c2c7c910fa933bc46f69207f1f7641c1e7b77e0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Sudip Mukherjee
80913caa17 bind: upgrade to v9.18.17
Changes:
Update license checksum: only whitespace change.
Update sha256sum for new version.

Additional change:
Do not use version with the foldername, which will result in less diffstat
with future upgrades.

(From OE-Core rev: 742833f076ae44036369b9570bb1584c62d9047b)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1eda31b370ab4129ad149c45f1e43a44d6db9241)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Ross Burton
032166a2e8 openssh: upgrade to 9.3p2
9795c401 (tag: V_9_3_P2) OpenSSH 9.3p2
bde3635f update version in README
f673f2f3 update RPM spec versions
d7790cdc disallow remote addition of FIDO/PKCS11 keys
b23fe83f terminate pkcs11 process for bad libraries

This includes the fix for CVE-2023-38408.

(From OE-Core rev: b76fb3ee4b339cfbbb332ed239826b3efcdb6f1e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
(cherry picked from commit 7ae89bdeaa97c8d6a0b63e92da31290548f03168)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
sanjana
f9c58a63f0 binutils: stable 2.40 branch updates
Below commits on binutils-2.40 stable branch are updated.

391fd4d9ee5 PR30697, ppc32 mix of local-dynamic and global-dynamic TLS
7ad52a2357f [GOLD] powerpc DT_RELACOUNT
03f49a0619c PR30536, ppc64el gold linker produces unusable clang-16 binary

(From OE-Core rev: 74e6452a9fbeb928a635869160bc17cfeab867f0)

Signed-off-by: sanjana <sanjanasanju1608@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Yogita Urade
ee45db898f qemu: fix CVE-2023-2861
qemu: 9pfs: prevent opening special files

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2023-2861

(From OE-Core rev: 4dd99f7f48664dbaef7f3a083a9d362552ba44ac)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Yogita Urade
911a4b03a5 qemu: fix CVE-2023-3255
QEMU: VNC: infinite loop in inflate_buffer() leads to denial of service

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2023-3255

(From OE-Core rev: 886536b056230a9d72c900eacc8d1d8b44bd2836)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:05 -10:00
Yogita Urade
f86817b160 qemu: fix CVE-2023-3301
qemu: hotplug/hotunplug mlx vdpa device to the occupied addr port,
then qemu core dump occurs after shutdown guest

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2023-3301

(From OE-Core rev: 82bf6c4cba88dc9f25caf14d60e79ce0c366919c)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-18 03:57:04 -10:00
Daniel Semkowicz
b4a1f97855 dev-manual: wic.rst: Update native tools build command
Requirements list seems to be outdated. It is not possible to follow
instructions for Raw Mode as not all of the native tools are available.
All wic dependencies are gathered under wic-tools package. Some commands
in the instruction already use wic-tools native sysroot, but this
dependency is not specified in the requirements.
Update the command for building native tools to use wic-tools instead
of the seperate packages.

(From yocto-docs rev: 8e6752a9e55d16f3713e248b37f9d4d2745a2375)

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Lee Chee Yang
3d42b15454 migration-guides: add release notes for 4.2.2
(From yocto-docs rev: 38f76e898192154aaa18b1bdb90c0b5dff0b50c9)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Alexander Kanavin
21be91b403 ref-manual: document image-specific variant of INCOMPATIBLE_LICENSE
This has been around without being properly documented since 2019 (!!!),
and is nowadays the preferred method for enforcing license restrictions,
especially since meta-gplv2 is officially obsolete.

(From yocto-docs rev: 40d3cb5257fea3669efe28e534e5f9479a2837b3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Richard Purdie
998d1cf1d9 target/ssh: Ensure exit code set for commands
As spotted by Joshua Watt, the returncode isn't set until .poll() or .wait()
is called so we need to call this after the .kill() call.

This fixes return code reporting so that timeouts for example now return an
exit code when they didn't before.

(From OE-Core rev: 6bd6b7110ea2029fc736a40760536adfaf28eec0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3924e94214b5135369be2551d54fb92097d35e95)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Richard Purdie
b34941d072 ltp: Add kernel loopback module dependency
The qemuarm64 kernel builds loopback device support as a module and it isn't included
in the image leading to ltp test failures on that platform.

Add the missing kernel module RRECOMMENDS to avoid this and fix those errors.

(From OE-Core rev: 5273868106b46cd330e15f36f4592f05ca9e3feb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8691020f33a644d52b7d867376ef3c85be84abf9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Richard Purdie
9ddf095096 oeqa/runtime/ltp: Increase ltp test output timeout
On our slower arm server, the tests currently timeout leading to inconsistent test
results. Increase the timeout to avoid this and aim to make the test results
consistent.

(From OE-Core rev: a9e2179f3b4a4fe7321539de9e8e2707c9ca350a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a8b49208f3c99e184eab426360b137bc773aa31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Richard Purdie
468ff997f4 oeqa/target/ssh: Ensure EAGAIN doesn't truncate output
We have a suspicion that the read() call may return EAGAIN on the non-blocking
fd and this may truncate test output leading to some of our intermittent failures.
Tweak the code to avoid this potential issue.

(From OE-Core rev: fd9e47ee5653dad1f24d823d32d2012e7f8bb3a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a8920c105725431e989cceb616bd04eaa52127ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Oleksandr Hnatiuk
805b208d23 file: fix the way path is written to environment-setup.d
$OECORE_NATIVE_SYSROOT is not escaped, thus it is expanded to an empty string.
This happens to work because we have ${datadir} which in this context is
relocated to the buildtools sysroot after installation of buildtools.

If the $ before OECORE_NATIVE_SYSROOT is escaped, it will be saved to file.sh
as intended, but MAGIC will point to the wrong location because both
OECORE_NATIVE_SYSROOT and datadir resolve to sysroot which doubles the path
like so:
/path/to/buildtools/sysroots/x86_64-xesdk-linux/path/to/buildtools/sysroots/x86_64-xesdk-linux/usr/share/misc/magic.mgc
which does not exist. So, removing reference to OECORE_NATIVE_SYSROOT.

(From OE-Core rev: 7ae5c9a17d6f8133fa5b4e127dd4e9cc43454ee8)

Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c6206249683876670602888e78ecaf719753a317)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Anuj Mittal
9c34365a3d selftest/cases/glibc.py: switch to using NFS over TCP
This provides a more reliable test execution when running tests that
write a large buffer/file and significantly reduces the localedata test
failures.

(From OE-Core rev: e138b648a56a0146588dc52edd9b44929ed8a73e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 97a7612e3959bc9c75116a4e696f47cc31aea75d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Anuj Mittal
6fa4e40651 oeqa/utils/nfs: allow requesting non-udp ports
Allows setting up NFS over TCP as well.

(From OE-Core rev: a177ce907ec7a044659ec49c679e66f49cd71c43)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1ff9b9a3b7f7924aea67d2024581bea2e916036)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Anuj Mittal
13a94b094b selftest/cases/glibc.py: increase the memory for testing
Some of the tests trigger OOM and fail. Increase the amount of memory
available so we dont run into these issues.

(From OE-Core rev: b4e7158aca35235c86afee2b68236e250488ef98)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d22dba482cb19ffcff5abee73f24526ea9d1c2a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Anuj Mittal
a5116b5c3a glibc/check-test-wrapper: don't emit warnings from ssh
Dont fill up the test log with ssh warning about having added the host
to list of known hosts.

Also helps fix a test case failure where stderr log was being compared
to a known value.

(From OE-Core rev: dddbca01474f89fade197cd3284671c859d01108)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63b31ff7e54a171c4c02fca2e6b07aec64a410af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Ovidiu Panait
8c04824e54 mdadm: add util-linux-blockdev ptest dependency
07revert-inplace test logs contain the following:
func.sh: line 335: /sbin/blockdev: No such file or directory

Add the missing util-linux-blockdev dependency.

(From OE-Core rev: dd359520c5e7fd76a127333114217d6d6cd74880)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a15cd04f528d137d428a572f15d1ec5ebbbd81f0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Alexis Lothoré
ee034253ae scripts/resulttool: add mention about new detected tests
Some regression reports show a lot of "PASSED->None" transitions. When such
big lot of identical transitions are observed, it could be that tests are
now failing, but it could also be that some tests has been renamed.

To detect such case, add a log in regression report to report the number of
new tests (i.e: tests that are present in target results but not in base
result). This new log also allows to know about newly added tests bases

(From OE-Core rev: 7e393ea6e46060daf3242f2f7721f7f968945122)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 01b5cefd07e01c7407bc663842b8a8d502358a6d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Oleksandr Hnatiuk
5a717511f2 file: return wrapper to fix builds when file is in buildtools-tarball
Wrapper that adds proper path to magic file was removed in
47db876d09d9a4394048579c21d0b394450ce681 in favor of
environment-setup.d/file.sh which now contains `MAGIC` environment variable.
This breaks builds that rely on external buildtools with `file` included in
buildtools-tarball (e.g. via TOOLCHAIN_HOST_TASK) because do_populate_sysroot
task invokes `file` via `subprocess.check_output` (in is_elf function) and
doesn't use variables from files in environment-setup.d. To address this use
case, we need to preserve the wrapper, but also have
environment-setup.d/file.sh for the purposes described in
47db876d09d9a4394048579c21d0b394450ce681.

(From OE-Core rev: 4a9832c55044b894e933179e5c1b6a96634809c0)

Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e76b059cf4ba9a79150032d68d012b233dd79a65)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Ross Burton
c687d4326d ltp: add RDEPENDS on findutils
With busybox find some of the test script fails, so depend on GNU find.

(From OE-Core rev: d1055d9f0aafbc687b857e85843e74c54bc014a1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2d1b1987ef927b33b799bb6e6805a1fdd8d92921)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Staffan Rydén
f28f7aa98b kernel: Fix path comparison in kernel staging dir symlinking
Due to an oversight in the do_symlink_kernsrc function, the path
comparison between "S" and "STAGING_KERNEL_DIR" is broken. The code
obtains both variables, but modifies the local copy of "S" before
comparing them, causing the comparison to always return false.

This can cause the build to fail when the EXTERNALSRC flag is enabled,
since the code will try to create a symlink even if one already exists.

This patch resolves the issue by comparing the variables before they are
modified.

(From OE-Core rev: 76ca96ebde8c318e32d4bf65714a6241965b0b8f)

Signed-off-by: Staffan Rydén <staffan.ryden@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit afd2038ef8a66a5e6433be31a14e1eb0d9f9a1d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Alex Kiernan
d7e4741091 rpm: Pick debugfs package db files/dirs explicitly
Rather than copying the entire /etc hierarchy, specify the pieces we
actually need.

(From OE-Core rev: c8fbba7c0bb442282fe19abdcee492407e20b8cb)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f0fea55ab02b013484282177a636795a254e7986)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Alex Kiernan
9f3e151acd rootfs: Add debugfs package db file copy and cleanup
When copying the package database files for the debugfs, add individual
file copy as well as tree copying. After the debug rootfs has been
created, cleanup the package files.

This then allows us to avoid a problem where (for rpm at least)
extraneous files in the debug rootfs would cause failures during
oe-selftest because some files existed in both regular and debugfs
images.

(From OE-Core rev: 4931839ff97e8746cdabe1d06298a96a47638b2b)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ce49ea435ce55eb5b6da442c12e03a806534c38d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Anuj Mittal
07fc9ad254 selftest/cases/glibc.py: fix the override syntax
Fix the override so we actually pass the correct value to glibc.

(From OE-Core rev: 8ad6000c814631e1147fddd5d2462b39ea44b99e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 38fd2120f0f48512091ddad6205ce19839eaf589)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Richard Purdie
bb3e4284f7 glibc-testsuite: Fix network restrictions causing test failures
The check target for the glibc testsuite uses networking to access
a QEMU in system mode. This was resulting in large numbers of test
failures for the x86 targets that use it.

Enable network access to resolve this.

(From OE-Core rev: b3b73520296380e78e084918d5c5fbd6c7c50c9b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 088e022f80e57ca345838bf57df9abad3d8b9313)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Julien Stephan
4b5695593a automake: fix buildtest patch
Add check_PROGRAMS as a dependency of buildtest-TESTS target.
This is required because according to the official automake
documentation [1]:
* TESTS: contains all the tests files
* check_PROGRAMS: contains the programs used by the tests
* check_PROGRAMS is not automatically added to TESTS

So, by using only TESTS as a dependency for buildtest-TESTS we may end
up having runtime errors because of missing program required by the
tests.

[1]: https://www.gnu.org/software/automake/manual/html_node/Scripts_002dbased-Testsuites.html

(From OE-Core rev: 8a5630c113bd8509fcb62e8a32fcadfc2dc94181)

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 ee3e2af4f8ed95b4fd0f7cec52ae4e169401b719)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Michael Halstead
c88c4a913b resulttool/resultutils: allow index generation despite corrupt json
non-release indexes will continue to generate when test output is
corrupted.

(From OE-Core rev: ea6c9e6a91df553e88e34a990ea15f80f469893e)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a9157684a6bff8406c9bb470cb2e16ee006bbe9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Enrico Scholz
a64c1f4c37 shadow-sysroot: add license information
Recipe references 'login.defs' in LIC_FILES_CHKSUM.  This causes some
problems:

- file does not contain a single word which is related with its license

- changing this file (here: increasing SYS_UID_MIN) invalidates
  LIC_FILES_CHKSUM

Add 'SPDX-License-Identifier' to the file and limit the checksum to
this part.

(From OE-Core rev: 21744b8d77c71f8893dc06379b13bf45a2470c70)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c6f2e3feeb26abefb4136c56db6f3c0349acefb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Richard Purdie
9447ac7977 ptest-runner: Pull in parallel test fixes and output handling
Pull in the commits:

    Flush stdout and stderr after test
    Remove _child_reader singleton
    Report test failure on timeout
    Only collect system state on timeout
    Revert "Change test timeout to be total elapsed time"
    Change test timeout to be total elapsed time
    Report if child dies from a signal
    Recreate pipe for each test
    Revert "runner: Correctly handle running parallel tests"
    runner: Correctly handle running parallel tests

(From OE-Core rev: 5eee7d7a25bceb94cc14a98bff5be1cee8e53b06)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8de47e5f3837a9c87c3cbf8dc45f9e90110eda1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Alexander Kanavin
3fbeec5e39 Revert "rootfs-postcommands.bbclass: add post func remove_unused_dnf_log_lock"
This was not well researched or explained, and obscures a problem elsewhere:
if dnf leaves lock files around, the problem should be fixed at the source,
and not in an after-the-fact function.

(From OE-Core rev: d38e40661acfbd84197a7731f0dd02d16fba7c59)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 49bad18012a4079f0dbfe6c541a46ec508940f28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Archana Polampalli
ea2032446c bind: upgrade 9.18.15 -> 9.18.16
Remove enable-epoll & disable-devpoll configure options no longer supported in bind-9.18.16
    6b6076c882: Remove obsolete epoll/kqueue/devpoll configure options

Security fixes:
https://nvd.nist.gov/vuln/detail/CVE-2023-2828
https://nvd.nist.gov/vuln/detail/CVE-2023-2911

Changelog:
https://github.com/isc-projects/bind9/blob/v9.18.16/CHANGES
https://bind9.readthedocs.io/en/v9.18.16/notes.html#notes-for-bind-9-18-16

(From OE-Core rev: 95988d1cc871458b978fac08c0d72a978bec0490)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Bruce Ashfield
3bb6fd89f2 linux-yocto/6.1: cfg: update ima.cfg to match current meta-integrity
Integrating the following commit(s) to linux-yocto:

    cba89f406c6 features: update ima.cfg to match current meta-integrity

(From OE-Core rev: 855b9ed2110d7302fa81bad5d2275fa67b3402fd)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 554690317dd8b882075e43213082b40fa3271cd5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Bruce Ashfield
40e1576e59 linux-yocto/5.15: update to v5.15.124
Updating  to the latest korg -stable release that comprises
the following commits:

    38d4ca22a528 Linux 5.15.124
    78001ffa9bc4 selftests: mptcp: join: only check for ip6tables if needed
    66cf5f394abe ASoC: cs42l51: fix driver to properly autoload with automatic module loading
    3359fdf49de4 io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq
    374edda0db70 selftests: mptcp: sockopt: use 'iptables-legacy' if available
    43bbe1a091e0 cpufreq: intel_pstate: Drop ACPI _PSS states table patching
    73b4cbed9176 ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
    cd031669682e ACPI: processor: perflib: Use the "no limit" frequency QoS
    e8e93e2f017e tracing: Fix trace_event_raw_event_synth() if else statement
    f3b6e63004f6 rbd: retrieve and check lock owner twice before blocklisting
    bb25c5c0e4ae rbd: harden get_lock_owner_info() a bit
    b223e9ffb64d rbd: make get_lock_owner_info() return a single locker or NULL
    098d0b9ba03c dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
    7c9b8cca4917 ceph: never send metrics if disable_send_metrics is set
    e443b3a508b0 ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
    585355a76e05 s390/dasd: fix hanging device after quiesce/resume
    0061453d6ea1 virtio-net: fix race between set queues and probe
    427d42838c16 KVM: x86: Disallow KVM_SET_SREGS{2} if incoming CR0 is invalid
    4ed1549129f9 locking/rtmutex: Fix task->pi_waiters integrity
    c579caef7c46 irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation
    6cb3c511afcb irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
    354e8bd5f532 tpm_tis: Explicitly check for error code
    8130c32b4ac1 nfsd: Remove incorrect check in nfsd4_validate_stateid
    9b8a31a23152 file: always lock position for FMODE_ATOMIC_POS
    1f5ea62a0f42 btrfs: check for commit error at btrfs_attach_transaction_barrier()
    883c3ed9a16a btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
    a7abb1690fe1 hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
    3f3cdca84432 hwmon: (k10temp) Enable AMD3255 Proc to show negative temperature
    a676ddc4ca96 ALSA: hda/relatek: Enable Mute LED on HP 250 G8
    dd125fcd580a Revert "xhci: add quirk for host controllers that don't update endpoint DCS"
    5138c228311a tty: n_gsm: fix UAF in gsm_cleanup_mux
    baf420e30364 staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
    acacdbe0f740 staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
    ba2975efe979 Documentation: security-bugs.rst: clarify CVE handling
    28ae486f8e36 Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
    98a118840b71 Revert "usb: xhci: tegra: Fix error check"
    2eaa43508a0e usb: xhci-mtk: set the dma max_seg_size
    cd2d96c4bc6f usb: cdns3: fix incorrect calculation of ep_buf_size when more than one config
    3af06a8502ee USB: quirks: add quirk for Focusrite Scarlett
    8fb5a01196df usb: ohci-at91: Fix the unhandle interrupt when resume
    6366b1178545 usb: dwc3: don't reset device side if dwc3 was configured as host-only
    6f126e026307 usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
    a2d2fa661293 Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
    97620ed1bcab can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
    0ac13ef00209 USB: serial: simple: sort driver entries
    378e03623741 USB: serial: simple: add Kaufmann RKS+CAN VCP
    5b9a5cf1bf4a USB: serial: option: add Quectel EC200A module support
    399091399777 USB: serial: option: support Quectel EM060K_128
    b800c0d5576e serial: sifive: Fix sifive_serial_console_setup() section
    8fa462ad0f9b serial: 8250_dw: Preserve original value of DLF register
    dc4f6c537f37 serial: qcom-geni: drop bogus runtime pm state update
    41c487de4cf5 KVM: VMX: Don't fudge CR0 and CR4 for restricted L2 guest
    5883a4e8478d KVM: Grab a reference to KVM for VM and vCPU stats file descriptors
    0f7a2b567197 USB: gadget: Fix the memory leak in raw_gadget driver
    2f9bfccced04 usb: gadget: call usb_gadget_check_config() to verify UDC capability
    a49884561a8c Revert "usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()"
    813cede7b2f5 tracing: Fix warning in trace_buffered_event_disable()
    23e8a65f9a93 ring-buffer: Fix wrong stat of cpu_buffer->read
    ae5b8b1c2eac ata: pata_ns87415: mark ns87560_tf_read static
    6bbbe1b2161e RDMA/irdma: Report correct WC error
    bd79de8bd371 drm/amd: Fix an error handling mistake in psp_sw_init()
    4e1c1d742970 dm raid: protect md_stop() with 'reconfig_mutex'
    0c4db5a04d4f dm raid: clean up four equivalent goto tags in raid_ctr()
    2e321ee96f88 dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
    4b9f3ef1f3eb block: Fix a source code comment in include/uapi/linux/blkzoned.h
    2861b33820f9 ASoC: fsl_spdif: Silence output on stop
    5ec0e4deee5b drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
    b79a0e71d6e8 RDMA/bnxt_re: Prevent handling any completions after qp destroy
    3ad5f655eb8a RDMA/mthca: Fix crash when polling CQ for shared QPs
    c5b5dbcbf91f RDMA/irdma: Fix data race on CQP request done
    bf0f9f65b7fe RDMA/irdma: Fix data race on CQP completion stats
    fd6e50ec2c38 RDMA/irdma: Add missing read barriers
    5fbb5068d2bd drm/msm/adreno: Fix snapshot BINDLESS_DATA size
    4e9d4a21616b drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
    6ab756a55e46 RDMA/mlx4: Make check for invalid flags stricter
    9dde876a4dc8 tipc: stop tipc crypto on failure in tipc_node_create
    df019bc1241e tipc: check return value of pskb_trim()
    42afa7ef6629 benet: fix return value check in be_lancer_xmit_workarounds()
    95cf4fa31b0c net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
    98f6bbdfc0ce net/sched: mqprio: add extack to mqprio_parse_nlattr()
    b1e85c9d28dd net/sched: mqprio: refactor nlattr parsing to a separate function
    5bee91121cce netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
    98bcfcaecc76 netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
    50cbb9d195c1 netfilter: nft_set_rbtree: fix overlap expiration walk
    feba294c454a igc: Fix Kernel Panic during ndo_tx_timeout callback
    8412fe36863b platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
    238420a24d6b net: stmmac: Apply redundant write work around on 4.xx too
    9be8ec5a0cfe team: reset team's flags when down link is P2P device
    bf2d7b63e2b5 bonding: reset bond's flags when down link is P2P device
    c28b39387634 ice: Fix memory management in ice_ethtool_fdir.c
    ecb741a17cb2 tcp: Reduce chance of collisions in inet6_hashfn().
    dd48780a7bbb ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
    46e40297355e ethernet: atheros: fix return value check in atl1e_tso_csum()
    6d8a71e4c3a2 phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
    49f5b3c9499b vxlan: calculate correct header length for GPE
    77396fa9096a vxlan: move to its own directory
    96dbc68b7f86 net: hns3: fix wrong bw weight of disabled tc issue
    9755714d238c net: hns3: fix wrong tc bandwidth weight data issue
    01460ac6ff95 net: phy: marvell10g: fix 88x3310 power up
    57743a86cce1 iavf: check for removal state before IAVF_FLAG_PF_COMMS_FAILED
    1542e399a12a iavf: fix potential deadlock on allocation failure
    5a4048355725 i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
    c9b936984d89 media: staging: atomisp: select V4L2_FWNODE
    6aa7cb3bb5c9 soundwire: qcom: update status correctly with mask
    3f28ec4a4002 phy: qcom-snps-femto-v2: properly enable ref clock
    ac3fe4c2a708 phy: qcom-snps-femto-v2: keep cfg_ahb_clk enabled during runtime suspend
    e7c0c5af517f phy: qcom-snps: correct struct qcom_snps_hsphy kerneldoc
    450ef59bef9a phy: qcom-snps: Use dev_err_probe() to simplify code
    d6f92582816c drm/amdgpu/vkms: relax timer deactivation by hrtimer_try_to_cancel
    fc399b0fdf2d drm/amdgpu: fix vkms crtc settings
    aa56bcff46a1 scsi: qla2xxx: Fix hang in task management
    58daf4e8709d scsi: qla2xxx: Add debug prints in the device remove path
    f90d44e5bbbe scsi: qla2xxx: Fix task management cmd fail due to unavailable resource
    01366f0b656a scsi: qla2xxx: Fix task management cmd failure
    25cea82ea25d scsi: qla2xxx: Multi-que support for TMF
    2e18fd3f61be scsi: qla2xxx: Remove unused declarations for qla2xxx
    ace6bed42464 tracing/probes: Fix to record 0-length data_loc in fetch_store_string*() if fails
    30c8ba1da373 Revert "tracing: Add "(fault)" name injection to kernel probes"
    5f52389bdd9e tracing: Allow synthetic events to pass around stacktraces
    e7b4d24fa090 tracing/probes: Fix to avoid double count of the string length on the array
    3a1a229712ef tracing/probes: Add symstr type for dynamic events
    7ac170d93bec pwm: meson: fix handling of period/duty if greater than UINT_MAX
    bae3c43a9d25 pwm: meson: Simplify duplicated per-channel tracking
    5cb0349cfcde cifs: if deferred close is disabled then close files immediately
    c600e23fbc40 ksmbd: remove internal.h include
    c8117ac42303 cifs: use fs_context for automounts
    5076cc8bc162 cifs: missing directory in MAINTAINERS file
    da60170558b9 drm/ttm: never consider pinned BOs for eviction&swap
    c556573e4bb1 tty: fix hang on tty device with no_room set
    d262770b95c7 n_tty: Rename tail to old_tail in n_tty_read()
    7738335d73d0 drm/ttm: Don't leak a resource on eviction error
    4400b96587fd drm/ttm: Don't print error message if eviction was interrupted
    354cdda79a77 fs: dlm: interrupt posix locks only when process is killed
    97e7a0f8dea2 dlm: rearrange async condition return
    75ce95abc65b dlm: cleanup plock_op vs plock_xop
    b409d8df9bea PCI: rockchip: Don't advertise MSI-X in PCIe capabilities
    cbd1494e51fd PCI: rockchip: Fix window mapping and address translation for endpoint
    eb39c4c051dc PCI: rockchip: Remove writes to unused registers
    05f13e85fbdd PCI/ASPM: Avoid link retraining race
    52d274956a8f PCI/ASPM: Factor out pcie_wait_for_retrain()
    cf8c18150030 PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
    8b9249d74ca5 i2c: nomadik: Remove a useless call in the remove function
    f07d8d345bd2 i2c: nomadik: Use devm_clk_get_enabled()
    4954c8705339 i2c: nomadik: Remove unnecessary goto label
    24562f0a46ad i2c: Improve size determinations
    9845744e57fe i2c: Delete error messages for failed memory allocations
    89eae1f0aaeb btrfs: fix race between quota disable and relocation
    b19e90521286 gpio: mvebu: fix irq domain leak
    a999660042af gpio: mvebu: Make use of devm_pwmchip_add
    34fe5fbc208f pwm: Add a stub for devm_pwmchip_add()
    f3d2344811fd gpio: tps68470: Make tps68470_gpio_output() always set the initial value
    21d063d27bf3 io_uring: don't audit the capability check in io_uring_create()
    49a2686addde KVM: s390: pv: fix index value of replaced ASCE
    fee1e6a73557 jbd2: Fix wrongly judgement for buffer head removing while doing checkpoint

(From OE-Core rev: f7ffd2eba4d5c731b7841690e24ca4c5752dfce8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Bruce Ashfield
305c9c42a1 linux-yocto/5.15: update to v5.15.123
Updating  to the latest korg -stable release that comprises
the following commits:

    09996673e313 Linux 5.15.123
    e6c2f1ce413c Revert "drm/amd/display: edp do not add non-edid timings"
    68eafe294786 nixge: fix mac address error handling again
    22f4093a4213 tracing/histograms: Return an error if we fail to add histogram to hist_vars list
    78471c3ad36f jbd2: recheck chechpointing non-dirty buffer
    0ae6b6d21701 net: phy: prevent stale pointer dereference in phy_init()
    b7168d2906fd tcp: annotate data-races around fastopenq.max_qlen
    accb138c10ff tcp: annotate data-races around icsk->icsk_user_timeout
    6b88371f000f tcp: annotate data-races around tp->notsent_lowat
    4f0a31f73258 tcp: annotate data-races around rskq_defer_accept
    ff0fedfc7540 tcp: annotate data-races around tp->linger2
    e187d88f3ba3 tcp: annotate data-races around icsk->icsk_syn_retries
    d5617eeb546e tcp: annotate data-races around tp->keepalive_probes
    9b2296a2ad23 tcp: annotate data-races around tp->keepalive_intvl
    f70ebecdf3c2 tcp: annotate data-races around tp->keepalive_time
    0bcee9325268 tcp: annotate data-races around tp->tcp_tx_delay
    10013f764ad2 netfilter: nf_tables: skip bound chain on rule flush
    dbe1a82d46ed netfilter: nf_tables: skip bound chain in netns release path
    706ce3c81b5c netfilter: nft_set_pipapo: fix improper element removal
    62615b895ab4 netfilter: nf_tables: fix spurious set element insertion failure
    c17b4ec9cc38 llc: Don't drop packet from non-root netns.
    2400ae8fd86d fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
    40276640bed8 Revert "tcp: avoid the lookup process failing to get sk in ehash table"
    b04ab5243e84 net:ipv6: check return value of pskb_trim()
    b87a7e3a330c net: ipv4: Use kfree_sensitive instead of kfree
    5dd4d1ff8ba1 tcp: annotate data-races around tcp_rsk(req)->ts_recent
    fa941f53a2c2 igc: Prevent garbled TX queue with XDP ZEROCOPY
    e35dc107a172 bpf: Fix subprog idx logic in check_max_stack_depth
    4e87eb224896 octeontx2-pf: Dont allocate BPIDs for LBK interfaces
    87fc9616d606 security: keys: Modify mismatched function name
    0fb37ce6c01e iavf: Fix out-of-bounds when setting channels on remove
    345c44e18cc1 iavf: Fix use-after-free in free_netdev
    52ed16146349 net: sched: cls_bpf: Undo tcf_bind_filter in case of an error
    5ed16ecae5bf net: ethernet: mtk_eth_soc: handle probe deferral
    39479093a472 ethernet: use of_get_ethdev_address()
    cb1e666ec077 of: net: add a helper for loading netdev->dev_addr
    43da399e509e ethernet: use eth_hw_addr_set() instead of ether_addr_copy()
    3fb402bd20e2 bridge: Add extack warning when enabling STP in netns.
    ec4ac15eced0 net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field()
    6a5d6096ae5c pinctrl: amd: Use amd_pinconf_set() for all config options
    4727cece2994 perf build: Fix library not found error when using CSLIBS
    29fb046ec031 fbdev: imxfb: warn about invalid left/right margin
    5d191467534b spi: bcm63xx: fix max prepend length
    2febd5f81e4b FS: JFS: Check for read-only mounted filesystem in txBegin
    3e94d0d378d2 FS: JFS: Fix null-ptr-deref Read in txBegin
    13ae3f2fd2be MIPS: dec: prom: Address -Warray-bounds warning
    39f6292d7595 fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev
    985f96666989 udf: Fix uninitialized array access for some pathnames
    579d814de87c quota: fix warning in dqgrab()
    32c2f51fffec quota: Properly disable quotas when add_dquot_ref() fails
    d363075066cc ALSA: emu10k1: roll up loops in DSP setup code for Audigy
    c0d7dbc6b7a6 drm/radeon: Fix integer overflow in radeon_cs_parser_init
    bca9fb7a5a86 ext4: correct inline offset when handling xattrs in inode body
    87336783d054 ASoC: codecs: wcd938x: fix soundwire initialisation race
    a14527c394d0 ASoC: codecs: wcd938x: fix codec initialisation race
    4ca000456ea6 ASoC: codecs: wcd934x: fix resource leaks on component remove
    5a34d252052b ASoC: codecs: wcd938x: fix missing mbhc init error handling
    aa44782a0293 ASoC: codecs: wcd938x: fix resource leaks on component remove
    90ab6446eb52 ASoC: codecs: wcd-mbhc-v2: fix resource leaks on component remove
    a05a277a8d23 ASoC: codecs: wcd938x: fix missing clsh ctrl error handling
    574ffa6fdf30 ASoC: fsl_sai: Disable bit clock with transmitter
    925bbcdbc4d0 drm/amd/display: Keep PHY active for DP displays on DCN31
    742340371b01 drm/amd/display: Disable MPC split by default on special asic
    1369d0c586ad drm/client: Fix memory leak in drm_client_modeset_probe
    a85e23a1ef63 drm/client: Fix memory leak in drm_client_target_cloned
    82690148ff19 selftests: tc: add ConnTrack procfs kconfig
    3c3941bb1eb5 can: bcm: Fix UAF in bcm_proc_show()
    148453787636 regmap: Account for register length in SMBus I/O limits
    6ce258d0c622 regmap: Drop initial version of maximum transfer length fixes
    d3ee089a16a3 selftests: tc: add 'ct' action kconfig dep
    4a888b22cc07 selftests: tc: set timeout to 15 minutes
    62ee5840326b fuse: ioctl: translate ENOSYS in outarg
    ab80a901f8da btrfs: zoned: fix memory leak after finding block group with super blocks
    6ba7ac692a25 fuse: revalidate: don't invalidate if interrupted
    c9060caab413 btrfs: fix warning when putting transaction with qgroups enabled after abort
    232a104e38fe perf probe: Add test for regression introduced by switch to die_get_decl_file()
    9aecfebea24f keys: Fix linking a duplicate key to a keyring's assoc_array
    0b24b5e187bd ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx
    2d04042a9fce ALSA: hda/realtek: Add quirk for Clevo NS70AU
    a5de09b7f9fe ALSA: hda/realtek - remove 3k pull low procedure

(From OE-Core rev: df81fdbc619c5a3a76ad3bdea2bf7d761e612656)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Bruce Ashfield
8976f05133 linux-yocto/5.15: update to v5.15.122
Updating  to the latest korg -stable release that comprises
the following commits:

    5c6a716301d9 Linux 5.15.122
    be824fdb827d x86/cpu/amd: Add a Zenbleed fix
    5398be2c48aa x86/cpu/amd: Move the errata checking functionality up
    cdd3cdb682f4 Linux 5.15.121
    30580f3a3301 drm/atomic: Fix potential use-after-free in nonblocking commits
    ab2fa2fafb21 net/sched: sch_qfq: reintroduce lmax bound check for MTU
    204d7c36e8e7 MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS enabled
    522ee1b3030f scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
    0715da51391d scsi: qla2xxx: Pointer may be dereferenced
    541af83572c9 scsi: qla2xxx: Correct the index of array
    1ccd52b790a6 scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()
    5a52a2e14fe8 scsi: qla2xxx: Fix potential NULL pointer dereference
    89250e775dcc scsi: qla2xxx: Fix buffer overrun
    4406fe8a96a9 scsi: qla2xxx: Avoid fcport pointer dereference
    748d8f8698a2 scsi: qla2xxx: Array index may go out of bound
    079c8264ed9f scsi: qla2xxx: Wait for io return on terminate rport
    25d63eb730b8 tracing/probes: Fix to update dynamic data counter if fetcharg uses it
    8277bcacf165 tracing/probes: Fix not to count error code to total length
    610193a23fd5 selftests: mptcp: depend on SYN_COOKIES
    c8b375871eb8 selftests: mptcp: sockopt: return error if wrong mark
    3b5d9b7b8759 tracing: Fix null pointer dereference in tracing_err_log_open()
    391da52c8777 xtensa: ISS: fix call to split_if_spec
    179feeeef62f ftrace: Fix possible warning on checking all pages used in ftrace_process_locs()
    bb14a93bccc9 ring-buffer: Fix deadloop issue on reading trace_pipe
    3e36cc94d6e6 net: ena: fix shift-out-of-bounds in exponential backoff
    b763e6342429 samples: ftrace: Save required argument registers in sample trampolines
    954792db9f61 tracing: Fix memory leak of iter->temp when reading trace_pipe
    97f54b330c79 tracing/histograms: Add histograms to hist_vars if they have referenced variables
    b45a33897f54 s390/decompressor: fix misaligned symbol build error
    1856cf9132f6 bus: ixp4xx: fix IXP4XX_EXP_T1_MASK
    7269c250dd9d Revert "8250: add support for ASIX devices with a FIFO bug"
    20f7c4d51c94 soundwire: qcom: fix storing port config out-of-bounds
    39a0e723d350 opp: Fix use-after-free in lazy_opp_tables after probe deferral
    0ff4a97ac20f meson saradc: fix clock divider mask length
    e5fdd73c883b xhci: Show ZHAOXIN xHCI root hub speed correctly
    6eaedbffec55 xhci: Fix TRB prefetch issue of ZHAOXIN hosts
    328b18a42a57 xhci: Fix resume issue of some ZHAOXIN hosts
    d9c91ef5d8da ceph: don't let check_caps skip sending responses for revoke msgs
    db8ca8d9b4df libceph: harden msgr2.1 frame segment length checks
    974ac045a05a firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool()
    becf8c69b7e7 tty: serial: imx: fix rs485 rx after tx
    9dd8091959bc tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
    073dbbe57437 tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error
    21e2fe510aee serial: atmel: don't enable IRQs prematurely
    af4e0ce2af8a drm/ttm: Don't leak a resource on swapout move error
    22c16c896cbf drm/amdgpu: avoid restore process run into dead loop.
    85b9335d8e0b drm/amd/display: Correct `DMUB_FW_VERSION` macro
    9ced7e65c3c4 drm/amdgpu: fix clearing mappings for BOs that are always valid in VM
    0121d83ddfc8 drm/rockchip: vop: Leave vblank enabled in self-refresh
    941a395e969b drm/atomic: Allow vblank-enabled + self-refresh "disable"
    54163ad21e17 fs: dlm: return positive pid value for F_GETLK
    866bf37b7c10 dm init: add dm-mod.waitfor to wait for asynchronously probed block devices
    4f61488541bb md/raid0: add discard support for the 'original' layout
    3435c5674e67 mfd: pm8008: Fix module autoloading
    560c458340a9 misc: pci_endpoint_test: Re-init completion for every test
    14bdee38e96c misc: pci_endpoint_test: Free IRQs before removing the device
    eec34da87bc6 PCI: rockchip: Set address alignment for endpoint mode
    750fd00a0a37 PCI: rockchip: Use u32 variable to access 32-bit registers
    875d7a7f851a PCI: rockchip: Fix legacy IRQ generation for RK3399 PCIe endpoint core
    7b0026977a51 PCI: rockchip: Add poll and timeout to wait for PHY PLLs to be locked
    049d774b8b9b PCI: rockchip: Write PCI Device ID to correct register
    20c62b3c1e4d PCI: rockchip: Assert PCI Configuration Enable bit after probe
    e8cc74b6b446 PCI: qcom: Disable write access to read only registers for IP v2.3.3
    7b2f1ddc943a PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
    1d24c5b10dbb PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold
    f930cf3f21fd dm integrity: reduce vmalloc space footprint on 32-bit architectures
    70564215ad92 hwrng: imx-rngc - fix the timeout for init and self check
    de984faecddb jfs: jfs_dmap: Validate db_l2nbperpage while mounting
    d04a3ff04c93 ext4: only update i_reserved_data_blocks on successful block allocation
    c327b83c59ee ext4: turn quotas off if mount failed after enabling quotas
    8830523440a6 ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
    c7514dceb7b9 ext4: fix wrong unit use in ext4_mb_new_blocks
    5523851fad60 ext4: get block from bh in ext4_free_blocks for fast commit replay
    ba92af119b31 ext4: fix wrong unit use in ext4_mb_clear_bb
    951ee9c9bb05 ext4: Fix reusing stale buffer heads from last failed mounting
    cd517f9a9d07 MIPS: KVM: Fix NULL pointer dereference
    fd89522a6198 MIPS: Loongson: Fix cpu_probe_loongson() again
    0e1854f87be8 erofs: fix compact 4B support for 16k block size
    e4e7f67cc14e arm64: errata: Add detection for TRBE overwrite in FILL mode
    affdbc8fbc7a powerpc/security: Fix Speculation_Store_Bypass reporting on Power10
    9f1627d8b0a4 misc: fastrpc: Create fastrpc scalar with correct buffer count
    faea67e6a508 powerpc: Fail build if using recordmcount with binutils v2.37
    7eeed3ed1a6c mm/damon/ops-common: atomically test and clear young on ptes and pmds
    7efc5bee2473 net: bcmgenet: Ensure MDIO unregistration has clocks enabled
    626c1c291302 mtd: rawnand: meson: fix unaligned DMA buffers handling
    e08295290c53 tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation
    936adde9c338 pinctrl: amd: Only use special debounce behavior for GPIO 0
    0bcf6b12e699 pinctrl: amd: Detect and mask spurious interrupts
    dff67c64f67b pinctrl: amd: Detect internal GPIO0 debounce handling
    cc5050add034 pinctrl: amd: Fix mistake in handling clearing pins at startup
    982c29e0d27a f2fs: fix to avoid NULL pointer dereference f2fs_write_end_io()
    333feb7ba84f fs/ntfs3: Check fields while reading
    04d2c9a6cb5c nvme-pci: fix DMA direction of unmapping integrity data
    c58e45fbeaa8 nvme-pci: remove nvme_queue from nvme_iod
    91d3554ab1fc net/sched: sch_qfq: account for stab overhead in qfq_enqueue
    8e0326cbc4d5 net/sched: sch_qfq: refactor parsing of netlink parameters
    78a0900e8dbc net/sched: make psched_mtu() RTNL-less safe
    31976c68be26 netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write()
    8a128e601f36 riscv: mm: fix truncation warning on RV32
    3bd945532d0d net/sched: flower: Ensure both minimum and maximum ports are specified
    d26299f50f5e bpf: cpumap: Fix memory leak in cpu_map_update_elem
    099abb1cd229 wifi: airo: avoid uninitialized warning in airo_get_rate()
    0e9ebc17457a erofs: fix fsdax unavailability for chunk-based regular files
    41ccbc2ecb63 erofs: decouple basic mount options from fs_context
    ed84618f8da2 erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
    e649333bcfe1 octeontx2-pf: Add additional check for MCAM rules
    c62da24de388 drm/i915: Fix one wrong caching mode enum usage
    567397dd8e7b riscv, bpf: Fix inconsistent JIT image generation
    4e4e1f99bb47 bpf, riscv: Support riscv jit to provide bpf_line_info
    420d30d36725 igc: Fix inserting of empty frame for launchtime
    efc7f2593724 igc: Fix launchtime before start of cycle
    d29387922b85 kernel/trace: Fix cleanup logic of enable_trace_eprobe
    7aefc43277e5 platform/x86: wmi: Break possible infinite loop when parsing GUID
    02081e57188b platform/x86: wmi: move variables
    f3583db8980a platform/x86: wmi: use guid_t and guid_equal()
    3b6fef411030 platform/x86: wmi: remove unnecessary argument
    82abd1c37d3b ipv6/addrconf: fix a potential refcount underflow for idev
    1d63fdf6d3ed NTB: ntb_tool: Add check for devm_kcalloc
    0aa187a99935 NTB: ntb_transport: fix possible memory leak while device_register() fails
    7e475cf97c47 ntb: intel: Fix error handling in intel_ntb_pci_driver_init()
    3326ecef63ca NTB: amd: Fix error handling in amd_ntb_pci_driver_init()
    fe1a2ed41162 ntb: idt: Fix error handling in idt_pci_driver_init()
    7f2153c1ae89 udp6: fix udp6_ehashfn() typo
    3fabca5d9cae icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().
    ea438eed94ac net: prevent skb corruption on frag list segmentation
    02474292a442 net: bgmac: postpone turning IRQs off to avoid SoC hangs
    1417dd787a5e ionic: remove WARN_ON to prevent panic_on_warn
    aa915d12c1cc gve: Set default duplex configuration to full
    5b55f2d6ef40 net/sched: cls_fw: Fix improper refcount update leads to use-after-free
    1d263bbdc5c6 net: mvneta: fix txq_map in case of txq_number==1
    4a4804e6ae84 bpf: Fix max stack depth check for async callbacks
    1b555dff835c scsi: qla2xxx: Fix error code in qla2x00_start_sp()
    6e8af127ddbd igc: Handle PPS start time programming for past time values
    809ea3a3eb3e igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings
    82ac62d76a00 net/mlx5e: Check for NOT_READY flag state after locking
    4892e1e548b5 net/mlx5e: fix memory leak in mlx5e_ptp_open
    c61303ae2ce0 net/mlx5e: fix double free in mlx5e_destroy_flow_table
    f4b1f2625186 igc: Remove delay during TX ring configuration
    b3540c0de848 drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags
    9dbc0fa2e85a drm/bridge: ti-sn65dsi86: Fix auxiliary bus lifetime
    486b2551b068 drm/panel: simple: Add connector_type for innolux_at043tn24
    eb947403518e ksmbd: validate session id and tree id in the compound request
    3813eee5154d ksmbd: fix out-of-bound read in smb2_write
    35f450f54dca ksmbd: validate command payload size
    08871ede8318 ksmbd: use ksmbd_req_buf_next() in ksmbd_smb2_check_message()
    d528faa9e828 workqueue: clean up WORK_* constant types, clarify masking
    aed37b12a253 net: lan743x: Don't sleep in atomic context
    d9e1cfae8d8e io_uring: add reschedule point to handle_tw_list()
    f8307d862ca4 io_uring: Use io_schedule* in cqring wait
    ecb9443b203f block/partition: fix signedness issue for Amiga partitions
    478a7a30c33c tty: serial: fsl_lpuart: add earlycon for imx8ulp platform
    75308d64c050 wireguard: netlink: send staged packets when setting initial private key
    8c660cfd7230 wireguard: queueing: use saner cpu selection wrapping
    870dcc31c0cf netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
    041e2ac88cae netfilter: nf_tables: do not ignore genmask when looking up chain by id
    6f03ce2f1abc netfilter: conntrack: Avoid nf_ct_helper_hash uses after free
    2bd6f13734ce netfilter: nf_tables: unbind non-anonymous set if rule construction fails
    30235c245700 fanotify: disallow mount/sb marks on kernel internal pseudo fs
    d97481c7b273 ovl: fix null pointer dereference in ovl_get_acl_rcu()
    db42d2bf4f21 fs: no need to check source
    86b93cbfe104 leds: trigger: netdev: Recheck NETDEV_LED_MODE_LINKUP on dev rename
    ecc8d95067e4 ARM: orion5x: fix d2net gpio initialization
    1c401bb99394 ARM: dts: qcom: ipq4019: fix broken NAND controller properties override
    02b5d96f7dd0 ASoC: mediatek: mt8173: Fix snd_soc_component_initialize error path
    5f35f98e5609 ASoC: mediatek: mt8173: Fix irq error path
    6e7f6b4b5ca0 btrfs: do not BUG_ON() on tree mod log failure at __btrfs_cow_block()
    bdc8a582e1a4 btrfs: fix extent buffer leak after tree mod log failure at split_node()
    7ba0da31dd4a btrfs: fix race when deleting quota root from the dirty cow roots list
    bacd1c80e3b6 btrfs: reinsert BGs failed to reclaim
    d1ca553f9431 btrfs: bail out reclaim process if filesystem is read-only
    d8e172616fb7 btrfs: delete unused BGs while reclaiming BGs
    12b6d6849898 btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile
    dd15d1c5c22d fs: avoid empty option when generating legacy mount string
    79b9ab357b6f jffs2: reduce stack usage in jffs2_build_xattr_subsystem()
    5ca021be5211 ipvs: increase ip_vs_conn_tab_bits range for 64BIT
    6db001a7ed75 fs: Lock moved directories
    40f99ad8e2c2 fs: Establish locking order for unrelated directories
    8fdae421c26f Revert "f2fs: fix potential corruption when moving a directory"
    eca9c3d86dd0 ext4: Remove ext4 locking of moved directory
    487f229efea8 shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs
    17bdba70a802 autofs: use flexible array in ioctl structure
    e7acd18e5ec3 integrity: Fix possible multiple allocation in integrity_inode_get()
    f4e0809d3adc um: Use HOST_DIR for mrproper
    f67b0e3081f2 bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
    991e9c186a8a bcache: Remove unnecessary NULL point check in node allocations
    cbdd5b3322f7 bcache: fixup btree_cache_wait list damage
    99d0599742be mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used.
    c893918bf4d8 mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS
    4a489c8e9cc8 mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M
    5b555f250069 mmc: core: disable TRIM on Kingston EMMC04G-M627
    8e2983536613 io_uring: wait interruptibly for request completions on exit
    e5da56c682f1 NFSD: add encoding of op_recall flag for write delegation
    8a77b1d4663f i2c: qup: Add missing unwind goto in qup_i2c_probe()
    5bf90e5e793a btrfs: do not BUG_ON() on tree mod log failure at balance_level()
    e15eb4ec862c extcon: usbc-tusb320: Convert to i2c's .probe_new()
    112c15d0974f i2c: xiic: Don't try to handle more interrupt events after error
    9eaef43fef90 i2c: xiic: Defer xiic_wakeup() and __xiic_start_xfer() in xiic_process()
    0fa0cd1f98c1 apparmor: fix missing error check for rhashtable_insert_fast
    196f6c71905a sh: dma: Fix DMA channel offset calculation
    6342e46566f6 s390/qeth: Fix vipa deletion
    307623bae629 octeontx-af: fix hardware timestamp configuration
    deee40944a75 net: dsa: tag_sja1105: fix MAC DA patching from meta frames
    e4db7f4369eb pptp: Fix fib lookup calls.
    a4284246fca2 riscv: move memblock_allow_resize() after linear mapping is ready
    ae682149bc00 net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX
    edd944b70ad2 xsk: Honor SO_BINDTODEVICE on bind
    428ccde9242a tcp: annotate data races in __tcp_oow_rate_limited()
    0dad52a840d6 net: bridge: keep ports without IFF_UNICAST_FLT in BR_PROMISC mode
    ada440952d5e powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
    f3380d895e28 ntfs: Fix panic about slab-out-of-bounds caused by ntfs_listxattr()
    e425e2ba9336 octeontx2-af: Add validation before accessing cgx and lmac
    eeaf264cd43f octeontx2-af: Fix mapping for NIX block from CGX connection
    d58d718136f8 f2fs: fix error path handling in truncate_dnode()
    c0dd447558c6 mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0
    217b6ea8cf7b spi: bcm-qspi: return error if neither hif_mspi nor mspi is available
    2e2e5f9300a1 net: dsa: vsc73xx: fix MTU configuration
    b8aedf29db12 ibmvnic: Do not reset dql stats on NON_FATAL err
    6a5a705fa8ad Add MODULE_FIRMWARE() for FIRMWARE_TG357766.
    a6527128feeb net/sched: act_ipt: add sanity checks on table name and hook locations
    1fba2510b52f sctp: fix potential deadlock on &net->sctp.addr_wq_lock
    baa76d9b6163 media: cec: i2c: ch7322: also select REGMAP
    677c5707ec38 drm/i915/psr: Use hw.adjusted mode when calculating io/fast wake times
    2a0acbc6b7cd rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
    7834580ca104 md/raid10: fix the condition to call bio_end_io_acct()
    d623fd42a019 pwm: mtk_disp: Fix the disable flow of disp_pwm
    db3c7f3eb85f pwm: ab8500: Fix error code in probe()
    05b35ea06d26 pwm: sysfs: Do not apply state to already disabled PWMs
    aa12faec2314 pwm: imx-tpm: force 'real_period' to be zero in suspend
    07e229f06eba phy: tegra: xusb: check return value of devm_kzalloc()
    f7454b8fd21f mfd: stmpe: Only disable the regulators if they are enabled
    a9ccf140a2a0 KVM: s390/diag: fix racy access of physical cpu number in diag 9c handler
    2070f3e0bc76 KVM: s390: vsie: fix the length of APCB bitmap
    52f371952a71 mfd: stmfx: Nullify stmfx->vdd in case of error
    b1dbc919c166 mfd: stmfx: Fix error path in stmfx_chip_init
    9783c2ec8d04 nvmem: rmem: Use NVMEM_DEVID_AUTO
    e6bd54f4977b test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation
    22c7e378b06b serial: 8250_omap: Use force_suspend and resume for system suspend
    10f6656c9575 Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection"
    76ac2acb7554 mfd: intel-lpss: Add missing check for platform_get_resource
    0e8b1a28351b usb: dwc3-meson-g12a: Fix an error handling path in dwc3_meson_g12a_probe()
    f232c1caac3c usb: common: usb-conn-gpio: Set last role to unknown before initial detection
    dfda400a4d04 usb: dwc3: qcom: Fix an error handling path in dwc3_qcom_probe()
    81ecef54d8c6 usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove()
    f219ea71ee0f KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes
    de846dec7aee media: atomisp: gmin_platform: fix out_len in gmin_get_config_dsm_var()
    7ad558baf6d0 media: venus: helpers: Fix ALIGN() of non power of two
    3bedb7a27353 mfd: rt5033: Drop rt5033-battery sub-device
    a77616f5a3c3 coresight: Fix loss of connection info when a module is unloaded
    ca9e766c8a49 kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR
    e7ecade51b48 serial: 8250: lock port for UART_IER access in omap8250_irq()
    c1a4ad35c566 serial: 8250: lock port for stop_rx() in omap8250_irq()
    c2194a361087 usb: hide unused usbfs_notify_suspend/resume functions
    ecf26d6e1b54 usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe()
    b10200650e1e extcon: Fix kernel doc of property capability fields to avoid warnings
    44e383e22af0 extcon: Fix kernel doc of property fields to avoid warnings
    a8ea7ed644cb usb: gadget: u_serial: Add null pointer check in gserial_suspend
    b626cd5e4a87 usb: dwc3: qcom: Fix potential memory leak
    1cee6f04105f clk: qcom: ipq6018: fix networking resets
    6ad5ded420f5 clk: qcom: reset: support resetting multiple bits
    40844343a885 clk: qcom: reset: Allow specifying custom reset delay
    cab904bf50c4 media: i2c: Correct format propagation for st-mipid02
    784a8027b8ac media: usb: siano: Fix warning due to null work_func_t function pointer
    1e1af31c4c5d media: videodev2.h: Fix struct v4l2_input tuner index comment
    a3727915b350 media: usb: Check az6007_read() return value
    2a50c146cb3b clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
    8d762ad8006e clk: qcom: camcc-sc7180: Add parent dependency to all camera GDSCs
    10e2b1c5d819 serial: 8250: omap: Fix freeing of resources on failed register
    a1a5c5606048 usb: dwc2: Fix some error handling paths
    fa1547b47195 usb: dwc2: platform: Improve error reporting for problems during .remove()
    0a9c0fa3e91a sh: j2: Use ioremap() to translate device tree address into kernel memory
    629e97f0c862 w1: fix loop in w1_fini()
    cb263e9b6d76 w1: w1_therm: fix locking behavior in convert_t
    fbf4ace39b2e SUNRPC: Fix UAF in svc_tcp_listen_data_ready()
    92905470a125 block: increment diskseq on all media change events
    8744a9eda7c1 block: change all __u32 annotations to __be32 in affs_hardblocks.h
    de4d538380f6 block: add overflow checks for Amiga partition support
    bc0129a644f0 block: fix signed int overflow in Amiga partition support
    92a37fc52272 ALSA: jack: Fix mutex call in snd_jack_report()
    2f533bcb0717 ALSA: hda/realtek: Add quirk for Clevo NPx0SNx
    5bcdfe1544f2 iio: accel: fxls8962af: fixup buffer scan element type
    8cc75ce657a4 iio: accel: fxls8962af: errata bug only applicable for FXLS8962AF
    92cee2da5b45 iio: adc: ad7192: Fix internal/external clock selection
    f88a05ef447f iio: adc: ad7192: Fix null ad7192_state pointer access
    b84998a407a8 phy: tegra: xusb: Clear the driver reference in usb-phy dev
    8585c6cb0381 usb: dwc3: gadget: Propagate core init errors to UDC during pullup
    9cd1627ff0f1 USB: serial: option: add LARA-R6 01B PIDs
    fb348857e7b6 io_uring: ensure IOPOLL locks around deferred work
    4909d0ad1728 bootmem: remove the vmemmap pages from kmemleak in free_bootmem_page
    902256de2b95 ACPI: utils: Fix acpi_evaluate_dsm_typed() redefinition error
    b3889a5990b5 ksmbd: avoid field overflow warning
    ef26b05023e7 efi/libstub: Disable PCI DMA before grabbing the EFI memory map
    5c883c42bd78 kbuild: Disable GCOV for *.mod.o
    3d9f6fc71de5 hwrng: st - keep clock enabled while hwrng is registered
    cd5bd4b7130c dax/kmem: Pass valid argument to memory_group_register_static
    2a327c8c315a dax: Introduce alloc_dev_dax_id()
    9c2f993b6ca9 dax: Fix dax_mapping_release() use after free
    63fb45ddc491 SMB3: Do not send lease break acknowledgment if all file handles have been closed
    7f6023610b4e NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION
    6d9f814b265c crypto: qat - unmap buffers before free for RSA
    718f30e30b3e crypto: qat - unmap buffer before free for DH
    3894f5880f96 crypto: qat - Use helper to set reqsize
    30682e121475 crypto: kpp - Add helper to set reqsize
    41bd35a16196 crypto: qat - use reference to structure in dma_map_single()
    a3fcd2d23df9 crypto: qat - replace get_current_node() with numa_node_id()
    9560559cba40 crypto: qat - honor CRYPTO_TFM_REQ_MAY_SLEEP flag
    f6ee18555b40 ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard
    5e0424cd8a44 modpost: fix off by one in is_executable_section()
    7c0c62e5574f crypto: marvell/cesa - Fix type mismatch warning
    6bfdced5b6be modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24}
    cd7806eec34f modpost: fix section mismatch message for R_ARM_ABS32
    7543ffe03af6 crypto: nx - fix build warnings when DEBUG_FS is not enabled
    b030d239256c modpost: remove broken calculation of exception_table_entry size
    c76d991b6f01 hwrng: virtio - Fix race on data_avail and actual data
    64410e7b0306 hwrng: virtio - always add a pending request
    9a9ef9652941 hwrng: virtio - don't waste entropy
    f5634d21541e hwrng: virtio - don't wait on cleanup
    91806246e4e9 hwrng: virtio - add an internal buffer
    36874844f7b5 powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary
    271c25008a08 powerpc/book3s64/mm: Fix DirectMap stats in /proc/meminfo
    fafeeb398df1 riscv: uprobes: Restore thread.bad_cause
    3786416e1fa2 powerpc: update ppc_save_regs to save current r1 in pt_regs
    b08d9a11df37 powerpc: simplify ppc_save_regs
    d3a0d96c16e5 powerpc/powernv/sriov: perform null check on iov before dereferencing iov
    0a95dd17a73b pinctrl: at91-pio4: check return value of devm_kasprintf()
    50aa3e6abbb2 pinctrl: microchip-sgpio: check return value of devm_kasprintf()
    f7d92313002b powerpc/64s: Fix VAS mm use after free
    5e79521da11f perf dwarf-aux: Fix off-by-one in die_get_varname()
    ac6c849428fb perf script: Fix allocation of evsel->priv related to per-event dump files
    939bf462a125 powerpc/signal32: Force inlining of __unsafe_save_user_regs() and save_tm_user_regs_unsafe()
    7d25fc45c42c powerpc/interrupt: Don't read MSR from interrupt_exit_kernel_prepare()
    d4f3531cd2c3 kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures
    196f18dd7f0e pinctrl: cherryview: Return correct value if pin in push-pull mode
    c92365c3f390 perf bench: Add missing setlocale() call to allow usage of %'d style formatting
    e456d9b2dd23 perf bench: Use unbuffered output when pipe/tee'ing to a file
    c02b496d9294 PCI: Add pci_clear_master() stub for non-CONFIG_PCI
    d1bfe6ca7328 PCI: ftpci100: Release the clock resources
    7fe2876aac63 PCI: pciehp: Cancel bringup sequence if card is not present
    dfbf41e4fc16 scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe()
    9856c0de4905 PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free
    6053df4da4fc pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors
    b1de5105d29b scsi: qedf: Fix NULL dereference in error handling
    48e6b7602e9b PCI: vmd: Reset VMD config register between soft reboots
    34c701b52d04 PCI: cadence: Fix Gen2 Link Retraining process
    a326cf0107b1 clk: Fix memory leak in devm_clk_notifier_register()
    a0e7e33b8c2d ASoC: imx-audmix: check return value of devm_kasprintf()
    62f29ca45f83 ovl: update of dentry revalidate flags after copy up
    a089ec635ae9 drivers: meson: secure-pwrc: always enable DMA domain
    8ca6b2add2c0 clk: ti: clkctrl: check return value of kasprintf()
    b700e5d4feb0 clk: keystone: sci-clk: check return value of kasprintf()
    06759faca0ef clk: si5341: free unused memory on probe failure
    34b11a9a7d39 clk: si5341: check return value of {devm_}kasprintf()
    4ade98acef5a clk: si5341: return error if one synth clock registration fails
    9875046f147a clk: cdce925: check return value of kasprintf()
    d8832e85a1ae clk: vc5: check memory returned by kasprintf()
    f180408f164c drm/msm/dpu: correct MERGE_3D length
    e45377cfe1db arm64: dts: mediatek: mt8192: Fix CPUs capacity-dmips-mhz
    30111c478b97 arm64: dts: mediatek: Add cpufreq nodes for MT8192
    3c3f3d35f5e0 drm/msm/dp: Free resources after unregistering them
    ec3b55b2c91d drm/msm/dpu: do not enable color-management if DSPPs are not available
    300e26e3e648 ALSA: ac97: Fix possible NULL dereference in snd_ac97_mixer
    fd1c117bb5d7 clk: tegra: tegra124-emc: Fix potential memory leak
    2f276dd9c0f8 clk: clocking-wizard: Fix Oops in clk_wzrd_register_divider()
    141d87977b81 arm64: dts: qcom: sm8250-edo: Panel framebuffer is 2.5k instead of 4k
    bcea444ab4c0 clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
    50b5ddde8fad clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
    1fb12e7716e7 RDMA/bnxt_re: Avoid calling wake_up threads from spin_lock context
    79226176cdd1 RDMA/bnxt_re: wraparound mbox producer index
    bf35c202a3f0 drm/msm/a5xx: really check for A510 in a5xx_gpu_init
    4300a47e4017 amdgpu: validate offset_in_bo of drm_amdgpu_gem_va
    9b8087950b4c drm/radeon: fix possible division-by-zero errors
    b979dc54b6c7 drm/amd/display: Fix artifacting on eDP panels when engaging freesync video mode
    52c2b295e377 drm/amdkfd: Fix potential deallocation of previously deallocated memory.
    95afd2c7c7d2 ARM: dts: BCM5301X: fix duplex-full => full-duplex
    838534e86cbc hwmon: (pmbus/adm1275) Fix problems with temperature monitoring on ADM1272
    31c90fa8416f hwmon: (adm1275) Allow setting sample averaging
    3ff1062bd09b hwmon: (gsc-hwmon) fix fan pwm temperature scaling
    535eafe7158b ARM: dts: stm32: fix i2s endpoint format property for stm32mp15xx-dkx
    8909898d0b6c ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2
    555ddd671cf3 arm64: dts: ti: k3-j7200: Fix physical address of pin
    716efd08985e fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe()
    95cb88a85361 arm64: dts: renesas: ulcb-kf: Remove flow control for SCIF1
    06c6fdaa111a ARM: dts: iwg20d-q7-common: Fix backlight pwm specifier
    8ac3083a26d3 RDMA/hns: Fix hns_roce_table_get return value
    8d158b32cba6 IB/hfi1: Fix wrong mmu_node used for user SDMA packet after invalidate
    b2ffd8212ef4 IB/hfi1: Use bitmap_zalloc() when applicable
    192ab380657e RDMA/irdma: avoid fortify-string warning in irdma_clr_wqes
    f5ca4d358b9a soc/fsl/qe: fix usb.c build errors
    9dcc95e3fc51 ARM: dts: meson8: correct uart_B and uart_C clock references
    1b4d08bdc055 ASoC: es8316: Do not set rate constraints for unsupported MCLKs
    b324de100d3c ASoC: es8316: Increment max value for ALC Capture Target Volume control
    38d04765ad93 memory: brcmstb_dpfe: fix testing array offset after use
    17b723acee4e ARM: dts: stm32: Shorten the AV96 HDMI sound card name
    9c14802f14db arm64: dts: mediatek: mt8183: Add mediatek,broken-save-restore-fw to kukui
    8f08ff836c28 arm64: dts: qcom: apq8096: fix fixed regulator name property
    2e8c8fd792a0 ARM: omap2: fix missing tick_broadcast() prototype
    016aeb9a7604 ARM: ep93xx: fix missing-prototype warnings
    314850a4d0c6 drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H
    04f16697d351 arm64: dts: qcom: apq8016-sbc: Fix 1.8V power rail on LS expansion
    7ce11e909828 arm64: dts: qcom: apq8016-sbc: Fix regulator constraints
    8d139a395dbe arm64: dts: qcom: Drop unneeded extra device-specific includes
    078578f608ba arm64: dts: qcom: apq8016-sbc: fix mpps state names
    25d624af5a86 arm64: dts: qcom: apq8016-sbc: Clarify firmware-names
    d7d784424aa0 arm64: dts: qcom: apq8016-sbc: Update modem and WiFi firmware path
    6a843066e0ec arm64: dts: qcom: db820c: Move blsp1_uart2 pin states to msm8996.dtsi
    23f7e4bf8905 arm64: dts: qcom: sdm845: correct camss unit address
    dea5289b05f2 arm64: dts: qcom: sdm630: correct camss unit address
    b12e9fb2819a arm64: dts: qcom: msm8996: correct camss unit address
    5a8bbab2b14b arm64: dts: qcom: msm8994: correct SPMI unit address
    46474b10dcd7 arm64: dts: qcom: msm8916: correct camss unit address
    b4ed5be2ea31 ARM: dts: gta04: Move model property out of pinctrl node
    70b8eeb7c67e drm/msm/dpu: Set DPU_DATA_HCTL_EN for in INTF_SC7180_MASK
    2422edc2256c drm/msm/disp/dpu: get timing engine status from intf status register
    adac5cf6092e drm/msm/dsi: don't allow enabling 14nm VCO with unprogrammed rate
    6882389691e1 RDMA/bnxt_re: Fix to remove an unnecessary log
    b41dd1d896d1 RDMA/bnxt_re: Remove a redundant check inside bnxt_re_update_gid
    9ccca79eb353 RDMA/bnxt_re: Use unique names while registering interrupts
    ced019c1f9ea RDMA/bnxt_re: Fix to remove unnecessary return labels
    adc129e89497 RDMA/bnxt_re: Disable/kill tasklet only if it is enabled
    f95ff838ac39 clk: imx: scu: use _safe list iterator to avoid a use after free
    f564dd710971 arm64: dts: microchip: sparx5: do not use PSCI on reference boards
    3752e6a98e10 bus: ti-sysc: Fix dispc quirk masking bool variables
    6d07673027f4 ARM: dts: stm32: Move ethernet MAC EEPROM from SoM to carrier boards
    a14e6f9392dc drm/panel: sharp-ls043t1le01: adjust mode settings
    6b5a02a57265 drm: sun4i_tcon: use devm_clk_get_enabled in `sun4i_tcon_init_clocks`
    ec43cfdcbd36 Input: adxl34x - do not hardcode interrupt trigger type
    fd6cdc56ee28 ARM: dts: meson8b: correct uart_B and uart_C clock references
    5899bc4058e8 ARM: dts: BCM5301X: Drop "clock-names" from the SPI node
    ba51c4072f9a drm/vram-helper: fix function names in vram helper doc
    019f013e8b92 drm/bridge: tc358768: fix THS_TRAILCNT computation
    ed8bfa046153 drm/bridge: tc358768: fix TXTAGOCNT computation
    cec2271095d2 drm/bridge: tc358768: fix THS_ZEROCNT computation
    47b8546301a9 drm/bridge: tc358768: fix TCLK_TRAILCNT computation
    a07e6484f915 drm/bridge: tc358768: Add atomic_get_input_bus_fmts() implementation
    34b805ab386c drm/bridge: tc358768: fix TCLK_ZEROCNT computation
    9e0668ecef6e drm/bridge: tc358768: fix PLL target frequency
    81bb5e859f2e drm/bridge: tc358768: fix PLL parameters computation
    6451b3274fb3 drm/bridge: tc358768: always enable HS video mode
    26a0ba5d1654 Input: drv260x - sleep between polling GO bit
    efb61a718540 drm/amd/display: Explicitly specify update type per plane info change
    53e0a5ba9deb radeon: avoid double free in ci_dpm_init()
    6173df9026d0 drm/amd/display: Add logging for display MALL refresh setting
    a4b0164fc18b netlink: Add __sock_i_ino() for __netlink_diag_dump().
    04daf3f67497 ipvlan: Fix return value of ipvlan_queue_xmit()
    eb720f669b6d netfilter: nf_conntrack_sip: fix the ct_sip_parse_numerical_param() return value.
    c052797ac368 netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one
    5848ad42507d lib/ts_bm: reset initial match offset for every block of text
    fc8429f8d868 net: nfc: Fix use-after-free caused by nfc_llcp_find_local
    60ec0058c72f nfc: llcp: simplify llcp_sock_connect() error paths
    91f4ef204e73 sfc: fix crash when reading stats while NIC is resetting
    9ced40bf849e net: axienet: Move reset before 64-bit DMA detection
    ebd6d2077a08 gtp: Fix use-after-free in __gtp_encap_destroy().
    4f22f55dc80d selftests: rtnetlink: remove netdevsim device after ipsec offload test
    029d892b05fc bonding: do not assume skb mac_header is set
    619384319b13 netlink: do not hard code device address lenth in fdb dumps
    a641240b7e07 netlink: fix potential deadlock in netlink_set_err()
    d4aee9512ae0 net: stmmac: fix double serdes powerdown
    cfe147bdd094 igc: Fix race condition in PTP tx code
    c729f590fe41 can: length: fix bitstuffing count
    4bc47970179a bpf: Fix bpf socket lookup from tc/xdp to respect socket VRF bindings
    a254e029b742 bpf: Call __bpf_sk_lookup()/__bpf_skc_lookup() directly via TC hookpoint
    9eb2651c67b5 bpf: Factor out socket lookup functions for the TC hookpoint.
    a66cce0339a6 bpf: Omit superfluous address family check in __bpf_skc_lookup
    7e3d771f85c3 wifi: ath9k: convert msecs to jiffies where needed
    248fc11128f9 wifi: iwlwifi: mvm: indicate HW decrypt for beacon protection
    365cd15e8fcb wifi: cfg80211: rewrite merging of inherited elements
    3b9de981fe7f wifi: iwlwifi: pcie: fix NULL pointer dereference in iwl_pcie_irq_rx_msix_handler()
    d0f665eee9c3 iwlwifi: don't dump_stack() when we get an unexpected interrupt
    a6db476ff38c wifi: iwlwifi: pull from TXQs with softirqs disabled
    a572c6852b51 rtnetlink: extend RTEXT_FILTER_SKIP_STATS to IFLA_VF_INFO
    48c2d1455a6a wifi: ath9k: Fix possible stall on ath9k_txq_list_has_key()
    8c561a59c6cd memstick r592: make memstick_debug_get_tpc_name() static
    79c0fbf8f359 kexec: fix a memory leak in crash_shrink_memory()
    ed8d827f4313 watchdog/perf: more properly prevent false positives with turbo modes
    c29d8d1f56c3 watchdog/perf: define dummy watchdog_update_hrtimer_threshold() on correct config
    15b37d2b4a02 wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown
    4391fa180856 wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled
    ac4bf9426af9 selftests/bpf: Fix check_mtu using wrong variable type
    95b4b940f0fb wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes
    ef24fe436bab wifi: ray_cs: Fix an error handling path in ray_probe()
    0700d878b0d2 wifi: ray_cs: Drop useless status variable in parse_addr()
    d696cbbe43db wifi: ray_cs: Utilize strnlen() in parse_addr()
    93890d057317 wifi: wl3501_cs: Fix an error handling path in wl3501_probe()
    eaffd568a248 wl3501_cs: use eth_hw_addr_set()
    c6143548e634 wifi: atmel: Fix an error handling path in atmel_probe()
    5a0a312d3490 wifi: orinoco: Fix an error handling path in orinoco_cs_probe()
    f5bb5474f40d wifi: orinoco: Fix an error handling path in spectrum_cs_probe()
    ec856ca3b0ac regulator: core: Streamline debugfs operations
    fc2f8b9054eb regulator: core: Fix more error checking for debugfs_create_dir()
    534508689e89 bpftool: JIT limited misreported as negative value on aarch64
    e7e0b6e066f0 nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()
    edeb029dd9ad spi: dw: Round of n_bytes to power of 2
    ac6158b5c4db bpf: Don't EFAULT for {g,s}setsockopt with wrong optlen
    71754ee427d7 libbpf: fix offsetof() and container_of() to work with CO-RE
    3e7ee33b95e0 sctp: add bpf_bypass_getsockopt proto callback
    a32a89bb0459 wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan()
    a55f88dd156f wifi: wilc1000: fix for absent RSN capabilities WFA testcase
    e215a8a4283a spi: spi-geni-qcom: Correct CS_TOGGLE bit in SPI_TRANS_CFG
    e92f61e0701e samples/bpf: Fix buffer overflow in tcp_basertt
    c77eb01a6e41 libbpf: btf_dump_type_data_check_overflow needs to consider BTF_MEMBER_BITFIELD_SIZE
    ad5425e70789 wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx
    06da826e3b7d wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation
    79305655961d igc: Enable and fix RX hash usage by netstack
    38a9d7dac3ad pstore/ram: Add check for kstrdup
    745cec2bd3b3 ima: Fix build warnings
    41da2c318cf1 evm: Fix build warnings
    757b06fb026c evm: Complete description of evm_inode_setattr()
    85872ffac4d8 locking/atomic: arm: fix sync ops
    cf78062aa988 x86/mm: Fix __swp_entry_to_pte() for Xen PV guests
    bd4c759d31ca perf/ibs: Fix interface via core pmu events
    87666a7d3e40 kselftest: vDSO: Fix accumulation of uninitialized ret when CLOCK_REALTIME is undefined
    f766d45ab294 rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale
    bfe210f62518 rcu/rcuscale: Move rcu_scale_*() after kfree_scale_cleanup()
    751cb9511764 rcuscale: Move shutdown from wait_event() to wait_event_idle()
    a6d33ea30575 rcuscale: Always log error message
    e610497ba1ce rcutorture: Correct name of use_softirq module parameter
    c756e8a227c4 thermal/drivers/sun8i: Fix some error handling paths in sun8i_ths_probe()
    e2b32b0c5f0a cpufreq: intel_pstate: Fix energy_performance_preference for passive
    b51194170f9a ARM: 9303/1: kprobes: avoid missing-declaration warnings
    4864c82cb8b5 powercap: RAPL: Fix CONFIG_IOSF_MBI dependency
    2c06e0e0102f perf/arm-cmn: Fix DTC reset
    3c4f5aee3795 PM: domains: fix integer overflow issues in genpd_parse_state()
    289e2054eeb6 clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
    5017132f2f92 tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
    0670c4c567b2 posix-timers: Prevent RT livelock in itimer_delete()
    f222873711a5 svcrdma: Prevent page release when nothing was received
    6689782746a3 irqchip/jcore-aic: Fix missing allocation of IRQ descriptors
    e6b7362290ba md/raid10: fix io loss while replacement replace rdev
    f4368a462b1f md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
    3c76920e547d md/raid10: fix wrong setting of max_corr_read_errors
    d3bf54a69bce md/raid10: fix overflow of md/safe_mode_delay
    a134dd582c0d md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
    eb120c0aff5c blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_cost
    1bc29ba9598c x86/resctrl: Only show tasks' pid in current pid namespace
    d9c194281bc8 fs: pipe: reveal missing function protoypes
    25aa2ad37c21 netfilter: nf_tables: drop map element references from preparation phase

(From OE-Core rev: 25bd49d03af0e20808c26744e35fe7f416981017)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Wang Mingyu
a8455f68dc opkg-utils: upgrade 0.5.0 -> 0.6.2
(From OE-Core rev: 525459d2f387ec82fabccdae19aa8b977f534929)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b0fe9b3dfbe78716c96b70ef098d9cfbf430d5b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Wang Mingyu
abbd466097 opkg: upgrade 0.6.1 -> 0.6.2
0001-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch
0002-opkg-key-remove-no-options-flag-from-gpg-calls.patch
removed since they're included in 0.6.2.

Changelog:
===========
### Changed
- the project's developer documentation to be more correct and current.

### Fixed
- a bug in the 'opkg-keys' utility script which caused the script to ignore settings in the '/etc/opkg/gpg/gpg.conf' file.
- a compilation error in 'md5.c' when using clang16+ and '-std >= gnu11'.

(From OE-Core rev: 5bdfde3fd4266d637019b59d55a33438cb36903f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d7c8a58297e38f6222035aa9135fedf2ca387742)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Dmitry Baryshkov
078269eedf linux-firmware: package firmare for Dragonboard 410c
Latest linux-firmware archive inclues firmware for the Dragonboard 410c
device (Qualcomm apq8016 SBC). Follow the rest of linux-firmware-qcom-*
packages as a template and create packages for the new firmware files.

(From OE-Core rev: ffd5eeb866254a958846c7099d1d46e553beed56)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 380216e8d3b63d563ebfb10445fc6eb5e77eb9f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Trevor Gamblin
cc2e2bdee3 linux-firmware: upgrade 20230515 -> 20230625
WHENCE checksum changed because of updated version lists and removal of
information for the RTL8188EU driver.

(From OE-Core rev: 8c94b91216b343dfae290c6fe977bacacb78eeae)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 986f8ca9d4c2c22d368f69e65b2ab76d661edca0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:49 -10:00
Wang Mingyu
0ddb966354 libnss-nis: upgrade 3.1 -> 3.2
Changelog:
* Do not call malloc_usable_size

This is a namespace violation, and interposed malloc implementations
are not required to interpose malloc_usable_size [bsc#1207551].

(From OE-Core rev: cabadc004bd6ee6501166aac086ea8faa85da502)

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 5cd967503c0574f45b814572da9503182556b431)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:48 -10:00
Narpat Mali
c36a0bd406 python3-certifi: upgrade 2022.12.7 -> 2023.7.22
python3-certifi 2023.7.22 contains the CVE-2023-37920 fix.

No changelog provided. Commits:

8fb96ed (tag: 2023.07.22) 2023.07.22
afe7722 Bump actions/setup-python from 4.6.1 to 4.7.0 (#230)
2038739 Bump dessant/lock-threads from 3.0.0 to 4.0.1 (#229)
44df761 Hash pin Actions and enable dependabot (#228)
8b3d7ba (tag: 2023.05.07) 2023.05.07
53da240 ci: Add Python 3.12-dev to the testing (#224)
c2fc3b1 Create a Security Policy (#222)
c211ef4 Set up permissions to github workflows (#218)
2087de5 Don't let deprecation warning fail CI (#219)
e0b9fc5 remove paragraphs about 1024-bit roots from README
9427a5a fix CI
fed4048 get CI passing again
9e9e840 (tag: 2022.12.07) 2022.12.07

(From OE-Core rev: ec5e5ae6b304dee9b323bd20f3db25152a083398)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:48 -10:00
Jose Quaresma
9128886912 go: update 1.20.5 -> 1.20.6
Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.5..go1.20.6 origin/release-branch.go1.20
2c358ffe97 (tag: go1.20.6, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.6
312920c00a [release-branch.go1.20] net/http: validate Host header before sending
4db13d762b [release-branch.go1.20] runtime: set raceignore to zero when starting a new goroutine
08a58dd8b6 [release-branch.go1.20] runtime: allow for 5 more threads in TestWindowsStackMemory*
65092835c5 [release-branch.go1.20] cmd/go: skip TestScript/gccgo_link_ldflags on aix/ppc64
bca817594c [release-branch.go1.20] crypto/x509: tolerate multiple matching chains in testVerify
b8e67d1ddd [release-branch.go1.20] cmd/go/internal/test: don't wait for previous test actions when interrupted
3db4f8146c [release-branch.go1.20] runtime: resolve checkdead panic by refining `startm` lock handling in caller context
6b45fb7b73 [release-branch.go1.20] runtime: fallback to TEB arbitrary pointer when TLS slots are full
be30960e58 [release-branch.go1.20] runtime: use 1-byte load for address checking in racecallatomic
b59efe6c34 [release-branch.go1.20] net/mail: permit more characters in mail headers
c32f1afb41 [release-branch.go1.20] all: make safe for new vet analyzer
c7b145655b [release-branch.go1.20] cmd/go: fix tests for new builder environment
03063101a2 [release-branch.go1.20] text/template: set variables correctly in range assignment
d51e322a3f [release-branch.go1.20] go/printer: error out of Fprint when it would write a '//line' directive with a multiline file path
49594244d3 [release-branch.go1.20] cmd/cover: error out if a requested source file contains a newline
4719048211 [release-branch.go1.20] cmd/cgo: error out if the source path used in line directives would contain a newline
6c606fc191 [release-branch.go1.20] cmd/go: fix TestScript/build_cwd_newline with CGO_ENABLED=0
63ad2b5811 [release-branch.go1.20] cmd/compile: do not report division by error during typecheck
95f377daad [release-branch.go1.20] cmd/go: retain extra roots to disambiguate imports in 'go mod tidy'
a7a48fad7e [release-branch.go1.20] crypto/ecdsa: properly truncate P-521 hashes
f5172dcd38 [release-branch.go1.20] go/build: check for invalid import paths again
8b3acefcbe [release-branch.go1.20] cmd/go: omit checksums for go.mod files needed for go version lines more often in pre-1.21 modules
1008486a9f [release-branch.go1.20] cmd/cgo: correct _cgo_flags output

[1] https://github.com/golang/go/compare/go1.20.5...go1.20.6

(From OE-Core rev: 944b186eeb6821654ce6ef56df7ac0f2829696f5)

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 8d8216d8c4d37cc0d9508eb644653f94fff8989c)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:48 -10:00
Chen Qi
7acfa33e77 ncurses: fix CVE-2023-29491
Backport patch to fix CVE-2023-29491.

(From OE-Core rev: f1c95ae70f7aac574daf5b935a02bbba0d6f8a16)

(From OE-Core rev: cdb5d9d498d3c1917b286fba03ce7527f23f9953)

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: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:48 -10:00
Peter Marko
ba4885546e libarchive: ignore CVE-2023-30571
This issue was reported and discusses under [1] which is linked in NVD CVE report.
It was already documented that some parts or libarchive are thread safe and some not.
[2] was now merged to document that also reported function is not thread safe.
So this CVE *now* reports thread race condition for non-thread-safe function.
And as such the CVE report is now invalid.

The issue is still not closed for 2 reasons:
* better document what is and what is not thread safe
* request to public if someone could make these functions thread safe
This should however not invalidate above statment about ignoring this CVE.

[1] https://github.com/libarchive/libarchive/issues/1876
[2] https://github.com/libarchive/libarchive/pull/1875

(From OE-Core rev: ffa8f92aa6f8405d8fea117af2f212ba190de393)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-15 06:18:48 -10:00
Benjamin Bouvier
0a98281d37 util-linux: add alternative links for ipcs,ipcrm
When enabling ipcs and ipcrm configuration into busybox, both tools are
built and then deployed during do_rootfs. These operation lead to below
issue (similar behavior happens for ipcs):

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

update-alternatives: Error: not linking .../build/tmp/work/board-poky-linux/board-image/1.0-r0/rootfs/usr/bin/ipcrm
to /bin/busybox since .../build/tmp/work/board-poky-linux/board-image/1.0-r0/rootfs/usr/bin/ipcrm exists and is not a link

Binaries enter in conflict with same named util-linux utilities during
do_rootfs step.
Adding ALTERNATIVE_LINK_NAME for both tools fix the issue.

(From OE-Core rev: dc4099307100de817110958c9426ced4189fd0ac)

Signed-off-by: Benjamin Bouvier <benjamin.bouvier@ekinops.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e4d60408b869c9cc2ccff794d4e271d993ec8a97)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Jose Quaresma
6135c1ad77 openssl: use a glob on the PERLEXTERNAL to track updates on the path
The Text-Template was updated from 1.46 to 1.56

| ERROR: openssl-native-3.1.1-r0 do_configure: PERLEXTERNAL '/build/tmp/work/x86_64-linux/openssl-native/3.1.1-r0/openssl-3.1.1/external/perl/Text-Template-1.46/lib' not found!

(From OE-Core rev: e50a2298b10107b8ee66b2efd52c9d51d7a99fa5)

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 b9a7739b01e31d0cc8358d99255e3e1b02a0a1a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Jose Quaresma
8d0c51d630 openssl: add PERLEXTERNAL path to test its existence
When upstream change is better to fail or removing the PERL5LIB
if they are not need anymore.

(From OE-Core rev: 2dda294698ea6bb797531cb4796af263fbf2f6be)

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 337ac1159644678508990927923ef8af30f34cd7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Yoann Congal
29ef950125 oeqa/selftest/devtool: add unit test for "devtool add -b"
Fix [Yocto #15085]

Co-authored-by: Fawzi KHABER <fawzi.khaber@smile.fr>
(From OE-Core rev: 2dca7cba28a08d63e0ca88bb9897e01661e177ef)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d5eedf8ca689ccb433c2f5d0b324378f966dd627)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Ross Burton
17926c24f2 rootfs_rpm: don't depend on opkg-native for update-alternatives
opkg-native hasn't provided update-alternatives since 2014[1] so this is
the wrong dependency, and image.bbclass depends on the virtual provider
virtual/update-alternatives-native already.

[1] oe-core 1e2c38ce13f8e4b25d8656d237343380cbc970aa

(From OE-Core rev: 49be8045a6595cb98413519d2e65e94345f026c1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 51004376be9a6b9a4c38585d14d2516d90138319)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Ross Burton
1b61d1fedb oeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure case
str.format() doesn't use % notation, update the formatting to work.

assertTrue() is a member of self not a global, and assertTrue(True) will
always pass. Change this to just self.fail() as this is the failure case.

(From OE-Core rev: c88b9eedc81529c67f2e628ae5e7325daff2535e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 017f3a0b1265c1a3b69c20bdb56bbf446111977e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Yuta Hayama
db2effd46d systemd-systemctl: fix errors in instance name expansion
If the instance name indicated by %i begins with a number, the meaning of the
replacement string "\\1{}".format(instance) is ambiguous.

To indicate group number 1 regardless of the instance name, use "\g<1>".

(From OE-Core rev: 70107f1bc33b45da794b7a24b7325eb476516fdf)

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d18b939fb08b37380ce95934da38e6522392621c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Khem Raj
e8eb6d3237 meson.bbclass: Point to llvm-config from native sysroot
Default search in meson would grok /usr/bin for llvm-config and if found
will use it, which might add wrong paths into cflags/ldflags, since we
depend on llvm-native when building gallium support ( thats when
llvm-config is effective), its better to point llvm-config into native
sysroot so it can add correct paths into compiler/linker cmdline

(From OE-Core rev: aa91fb2f0af1a32809ab1755598da5986b2dd06d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc73360b9728812ed6123e30559b77d8e89cc21c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Ross Burton
1dccb216a0 python3: fix missing comma in get_module_deps3.py
Wes Tarro <wes.tarro@azuresummit.com> noticed a missing comma in a
preplace() call, add it.

That said, calling replace() with one argument results in a TypeError,
so this is obviously dead code.

(From OE-Core rev: f24236b7b52dd753d7170bac9c38dff1133db76e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9b2e2c8d809e7ca34451ec9702b029a00dfb410b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Ovidiu Panait
83df23574b mdadm: re-add mdadm-ptest to PTESTS_SLOW
The ptest problems reported in e21021dc00ec ("mdadm: drop from PTESTS_SLOW")
should now be fixed, so mdadm can be added back to PTESTS_SLOW (a qemux86-64
test run takes about ~12 minutes to execute with kvm).

root@qemux86-64:~# ptest-runner mdadm
START: ptest-runner
2023-06-30T08:25
BEGIN: /usr/lib/mdadm/ptest
PASS: /usr/lib/mdadm/ptest/tests/00linear
PASS: /usr/lib/mdadm/ptest/tests/00multipath
...
PASS: /usr/lib/mdadm/ptest/tests/19repair-does-not-destroy
PASS: /usr/lib/mdadm/ptest/tests/20raid5journal
PASS: /usr/lib/mdadm/ptest/tests/21raid5cache
DURATION: 723
END: /usr/lib/mdadm/ptest
2023-06-30T09:16
STOP: ptest-runner
TOTAL: 1 FAIL: 0

For the testcases to run correctly, there must be enough rootfs space to create
13 loop devices. Similar to strace and lttng-tools, add a new
IMAGE_ROOTFS_EXTRA_SPACE entry for mdadm-ptest.

(From OE-Core rev: 174ef92965acd605e5aa5ed26afb3f8d556e98b2)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfefff63c547adb1add0c8e3a308b2d0bd6cfc8c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Ovidiu Panait
74d65cb990 mdadm: skip running known broken ptests
Upstream marked some testcases as "KNOWN BROKEN" and introduced the
"--skip-broken" flag to ignore them when running the testsuite (commits [1]
and [2]). Backport these two commits to get rid of the last remaining ptest
failures.

Also, add the "--skip-broken" option to the run-ptest script.

[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=28520bf114b3
[2] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=daa86d663476

(From OE-Core rev: 153357be5c74393febaccbe37b0ff514401a52cd)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 62148b978b26b5fcd1a2fa3a0ff82ef814f4e7ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Ovidiu Panait
b7ab079b1a mdadm: fix segfaults when running ptests
Currently, some segfaults are reported when running ptest:
mdadm[12333]: segfault at 0 ip 00007fe855924060 sp 00007ffc4d6caf88 error 4 in libc.so.6[7f)
Code: d2 0f 84 b7 0f 00 00 48 83 fa 01 0f 84 b9 0f 00 00 49 89 d3 89 f1 89 f8 48 83 e1 3f 4f

Backport the following upstream commits to fix them:
679bd9508a30 ("DDF: Cleanup validate_geometry_ddf_container()")
2b93288a5650 ("DDF: Fix NULL pointer dereference in validate_geometry_ddf()")
548e9b916f86 ("mdadm/Grow: Fix use after close bug by closing after fork")
9ae62977b51d ("monitor: Avoid segfault when calling NULL get_bad_blocks")

The fixes are part of the "Bug fixes and testing improvments" patchset [1].

[1] https://www.spinics.net/lists/raid/msg70621.html

(From OE-Core rev: eca27903d0217d9e8b1ddc0c9db9857831a915f3)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9585009e3e505b361cd32b14e0e85e77e7822878)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Ovidiu Panait
eb3cc5031f mdadm: fix 07revert-inplace ptest
Testcase 07revert-inplace fails if strace is not installed:
...
strace -o /tmp/str ./mdadm -A /dev/md0 --update=revert-reshape /dev/<...>
tests/07revert-inplace: line 40: strace: command not found

Add strace to mdadm-ptest RDEPENDS to make sure the testcase passes even with
a core-image-minimal build.

(From OE-Core rev: 56485bbb1ccb9042a914f1ed477fc96323d39fdf)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7d9386663ac52ab69812867a0823c6055aedbc18)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Ovidiu Panait
320e61a45a mdadm: fix util-linux ptest dependency
Trying to run mdadm-ptest in a core-image-minimal build will result in:
root@qemux86-64:~# ptest-runner mdadm
START: ptest-runner
BEGIN: /usr/lib/mdadm/ptest
which: no lsblk in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin)
lsblk command not found!
DURATION: 0
END: /usr/lib/mdadm/ptest
2023-06-28T10:14
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Remove util-linux from RRECOMMENDS and only add util-linux-lsblk and
util-linux-losetup to RDEPENDS.

(From OE-Core rev: 45bf9f5c18a1dec0d3c1a134285e71660dd9d890)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3004f7589974c135cc82630d980ea281b97ecd83)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Quentin Schulz
b4a595d32c uboot-extlinux-config.bbclass: fix old override syntax in comment
The comment specifies how to use the variables but uses the older and
now unsupported override syntax. Let's update to match the newer syntax.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: 0a381eea4d50ff1c6e7c7d0d4df62eb581454b48)

(From OE-Core rev: 0bbafc8b4d0c401a2af7c4b80e86d3e3fe01bed5)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb64f3fed29b9532e6ddc9a2ba0283d373622d87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Jose Quaresma
204d908861 kernel-module-split add systemd modulesloaddir and modprobedir config
Because busybox doesn't support other path than /etc [1] we can't
change the default path unconditionally so change it only for systemd.

The modules-load.d [2] - Configure kernel modules to load at boot
should install their configuration files in /usr/lib/modules-load.d.

The modprobe.d [3] - Configuration directory for modprobe
should install their configuration files in /lib/modprobe.d

[1] https://git.busybox.net/busybox/tree/modutils/modprobe.c?id=669c40ed8ebf480c95ce36135104e474e361a7e6#n658
[2] https://man7.org/linux/man-pages/man5/modules-load.d.5.html
[3] https://man7.org/linux/man-pages/man5/modprobe.d.5.html

[YOCTO #12212] https://bugzilla.yoctoproject.org/show_bug.cgi?id=12212

(From OE-Core rev: 174b446b7c8167934b13ec679407093924d324e3)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 075c309bd28bc8e19a82569a2e75da14fa5795dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Ross Burton
9b6c564afc pkgconf: update SRC_URI
dereferenced.org is now longer controlled by the pkgconf maintainers[1],
so use the the new hosting location.

[1] 437c2a3218

(From OE-Core rev: 7b50737b787311216670aa4b83b0a363d9a12aa3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c3df4594513410c7a6352e62aa928c42982eac13)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Stéphane Veyret
ee15b31290 scripts/oe-setup-builddir: copy conf-notes.txt to build dir
Since commit 569d4cd325, if one is using a custom template directory
containing a conf-notes.txt, this file is only displayed when creating
a new environment. When entering an already existing environment, only
the default poky conf-notes.txt is displayed.

This patch copies the conf-notes.txt to display to the build directory,
so that the good file is shown, even when templateconf.cfg is not used.

(From OE-Core rev: 99e814215d164274cb29ba34ab06c11172dbe9f0)

Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 845e8292f218d740ee653fa68bc3110aec1af3c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Wang Mingyu
f1f41ec4ea libwebp: upgrade 1.3.0 -> 1.3.1
CVE-2023-1999.patch
removed since it's included in 1.3.1

Changelog:
==========
  This is a binary compatible release.
  * security fixes for lossless encoder (#603, chromium: #1420107, #1455619,
    CVE-2023-1999)
  * improve error reporting through WebPPicture error codes
  * fix upsampling for RGB565 and RGBA4444 in NEON builds
  * img2webp: add -sharp_yuv & -near_lossless
  * Windows builds:
    - fix compatibility with clang-cl (#607)
    - improve Arm64 performance with cl.exe
    - add Arm64EC support
  * fix webp_js with emcc >= 3.1.27 (stack size change, #614)
  * CMake fixes (#592, #610, #612)
  * further updates to the container and lossless bitstream docs (#581, #611)

(From OE-Core rev: 6d6d103cfba013f54d567f96095a64034e568890)

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 15411fb32b5a3c0ac9c06ff89db5664799f55d77)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Wang Mingyu
cc1e110d97 taglib: upgrade 1.13 -> 1.13.1
Changelog:
===========
 * Fixed parsing of TXXX frames without description.
 * Detect MP4 atoms with invalid length or type.
 * Do not miss ID3v2 frames when an extended header is present.
 * Use property "DISCSUBTITLE" for ID3v2 "TSST" frame.
 * Build system improvements: Use absolute path for macOS dylib install name,
   support --define-prefix when using pkg-config, fixed minimum required
   CppUnit version.
 * Code clean up using clang-tidy.

(From OE-Core rev: 5eb1b017cfc136d23631b2008b417b82993ce4d8)

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 69477347a21cc810851fd231659f73c6b4661d03)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Bruce Ashfield
f94c9289f9 linux-yocto/6.1: update to v6.1.38
Updating  to the latest korg -stable release that comprises
the following commits:

    61fd484b2cf6 Linux 6.1.38
    c50065a39279 drm/amd/display: Ensure vmin and vmax adjust for DCE
    9d0b2afadfd7 drm/amdgpu: Validate VM ioctl flags.
    fe56f507a11a docs: Set minimal gtags / GNU GLOBAL version to 6.6.5
    c437b26bc3ae scripts/tags.sh: Resolve gtags empty index generation
    50e36c2897ba perf symbols: Symbol lookup with kcore can fail if multiple segments match stext
    67e3b5230cef nubus: Partially revert proc_create_single_data() conversion
    296927dbae7d execve: always mark stack as growing down during early stack setup
    d856e6f8a0b4 PCI/ACPI: Call _REG when transitioning D-states
    788c76c33df9 PCI/ACPI: Validate acpi_pci_set_power_state() parameter
    a905b0b318ad drm/amd/display: Do not update DRR while BW optimizations pending
    dd6d6f9d47ae drm/amd/display: Remove optimization for VRR updates
    6b2849b3e05d xtensa: fix lock_mm_and_find_vma in case VMA not found

(From OE-Core rev: eb74b5cc85c7c9172b7b944af160ac7e3701e858)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4a4354fff41ffe61a1638b216e3a17e50b5c0e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:28 -10:00
Bruce Ashfield
e6e7f232f9 linux-yocto/6.1: update to v6.1.37
Updating  to the latest korg -stable release that comprises
the following commits:

    0f4ac6b4c5f0 Linux 6.1.37
    323846590c55 xtensa: fix NOMMU build with lock_mm_and_find_vma() conversion
    c2d89256de75 csky: fix up lock_mm_and_find_vma() conversion
    4a1db15878aa parisc: fix expand_stack() conversion
    0a1da2dde461 sparc32: fix lock_mm_and_find_vma() conversion
    00f04a3385f7 Revert "thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe"
    a536383ef030 HID: logitech-hidpp: add HIDPP_QUIRK_DELAYED_INIT for the T651.
    d89750b19681 HID: wacom: Use ktime_t rather than int when dealing with timestamps
    879e79c3aead HID: hidraw: fix data race on device refcount
    cae854249578 fbdev: fix potential OOB read in fast_imageblit()
    e6bbad75712a mm: always expand the stack with the mmap write lock held
    c4b31d1b694e execve: expand new process stack manually ahead of time
    6a6b5616c3d0 mm: make find_extend_vma() fail if write lock not held
    48c232819e77 powerpc/mm: convert coprocessor fault to lock_mm_and_find_vma()
    21ee33d51bf9 mm/fault: convert remaining simple cases to lock_mm_and_find_vma()
    1f4197f050de arm/mm: Convert to using lock_mm_and_find_vma()
    ac764deea709 riscv/mm: Convert to using lock_mm_and_find_vma()
    7227d70acc78 mips/mm: Convert to using lock_mm_and_find_vma()
    82972ea17b47 powerpc/mm: Convert to using lock_mm_and_find_vma()
    b92cd80e5f0b arm64/mm: Convert to using lock_mm_and_find_vma()
    755aa1bc6aaf mm: make the page fault mmap locking killable
    d6a5c7a1a6e5 mm: introduce new 'lock_mm_and_find_vma()' page fault helper
    4e2ad53ababe maple_tree: fix potential out-of-bounds access in mas_wr_end_piv()
    31cde3bdadca can: isotp: isotp_sendmsg(): fix return error fix on TX path
    0af4750eaaed x86/smp: Cure kexec() vs. mwait_play_dead() breakage
    6d3b2e0aef6c x86/smp: Use dedicated cache-line for mwait_play_dead()
    50a1abc67702 x86/smp: Remove pointless wmb()s from native_stop_other_cpus()
    e47037d28b73 x86/smp: Dont access non-existing CPUID leaf
    edadebb349e8 x86/smp: Make stop_other_cpus() more robust
    94a69d699941 x86/microcode/AMD: Load late on both threads too
    84f077802e56 mm, hwpoison: when copy-on-write hits poison, take page offline
    4af5960d7cd4 mm, hwpoison: try to recover from copy-on write faults
    69925a346acb mptcp: ensure listener is unhashed before updating the sk status
    42a018a796d1 mm/mmap: Fix error return in do_vmi_align_munmap()
    a149174ff8bb mm/mmap: Fix error path in do_vmi_align_munmap()

(From OE-Core rev: 4abc100a81401373edaa3c5859e4bf94e8dc3d0d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d43c9ebcb0308d9178f6f44c02cac13de126c92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:27 -10:00
Bruce Ashfield
f8d46c04af linux-yocto/6.1: update to v6.1.36
Updating  to the latest korg -stable release that comprises
the following commits:

    a1c449d00ff8 Linux 6.1.36
    29429a1f5871 smb: move client and server files to common directory fs/smb
    9d3e4bca4b92 i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle
    81d4078f7a42 x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys
    679354bea008 KVM: arm64: Restore GICv2-on-GICv3 functionality
    6ab9468d3eea vhost_net: revert upend_idx only on retriable error
    454e4f391a14 vhost_vdpa: tell vqs about the negotiated
    1af1cd7be370 drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl
    022f2306d94f drm/exynos: fix race condition UAF in exynos_g2d_exec_ioctl
    aa88042218aa drm/exynos: vidi: fix a wrong error return
    711f727f7bab null_blk: Fix: memory release when memory_backed=1
    f6076a1386c9 ARM: dts: Fix erroneous ADS touchscreen polarities
    1d1baefacdb4 i2c: mchp-pci1xxxx: Avoid cast to incompatible function type
    8e3257599409 ALSA: hda/realtek: Add "Intel Reference board" and "NUC 13" SSID in the ALC256
    cfa01235b5ed ASoC: fsl_sai: Enable BCI bit if SAI works on synchronous mode with BYP asserted
    570583c6251a s390/purgatory: disable branch profiling
    c2888c460db2 gfs2: Don't get stuck writing page onto itself under direct I/O
    878dad66b9b5 ASoC: amd: yc: Add Thinkpad Neo14 to quirks list for acp6x
    1c97025d441f ASoC: nau8824: Add quirk to active-high jack-detect
    5cc506e9b3e5 soundwire: qcom: add proper error paths in qcom_swrm_startup()
    2839e0b64e65 soundwire: dmi-quirks: add new mapping for HP Spectre x360
    ee4d36a14d3f ASoC: simple-card: Add missing of_node_put() in case of error
    e701fb0a5d5b ASoC: codecs: wcd938x-sdw: do not set can_multi_write flag
    06b9522ca831 spi: lpspi: disable lpspi module irq in DMA mode
    39a77f005f8a s390/cio: unregister device when the only path is gone
    552a24eb7168 arm64: dts: qcom: sc7280-qcard: drop incorrect dai-cells from WCD938x SDW
    4de58b7c14c0 arm64: dts: qcom: sc7280-idp: drop incorrect dai-cells from WCD938x SDW
    2e8ebf1a44cb Input: soc_button_array - add invalid acpi_index DMI quirk handling
    ba0cc7a2e508 nvme: improve handling of long keep alives
    06d9ec407f76 nvme: check IO start time when deciding to defer KA
    8a72260619ca nvme: double KA polling frequency to avoid KATO with TBKAS on
    c8f988c37a6b usb: gadget: udc: fix NULL dereference in remove()
    3f6391062d0b btrfs: fix an uninitialized variable warning in btrfs_log_inode
    a2c3e9bfc02c nfcsim.c: Fix error checking for debugfs_create_dir
    a05df0643120 media: cec: core: don't set last_initiator if tx in progress
    f37956a140d1 media: cec: core: disable adapter in cec_devnode_unregister
    9d8ac2726cff smb3: missing null check in SMB2_change_notify
    3e8458c5b205 arm64: Add missing Set/Way CMO encodings
    8428f4c00d8c HID: wacom: Add error check to wacom_parse_and_register()
    aaa50510adb7 scsi: target: iscsi: Prevent login threads from racing between each other
    0357259cb103 gpiolib: Fix irq_domain resource tracking for gpiochip_irqchip_add_domain()
    8592ada80ea5 gpio: sifive: add missing check for platform_get_irq
    cb1108e17493 gpiolib: Fix GPIO chip IRQ initialization restriction
    90714f7ed760 arm64: dts: rockchip: fix nEXTRST on SOQuartz
    e51abd4808f9 arm64: dts: rockchip: Enable GPU on SOQuartz CM4
    ec3d0f12e728 revert "net: align SO_RCVMARK required privileges with SO_MARK"
    b2e2f9c0939f sch_netem: acquire qdisc lock in netem_change()
    0434277b72a4 platform/x86/amd/pmf: Register notify handler only if SPS is enabled
    2d580c73afdc selftests: forwarding: Fix race condition in mirror installation
    eff07bf11841 io_uring/net: use the correct msghdr union member in io_sendmsg_copy_hdr
    1b7b048c228e bpf: Force kprobe multi expected_attach_type for kprobe_multi link
    fc3afb337814 bpf/btf: Accept function names that contain dots
    22cc989f2b10 Revert "net: phy: dp83867: perform soft reset and retain established link"
    3e04743dbacf netfilter: nfnetlink_osf: fix module autoload
    abd3afddbf9e netfilter: nf_tables: disallow updates of anonymous sets
    c34b22038543 netfilter: nf_tables: reject unbound chain set before commit phase
    46f801ab5fb9 netfilter: nf_tables: reject unbound anonymous set before commit phase
    b60c0ce0ff31 netfilter: nf_tables: disallow element updates of bound anonymous sets
    0d836f917520 netfilter: nft_set_pipapo: .walk does not deal with generations
    d60be2da67d1 netfilter: nf_tables: drop map element references from preparation phase
    df27be7c1530 netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain
    891cd2edddc7 netfilter: nf_tables: fix chain binding transaction logic
    f5b6dbec26f1 be2net: Extend xmit workaround to BE3 chip
    50f689918db4 net: dsa: mt7530: fix handling of LLDP frames
    a50f84af215e net: dsa: mt7530: fix handling of BPDUs on MT7530 switch
    a4e4c7190126 net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switch
    7fd2e9a69e83 ipvs: align inner_mac_header for encapsulation
    6d1eec1f2dd7 mmc: usdhi60rol0: fix deferred probing
    7e10fff13353 mmc: sh_mmcif: fix deferred probing
    565b8bd2905d mmc: sdhci-acpi: fix deferred probing
    645f89ee3e3e mmc: owl: fix deferred probing
    251101c32a01 mmc: omap_hsmmc: fix deferred probing
    0057a905de5c mmc: omap: fix deferred probing
    f73b380518b2 mmc: mvsdio: fix deferred probing
    4806f6b6b7a3 mmc: mtk-sd: fix deferred probing
    d28b7a87332f net: qca_spi: Avoid high load if QCA7000 is not available
    1d4dd09f13a9 sfc: use budget for TX completions
    0bbb8164ed07 net/mlx5: DR, Fix wrong action data allocation in decap action
    b062caf4f73b xfrm: Linearize the skb after offloading if needed.
    fff9a18e0128 selftests: net: fcnal-test: check if FIPS mode is enabled
    0793ead2ff2c selftests: net: vrf-xfrm-tests: change authentication and encryption algos
    6919634176cd selftests: net: tls: check if FIPS mode is enabled
    ac5671d10060 bpf: Fix a bpf_jit_dump issue for x86_64 with sysctl bpf_jit_enable.
    8bb51cdc4fc2 xfrm: fix inbound ipv4/udp/esp packets to UDPv6 dualstack sockets
    d9a0b1a53c79 bpf: Fix verifier id tracking of scalars on spill
    461fc3391c52 bpf: track immediate values written to stack by BPF_ST instruction
    b36ba84f09a1 KVM: arm64: PMU: Restore the host's PMUSERENR_EL0
    c803e91600be xfrm: Ensure policies always checked on XFRM-I input path
    94e81817f080 xfrm: interface: rename xfrm_interface.c to xfrm_interface_core.c
    8ea03341f78a xfrm: Treat already-verified secpath entries as optional
    43489b2cba5a ieee802154: hwsim: Fix possible memory leaks
    caddcdf2a999 mmc: meson-gx: fix deferred probing
    1a2793a25a60 memfd: check for non-NULL file_seals in memfd_create() syscall
    364fdcbb035b x86/mm: Avoid using set_pgd() outside of real PGD pages
    cbfee3d9d5c0 nilfs2: prevent general protection fault in nilfs_clear_dirty_page()
    24f473769e7e io_uring/poll: serialize poll linked timer start with poll removal
    2d80c85fa404 arm64: dts: rockchip: Fix rk356x PCIe register and range mappings
    277a7c23b590 regmap: spi-avmm: Fix regmap_bus max_raw_write
    b385b1d28e4e regulator: pca9450: Fix LDO3OUT and LDO4OUT MASK
    ad5daeaa3d57 spi: spi-geni-qcom: correctly handle -EPROBE_DEFER from dma_request_chan()
    21945b7a868f wifi: iwlwifi: pcie: Handle SO-F device for PCI id 0x7AF0
    1dfca388fc7c bpf: ensure main program has an extable
    03b2149d5aca mmc: sunxi: fix deferred probing
    8b8756324c5b mmc: bcm2835: fix deferred probing
    1db5a39a904e mmc: sdhci-spear: fix deferred probing
    f1b17198e45b mmc: mmci: stm32: fix max busy timeout calculation
    6c2af0fd8301 mmc: meson-gx: remove redundant mmc_request_done() call from irq context
    687d34c57807 mmc: sdhci-msm: Disable broken 64-bit DMA on MSM8916
    3dd0041c41da mmc: litex_mmc: set PROBE_PREFER_ASYNCHRONOUS
    0d7a4e6589a0 cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex in freezer_css_{online,offline}()
    7b162a18d332 cgroup: Do not corrupt task iteration when rebinding subsystem
    c2c46a70282f mptcp: consolidate fallback and non fallback state machine
    1d3127542665 mptcp: fix possible list corruption on passive MPJ
    b747e755986a mptcp: fix possible divide by zero in recvmsg()
    b7bb71dfb541 mptcp: handle correctly disconnect() failures
    1d9dc9bed999 io_uring/net: disable partial retries for recvmsg with cmsg
    4d729cc67b05 io_uring/net: clear msg_controllen on partial sendmsg retry
    4db49d59a89c PCI: hv: Add a per-bus mutex state_lock
    091d03d19859 PCI: hv: Fix a race condition in hv_irq_unmask() that can cause panic
    5c09925b1879 PCI: hv: Remove the useless hv_pcichild_state from struct hv_pci_dev
    da2fff20d92d Revert "PCI: hv: Fix a timing issue which causes kdump to fail occasionally"
    a74a9d9b756a PCI: hv: Fix a race condition bug in hv_pci_query_relations()
    ba803d7ac18a Drivers: hv: vmbus: Fix vmbus_wait_for_unload() to scan present CPUs
    191cb913293a Drivers: hv: vmbus: Call hv_synic_free() if hv_synic_alloc() fails
    4f7e702b74f7 KVM: Avoid illegal stage2 mapping on invalid memory slot
    390aeb5ae7c0 ACPI: sleep: Avoid breaking S3 wakeup due to might_sleep()
    8e63b1fd24a8 nilfs2: fix buffer corruption due to concurrent device reads
    d5d7cde2ad19 scripts: fix the gfp flags header path in gfp-translate
    4a89bfb1a142 writeback: fix dereferencing NULL mapping->host on writeback_page_template
    1fed1f851346 selftests: mptcp: join: fix "userspace pm add & remove address"
    53e096bcaeac selftests: mptcp: join: skip fail tests if not supported
    f17459121c37 selftests: mptcp: join: skip userspace PM tests if not supported
    f40a7ded34c9 selftests: mptcp: join: skip test if iptables/tc cmds fail
    bce23d125434 selftests: mptcp: sockopt: skip TCP_INQ checks if not supported
    157dcb20000b selftests: mptcp: diag: skip listen tests if not supported
    755c8857abde selftests/mount_setattr: fix redefine struct mount_attr build error
    94851666aff4 selftests: mptcp: join: skip MPC backups tests if not supported
    fe1f28db73f7 selftests: mptcp: join: skip fullmesh flag tests if not supported
    6313c493e3c9 selftests: mptcp: join: skip backup if set flag on ID not supported
    efb4f6c2dd4c selftests: mptcp: join: skip implicit tests if not supported
    dd6c284a3430 selftests: mptcp: join: support RM_ADDR for used endpoints or not
    695cce2f2cf5 selftests: mptcp: join: skip Fastclose tests if not supported
    0381f30735e2 selftests: mptcp: join: support local endpoint being tracked or not
    1c0d9b4b4745 selftests: mptcp: join: skip check if MIB counter not supported
    e35edb09e53e selftests: mptcp: join: helpers to skip tests
    4d65ec947d24 selftests: mptcp: join: use 'iptables-legacy' if available
    44d3366bf4b9 selftests: mptcp: lib: skip if not below kernel version
    c5bdd8eb8e7d selftests: mptcp: userspace pm: skip if not supported
    733bf9d80d95 selftests: mptcp: userspace pm: skip if 'ip' tool is unavailable
    bfe225dec643 selftests: mptcp: sockopt: skip getsockopt checks if not supported
    103b4e62de32 selftests: mptcp: sockopt: relax expected returned size
    61c1bf0666a9 selftests: mptcp: pm nl: skip fullmesh flag checks if not supported
    41f7f7f6e43e selftests: mptcp: pm nl: remove hardcoded default limits
    e79e5e7642ad selftests: mptcp: connect: skip disconnect tests if not supported
    cba0db9c1586 selftests: mptcp: connect: skip transp tests if not supported
    9ead68270b29 selftests: mptcp: lib: skip if missing symbol
    4bed22c6876b selftests: mptcp: join: fix ShellCheck warnings
    a032ccca15e1 selftests: mptcp: remove duplicated entries in usage
    0c6552f83725 tick/common: Align tick period during sched_timer setup
    854156d12caa ksmbd: validate session id and tree id in the compound request
    c86211159bc3 ksmbd: fix out-of-bound read in smb2_write
    9650cf70ec9d ksmbd: validate command payload size
    0fd4ac3773c3 tpm_crb: Add support for CRB devices based on Pluton
    a46fa5696613 tpm, tpm_tis: Claim locality in interrupt handler
    2e7ad879e1b0 mm: Fix copy_from_user_nofault().
    4ed740c6482f ata: libata-scsi: Avoid deadlock on rescan after device resume
    c4465bff4d2f tty: serial: fsl_lpuart: reduce RX watermark to 0 on LS1028A
    17732fed852a tty: serial: fsl_lpuart: make rx_watermark configurable for different platforms
    9bcac453890b drm/amd/display: fix the system hang while disable PSR
    e538342002cb drm/amd/display: Add wrapper to call planes and stream update
    8d855bc67630 drm/amd/display: Use dc_update_planes_and_stream

(From OE-Core rev: a15a00443a7a7d78586a5b4e18d03ef0bdef6b7e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 326b34c6cef90a88cf5bb9538a0d93595e7c4c9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:27 -10:00
Mingli Yu
452cc7b484 ruby: Fix CVE-2023-36617
Backport two patches [1] [2] to fix CVE-2023-36617 [3].

[1] 9010ee2536
[2] 9d7bcef1e6
[3] https://www.ruby-lang.org/en/news/2023/06/29/redos-in-uri-CVE-2023-36617/

(From OE-Core rev: 403a24f02600e2462e8ccfbb42651e15e002bd2e)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:27 -10:00
Mingli Yu
d89de300d0 cups: Fix CVE-2023-34241
Backport patch [1] to fix CVE-2023-34241.

[1] 9809947a95

(From OE-Core rev: 0048a87ec9442f1f9480d57ccfeeaa79ec171f04)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:27 -10:00
Peter Marko
38c70c430f python3: ignore CVE-2023-36632
This CVE shouldn't have been filed as the "exploit" is described in the
documentation as how the library behaves.

(From OE-Core rev: 3e7f736fa07a132d4fe42a59baaabe565238da21)

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 c652f094d86c4efb7ff99accba63b8169493ab18)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:27 -10:00
Peter Marko
53929c40c5 libjpeg-turbo: patch CVE-2023-2804
Relevant links:
* linked fronm NVD:
  * https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1492586118
* follow-up analysis:
  * https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1496473989
  * picked commits fix all issues mentioned in this analysis

(From OE-Core rev: 473058bf65ac98f644b1ffd4d5190ee782b824a5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-01 06:17:27 -10:00
Michael Opdenacker
c4c2de9a57 ref-manual: LTS releases now supported for 4 years
(From yocto-docs rev: 60bcf303631054a1caa7ed1e22516a261b884fde)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Lee Chee Yang
80320195c3 migration-guides: add release notes for 4.0.11
(From yocto-docs rev: 2487fb9065f497a3cd7f5077665a6f4815a7faef)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Lee Chee Yang
07a485973d migration-guides: add release notes for 4.0.10
(From yocto-docs rev: c8c20ff5267669b712628408967c087dac179563)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Michael Opdenacker
366a7ebc22 conf.py: add macro for Mitre CVE links
Useful for CVEs that are not found (yet) on https://nvd.nist.gov/

(From yocto-docs rev: 4b8f2dddf85ca4be6bacad65f3893c9f593f7e18)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Mingli Yu
9cfa17a577 acpica: Update SRC_URI
Update the SRC_URI to fix the do_fetch warning.
 $ wget https://acpica.org/sites/acpica/files/acpica-unix-20220331.tar.gz
--2023-07-19 02:45:33--  https://acpica.org/sites/acpica/files/acpica-unix-20220331.tar.gz
Resolving acpica.org... 20.29.206.128
Connecting to acpica.org|20.29.206.128|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.intel.com/content/www/us/en/developer/topic-technology/open/acpica/overview.html [following]
--2023-07-19 02:45:33--  https://www.intel.com/content/www/us/en/developer/topic-technology/open/acpica/overview.html
Resolving www.intel.com... 23.72.14.54
Connecting to www.intel.com|23.72.14.54|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-07-19 02:45:34 ERROR 403: Forbidden.

 $ wget https://downloadmirror.intel.com/774879/acpica-unix-20220331.tar.gz
--2023-07-19 02:46:04--  https://downloadmirror.intel.com/774879/acpica-unix-20220331.tar.gz
Resolving downloadmirror.intel.com... 18.164.154.85, 18.164.154.5, 18.164.154.74, ...
Connecting to downloadmirror.intel.com|18.164.154.85|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1911044 (1.8M) [application/gzip]
Saving to: ‘acpica-unix-20220331.tar.gz’

acpica-unix-20220331.tar.gz           100%[=========================================================================>]   1.82M  1.61MB/s    in 1.1s

2023-07-19 02:46:06 (1.61 MB/s) - ‘acpica-unix-20220331.tar.gz’ saved [1911044/1911044]

(From OE-Core rev: 4724b382d183a2b3b8426c77c23b368f509411e7)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Richard Purdie
7995f780f9 gcc-testsuite: Fix ppc cpu specification
After this change in qemu:

c7e89de132

there is no 'max' cpu model on ppc. Drop it to clean up ppc gcc testsuite failures.

In order for this to work we do need to pull in the alternative cpu option from
QEMU_EXTRAOPTIONS on powerpc.

(From OE-Core rev: ea3143b243bb979f9b89f01fc2e7826cac0a7d75)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c447f2b21b20fb2b1829d540af2cc0bf8242700c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Ross Burton
9d9f199ad8 machine/arch-arm64: add -mbranch-protection=standard
Enable branch protection (PAC/BTI) for all aarch64 builds.  This was
previously enabled at a global level in the GCC build, but that breaks
the gcc test suite.

(From OE-Core rev: 63ce207e15bdee7708754a178a19fca64c4c0ee9)

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 8905639d1cdc5ce809cc5ecd9672f5e86bf8a579)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Ross Burton
151fd33bbe gcc: don't pass --enable-standard-branch-protection
By changing the default code generation of GCC we're inadvertently
breaking the GCC test suite, which has ~120K+ more failures when run for
aarch64 compared to x86-64.

This was because the generated code fragments included the BTI
instructions, which the test case wasn't expecting.  We can't tell the
tests globally to run without branch protection, as that will break the
tests which also turn it on.

Remove the enabling of branch protection by standard in GCC, we'll
enable it in the tune files instead.

(From OE-Core rev: 81351d984bc6238e9b901ae83c0de6e3d3463c77)

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 bb4b9017db6a893ed054a2d2ad4cc671dec09c42)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Ross Burton
a809b0d5dc tiff: upgrade to 4.5.1
Also remove old CVE_CHECK_IGNOREs which are no longer needed due to CPE
updates.

This is a backport from master. Mickledore had one extra CVE patch that
was not on master at the time of upgrade, so it had to be manually
removed here.

(From OE-Core rev: 309b58071d14406ccdf90342f0a33285dc83c87c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Natasha Bailey <nat.bailey@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Trevor Gamblin
b3d4ea6522 vim: upgrade 9.0.1527 -> 9.0.1592
Fixes:

https://nvd.nist.gov/vuln/detail/CVE-2023-2609
d1ae836 patch 9.0.1531: crash when register contents ends up being invalid
https://nvd.nist.gov/vuln/detail/CVE-2023-2610
ab9a2d8 patch 9.0.1532: crash when expanding "~" in substitute causes very long text

(From OE-Core rev: 5893c605060983db08a4b2d19b1dbfef23f9910d)

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>
Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Bruce Ashfield
62b021012a linux-yocto/5.15: update to v5.15.120
Updating  to the latest korg -stable release that comprises
the following commits:

    d54cfc420586 Linux 5.15.120
    c06edf13f4cf nubus: Partially revert proc_create_single_data() conversion
    6e65fa33edf5 parisc: Delete redundant register definitions in <asm/assembly.h>
    b4d8f8900021 drm/amdgpu: Validate VM ioctl flags.
    26eb191bf5a0 scripts/tags.sh: Resolve gtags empty index generation
    989b4a753c7e perf symbols: Symbol lookup with kcore can fail if multiple segments match stext
    87f51cf60e3e Revert "thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe"
    6a28f3490d3d HID: logitech-hidpp: add HIDPP_QUIRK_DELAYED_INIT for the T651.
    67ce7724637c HID: wacom: Use ktime_t rather than int when dealing with timestamps
    347732317749 bpf: ensure main program has an extable
    d874cf9799a9 can: isotp: isotp_sendmsg(): fix return error fix on TX path
    27d03d15bb8b x86/smp: Use dedicated cache-line for mwait_play_dead()
    d6c745ca4fc5 x86/microcode/AMD: Load late on both threads too
    9052349685e9 drm/amdgpu: Set vmbo destroy after pt bo is created
    796481bedc3e mm, hwpoison: when copy-on-write hits poison, take page offline
    6713b8f11aa0 mm, hwpoison: try to recover from copy-on write faults
    b46021ab8304 mptcp: consolidate fallback and non fallback state machine
    42ff95b4bd11 mptcp: fix possible divide by zero in recvmsg()

(From OE-Core rev: 5209c9db1a918aa06c5d37163742efc59bb4503b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Bruce Ashfield
50644d5458 linux-yocto/5.15: update to v5.15.119
Updating  to the latest korg -stable release that comprises
the following commits:

    4af60700a60c Linux 5.15.119
    10fbd2e04e40 act_mirred: remove unneded merge conflict markers
    2230b3f874d9 i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle
    907a069ec38f x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys
    7949f83f7ecc vhost_net: revert upend_idx only on retriable error
    fdac0aa4a175 drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl
    f012d3037c15 drm/exynos: fix race condition UAF in exynos_g2d_exec_ioctl
    a44b4230d2ba drm/exynos: vidi: fix a wrong error return
    79b4125bce96 ARM: dts: Fix erroneous ADS touchscreen polarities
    9684c4fdeeca s390/purgatory: disable branch profiling
    3c4d87e9fa8a ASoC: nau8824: Add quirk to active-high jack-detect
    d77eac1b14e0 soundwire: dmi-quirks: add new mapping for HP Spectre x360
    53ad4af4ec90 ASoC: simple-card: Add missing of_node_put() in case of error
    bb45dc7b67c5 spi: lpspi: disable lpspi module irq in DMA mode
    f8d9d8f1727d s390/cio: unregister device when the only path is gone
    e10d15fdfced Input: soc_button_array - add invalid acpi_index DMI quirk handling
    26bde09a1512 nvme: double KA polling frequency to avoid KATO with TBKAS on
    e3bbc148377d usb: gadget: udc: fix NULL dereference in remove()
    cce681383d34 nfcsim.c: Fix error checking for debugfs_create_dir
    8a5ddd1430d4 media: cec: core: don't set last_initiator if tx in progress
    01cf989090da arm64: Add missing Set/Way CMO encodings
    f97b16c0a538 HID: wacom: Add error check to wacom_parse_and_register()
    e8bdb1f88699 scsi: target: iscsi: Prevent login threads from racing between each other
    1cc379d53b66 gpio: sifive: add missing check for platform_get_irq
    497d40140865 gpiolib: Fix GPIO chip IRQ initialization restriction
    7973c4b3b97d gpio: Allow per-parent interrupt data
    c1a2b52d999e sch_netem: acquire qdisc lock in netem_change()
    3138c85031e8 selftests: forwarding: Fix race condition in mirror installation
    b7db41a86541 bpf/btf: Accept function names that contain dots
    0f8d81254fd6 Revert "net: phy: dp83867: perform soft reset and retain established link"
    57130334da4e netfilter: nfnetlink_osf: fix module autoload
    53defc6ecff4 netfilter: nf_tables: disallow updates of anonymous sets
    2f2f9eaa6da1 netfilter: nf_tables: reject unbound chain set before commit phase
    2938e7d582d7 netfilter: nf_tables: reject unbound anonymous set before commit phase
    baa3ec1b31f5 netfilter: nf_tables: disallow element updates of bound anonymous sets
    45eb6944d0f5 netfilter: nft_set_pipapo: .walk does not deal with generations
    4004f12aaca8 netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain
    314a8697d080 netfilter: nf_tables: fix chain binding transaction logic
    1328e8d4c3ee be2net: Extend xmit workaround to BE3 chip
    768f94c5f639 net: dsa: mt7530: fix handling of BPDUs on MT7530 switch
    aa528e7d379f net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switch
    efea112a87b6 ipvs: align inner_mac_header for encapsulation
    24d7d9aee03d mmc: usdhi60rol0: fix deferred probing
    d1e08bed0307 mmc: sh_mmcif: fix deferred probing
    34c4906b9a06 mmc: sdhci-acpi: fix deferred probing
    41f1e8dab08d mmc: owl: fix deferred probing
    b86ca9e08ca9 mmc: omap_hsmmc: fix deferred probing
    445a9568dec1 mmc: omap: fix deferred probing
    840deb8d1418 mmc: mvsdio: fix deferred probing
    92f73c4f927c mmc: mtk-sd: fix deferred probing
    aedecd013d2c net: qca_spi: Avoid high load if QCA7000 is not available
    156dd06fb337 xfrm: Linearize the skb after offloading if needed.
    d967bd7ea6cc selftests: net: fcnal-test: check if FIPS mode is enabled
    964cfdfd4b4f xfrm: fix inbound ipv4/udp/esp packets to UDPv6 dualstack sockets
    25e89fa7b5a8 bpf: Fix verifier id tracking of scalars on spill
    0b180495f6b0 bpf: track immediate values written to stack by BPF_ST instruction
    3229a29e95f5 xfrm: Ensure policies always checked on XFRM-I input path
    d055ee18cab8 xfrm: interface: rename xfrm_interface.c to xfrm_interface_core.c
    491ce3c1d98a xfrm: Treat already-verified secpath entries as optional
    0ce3d0c068d9 ieee802154: hwsim: Fix possible memory leaks
    29672dc47d99 mmc: meson-gx: fix deferred probing
    9bac4a2b7326 memfd: check for non-NULL file_seals in memfd_create() syscall
    103734b429b9 x86/mm: Avoid using set_pgd() outside of real PGD pages
    793d0224bb60 nilfs2: prevent general protection fault in nilfs_clear_dirty_page()
    96987c383c2b io_uring/net: disable partial retries for recvmsg with cmsg
    25a543ca3005 io_uring/net: clear msg_controllen on partial sendmsg retry
    34a7e5021a43 io_uring/net: save msghdr->msg_control for retries
    b07bb2914ada writeback: fix dereferencing NULL mapping->host on writeback_page_template
    3c46a240ddba regmap: spi-avmm: Fix regmap_bus max_raw_write
    4796d9b06917 regulator: pca9450: Fix LDO3OUT and LDO4OUT MASK
    ba9952e2f50b ip_tunnels: allow VXLAN/GENEVE to inherit TOS/TTL from VLAN
    acee272283f4 mmc: mmci: stm32: fix max busy timeout calculation
    999173f295cc mmc: meson-gx: remove redundant mmc_request_done() call from irq context
    00010b52c705 mmc: sdhci-msm: Disable broken 64-bit DMA on MSM8916
    4a557910bbed cgroup: Do not corrupt task iteration when rebinding subsystem
    815b24401165 PCI: hv: Add a per-bus mutex state_lock
    34e21b8ff3e6 PCI: hv: Fix a race condition in hv_irq_unmask() that can cause panic
    7d852ca7af37 PCI: hv: Remove the useless hv_pcichild_state from struct hv_pci_dev
    5e0d33cc7813 Revert "PCI: hv: Fix a timing issue which causes kdump to fail occasionally"
    ac0df91c7d98 PCI: hv: Fix a race condition bug in hv_pci_query_relations()
    80c5d97b4aa1 Drivers: hv: vmbus: Fix vmbus_wait_for_unload() to scan present CPUs
    4d31eb2e266c Drivers: hv: vmbus: Call hv_synic_free() if hv_synic_alloc() fails
    953dd7e2df81 KVM: Avoid illegal stage2 mapping on invalid memory slot
    1d6c93206839 ACPI: sleep: Avoid breaking S3 wakeup due to might_sleep()
    b12011cea56b nilfs2: fix buffer corruption due to concurrent device reads
    485f6be2549c selftests: mptcp: join: skip check if MIB counter not supported
    64cb73ea77ab selftests: mptcp: join: use 'iptables-legacy' if available
    979a941d7ed3 selftests: mptcp: pm nl: remove hardcoded default limits
    ac65930751c4 selftests/mount_setattr: fix redefine struct mount_attr build error
    726d033133e7 selftests: mptcp: lib: skip if not below kernel version
    b28fc26683b4 selftests: mptcp: lib: skip if missing symbol
    024a24e5d4dd tick/common: Align tick period during sched_timer setup
    3c1aa91b37f9 drm/amd/display: Add wrapper to call planes and stream update
    eea850c025b5 drm/amd/display: Use dc_update_planes_and_stream
    fb7c68bbccad drm/amd/display: Add minimal pipe split transition state
    b5f0e898f674 tpm, tpm_tis: Claim locality in interrupt handler
    39e787253720 tracing: Add tracing_reset_all_online_cpus_unlocked() function
    5a24be76af79 drm/amd/display: fix the system hang while disable PSR

(From OE-Core rev: 35f0fb05f8be017e906626aa1060a81d4ca8e1c1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Kai Kang
52d27f0f91 webkitgtk: 2.38.5 -> 2.38.6
Update webkitgtk from 2.38.5 to 2.38.6. It fixes CVE-2023-27932 and
CVE-2023-27954.

What’s new in the WebKitGTK 2.38.6 release?

* Enable the Asynchronous Clipboard API to make certain pages work (e.g.
  GithHub started recently requiring it).
* Support :has() CSS selectors in content filters.
* Apply basic font properties as font variation settings.
* The Bubblewrap sandbox no longer requires setting an application
  identifier via GApplication to operate correctly. Using GApplication
  is still recommended, but optional.
* Improvements to the GStreamer multimedia playback, in particular
  around MSE, WebRTC, and seeking.
* Fix the build with journald support enabled when using elogind instead
  of the systemd libraries.
* Fix the build with Link-Time Optimization enabled (-flto=auto).
* Fix context menus not working in the remote Web Inspector.
* Fix usage of the remote Web Inspector over HTTP.
* Fix debug logs not being emitted in release builds.
* Fix several crashes and rendering issues.

(From OE-Core rev: 34bd08b121f1653907b45eb8d6192a77ef638005)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Sakib Sajal
3bd29f3620 go: fix CVE-2023-24531
Backport required commits to fix CVE-2023-24531.

(From OE-Core rev: 5d80e920c7ceaf091ccace8a3b6781b720abafbf)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Archana Polampalli
2e660a5be9 qemu: fix CVE-2023-0330
A vulnerability in the lsi53c895a device affects the latest version
of qemu. A DMA-MMIO reentrancy problem may lead to memory corruption
bugs like stack overflow or use-after-free.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-0330

Upstream patches:
b987718bbb

(From OE-Core rev: 3be283237a9e473112430bcb614b25b7ff7e64b2)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:12:21 -10:00
Quentin Schulz
9ac1631eb7 docs: ref-manual: terms: fix typos in SPDX term
Fixes: 2c53ac40e99a ("ref-manual: terms.rst: add SBOM and SPDX terms")
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: a92b206cec9f17db4bb50eb8e7ca088e55a43e61)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Michael Opdenacker
46b5926f8f ref-manual: releases.svg: updates
- Kirkstone is now a 4 year LTS
- Add future Scarthgap LTS
- Update document metadata: license, title

(From yocto-docs rev: 408b722ca330155e770262c7db8494ff897cfdb1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Thomas Roos
4f1eb64d15 testimage/oeqa: Drop testimage_dump_host functionality
The intent behind these functions was to dump the system state when issues occured
but it has never really worked as we'd planned. Regular monitoring as the build
runs has largely replaced this as that allows a trend to be seen rather than a spot
value which was never really useful. The code is bitrotting and not functioning
correctly so drop it.

[YOCTO #13872]

RP: Reword commit message
(From OE-Core rev: 8d1bc34cffdd9f054e51db4e880747c79bf834fe)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dea37ba49a236029da73d5cfbfc069bffc38b508)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Jose Quaresma
4c02657a44 kernel-module-split: make autoload and probeconf distribution specific
The modules-load.d [1] - Configure kernel modules to load at boot
should install their configuration files in /usr/lib/modules-load.d.

The modprobe.d [2] - Configuration directory for modprobe
should install their configuration files in /lib/modprobe.d

[1] https://man7.org/linux/man-pages/man5/modules-load.d.5.html
[2] https://man7.org/linux/man-pages/man5/modprobe.d.5.html

[YOCTO #12212] https://bugzilla.yoctoproject.org/show_bug.cgi?id=12212

CC: Ola x Nilsson <Ola.x.Nilsson@axis.com>
CC: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
(From OE-Core rev: 6725922eadd093e8ee6a41898b596b5563eab0f3)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 347830e67c5ad72b4da165d644e3add69c20acb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Jose Quaresma
fcd67ff9cd kernel-module-split: use context manager to open files
(From OE-Core rev: 8fbf05a91667a054083b45632c1f8afb6b8e1367)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fc9c9471952042395bb405e7f6cf507bb2b72f31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Jose Quaresma
4baf7c63c5 kernel-module-split: install config modules directories only when they are needed
Instaed of allways create the directories and removing it at the if they are
not used, we can just do it when there are modules configuration to be created.
So the best thing to do is install the directories only when necessary.

(From OE-Core rev: 455baf41550431c22047fe718c8eaae71924b23f)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 71460993f350bca3d5a22115fd5551696f955c9f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Jose Quaresma
2210796162 kernel: config modules directories are handled by kernel-module-split
(From OE-Core rev: e5b478fb435c96f6d6e8c2a93d6c54df996957e1)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 38dc75c0e5eb7427ffcf201113fb45e0d5dad453)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Yoann Congal
1b485f13a7 recipetool: Fix inherit in created -native* recipes
native and nativesdk classes are special and must be inherited last :
put them at the end of the gathered classes to inherit.

(From OE-Core rev: 6de7a92c4366f8b15ff97e53be91db31348b3922)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a6614fd800cbe791264aeb102d379ba79bd145c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Yi Zhao
a4c05306f5 ifupdown: install missing directories
There are four directories in which scripts can be placed which will
always be run for any interface during certain phases of ifup and ifdown
commands:
/etc/network/if-pre-up.d/
/etc/network/if-up.d/
/etc/network/if-down.d/
/etc/network/if-post-down.d/

Even if there are no scripts in these directories, ifup and ifdown
commands will also search these directories by using run-parts command.

Install these directories to fix the following runtime errors:
$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
$ ifdown lo
ifdown: interface lo not configured
$ ifup lo
run-parts: failed to open directory /etc/network/if-up.d: No such file or directory
ifup: failed to bring up lo

(From OE-Core rev: c248473e2d60cfa67c64aa586b404119dec728ff)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 277bc7ab1fedd81f4df578e544ec381c819a10f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Etienne Cordonnier
2edd5c3846 libxcrypt: fix hard-coded ".so" extension
2 issues:
- the .so extension is hard-coded, and therefore the libxcryt package compiled with
  meta-darwin is empty, because the dylib files are not contained in FILES_${PN}
- nothing actually produces a file libcrypt-*.so (the symlink file is libcrypt.so, without dash), thus
  defining FILES:${PN} manually to contain libcrypt-*.so has no effect.

(From OE-Core rev: 06f8aaf8ee03b07f79e1a17708b5946782e389bd)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ed6bfa2428b4f1ba7f09d6e9e67c462ff355153)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Alexander Kanavin
1f2b28e9c6 rust-common.bbclass: move musl-specific linking fix from rust-source.inc
This needs to be done for any item that is linked under rustc,
and not just rust itself. Latest python-cryptography exposes the issue.

(From OE-Core rev: 967d847a9815df43d0c92ca61cc544e1fe5dcc03)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d3811228747590ea06e8d68be4785d45ec9c478f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Alexander Kanavin
833cbde6c1 cargo.bbclass: set up cargo environment in common do_compile
cargo_do_compile runs only if the recipe is built using cargo
as the top level tool. Some recipes hide usage of cargo inside setuptools
(or autoconf) and use do_compile definitions specific to those,
and so the environment isn't properly set up.

This was exposed by latest versions of python3-cryptography.

(From OE-Core rev: a1946efdbec608d47f9e992c1b5cf3c671a204fc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f4ff643a028d7f5670d80861f2ce19ca2d90faa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Alejandro Hernandez Samaniego
569b57b9d2 baremetal-helloworld: Fix race condition
There was a race condition during the Makefile execution in
between the assemble and compile targets, only the assemble
target had a dependency on creating the build directory.
If the compile target was executed first, an error was thrown
by bitbake since the build directory did not exist yet:

| Assembler messages:
| Fatal error: can't create build/hello_baremetal_aarch64.o:
  No such file or directory

Update the SRCREV to reflect the latest changes serializing
the makefile targets to avoid such race condition from happening.

[YOCTO #15146]

(From OE-Core rev: fe637f795238685f5d8e4e3dbf48235dabb1cc17)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a999af292c7b3dd3bb7c0722cc31624c425f432)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Tom Hochstein
ac2c61dc6b weston: Cleanup and fix x11 and xwayland dependencies
For the x11 backend package config, drop the redundant dependencies
libxcb and cairo. The former is listed twice in the package config,
while the latter is also listed globally.

For the xwayland package config, add the missing dependencies libxcb
and libxcursor. These dependencies are hidden when the x11 backend is
enabled by default. When the default setting is overridden to disable
the x11 backend, the following error occurs:
```
| Run-time dependency xcursor found: NO (tried pkgconfig and cmake)
|
| ../git/xwayland/meson.build:34:2: ERROR: Problem encountered: xwayland requires xcursor which was not found. Or, you can use '-Dxwayland=false'.
```

(From OE-Core rev: d8d60e0a0e838c332f044ecee89b8ad2acae9567)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 49f4dd391b408a850d13010c90492c621b7912c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Alexander Kanavin
ab0bc3a1d6 libproxy: fetch from git
Upstream no longer provides tarballs for newer versions.

(From OE-Core rev: 32b258f5ce261b2576d20e0dac4123fa020642d7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e971f27cb4ad78b4df3c3bca2948f3cb60d0d5cf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Wang Mingyu
24faf1dca9 lttng-ust: upgrade 2.13.5 -> 2.13.6
Changelog:
===========
* Fix: segmentation fault on filter interpretation in "switch" mode
* Fix: `ip` context is expressed as a base-10 field
* Fix: c99: use __asm__ __volatile__
* Fix: c99: static assert: clang build fails due to multiple typedef
* Fix: Reevaluate LTTNG_UST_TRACEPOINT_DEFINE each time tracepoint.h is included
* Fix: trace events in C++ constructors/destructors
* Fix: trace events in C constructors/destructors
* Fix: use unaligned pointer accesses for lttng_inline_memcpy

(From OE-Core rev: c4bfec4b2f092bd76292ad8a03917514626a3a8f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 656470b4b0db579308d218d1ece77bdacd168d14)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Wang Mingyu
b6168e0810 libx11: upgrade 1.8.5 -> 1.8.6
Changelog:
==========
InitExt.c: Add bounds checks for extension request, event, & error codes
Fixes CVE-2023-3138

(From OE-Core rev: 5d6169ec81cc260fccb3b65082100e0ef6102046)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 49b74259b196454d22fcca8b8ecc1c0d41487285)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Wang Mingyu
b28646b19a libksba: upgrade 1.6.3 -> 1.6.4
Changelog:
Correctly detect CMS write errors.

(From OE-Core rev: 319370ab4031454e9a026a5b7d582fc23882f139)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0296cf63007542c1cb209a4288be1c82aa2ba843)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Wang Mingyu
9961d808c5 libassuan: upgrade 2.5.5 -> 2.5.6
Changelog:
===========
 * Fix logging of confidential data.  [rA0fc31770fa]
 * Fix memory wiping.  [T5977]
 * Fix macOS build problem.  [T5440,T5610]
 * Upgrade autoconf stuff.

(From OE-Core rev: 569df0fb19ee9199fa9c3d86bb5bb75252b3c663)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 90126be6dc32170c08eb90223b6a6cc06c2133ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Wang Mingyu
17644d51d5 gstreamer1.0: upgrade 1.22.3 -> 1.22.4
Bugfixes:
==========
-   Security fixes for flacparse, dvdspu, and subparse
-   d3d11videosink: Fix error on pause and play
-   decklink: Correctly handle SDK strings on macOS and free strings
    after usage on Linux
-   filesink: Fix buffered mode writing of buffer lists and buffers with
    multiple memories
-   gldownload: handle passthrough without a critical
-   h265parse: Fix framerate handling regression
-   oggdemux: vp8 fixes
-   mp4mux, qtmux, qtdemux: Opus audio mapping fixes
-   pngdec: Fix wrong colours output from 16bit RGB images
-   ptp clock: Work around ptpd bug in default configuration
-   srtpdec: fix critical warnings on shutdown
-   v4l2src: fix support for bayer format
-   v4l2videoenc: support force-keyframe event in v4l2 encoder
-   vtenc: apply DTS offset to ensure DTS <= PTS
-   gst-python: allow more functions to be called before gst_init()
-   cerbero: fix vaapi variant; add qt6 build on windows; ensure errors
    on unguarded use of new APIs, require macOS 10.13
-   packages: ship codecalpha, rtponvif, dvbsubenc, switchbin,
    videosignal plugins; fix pango crash on 32-bit windows
-   various bug fixes, memory leak fixes, and other stability and
    reliability improvements

(From OE-Core rev: a071696747ece93409d533a2e966cd59195a056d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d7bf88db7f2f55540bf7891474a3a28f5681ddbb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Wang Mingyu
be68ef7726 freetype: upgrade 2.13.0 -> 2.13.1
Changelog:
===========
* docs/VERSION.TXT: Add entry for version 2.13.1.
* docs/CHANGES: Updated.
* docs/release, docs/README, builds/macs/README: Updated.
* README, src/base/ftver.rc, builds/windows/vc2010/index.html,
builds/windows/visualc/index.html, builds/windows/visualce/index.html,
builds/wince/vc2005-ce/index.html, builds/wince/vc2008-ce/index.html,
docs/freetype-config.1: s/2.13.0/2.13/1/, s/2130/2131/.
* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
* builds/unix/configure.raw (version_info): Set to 26:0:20.
* CMakeLists.txt (VERSION_PATCH): Set to 1.
* subprojects/libpng.wrap, subprojects/zlib.wrap, subprojects/dlg: Updated.

(From OE-Core rev: b89e75cd39ee704e677ab1e770884cd53cd7f1e8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4447b2db3166bd8c76271f0293931392572c6977)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Alexander Kanavin
cade89d4cf diffutils: update 3.9 -> 3.10
* Noteworthy changes in release 3.10 (2023-05-21) [stable]

** Bug fixes

  cmp/diff can again work with file dates past Y2K38
  [bug introduced in 3.9]

  diff -D no longer fails to output #ifndef lines.
  [bug#61193 introduced in 3.9]

Remove the comment addition from the patch body, as it
increases likelyhood of rebase conflicts, and repeats what
the commit says.

(From OE-Core rev: 21e40166870fadee986fb36be80019d3bcdb69e5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 925155acc6922f7e9df2afa45e79ad1b2c57ba24)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Changqing Li
ffe2b61053 erofs-utils: fix CVE-2023-33551/CVE-2023-33552
* CVE-2023-33551.patch is for fix CVE-2023-33551.
* CVE-2023-33552-3.patch is upstream patch for fix CVE-2023-33552, since
  the patch context is changed, CVE-2023-33552-1.patch and
  CVE-2023-33552-2.patch is backported.

(From OE-Core rev: 77b5c2f68ea0eef45e77936ce3e7caafa7bd3f54)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Joe Slater
76f54ee71f ghostscript: fix CVE-2023-36664
Combine two commits from git.ghostscript.com/ghostpdl.
The first incompletely addresses the CVE.  The second
addresses defects in the first.

(From OE-Core rev: 8173939cfa4d0be8c0ffaa45e371945b1f7a16ae)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Yogita Urade
4c0213759a dmidecode: fix CVE-2023-30630
Dmidecode before 3.5 allows -dump-bin to overwrite a local file.
This has security relevance because, for example, execution of
Dmidecode via Sudo is plausible.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-30630
https://lists.nongnu.org/archive/html/dmidecode-devel/2023-04/msg00016.html
https://lists.nongnu.org/archive/html/dmidecode-devel/2023-04/msg00017.html

(From OE-Core rev: f92e59a0894145a828dc9ac74bf8c7a9355e0587)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Chee Yang Lee
02f1740351 python3-requests: fix CVE-2023-32681
(From OE-Core rev: 11b6e64c07df043441824511c931fb0bc9673adc)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-20 12:10:40 -10:00
Ross Burton
5f453b96a6 cve-update-nvd2-native: actually use API keys
There were vestigal remains of API key support which could be removed,
but as using an API key - in theory - gives the user larger rate limits
it's probably wise to expose it.

If the user has an API key, then set NVDCVE_API_KEY.

(From OE-Core rev: 64784e90c5ff559f4da6faadb970cc7aff549592)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a542de684282bfec79f24ae2f1a2027ffde319d8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-13 06:37:16 -10:00
Ross Burton
9c0e3f39aa cve-update-nvd2-native: log a little more
Add a note of what range we're fetching, and use bb.note() instead of
debug() as messages about retrying shouldn't really be considered debug
logging.

(From OE-Core rev: cc82df9c0ff8ba17196b578e0182a5c726cfbbff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b64a869b9c5e1d504f1011da16b5c5ff721afbf0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-13 06:37:16 -10:00
Peter Marko
e75d179825 cve-update-nvd2-native: increase retry count
Current 503 errors seem to last several seconds.
In most cases there are two errors and third request succeeds.
However sometimes the outage takes more than time needed
for two retries and third one also fails.

Extend retry count from 3 to 5 to improve the probablity
that the fetcher succeeds.

(From OE-Core rev: 5ca193e287c54bcb17f26e82e61e9446c21cd7e4)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f4d118af2360cff7f234102fd5e4b65a6f4146a6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-13 06:37:16 -10:00
Peter Marko
02ef03c1d6 cve-update-nvd2-native: retry all errors and sleep between retries
Last couple days it is not possible to update NVD DB as servers
are returning lot of errors.
Mostly "HTTP Error 503: Service Unavailable" is observed but
sporadially also some others.

Retrying helps in most cases, so extend retries to all errors.

Additionally add sleep which is recommended by NVD between requests.
These retries are already implemented between successful requests,
but giving servers time between failed ones is important, too.

(From OE-Core rev: 75d2c50a10b8b506096b43a15bca3f06c6734e2f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88dad8f198baa80af5ab576498f4df6ed639d551)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-13 06:37:15 -10:00
Peter Marko
38be94471e cve-update-nvd2-native: fix cvssV3 metrics
After upgrade to soon-to-be-released kirkstone 4.0.11 CVE annotations got broken.
Anything which has only cvssV3 does not resolve properly.
Fix the API fields used to extract it.

i0.0 score is now at level of NVD DB 1.1.
All CVEs with UNKNOWN vector are not present in NVD DB 1.1.

NVD API 1.1:
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|4776
LOCAL|32146
NETWORK|167746
PHYSICAL|185
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|73331
1.8|7
1.9|3
...

NVD API 2.0 (broken):
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|4587
LOCAL|26273
NETWORK|150421
UNKNOWN|24644
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|205925

NVD API 2.0 (fixed):
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|5090
LOCAL|32322
NETWORK|168004
PHYSICAL|213
UNKNOWN|511
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|73841
1.8|7
1.9|3
...

(From OE-Core rev: babf20391305e514ddcd24be261b9b8487c8c767)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61a5857efdcc0f49c69c0deb24fce99007aeef19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-13 06:37:15 -10:00
Ross Burton
0eee59b3db cve-update-nvd2-native: use exact times, don't truncate
When requesting updates in a specific range, use the actual current time
and database mtime instead of truncating to midnight, and explicitly set
the timezone to UTC so that NIST don't treat the timestamps as _their_ local
time when they're _our_ local time.

(From OE-Core rev: aa03556732b295fcf4bc2de11e3bc2e2b364580e)

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 9aa0ec37f5f74252588d2494a71c71a7d8e68df9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-13 06:37:15 -10:00
Ross Burton
41280e390a cve-update-nvd2-native: handle all configuration nodes, not just first
Some CVEs, such as CVE-2013-6629, list multiple configurations which are
vulnerable. The current JSON parser only considers the first
configuration.

Instead, consider every configuration. We don't yet handle the AND/OR
logical operators, but this is a step in the right direction.

(From OE-Core rev: a2d50c0fd1e1be869d8786b920f8b428a3292ed1)

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 e1bf4f6dd686055fe9a8bdcc3f739eac2807bae0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-13 06:37:15 -10:00
Steve Sakoman
6e17b3e644 build-appliance-image: Update to mickledore head revision
(From OE-Core rev: 3ef283e02b0b91daf64c3a589e1f6bb68d4f5aa1)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:31:41 -10:00
Steve Sakoman
f2c8f02643 poky.conf: bump version for 4.2.2 release
(From meta-yocto rev: ab16a59e94258be5a923f221ba06396b26dfab59)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Steve Sakoman
9cbafd65b0 Revert "systemd: fix a dead link under /var/log"
Needs to go to master branch before stable branches.

This reverts commit 7702dc8fc6c9b34647067ffabbc0e24d6109abe7.

(From OE-Core rev: ac4c9f5aa967507d028caa3ee70f3fce580f9a09)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Changqing Li
d069c8743f rootfs-postcommands.bbclass: add post func remove_unused_dnf_log_lock
Remove log_lock.pid which maybe created during do_rootfs. In commit
[dnf: only write the log lock to root for native dnf],
native dnf changed to write log lock to root, and target dnf still
use /var/log, so log_lock.pid need to be removed post do_rootfs.

(From OE-Core rev: 595fbe4c9ad25e52e88d7bcf1d1864fe5ec324a5)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Changqing Li
e7242a885b dnf: only write the log lock to root for native dnf
From commit 742a1b7124, log_lock.pid is writen to root, but following
file is not changed, which will make it never deleted, and an unexpected
file exist in root dir after boot target.

$ tail  -n 1 etc/tmpfiles.d/dnf.conf
r /var/log/log_lock.pid

Besides, root dir may be read-only, so it is better still
keep the log_lock.pid under /var/log, only write the log lock to root
for native dnf for fixing issue mentioned in 742a1b7124

(From OE-Core rev: 207cc7acef40f92b5de306aa6f035258c0eec828)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Richard Purdie
d7a0eb9902 ptest-runner: Pull in "runner: Remove threads and mutexes" fix
This fix simplifies the code to drop the pthread and mutexs which should
address some of the buffering issues we were seeing in some test case
failures.

(From OE-Core rev: c0ebc132c279d3195aa8ed086d596ed1b000cc2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bffa6d381d7ea0a6aad19d61cd973c82aadef070)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Richard Purdie
d29645a048 ptest-runner: Ensure data writes don't race
Currently the code can race as there is a read/write thread handling the stdio but
there is no guarantee that when the process exits, the thread has handled all the
data. This results in output where "END:" isn't actually at the end of the logs
but somewhere in the middle of the output.

Update to a revision with this fix.

(From OE-Core rev: d73b83da26722890dac8ac9bea19890927b9ea3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6608ee551ed7e8864cdeabfb09832621313d3191)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Richard Purdie
f984dc425e ptest-runner: Pull in sync fix to improve log warnings
Pulls in:

    utils: Ensure buffers are flushed after child exits

    We currently wait for the child to exit but we don't flush the buffers.
    This can mean the output ends up out of sync and the END: line isn't at
    the end of the logs.

    We've recently seen a lot of issues related to this on the autobuilder.
    Add in a flush call for all fds to ensure buffers are in sync. This
    does appear to improve warnings on the autobuilder now we started detecting
    the issue.

(From OE-Core rev: 0c484c5aa054f4a8f7794bba18b1d0d168dbb941)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f051de5d5da7e9a2f4137013e24589b594ff6d35)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Jermain Horsman
e638d11abc logrotate: Do not create logrotate.status file
The first time logrotate runs it reports an error:

  error: state file /var/lib/logrotate.status is
  world-readable and thus can be locked from other
  unprivileged users. Skipping lock acquisition...

This check was added with
1f76a381e2

This error is only reported once as logrotate removes
the world-readable permissions if this happens.
Since logrotate creates this file if it does not exist,
there should be no need to install it in the first place.

(From OE-Core rev: d081071c99a814e43cdd2c3ca92892c10b631692)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8169cd2d18f1569e4357f082adbef492710e8c36)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Alexander Kanavin
2f2c3b14b7 sysfsutils: fetch a supported fork from github
Debian does the same:
https://packages.debian.org/source/sid/sysfsutils

(From OE-Core rev: 0bf67fadffa24c00452acb25c58c1eb5648fe4c4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 504b2f590cb94b217c5f48090cfb71a749bd5ac8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Chen Qi
32aaa30cb8 unzip: remove hardcoded LARGE_FILE_SUPPORT
Now that unzip's configure can correctly do the detection even in
case of cross compilation, there's no need to use this hardcoded
LARGE_FILE_SUPPORT flag.

(From OE-Core rev: b7006ca2f56292312937fd1fa33e62ff908fad9f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dca7d1ce696e97ff4213dd63981f901dfd43ade2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Chen Qi
9020dfdc8a unzip: fix configure check for cross compilation
The original configure runs a generated binary to determine
features. This is not correct for cross compilation. So change
the runtime tests into compile-time tests to fix the issue.

(From OE-Core rev: ed61afde823bcd3eddb984a57c9dec317f8bbbf3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b9aca339b59238988c48b90ea5019bfc939ba4b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Chen Qi
bc8156f588 zip: remove unnecessary LARGE_FILE_SUPPORT CLFAGS
As the zip's configure has been updated to use compile-time
check, it now can do the check correctly, thus no need to
pass LARGE_FILE_SUPPORT to CFLAGS.

(From OE-Core rev: 0efe5f77027b902b276c925ed09caf5062f51170)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 601f45bc4e6c563ebf16e724d56519a128815034)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Chen Qi
6515617990 zip: fix configure check by using _Static_assert
It's incorrect to run a cross-compiled program on build machine
to check if some feature is available or not. As these two checks
in zip are basically just checking the size, we can use _Static_assert
and sizeof to do such check at compile time.

(From OE-Core rev: a54619ba8deb6731fdac97a1fe21e7a6ed2b5a75)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dda778d855b1838ae3004a9af310724b913490b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Khem Raj
725d9c170d python3-bcrypt: Use BFD linker when building tests
Some of the tests use symbols from libpython3 e.g. PyBytes_FromStringAndSize
but does not add it to linker cmdline, its perhaps cargo which
should be fixed for that, this however is not something we can
fix in OE. So switch to using bfd linker explicitly when
building with ptests

(From OE-Core rev: 353b9c765218ed631fc14a406fcdfe1c36a8237b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4392ebb512fa48168a48fbff3e9140a8e1b7ec4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Trevor Gamblin
a5d9fa0860 glib-networking: use correct error code in ptest
The eagain patch is currently using G_IO_ERROR_BUSY as part of the check
to retry when the simul_read_thread test fails during ptests, but the
actual error code is 27, which corresponds to G_IO_ERROR_WOULD_BLOCK.
Change the check so that it looks for the right code.

(From OE-Core rev: 669bb92fde575d3f9674b87044575873c3506df5)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8574fb1371e2d83c1c7ee58067c50319a62a22ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Chen Qi
2ed4fd70e4 rpm: write macros under libdir
If we create a macros file under etc/, the populate_sdk task would
fail if 'package-management' is in SDKIMAGE_FEATURES and nativesdk-rpm-build
is installed.. The error message is like below:

  unable to place /.../sdk/image/etc/rpm in final SDK location

This is because it's trying to move the etc/rpm dictory into the
host sysroot but the <host_sysroot>/etc/rpm has already exists.

To solve this problem, avoid creating /etc/rpm/macros for nativesdk-rpm-build,
use ${libdir}/macros instead. In this way, the macros file is hold
in nativesdk-rpm. As nativesdk-rpm-build depends on nativesdk-rpm,
the 'rpmbuild' command inside SDK can still correctly find find-debuginfo
binary.

(From OE-Core rev: 2a13a671910cad68ab962ce369b9ed60a9bf7eea)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5fde0eadf16d34d88a599009013913fe55d89283)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Chen Qi
e5a8c83db2 sdk.py: fix moving dnf contents
The dnf contents should be moved to <host_sysroot>/etc/dnf/xxx
instead of just <host_sysroot>/etc.

(From OE-Core rev: 313f009e346a5aa10a09d65706c12ceefddaf59d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74b78d160a985e98f869c777847ab798e419dd2d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Chen Qi
a42f3c086e sdk.py: error out when moving file fails
Instead of printing an error message and continuing, we should just
error out when moving file fails.

(From OE-Core rev: 3a195a2da81755c2a030b5b0354ef177d826bdb2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 12aecd9da94b5f27041982c661e8bab316d365d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Alberto Planas
9e14d2ab80 bitbake.conf: add unzstd in HOSTTOOLS
rpm2cpio.sh can make calls to unzstd to uncompress the RPM payload that
conform the cpio file.

zstd is already part of HOSTTOOLS, as a link to the system installed
zstd.

This patch add unzstd in HOSTOOLS list as a non-optional binary, so is
available to rpm2cpio.sh when it is required.

(From OE-Core rev: d59c5c1e78a1165bd2b00b3185ff8e9119aeaf9a)

Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bff58d337890e804d33d7decbaa46065a4d3bba4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Khem Raj
2bb44b30a0 libxml2: Do not use lld linker when building with tests on rv64
lld ends up with errors on some tests
| riscv64-yoe-linux-ld.lld: error: section size decrease is too large

Therefore do not use lld when building ptests

(From OE-Core rev: 23bcd0dbf3aeaff6b6914d347954bec22a133e23)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 154e81bb6b05b23c0c673b431cb7cee868421335)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:26 -10:00
Richard Purdie
e1e65f69c8 strace: Update patches/tests with upstream fixes
Replace the sockopt disable patch with a fix from upstream

(From OE-Core rev: c1beb73526e3ade75bd6dae5f9310107c50f1226)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ac921989991c319ecad01bec37c4ccaa15a7b58f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Richard Purdie
242dff550e strace: Merge two similar patches
Both patches change the same paths to gawk, merge them together
as we only need one patch for this.

(From OE-Core rev: 6080138fd0c27db7029b5a76e69b8dc241ad8dc3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 79c0b18e29cad337640860f57683f0a170f6daab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Khem Raj
3f39bcae66 rpcsvc-proto: Upgrade to 1.4.4
Drop already upstreamed patch in 1.4.4

(From OE-Core rev: f3ce18bcc993c636c7f7ac898cd5cb2de92df8ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1dddd4bf9bdb26069a1a0d4fcb8aeefd5761c620)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Alexander Kanavin
b1493fb1a8 gdb: upgrade 13.1 -> 13.2
Fixes:

 * PR testsuite/30158 (rustc testsuite fails with 13.1, apparently worked before with trunk 20230114 on i686-linux-gnu and powerpc64le-linux-gnu)

 * PR gdb/30214 (GDB 13.1 does not compile on FreeBSD 13.1)

 * PR gdb/30240 ((linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed)

 * PR gdb/30249 ([13 regression] hookpost-extended-remote will not work)

 * PR exp/30271 (Addresses of static thread_local fields are badly calculated sometimes)

 * PR symtab/30357 (Segmentation fault for the 'start' command)

 * PR symtab/30369 ([gdb/symtab] False match issue in skip_prologue_using_linetable)

 * PR gdb/30423 (Build failures with clang 16)

 * PR build/30450 (Build failure (linux-low.cc:5393:45: error: expected ':' before ')' token) with musl-1.2.4)

(From OE-Core rev: 900379776878c363ff7c802f6b740ee89661ea9c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d10764916624f61d39cb9ea368359837156ad960)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Alexander Kanavin
c63f334f9a wireless-regdb: upgrade 2023.02.13 -> 2023.05.03
(From OE-Core rev: 77889442edaa7540c5c865ceb69dcdd972dd5fd7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47438402fa430499864a4b1f1a13eaac66aa21c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Alexander Kanavin
4eab9567fb wget: upgrade 1.21.3 -> 1.21.4
Stable version release

Noteworthy changes in release 1.21.4 (2023-05-11)

** Document --retry-on-host-error in help text

** Increase read buffer size to 64k. This should speed up downloads on gigabit
and faster connections

** Update deprecated option '--html-extension' to '--adjust-extension' in
documentation

** Update gnulib compatibility layer.
   Fixes HSTS test failures on i686. (Thanks to Andreas Enge for ponting it out)

License-Update: copyright years

(From OE-Core rev: 4e7ec4bef86c79b4221a800ace700c58ce033de1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 67ec2d5bab891cb92af9ca32304a4927daf51ed0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Alexander Kanavin
8d740e0590 serf: upgrade 1.3.9 -> 1.3.10
Apache Serf 1.3.10 [2023-05-31, from tags/1.3.10, r1910048]
  Support for OpenSSL 3 (r1901937, ...)
  Fix issue #171: Win32: Running tests fails with "no OPENSSL_Applink" error
  Fix issue #194: Win32: Linking error when building against OpenSSL 1.1+
  Fix issue #198: OpenSSL BIO control method incorrectly handles unknown requests
  Fix issue #202: SSL tests are not passing with OpenSSL 3
  Fix error handling when reading the outgoing request body (r1804534, ...)
  Fix handling of invalid chunk lengths in the dechunk bucket (r1804005, ...)
  Fix an endless loop in the deflate bucket with truncated input (r1805301)
  Fix BIO control handlers to support BIO_CTRL_EOF (r1902208)
  Fix a CRT mismatch issue caused by using certain OpenSSL functions (r1909252)
  Build changes to support VS2017, VS2019 and VS2022 (r1712131, ...)
  Build changes to support Python 3 (r1875933)

As serf is undead, we need to reassess all the remaining patches.

(From OE-Core rev: 17a46eee905f0ecfdbebb014533848dc7e906ec7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 775cbcc876edcb6c339f342a3253f5afcf6ef163)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Alexander Kanavin
4d3b4255ff linux-firmware: upgrade 20230404 -> 20230515
License-Update: additional firmwares

(From OE-Core rev: 0903f615b89c8aecf660d1cbd8161e6ba0b354bc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64603f602d00999220fe5bafeed996ddcb56d36b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Alexander Kanavin
325ebef42f libx11: upgrade 1.8.4 -> 1.8.5
Bug fix release

 * autoconf & libtool updates (!187, !188)
 * Restore missing text in XSetScreenSaver man page (#187, !203)
 * Update am_ET.UTF-8 compose keys to use dead-vowel symbols,
   in coordination with xkeyboard-config 2.39 (!205)
 * Assorted updates to en_US.UTF-8 compose keys (!189, !195, !196, !198,
   !199, !200, !201, !207, !208, !209)

(From OE-Core rev: fe81e39b0bac276bda508e4b2667c81c052392e2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e931f490854100c2504ce771d5c920e3a62efdd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Alexander Kanavin
224123cae7 gnupg: upgrade 2.4.0 -> 2.4.2
Stable version update

Noteworthy changes in version 2.4.2
===================================

  * gpg: Print a warning if no more encryption subkeys are left over
    after changing the expiration date.  [rGef2c3d50fa]

  * gpg: Fix searching for the ADSK key when adding an ADSK.  [T6504]

  * gpgsm: Speed up key listings on Windows.  [rG08ff55bd44]

  * gpgsm: Reduce the number of "failed to open policy file"
    diagnostics.  [rG68613a6a9d]

  * agent: Make updating of private key files more robust and track
    display S/N.  [T6135]

  * keyboxd: Avoid longish delays on Windows when listing keys.
    [rG6944aefa3c]

  * gpgtar: Emit extra status lines to help GPGME.  [T6497]

  * w32: Avoid using the VirtualStore.  [T6403]

(From OE-Core rev: d4ab498958db518a7c67b8cc1f9c15d6ee253097)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9eddfded59819a2a375b6f5518bf2c3184237d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Alexander Kanavin
9475d79149 gawk: upgrade 5.2.1 -> 5.2.2
This is a bug fix release.

Changes from 5.2.1 to 5.2.2
---------------------------

1. Infrastructure upgrades: makeinfo 7.0.1 must be used to format
   the manual.  As a result, the manual can also now be formatted
   with LaTeX by running it through `makeinfo --latex'.

2. Gawk no longer builds an x86_64 executable on M1 macOS systems.
   This means that PMA is unavailable on those systems.

3. Gawk will now diagnose if a heap file was created with a different
   setting of -M/--bignum than in the current invocation and exit with
   a fatal message if so.

4. Gawk no longer "leaks" its free list of NODEs in the heap file, resulting
   in much more efficient usage of persistent storage.

5. PROCINFO["pma"] exists if the PMA allocator is compiled into gawk.
   Its value is the PMA version.

6. The time extension is no longer deprecated. The strptime() function
   from gawkextlib's timex extension has been added to it.

7. Better information is passed to input parsers for when they want to
   decide whether or not to take control of a file. In particular, the
   readdir extension is simplified for Windows because of this.

8. The various PNG files are now installed for Info and HTML. The
   images files now have gawk_ prefixed names to avoid any conflicts
   with other installed PNG file names.

9. As usual, there have been several minor code cleanups and bug fixes.
   See the ChangeLog for details.

(From OE-Core rev: 3ace3af1e57b701308ab397c6ac45a6fa703ed40)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8504a35f1fe222d256241ff00c05b63e24e9adcb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Soumya
68b407ff94 perl: Fix CVE-2023-31484 & CVE-2023-31486
CPAN.pm before 2.35 does not verify TLS certificates when downloading
distributions over HTTPS.

HTTP::Tiny before 0.083, a Perl core module since 5.13.9 and
available standalone on CPAN, has an insecure default TLS
configuration where users must opt in to verify certificates.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-31484
https://nvd.nist.gov/vuln/detail/CVE-2023-31486

Upstream patches:
9c98370287
77f557ef84
a22785783b

(From OE-Core rev: f4fe9861d6aebd971a3120a0eb43f752c73ce2fb)

Signed-off-by: Soumya <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Richard Purdie
5e72da9780 bitbake: runqueue: Fix deferred task/multiconfig race issue
If there are several multiconfigs in play for example a non-multiconfig with
a task with one hash and then three multiconfigs for the same task, different
architectures but the same hash (different to the non-mc), the three mcs
will be deferred until after the non-mc task but then will all run together
and race against each other.

Change the code to re-enable deferred tasks one at a time. This way, if they do
race, they won't run in parallel against each other.

(Bitbake rev: 08033b63ae442c774bd3fce62844eac23e6882d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9523e28658ad7fb446645b590608dfac2812afd3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-07 04:30:25 -10:00
Alexander Kanavin
c9d5df0cdd grub: submit determinism.patch upstream
(From OE-Core rev: ce5337d19ad290f30c0250158a1833a2cc3bd0ac)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61947762e410c685f667e0af6440fb8a33cd6777)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Charlie Wu
593a3d775f devtool: Fix the wrong variable in srcuri_entry
devtool crashes when running "update-recipe" and append changes on the recipe.
"$ devtool update-recipe -a <layer> <recipe>"
Traceback (most recent call last):
...
File "/ovss/ovss_quanta/poky/scripts/lib/devtool/standard.py", line 1636, in srcuri_entry
    return 'file://%s%s' % (basepath, paramstr)
                            ^^^^^^^^
NameError: cannot access free variable 'basepath' where it is not associated with a value in enclosing scope

The input variable 'fname' should have the same meaning as the variable 'basepath'.
Modify the 'fname' to 'basepath' and solve the issue.

(From OE-Core rev: 6e9d2bfed4bb1a02b9ad023cb70cef90366f8233)

Signed-off-by: Charlie Wu <chiachiwu@google.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c3231756bbc2cb5641204414ad3670d7f8607ed3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Mikko Rapeli
beb7517072 useradd-staticids.bbclass: improve error message
Current error message is difficult to read:

ERROR: Nothing PROVIDES 'image'
trs-image was skipped: image - image: normal username test does not have a static ID defined. Add test to one of these files

It's not clear that first "image" is recipe name, second "image" is
binary package name and that "test" is the user account which does not
have a static ID defined. Improve the error message so that these are
more explicit. Now the error message looks like:

image was skipped: Recipe image, package image: normal username "test" does not have a static ID defined.

(From OE-Core rev: 3285f6080161ccc808efb7fce7db9dc0dd236ffa)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 07898218f3908a83e07178b6530dfa48d55d4ec2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Khem Raj
583dba175c parted: Add missing libuuid to linker cmdline for libparted-fs-resize.so
(From OE-Core rev: 8e42a4364921fabccf0f1c4bc4e661da72c82d06)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 493b6a17ede8033be11eb61aef347f6f5df42f7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Ross Burton
d20224ac86 gobject-introspection: remove obsolete DEPENDS
This recipe uses meson, so doesn't need to DEPEND on autoconf-archive.

(From OE-Core rev: b5e006b15d0e95ab83a1a42de194d28152c67f48)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit cb09a2d7077e4e0809e16ad6d23cd4f3b2a3bbca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Khem Raj
7fc5def9c4 babeltrace2: Always use BFD linker when building tests with ld-is-lld distro feature
lld results in textrels in some .so used in tests, fixes

babeltrace2-ptest: ELF binary /usr/lib/babeltrace2/ptest/tests/lib/test-plugin-plugins/plugin-minimal.so has relocations in .text
babeltrace2-ptest: ELF binary /usr/lib/babeltrace2/ptest/tests/lib/test-plugin-plugins/plugin-sfs.so has relocations in .text [textrel]
ERROR: babeltrace2-2.0.5-r0 do_package_qa: QA Issue: babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-ctf.so has relocations in .text
babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-utils.so has relocations in .text
babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-text.so has relocations in .text [textrel]

(From OE-Core rev: 092ea60841b5dd45ddbfff9c94b4380855f8e639)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 18d443b53a0d76102fbbc1088fbcb3f8087a2b1b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Alexander Kanavin
9dfe2321c0 maintainers.inc: unassign Ricardo Neri from ovmf
We were not able to get a response about availability over email, and so the recipe
has to be unassigned.

(From OE-Core rev: 8bd8ea8293a75ffa0e850513c3c15be6bc8c8692)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56f1af6d5b3019dccbc27bb0a9692a5f1a32f87b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Alexander Kanavin
ac83f04896 maintainers.inc: unassign Oleksandr Kravchuk from python3 and all other items
We were not able to get a response about availability over email, and so the recipes
have to be unassigned.

(From OE-Core rev: 66dfaff6bdf9c02a2cc6b1e8829c86e38908b195)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2d2c75530fe336eda72e8ce72f994725b3a77ea0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Alexander Kanavin
de8d2fbdba maintainers.inc: unassign Chase Qi from libc-test
We were not able to get a response about availability over email, and so the recipe
has to be unassigned.

(From OE-Core rev: 20c7da2785e0e85264c2ef711b079920eb4bb26a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5be575577d74a3cb81594392b88df74226be9192)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Alexander Kanavin
e11eff103f maintainers.inc: unassign Alistair Francis from opensbi
We were not able to get a response about availability over email, and so the recipe
has to be unassigned.

(From OE-Core rev: deacda2bdccc682b845d5a909adfc172ccfcb5cf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 60eda3dcbf96b5982a0e282fd0c3c13b0b4d7787)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Alexander Kanavin
1cbcb04d44 maintainers.inc: unassign Adrian Bunk from wireless-regdb
We were not able to get a response about availability over email, and so the recipe
has to be unassigned.

(From OE-Core rev: 41fa071b1b32a795e5c5b671580d4f962dbabf20)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3beb88060be9484cfe75dfa60f041b0b32214978)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Alexander Kanavin
4036c7097a qemu: a pending patch was submitted and accepted upstream
(From OE-Core rev: 13c9eba31a848450b1502c1677536ce42576ed08)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f59df55d63a8841c834bbc488589209e7f23f803)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Fabien Mahot
5a3a4e3e49 oeqa/selftest/bbtests: add non-existent prefile/postfile tests
Fixes [YOCTO #10725]

(From OE-Core rev: 47966f06f0c221b00d773f8e9db20190a80d668a)

Signed-off-by: Fabien Mahot <fabien.mahot@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b0c33655fad5b2e7d96a45b6210527dfb766797b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Alexander Kanavin
011e2bb251 scripts/runqemu: allocate unfsd ports in a way that doesn't race or clash with unrelated processes
There is already a neat check_free_port() function for finding an available port
atomically, so use that and make two additional tweaks:

- no need to allocate two separate ports; per unfsd documentation they can be the same

- move lockfile release until after unfsd has been shut down and the port(s) used has been freed

[YOCTO #15077]

(From OE-Core rev: 3dccfba830bfbe89554a5e3ed5c3517d13545d35)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dee96e82fb04ea99ecd6c25513c7bd368df3bd37)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Alexander Kanavin
5336ba0908 scripts/runqemu: split lock dir creation into a reusable function
(From OE-Core rev: 811e24cf68c542d38386f83eda05d7efe3e5e4dc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 004d6bcb067ecf1d796801fa43a98820c4efd3c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Fabien Mahot
168fb2e293 useradd-example: package typo correction
Fixes [YOCTO #15143]

(From OE-Core rev: 00a62ec3b5eb0e46f765162e43a04c758fb9dc08)

Signed-off-by: Fabien Mahot <fabien.mahot@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9adffbb9b5fcd67d9c4e98d97bc459cbcc1b9c05)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Khem Raj
e5f891e4e6 glibc: Pass linker choice via compiler flags
glibc configury tries to detect ld version and assumes BFD or gold
linker but when system ld is pointing to lld or mold it might fail the
linker check, therefore pass LD variable to explicitly point at ld.bfd
we are using BFD linker only to link glibc after all.

Second problem in such a case is that some partial objects are linked
with CC -r which will fail if we do not inform the compiler to use BFD
linker thusly pass it via appending to CC variable

(From OE-Core rev: d1a9d11130b2e0ee4fac8665f0b4c63084d85a86)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 63248d2cbd7a15aec5b864d0058fe919eb17c46c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Randolph Sapp
810b3457f3 weston-init: add profile to point users to global socket
Add profile script to point users capable of interacting with the global
socket to it by default.

(From OE-Core rev: 1600f38d72818cda78a4731354dbecc144f664c9)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2818cbc73093996f8ecb93a4f0df8a31fd4692d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Randolph Sapp
9008062ae8 weston-init: guard against systemd configs
Just as sysvinit scripts shouldn't be present in a distro using systemd,
systemd scripts shouldn't be present in a system not using systemd.

(From OE-Core rev: 2617900f754572cca23e4db73b91a4091b921ac5)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00e3eb3893eeb32839e02b05bc1299440895a53d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Randolph Sapp
916b3ccee1 weston-init: fix the mixed indentation
I know my text editor is going to get angry at me if this continues.

(From OE-Core rev: 24fd8549273c08693078afe17a539e461a898deb)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da6e01517336694911f5aea53d637e9c0ad72c9b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Randolph Sapp
a3ff30cf6b weston-init: add the weston user to the wayland group
Add the weston user to the wayland group so all users accessing the
global weston socket in /run all share a group.

(From OE-Core rev: 955f602c26869f670470c1555bb53c281594ad08)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 30198b36b00a1967d1f8f8f556a0ba2415954f4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Randolph Sapp
e03896ffc7 weston-init: add weston user to the render group
The weston user must be in the render group in order to access render
device nodes for standard user-space graphics.

(From OE-Core rev: 814ee7ad4f54f5a17e0822f06059a2fe95bebfc4)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1cba8aa3c5e0635d7b89222d9ccaf889954fe0c9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Randolph Sapp
db8c2ebf18 weston-init: make sure the render group exists
Add the render group explicitly here to make sure it exists for the
useradd command.

(From OE-Core rev: 40007e8925ee63bddddad6e475f75b5494304903)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 3134fca12c6f74d2b99f79fb751bc5513c5b937a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Changqing Li
548b503e6d systemd: fix a dead link under /var/log
Commit 6fe23ff31c0 changed README to a symlink to README.logs, and
install README.logs under systemd doc dir.

But for OE, systemd doc dir is splited into package systemd-doc, when it
is not installed on the target, there will be an dead link:
Eg:
root@intel-x86-64:/var/log# ls -l README
lrwxrwxrwx 1 root root 39 Jun 20 08:57 README -> ../../usr/share/doc/systemd/README.logs
root@intel-x86-64:/var/log# ls -l ../../usr/share/doc/systemd/README.logs
ls: cannot access '../../usr/share/doc/systemd/README.logs': No such file or directory

Meantime, relative path for a symlink also will meet issue like
"No such file or directory"

Since OE have set ForwardToSyslog=yes, this README is not needed.
So remove this symlink from package systemd

(From OE-Core rev: 7702dc8fc6c9b34647067ffabbc0e24d6109abe7)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Mingli Yu
3ee2522d8a python3-numpy: remove NPY_INLINE, use inline instead
The build fails when DEBUG_BUILD is enabled with GCC-13 as [1] and [2].

Fixes:
   | numpy/core/src/umath/simd.inc.src:977:20: note: called from here
   | 977 |     @vtype@ zeros = _mm512_setzero_@vsuffix@();
      |                    ^~~~~~~~~~~~~~~~~~~
   | numpy/core/src/umath/simd.inc.src:596:1: error: inlining failed in call to ‘always_inline’ ‘avx512_get_full_load_mask_ps’: target specific option mismatch
  596 | avx512_get_full_load_mask_ps(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   | numpy/core/src/umath/simd.inc.src:976:27: note: called from here
  976 |     @mask@ load_mask = avx512_get_full_load_mask_@vsuffix@();
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   | /usr/lib/gcc/x86_64-redhat-linux/13/include/avx512fintrin.h:6499:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_loadu_si512’: target specific option mismatch

Reference: 3947b1a023

[1] https://git.openembedded.org/openembedded-core/commit/?id=8596678667797971559aed962b1c204266032186
[2] http://errors.yoctoproject.org/Errors/Details/689841/

(From OE-Core rev: 77a64a8686b6c9ef3bc6adbce6cdc442096decfd)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Sakib Sajal
8bf60de476 bno_plot.py, btt_plot.py: Ask for python3 specifically
python2 has been deprecated, use python3 instead

(From OE-Core rev: 055330871b0d8f443d8eded6c0fcc0e404f70b8a)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Alexander Kanavin
4b0ff5d615 apr: upgrade 1.7.3 -> 1.7.4
Changes for APR 1.7.4

  *) Fix a regression where writing to a file opened with both APR_FOPEN_APPEND
     and APR_FOPEN_BUFFERED did not properly append the data on Windows.
     (This regression was introduced in APR 1.7.3)  [Evgeny Kotkov]

(From OE-Core rev: b308bf9936a9897a9d8ec07b60d811ee223b500f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3db1d7fc97415f1d2af3f694723222ad81de13af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Markus Volk
13e7fe57d8 gtk4: upgrade 4.10.3 -> 4.10.4
Overview of Changes in 4.10.4, 05-06 2023
=========================================

* GtkFileChooser
 - Fix some memory leaks

* GtkUriLauncher
 - Validate the uri

* GtkStack
 - Fix a crash

* GtkGridView
 - Respect css border-spacing

* GtkScrolledWindow
 - Propagate child measure size whenever possible

* GtkPopoverMenu:
 - Avoid unnecessary left padding

* GtkSearchEntry:
 - Improve size allocation for the clear icon

* X11
 - Avoid black flickering with xwayland window decorations
 - Trap XRandr errors

* CSS
 - Various fixes to transitions

* Translation updates:
 Basque
 Catalan
 Chinese (China)
 French
 Galician
 Indonesian
 Lithuanian
 Persian
 Russian
 Swedish
 Turkish
 Ukrainian

(From OE-Core rev: 2630070374c75bf7d62ebb7fd7675fbf7d9e4951)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 479d3a841dcd078889dc83eceaaae0f0eabdf7b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Wang Mingyu
bc0df43297 libxml2: upgrade 2.10.3 -> 2.10.4
Changelog:
==========
### Security

- [CVE-2023-29469] Hashing of empty dict strings isn't deterministic
- [CVE-2023-28484] Fix null deref in xmlSchemaFixupComplexType
- schemas: Fix null-pointer-deref in xmlSchemaCheckCOSSTDerivedOK

### Regressions

- SAX2: Ignore namespaces in HTML documents
- io: Fix "buffer full" error with certain buffer sizes

(From OE-Core rev: 5514070805c7c0f63fe8199832269b7857d5b8e4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 9ddbbf2f86f046784c3baa58de5606a73e9e24f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Siddharth
91f27650e5 tiff: Security fix for CVE-2023-25434 and CVE-2023-26965
Upstream-Status: Backport from [69818e2f2d, ec8ef90c1f]
(From OE-Core rev: 7db6039b809a11dc9b0b51a31a763bec87016568)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-04 05:32:29 -10:00
Steve Sakoman
51f94510a9 maintainers.inc: update version for gcc-source
Resolves error:

The following recipes do not have a maintainer assigned to them. Please add an entry to meta/conf/distro/include/maintainers.inc file.
gcc-source-12.3.0 (/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/recipes-devtools/gcc/gcc-source_12.3.bb)

(From OE-Core rev: 4df0b835fae3af1dbde4a06568a652ce46d7af7a)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Richard Purdie
87d4204dd3 strace: Disable failing test
This test is failing for uncertain reasons. We have reported upstream, disable
it until we can work out why this happened. The point it started failing is
unclear due to other test framework issues.

(From OE-Core rev: ef1b309ec04aa16020c6a8ca3939fb8eccca3edb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e9165a854c7b83f163479e9dbd3cb183a9d71f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Denys Dmytriyenko
550a303326 binutils: move packaging of gprofng static lib into common .inc
Commit f72fd51e0d (binutils: package static libs from gprofng) added
corresponding FILES:${PN}-staticdev entry to the main .bb recipe.
But binutils-cross-canadian fails with exactly the same QA issue,
hence move FILES:${PN}-staticdev to the common shared .inc file.

(From OE-Core rev: a4c3f22c93a944aef11bb8f2637f45c1d72d380c)

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 75beddd33e132333c36ad067e2cf90edffeb5bf5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Alejandro Hernandez Samaniego
b28ec64509 baremetal-helloworld: Update SRCREV to fix entry addresses for ARM architectures
Update to the latest SRCREV to bring fixes using the proper entry
addresses for ARM architectures [1], as well as fixing a race condition
in the Makefile during assembly [2].

Fix url in case automatic redirects stop working.

[1] 602e82aee7
[2] ea7f59b024

(From OE-Core rev: fdeb8e9d9af37e37e4c0f13ebfae2c0ce36199d4)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8910e9665d67576149efef064d098f0645deea4a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Jörg Sommer
d643305660 runqemu-ifupdown/get-tapdevs: Add support for ip tuntap
The *ip* command supports the creation and destruction of TAP devices since
2009 and might be more likely installed on systems then *tunctl*. Therefore
it should be tried to setup or teardown the TAP interface with *ip* before
falling back to *tunctl*.

https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=580fbd88f75cc9eea0d28a48c025b090eb9419a7

(From OE-Core rev: e448f9b292aba2bf344a69f32d62b107c18993e9)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 424ede206baae1c228583aab1df6c18513ac104f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Jörg Sommer
6e706f4156 runqemu-gen-tapdevs: Refactoring
The changes are mostly about early exit which causes indentation changes;
check with `git diff -w`. Another change is the check for ip by simply
calling it and deciding upon the exit code, if it's fine or not.

(From OE-Core rev: 3f6dacac5f8fb3c4b6b61b3fa125372c8f044795)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 351577761d0712a005eda9dde9215558ca9a1fe9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
BELOUARGA Mohamed
4af31f4644 meta: lib: oe: npm_registry: Add more safe caracters
NPM registry cache should support caracaters like '(' and ')'
Explanation: NPM packages can contains these caracters like : @(._.)/execute

(From OE-Core rev: 9d51a9f819a0ffdfd273635aa4e2062bf30a1db2)

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6110d9e24e43e286781afd1b3634a4ad1a2050d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Riyaz Khan
987fa1cdc9 openssh: Remove BSD-4-clause contents completely from codebase
Below upstream commit removed BSD-4-Clause from the LICENSE variable,
Link: https://git.yoctoproject.org/poky/commit/?id=2c86f586d55d0f6b99053e3e4d14c9ee36fa8aa8
But actually if we check from the source code of the openssh for this
version (8.9p1), there are some files (openbsd-compat/libressl-api-compat.c)
still affected.

As upstream removed this BSD-4-clause license, there are still some files
has this license. Below file is affected by this BSD-4-clause contents when
the below command is executed
grep -rl "All advertising materials mentioning features or use of this software" *|grep -v \.1|grep -v \.5|grep -v \.8 | sort
openbsd-compat/libressl-api-compat.c

All advertising materials mentioning features or use of this software

Reason for backporting is some of the product restrict the BSD-4-Clause usage and the purpose of this commit is
to completely remove the BSD-4-Clause license from the openssh.

When checked in the master branch, openssh upstream removes the bsd-4 license compeletely from this commit
7280401bdd
Hence Backport this commit completely to remove license of BSD-4-clause contents from code. Hunks are refreshed.

(From OE-Core rev: 859f00732c3b123aa4adb911371f1d9cf02c85fb)

Signed-off-by: Riyaz Khan <Riyaz.Khan@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d9045a7bc6d9acc137c292b60a8ce4d24f359a19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Frieder Paape
a25ee8d700 image_types: Fix reproducible builds for initramfs and UKI img
I've encountered issues reproducing initramfs and UKI image builds,
which will be fixed with this patch.

1. initramfs
There's a symbolic link to /sbin/init, which is appended to the cpio archive after creation.
The links timestamp needs to be static and the cpio append command needs the '--reproducible' flag to produce deterministic outcomes.

2. Unified Kernel Image
'--preserve-dates' is required for a static 'Time/Date' entry.
I've added '--enable-deterministic-archives' although in my case this
didn't change anything.

(From OE-Core rev: 7bf9463665c46e331f40f9ca4f04733d14f9ab44)

Signed-off-by: Frieder Paape <frieder@konvera.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fd027729bafb4e085ba0949e38e724f3a8cad102)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Dmitry Baryshkov
74d46587e4 openssl: fix building on riscv32
On riscv32 configurations OpenSSL fails to build with "undefined
reference to `__atomic_foo'" kind of errors. Change OpenSSL recipe to
use linux-latomic configuration instead of linux-generic32.

(From OE-Core rev: 1add2c6c2a5009d6a73790e1334e7e113ac97f4d)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e8ce80fc6d6579554bca2eba057e65d4b12c0793)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Richard Purdie
e928604680 v86d: Improve kernel dependency
Working with enabling SPDX, an issue was observerd where v86d wasn't rebuilding
when the kernel was changed from linux-yocto to linux-yocto-rt.

This is due to the code in sstatesig.py which was seeing the RRECOMMENDS on a
kernel module and ignoring the DEPENDS. The v86d is technically a kernel module
since it uses kernel header files.

There are two ways to address this, we could inherit the module-base class and
the dependency code does the correct thing. It appears the code doesn't look into
STAGING_KERNEL_DIR though and doesn't use the kernel sources. We can therefore drop
the DEPENDS and the code will the do the correct thing.

(From OE-Core rev: 4250a456e3aad41bab1793258b29e96c4a9fe5bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37ccd11cb0b89416b8e23160445186269b6c0c8a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Chen Qi
efa26ceb51 qemurunner.py: fix error message about qmp
The error message is a little misleading as the qmp module is a
directory with __init__.py file, not qmp.py file. Also, put the
path where we try to import it from in the error message to make
the message more indicative.

(From OE-Core rev: 60466c8ee5c055bdc01582f3809c7b36bb646a1d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 08bacbf797f6a50ae8abe8fc3455b3a15a0a94b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Sudip Mukherjee
c6a776870d dpkg: upgrade to v1.21.22
* Code internals:
    - libdpkg: Handle missing Version when formatting source:Upstream-Version.
      Reported by John Scott <email address hidden>.
  * Localization:
    - Add Portuguese scripts translations.
      Thanks to Américo Monteiro <email address hidden>. Closes: #1032562

(From OE-Core rev: eddc394e6ad88679b6cb8db30ccf9c8134ce87bf)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 56bdf69a06be21ea376303fbb4d50e9dd570cdbb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Anuj Mittal
7af06a750a gstreamer1.0: upgrade 1.22.2 -> 1.22.3
The third 1.22 bug-fix release (1.22.3) was released on 19 May 2023.

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

Highlighted bugfixes in 1.22.3

avdec: fix occasional video decoder deadlock on seeking with FFmpeg 6.0
decodebin3: fix regression handling input streams without CAPS or TIME segment such as e.g. udpsrc or `pushfilesrc
bluez: a2dpsink: fix Bluetooth SIG Certification test failures
osxvideosink: fix deadlock upon closing output window
qtdemux: fix edit list handling regression and AV1 codec box parsing
qtmux: fix extraction of CEA608 closed caption data from S334-1A packets
rtspsrc: Fix handling of * control path
splitmux: timestamp handling improvements
v4l2videodec: Rework dynamic resolution change handling (needed for IMX6 mainline codec)
videoflip: fix regression with automatically rotating video based on tags
d3d11: many d3d11videosink and d3d11compositor fixes
webrtc, rtp: numerous data race fixes and stability fixes
various bug fixes, memory leak fixes, and other stability and reliability improvements

(From OE-Core rev: 2bc75dea621f1d206ee43a5000d05cf959cd44e9)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8ff5c4bfe46bb325535041a9127356ae425dbe5f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Ross Burton
2eef87a66b git: upgrade to 2.39.3
This minor point release fixes CVE-2023-25652 and CVE-2023-29007.

(From OE-Core rev: ebe205b32fd959b3d7281ec95ac7f7cf88e37ed2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 469c28924ab9debe810e3277b27ad936781e7ce5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Ross Burton
f6ce5347c0 pkgconf: upgrade 1.9.4 -> 1.9.5
Changes from 1.9.4 to 1.9.5:
----------------------------

* Fix incorrect assumptions involving the use of ctype(3) functions.
  Patch by Taylor R Campbell.

* Fix detection of provided functions on autoconf.
  Patches by Harmen Stoppels.

* Fix deletion of tests/meson.build by the autoconf build system.
  Patch by h30032433.

* Fix quoting rules in argvsplit.c.
  Patch by huyubiao.

* Update libpkgconf documentation and documentation building scripts.
  Patches by Andrew Shadura.

* Enforce maximum package count correctly for --modversion.

(From OE-Core rev: 046e33769121aee169ffb6c790a880dc420a5a76)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb9e05592e7c1c61a677d9cb842c9adc84689dde)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Sakib Sajal
24723a4904 go: Upgrade 1.20.4 -> 1.20.5
Upgrade to latest 1.20.x release:
go.git$ git log --oneline go1.20.4..go1.20.5
e827d41c0a (tag: go1.20.5) [release-branch.go1.20] go1.20.5
c0ed873cd8 [release-branch.go1.20] cmd/go: disallow package directories containing newlines
356a419e2f [release-branch.go1.20] cmd/go: enforce flags with non-optional arguments
fa60c381ed [release-branch.go1.20] cmd/go,cmd/cgo: in _cgo_flags use one line per flag
36144ba429 [release-branch.go1.20] runtime: implement SUID/SGID protections
5036ba77eb [release-branch.go1.20] net: skip TestFileFdBlocks if the "unix" network is not supported
b249ec5655 [release-branch.go1.20] cmd/go/internal: update documentation of go test and go generate
4b95fc1e6c [release-branch.go1.20] cmd/go: save checksums for go.mod files needed for go version lines
31a1e19a59 [release-branch.go1.20] net, os: net.Conn.File.Fd should return a blocking descriptor
450c8021a5 [release-branch.go1.20] runtime: change fcntl to return two values
22741120ee [release-branch.go1.20] runtime: consistently define fcntl
9270e3be8f [release-branch.go1.20] os: if descriptor is non-blocking, retain that in Fd method
600636e931 [release-branch.go1.20] crypto/rsa: use BoringCrypto for 4096 bit keys
afbe101950 [release-branch.go1.20] cmd/compile: fix bswap/load rewrite rules

(From OE-Core rev: 1234971eea7b07e89efaf20055ba9580fbe2cb08)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ea1e9e9d7385c78bdd513e44cea5c36444529b2)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Sundeep KOKKONDA
769673babc gcc : upgrade to v12.3
gcc stable version upgraded from v12.2 to v12.3

Below is the bug fix list for v12.3
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=12.3

(From OE-Core rev: 5aacf91e9839f60f5cb933e27a349c2ed7fcddf4)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Bruce Ashfield
2a553c39a0 linux-yocto/6.1: update to v6.1.35
Updating  to the latest korg -stable release that comprises
the following commits:

    e84a4e368abe Linux 6.1.35
    a76d4933c38e kbuild: Update assembler calls to use proper flags and language target
    5abcd2c18dbb MIPS: Prefer cc-option for additions to cflags
    1d485ddcba85 MIPS: Move '-Wa,-msoft-float' check from as-option to cc-option
    d51d258997e5 x86/boot/compressed: prefer cc-option for CFLAGS additions
    bdd22f2aa131 scsi: target: core: Fix error path in target_setup_session()
    741c96715fb7 neighbour: delete neigh_lookup_nodev as not used
    26435338f9dd net/sched: act_api: add specific EXT_WARN_MSG for tc action
    ab1bbd79f48e Revert "net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy"
    8f3759981104 net/sched: act_api: move TCA_EXT_WARN_MSG to the correct hierarchy
    4b4cae8e4b37 drm/amdgpu: Don't set struct drm_driver.output_poll_changed
    c6cbb4e1c10c rcu/kvfree: Avoid freeing new kfree_rcu() memory after old grace period
    8d842af30bc2 parisc: Delete redundant register definitions in <asm/assembly.h>
    616aba553640 afs: Fix vlserver probe RTT handling
    34dc1eed9918 octeon_ep: Add missing check for ioremap
    35d848164fec selftests/ptp: Fix timestamp printf format for PTP_SYS_OFFSET
    6ab77b3b852d net: tipc: resize nlattr array to correct size
    d24c96581775 dm: don't lock fs when the map is NULL during suspend or resume
    010179208c66 sfc: fix XDP queues mode with legacy IRQ
    23efdbfa8eef net: macsec: fix double free of percpu stats
    4ea1f3344472 net: lapbether: only support ethernet devices
    59f0c7bec3ca net: dsa: felix: fix taprio guard band overflow at 10Mbps with jumbo frames
    3626e93cd841 net/sched: cls_api: Fix lockup on flushing explicitly created chain
    fa285d799d1d ext4: drop the call to ext4_error() from ext4_get_group_info()
    d7d6e830cd0f cifs: fix lease break oops in xfstest generic/098
    e8119d4d1611 selftests: forwarding: hw_stats_l3: Set addrgenmode in a separate step
    ea3f336f717a net/sched: qdisc_destroy() old ingress and clsact Qdiscs before grafting
    ac57be24dcf1 net/sched: Refactor qdisc_graft() for ingress and clsact Qdiscs
    096c00ea80db sched: add new attr TCA_EXT_WARN_MSG to report tc extact message
    e568e0e16830 selftests/tc-testing: Fix SFB db test
    700d7bf300c1 selftests/tc-testing: Fix Error: failed to find target LOG
    8a086daf20a8 selftests/tc-testing: Fix Error: Specified qdisc kind is unknown.
    62aecf23f3d1 drm/nouveau: add nv_encoder pointer check for NULL
    fb725beca62d drm/nouveau/dp: check for NULL nv_connector->native_mode
    a5acbe4ea5d0 drm/bridge: ti-sn65dsi86: Avoid possible buffer overflow
    90748be0f4f3 drm/nouveau: don't detect DSM for non-NVIDIA device
    835457c0d608 net: phylink: use a dedicated helper to parse usgmii control word
    fabf9cb41334 net: phylink: report correct max speed for QUSGMII
    df7477a8bdcb igb: fix nvm.ops.read() error handling
    9710e5c30bd4 igc: Fix possible system crash when loading module
    c6612bf33ebe igc: Clean the TX buffer and TX descriptor ring
    fe289f8fee9a sctp: fix an error code in sctp_sf_eat_auth()
    0b8ae7d6e4ad ipvlan: fix bound dev checking for IPv6 l3s mode
    33bd6b76ac77 net: ethtool: correct MAX attribute value for stats
    277fbf63b34a IB/isert: Fix incorrect release of isert connection
    f77965f48792 IB/isert: Fix possible list corruption in CMA handler
    4e55c9abe947 IB/isert: Fix dead lock in ib_isert
    1def2a94f4ee RDMA/mlx5: Fix affinity assignment
    8618f8f72389 IB/uverbs: Fix to consider event queue closing also upon non-blocking mode
    4dc0b367c390 RDMA/cma: Always set static rate to 0 for RoCE
    ec6d49687d2b RDMA/mlx5: Create an indirect flow table for steering anchor
    3a83145b660c RDMA/mlx5: Initiate dropless RQ for RAW Ethernet functions
    c764fed5e544 octeontx2-af: fix lbk link credits on cn10k
    7c6d50414649 octeontx2-af: fixed resource availability check
    b4a3cae58cd8 iavf: remove mask from iavf_irq_enable_queues()
    26256aa7edcd RDMA/rxe: Fix the use-before-initialization error of resp_pkts
    b0b3848e0363 RDMA/rxe: Removed unused name from rxe_task struct
    e83bc9388627 wifi: mac80211: take lock before setting vif links
    170ceadf4a57 wifi: cfg80211: fix link del callback to call correct handler
    49f3a79f03bd wifi: mac80211: fix link activation settings order
    07f9cc229b44 net/sched: cls_u32: Fix reference counter leak leading to overflow
    c9411f014e5c octeontx2-af: Fix promiscuous mode
    5cf38fbc82ba net/sched: act_pedit: Parse L3 Header for L4 offset
    fb25478f6699 net/sched: act_pedit: remove extra check for key type
    b4e5d0c4cf07 net/sched: simplify tcf_pedit_act
    300be9f1dc4b igb: Fix extts capture value format for 82580/i354/i350
    a4a912aee14e ping6: Fix send to link-local addresses with VRF.
    381d49ec68ca net: enetc: correct the indexes of highest and 2nd highest TCs
    4aaa3b730d16 netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE
    bec51844f9ba ice: Fix XDP memory leak when NIC is brought up and down
    8fddf3f05156 netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM
    55b7a00f3422 netfilter: nf_tables: integrate pipapo into commit protocol
    839d38d3b0aa spi: fsl-dspi: avoid SCK glitches with continuous transfers
    485792480660 spi: cadence-quadspi: Add missing check for dma_set_mask
    2906e0d75b50 RDMA/rxe: Fix ref count error in check_rkey()
    7617a59f0056 RDMA/rxe: Fix packet length checks
    00b276bc7b62 RDMA/rtrs: Fix rxe_dealloc_pd warning
    77226c9785f8 RDMA/rtrs: Fix the last iu->buf leak in err path
    03285557deb6 usb: dwc3: gadget: Reset num TRBs before giving back the request
    7bee7f13c039 USB: dwc3: fix use-after-free on core driver unbind
    307fe59490bd USB: dwc3: qcom: fix NULL-deref on suspend
    d8195536ce26 usb: gadget: udc: core: Prevent soft_connect_store() race
    3c048d42c305 usb: gadget: udc: core: Offload usb_udc_vbus_handler processing
    3a1882841f64 usb: typec: Fix fast_role_swap_current show function
    2bf8ea2e9e39 usb: typec: ucsi: Fix command cancellation
    b352f7b6a646 serial: lantiq: add missing interrupt ack
    04b3145db225 USB: serial: option: add Quectel EM061KGL series
    03b5964a2825 clk: pxa: fix NULL pointer dereference in pxa3xx_clk_update_accr
    5532962c9ed2 thunderbolt: Mask ring interrupt on Intel hardware as well
    d799f73d5d44 thunderbolt: dma_test: Use correct value for absent rings when creating paths
    081b5f1ebc73 thunderbolt: Do not touch CL state configuration during discovery
    1eb0eff7da97 ALSA: hda/realtek: Add a quirk for Compaq N14JP6
    21863dc45aed drm/amdgpu: add missing radeon secondary PCI ID
    6f5b5ce9397d drm/amd/pm: workaround for compute workload type on some skus
    b69a10df9003 drm/amd: Tighten permissions on VBIOS flashing attributes
    b2706d862b65 drm/amd: Make sure image is written to trigger VBIOS image update flow
    ee8c6580c310 drm/amd/display: edp do not add non-edid timings
    2cb6026df193 net: usb: qmi_wwan: add support for Compal RXM-G1
    5d1fdfb3d185 drm/amdgpu: vcn_4_0 set instance 0 init sched score to 1
    f6d74371ce15 RDMA/uverbs: Restrict usage of privileged QKEYs
    5a144bad3e75 nouveau: fix client work fence deletion race
    33965ac34091 net: ethernet: stmicro: stmmac: fix possible memory leak in __stmmac_open
    bfaf388d3599 dm thin: fix issue_discard to pass GFP_NOIO to __blkdev_issue_discard
    088ad777eeae dm thin metadata: check fail_io before using data_sm
    1886db9a4ee1 ALSA: usb-audio: Add quirk flag for HEM devices to enable native DSD playback
    029e0f1f7521 ALSA: usb-audio: Fix broken resume due to UAC3 power state
    9e1c7968a275 btrfs: can_nocow_file_extent should pass down args->strict from callers
    4e9da0cda149 btrfs: fix iomap_begin length for nocow writes
    4389fb6b6a9d btrfs: do not ASSERT() on duplicated global roots
    7e23b1ec720a powerpc/purgatory: remove PGO flags
    352f62431ad3 riscv/purgatory: remove PGO flags
    2cf6e32e86ea x86/purgatory: remove PGO flags
    013027918a4e kexec: support purgatories with .text.hot sections
    c9c3163c7ab9 io_uring/net: save msghdr->msg_control for retries
    cffaa97ffb67 LoongArch: Fix perf event id calculation
    ad64865722b6 nilfs2: reject devices with insufficient block count
    69caea4eed1c nilfs2: fix possible out-of-bounds segment allocation in resize ioctl
    8f47a9665aee nilfs2: fix incomplete buffer cleanup in nilfs_btnode_abort_change_key()
    3d4bc38f716c nios2: dts: Fix tse_mac "max-frame-size" property
    447f325497dc zswap: do not shrink if cgroup may not zswap
    9f17645f8528 ocfs2: check new file size on fallocate call
    534b4bbc8589 ocfs2: fix use-after-free when unmounting read-only filesystem
    3a340c63c0c3 epoll: ep_autoremove_wake_function should use list_del_init_careful
    6d304091e091 wifi: cfg80211: fix double lock bug in reg_wdev_chan_valid()
    b11f953a61e9 wifi: cfg80211: fix locking in regulatory disconnect
    9a9adc42a590 irqchip/gic: Correctly validate OF quirk descriptors
    22efb27a21b6 NVMe: Add MAXIO 1602 to bogus nid list.
    c9c205945033 io_uring: unlock sqd->lock before sq thread release CPU
    8ca9880735b0 drm:amd:amdgpu: Fix missing buffer object unlock in failure path
    41c383c49657 xen/blkfront: Only check REQ_FUA for writes
    75955d698636 ASoC: dwc: move DMA init to snd_soc_dai_driver probe()
    7e57a56374aa ASoC: cs35l41: Fix default regmap values for some registers
    424fc902728c mips: Move initrd_start check after initrd address sanitisation.
    dd035c08ee96 MIPS: Alchemy: fix dbdma2
    34dd1a90ab64 MIPS: Restore Au1300 support
    048ad52d528e MIPS: unhide PATA_PLATFORM
    3d48ea53c44b parisc: Flush gatt writes and adjust gatt mask in parisc_agp_mask_memory()
    e522a12e4892 parisc: Improve cache flushing for PCXL in arch_sync_dma_for_cpu()
    0b09b35cae86 ASoC: Intel: avs: Add missing checks on FE startup
    5daa27bcb31d ASoC: Intel: avs: Account for UID of ACPI device
    c33fded7f17f ASoC: soc-pcm: test if a BE can be prepared
    0a9b2164b7d8 btrfs: handle memory allocation failure in btrfs_csum_one_bio
    e9a5175d5e83 btrfs: scrub: try harder to mark RAID56 block groups read-only
    c45aed74318e drm: panel-orientation-quirks: Change Air's quirk to support Air Plus
    2d9144c0ca82 power: supply: Fix logic checking if system is running from battery
    808e103ebac9 irqchip/meson-gpio: Mark OF related data as maybe unused
    0cdb593c2fe9 irqchip/gic-v3: Disable pseudo NMIs on Mediatek devices w/ firmware issues
    bf8324676b1c regulator: Fix error checking for debugfs_create_dir
    c94be1f039c3 platform/x86: asus-wmi: Ignore WMI events with codes 0x7B, 0xC0
    cdf9cfc1bbd7 PCI/DPC: Quirk PIO log size for Intel Ice Lake Root Ports
    22358b9c418c power: supply: Ratelimit no data debug output
    a7620312a082 selftests: gpio: gpio-sim: Fix BUG: test FAILED due to recent change
    79a0a3695e01 tools: gpio: fix debounce_period_us output of lsgpio
    cc1444a36398 ARM: dts: vexpress: add missing cache properties
    398bf0d67bcc power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule()
    66a88d04cf5d power: supply: sc27xx: Fix external_power_changed race
    e3d2bdca180b power: supply: ab8500: Fix external_power_changed race
    628e40a225a0 of: overlay: Fix missing of_node_put() in error case of init_overlay_changeset()
    e01fc7caac9c ksmbd: validate smb request protocol id
    fec79e4f7df5 EDAC/qcom: Get rid of hardcoded register offsets
    4b3ec6b6ff24 qcom: llcc/edac: Fix the base address used for accessing LLCC banks
    314e973f36a5 cgroup: fix missing cpus_read_{lock,unlock}() in cgroup_transfer_tasks()
    c68b4db58138 cgroup: always put cset in cgroup_css_set_put_fork
    7a2e2ca9ad21 cgroup: bpf: use cgroup_lock()/cgroup_unlock() wrappers
    6111f0add6ff test_firmware: prevent race conditions by a correct implementation of locking
    aa2dfdc4ed25 test_firmware: Use kstrtobool() instead of strtobool()
    100cd6d0e563 x86/head/64: Switch to KERNEL_CS as soon as new GDT is installed

(From OE-Core rev: 7ad09cfc8564de0576b25862468e1532112bb5d2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 86cc1a595011ff08fb50bca7215e5b22cda6cdcb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Bruce Ashfield
dcbe9f0d45 linux-yocto/6.1: update to v6.1.34
Updating  to the latest korg -stable release that comprises
the following commits:

    ca87e77a2ef8 Linux 6.1.34
    1aaa74177f06 Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE"
    a7e9c2e40708 wifi: rtw88: correct PS calculation for SUPPORTS_DYNAMIC_PS
    8fafd871558f wifi: rtw89: correct PS calculation for SUPPORTS_DYNAMIC_PS
    5b2438f0a7e5 ext4: only check dquot_initialize_needed() when debugging
    77eed67ba24e Revert "ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled"
    543c12c2644e ksmbd: check the validation of pdu_size in ksmbd_conn_handler_loop
    8f2984233c87 ksmbd: fix out-of-bound read in parse_lease_state()
    bf12d7fb63b3 ksmbd: fix out-of-bound read in deassemble_neg_contexts()
    fb322da83ce5 vhost_vdpa: support PACKED when setting-getting vring_base
    b839b65456f5 vhost: support PACKED when setting-getting vring_base
    6c5a69c5dd53 vduse: avoid empty string for dev name
    7e48d635f274 riscv: fix kprobe __user string arg print fault issue
    14e4f37e46e6 soundwire: stream: Add missing clear of alloc_slave_rt
    e17734900a88 eeprom: at24: also select REGMAP
    67180e079b32 riscv: mm: Ensure prot of VM_WRITE and VM_EXEC must be readable
    e4b76cd7713c i2c: sprd: Delete i2c adapter in .remove's error path
    c53f2e8462f3 gpio: sim: fix memory corruption when adding named lines and unnamed hogs
    410689432880 firmware: arm_ffa: Set handle field to zero in memory descriptor
    f24cb5a04270 i2c: mv64xxx: Fix reading invalid status value in atomic mode
    8e64012c0348 arm64: dts: imx8mn-beacon: Fix SPI CS pinmux
    b64bbe8b1a45 blk-mq: fix blk_mq_hw_ctx active request accounting
    c3d87d415f7c ASoC: simple-card-utils: fix PCM constraint error check
    c0f9f799bac6 ASoC: mediatek: mt8195: fix use-after-free in driver remove path
    50f2160afbb8 ASoC: mediatek: mt8195-afe-pcm: Convert to platform remove callback returning void
    370711d7f0c1 arm64: dts: imx8-ss-dma: assign default clock rate for lpuarts
    efe115560a29 arm64: dts: imx8qm-mek: correct GPIOs for USDHC2 CD and WP signals
    5a607e53f208 arm64: dts: qcom: sc7180-lite: Fix SDRAM freq for misidentified sc7180-lite boards
    037449ce1c04 ASoC: codecs: wsa881x: do not set can_multi_write flag
    8b13854f26f2 ASoC: codecs: wsa883x: do not set can_multi_write flag
    58ab8a0ff81d ARM: dts: at91: sama7g5ek: fix debounce delay property for shdwc
    4b8ebe5393ed ARM: at91: pm: fix imbalanced reference counter for ethernet devices
    c97f30d215d8 arm64: dts: qcom: sc8280xp: Flush RSC sleep & wake votes
    df9bc25d13c1 mm: page_table_check: Ensure user pages are not slab pages
    08378f0314ce mm: page_table_check: Make it dependent on EXCLUSIVE_SYSTEM_RAM
    3901170529a7 usb: usbfs: Use consistent mmap functions
    80e29f11be69 usb: usbfs: Enforce page requirements for mmap
    42a7314f2b84 pinctrl: meson-axg: add missing GPIOA_18 gpio group
    fdeb7129298b soc: qcom: icc-bwmon: fix incorrect error code passed to dev_err_probe()
    30c26b985c3e virtio_net: use control_buf for coalesce params
    222a6bc8a7c6 rbd: get snapshot context after exclusive lock is ensured to be held
    d647ee673c4d rbd: move RBD_OBJ_FLAG_COPYUP_ENABLED flag setting
    939f00e4825d tee: amdtee: Add return_origin to 'struct tee_cmd_load_ta'
    d088bea08ac0 Bluetooth: hci_qca: fix debugfs registration
    e5ae01fd46a3 Bluetooth: fix debugfs registration
    a5490d6a742c Bluetooth: Fix use-after-free in hci_remove_ltk/hci_remove_irk
    1e1e2ee0cf7f s390/dasd: Use correct lock while counting channel queue length
    6f5c0eec89fc ceph: fix use-after-free bug for inodes when flushing capsnaps
    443cf752f73b selftests: mptcp: update userspace pm subflow tests
    8f0ba8ec18f5 selftests: mptcp: update userspace pm addr tests
    3fa051b18fc6 mptcp: update userspace pm infos
    9b7fa33fda0f mptcp: add address into userspace pm list
    d80a36ad400e mptcp: only send RM_ADDR in nl_cmd_remove
    e0b04a9f97dd can: j1939: avoid possible use-after-free when j1939_can_rx_register fails
    8a46c4a2bcd7 can: j1939: change j1939_netdev_lock type to mutex
    db15e90a8c3b can: j1939: j1939_sk_send_loop_abort(): improved error queue handling in J1939 Socket
    727964650a12 wifi: iwlwifi: mvm: Fix -Warray-bounds bug in iwl_mvm_wait_d3_notif()
    8953be60ec33 drm/amd/display: Reduce sdp bw after urgent to 90%
    8695a443ad8f drm/amd/pm: Fix power context allocation in SMU13
    8e143bae25cd drm/amdgpu: change reserved vram info print
    34419aa0b448 drm/amdgpu: fix xclk freq on CHIP_STONEY
    416ba40ff3c4 drm/amd/pm: conditionally disable pcie lane switching for some sienna_cichlid SKUs
    8d42c563e4dd drm/i915/gt: Use the correct error value when kernel_context() fails
    b40b34913280 ALSA: hda/realtek: Add quirks for Asus ROG 2024 laptops using CS35L41
    b1acff11b674 ALSA: hda/realtek: Add Lenovo P3 Tower platform
    63211350630b ALSA: hda/realtek: Add a quirk for HP Slim Desktop S01
    0df0097ea2d5 ALSA: ice1712,ice1724: fix the kcontrol->id initialization
    caad8a0a10c3 ALSA: hda/realtek: Add quirk for Clevo NS50AU
    3454490e0396 ALSA: cmipci: Fix kctl->id initialization
    c35034fd6446 ALSA: gus: Fix kctl->id initialization
    1f6c520932bc ALSA: ymfpci: Fix kctl->id initialization
    be0b9b7a6d77 ALSA: hda: Fix kctl->id initialization
    c8a46f39dd27 Input: fix open count when closing inhibited device
    f9172a0bb57d Input: psmouse - fix OOB access in Elantech protocol
    00b59734f504 Input: xpad - delete a Razer DeathAdder mouse VID/PID entry
    32c2c234bc2f batman-adv: Broken sync while rescheduling delayed work
    f9b9c8469621 bnxt_en: Implement .set_port / .unset_port UDP tunnel callbacks
    abc706231372 bnxt_en: Prevent kernel panic when receiving unexpected PHC_UPDATE event
    5ce24936d560 bnxt_en: Skip firmware fatal error recovery if chip is not accessible
    5fc86a4580da bnxt_en: Query default VLAN before VNIC setup on a VF
    53a0c6d5c929 bnxt_en: Don't issue AP reset during ethtool's reset operation
    5df74018d1e6 net: bcmgenet: Fix EEE implementation
    d4925800a49c lib: cpu_rmap: Fix potential use-after-free in irq_cpu_rmap_release()
    c5a17f3247bd drm/amdgpu: fix Null pointer dereference error in amdgpu_device_recover_vram
    dbc880567adf bpf: Add extra path pointer check to d_path helper
    06177b92902d net: sched: fix possible refcount leak in tc_chain_tmplt_add()
    e582ceda5a16 net: sched: act_police: fix sparse errors in tcf_police_dump()
    60f39768efa5 net: sched: move rtm_tca_policy declaration to include file
    76eef453a675 drm/i915/selftests: Add some missing error propagation
    4e7f1f6da79e drm/i915/selftests: Stop using kthread_stop()
    9d9a38b5639f net: sched: add rcu annotations around qdisc->qdisc_sleeping
    8a74ea37e1ab rfs: annotate lockless accesses to RFS sock flow table
    3d9eface2eee rfs: annotate lockless accesses to sk->sk_rxhash
    f8e6aa0e6056 tcp: gso: really support BIG TCP
    251b5d68ac47 ipv6: rpl: Fix Route of Death.
    65f2def20662 netfilter: nf_tables: out-of-bound check in chain blob
    fea199dbf6c1 netfilter: ipset: Add schedule point in call_ad().
    f057da51c076 netfilter: conntrack: fix NULL pointer dereference in nf_confirm_cthelper
    1f26ea49a5c0 netfilter: nft_bitwise: fix register tracking
    81e11b6c1ad0 selftests/bpf: Fix sockopt_sk selftest
    1ba03535451f selftests/bpf: Verify optval=NULL case
    0d18f8b90b8a wifi: cfg80211: fix locking in sched scan stop work
    4a64e92846fa qed/qede: Fix scheduling while atomic
    79c975514cf1 wifi: mac80211: don't translate beacon/presp addrs
    4dd40fec5bf2 wifi: mac80211: mlme: fix non-inheritence element
    8b6ab4bfba6f wifi: cfg80211: reject bad AP MLD address
    434cf4fbee4e wifi: mac80211: use correct iftype HE cap
    3e8a7573ff9f Bluetooth: L2CAP: Add missing checks for invalid DCID
    66b3f7425a9c Bluetooth: ISO: don't try to remove CIG if there are bound CIS left
    9c7e51b94709 Bluetooth: Fix l2cap_disconnect_req deadlock
    17aac1200222 Bluetooth: hci_sync: add lock to protect HCI_UNREGISTER
    5f285409c91b drm/i915: Use 18 fast wake AUX sync len
    7bf7bebdc20d drm/i915: Explain the magic numbers for AUX SYNC/precharge length
    1d37434ffc13 net/sched: fq_pie: ensure reasonable TCA_FQ_PIE_QUANTUM values
    a22c0a034630 net: enetc: correct rx_bytes statistics of XDP
    b3fc768a746b net: enetc: correct the statistics of rx bytes
    7a5cdd4bc1c3 net/smc: Avoid to access invalid RMBs' MRs in SMCRv1 ADD LINK CONT
    76e38e6e1b35 net/ipv6: fix bool/int mismatch for skip_notify_on_dev_down
    3849e7fcea20 bpf: Fix elem_size not being set for inner maps
    d7612a922b21 bpf: Fix UAF in task local storage
    9166225c3b2d net/ipv4: ping_group_range: allow GID from 2147483648 to 4294967294
    332f36a09c4c net: dsa: lan9303: allow vid != 0 in port_fdb_{add|del} methods
    8af3119388c4 neighbour: fix unaligned access to pneigh_entry
    898c9a0ee715 bpf, sockmap: Avoid potential NULL dereference in sk_psock_verdict_data_ready()
    e783f639b8fb wifi: mt76: mt7615: fix possible race in mt7615_mac_sta_poll
    84c699681a29 afs: Fix setting of mtime when creating a file/dir/symlink
    fb7058dd0249 spi: qup: Request DMA before enabling clocks
    ec2e12b14aa0 platform/surface: aggregator_tabletsw: Add support for book mode in KIP subsystem
    24845da026b8 platform/surface: aggregator: Allow completion work-items to be executed in parallel
    31c3de5f7b70 spi: mt65xx: make sure operations completed before unloading
    097acf0aa622 net: sfp: fix state loss when updating state_hw_mask
    ec3ce2c7cf8d scsi: megaraid_sas: Add flexible array member for SGLs

(From OE-Core rev: d082765fed01c0f1162f062ed360fef53a864735)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c90a7f3d93b5dd980ad68d0e59540f564da57aa5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Bruce Ashfield
9a64c95df7 linux-yocto/6.1: fix intermittent x86 boot hangs
The commit in question appeared as -stable backport in 6.1.28, which is
where we started to see intermittent boot hangs on x86.

Richard noted that others are seeing this is well, as can be seen in
this thread:

    https://lkml.org/lkml/2023/6/13/1460

We bump our SRCREVs to pick up the revert:

    947f660bde07 Revert "tick/common: Align tick period with the HZ tick."

(From OE-Core rev: 10e7c5c2aadbc14b9ec56322595826707bb92316)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 73b7f36e51de39ed19dfd3cd253be1876db60ca4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Bruce Ashfield
a3edcf3d7e linux-yocto/6.1: update to v6.1.33
Updating  to the latest korg -stable release that comprises
the following commits:

    2f3918bc53fb Linux 6.1.33
    c3fcfe8931e1 ext4: enable the lazy init thread when remounting read/write
    84683a2cf5ed selftests: mptcp: join: avoid using 'cmp --bytes'
    fbb6db561dd4 selftests: mptcp: simult flows: skip if MPTCP is not supported
    4bc022b95392 selftests: mptcp: diag: skip if MPTCP is not supported
    e8631d84c01e arm64: efi: Use SMBIOS processor version to key off Ampere quirk
    b026755cc9a8 tls: rx: strp: don't use GFP_KERNEL in softirq context
    a2961463d74f xfs: verify buffer contents when we skip log replay
    4042d7ad40f1 drm/amd/display: Have Payload Properly Created After Resume
    4a9d63181f8d iommu/amd/pgtbl_v2: Fix domain max address
    3264d875f58a tpm, tpm_tis: Request threaded interrupt handler
    77ee4f8c02b8 regmap: Account for register length when chunking
    a8eaa9a06add fs/ntfs3: Validate MFT flags before replaying logs
    0b28edf227e3 KEYS: asymmetric: Copy sig and digest in public_key_verify_signature()
    4f303c0b9d5d ksmbd: fix multiple out-of-bounds read during context decoding
    522a9417f649 ksmbd: fix slab-out-of-bounds read in smb2_handle_negotiate
    4c6bdaacb3cb ksmbd: fix incorrect AllocationSize set in smb2_get_info
    f7add4d1598a ksmbd: fix UAF issue from opinfo->conn
    8072ea674374 ksmbd: fix credit count leakage
    5f4d3810ca9c KVM: x86: Account fastpath-only VM-Exits in vCPU stats
    b1d5667afad1 KVM: arm64: Populate fault info for watchpoint
    0659aee089da test_firmware: fix the memory leak of the allocated firmware buffer
    eef67dfdc050 test_firmware: fix a memory leak with reqs buffer
    33aebb014893 powerpc/xmon: Use KSYM_NAME_LEN in array size
    97211945ef68 serial: cpm_uart: Fix a COMPILE_TEST dependency
    7493392a375c serial: 8250_tegra: Fix an error handling path in tegra_uart_probe()
    3270095f6eb5 fbcon: Fix null-ptr-deref in soft_cursor
    ef8aeffb2c50 ext4: add lockdep annotations for i_data_sem for ea_inode's
    140aa33f96d6 ext4: disallow ea_inodes with extended attributes
    277cea6f7786 ext4: set lockdep subclass for the ea_inode in ext4_xattr_inode_cache_find()
    b112babc565e ext4: add EA_INODE checking to ext4_iget()
    9ce0319b0599 mptcp: fix active subflow finalization
    977a63afd401 mptcp: fix connect timeout handling
    97ecfe67f5ca selftests: mptcp: userspace pm: skip if MPTCP is not supported
    f324df8de0b5 selftests: mptcp: sockopt: skip if MPTCP is not supported
    0fea987ccf5f selftests: mptcp: join: skip if MPTCP is not supported
    17ddf2a54eff selftests: mptcp: pm nl: skip if MPTCP is not supported
    68ecc09a148c selftests: mptcp: connect: skip if MPTCP is not supported
    3f731926a1b0 tracing/probe: trace_probe_primary_from_call(): checked list_first_entry
    7403630eb94c tracing/histograms: Allow variables to have some modifiers
    2a1195f0e085 tracing/timerlat: Always wakeup the timerlat thread
    007c04225697 mtdchar: mark bits of ioctl handler noinline
    d7c34c8f6005 selinux: don't use make's grouped targets feature yet
    6fb0b098f690 io_uring: undeprecate epoll_ctl support
    94f97b8df005 riscv: perf: Fix callchain parse error with kernel tracepoint events
    c40dc6e26646 tpm, tpm_tis: correct tpm_tis_flags enumeration values
    b0e21c42c1fb iommu/amd: Fix domain flush size when syncing iotlb
    251cf7fd5a1b powerpc/iommu: Limit number of TCEs to 512 for H_STUFF_TCE hcall
    2a72e6814f55 block: fix revalidate performance regression
    867ad8cba251 phy: qcom-qmp-pcie-msm8996: fix init-count imbalance
    5daf7a171d27 phy: qcom-qmp-combo: fix init-count imbalance
    1af8dd540347 btrfs: fix csum_tree_block page iteration to avoid tripping on -Werror=array-bounds
    380d2da555a8 tty: serial: fsl_lpuart: use UARTCTRL_TXINV to send break instead of UARTCTRL_SBK
    2c8aa1163a21 mmc: pwrseq: sd8787: Fix WILC CHIP_EN and RESETN toggling order
    f25568e0801c mmc: vub300: fix invalid response handling
    03974abbf2a1 x86/mtrr: Revert 90b926e68f50 ("x86/pat: Fix pat_x_mtrr_type() for MTRR disabled case")
    8db2ea7b80d6 drm/amd/pm: reverse mclk and fclk clocks levels for renoir
    f05f3fcc7824 drm/amd/pm: reverse mclk and fclk clocks levels for yellow carp
    1c729bd5b30f drm/amd/pm: reverse mclk clocks levels for SMU v13.0.5
    0f8f233ed767 drm/amd/pm: resolve reboot exception for si oland
    e0a0f5d2ba59 drm/amd/pm: reverse mclk and fclk clocks levels for vangogh
    00abb872ef0f drm/amd/pm: reverse mclk and fclk clocks levels for SMU v13.0.4
    2f91f92bd870 drm/amdgpu: enable tmz by default for GC 11.0.1
    009886965e04 ata: libata-scsi: Use correct device no in ata_find_dev()
    63a44b01df36 scsi: stex: Fix gcc 13 warnings
    2e787e5153b7 misc: fastrpc: reject new invocations during device removal
    93f2aa05af2d misc: fastrpc: return -EPIPE to invocations on device removal
    cbfed647fd19 md/raid5: fix miscalculation of 'end_sector' in raid5_read_one_chunk()
    704842c97aa3 usb: gadget: f_fs: Add unbind event before functionfs_unbind
    cc8c9864da69 usb: cdns3: fix NCM gadget RX speed 20x slow than expection at iMX8QM
    08e8ff68a3f6 dt-bindings: usb: snps,dwc3: Fix "snps,hsphy_interface" type
    ef12610ff5fa net: usb: qmi_wwan: Set DTR quirk for BroadMobi BM818
    3cfdc3fc1801 iio: dac: build ad5758 driver when AD5758 is selected
    f453753900e9 iio: adc: stm32-adc: skip adc-diff-channels setup if none is present
    735d033bedc3 iio: adc: ad7192: Change "shorted" channels to differential
    84f4d63ae184 iio: addac: ad74413: fix resistance input processing
    ab0c2dffe80f iio: dac: mcp4725: Fix i2c_master_send() return value handling
    89f92d435352 iio: adc: ad_sigma_delta: Fix IRQ issue by setting IRQ_DISABLE_UNLAZY flag
    2eb269605113 iio: adc: stm32-adc: skip adc-channels setup if none is present
    54d737d79672 iio: light: vcnl4035: fixed chip ID check
    2896a356ed07 dt-bindings: iio: adc: renesas,rcar-gyroadc: Fix adi,ad7476 compatible value
    cb2a612c397d iio: imu: inv_icm42600: fix timestamp reset
    3fb021f5c114 HID: wacom: avoid integer overflow in wacom_intuos_inout()
    254be1f64819 HID: google: add jewel USB id
    23c241676f32 iio: adc: mxs-lradc: fix the order of two cleanup operations
    b6867ce5fb35 iio: accel: st_accel: Fix invalid mount_matrix on devices without ACPI _ONT method
    47cc3cae303c media: uvcvideo: Don't expose unsupported formats to userspace
    4d776371127e drivers: base: cacheinfo: Fix shared_cpu_map changes in event of CPU hotplug
    7d233f93594f mailbox: mailbox-test: fix a locking issue in mbox_test_message_write()
    4124000cf4c5 media: mediatek: vcodec: Only apply 4K frame sizes on decoder formats
    bafe94ac9950 KVM: arm64: vgic: Fix locking comment
    150a5f74a597 KVM: arm64: vgic: Wrap vgic_its_create() with config_lock
    4129d71e5bda KVM: arm64: vgic: Fix a circular locking issue
    7df6008b8726 block: Deny writable memory mapping if block is read-only
    16ddd3bc6741 nvme-pci: Add quirk for Teamgroup MP33 SSD
    a731273f3c22 ublk: fix AB-BA lockdep warning
    68ce1d57e52c drm/amdgpu: skip disabling fence driver src_irqs when device is unplugged
    baa8901ad70d ceph: silence smatch warning in reconnect_caps_cb()
    56e5d63e4e2d atm: hide unused procfs functions
    47d0f626795f drm/msm: Be more shouty if per-process pgtables aren't working
    c62a9a6bea0c ALSA: oss: avoid missing-prototype warnings
    e4f1532a9cd9 nvme: do not let the user delete a ctrl before a complete initialization
    f481c2af4916 nvme-multipath: don't call blk_mark_disk_dead in nvme_mpath_remove_disk
    d0013470677f netfilter: conntrack: define variables exp_nat_nla_policy and any_addr with CONFIG_NF_NAT
    def67e27f2b7 net: wwan: t7xx: Ensure init is completed before system sleep
    ae72bd1a4b04 wifi: b43: fix incorrect __packed annotation
    c061e13c7297 scsi: core: Decrease scsi_device's iorequest_cnt if dispatch failed
    7402fb48efff wifi: iwlwifi: mvm: Add locking to the rate read flow
    788f129f6370 wifi: mac80211: recalc chanctx mindef before assigning
    a03460061164 wifi: mac80211: consider reserved chanctx for mindef
    aefa37aa32cb wifi: mac80211: simplify chanctx allocation
    bdd97c99b346 arm64: vdso: Pass (void *) to virt_to_page()
    6bf0f6bfcd35 arm64/mm: mark private VM_FAULT_X defines as vm_fault_t
    e0b5316e2ead ARM: dts: stm32: add pin map for CAN controller on stm32f7
    de16dfe7cab5 wifi: rtl8xxxu: fix authentication timeout due to incorrect RCR value
    329da6d07cc9 ACPI: resource: Add IRQ override quirk for LG UltraPC 17U70P
    905b247f6e13 s390/topology: honour nr_cpu_ids when adding CPUs
    26cfe2faa82d s390/pkey: zeroize key blobs
    9f2f538cd8c3 ASoC: SOF: pm: save io region state in case of errors in resume
    eb708aee4126 ASoC: SOF: sof-client-probes: fix pm_runtime imbalance in error handling
    1cc6301dfcd2 ASoC: SOF: pcm: fix pm_runtime imbalance in error handling
    a6637d5a8f19 ASoC: SOF: debug: conditionally bump runtime_pm counter on exceptions
    d5d61f747e3f media: dvb-core: Fix use-after-free due to race condition at dvb_ca_en50221
    d0088ea444e6 media: dvb-core: Fix kernel WARNING for blocking operation in wait_event*()
    4a8ecfb2207c media: dvb-core: Fix use-after-free due to race at dvb_register_device()
    93b5dfebcb18 media: dvb-core: Fix use-after-free due on race condition at dvb_net
    bf3b6f82fd4c media: mn88443x: fix !CONFIG_OF error by drop of_match_ptr from ID table
    ea2938c27b02 media: ttusb-dec: fix memory leak in ttusb_dec_exit_dvb()
    dd6839936115 media: dvb_ca_en50221: fix a size write bug
    058822591b78 media: netup_unidvb: fix irq init by register it at the end of probe
    b769fbf04a91 media: dvb-usb: dw2102: fix uninit-value in su3000_read_mac_address
    5d2923fb0b72 media: dvb-usb: digitv: fix null-ptr-deref in digitv_i2c_xfer()
    6906e613e6b7 media: dvb-usb-v2: rtl28xxu: fix null-ptr-deref in rtl28xxu_i2c_xfer
    4e896b226311 media: dvb-usb-v2: ce6230: fix null-ptr-deref in ce6230_i2c_master_xfer()
    336ca9b37104 media: dvb-usb-v2: ec168: fix null-ptr-deref in ec168_i2c_xfer()
    1027c8c068f0 media: dvb-usb: az6027: fix three null-ptr-deref in az6027_i2c_xfer()
    8914ae00db45 media: dvb_demux: fix a bug for the continuity counter
    59dad726de2d ASoC: ssm2602: Add workaround for playback distortions
    7fbdd3bd7bbf ALSA: hda/realtek: Add quirks for ASUS GU604V and GU603V
    603f239216ca ASoC: dt-bindings: Adjust #sound-dai-cells on TI's single-DAI codecs
    f6d2aa322ca7 xfrm: Check if_id in inbound policy/secpath match
    40798c566b56 um: harddog: fix modular build
    c03dd9390514 ASoC: dwc: limit the number of overrun messages
    0960fb87cdaf ASoC: amd: yc: Add DMI entry to support System76 Pangolin 12
    7d98a36b101f nvme-pci: add quirk for missing secondary temperature thresholds
    53786bfadc43 nvme-pci: add NVME_QUIRK_BOGUS_NID for HS-SSD-FUTURE 2048G
    46193dd43dce block/rnbd: replace REQ_OP_FLUSH with REQ_OP_WRITE
    5af920e4d1d1 nbd: Fix debugfs_create_dir error checking
    f83c32ed05d4 fbdev: stifb: Fix info entry in sti_struct on error path
    be2aefa202a5 fbdev: modedb: Add 1920x1080 at 60 Hz video mode
    c6c0a9f61958 fbdev: imsttfb: Fix use after free bug in imsttfb_probe
    3e336ad6f517 drm/amdgpu: set gfx9 onwards APU atomics support to be true
    5ae4a618a155 gfs2: Don't deref jdesc in evict
    61c3962ab1f9 platform/mellanox: fix potential race in mlxbf-tmfifo driver
    809efd7a69a4 platform/x86: intel_scu_pcidrv: Add back PCI ID for Medfield
    18913fc7c1dd media: rcar-vin: Select correct interrupt mode for V4L2_FIELD_ALTERNATE
    705f4dcc41c2 hwmon: (k10temp) Add PCI ID for family 19, model 78h
    6578e0f196e8 ARM: 9295/1: unwind:fix unwind abort for uleb128 case
    0433baa89318 btrfs: abort transaction when sibling keys check fails for leaves
    e2d161c539a4 drm/ast: Fix ARM compatibility
    cad1abbe488d mailbox: mailbox-test: Fix potential double-free in mbox_test_message_write()
    88a042d599c3 drm/amdgpu: Use the default reset when loading or reloading the driver
    6a40da600750 ASoC: Intel: soc-acpi-cht: Add quirk for Nextbook Ares 8A tablet
    a7ec48a419fe ALSA: hda: Glenfly: add HD Audio PCI IDs and HDMI Codec Vendor IDs.
    867dae554780 watchdog: menz069_wdt: fix watchdog initialisation
    787e74b21394 drm/amdgpu: release gpu full access after "amdgpu_device_ip_late_init"
    e2feb39312a6 mptcp: add annotations around sk->sk_shutdown accesses
    0b9e6d64cd10 mptcp: fix data race around msk->first access
    519f16d96c2d mptcp: consolidate passive msk socket initialization
    fa2cbd1d689a mptcp: simplify subflow_syn_recv_sock()
    9872e8c63252 mptcp: avoid unneeded address copy
    1b9e3ab669a3 mptcp: add annotations around msk->subflow accesses
    c5ebb5cec9fb mptcp: avoid unneeded __mptcp_nmpc_socket() usage
    ea9d7382d5d3 rtnetlink: call validate_linkmsg in rtnl_create_link
    62dcac528be7 mtd: rawnand: marvell: don't set the NAND frequency select
    2187cb72b98b mtd: rawnand: marvell: ensure timing values are written
    a0843347a96a net: dsa: mv88e6xxx: Increase wait after reset deactivation
    c3fc733798c7 tcp: fix mishandling when the sack compression is deferred.
    eac615ed3c6d net/sched: flower: fix possible OOB write in fl_set_geneve_opt()
    4fc2724f445f iommu/mediatek: Flush IOTLB completely only if domain has been attached
    9316fdd57f25 net/mlx5: Read embedded cpu after init bit cleared
    4156c6ff331a net/mlx5e: Fix error handling in mlx5e_refresh_tirs
    7c3e271626d1 nvme: fix the name of Zone Append for verbose logging
    4e5a5cda3dfd nfsd: fix double fget() bug in __write_ports_addfd()
    401a1cf50bfa udp6: Fix race condition in udp6_sendmsg & connect
    507182f132a8 net/netlink: fix NETLINK_LIST_MEMBERSHIPS length report
    5c05ef3630ca net: sched: fix NULL pointer dereference in mq_attach
    f8884108a2fe net/sched: Prohibit regrafting ingress or clsact Qdiscs
    be3e1f71cb6f net/sched: Reserve TC_H_INGRESS (TC_H_CLSACT) for ingress (clsact) Qdiscs
    1ec1434630b3 net/sched: sch_clsact: Only create under TC_H_CLSACT
    89a0f4dcae43 net/sched: sch_ingress: Only create under TC_H_INGRESS
    d67a5a587c45 net/smc: Don't use RMBs not mapped to new link in SMCRv2 ADD LINK
    8c3ec8e7895e net/smc: Scan from current RMB list when no position specified
    752836e1a206 tcp: Return user_mss for TCP_MAXSEG in CLOSE/LISTEN state if user_mss set
    c2251ce0483d tcp: deny tcp_disconnect() when threads are waiting
    0dec22a09da1 af_packet: do not use READ_ONCE() in packet_bind()
    906134664f33 RDMA/irdma: Fix Local Invalidate fencing
    07322c8a12d6 RDMA/irdma: Prevent QP use after free
    3cf774741459 mtd: rawnand: ingenic: fix empty stub helper definitions
    789394f1df8b perf ftrace latency: Remove unnecessary "--" from --use-nsec option
    7164961a9ce0 amd-xgbe: fix the false linkup in xgbe_phy_status
    d615070b0eb8 tls: improve lockless access safety of tls_err_abort()
    0b64a2bf1699 af_packet: Fix data-races of pkt_sk(sk)->num.
    a2c2364e5f53 netrom: fix info-leak in nr_write_internal()
    ae0ef97f1e2b net: mellanox: mlxbf_gige: Fix skb_panic splat under memory pressure
    724aa4fd9e36 net/mlx5e: Don't attach netdev profile while handling internal error
    9c7ae143a01b net/mlx5: fw_tracer, Fix event handling
    e73b7de4bf96 net/mlx5: SF, Drain health before removing device
    9e49af9766ec net/mlx5: Drain health before unregistering devlink
    ddd8d552a8f8 riscv: Fix unused variable warning when BUILTIN_DTB is set
    72fef70abe18 dmaengine: pl330: rename _start to prevent build error
    bd424277a1f8 nfsd: make a copy of struct iattr before calling notify_change
    dac09fec5b57 iommu/amd: Fix up merge conflict resolution
    817ce9b1d27e iommu/amd: Handle GALog overflows
    c3ff24625a42 iommu/amd: Don't block updates to GATag if guest mode is on
    bf1f3f4aa47d iommu/rockchip: Fix unwind goto issue
    0021441cbbf0 RDMA/bnxt_re: Fix return value of bnxt_re_process_raw_qp_pkt_rx
    dcaa61b73d9c RDMA/bnxt_re: Fix a possible memory leak
    44fc5eb0e267 dmaengine: at_xdmac: fix potential Oops in at_xdmac_prep_interleaved()
    ef8c7616939d RDMA/hns: Modify the value of long message loopback slice
    736e1c4e54e9 RDMA/hns: Fix base address table allocation
    38771c0eefa6 RDMA/hns: Fix timeout attr in query qp for HIP08
    241de3fec11f RDMA/efa: Fix unsupported page sizes in device
    21c0eb064890 phy: amlogic: phy-meson-g12a-mipi-dphy-analog: fix CNTL2_DIF_TX_CTL0 value
    836f874d43ed RDMA/bnxt_re: Fix the page_size used during the MR creation

(From OE-Core rev: 4d917000b7a292412b7f86cfebe5905011d18dbf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 15db724866a3f4fb8fba4f494b4583cdf5fb7c22)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Bruce Ashfield
85bfd3e1b6 linux-yocto/5.15: cfg: fix DECNET configuration warning
-stable merged the DECNET removal to 5.15, so we integrate
the following kernel-cache commit to fix the kernel configuration
audit warning:

    b647d9611cb base: drop CONFIG_DECNET

(From OE-Core rev: 06ef70ac1fa8201c5b46050e098ebea3b1423f9f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Bruce Ashfield
b3a6f57775 linux-yocto/5.15: update to v5.15.118
Updating  to the latest korg -stable release that comprises
the following commits:

    f67653019430 Linux 5.15.118
    e5bf1f7d1fc8 nilfs2: reject devices with insufficient block count
    2bc9231afc64 mmc: block: ensure error propagation for non-blk
    4b7b50d4eb1a of: overlay: add entry to of_overlay_action_name[]
    84770cc54eff neighbour: delete neigh_lookup_nodev as not used
    41806518254c net: Remove DECnet leftovers from flow.h.
    4c39a2414a23 net: Remove unused inline function dst_hold_and_use()
    bb76281b6e61 neighbour: Remove unused inline function neigh_key_eq16()
    67866cad7624 rcu/kvfree: Avoid freeing new kfree_rcu() memory after old grace period
    c91ed3a5c2ab cgroup: always put cset in cgroup_css_set_put_fork
    33b801be2de1 afs: Fix vlserver probe RTT handling
    f824bcc3e14b selftests/ptp: Fix timestamp printf format for PTP_SYS_OFFSET
    2077c7dbfe29 net: tipc: resize nlattr array to correct size
    f734e16ee17f dm: don't lock fs when the map is NULL during suspend or resume
    8a8179f6a345 net: lapbether: only support ethernet devices
    052417e8b3ac net/sched: cls_api: Fix lockup on flushing explicitly created chain
    c0cb9d453fd1 ext4: drop the call to ext4_error() from ext4_get_group_info()
    eb4ccc102d5f cifs: fix lease break oops in xfstest generic/098
    1cb181271eab drm/nouveau: add nv_encoder pointer check for NULL
    c79dccc263db drm/nouveau/dp: check for NULL nv_connector->native_mode
    909b7f7497cc drm/nouveau: don't detect DSM for non-NVIDIA device
    10e1e07bdea4 igb: fix nvm.ops.read() error handling
    fe03fd373ca6 igc: Clean the TX buffer and TX descriptor ring
    032b8cbeb19c sctp: fix an error code in sctp_sf_eat_auth()
    981e78781a96 ipvlan: fix bound dev checking for IPv6 l3s mode
    3e76522d1a6d net: ethtool: correct MAX attribute value for stats
    18512de74454 IB/isert: Fix incorrect release of isert connection
    63e9e7198374 IB/isert: Fix possible list corruption in CMA handler
    29ff057c0a50 IB/isert: Fix dead lock in ib_isert
    fced7aaaa38f IB/uverbs: Fix to consider event queue closing also upon non-blocking mode
    cd44977ecc94 RDMA/cma: Always set static rate to 0 for RoCE
    5a9dee176b4b RDMA/mlx5: Initiate dropless RQ for RAW Ethernet functions
    35828874aa9f octeontx2-af: fix lbk link credits on cn10k
    7506e77357da octeontx2-af: fixed resource availability check
    4dd914b9e2f9 iavf: remove mask from iavf_irq_enable_queues()
    e6342cd13d39 RDMA/rxe: Fix the use-before-initialization error of resp_pkts
    466f25fd2d9b RDMA/rxe: Removed unused name from rxe_task struct
    13d087b3587b RDMA/rxe: Remove the unused variable obj
    0e1098d72fa4 net/sched: cls_u32: Fix reference counter leak leading to overflow
    d56661cd8d55 net/sched: act_pedit: Parse L3 Header for L4 offset
    17b330b78244 net/sched: act_pedit: remove extra check for key type
    219b8e98387f net/sched: simplify tcf_pedit_act
    688e6db59661 ping6: Fix send to link-local addresses with VRF.
    471a4c08e30e net: enetc: correct the indexes of highest and 2nd highest TCs
    44ebe988cb38 netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE
    133b73d85343 netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM
    e4188f8b8134 netfilter: nf_tables: integrate pipapo into commit protocol
    4da9d4e74033 spi: fsl-dspi: avoid SCK glitches with continuous transfers
    08acd41bb15a RDMA/rxe: Fix packet length checks
    01f6f867adc7 RDMA/rtrs: Fix rxe_dealloc_pd warning
    01bbead3098b RDMA/rtrs: Fix the last iu->buf leak in err path
    1938f080a183 usb: dwc3: gadget: Reset num TRBs before giving back the request
    ed0295504905 serial: lantiq: add missing interrupt ack
    235845b576c5 USB: serial: option: add Quectel EM061KGL series
    e05e9cca7797 thunderbolt: Mask ring interrupt on Intel hardware as well
    0bd227610c83 thunderbolt: dma_test: Use correct value for absent rings when creating paths
    2a974abc0976 Remove DECnet support from kernel
    28010d3a9a22 ALSA: hda/realtek: Add a quirk for Compaq N14JP6
    203a01ae5732 drm/amdgpu: add missing radeon secondary PCI ID
    b1b64a76b775 drm/amd/display: edp do not add non-edid timings
    98c8c0f2b3a5 net: usb: qmi_wwan: add support for Compal RXM-G1
    fd81222d1a69 RDMA/uverbs: Restrict usage of privileged QKEYs
    14c30c2439dc nouveau: fix client work fence deletion race
    f4c5eebb37a2 dm thin metadata: check fail_io before using data_sm
    ee09c0b1b0f4 ALSA: usb-audio: Add quirk flag for HEM devices to enable native DSD playback
    953cc0bf2d5b powerpc/purgatory: remove PGO flags
    faf45f2c5e62 x86/purgatory: remove PGO flags
    d38e051ec6fd kexec: support purgatories with .text.hot sections
    4357336192ed nilfs2: fix possible out-of-bounds segment allocation in resize ioctl
    74ea184af91a nilfs2: fix incomplete buffer cleanup in nilfs_btnode_abort_change_key()
    941e7452dfc8 nios2: dts: Fix tse_mac "max-frame-size" property
    8a8efde4a735 ocfs2: check new file size on fallocate call
    559b7a0d9f0d ocfs2: fix use-after-free when unmounting read-only filesystem
    8262a9f3b801 epoll: ep_autoremove_wake_function should use list_del_init_careful
    c0a242295569 wifi: cfg80211: fix double lock bug in reg_wdev_chan_valid()
    1a65bac4edf9 wifi: cfg80211: fix locking in regulatory disconnect
    0e388fce7aec io_uring: hold uring mutex around poll removal
    27825a6da78b irqchip/gic: Correctly validate OF quirk descriptors
    f50018e2dd87 NVMe: Add MAXIO 1602 to bogus nid list.
    4204b539ca73 drm:amd:amdgpu: Fix missing buffer object unlock in failure path
    7cb02d5dc2e2 xen/blkfront: Only check REQ_FUA for writes
    a75928bb929a ASoC: dwc: move DMA init to snd_soc_dai_driver probe()
    37f7864c1791 mips: Move initrd_start check after initrd address sanitisation.
    0d6e6542946d MIPS: Alchemy: fix dbdma2
    1907b6148f86 MIPS: unhide PATA_PLATFORM
    8f50d247b5dc parisc: Flush gatt writes and adjust gatt mask in parisc_agp_mask_memory()
    717368977b8e parisc: Improve cache flushing for PCXL in arch_sync_dma_for_cpu()
    7e85809d2782 ASoC: soc-pcm: test if a BE can be prepared
    68086376a1d2 btrfs: handle memory allocation failure in btrfs_csum_one_bio
    39ea94952625 btrfs: scrub: try harder to mark RAID56 block groups read-only
    9df872ec4a22 power: supply: Fix logic checking if system is running from battery
    42e6a4a1e085 irqchip/gic-v3: Disable pseudo NMIs on Mediatek devices w/ firmware issues
    2105f2fa5791 regulator: Fix error checking for debugfs_create_dir
    91b3d6aa0722 platform/x86: asus-wmi: Ignore WMI events with codes 0x7B, 0xC0
    c845ec79c3cf power: supply: Ratelimit no data debug output
    19d09d31dae5 tools: gpio: fix debounce_period_us output of lsgpio
    c11bb961ca4d ARM: dts: vexpress: add missing cache properties
    36fdd1d5b40e power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule()
    3b86c54e6ebe power: supply: sc27xx: Fix external_power_changed race
    200d8ad44e04 power: supply: ab8500: Fix external_power_changed race
    48992b928785 of: overlay: Fix missing of_node_put() in error case of init_overlay_changeset()
    282f0c63cf53 of: overlay: rework overlay apply and remove kfree()s
    5f306cbfa52b of: overlay: rename variables to be consistent
    1cc40dccad76 drm/amdgpu: fix Null pointer dereference error in amdgpu_device_recover_vram
    7cf3bf3cc033 ksmbd: fix slab-out-of-bounds read in smb2_handle_negotiate
    de091a6e1ff0 test_firmware: fix a memory leak with reqs buffer
    bfb0b366e8ec test_firmware: prevent race conditions by a correct implementation of locking
    4b5511aa0a5e test_firmware: Use kstrtobool() instead of strtobool()

(From OE-Core rev: ec3fd718ecc881ee3410a0b6434922993368ee6d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Bruce Ashfield
6868e69392 linux-yocto/5.15: update to v5.15.117
Updating  to the latest korg -stable release that comprises
the following commits:

    471e639e59d1 Linux 5.15.117
    ef876dd25830 Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE"
    6cfe9ddb6aa6 xfs: verify buffer contents when we skip log replay
    b5a52009d90e Revert "debugobject: Ensure pool refill (again)"
    3cc6805547d5 ext4: only check dquot_initialize_needed() when debugging
    86ebb5b5344d Revert "ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled"
    9945284195a9 vhost_vdpa: support PACKED when setting-getting vring_base
    17882a3556ce vhost: support PACKED when setting-getting vring_base
    d18688ff423a vduse: avoid empty string for dev name
    952d1e4cbc26 riscv: fix kprobe __user string arg print fault issue
    62958e78b757 eeprom: at24: also select REGMAP
    66b99b3bd7b1 i2c: sprd: Delete i2c adapter in .remove's error path
    58648a533a89 firmware: arm_ffa: Set handle field to zero in memory descriptor
    e1ab7ed7925d i2c: mv64xxx: Fix reading invalid status value in atomic mode
    003421fc430c arm64: dts: imx8mn-beacon: Fix SPI CS pinmux
    2a4f0ad59d3d ASoC: mediatek: mt8195: fix use-after-free in driver remove path
    cc4a2c0b1efa ASoC: mediatek: mt8195-afe-pcm: Convert to platform remove callback returning void
    036bba96bf5e arm64: dts: imx8-ss-dma: assign default clock rate for lpuarts
    d97c8306a9af arm64: dts: imx8qm-mek: correct GPIOs for USDHC2 CD and WP signals
    2212344664fb arm64: dts: qcom: sc7180-lite: Fix SDRAM freq for misidentified sc7180-lite boards
    c589ba11da5a ASoC: codecs: wsa881x: do not set can_multi_write flag
    980011869a2a ARM: dts: at91: sama7g5ek: fix debounce delay property for shdwc
    ac817e26f9df usb: usbfs: Use consistent mmap functions
    35d9f521bcc8 usb: usbfs: Enforce page requirements for mmap
    64e4a3b25338 pinctrl: meson-axg: add missing GPIOA_18 gpio group
    4124536ad924 rbd: get snapshot context after exclusive lock is ensured to be held
    1af3b16b6240 rbd: move RBD_OBJ_FLAG_COPYUP_ENABLED flag setting
    2326488a9648 tee: amdtee: Add return_origin to 'struct tee_cmd_load_ta'
    0a8e5a6166dc Bluetooth: hci_qca: fix debugfs registration
    2a7e918e2280 Bluetooth: Fix use-after-free in hci_remove_ltk/hci_remove_irk
    36482bf16fde s390/dasd: Use correct lock while counting channel queue length
    fd03b5575c8a ceph: fix use-after-free bug for inodes when flushing capsnaps
    e022640b1fee can: j1939: avoid possible use-after-free when j1939_can_rx_register fails
    67eb5a5153ab can: j1939: change j1939_netdev_lock type to mutex
    e2a6db7cab74 can: j1939: j1939_sk_send_loop_abort(): improved error queue handling in J1939 Socket
    4ce28f3ab368 drm/amd/pm: Fix power context allocation in SMU13
    2984dbacf68e drm/amdgpu: fix xclk freq on CHIP_STONEY
    77558dd16502 drm/amd/pm: conditionally disable pcie lane switching for some sienna_cichlid SKUs
    4b1bf594604c drm/i915/gt: Use the correct error value when kernel_context() fails
    17c01feed6ba ALSA: hda/realtek: Add Lenovo P3 Tower platform
    800e4c5b36bb ALSA: hda/realtek: Add a quirk for HP Slim Desktop S01
    9dab648ccd01 ALSA: hda/realtek: Add quirk for Clevo NS50AU
    cd67fdd3cc1b Input: fix open count when closing inhibited device
    2545d1b4d14f Input: psmouse - fix OOB access in Elantech protocol
    ed263c550fbd Input: xpad - delete a Razer DeathAdder mouse VID/PID entry
    5db4229b1427 batman-adv: Broken sync while rescheduling delayed work
    aedad6c7fbaf bnxt_en: Implement .set_port / .unset_port UDP tunnel callbacks
    a94401de2bc2 bnxt_en: Query default VLAN before VNIC setup on a VF
    cf0a3e94674d bnxt_en: Don't issue AP reset during ethtool's reset operation
    40d074f7e490 lib: cpu_rmap: Fix potential use-after-free in irq_cpu_rmap_release()
    b6b1799c37c3 bpf: Add extra path pointer check to d_path helper
    a242c6a92ce6 net: sched: fix possible refcount leak in tc_chain_tmplt_add()
    d7c69f7b8383 net: sched: act_police: fix sparse errors in tcf_police_dump()
    e7e0f9497421 net: sched: move rtm_tca_policy declaration to include file
    c5e0a2f49c5a drm/i915/selftests: Add some missing error propagation
    234f0337b439 drm/i915/selftests: Stop using kthread_stop()
    1f942073e164 drm/i915/selftests: Increase timeout for live_parallel_switch
    3604ab1519ef rfs: annotate lockless accesses to RFS sock flow table
    2501f5a95511 rfs: annotate lockless accesses to sk->sk_rxhash
    dd5296e3b21b ipv6: rpl: Fix Route of Death.
    eab6cda0bfd7 netfilter: ipset: Add schedule point in call_ad().
    7b053b2e8c96 netfilter: conntrack: fix NULL pointer dereference in nf_confirm_cthelper
    34d67ecf3dcc selftests/bpf: Fix sockopt_sk selftest
    01363bf8efe5 selftests/bpf: Verify optval=NULL case
    7e74801e1bfb wifi: cfg80211: fix locking in sched scan stop work
    6c25c96a4634 qed/qede: Fix scheduling while atomic
    668c3f9514f0 Bluetooth: L2CAP: Add missing checks for invalid DCID
    53c056ccda02 Bluetooth: Fix l2cap_disconnect_req deadlock
    c16e79e27e90 drm/i915: Use 18 fast wake AUX sync len
    567873901a92 drm/i915: Explain the magic numbers for AUX SYNC/precharge length
    dd40bcc357fe net/sched: fq_pie: ensure reasonable TCA_FQ_PIE_QUANTUM values
    9d66ffd8ac9e net: enetc: correct the statistics of rx bytes
    8db1acf2b131 net/smc: Avoid to access invalid RMBs' MRs in SMCRv1 ADD LINK CONT
    9b001a7d1e1a net/ipv6: fix bool/int mismatch for skip_notify_on_dev_down
    c85bee3a4ae1 bpf: Fix UAF in task local storage
    54c8aea7e888 net: dsa: lan9303: allow vid != 0 in port_fdb_{add|del} methods
    ab0eca3f5455 neighbour: fix unaligned access to pneigh_entry
    bdcc42186dd9 wifi: mt76: mt7615: fix possible race in mt7615_mac_sta_poll
    7b0c76354a6a afs: Fix setting of mtime when creating a file/dir/symlink
    8ef72e783065 spi: qup: Request DMA before enabling clocks
    f0e84db82ed3 platform/surface: aggregator: Allow completion work-items to be executed in parallel
    547da248321a blk-iocost: avoid 64-bit division in ioc_timer_fn
    3b07425c3dea f2fs: fix iostat lock protection
    b85fb01a761a bonding (gcc13): synchronize bond_{a,t}lb_xmit() types
    0dfc81a283d4 i40e: fix build warning in ice_fltr_add_mac_to_list()
    2e12542c19c2 i40e: use int for i40e_status
    81f552df075f i40e: Remove string printing for i40e_status
    d13f56d4b265 sfc (gcc13): synchronize ef100_enqueue_skb()'s return type
    a9ad05e35412 remove the sx8 block driver
    c7cf7760b9b5 gcc-plugins: Reorganize gimple includes for GCC 13
    8d00b4e329b7 ata: ahci: fix enum constants for gcc-13

(From OE-Core rev: e2c1d5814c659ffea6d1c1c658890a7a6fdb779a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Bruce Ashfield
e5204ef6ce linux-yocto/5.15: update to v5.15.116
Updating  to the latest korg -stable release that comprises
the following commits:

    7349e40704a0 Linux 5.15.116
    62886f17d3e6 RDMA/irdma: Do not generate SW completions for NOPs
    14d148401c52 RDMA/irdma: Fix drain SQ hang with no completion
    e88b19b252db ARM: defconfig: drop CONFIG_DRM_RCAR_LVDS
    a1c76e2907c1 ext4: enable the lazy init thread when remounting read/write
    76a7dfc9cc02 selftests: mptcp: join: skip if MPTCP is not supported
    807114223d3e selftests: mptcp: simult flows: skip if MPTCP is not supported
    9319c8b75ee6 selftests: mptcp: diag: skip if MPTCP is not supported
    c971ca2b9d8d drm/amdgpu/gfx10: Disable gfxoff before disabling powergating.
    7a20262fa9ee scsi: dpt_i2o: Do not process completions with invalid addresses
    daeab37ddb6f scsi: dpt_i2o: Remove broken pass-through ioctl (I2OUSERCMD)
    78a79c625265 drm/rcar: stop using 'imply' for dependencies
    4c3dda6b7cfd tpm, tpm_tis: Request threaded interrupt handler
    19750d7b575a regmap: Account for register length when chunking
    6cb7e7579a3d KEYS: asymmetric: Copy sig and digest in public_key_verify_signature()
    d56c2ab32594 ksmbd: fix incorrect AllocationSize set in smb2_get_info
    380b47932e76 ksmbd: fix credit count leakage
    8a870c07a1df KVM: x86: Account fastpath-only VM-Exits in vCPU stats
    808ed7d86ed9 test_firmware: fix the memory leak of the allocated firmware buffer
    4b7a35eb8a18 serial: 8250_tegra: Fix an error handling path in tegra_uart_probe()
    fc8ef0714161 fbcon: Fix null-ptr-deref in soft_cursor
    a0790a7739a2 ext4: add lockdep annotations for i_data_sem for ea_inode's
    a8c3024c3e46 ext4: disallow ea_inodes with extended attributes
    39a66e7a2987 ext4: set lockdep subclass for the ea_inode in ext4_xattr_inode_cache_find()
    bdbfbb7d5057 ext4: add EA_INODE checking to ext4_iget()
    efa3fe247d6b selftests: mptcp: sockopt: skip if MPTCP is not supported
    95ad73b62765 selftests: mptcp: pm nl: skip if MPTCP is not supported
    30bacfd8caf6 selftests: mptcp: connect: skip if MPTCP is not supported
    2712a1ba0597 tracing/probe: trace_probe_primary_from_call(): checked list_first_entry
    8a716b28b933 selinux: don't use make's grouped targets feature yet
    11a8e7fd7231 block: fix revalidate performance regression
    538d8504859f usb: cdns3: fix NCM gadget RX speed 20x slow than expection at iMX8QM
    57a2fd7b2c75 usb: cdns3: allocate TX FIFO size according to composite EP number
    d42d869b2cf4 iommu/amd: Fix domain flush size when syncing iotlb
    cb21384372d1 powerpc/iommu: Limit number of TCEs to 512 for H_STUFF_TCE hcall
    f257c1a6cc86 btrfs: fix csum_tree_block page iteration to avoid tripping on -Werror=array-bounds
    292806cfe43d tty: serial: fsl_lpuart: use UARTCTRL_TXINV to send break instead of UARTCTRL_SBK
    3fda903511f3 mmc: pwrseq: sd8787: Fix WILC CHIP_EN and RESETN toggling order
    dade1f4a379d mmc: vub300: fix invalid response handling
    3eb4590bc37c block/blk-iocost (gcc13): keep large values in a new enum
    43124187fe3a ath6kl: Use struct_group() to avoid size-mismatched casting
    43f4aca98bf2 x86/boot: Wrap literal addresses in absolute_pointer()
    3cfd7f042e67 drm/amd/pm: reverse mclk and fclk clocks levels for renoir
    7e0c25b39065 drm/amd/pm: reverse mclk and fclk clocks levels for yellow carp
    fce05ec3deb5 drm/amd/pm: reverse mclk and fclk clocks levels for vangogh
    b0dda610b42c ata: libata-scsi: Use correct device no in ata_find_dev()
    57f4555bdfa5 scsi: stex: Fix gcc 13 warnings
    6f675380db4f misc: fastrpc: reject new invocations during device removal
    cebe84b9c02e misc: fastrpc: return -EPIPE to invocations on device removal
    d3103fc0d191 md/raid5: fix miscalculation of 'end_sector' in raid5_read_one_chunk()
    599e19202be2 usb: gadget: f_fs: Add unbind event before functionfs_unbind
    c762eafe7949 dt-bindings: usb: snps,dwc3: Fix "snps,hsphy_interface" type
    7099a87cf5ee net: usb: qmi_wwan: Set DTR quirk for BroadMobi BM818
    16bd13e701c0 iio: dac: build ad5758 driver when AD5758 is selected
    b6622c1fd233 iio: adc: ad7192: Change "shorted" channels to differential
    aeec28d83865 iio: dac: mcp4725: Fix i2c_master_send() return value handling
    23c6a184c2b8 iio: adc: ad_sigma_delta: Fix IRQ issue by setting IRQ_DISABLE_UNLAZY flag
    4349ee3deef9 iio: light: vcnl4035: fixed chip ID check
    db633585e93b dt-bindings: iio: adc: renesas,rcar-gyroadc: Fix adi,ad7476 compatible value
    6bd3d6305b6a iio: imu: inv_icm42600: fix timestamp reset
    536b4ffa93fa HID: wacom: avoid integer overflow in wacom_intuos_inout()
    cfa747cc65ca HID: google: add jewel USB id
    11bc983e4393 iio: adc: mxs-lradc: fix the order of two cleanup operations
    a5461c3134ce iio: accel: st_accel: Fix invalid mount_matrix on devices without ACPI _ONT method
    6a7d946733ea media: uvcvideo: Don't expose unsupported formats to userspace
    6dd02a7bff9d mailbox: mailbox-test: fix a locking issue in mbox_test_message_write()
    0f3c55c7d62c nvme-pci: Add quirk for Teamgroup MP33 SSD
    c9079eb6f1cf drm/amdgpu: skip disabling fence driver src_irqs when device is unplugged
    4238ea044eb2 atm: hide unused procfs functions
    5d4c31d93973 drm/msm: Be more shouty if per-process pgtables aren't working
    825cc70fbf2f ALSA: oss: avoid missing-prototype warnings
    a79da1659cdc nvme-multipath: don't call blk_mark_disk_dead in nvme_mpath_remove_disk
    9a195b991709 netfilter: conntrack: define variables exp_nat_nla_policy and any_addr with CONFIG_NF_NAT
    82f505878f0a wifi: b43: fix incorrect __packed annotation
    ab62fc176eac scsi: core: Decrease scsi_device's iorequest_cnt if dispatch failed
    e04de12881ca wifi: mac80211: simplify chanctx allocation
    24dc97e135e8 arm64: vdso: Pass (void *) to virt_to_page()
    2944b9f0fdcf arm64/mm: mark private VM_FAULT_X defines as vm_fault_t
    39d84ddd9ebc ARM: dts: stm32: add pin map for CAN controller on stm32f7
    b2f00acd5369 wifi: rtl8xxxu: fix authentication timeout due to incorrect RCR value
    ce135055be33 ACPI: resource: Add IRQ override quirk for LG UltraPC 17U70P
    66f05cf2b2fd s390/topology: honour nr_cpu_ids when adding CPUs
    79803685425c s390/pkey: zeroize key blobs
    42624bc8c30c media: dvb-core: Fix use-after-free due to race condition at dvb_ca_en50221
    22fc36d59eab media: dvb-core: Fix kernel WARNING for blocking operation in wait_event*()
    a47a3f7a9bf6 media: dvb-core: Fix use-after-free due to race at dvb_register_device()
    50831747cb3a media: dvb-core: Fix use-after-free due on race condition at dvb_net
    9f74fec18f4c media: mn88443x: fix !CONFIG_OF error by drop of_match_ptr from ID table
    d6c47b235992 media: ttusb-dec: fix memory leak in ttusb_dec_exit_dvb()
    747a121914e3 media: dvb_ca_en50221: fix a size write bug
    34562df4082b media: netup_unidvb: fix irq init by register it at the end of probe
    5e56e3d5ebeb media: dvb-usb: dw2102: fix uninit-value in su3000_read_mac_address
    5240bc8c0c9a media: dvb-usb: digitv: fix null-ptr-deref in digitv_i2c_xfer()
    cd6764cf45ab media: dvb-usb-v2: rtl28xxu: fix null-ptr-deref in rtl28xxu_i2c_xfer
    ef0d867e295d media: dvb-usb-v2: ce6230: fix null-ptr-deref in ce6230_i2c_master_xfer()
    abaf49c5a95d media: dvb-usb-v2: ec168: fix null-ptr-deref in ec168_i2c_xfer()
    4b61ee116a3c media: dvb-usb: az6027: fix three null-ptr-deref in az6027_i2c_xfer()
    5e9ad9962f2a media: dvb_demux: fix a bug for the continuity counter
    ae3e3ac8b294 ASoC: ssm2602: Add workaround for playback distortions
    6cf7f03d2d34 ASoC: dt-bindings: Adjust #sound-dai-cells on TI's single-DAI codecs
    133c78bc6769 xfrm: Check if_id in inbound policy/secpath match
    f1a6d366cdb1 um: harddog: fix modular build
    e9d167ca4810 ASoC: dwc: limit the number of overrun messages
    84dfd8bee506 nvme-pci: add quirk for missing secondary temperature thresholds
    b32eeafd4eb9 nvme-pci: add NVME_QUIRK_BOGUS_NID for HS-SSD-FUTURE 2048G
    f7af470fad9c block/rnbd: replace REQ_OP_FLUSH with REQ_OP_WRITE
    8ba70707c3fe nbd: Fix debugfs_create_dir error checking
    156f5237e9c3 fbdev: stifb: Fix info entry in sti_struct on error path
    b3c785428797 fbdev: modedb: Add 1920x1080 at 60 Hz video mode
    ad3de274e065 fbdev: imsttfb: Fix use after free bug in imsttfb_probe
    fd8b4e28f400 gfs2: Don't deref jdesc in evict
    a00cc8562835 platform/x86: intel_scu_pcidrv: Add back PCI ID for Medfield
    736626df53e9 media: rcar-vin: Select correct interrupt mode for V4L2_FIELD_ALTERNATE
    1eae6e919639 ARM: 9295/1: unwind:fix unwind abort for uleb128 case
    af739a701517 btrfs: abort transaction when sibling keys check fails for leaves
    872a038dd4c9 drm/ast: Fix ARM compatibility
    3291f4a1073a mailbox: mailbox-test: Fix potential double-free in mbox_test_message_write()
    fe6f6f470612 drm/amdgpu: Use the default reset when loading or reloading the driver
    2226d9ef63d5 ALSA: hda: Glenfly: add HD Audio PCI IDs and HDMI Codec Vendor IDs.
    65221bdde702 watchdog: menz069_wdt: fix watchdog initialisation
    6a7bf0038973 drm/amdgpu: release gpu full access after "amdgpu_device_ip_late_init"
    8ac106aade8f rtnetlink: call validate_linkmsg in rtnl_create_link
    beeffe764e07 mtd: rawnand: marvell: don't set the NAND frequency select
    6494318f11f3 mtd: rawnand: marvell: ensure timing values are written
    0fad29dabce1 net: dsa: mv88e6xxx: Increase wait after reset deactivation
    45f47d2cf114 net/sched: flower: fix possible OOB write in fl_set_geneve_opt()
    b15adce7d326 net/mlx5: Read embedded cpu after init bit cleared
    c3caee8fe178 net/mlx5e: Fix error handling in mlx5e_refresh_tirs
    1abb7b04ec37 udp6: Fix race condition in udp6_sendmsg & connect
    7dc379f8856b net/netlink: fix NETLINK_LIST_MEMBERSHIPS length report
    91b07931c14d net: sched: fix NULL pointer dereference in mq_attach
    b1cb1ba1fbfa net/sched: Prohibit regrafting ingress or clsact Qdiscs
    cde00dcdf0ce net/sched: Reserve TC_H_INGRESS (TC_H_CLSACT) for ingress (clsact) Qdiscs
    2e859de5aeb0 net/sched: sch_clsact: Only create under TC_H_CLSACT
    cff0af3d1364 net/sched: sch_ingress: Only create under TC_H_INGRESS
    a907a389c71c tcp: Return user_mss for TCP_MAXSEG in CLOSE/LISTEN state if user_mss set
    fade445f3921 tcp: deny tcp_disconnect() when threads are waiting
    5434c8128777 af_packet: do not use READ_ONCE() in packet_bind()
    60bd1403bab7 RDMA/irdma: Fix Local Invalidate fencing
    0b3c392b82cd RDMA/irdma: Prevent QP use after free
    bd2af69575f5 RDMA/irdma: Add SW mechanism to generate completions on error
    2d04dde4ded7 mtd: rawnand: ingenic: fix empty stub helper definitions
    8f61d394b0c2 amd-xgbe: fix the false linkup in xgbe_phy_status
    aefcb6ea1d44 af_packet: Fix data-races of pkt_sk(sk)->num.
    c8775b97bf96 netrom: fix info-leak in nr_write_internal()
    8045788adda6 net: mellanox: mlxbf_gige: Fix skb_panic splat under memory pressure
    8d9d0bfd4c22 net/mlx5e: Don't attach netdev profile while handling internal error
    d002e0287d78 net/mlx5: fw_tracer, Fix event handling
    3a7793ae6911 riscv: Fix unused variable warning when BUILTIN_DTB is set
    3f1191bc5b6a dmaengine: pl330: rename _start to prevent build error
    c4be5d71d7a4 iommu/amd: Don't block updates to GATag if guest mode is on
    b4fd38c0c7b8 iommu/rockchip: Fix unwind goto issue
    190ea1c39104 RDMA/bnxt_re: Fix return value of bnxt_re_process_raw_qp_pkt_rx
    2fa9ee0fd65d RDMA/bnxt_re: Fix a possible memory leak
    fdc977f2e785 dmaengine: at_xdmac: fix potential Oops in at_xdmac_prep_interleaved()
    f68eff0faf67 dmaengine: at_xdmac: Move the free desc to the tail of the desc list
    ba0e7ca84a93 RDMA/hns: Modify the value of long message loopback slice
    15aeb44199e6 RDMA/hns: Fix base address table allocation
    b0f40ecc46d9 RDMA/efa: Fix unsupported page sizes in device
    f370588ec389 RDMA/bnxt_re: Fix the page_size used during the MR creation

(From OE-Core rev: 20388189ab6d03ae3c6e4fdd0135af4f88e15198)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Bruce Ashfield
3b50c79c63 linux-yocto/5.15: update to v5.15.115
Updating  to the latest korg -stable release that comprises
the following commits:

    d7af3e5ba454 Linux 5.15.115
    e226893c935f netfilter: ctnetlink: Support offloaded conntrack entry deletion
    395d846c61c5 ipv{4,6}/raw: fix output xfrm lookup wrt protocol
    1bb8a65190d4 binder: fix UAF of alloc->vma in race with munmap()
    1cae0d51368e binder: add lockless binder_alloc_(set|get)_vma()
    dd7aff43d005 Revert "android: binder: stop saving a pointer to the VMA"
    6802c700902c Revert "binder_alloc: add missing mmap_lock calls when using the VMA"
    09411f1b8672 bluetooth: Add cmd validity checks at the start of hci_sock_ioctl()
    0f21b8621756 xdp: xdp_mem_allocator can be NULL in trace_mem_connect().
    b6c4afcbd625 irqchip/mips-gic: Don't touch vl_map if a local interrupt is not routable
    13b290f02094 page_pool: fix inconsistency for page_pool_ring_[un]lock()
    3af319d51474 net: page_pool: use in_softirq() instead
    1c097b9db173 xdp: Allow registering memory model without rxq reference
    623d965c2dee net/mlx5e: Fix SQ wake logic in ptp napi_poll context
    9085886c04d9 irqchip/mips-gic: Use raw spinlock for gic_lock
    4517730b4c1e irqchip/mips-gic: Get rid of the reliance on irq_cpu_online()
    5fd7c1e36b0a binder: fix UAF caused by faulty buffer cleanup
    c88d21c0ae32 bonding: fix send_peer_notif overflow
    7ee611fc85ad Bonding: add arp_missed_max option
    5b925b48bebc net: dsa: mt7530: fix network connectivity with multiple CPU ports
    5a7266feaa6d net: dsa: mt7530: split-off common parts from mt7531_setup
    0753c1ef2419 net: dsa: mt7530: rework mt753[01]_setup
    9902f91cf666 net: dsa: introduce helpers for iterating through ports using dp
    d84b42b72526 net: phy: mscc: enable VSC8501/2 RGMII RX clock
    3dce2f3d8359 platform/x86: ISST: Remove 8 socket limit
    017a634f9f38 platform/x86: ISST: PUNIT device mapping with Sub-NUMA clustering
    ff455f7fbce7 net/mlx5: Devcom, serialize devcom registration
    69966bce28da net/mlx5e: Fix deadlock in tc route query code
    1c4e3cf8944f net/mlx5: devcom only supports 2 ports
    79ea1a12fb9a bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps
    1f06b2a60445 power: supply: bq24190: Call power_supply_changed() after updating input current
    8c6f881dc13b power: supply: core: Refactor power_supply_set_input_current_limit_from_supplier()
    1f9367a890ac power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize
    75a7e9de60a2 power: supply: bq27xxx: Ensure power_supply_changed() is called on current sign changes
    e4c708a9bbde power: supply: bq27xxx: Move bq27xxx_battery_update() down
    2288fa1ae9b1 power: supply: bq27xxx: expose battery data when CI=1

(From OE-Core rev: acb7f13dd673b15706f56a6b12ab4637a54e89f8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Bruce Ashfield
81b62a5c48 linux-yocto/5.15: update to v5.15.114
Updating  to the latest korg -stable release that comprises
the following commits:

    0ab06468cbd1 Linux 5.15.114
    193c59ba7299 net: phy: mscc: add VSC8502 to MODULE_DEVICE_TABLE
    350b95e86ca9 3c589_cs: Fix an error handling path in tc589_probe()
    7c2fa3e56d95 regulator: mt6359: add read check for PMIC MT6359
    28ebfb74fbf5 firmware: arm_ffa: Set reserved/MBZ fields to zero in the memory descriptors
    34b0985ebdfc arm64: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay
    1e7550653680 net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device
    a89a69cea44c net/mlx5: Fix error message when failing to allocate device memory
    e8a974bbf4a5 net/mlx5: DR, Check force-loopback RC QP capability independently from RoCE
    5e0cc0d502d4 net/mlx5: DR, Fix crc32 calculation to work on big-endian (BE) CPUs
    792a8233fc01 net/mlx5e: do as little as possible in napi poll when budget is 0
    fdf8f33e7d03 platform/mellanox: mlxbf-pmc: fix sscanf() error checking
    d5ab5447d910 forcedeth: Fix an error handling path in nv_probe()
    ae7c4ec42655 sctp: fix an issue that plpmtu can never go to complete state
    ee553694be42 ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg
    aafa5019e2a3 x86/show_trace_log_lvl: Ensure stack pointer is aligned, again
    90314394a16d xen/pvcalls-back: fix double frees with pvcalls_new_active_socket()
    ff151810fb95 coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet()
    24cf11474376 regulator: pca9450: Fix BUCK2 enable_mask
    cd41ec23503f fs: fix undefined behavior in bit shift for SB_NOUSER
    c2f65991097a firmware: arm_ffa: Fix FFA device names for logical partitions
    6a26c62625c5 firmware: arm_ffa: Check if ffa_driver remove is present before executing
    f64567bd9566 power: supply: sbs-charger: Fix INHIBITED bit for Status reg
    71a9f146b3dc power: supply: bq27xxx: Add cache parameter to bq27xxx_battery_current_and_status()
    e98e5bebfcaf power: supply: bq27xxx: Fix poll_interval handling and races on remove
    e01820a94aea power: supply: bq27xxx: Fix I2C IRQ race on remove
    d21b3448577f power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition
    c530f60e5a2e power: supply: mt6360: add a check of devm_work_autocancel in mt6360_charger_probe
    0dd4881238bc power: supply: leds: Fix blink to LED on transition
    5e4bb063dcaf cifs: mapchars mount option ignored
    9b92e2d0eb69 ipv6: Fix out-of-bounds access in ipv6_find_tlv()
    bf478c2643ba bpf: Fix mask generation for 32-bit narrow loads of 64-bit fields
    79081b3f489a octeontx2-pf: Fix TSOv6 offload
    114657365c88 selftests: fib_tests: mute cleanup error message
    e06841a2abf9 net: fix skb leak in __skb_tstamp_tx()
    8f1512d78b5d ASoC: lpass: Fix for KASAN use_after_free out of bounds
    b1bde4b4360c media: radio-shark: Add endpoint checks
    43f569fd0699 USB: sisusbvga: Add endpoint checks
    da0f4b557682 USB: core: Add routines for endpoint checks in old drivers
    387bd0a3af3b udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated().
    cf3b5cd7127c net: fix stack overflow when LRO is disabled for virtual interfaces
    9e12c58a5ece fbdev: udlfb: Fix endpoint check
    aee97eec7702 debugobjects: Don't wake up kswapd from fill_pool()
    c09a7b6190f5 x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms
    a9ffd42eb9ab perf/x86/uncore: Correct the number of CHAs on SPR
    277f206bb874 parisc: Fix flush_dcache_page() for usage from irq context
    eff115ca949a selftests/memfd: Fix unknown type name build failure
    1a98b6e028ee x86/mm: Avoid incomplete Global INVLPG flushes
    683bb30c6947 dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type
    647af8a998c2 btrfs: use nofs when cleaning up aborted transactions
    7e93fe1d1733 gpio: mockup: Fix mode of debugfs files
    3a2d238c5a3a parisc: Allow to reboot machine after system halt
    96f8dd0483c8 parisc: Handle kgdb breakpoints only in kernel context
    16deb7413ace m68k: Move signal frame following exception on 68020/030
    9be921854e98 net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
    1f6ae24e3d5a ASoC: rt5682: Disable jack detection interrupt during suspend
    693acaa739dc mmc: sdhci-esdhc-imx: make "no-mmc-hs400" works
    7177586e06ff ALSA: hda/realtek: Enable headset onLenovo M70/M90
    e6a624451afb ALSA: hda: Fix unhandled register update during auto-suspend period
    7716da3fa10b ALSA: hda/ca0132: add quirk for EVGA X299 DARK
    c37eb46c613a arm64: Also reset KASAN tag if page is not PG_mte_tagged
    291fe3d6f5db ocfs2: Switch to security_inode_init_security()
    4badd33929c0 spi: fsl-cpm: Use 16 bit mode for large transfers with even size
    28ffe8c84603 spi: fsl-spi: Re-organise transfer bits_per_word adaptation
    381e55bffe15 ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15
    ca338fa8032a watchdog: sp5100_tco: Immediately trigger upon starting.
    6312c7cc07f3 dt-bindings: ata: ahci-ceva: Cover all 4 iommus entries
    7ef9045fe758 dt-bindings: ata: ahci-ceva: convert to yaml
    f19171155305 usb: dwc3: fix gadget mode suspend interrupt handler issue
    7919af1dcb8e usb: gadget: Properly configure the device for remote wakeup

(From OE-Core rev: b83b248e5042dd1e9fdbc4c48be1af188fece1df)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
nikhil
fbd7356c06 libwebp: Fix CVE-2023-1999
Add patch to fix CVE-2023-1999

Link: a486d800b6

(From OE-Core rev: ff726a731d06aa8c6490176e9a539fd59ec2159e)

Signed-off-by: Nikhil R <nikhil.r@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8f6fcbe2d64e998be934b5b2e0ab65c159bfb807)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Ross Burton
6cd353ffe7 binutils: fix CVE-2023-1972
Backport a patch from upstream to fix CVE-2023-1972.

(From OE-Core rev: ebb15853372d28808189fc417409229ed051ad57)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 10d63933e3a30bfac2f6cec896460c22e04baadd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-30 04:07:59 -10:00
Quentin Schulz
31dd418207 docs: bsp-guide: bsp: fix typo
It's meta-openembedded and not meta-openbedded, let's fix it.

Fixes: de6e7c05fbcf ("manuals: stop referring to the meta-openembedded repo from GitHub")
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 54d849d259a332389beea159d789f8fa92871475)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Alexander Kanavin
f91e7a97d6 maintainers.inc: correct Carlos Rafael Giani's email address
As confirmed via private email.

(From OE-Core rev: 677661c3e1795a1904a0d869866ea8a6442fb160)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c7f934368d3fb3e9cf268f8237eae80b1c1665a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Richard Purdie
eae01d6354 layer.conf: Add missing dependency exclusion
Add a dependency which should have been in this list but wasn't, found
when debugging create-spdx hash issues.

(From OE-Core rev: 0bb0592f4c8de7aa192a940e6d06ce0c4df1637c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1075b9fc5d562dada45b3187cb737511ff8c7376)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Deepthi Hemraj
e009586ce8 binutils: stable 2.40 branch updates
Below commits on binutils-2.40 stable branch are updated.
0dc8f96598a Updated Swedish translation for the opcodes directory
85c5365527f New Georgian translation for the bfd sub-directory.

(From OE-Core rev: eeed062f7c9b3c615080678e7ad66d4906b01dc2)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Deepthi Hemraj
b0d4d9fbbf glibc: stable 2.37 branch updates.
Below commits on glibc-2.37 stable branch are updated.
3593050c27 (HEAD -> release/2.37/master, origin/release/2.37/master) io: Fix F_GETLK, F_SETLK, and F_SETLKW for powerpc64
e2974d26ce io: Fix record locking contants on 32 bit arch with 64 bit default time_t 0e3e9dbb0e Document BZ #20975 fix
f5d377c896 __check_pf: Add a cancellation cleanup handler [BZ #20975]
b4f76ecc9e Ignore MAP_VARIABLE in tst-mman-consts.py
7c32cb7dd8 gmon: Revert addition of tunables to the manual
a908c18d47 gmon: Revert addition of tunables to preserve GLIBC_PRIVATE ABI
ff3a71ec1f gmon: fix memory corruption issues [BZ# 30101]
d230623264 gmon: improve mcount overflow handling [BZ# 27576]
5d750495db gmon: Fix allocated buffer overflow (bug 29444)
78ab913eab posix: Fix system blocks SIGCHLD erroneously [BZ #30163]
9cc2f41e52 x86_64: Fix asm constraints in feraiseexcept (bug 30305)
97ad4c64b9 gshadow: Matching sgetsgent, sgetsgent_r ERANGE handling (bug 30151)
1d63573f81 stdio-common: tests: don't double-define _FORTIFY_SOURCE
590d0e089b elf: Restore ldconfig libc6 implicit soname logic [BZ #30125]
790e504a17 stdlib: Undo post review change to 16adc58e73f3 [BZ #27749]

(From OE-Core rev: 8b0928acc22596614bc8a87ce57813cfc87c57de)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Xiangyu Chen
21413fcb3b dbus: upgrade 1.14.6 -> 1.14.8
Update dbus to 1.14.8 to fix CVE-2023-34969 and serveral bugs

changes:
f90d4f1693/NEWS

commits:
55d11f57 doc/dbus-api-design: fix wrong closing tag
a96f417f CI: Run a detached pipeline for merge requests
9e0477fc CI: Only run for pushes to dbus
077f7e43 CI: Remove an obsolete workaround
07fe44f4 CI: Update Windows runners
ec708d55 CI: Avoid using a no-op download location that gives a 403 error
45e6e93e dbus_message_iter_get_signature: Fix two memory leaks on OOM
0bb1942e dbus-internals: use `_DBUS_FUNCTION_NAME` in `_dbus_verbose()`
8df1b8be dbus-sysdeps-win: do not log function name twice
5c3a4e81 dbus-spawn-win: use `_DBUS_FUNCTION_NAME` instead of `__FUNCTION__`
8e457296 Update NEWS
e1ffce17 Revert "CI: Remove an obsolete workaround"
40c0802f monitor test: Log the messages that we monitored
a70c8f2f bus: Assign a serial number for messages from the driver
39b5c617 monitor test: Reproduce #457
f99e5de1 Update NEWS
21414587 AUTHORS: Update
f90d4f16 Release v1.14.8

(From OE-Core rev: c1f21ec27cc7ac54040457c8591fdfedf25440bf)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Bruce Ashfield
ebb1bcc615 linux-yocto/6.1: update to v6.1.32
Updating  to the latest korg -stable release that comprises
the following commits:

    76ba310227d2 Linux 6.1.32
    cd51ba98aeaa tools headers UAPI: Sync the linux/in.h with the kernel sources
    2cd02ae65654 netfilter: ctnetlink: Support offloaded conntrack entry deletion
    55ce796e9b0a cpufreq: amd-pstate: Add ->fast_switch() callback
    c18f6919b4e7 cpufreq: amd-pstate: Update policy->cur in amd_pstate_adjust_perf()
    efc8ec1636fa block: fix bio-cache for passthru IO
    5d08604754e8 Revert "thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function"
    2333dbc88f38 bluetooth: Add cmd validity checks at the start of hci_sock_ioctl()
    6c1fad655b40 drm/amd: Don't allow s0ix on APUs older than Raven
    83a7f27c5b94 octeontx2-af: Add validation for lmac type
    3236221bb8e4 RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task"
    592af07ac0c8 wifi: iwlwifi: mvm: fix potential memory leak
    0c469078bde4 wifi: iwlwifi: mvm: support wowlan info notification version 2
    b5ceb6aac607 wifi: rtw89: correct 5 MHz mask setting
    07c8c1a3cfcf net: phy: mscc: enable VSC8501/2 RGMII RX clock
    7c95f56995c6 page_pool: fix inconsistency for page_pool_ring_[un]lock()
    7dccd5fa7edb net: page_pool: use in_softirq() instead
    cd3c5e4e0d60 vfio/type1: check pfn valid before converting to struct page
    6793a3c6326e blk-mq: fix race condition in active queue accounting
    fe735073a50e bpf, sockmap: Incorrectly handling copied_seq
    dd628fc697ee bpf, sockmap: Wake up polling after data copy
    ab90b68f650e bpf, sockmap: TCP data stall on recv before accept
    3a2129ebae35 bpf, sockmap: Handle fin correctly
    ba4fec5bd6f8 bpf, sockmap: Improved check for empty queue
    1e4e379ccde8 bpf, sockmap: Reschedule is now done through backlog
    9f4d7efb3345 bpf, sockmap: Convert schedule_work into delayed_work
    4ae2af3e59e2 bpf, sockmap: Pass skb ownership through read_skb
    49b5b5bfeef1 gpio-f7188x: fix chip name and pin count on Nuvoton chip
    085f27f48c84 net/mlx5: E-switch, Devcom, sync devcom events and devcom comp register
    3347ac7a8160 tls: rx: strp: preserve decryption status of skbs when needed
    ba93977437e7 tls: rx: strp: factor out copying skb data
    52a89de3e9f2 tls: rx: strp: force mixed decrypted records into copy mode
    c48b8399e430 tls: rx: strp: fix determining record length in copy mode
    ecd9f6ed9ed2 tls: rx: strp: set the skb->len of detached / CoW'ed skbs
    e734a693a24c tls: rx: device: fix checking decryption status
    b3e54fb3a35d platform/x86/amd/pmf: Fix CnQF and auto-mode after resume
    8e8c33cc89a0 selftests/bpf: Fix pkg-config call building sign-file
    ca39992f1048 firmware: arm_ffa: Fix usage of partition info get count flag
    3f5413c95445 ipv{4,6}/raw: fix output xfrm lookup wrt protocol
    6728486447ee inet: Add IP_LOCAL_PORT_RANGE socket option

(From OE-Core rev: b8979a5048621c99ca2e488813908ff51c257d55)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 34ba408ca84839e82dba63e2f6b4673e8d5caaa2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Bruce Ashfield
50763d619f linux-yocto/6.1: update to v6.1.31
Updating  to the latest korg -stable release that comprises
the following commits:

    d2869ace6eeb Linux 6.1.31
    2f32b89d8120 net: phy: mscc: add VSC8502 to MODULE_DEVICE_TABLE
    3bcb97e4241b 3c589_cs: Fix an error handling path in tc589_probe()
    9540765d1882 net/smc: Reset connection when trying to use SMCRv2 fails.
    be4022669e66 regulator: mt6359: add read check for PMIC MT6359
    22157f744581 firmware: arm_ffa: Set reserved/MBZ fields to zero in the memory descriptors
    1ae70faa86fd arm64: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay
    3e8a82fb55a6 net/mlx5: Devcom, serialize devcom registration
    eaa365c10459 net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device
    411e4d6caa7f net/mlx5: Collect command failures data only for known commands
    390aa5c006b3 net/mlx5: Fix error message when failing to allocate device memory
    59dd110ca241 net/mlx5: DR, Check force-loopback RC QP capability independently from RoCE
    b17294e7aa8c net/mlx5: Handle pairing of E-switch via uplink un/load APIs
    e501ab136691 net/mlx5: DR, Fix crc32 calculation to work on big-endian (BE) CPUs
    6f0dce5f7822 net/mlx5e: do as little as possible in napi poll when budget is 0
    00959a1bad58 net/mlx5e: Use correct encap attribute during invalidation
    362063df6cee net/mlx5e: Fix deadlock in tc route query code
    2051f762c508 net/mlx5e: Fix SQ wake logic in ptp napi_poll context
    47b4f741a3f6 platform/mellanox: mlxbf-pmc: fix sscanf() error checking
    04238c23853a forcedeth: Fix an error handling path in nv_probe()
    0392c9185d71 sctp: fix an issue that plpmtu can never go to complete state
    c9e09b070d0b cxl: Wait Memory_Info_Valid before access memory related info
    ad72cb5899ce ASoC: Intel: avs: Access path components under lock
    6ae9cf40b4e0 ASoC: Intel: avs: Fix declaration of enum avs_channel_config
    5eaaad19c82c ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg
    d8cfe5ccc98e x86/show_trace_log_lvl: Ensure stack pointer is aligned, again
    a7edc86e149e xen/pvcalls-back: fix double frees with pvcalls_new_active_socket()
    53384076f743 x86/pci/xen: populate MSI sysfs entries
    84b211b02894 ARM: dts: imx6qdl-mba6: Add missing pvcie-supply regulator
    225a5f394b09 coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet()
    55224690958c platform/x86: ISST: Remove 8 socket limit
    f34428b5a373 regulator: pca9450: Fix BUCK2 enable_mask
    ccc6e9ded63b fs: fix undefined behavior in bit shift for SB_NOUSER
    dfc5aaa57f52 firmware: arm_ffa: Fix FFA device names for logical partitions
    ad73dc7263ea firmware: arm_ffa: Check if ffa_driver remove is present before executing
    06ec5be89118 optee: fix uninited async notif value
    9c744c6ff238 power: supply: sbs-charger: Fix INHIBITED bit for Status reg
    71e60a58d7f6 power: supply: bq24190: Call power_supply_changed() after updating input current
    1f02bfd5d94c power: supply: bq25890: Call power_supply_changed() after updating input current or voltage
    57842035d298 power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize
    221f7cb12285 power: supply: bq27xxx: Ensure power_supply_changed() is called on current sign changes
    3c573e7910c6 power: supply: bq27xxx: Move bq27xxx_battery_update() down
    9108ede08d7a power: supply: bq27xxx: Add cache parameter to bq27xxx_battery_current_and_status()
    d952a1eaafcc power: supply: bq27xxx: Fix poll_interval handling and races on remove
    e65fee45687f power: supply: bq27xxx: Fix I2C IRQ race on remove
    d746fbf4f09c power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition
    e1073f81478f power: supply: mt6360: add a check of devm_work_autocancel in mt6360_charger_probe
    2ac38f130e5b power: supply: leds: Fix blink to LED on transition
    94373413e13d cifs: mapchars mount option ignored
    91dd8aab9c9f ipv6: Fix out-of-bounds access in ipv6_find_tlv()
    9bc1dbfd9158 lan966x: Fix unloading/loading of the driver
    1a9e80f757bb bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps
    177ee41f6162 bpf: Fix mask generation for 32-bit narrow loads of 64-bit fields
    a1d7c357f4dc octeontx2-pf: Fix TSOv6 offload
    4883d9e2a221 selftests: fib_tests: mute cleanup error message
    722af06e6100 drm: fix drmm_mutex_init()
    cc18b4685910 net: fix skb leak in __skb_tstamp_tx()
    8d81d3b0ed36 ASoC: lpass: Fix for KASAN use_after_free out of bounds
    53764a17f5d8 media: radio-shark: Add endpoint checks
    d5dba4b7bf90 USB: sisusbvga: Add endpoint checks
    09e9d1f52f97 USB: core: Add routines for endpoint checks in old drivers
    2a112f04629f udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated().
    ed66e6327a69 net: fix stack overflow when LRO is disabled for virtual interfaces
    c8fdf7feca77 fbdev: udlfb: Fix endpoint check
    d7fff52c99d5 debugobjects: Don't wake up kswapd from fill_pool()
    8694853768e3 irqchip/mips-gic: Use raw spinlock for gic_lock
    dc1b7641a989 irqchip/mips-gic: Don't touch vl_map if a local interrupt is not routable
    4ca6b06e9be2 x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms
    ed0ef89508d2 perf/x86/uncore: Correct the number of CHAs on SPR
    f3078be2febb drm/amd/amdgpu: limit one queue per gang
    34570f85a282 selftests/memfd: Fix unknown type name build failure
    931ea1ed31be binder: fix UAF of alloc->vma in race with munmap()
    e1e198eff1fb binder: fix UAF caused by faulty buffer cleanup
    d7cee853bcb0 binder: add lockless binder_alloc_(set|get)_vma()
    72a94f8c14a1 Revert "android: binder: stop saving a pointer to the VMA"
    7e6b8548549e Revert "binder_alloc: add missing mmap_lock calls when using the VMA"
    8069bcaa5b39 drm/amd/pm: Fix output of pp_od_clk_voltage
    6acfbdda4d06 drm/amd/pm: add missing NotifyPowerSource message mapping for SMU13.0.7
    8756863c7fe0 drm/radeon: reintroduce radeon_dp_work_func content
    3897ac532af0 drm/mgag200: Fix gamma lut not initialized.
    3970ee926e7e dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type
    937264cd9aab btrfs: use nofs when cleaning up aborted transactions
    63e12910b7f5 gpio: mockup: Fix mode of debugfs files
    b49706d1799a parisc: Handle kprobes breakpoints only in kernel context
    5596e2ef5f1a parisc: Enable LOCKDEP support
    d935edd510d7 parisc: Allow to reboot machine after system halt
    c49ffd89b66e parisc: Fix flush_dcache_page() for usage from irq context
    c0993b463fe7 parisc: Handle kgdb breakpoints only in kernel context
    e1f14a407140 parisc: Use num_present_cpus() in alternative patching code
    bd90ac0002d1 xtensa: add __bswap{si,di}2 helpers
    522bbbfcb612 xtensa: fix signal delivery to FDPIC process
    084566050891 m68k: Move signal frame following exception on 68020/030
    6147745d43ff net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
    da1e8adab366 ASoC: rt5682: Disable jack detection interrupt during suspend
    72c28207c19c power: supply: bq25890: Fix external_power_changed race
    0456b912121e power: supply: axp288_fuel_gauge: Fix external_power_changed race
    7d5e0150eeec mmc: block: ensure error propagation for non-blk
    a24aec210aa5 mmc: sdhci-esdhc-imx: make "no-mmc-hs400" works
    0d97634ad498 SUNRPC: Don't change task->tk_status after the call to rpc_exit_task
    40599969ff58 ALSA: hda/realtek: Enable headset onLenovo M70/M90
    7d3d306f159e ALSA: hda: Fix unhandled register update during auto-suspend period
    5222e81afa26 ALSA: hda/ca0132: add quirk for EVGA X299 DARK
    688c9af6e5fc platform/x86/intel/ifs: Annotate work queue on stack so object debug does not complain
    c26b9e193172 x86/mm: Avoid incomplete Global INVLPG flushes
    4eb600f386ef arm64: Also reset KASAN tag if page is not PG_mte_tagged
    8bdf47f9dbea ocfs2: Switch to security_inode_init_security()
    28ee628fff1e drm/amd/display: hpd rx irq not working with eDP interface
    7bfd4c0ebcb4 net: dsa: mv88e6xxx: Add RGMII delay to 88E6320
    66ede2e4235f platform/x86: hp-wmi: Fix cast to smaller integer type warning
    0dbc898f5917 skbuff: Proactively round up to kmalloc bucket size
    ac2f5739fdca drm/amdgpu/mes11: enable reg active poll
    a2fe4534bb38 drm/amd/amdgpu: update mes11 api def
    ae9e65319f99 watchdog: sp5100_tco: Immediately trigger upon starting.
    7cd46930b8bf tpm: Prevent hwrng from activating during resume
    25d38d5eaa1f tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM drivers
    e76f61a2c523 tpm, tpm_tis: startup chip before testing for interrupts
    9953dbf65f92 tpm_tis: Use tpm_chip_{start,stop} decoration inside tpm_tis_resume
    c5a5d33886a7 tpm, tpm_tis: Only handle supported interrupts
    5c4c8075bc8a tpm, tpm_tis: Avoid cache incoherency in test for interrupts
    1ec145277a26 usb: dwc3: fix gadget mode suspend interrupt handler issue

(From OE-Core rev: 30f4430d8cae3edbe596e23b92996717159d1f0a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d03ecad7bd2997654d2a623b59b409ff0c0f363b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Bruce Ashfield
c1b5fb3936 linux-yocto/6.1: update to v6.1.30
Updating  to the latest korg -stable release that comprises
the following commits:

    a343b0dd87b4 Linux 6.1.30
    da9a8dc33da2 drm/amdgpu: reserve the old gc_11_0_*_mes.bin
    616843d5a11b drm/amd/amdgpu: introduce gc_*_mes_2.bin v2
    09bf14907d86 drm/amdgpu: declare firmware for new MES 11.0.4
    f05ccf6a6ac6 crypto: testmgr - fix RNG performance in fuzz tests
    682679fc953d remoteproc: imx_dsp_rproc: Fix kernel test robot sparse warning
    7099e14f601e rethook, fprobe: do not trace rethook related functions
    c46d3efb4d23 rethook: use preempt_{disable, enable}_notrace in rethook_trampoline_handler
    4e38a02b2207 arm64: mte: Do not set PG_mte_tagged if tags were not initialized
    02cf4a336e7d s390/qdio: fix do_sqbs() inline assembly constraint
    25e8d30507aa s390/crypto: use vector instructions only if available for ChaCha20
    eeb63c07ba72 s390/dasd: fix command reject error on ESE devices
    acc2a40e428f nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()
    0fc73f310c05 powerpc/64s/radix: Fix soft dirty tracking
    ae5d148965bc tpm/tpm_tis: Disable interrupts for more Lenovo devices
    9a74146540cf powerpc/iommu: Incorrect DDW Table is referenced for SR-IOV device
    fc983cf5ddd2 powerpc/iommu: DMA address offset is incorrectly calculated with 2MB TCEs
    6e092fa42ed1 dt-bindings: ata: ahci-ceva: Cover all 4 iommus entries
    76313a63f779 drm/amdgpu/gfx11: update gpu_clock_counter logic
    055852074c96 drm/amdgpu: refine get gpu clock counter method
    4e2f9159f942 drm/amdgpu/gfx11: Adjust gfxoff before powergating on gfx11 as well
    abfe2ffc004a drm/amdgpu/gfx10: Disable gfxoff before disabling powergating.
    9de5a985884a drm/amdgpu/gmc11: implement get_vbios_fb_size()
    903e942500c6 drm/amd/pm: fix possible power mode mismatch between driver and PMFW
    595824a45090 ceph: force updating the msg pointer in non-split case
    3338d0b9acde vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF
    e16629c639d4 thunderbolt: Clear registers properly when auto clear isn't in use
    abc7e50e891f serial: qcom-geni: fix enabling deactivated interrupt
    1db5db7a99a0 serial: 8250_exar: Add support for USR298x PCI Modems
    cda8aa19bfdb serial: Add support for Advantech PCI-1611U card
    2cab13f500a6 mm: fix zswap writeback race condition
    254ee530286a maple_tree: make maple state reusable after mas_empty_area()
    6c4172d44cf9 statfs: enforce statfs[64] structure initialization
    154de42fe3f2 KVM: Fix vcpu_array[0] races
    75378b03a90d ksmbd: fix global-out-of-bounds in smb2_find_context_vals
    40d90ee0275a ksmbd: fix wrong UserName check in session_user
    af7335a4b946 ksmbd: allocate one more byte for implied bcc[0]
    f1d013b0f0f0 ksmbd: smb2: Allow messages padded to 8byte boundary
    4d25f93e64be SMB3: drop reference to cfile before sending oplock break
    3b66d58c89fd SMB3: Close all deferred handles of inode in case of handle lease break
    107677a8f435 wifi: rtw88: use work to update rate to avoid RCU warning
    d61191092d63 can: kvaser_pciefd: Disable interrupts in probe error path
    eabb11236a64 can: kvaser_pciefd: Do not send EFLUSH command on TFD interrupt
    45ce3beb02a0 can: kvaser_pciefd: Clear listen-only bit if not explicitly requested
    fcdfc1860f8a can: kvaser_pciefd: Empty SRB buffer in probe
    50bdf44a1bda can: kvaser_pciefd: Call request_irq() before enabling interrupts
    24bdfcb09947 can: kvaser_pciefd: Set CAN_STATE_STOPPED in kvaser_pciefd_stop()
    9cd1025b1a46 can: isotp: recvmsg(): allow MSG_CMSG_COMPAT flag
    836641cc41cd can: j1939: recvmsg(): allow MSG_CMSG_COMPAT flag
    0eee95cbbbf7 ALSA: hda/realtek: Fix mute and micmute LEDs for yet another HP laptop
    0cc95fdb67bb ALSA: hda/realtek: Add quirk for HP EliteBook G10 laptops
    4ea7c3388f38 ALSA: hda/realtek: Add quirk for 2nd ASUS GU603
    9328c6569457 ALSA: hda/realtek: Add a quirk for HP EliteDesk 805
    30043b0a065c ALSA: hda/realtek: Add quirk for Clevo L140AU
    0e1e6c077952 ALSA: hda: Add NVIDIA codec IDs a3 through a7 to patch table
    dc8c569d59f1 ALSA: hda: Fix Oops by 9.1 surround channel names
    44f2ed29e16d xhci: Fix incorrect tracking of free space on transfer rings
    643a45387896 xhci-pci: Only run d3cold avoidance quirk for s2idle
    ea56ede91178 Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when started"
    7356d42ceffe Revert "usb: gadget: udc: core: Prevent redundant calls to pullup"
    08bd1be1c716 usb: typec: altmodes/displayport: fix pin_assignment_show
    f1f810e54163 usb: gadget: u_ether: Fix host MAC address case
    a9342bd4c29b usb: dwc3: debugfs: Resume dwc3 before accessing registers
    ad43004fd532 usb: dwc3: gadget: Improve dwc3_gadget_suspend() and dwc3_gadget_resume()
    56a0769fa40a USB: UHCI: adjust zhaoxin UHCI controllers OverCurrent bit value
    4c3312745ffb usb-storage: fix deadlock when a scsi command timeouts more than once
    0ced12bdf624 USB: usbtmc: Fix direction for 0-length ioctl control messages
    2cd7d88fcb1e ALSA: usb-audio: Add a sample rate workaround for Line6 Pod Go
    d319fe244e87 bridge: always declare tunnel functions
    a836be60a3aa netfilter: nft_set_rbtree: fix null deref on element insertion
    8f58c538573a netfilter: nf_tables: fix nft_trans type confusion
    d862b63605df net: selftests: Fix optstring
    fdc5c8fb57d7 net: pcs: xpcs: fix C73 AN not getting enabled
    ee44bacf462d net: wwan: iosm: fix NULL pointer dereference when removing device
    c3e3e8933faa vlan: fix a potential uninit-value in vlan_dev_hard_start_xmit()
    e02d2b987c02 igb: fix bit_shift to be in [1..8] range
    516114d7fb58 net: dsa: mv88e6xxx: Fix mv88e6393x EPC write command offset
    172146c26f0c cassini: Fix a memory leak in the error handling path of cas_init_one()
    9cae243b9ae2 tun: Fix memory leak for detached NAPI queue.
    e2d59768f851 net: tun: rebuild error handling in tun_get_user
    ae42c6f79cec scsi: storvsc: Don't pass unused PFNs to Hyper-V host
    557ba100d8cf wifi: iwlwifi: mvm: don't trust firmware n_channels
    a270c552ced3 wifi: iwlwifi: mvm: fix OEM's name in the tas approved list
    bc907fbf48bc wifi: iwlwifi: fix OEM's name in the ppag approved list
    2160e1198191 wifi: iwlwifi: fw: fix DBGI dump
    a20550b3aac3 wifi: iwlwifi: mvm: fix cancel_delayed_work_sync() deadlock
    bc2265643208 wifi: mac80211: Abort running color change when stopping the AP
    01a4503d9fb8 wifi: mac80211: fix min center freq offset tracing
    c79d794a2cd7 wifi: mac80211: fortify the spinlock against deadlock by interrupt
    f9a85347e4d1 wifi: cfg80211: Drop entries with invalid BSSIDs in RNR
    dda9c9b117a2 ice: Fix ice VF reset during iavf initialization
    f181d799fb53 ice: introduce clear_reset_state operation
    36e6c7ada5ed net: bcmgenet: Restore phy_stop() depending upon suspend/close
    41357a52b83e net: bcmgenet: Remove phy_stop() from bcmgenet_netif_stop()
    e90cefcffd73 can: dev: fix missing CAN XL support in can_put_echo_skb()
    c9abef1e07ff s390/cio: include subchannels without devices also for evaluation
    f215b62f59be tipc: check the bearer min mtu properly when setting it by netlink
    259683001d7e tipc: do not update mtu if msg_max is too small in mtu negotiation
    735c64ea8802 tipc: add tipc_bearer_min_mtu to calculate min mtu
    73f53bc29572 virtio_net: Fix error unwinding of XDP initialization
    978a55b0c096 virtio-net: Maintain reverse cleanup order
    6fbedf987b6b net: nsh: Use correct mac_offset to unwind gso skb in nsh_gso_segment()
    82ede435440e drm/exynos: fix g2d_open/close helper function definitions
    866c78a3a99b ASoC: SOF: topology: Fix logic for copying tuples
    3e56a1c04882 ASoC: mediatek: mt8186: Fix use-after-free in driver remove path
    da1b6989764d SUNRPC: Fix trace_svc_register() call site
    47adb84916ee SUNRPC: always free ctxt when freeing deferred request
    fd86534872f4 SUNRPC: double free xprt_ctxt while still in use
    07821524f67b media: netup_unidvb: fix use-after-free at del_timer()
    4147a0cee15d net: hns3: fix reset timeout when enable full VF
    89982e050110 net: hns3: fix reset delay time to avoid configuration timeout
    2a06c5ab7b92 net: hns3: fix sending pfc frames after reset issue
    8ee34c90ce5e net: hns3: fix output information incomplete for dumping tx queue info with debugfs
    37c1e28967e1 net: dsa: rzn1-a5psw: disable learning for standalone ports
    7ceeb5608d16 net: dsa: rzn1-a5psw: fix STP states handling
    374c9cf3ad60 net: dsa: rzn1-a5psw: enable management frames for CPU port
    33a93db90967 erspan: get the proto with the md version for collect_md
    2a3e5f428fc4 serial: 8250_bcm7271: fix leak in `brcmuart_probe`
    dcf08087c2cd serial: 8250_bcm7271: balance clk_enable calls
    081790eee6b4 serial: arc_uart: fix of_iomap leak in `arc_serial_probe`
    820a60a4160f tcp: fix possible sk_priority leak in tcp_v4_send_reset()
    9bcf4794f1c6 vsock: avoid to close connected socket after the timeout
    116cc7670f06 sfc: disable RXFCS and RXALL features by default
    1c052acd717a ALSA: hda/realtek: Apply HP B&O top speaker profile to Pavilion 15
    a16bf8f9c8b5 wifi: mt76: connac: fix stats->tx_bytes calculation
    ee1a221d9478 ALSA: firewire-digi00x: prevent potential use after free
    ea9c758184ae net: phy: dp83867: add w/a for packet errors seen with short cables
    9407454a9b18 net: fec: Better handle pm_runtime_get() failing in .remove()
    e412fa5d81f0 selftets: seg6: disable rp_filter by default in srv6_end_dt4_l3vpn_test
    7099beeec97d selftests: seg6: disable DAD on IPv6 router cfg for srv6_end_dt4_l3vpn_test
    c498e5d39294 drm/msm: Fix submit error-path leaks
    474d57adf16a af_key: Reject optional tunnel/BEET mode templates in outbound policies
    e5a0b280b05f xfrm: Reject optional tunnel/BEET mode templates in outbound policies
    0d778f0cb131 cpupower: Make TSC read per CPU for Mperf monitor
    ce6c7befc2ea ASoC: fsl_micfil: Fix error handler with pm_runtime_enable
    9d3ac384cbce platform: Provide a remove callback that returns no value
    394336e13973 dt-bindings: display/msm: dsi-controller-main: Document qcom, master-dsi and qcom, sync-dual-dsi
    97d6437cbf10 drm/msm/dpu: Remove duplicate register defines from INTF
    d6d90e140226 drm/msm/dpu: Move non-MDP_TOP INTF_INTR offsets out of hwio header
    092f382f65c4 drm/msm/dpu: Assign missing writeback log_mask
    ccde7016d131 drm/msm/dp: unregister audio driver during unbind
    6867c4b5dbfe Revert "Fix XFRM-I support for nested ESP tunnels"
    070d0047c670 xfrm: don't check the default policy if the policy allows the packet
    7b5a8a23acbc drm/amdgpu: drop gfx_v11_0_cp_ecc_error_irq_funcs
    b5f3f923d421 platform/x86: hp-wmi: add micmute to hp_wmi_keymap struct
    1189b7f49540 platform/x86: Move existing HP drivers to a new hp subdir
    c9888aaed1a2 parisc: Replace regular spinlock with spin_trylock on panic path
    e112b2e26569 mfd: intel-lpss: Add Intel Meteor Lake PCH-S LPSS PCI IDs
    77f43c014a77 mfd: dln2: Fix memory leak in dln2_probe()
    d3ee2f9e3069 mfd: intel_soc_pmic_chtwc: Add Lenovo Yoga Book X90F to intel_cht_wc_models
    4e5e9da139c0 soundwire: bus: Fix unbalanced pm_runtime_put() causing usage count underflow
    60eb1afb4fb6 soundwire: qcom: gracefully handle too many ports in DT
    3060b08d633a phy: st: miphy28lp: use _poll_timeout functions for waits
    81e8f1abd08f soundwire: dmi-quirks: add remapping for Intel 'Rooks County' NUC M15
    895130e63c93 recordmcount: Fix memory leaks in the uwrite function
    4e2df9111887 lkdtm/stackleak: Fix noinstr violation
    fa825017fb15 sched: Fix KCSAN noinstr violation
    eaa182a6c81c mcb-pci: Reallocate memory region to avoid memory overlapping
    af4d6dbb1a92 serial: 8250: Reinit port->pm on port specific driver unbind
    6a4cef8244de usb: typec: tcpm: fix multiple times discover svids error
    1edff076cc41 HID: wacom: generic: Set battery quirk only when we see battery data
    37358a22a334 HID: Ignore battery for ELAN touchscreen on ROG Flow X13 GV301RA
    10ba1c342451 HID: apple: Set the tilde quirk flag on the Geyser 3
    f3e2f3e0a7af ASoC: amd: yc: Add ThinkBook 14 G5+ ARP to quirks list for acp6x
    1a6371c50b79 ASoC: amd: Add Dell G15 5525 to quirks list
    26fda3734523 ALSA: hda: LNL: add HD Audio PCI ID
    907d6b615e79 usb: typec: ucsi: acpi: add quirk for ASUS Zenbook UM325
    b484aa214763 spi: spi-imx: fix MX51_ECSPI_* macros when cs > 3
    1844749dcfc4 HID: logitech-hidpp: Reconcile USB and Unifying serials
    16420da84522 HID: logitech-hidpp: Don't use the USB serial for USB devices
    2e64faf6553b ASoC: amd: yc: Add DMI entries to support HP OMEN 16-n0xxx (8A42)
    6ce24d176ea6 staging: axis-fifo: initialize timeouts in init only
    b268082188e6 HID: apple: Set the tilde quirk flag on the Geyser 4 and later
    ec310591cf83 staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE
    022fe9fcac06 Bluetooth: btrtl: Add the support for RTL8851B
    fd269a0435f8 Bluetooth: L2CAP: fix "bad unlock balance" in l2cap_disconnect_rsp
    2f4a1b24dad0 Bluetooth: Add new quirk for broken set random RPA timeout for ATS2851
    76dd7893bd10 Bluetooth: hci_bcm: Fall back to getting bdaddr from EFI if not set
    803ba6dcc4b6 Bluetooth: btintel: Add LE States quirk support
    ea160ece0866 Bluetooth: btrtl: check for NULL in btrtl_set_quirks()
    f4f3cbdbf2c8 Bluetooth: Improve support for Actions Semi ATS2851 based devices
    88deda7cd8fa Bluetooth: btrtl: add support for the RTL8723CS
    c97ab504419b Bluetooth: Add new quirk for broken local ext features page 2
    d9a68e9e89ce Bluetooth: btusb: Add new PID/VID 04ca:3801 for MT7663
    75481fa7aa5b ipvs: Update width of source for ip_vs_sync_conn_options
    fab766c8a1af nbd: fix incomplete validation of ioctl arg
    068fd06148fb wifi: ath11k: Fix SKB corruption in REO destination ring
    57189c885149 wifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace
    fd35b7bb6d5a null_blk: Always check queue mode setting from configfs
    63e2d06adf6b wifi: iwlwifi: fix iwl_mvm_max_amsdu_size() for MLO
    e78526a06b53 wifi: ath11k: Ignore frags from uninitialized peer in dp.
    1655cfc85250 block, bfq: Fix division by zero error on zero wsum
    dbebdee3f2e9 wifi: iwlwifi: mvm: fix ptk_pn memory leak
    eb1ef44efac7 wifi: iwlwifi: pcie: Fix integer overflow in iwl_write_to_user_buf
    19f063df737b wifi: iwlwifi: add a new PCI device ID for BZ device
    0f9a1bcb9401 wifi: iwlwifi: pcie: fix possible NULL pointer dereference
    b4acb6c3ede8 md: fix soft lockup in status_resync
    60039bf72f81 bpf: Add preempt_count_{sub,add} into btf id deny list
    f2065b8b0a21 samples/bpf: Fix fout leak in hbm's run_bpf_prog
    e05d63f8b48a f2fs: fix to check readonly condition correctly
    7741ddc882a0 f2fs: fix to drop all dirty pages during umount() if cp_error is set
    f4631d295ae3 f2fs: Fix system crash due to lack of free space in LFS
    c1b0b32f2dfa crypto: jitter - permanent and intermittent health errors
    9d4430b7f862 ext4: Fix best extent lstart adjustment logic in ext4_mb_new_inode_pa()
    c6bee8970075 ext4: set goal start correctly in ext4_mb_normalize_request
    7739981b9c6a scsi: ufs: ufs-pci: Add support for Intel Lunar Lake
    d48590323186 gfs2: Fix inode height consistency check
    9c6da3b7f125 scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition
    c9115f49cf26 lib: cpu_rmap: Avoid use after free on rmap->obj array entries
    a7a4def6c704 scsi: target: iscsit: Free cmds before session free
    d957a100bcc2 netdev: Enforce index cap in netdev_get_tx_queue
    cf1fe8ccb506 net: Catch invalid index in XPS mapping
    ee5929c1e85e net: pasemi: Fix return type of pasemi_mac_start_tx()
    efb1a2575134 bnxt: avoid overflow in bnxt_get_nvram_directory()
    8a7228969431 scsi: lpfc: Correct used_rpi count when devloss tmo fires with no recovery
    a9df88cb31dc scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
    e6f4fb28890c ext2: Check block size validity during mount
    f8a6c53ff1d9 wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex
    c35105f375b5 wifi: brcmfmac: pcie: Provide a buffer of random bytes to the device
    4e7a81b5e718 bpf: Annotate data races in bpf_local_storage
    660ab315619b wifi: ath: Silence memcpy run-time false positive warning
    48e4e06e2c5f media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup
    83c42283bff0 media: Prefer designated initializers over memset for subdev pad ops
    210ef6cd8e63 drm/amdgpu: Fix sdma v4 sw fini error
    5675ecd2e0b0 drm/amd: Fix an out of bounds error in BIOS parser
    ec5f00a59aad drm/amd/display: Correct DML calculation to follow HW SPEC
    cf180afea303 ACPI: video: Remove desktops without backlight DMI quirks
    86ba4f7b9f94 irqchip/gicv3: Workaround for NVIDIA erratum T241-FABRIC-4
    57b5a56cecbe arm64: dts: qcom: sdm845-polaris: Drop inexistent properties
    fee613349009 ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects
    8c4a7163b7f1 ACPICA: Avoid undefined behavior: applying zero offset to null pointer
    b1db73e27f0b drm/msm/dp: Clean up handling of DP AUX interrupts
    a6eb3aa0ec5b drm/tegra: Avoid potential 32-bit integer overflow
    a7f9c14aced3 remoteproc: stm32_rproc: Add mutex protection for workqueue
    3dc61a19c924 drm/amd/display: fixed dcn30+ underflow issue
    86a159fd5bdb ACPI: EC: Fix oops when removing custom query handlers
    a8267bc8de73 firmware: arm_sdei: Fix sleep from invalid context BUG
    b963e1b7066f arm64: dts: imx8mq-librem5: Remove dis_u3_susphy_quirk from usb_dwc3_0
    9a342d4eb9fb memstick: r592: Fix UAF bug in r592_remove due to race condition
    110d42025223 drm/rockchip: dw_hdmi: cleanup drm encoder during unbind
    79ca94bc3e8c ACPI: processor: Check for null return of devm_kzalloc() in fch_misc_setup()
    cc4273233ace media: pvrusb2: VIDEO_PVRUSB2 depends on DVB_CORE to use dvb_* symbols
    3c67f49a6643 media: pci: tw68: Fix null-ptr-deref bug in buf prepare and finish
    6738841f6fcf media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()
    346c97552455 arm64: dts: qcom: msm8996: Add missing DWC3 quirks
    44361033a880 remoteproc: imx_dsp_rproc: Add custom memory copy implementation for i.MX DSP Cores
    10add04ee608 regmap: cache: Return error in cache sync operations for REGCACHE_NONE
    34813f041d0e drm/amd/display: Use DC_LOG_DC in the trasform pixel function
    d547d499e451 drm/amd/display: Enable HostVM based on rIOMMU active
    898b031dc267 platform/x86: x86-android-tablets: Add Acer Iconia One 7 B1-750 data
    09f7da1301cf drm/amd/display: Correct DML calculation to align HW formula
    92e6c79acad4 drm/amd/display: populate subvp cmd info only for the top pipe
    4b17053ba268 drm/displayid: add displayid_get_header() and check bounds better
    48960a503fce fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
    e8c322b76e58 open: return EINVAL for O_DIRECTORY | O_CREAT
    d0a8c0e31a09 rcu: Protect rcu_print_task_exp_stall() ->exp_tasks access
    801593f70be8 selftests: cgroup: Add 'malloc' failures checks in test_memcontrol
    522c441faf82 refscale: Move shutdown from wait_event() to wait_event_idle()
    b4319e457d6e ext4: allow ext4_get_group_info() to fail
    f12aa035e814 ext4: allow to find by goal if EXT4_MB_HINT_GOAL_ONLY is set
    cd2341c26fb6 ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled
    cc4086759fda ext4: reflect error codes from ext4_multi_mount_protect() to its callers
    5a08a72da35b fbdev: arcfb: Fix error handling in arcfb_probe()
    dcd289136bcc drm/i915: taint kernel when force probing unsupported devices
    36fa6187753a drm/i915: Expand force_probe to block probe of devices as well.
    86d73b1f98a8 drm/i915/dp: prevent potential div-by-zero
    dbf25cc21bef drm/i915: Fix NULL ptr deref by checking new_crtc_state
    1b485f39acf3 drm/i915/guc: Don't capture Gen8 regs on Xe devices
    e410895892f9 af_unix: Fix data races around sk->sk_shutdown.
    75924fb0f373 af_unix: Fix a data race of sk->sk_receive_queue->qlen.
    8759c1a361fa net: datagram: fix data-races in datagram_poll()
    9e62a4960838 net: mscc: ocelot: fix stat counter register values
    610a433810b2 ipvlan:Fix out-of-bounds caused by unclear skb->cb
    d695dccb74e3 gve: Remove the code of clearing PBA bit
    b4c0af8974be tcp: add annotations around sk->sk_shutdown accesses
    55caf900e13c net: add vlan_get_protocol_and_depth() helper
    65531f567536 net: deal with most data-races in sk_wait_event()
    bd0f360ee864 net: annotate sk->sk_err write from do_recvmmsg()
    a115dadf8995 netlink: annotate accesses to nlk->cb_running
    6b4585a3c9f0 bonding: fix send_peer_notif overflow
    d9176dc690bc netfilter: conntrack: fix possible bug_on with enable_hooks=1
    30e4b13b1bfb netfilter: nf_tables: always release netdev hooks from notifier
    6fa2e7bb7ba4 net: phy: bcm7xx: Correct read from expansion register
    7145f2309d64 net: Fix load-tearing on sk->sk_stamp in sock_recv_cmsgs().
    edc1f6d89be3 net: stmmac: Initialize MAC_ONEUS_TIC_COUNTER register
    9e916db758a0 linux/dim: Do nothing if no time delta between samples
    a84b08314f44 tick/broadcast: Make broadcast device replacement work correctly
    262841702603 scsi: ufs: core: Fix I/O hang that occurs when BKOPS fails in W-LUN suspend
    27c6b573d150 net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe()
    3e785c8deb04 net: skb_partial_csum_set() fix against transport header magic value
    8547757056c4 ARM: 9296/1: HP Jornada 7XX: fix kernel-doc warnings
    3ff962242f5b drm/mipi-dsi: Set the fwnode for mipi_dsi_device
    efd2821b8abe drm/fbdev-generic: prohibit potential out-of-bounds access

(From OE-Core rev: 29f984ee73f704fe01f0adf6763605470b1f6dd0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9e4ec14423ff33557be00aa020ad988d4deafd54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Bruce Ashfield
cb9881c191 linux-yocto/6.1: update to v6.1.29
Updating  to the latest korg -stable release that comprises
the following commits:

    fa74641fb6b9 Linux 6.1.29
    49f63bd0625a drm/amd/display: Fix hang when skipping modeset
    7f6738e003b3 spi: fsl-cpm: Use 16 bit mode for large transfers with even size
    441fa642995a spi: fsl-spi: Re-organise transfer bits_per_word adaptation
    76ce32682635 x86: fix clear_user_rep_good() exception handling annotation
    4ae066699dc0 x86/amd_nb: Add PCI ID for family 19h model 78h
    514728ffc05b f2fs: inode: fix to do sanity check on extent cache correctly
    85eb8b61dd4c f2fs: fix to do sanity check on extent cache correctly
    18ecffd03626 drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values
    c5fa4eedddd1 ext4: fix invalid free tracking in ext4_xattr_move_to_block()
    d87a4e4094c9 ext4: remove a BUG_ON in ext4_mb_release_group_pa()
    19fb73b8eaef ext4: fix lockdep warning when enabling MMP
    6e7a97628f27 ext4: bail out of ext4_xattr_ibody_get() fails for any reason
    1d2caddbeeee ext4: add bounds checking in get_max_inline_xattr_value_size()
    665cc3ba5033 ext4: fix deadlock when converting an inline directory in nojournal mode
    f68876aeef96 ext4: improve error handling from ext4_dirhash()
    25c9fca7b71c ext4: improve error recovery code paths in __ext4_remount()
    748e4bb27d2e ext4: check iomap type only if ext4_iomap_begin() does not fail
    b006e2228503 ext4: fix data races when using cached status extents
    1fffe4750500 ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum
    dba62fa84a8e ext4: fix WARNING in mb_find_extent
    1b9c92432fdf locking/rwsem: Add __always_inline annotation to __down_read_common() and inlined callers
    98643c991057 drm/dsc: fix drm_edp_dsc_sink_output_bpp() DPCD high byte usage
    f95a60099dfd drm: Add missing DP DSC extended capability definitions.
    4aba9ab6a007 ksmbd: fix racy issue from smb2 close and logoff with multichannel
    502cf9709036 ksmbd: block asynchronous requests when making a delay on session setup
    1fc8a2b14ef5 ksmbd: destroy expired sessions
    f623f627ad2b ksmbd: fix racy issue from session setup and logoff
    91bbf9cb2387 ksmbd: Implements sess->ksmbd_chann_list as xarray
    3db734e4d95a drm/amd/display: Change default Z8 watermark values
    a009acf68717 drm/amd/display: Update Z8 SR exit/enter latencies
    e22ef1561085 drm/amd/display: Update Z8 watermarks for DCN314
    cf49b2ff253f ASoC: codecs: wcd938x: fix accessing regmap on unattached devices
    400950f66a8a ASoC: codecs: constify static sdw_slave_ops struct
    5279ab199cbd ASoC: rt1318: Add RT1318 SDCA vendor-specific driver
    1d383f9d6527 drm/amd/display: Lowering min Z8 residency time
    e6332695d484 drm/amd/display: Update minimum stutter residency for DCN314 Z8
    25f603624246 drm/amd/display: Add minimum Z8 residency debug option
    97b3d8eed097 drm/amd/display: Fix Z8 support configurations
    182251340884 drm/amd/display: Add debug option to skip PSR CRTC disable
    bcde2c877993 drm/amd/display: Add Z8 allow states to z-state support list
    83468820168a drm/amd/display: Refactor eDP PSR codes
    74a03d3c8d89 drm/i915: Check pipe source size when using skl+ scalers
    549ce5199d99 drm/i915/mtl: update scaler source and destination limits for MTL
    20a1064a7598 wifi: rtw88: rtw8821c: Fix rfe_option field width
    6578ae84e9ad irqchip/loongson-eiointc: Fix registration of syscore_ops
    fa29d577e2fc irqchip/loongson-eiointc: Fix incorrect use of acpi_get_vec_parent
    9e7f788dd74a irqchip/loongarch: Adjust acpi_cascade_irqdomain_init() and sub-routines
    c5111be87376 drm/msm: fix missing wq allocation error handling
    46062a1c0a01 drm/msm: Hangcheck progress detection
    a7fdb37d93bc drm/msm/adreno: Simplify read64/write64 helpers
    cba285695872 f2fs: factor out victim_entry usage from general rb_tree use
    4377b1d3b19e f2fs: allocate the extent_cache by default
    33112a0a17ef f2fs: refactor extent_cache to support for read and more
    3af09dee7f9b f2fs: remove unnecessary __init_extent_tree
    91b1554e66bc f2fs: move internal functions into extent_cache.c
    155ff41cf28c f2fs: specify extent cache for read explicitly
    77d2651cc8b5 drm/msm/adreno: adreno_gpu: Use suspend() instead of idle() on load error
    b2bd08be1a64 fs/ntfs3: Refactoring of various minor issues
    fb98336e23c1 HID: wacom: insert timestamp to packed Bluetooth (BT) events
    fb2f0c00048b HID: wacom: Set a default resolution for older tablets
    7a0731130425 drm/amd: Use `amdgpu_ucode_*` helpers for MES
    a3e3a640d4fd drm/amd: Add a new helper for loading/validating microcode
    3e1fa150e798 drm/amd: Load MES microcode during early_init
    369b89184222 drm/amdgpu: remove deprecated MES version vars
    506da05a5e0f drm/amd/pm: avoid potential UBSAN issue on legacy asics
    2a179117a3b2 drm/amdgpu: disable sdma ecc irq only when sdma RAS is enabled in suspend
    17a69415679c drm/amd/pm: parse pp_handle under appropriate conditions
    348dcdf102a4 drm/amd/display: Enforce 60us prefetch for 200Mhz DCFCLK modes
    7a8248317b32 drm/amdgpu: Fix vram recover doesn't work after whole GPU reset (v2)
    6197fb331a6e drm/amdgpu: change gfx 11.0.4 external_id range
    28c2e072fa13 drm/amdgpu/jpeg: Remove harvest checking for JPEG3
    f661ad53658a drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras
    02e6cb9b3aef drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v11_0_hw_fini
    59cb2d46e177 drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
    59e2439111ac drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v10_0_hw_fini
    f2e43c98042c drm/amd/display: fix flickering caused by S/G mode
    4c1e747ca61c drm/amd/display: filter out invalid bits in pipe_fuses
    c2b2641ecb9a drm/amd/display: Fix 4to1 MPC black screen with DPP RCO
    cc9942840afa drm/amd/display: Add NULL plane_state check for cursor disable logic
    bfe56245f4f1 drm/panel: otm8009a: Set backlight parent to panel device
    2e51d7c09d1f irqchip/loongson-eiointc: Fix returned value on parsing MADT
    84c64fb57887 irqchip/loongson-pch-pic: Fix pch_pic_acpi_init calling
    8a0b544b7cae f2fs: fix potential corruption when moving a directory
    424f8cdc0ad2 f2fs: fix null pointer panic in tracepoint in __replace_atomic_write_block
    aa0f98c5d196 drm/i915/dsi: Use unconditional msleep() instead of intel_dsi_msleep()
    6e1476225ec0 drm/msm: fix workqueue leak on bind errors
    544711591a67 drm/msm: fix vram leak on bind errors
    0fad173f9cf2 drm/msm: fix drm device leak on bind errors
    dd8ce825b165 drm/msm: fix NULL-deref on irq uninstall
    16e0e6fb4511 drm/msm: fix NULL-deref on snapshot tear down
    5b6b81decdf0 drm/i915/color: Fix typo for Plane CSC indexes
    2b01534c8fa2 drm/bridge: lt8912b: Fix DSI Video Mode
    47bfe1280456 drm/msm/adreno: fix runtime PM imbalance at gpu load
    3d0fdfefb384 ARM: dts: aspeed: romed8hm3: Fix GPIO polarity of system-fault LED
    f327c7443610 ARM: dts: s5pv210: correct MIPI CSIS clock name
    5503ea70de6c ARM: dts: exynos: fix WM8960 clock name in Itop Elite
    6efe88c34f5f ARM: dts: aspeed: asrock: Correct firmware flash SPI clocks
    a64910ba868c sysctl: clarify register_sysctl_init() base directory order
    c3c70209a991 remoteproc: rcar_rproc: Call of_node_put() on iteration error
    948f81dac388 remoteproc: imx_rproc: Call of_node_put() on iteration error
    fe3497c3bfcb remoteproc: imx_dsp_rproc: Call of_node_put() on iteration error
    8a0fc842af1c remoteproc: st: Call of_node_put() on iteration error
    0d6b66657c24 remoteproc: stm32: Call of_node_put() on iteration error
    fde64a409bee proc_sysctl: enhance documentation
    f4708645c144 proc_sysctl: update docs for __register_sysctl_table()
    c93185ffd996 sh: nmi_debug: fix return value of __setup handler
    2ebd0064352e sh: init: use OF_EARLY_FLATTREE for early init
    ab2221dc3c76 sh: mcount.S: fix build error when PRINTK is not enabled
    fdac282b3c17 sh: math-emu: fix macro redefined warning
    6d103a576522 SMB3: force unmount was failing to close deferred close files
    bb0091a5c97a smb3: fix problem remounting a share after shutdown
    145f54ea336b inotify: Avoid reporting event with invalid wd
    d759abeb273c platform/x86: thinkpad_acpi: Add profile force ability
    66d4f7f327e4 platform/x86: touchscreen_dmi: Add info for the Dexp Ursus KX210i
    e614c1de9e8d platform/x86: thinkpad_acpi: Fix platform profiles on T490
    a02d29de79a4 platform/x86: touchscreen_dmi: Add upside-down quirk for GDIX1002 ts on the Juno Tablet
    61549b7414b6 platform/x86/intel-uncore-freq: Return error on write frequency
    b886ad6b6bfb cifs: release leases for deferred close handles when freezing
    187f89cff775 cifs: fix pcchunk length type in smb2_copychunk_range
    c5544c95ad3d btrfs: zoned: fix full zone super block reading on ZNS
    4def3a0a8522 btrfs: zoned: zone finish data relocation BG with last IO
    1e8de3223bd2 btrfs: fix space cache inconsistency after error loading it from disk
    1689eabbc3d0 btrfs: print-tree: parent bytenr must be aligned to sector size
    83ae0282f17d btrfs: make clear_cache mount option to rebuild FST without disabling it
    dd5a21941f51 btrfs: zero the buffer before marking it dirty in btrfs_redirty_list_add
    15e877e5923e btrfs: don't free qgroup space unless specified
    44c52544b271 btrfs: fix encoded write i_size corruption with no-holes
    17eaeee4c5f2 btrfs: fix assertion of exclop condition when starting balance
    0a99cd08e236 btrfs: properly reject clear_cache and v1 cache for block-group-tree
    8583cc10aad7 btrfs: zoned: fix wrong use of bitops API in btrfs_ensure_empty_zones
    bcd7aa2963d3 btrfs: fix btrfs_prev_leaf() to not return the same key twice
    000322b29c01 x86/retbleed: Fix return thunk alignment
    2feac714c681 RISC-V: fix taking the text_mutex twice during sifive errata patching
    0fad198fffda RISC-V: take text_mutex during alternative patching
    13a0e212ddef perf stat: Separate bperf from bpf_profiler
    602603baae5f perf tracepoint: Fix memory leak in is_valid_tracepoint()
    3fb0d061dd0b perf symbols: Fix return incorrect build_id size in elf_read_build_id()
    2dd641d78d44 crypto: engine - fix crypto_queue backlog handling
    14a2259317f9 crypto: engine - Use crypto_request_complete
    6ba620fc9164 crypto: api - Add scaffolding to change completion function signature
    1055eddce776 crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs()
    267db6bff34b perf cs-etm: Fix timeless decode mode detection
    b6671b7172a7 perf map: Delete two variable initialisations before null pointer checks in sort__sym_from_cmp()
    d592598f4775 perf pmu: zfree() expects a pointer to a pointer to zero it after freeing its contents
    36a840a86278 perf vendor events power9: Remove UTF-8 characters from JSON files
    0dabe1ae74e9 perf ftrace: Make system wide the default target for latency subcommand
    44060612613c perf tests record_offcpu.sh: Fix redirection of stderr to stdin
    6d20672d52ef perf vendor events s390: Remove UTF-8 characters from JSON file
    b2b916996042 perf scripts intel-pt-events.py: Fix IPC output for Python 2
    f108cbc83641 perf record: Fix "read LOST count failed" msg with sample read
    2424b456c37d net: enetc: check the index of the SFI rather than the handle
    d86d42e4a9b6 virtio_net: suppress cpu stall when free_unused_bufs
    4a61d7965611 ice: block LAN in case of VF to VF offload
    2f80efc46b73 net: dsa: mt7530: fix network connectivity with multiple CPU ports
    9d46edd93aa4 net: dsa: mt7530: split-off common parts from mt7531_setup
    98fc75c172ba net: dsa: mt7530: fix corrupt frames using trgmii on 40 MHz XTAL MT7621
    c6fafaa6f20a KVM: s390: fix race in gmap_make_secure()
    4e875cf90d75 ALSA: caiaq: input: Add error handling for unsupported input methods in `snd_usb_caiaq_input_init`
    7887397338a5 drm/amdgpu: add a missing lock for AMDGPU_SCHED
    f2e8e338622b af_packet: Don't send zero-byte data in packet_sendmsg_spkt().
    0d02efe7f251 ionic: catch failure from devlink_alloc
    942a2a0184f7 ethtool: Fix uninitialized number of lanes
    a05e5634c158 ionic: remove noise from ethtool rxnfc error msg
    3cad35b62eaa octeontx2-vf: Detach LF resources on probe cleanup
    401d11f274a5 octeontx2-pf: Disable packet I/O for graceful exit
    d28f6ad8b1a0 octeontx2-af: Skip PFs if not enabled
    ac613d0bd244 octeontx2-af: Fix issues with NPC field hash extract
    ab0742bd5b43 octeontx2-af: Update/Fix NPC field hash extract feature
    2b84d24d3ad1 octeontx2-pf: Add additional checks while configuring ucast/bcast/mcast rules
    bd9234da97fd octeontx2-af: Allow mkex profile without DMAC and add L2M/L2B header extraction support
    14504aaa8b55 octeontx2-pf: Increase the size of dmac filter flows
    2376ca72b55c octeontx2-af: Fix depth of cam and mem table.
    1c98271e0c23 octeontx2-af: Fix start and end bit for scan config
    e92399f52744 octeontx2-af: Secure APR table update with the lock
    419cc2c50761 selftests: netfilter: fix libmnl pkg-config usage
    4b08cdd239e7 drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info
    2bb120405ad3 riscv: compat_syscall_table: Fixup compile warning
    40f8b3f5e679 rxrpc: Fix hard call timeout units
    ab14de49e44f sfc: Fix module EEPROM reporting for QSFP modules
    68b1614b3211 r8152: move setting r8153b_rx_agg_chg_indicate()
    2642d7c136cd r8152: fix the poor throughput for 2.5G devices
    fbdde7ef2564 r8152: fix flow control issue of RTL8156A
    e2efb94966e7 net/sched: act_mirred: Add carrier check
    3b3537d4a026 i2c: tegra: Fix PEC support for SMBUS block read
    ffa97b59526e RISC-V: mm: Enable huge page support to kernel_page_present() function
    1e8ad3e45b5d watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe()
    c36975a654d4 block: Skip destroyed blkg when restart in blkg_destroy_all()
    7c4c6e2a4075 writeback: fix call of incorrect macro
    5ac2914f67c8 net: dsa: mv88e6xxx: add mv88e6321 rsvd2cpu
    1f274d53165b net: ipv6: fix skb hash for some RST packets
    686c70131e93 selftests: srv6: make srv6_end_dt46_l3vpn_test more robust
    5a98019e96e1 sit: update dev->needed_headroom in ipip6_tunnel_bind_dev()
    55866fe3fded net/sched: cls_api: remove block_cb from driver_list before freeing
    7fa93e39fbb0 tcp: fix skb_copy_ubufs() vs BIG TCP
    449280afaa05 net/ncsi: clear Tx enable mode when handling a Config required AEN
    a78b922d1180 octeontx2-pf: mcs: Do not reset PN while updating secy
    fd59ec145595 octeontx2-pf: mcs: Fix shared counters logic
    a8ddb974f014 octeontx2-pf: mcs: Clear stats before freeing resource
    c52ebecd89ae octeontx2-pf: mcs: Match macsec ethertype along with DMAC
    a3dcc45eca01 octeontx2-pf: mcs: Fix NULL pointer dereferences
    9ff806d07025 octeontx2-af: mcs: Fix MCS block interrupt
    add6bdb8d603 octeontx2-af: mcs: Config parser to skip 8B header
    39b436f0acfb octeontx2-af: mcs: Write TCAM_DATA and TCAM_MASK registers at once
    06fdaf7711f3 octeonxt2-af: mcs: Fix per port bypass config
    192445017534 ixgbe: Fix panic during XDP_TX with > 64 CPUs
    80a791a19902 drm/amd/display: Update bounding box values for DCN321
    7bba2e5e096e drm/amd/display: Do not clear GPINT register when releasing DMUB from reset
    ccb0ad946adc drm/amd/display: Reset OUTBOX0 r/w pointer on DMUB reset
    bb13726625e7 drm/amd/display: Fixes for dcn32_clk_mgr implementation
    b7ae53dd0d29 drm/amd/display: Return error code on DSC atomic check failure
    374f7fa01ae5 drm/amd/display: Add missing WA and MCLK validation
    0b47019f544f drm/amd/display: Remove FPU guards from the DML folder
    3738a230831e scsi: qedi: Fix use after free bug in qedi_remove()
    e60e5d672248 ASoC: Intel: soc-acpi-byt: Fix "WM510205" match no longer working
    1193a36f58c6 KVM: x86/mmu: Refresh CR0.WP prior to checking for emulated permission faults
    71e848bac0a4 KVM: VMX: Make CR0.WP a guest owned bit
    27ec4cbc1d51 KVM: x86: Make use of kvm_read_cr*_bits() when testing bits
    956777b2538e KVM: x86: Do not unload MMU roots when only toggling CR0.WP with TDP enabled
    d20a0195b3fe KVM: x86/mmu: Avoid indirect call for get_cr3
    28d0f85aff34 drm/amd/display: Ext displays with dock can't recognized after resume
    d69d5e2a81df fs/ntfs3: Fix null-ptr-deref on inode->i_op in ntfs_lookup()
    93eb8dd4b4c1 mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s25hx SEMPER flash
    50f54a48f678 mailbox: zynqmp: Fix counts of child nodes
    e63a796b852f mailbox: zynq: Switch to flexible array to simplify code
    b12078b67a6d soc: qcom: llcc: Do not create EDAC platform device on SDM845
    bf9712195f5e qcom: llcc/edac: Support polling mode for ECC handling
    4fdb257b2a4c mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s28hx SEMPER flash
    8630dfcdab0d mtd: spi-nor: Add a RWW flag
    897a40dbcf1e mtd: spi-nor: add SFDP fixups for Quad Page Program
    de26d26f5519 mtd: spi-nor: spansion: Remove NO_SFDP_FLAGS from s28hs512t info
    b951d4924c50 KVM: x86/pmu: Disallow legacy LBRs if architectural LBRs are available
    189cdd8fe7c6 KVM: x86: Track supported PERF_CAPABILITIES in kvm_caps
    0457b6d04fb7 perf/x86/core: Zero @lbr instead of returning -1 in x86_perf_get_lbr() stub
    9239f895a854 crypto: ccp - Clear PSP interrupt status register before calling handler
    add662775df4 drm/vmwgfx: Fix Legacy Display Unit atomic drm support
    b3204cb3e0ad drm/vmwgfx: Remove explicit and broken vblank handling
    c613c951e686 usb: dwc3: gadget: Execute gadget stop after halting the controller
    065c3d4319c5 USB: dwc3: gadget: drop dead hibernation code

(From OE-Core rev: 65f144af7b20c6331a2fda26d047f7fa7258b093)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e1ecd91b71c3246599b22c9281404d3a9a7db01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Bruce Ashfield
6b2dcb4415 linux-yocto/6.1: update to v6.1.28
Updating  to the latest korg -stable release that comprises
the following commits:

    bf4ad6fa4e53 Linux 6.1.28
    4507918cd1f8 netfilter: nf_tables: deactivate anonymous set from preparation phase
    1887a4faff5c scsi: libsas: Grab the ATA port lock in sas_ata_device_link_abort()
    6dc7e3633461 debugobject: Ensure pool refill (again)
    010842e88269 drm/amd/display (gcc13): fix enum mismatch
    915923898ffc i40e: use int for i40e_status
    8c82be552512 i40e: Remove string printing for i40e_status
    3cd9d45e87c4 i40e: Remove unused i40e status codes
    b593f157a875 sfc (gcc13): synchronize ef100_enqueue_skb()'s return type
    245653ed73e3 block/blk-iocost (gcc13): keep large values in a new enum
    40db6d172b1f perf intel-pt: Fix CYC timestamps after standalone CBR
    376e662ebb48 perf auxtrace: Fix address filter entire kernel size
    146b7251c129 wifi: ath11k: synchronize ath11k_mac_he_gi_to_nl80211_he_gi()'s return type
    d8d206beb365 bonding (gcc13): synchronize bond_{a,t}lb_xmit() types
    55c91905b9e1 thunderbolt: Use correct type in tb_port_is_clx_enabled() prototype
    e4a37e906009 cifs: protect session status check in smb2_reconnect()
    64d62ac6d651 cifs: fix potential use-after-free bugs in TCP_Server_Info::hostname
    a74406057488 blk-iocost: avoid 64-bit division in ioc_timer_fn
    7ac1a137beb3 dm: don't lock fs when the map is NULL in process of resume
    9a94ebc74c35 dm ioctl: fix nested locking in table_clear() to remove deadlock concern
    cb874a190f3f dm flakey: fix a crash with invalid table line
    3877b5c1509b dm integrity: call kmem_cache_destroy() in dm_integrity_init() error path
    21d5198c210c dm clone: call kmem_cache_destroy() in dm_clone_init() error path
    1da79e01e403 dm verity: fix error handling for check_at_most_once on FEC
    2f5aa54e4051 vhost_vdpa: fix unmap process in no-batch mode
    6b5b755463be mm/mempolicy: correctly update prev when policy is equal on mbind
    840516585c63 ia64: fix an addr to taddr in huge_pte_offset()
    7964bacf8381 s390/dasd: fix hanging blockdevice after request requeue
    9628d45a0667 btrfs: scrub: reject unsupported scrub flags
    7a0a402930ef scripts/gdb: fix lx-timerlist for Python3
    a16e9117759b clk: rockchip: rk3399: allow clk_cifout to force clk_cifout_src to reparent
    5b4052aa956e clk: microchip: fix potential UAF in auxdev release callback
    39712c8aeb79 wifi: rtw89: fix potential race condition between napi_init and napi_enable
    430933064122 wifi: rtl8xxxu: RTL8192EU always needs full init
    ead3b023aef9 mailbox: zynqmp: Fix typo in IPI documentation
    706ae665747b kcsan: Avoid READ_ONCE() in read_instrumented_memory()
    c051c472fbb5 mailbox: zynqmp: Fix IPI isr handling
    8cc1ab7de215 mtd: spi-nor: core: Update flash's current address mode when changing address mode
    f1b4affca1e1 mtd: core: fix error path for nvmem provider
    26358f330405 mtd: core: fix nvmem error reporting
    43a72c1619aa mtd: core: provide unique name for nvmem device, take two
    da4c74773079 kasan: hw_tags: avoid invalid virt_to_page()
    507fbfa79acb md/raid5: Improve performance for sequential IO
    b50fd1c3d9d0 md/raid10: fix null-ptr-deref in raid10_sync_request
    acffdf1a7fe4 drbd: correctly submit flush bio on barrier
    8d67449f907e mm: do not reclaim private data from pinned page
    25457d07c814 nilfs2: fix infinite loop in nilfs_mdt_get_block()
    a73201c607d8 nilfs2: do not write dirty data after degenerating to read-only
    4844052acb55 ALSA: hda/realtek: Fix mute and micmute LEDs for an HP laptop
    358aa78c024a ALSA: hda/realtek: support HP Pavilion Aero 13-be0xxx Mute LED
    6d57f6cc21cb ALSA: hda/realtek: Add quirk for ASUS UM3402YAR using CS35L41
    b433bfab89a5 ALSA: hda/realtek: Add quirk for ThinkPad P1 Gen 6
    9e915d81f5c1 ALSA: usb-audio: Add quirk for Pioneer DDJ-800
    fd0286717764 parisc: Ensure page alignment in flush functions
    b80b7a9bb868 parisc: Fix argument pointer in real64_call_asm()
    274c0b0c2f49 afs: Avoid endless loop if file is larger than expected
    7b6ccf752a11 afs: Fix getattr to report server i_size on dirs, not local size
    2cfce11132e4 afs: Fix updating of i_size with dv jump from server
    72f3217aa1d3 PM: hibernate: Do not get block device exclusively in test_resume mode
    208ba216cc90 PM: hibernate: Turn snapshot_test into global variable
    fc3153a91486 ACPI: PM: Do not turn of unused power resources on the Toshiba Click Mini
    fed87ce073c7 hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id()
    a51e150ef998 hte: tegra: fix 'struct of_device_id' build error
    5790f76dd204 mfd: arizona-spi: Add missing MODULE_DEVICE_TABLE
    d617022971a5 mfd: ocelot-spi: Fix unsupported bulk read
    eefc8cbb6060 mfd: tqmx86: Correct board names for TQMxE39x
    4598908562ae mfd: tqmx86: Specify IO port register range more precisely
    8c989fa9e82f mfd: tqmx86: Do not access I2C_DETECT register through io_base
    b3b3f66bd47c thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe
    86dfb4709490 pinctrl-bcm2835.c: fix race condition when setting gpio dir
    6107896806a6 dmaengine: at_xdmac: do not enable all cyclic channels
    a8c24a80de00 dmaengine: dw-edma: Fix to enable to issue dma request on DMA processing
    7d28c500e5bb dmaengine: dw-edma: Fix to change for continuous transfer
    502c33c7e75f dma: gpi: remove spurious unlock in gpi_ch_init
    a1f131d2e1e8 phy: ti: j721e-wiz: Fix unreachable code in wiz_mode_select()
    548113502ea0 phy: tegra: xusb: Add missing tegra_xusb_port_unregister for usb2_port and ulpi_port
    6c0df503cd2e soundwire: intel: don't save hw_params for use in prepare
    bae3248bb1ed soundwire: cadence: rename sdw_cdns_dai_dma_data as sdw_cdns_dai_runtime
    655b64724568 pwm: mtk-disp: Configure double buffering before reading in .get_state()
    7cbcb1ca53bd pwm: mtk-disp: Disable shadow registers before setting backlight values
    19f5910a1e6e leds: tca6507: Fix error handling of using fwnode_property_read_string
    8c16219c96dd dmaengine: mv_xor_v2: Fix an error code.
    60d95b747f7c pinctrl: ralink: reintroduce ralink,rt2880-pinmux compatible string
    1b50402d3a52 leds: TI_LMU_COMMON: select REGMAP instead of depending on it
    eefc7676d595 pinctrl: renesas: r8a779g0: Fix ERROROUTC function names
    d6004abdf5d6 pinctrl: renesas: r8a779g0: Fix Group 6/7 pin functions
    3727fafed747 pinctrl: renesas: r8a779g0: Fix Group 4/5 pin functions
    9af5833818c7 pinctrl: renesas: r8a779f0: Fix tsn1_avtp_pps pin group
    6a02dda05473 pinctrl: renesas: r8a779a0: Remove incorrect AVB[01] pinmux configuration
    96d440bee177 ext4: fix use-after-free read in ext4_find_extent for bigalloc + inline
    d30090eb546d ext4: fix i_disksize exceeding i_size problem in paritally written case
    32dce45c8eed SMB3: Close deferred file handles in case of handle lease break
    3aa9d065b068 SMB3: Add missing locks to protect deferred close file list
    c2b990d7aad7 timekeeping: Fix references to nonexistent ktime_get_fast_ns()
    b265609a2ad7 openrisc: Properly store r31 to pt_regs on unhandled exceptions
    369d9e8fae93 clocksource/drivers/davinci: Fix memory leak in davinci_timer_register when init fails
    07ad6cc82b3c RDMA/mlx5: Use correct device num_ports when modify DC
    43d48cec9af2 SUNRPC: remove the maximum number of retries in call_bind_status
    10dcd0ed787f RDMA/mlx5: Fix flow counter query via DEVX
    911652893751 RDMA/mlx5: Check pcie_relaxed_ordering_enabled() in UMR
    4aa9243ebe15 swiotlb: fix debugfs reporting of reserved memory pools
    e6c69b06e720 swiotlb: relocate PageHighMem test away from rmem_swiotlb_setup
    36d087e49dab Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe
    ed90364b4299 clk: qcom: dispcc-qcm2290: Remove inexistent DSI1PHY clk
    86d9cafdd89a clk: qcom: dispcc-qcm2290: get rid of test clock
    c3d4119fa5f6 clk: qcom: gcc-sm8350: fix PCIe PIPE clocks handling
    b75450f51c5f clk: qcom: lpassaudiocc-sc7280: Add required gdsc power domain clks in lpass_cc_sc7280_desc
    0b421824ecda clk: qcom: lpasscc-sc7280: Skip qdsp6ss clock registration
    8f7f8d06afd6 iommu/amd: Set page size bitmap during V2 domain allocation
    c49a8c5c8b91 NFSv4.1: Always send a RECLAIM_COMPLETE after establishing lease
    9b75bd4eef4f clk: imx: imx8ulp: Fix XBAR_DIVBUS and AD_SLOW clock parents
    72ff6c115667 clk: imx: fracn-gppll: disable hardware select control
    b32bb993164b clk: imx: fracn-gppll: fix the rate table
    dce59b544370 IB/hfi1: Fix bugs with non-PAGE_SIZE-end multi-iovec user SDMA requests
    39d39bfb82ab IB/hfi1: Fix SDMA mmu_rb_node not being evicted in LRU order
    4323aaedeba3 RDMA/srpt: Add a check for valid 'mad_agent' pointer
    720c915a6298 RDMA/cm: Trace icm_send_rej event before the cm state is reset
    40b4ad4c17cb power: supply: rk817: Fix low SOC bugs
    8be358c80471 clk: qcom: gcc-sm6115: Mark RCGs shared where applicable
    e70ce2193974 RDMA/siw: Remove namespace check from siw_netdev_event()
    d3b2acaa1489 clk: add missing of_node_put() in "assigned-clocks" property parsing
    a2b3eaaa9782 power: supply: generic-adc-battery: fix unit scaling
    37f689d859ee iommu/mediatek: Set dma_mask for PGTABLE_PA_35_EN
    9163a5b4ed29 fs/ntfs3: Fix slab-out-of-bounds read in hdr_delete_de()
    17048287ac79 fs/ntfs3: Fix OOB read in indx_insert_into_buffer
    7898db22ed6c fs/ntfs3: Add check for kmemdup
    1bc6bb657dfb fs/ntfs3: Fix memory leak if ntfs_read_mft failed
    7d374becc000 RDMA/erdma: Use fixed hardware page size
    bb0433ae6fa2 rtc: k3: handle errors while enabling wake irq
    8a4e9482f45d rtc: meson-vrtc: Use ktime_get_real_ts64() to get the current time
    3ce0df349327 RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()
    5f5876ae295a rtc: omap: include header for omap_rtc_power_off_program prototype
    c3c2aee6f926 workqueue: Fix hung time report of worker pools
    8fbcfff08380 clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src
    bddbb3b9dc14 RDMA/rdmavt: Delete unnecessary NULL check
    a6d8529dcfee clk: mediatek: mt8135: Properly use CLK_IS_CRITICAL flag
    d193c4aea391 clk: mediatek: mt7622: Properly use CLK_IS_CRITICAL flag
    2b18f12fe6d2 clk: mediatek: Consistently use GATE_MTK() macro
    6f24e8ef3372 clk: mediatek: mt2712: Add error handling to clk_mt2712_apmixed_probe()
    23cc8191255a RDMA/siw: Fix potential page_array out of range access
    d7c8d32e5d3a IB/hifi1: add a null check of kzalloc_node in hfi1_ipoib_txreq_init
    a2290ed2afa7 clk: at91: clk-sam9x60-pll: fix return value check
    0489c2b2c310 tracing/user_events: Ensure write index cannot be negative
    6472a6d0c798 sched/rt: Fix bad task migration for rt tasks
    1969b143d096 riscv: Fix ptdump when KASAN is enabled
    e38f070a57c9 Revert "objtool: Support addition to set CFA base"
    2d44928903ed perf/core: Fix hardlockup failure caused by perf throttle
    944465c772fb sched/fair: Fix inaccurate tally of ttwu_move_affine
    46f773f39e30 powerpc/rtas: use memmove for potentially overlapping buffer copy
    8bcecadabb35 macintosh: via-pmu-led: requires ATA to be set
    5dae22c28f6c powerpc/sysdev/tsi108: fix resource printk format warnings
    89e458456c9d powerpc/wii: fix resource printk format warnings
    2f40b71e4634 powerpc/mpc512x: fix resource printk format warning
    f9325ac52f52 powerpc/perf: Properly detect mpc7450 family
    7c71aee351fe macintosh/windfarm_smu_sat: Add missing of_node_put()
    c0f49bbb305b selftests/powerpc/pmu: Fix sample field check in the mmcra_thresh_marked_sample_test
    ae69d36d4635 fbdev: mmp: Fix deferred clk handling in mmphw_probe()
    ce818ee162cf virtio_ring: don't update event idx on get_buf
    428cc252701d spmi: Add a check for remove callback when removing a SPMI driver
    ec01408c0f5d staging: rtl8192e: Fix W_DISABLE# does not work after stop/start
    7f43a5bde87b spi: cadence-quadspi: use macro DEFINE_SIMPLE_DEV_PM_OPS
    727e92fe13e8 serial: 8250: Add missing wakeup event reporting
    1ae3e5f20203 tty: serial: fsl_lpuart: adjust buffer length to the intended size
    26d40b3fca6d firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
    f26273428657 usb: mtu3: fix kernel panic at qmu transfer done irq handler
    17993a13b5f6 usb: chipidea: fix missing goto in `ci_hdrc_probe`
    94fa043a47a8 usb: gadget: tegra-xudc: Fix crash in vbus_draw
    6a1cfc3036c2 sh: sq: Fix incorrect element size for allocating bitmap buffer
    ef9f85410301 uapi/linux/const.h: prefer ISO-friendly __typeof__
    9bc5e5417785 scripts/gdb: raise error with reduced debugging information
    06e661a25997 i2c: xiic: xiic_xfer(): Fix runtime PM leak on error path
    a712b5a95270 i2c: cadence: cdns_i2c_master_xfer(): Fix runtime PM leak on error path
    79acf7fb856e spi: cadence-quadspi: fix suspend-resume implementations
    eef4c4109a6d drm/panel: novatek-nt35950: Only unregister DSI1 if it exists
    08e9653bb9e8 PCI/PM: Extend D3hot delay for NVIDIA HDA controllers
    402299cca892 ASoC: fsl_mqs: move of_node_put() to the correct location
    225e81c3af9e drm/panel: novatek-nt35950: Improve error handling
    18e21fa199fc coresight: etm_pmu: Set the module field
    f0b58720f2b0 cacheinfo: Check sib_leaf in cache_leaves_are_shared()
    8ba48e58bafb HID: amd_sfh: Handle "no sensors" enabled for SFH1.1
    198474bef31f HID: amd_sfh: Increase sensor command timeout for SFH1.1
    a5e4df860d40 HID: amd_sfh: Correct the stop all command
    959f6ae96b9f HID: amd_sfh: Add support for shutdown operation
    dac12293c7f7 HID: amd_sfh: Fix illuminance value
    e66a085d900a HID: amd_sfh: Correct the sensor enable and disable command
    269259b7c7be HID: amd_sfh: Correct the structure fields
    7035d8b73af2 scripts/gdb: bail early if there are no generic PD
    ce8137636464 scripts/gdb: bail early if there are no clocks
    15b29ac9b8d5 ia64: salinfo: placate defined-but-not-used warning
    f890f34a15a1 ia64: mm/contig: fix section mismatch warning/error
    ab0f424cd2ce PCI/EDR: Clear Device Status after EDR error recovery
    3e28d59a5fee of: Fix modalias string generation
    d22b2a35729c vmci_host: fix a race condition in vmci_host_poll() causing GPF
    282efdf47279 spi: fsl-spi: Fix CPM/QE mode Litte Endian
    55a32fd96eaf interconnect: qcom: rpm: drop bogus pm domain attach
    2d0f63077f48 spi: qup: Don't skip cleanup in remove's error path
    5e678bfebb52 linux/vt_buffer.h: allow either builtin or modular for macros
    321946fa10d3 ASoC: es8316: Handle optional IRQ assignment
    873fff9fd682 PCI: imx6: Install the fault handler only on compatible match
    9de1183f3f2b ASoC: soc-compress: Inherit atomicity from DAI link for Compress FE
    df2380520926 usb: gadget: udc: renesas_usb3: Fix use after free bug in renesas_usb3_remove due to race condition
    6d16305a1535 spi: imx: Don't skip cleanup in remove's error path
    f6974fb20499 spi: atmel-quadspi: Free resources even if runtime resume failed in .remove()
    d748e32026aa spi: atmel-quadspi: Don't leak clk enable count in pm resume
    3eb8bebd02f0 serial: 8250_bcm7271: Fix arbitration handling
    1757621b873a iio: light: max44009: add missing OF device matching
    53cdfec25135 fpga: bridge: fix kernel-doc parameter description
    c996ca87cf68 serial: stm32: Re-assert RTS/DE GPIO in RS485 mode only if more data are transmitted
    3c5fafc27c02 usb: dwc3: gadget: Change condition for processing suspend event
    cd5708f6052a usb: host: xhci-rcar: remove leftover quirk handling
    9145880e8c04 pstore: Revert pmsg_lock back to a normal mutex
    70ee7b8a6d96 drivers: staging: rtl8723bs: Fix locking in rtw_scan_timeout_handler()
    2a50e44a66d2 drivers: staging: rtl8723bs: Fix locking in _rtw_join_timeout_handler()
    a61639201171 ASoC: cs35l41: Only disable internal boost
    5eb0e23ab05e ipmi: ASPEED_BT_IPMI_BMC: select REGMAP_MMIO instead of depending on it
    cb52e7f24c1d tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.
    0211342dd66c net: amd: Fix link leak when verifying config failed
    f040bee2913c netlink: Use copy_to_user() for optval in netlink_getsockopt().
    952030c914b5 Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work"
    fc60067260c2 ipv4: Fix potential uninit variable access bug in __ip_make_skb()
    4fbefeab88c6 net/sched: sch_fq: fix integer overflow of "credit"
    8fa6c8dad4a6 net: dpaa: Fix uninitialized variable in dpaa_stop()
    6cf1d03a423f netfilter: nf_tables: don't write table validation state without mutex
    551a26668c87 bpf: Don't EFAULT for getsockopt with optval=NULL
    c3fb321447ca bpf: Fix race between btf_put and btf_idr walk.
    ad5b2cf5d135 net: stmmac:fix system hang when setting up tag_8021q VLAN for DSA ports
    fd40d2eb5ef0 net/mlx5e: Nullify table pointer when failing to create
    15968f65081f net/mlx5: Use recovery timeout on sync reset flow
    c63830a1cc98 Revert "net/mlx5: Remove "recovery" arg from mlx5_load_one() function"
    c499593821db net/mlx5: Suspend auxiliary devices only in case of PCI device suspend
    d481a6800ba8 net/mlx5: Remove "recovery" arg from mlx5_load_one() function
    62fea2c2e4e3 net/mlx5e: Fix error flow in representor failing to add vport rx rule
    2ca9f9b837ce net/mlx5: E-switch, Don't destroy indirect table in split rule
    8b5f69628872 net/mlx5: E-switch, Create per vport table based on devlink encap mode
    c382b693ffcb net/mlx5e: Don't clone flow post action attributes second time
    707a31951f7a ixgbe: Enable setting RSS table to default values
    c8b37d2b5b1d ixgbe: Allow flow hash to be set via ethtool
    37f64bc8e001 wifi: iwlwifi: fw: fix memory leak in debugfs
    80c5ba0078e2 netfilter: conntrack: fix wrong ct->timeout value
    6a62a2a09c41 netfilter: conntrack: restore IPS_CONFIRMED out of nf_conntrack_hash_check_insert()
    d6e03af0a4c3 wifi: iwlwifi: mvm: check firmware response size
    180c4ae0de9d wifi: mt76: connac: fix txd multicast rate setting
    d365e1448398 wifi: mt76: mt7921e: stop chip reset worker in unregister hook
    741bf262bdba wifi: mt76: mt7921e: improve reliability of dma reset
    1ab837a34229 wifi: mt76: mt7921: fix missing unwind goto in `mt7921u_probe`
    11181b6c8641 mt76: mt7921: fix kernel panic by accessing unallocated eeprom.data
    c42efff8208a wifi: mt76: fix 6GHz high channel not be scanned
    c5cdab3c045f wifi: mt76: mt7921e: fix probe timeout after reboot
    27ce664b7f49 wifi: mt76: add flexible polling wait-interval support
    710f3c7fb3e2 wifi: mt76: handle failure of vzalloc in mt7615_coredump_work
    9c036152adf8 wifi: mt76: mt7915: expose device tree match table
    bd5121ef1842 wifi: iwlwifi: make the loop for card preparation effective
    5611be6c3d9c io_uring/rsrc: use nospec'ed indexes
    f1bd3414d97c jdb2: Don't refuse invalidation of already invalidated buffers
    f6b46f843829 wifi: iwlwifi: fw: move memset before early return
    6b345ddd4939 wifi: iwlwifi: mvm: initialize seq variable
    243f6d6ba585 wifi: iwlwifi: yoyo: Fix possible division by zero
    7c31103f7f30 wifi: iwlwifi: yoyo: skip dump correctly on hw error
    164acf216c18 wifi: iwlwifi: mvm: don't drop unencrypted MCAST frames
    8f3382624c45 md/raid10: don't call bio_start_io_acct twice for bio which experienced read error
    36ba0c7b86ac md/raid10: fix memleak of md thread
    b21019a220d9 md/raid10: fix memleak for 'conf->bio_split'
    11141630f03e md/raid10: fix leak of 'r10bio->remaining' for recovery
    9050576bff9f md/raid10: fix task hung in raid10d
    df6222b01f53 f2fs: fix to check return value of inc_valid_block_count()
    2eb5d0165b36 f2fs: fix to check return value of f2fs_do_truncate_blocks()
    a8091dc8149e bpf, sockmap: Revert buggy deadlock fix in the sockhash and sockmap
    339d14334a13 wifi: iwlwifi: mvm: don't set CHECKSUM_COMPLETE for unsupported protocols
    6f14a945011e wifi: iwlwifi: trans: don't trigger d3 interrupt twice
    8e5d05ca1527 wifi: iwlwifi: debug: fix crash in __iwl_err()
    6aa401a654fd blk-mq: don't plug for head insertions in blk_execute_rq_nowait
    3c0b7993461a selftests/bpf: Fix leaked bpf_link in get_stackid_cannot_attach
    67c81ecbf723 selftests/bpf: Use read_perf_max_sample_freq() in perf_event_stackmap
    160fcf5c6b17 nvme-fcloop: fix "inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage"
    0f1c4ae80d14 nvme: fix async event trace event
    1e4f23c61feb nvmet: fix I/O Command Set specific Identify Controller
    fd95ae3bb8a6 nvmet: fix Identify Active Namespace ID list handling
    4898a8d6b16b nvmet: fix Identify Controller handling
    4a7a14e87cca nvmet: fix Identify Namespace handling
    b743d68c9fbd nvmet: fix error handling in nvmet_execute_identify_cns_cs_ns()
    1d4ac7b0ffc9 bpf, sockmap: fix deadlocks in the sockhash and sockmap
    cfc7ee210f2f wifi: ath11k: fix writing to unintended memory region
    f43744872a04 net: ethernet: stmmac: dwmac-rk: fix optional phy regulator handling
    c649bf43a28e net: ethernet: stmmac: dwmac-rk: rework optional clock handling
    e6f1ef4a5385 scsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup()
    52c3d68d9910 bpf/btf: Fix is_int_ptr()
    1f1267ce0b0e wifi: iwlwifi: fix duplicate entry in iwl_dev_info_table
    7d058f0ab161 f2fs: fix to avoid use-after-free for cached IPU bio
    3ee343914c1f xsk: Fix unaligned descriptor validation
    8bc8e34e8017 crypto: drbg - Only fail when jent is unavailable in FIPS mode
    81366e333c7e bpftool: Fix bug for long instructions in program CFG dumps
    d199c2b3943e selftests/bpf: Wait for receive in cg_storage_multi test
    751168d0d2a0 selftests: xsk: Deflakify STATS_RX_DROPPED test
    0ea59567d001 selftests: xsk: Disable IPv6 on VETH1
    30a4ff7eb4bf selftests: xsk: Use correct UMEM size in testapp_invalid_desc
    90d2f5225d13 net: qrtr: correct types of trace event parameters
    a7f5be2ac004 f2fs: fix iostat lock protection
    bea3f8aa9993 wifi: rt2x00: Fix memory leak when handling surveys
    828439964f94 scsi: hisi_sas: Handle NCQ error when IPTT is valid
    cd94f74888f2 scsi: libsas: Add sas_ata_device_link_abort()
    f7871c9df18c wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_reg()
    4eb666646c40 wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_rfreg()
    7f6714fc2ac8 crypto: sa2ul - Select CRYPTO_DES
    be421554994b crypto: caam - Clear some memory in instantiate_rng
    74f74c8b8419 f2fs: fix scheduling while atomic in decompression path
    6604df2a9d07 f2fs: compress: fix to call f2fs_wait_on_page_writeback() in f2fs_write_raw_pages()
    88fccb8d0c8a f2fs: apply zone capacity to all zone type
    d9e30b8ed41b f2fs: fix uninitialized skipped_gc_rwsem
    61fbf097b7df f2fs: handle dqget error in f2fs_transfer_project_quota()
    10f7b4975b4b net: sunhme: Fix uninitialized return code
    e3e55385fa53 scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS
    770c3fd4d732 scsi: target: iscsit: Fix TAS handling during conn cleanup
    eacfe32c3650 scsi: target: Fix multiple LUN_RESET handling
    cc84bbdde901 scsi: target: iscsit: Stop/wait on cmds during conn close
    edd90020711e scsi: target: iscsit: isert: Alloc per conn cmd counter
    b7ca8ded3731 scsi: target: Pass in cmd counter to use during cmd setup
    741443436ed8 scsi: target: Move cmd counter allocation
    76b77646f171 scsi: target: Move sess cmd counter to new struct
    87ee7227cce3 scsi: target: core: Change the way target_xcopy_do_work() sets restiction on max I/O
    f9361cf40b4d bpf: Fix __reg_bound_offset 64->32 var_off subreg propagation
    2361aee1c52c netfilter: keep conntrack reference until IPsecv6 policy checks are done
    8d05f25475a2 net: dsa: qca8k: remove assignment of an_enabled in pcs_get_state()
    c997f28917da libbpf: Fix ld_imm64 copy logic for ksym in light skeleton.
    382310d9c82e net/packet: convert po->auxdata to an atomic flag
    3eae0f4c3129 net/packet: convert po->origdev to an atomic flag
    f2d971608a88 net/packet: annotate accesses to po->xmit
    c3ee3540a133 vlan: partially enable SIOCSHWTSTAMP in container
    07782db81e08 net: pcs: xpcs: remove double-read of link state when using AN
    157c84b793e7 bpf: Remove misleading spec_v1 check on var-offset stack read
    b73438a4a63f selftests/bpf: Fix a fd leak in an error path in network_helpers.c
    0324300dce34 wifi: ath11k: fix deinitialization of firmware resources
    af5265c64d8a scm: fix MSG_CTRUNC setting condition for SO_PASSSEC
    1f1fba8b3a75 crypto: qat - fix concurrency issue when device state changes
    a62ba7e0d2e8 bpf: fix precision propagation verbose logging
    0049d2eddaf3 bpf: take into account liveness when propagating precision
    78eee85913e7 wifi: rtw88: mac: Return the original error from rtw_mac_power_switch()
    154d4d630ef0 wifi: rtw88: mac: Return the original error from rtw_pwr_seq_parser()
    1c8f46578d03 tools: bpftool: Remove invalid \' json escape
    644df7e865e7 wifi: ath6kl: reduce WARN to dev_dbg() in callback
    0022a3936e4d wifi: brcmfmac: support CQM RSSI notification with older firmware
    9354826c02e0 wifi: ath11k: fix SAC bug on peer addition with sta band migration
    76f9b0d6f01d wifi: ath5k: fix an off by one check in ath5k_eeprom_read_freq_list()
    7e5f42abfc85 wifi: ath5k: Use platform_get_irq() to get the interrupt
    7d3fd8da721f wifi: ath11k: Use platform_get_irq() to get the interrupt
    9b9356a30141 wifi: ath9k: hif_usb: fix memory leak of remain_skbs
    1a59067bde3f wifi: ath6kl: minor fix for allocation size
    830d79af9eee platform/chrome: cros_typec_switch: Add missing fwnode_handle_put()
    aefea3016a15 hwmon: (pmbus/fsp-3y) Fix functionality bitmask in FSP-3Y YM-2151E
    d29faefa8d21 rpmsg: glink: Propagate TX failures in intentless mode as well
    2f51bac27678 cpufreq: use correct unit when verify cur freq
    0985838a9c87 ACPI: bus: Ensure that notify handlers are not running after removal
    290e26ec0d01 tick/common: Align tick period with the HZ tick.
    0fe6ef82e4f4 drm/i915: Make intel_get_crtc_new_encoder() less oopsy
    fc2b20c0921f debugobject: Prevent init race with static objects
    1d1735c6fbfd media: mediatek: vcodec: add remove function for decoder platform driver
    c692a44bc514 media: mediatek: vcodec: fix decoder disable pm crash
    54e85ee2b40d perf/arm-cmn: Fix port detection for CMN-700
    a8897bffca64 arm64: kgdb: Set PSTATE.SS to 1 to re-enable single-step
    3df8a8739415 x86/ioapic: Don't return 0 from arch_dynirq_lower_bound()
    f25994f7a9ad regulator: stm32-pwr: fix of_iomap leak
    16c7fcbfe058 media: venus: dec: Fix capture formats enumeration order
    1e229899e3ea media: venus: dec: Fix handling of the start cmd
    b21a9a57c74e media: rc: gpio-ir-recv: Fix support for wake-up
    b75aaebac265 drm/amd/display: Fix potential null dereference
    fd22e8c8c38f media: hi846: Fix memleak in hi846_init_controls()
    893b267ccc4a media: v4l: async: Return async sub-devices to subnotifier list
    45b7461d914c media: rcar_fdp1: Fix refcount leak in probe and remove function
    affad9e79101 media: platform: mtk-mdp3: fix potential frame size overflow in mdp_try_fmt_mplane()
    5a72aea9acfe media: saa7134: fix use after free bug in saa7134_finidev due to race condition
    305262a23c94 media: dm1105: Fix use after free bug in dm1105_remove due to race condition
    1495945f7c93 platform/x86/amd: pmc: Move out of BIOS SMN pair for STB init
    1603a098b474 platform/x86/amd: pmc: Utilize SMN index 0 for driver probe
    f82af0dd225f platform/x86/amd: pmc: Move idlemask check into `amd_pmc_idlemask_read`
    4e6c35193af6 platform/x86/amd: pmc: Don't dump data after resume from s0i3 on picasso
    abfb0ff8706e platform/x86/amd: pmc: Hide SMU version and program attributes for Picasso
    d1dbf5b7ea45 platform/x86/amd: pmc: Don't try to read SMU version on Picasso
    1c1798c45b40 platform/x86/amd/pmf: Move out of BIOS SMN pair for driver probe
    6a17add9c610 media: rkvdec: fix use after free bug in rkvdec_remove
    2cdc8f729d95 media: cedrus: fix use after free bug in cedrus_remove due to race condition
    231a6947ff84 media: mediatek: vcodec: change lat thread decode error condition
    b02cd74741d9 media: mediatek: vcodec: making sure queue_work successfully
    60fe2a3d6dc8 media: mediatek: vcodec: remove unused lat_buf
    8be5ead0b314 media: mediatek: vcodec: add core decode done event
    894278b772b8 media: mediatek: vcodec: move lat_buf to the top of core list
    f08900ca36d3 media: mediatek: vcodec: using each instance lat_buf count replace core ready list
    8aae2e6444a3 media: mediatek: vcodec: add params to record lat and core lat_buf count
    01dc8f41fc7b media: mediatek: vcodec: Force capture queue format to MM21
    4d5c8a891630 media: mediatek: vcodec: Make MM21 the default capture format
    5c4cc91b77ee media: mediatek: vcodec: Use 4K frame size when supported by stateful decoder
    0333177548fd arm64: dts: sc7280: Rename qspi data12 as data23
    edbbd78148e7 arm64: dts: sc7180: Rename qspi data12 as data23
    39f6de10df32 arm64: dts: qcom: msm8994-angler: removed clash with smem_region
    57aa05d59b56 arm64: dts: qcom: msm8994-angler: Fix cont_splash_mem mapping
    7eaa457d1e71 x86/apic: Fix atomic update of offset in reserve_eilvt_offset()
    849ab4cf182b regulator: core: Avoid lockdep reports when resolving supplies
    fd092b355ac8 regulator: core: Consistently set mutex_owner when using ww_mutex_lock_slow()
    d2151c5d9dbe drm/ttm/pool: Fix ttm_pool_alloc error path
    5e5a4185c66f drm/ttm: optimize pool allocations a bit v2
    dfd1c26e40b5 arm64: dts: qcom: apq8096-db820c: drop unit address from PMI8994 regulator
    3a0c0f7c2f71 arm64: dts: qcom: msm8994-msft-lumia-octagon: drop unit address from PMI8994 regulator
    3c8cb6155ac0 arm64: dts: qcom: msm8994-kitakami: drop unit address from PMI8994 regulator
    f3694202d9ce arm64: dts: qcom: sc7180-trogdor-pazquel: correct trackpad supply
    f89b2591bb2b arm64: dts: qcom: sc7180-trogdor-lazor: correct trackpad supply
    d7d13d353acf arm64: dts: qcom: sc7280-herobrine-villager: correct trackpad supply
    958c6cbc3299 gpu: host1x: Fix memory leak of device names
    b81cfee96703 gpu: host1x: Fix potential double free if IOMMU is disabled
    62cb9c468dc9 soc: renesas: renesas-soc: Release 'chipid' from ioremap()
    724911eeaef4 soc: bcm: brcmstb: biuctrl: fix of_iomap leak
    4cf71779ead4 mailbox: mpfs: switch to txdone_poll
    41a51318ab37 drm/mediatek: dp: Change the aux retries times when receiving AUX_DEFER
    e80c69eb795f drm/lima/lima_drv: Add missing unwind goto in lima_pdev_probe()
    a260921b81b0 ACPI: VIOT: Initialize the correct IOMMU fwspec
    1a258bfa00f1 arm64: dts: mediatek: mt8192-asurada: Fix voltage constraint for Vgpu
    82f6ffb8e0fd cpufreq: qcom-cpufreq-hw: Revert adding cpufreq qos
    2e8aad9cd52a cpufreq: mediatek: Raise proc and sram max voltage for MT7622/7623
    9a5fa6333fac cpufreq: mediatek: raise proc/sram max voltage for MT8516
    4bacdbd7d937 cpufreq: mediatek: fix KP caused by handler usage after regulator_put/clk_put
    bd1c00687249 cpufreq: mediatek: fix passing zero to 'PTR_ERR'
    f977dbefeaea arm64: dts: apple: t8103: Disable unused PCIe ports
    eb617ab02334 ARM: dts: stm32: fix spi1 pin assignment on stm32mp15
    7ff92db0dd6f perf/arm-cmn: Move overlapping wp_combine field
    198ca89deaed firmware: arm_scmi: Fix xfers allocation on Rx channel
    da3babe96be7 ARM: dts: gta04: fix excess dma channel usage
    fd67875ebaea drm: rcar-du: Fix a NULL vs IS_ERR() bug
    46a1c9ba908f arm64: dts: qcom: sm8450: fix pcie1 gpios properties name
    98893ae40bc5 mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data
    1975bf02595e ACPI: processor: Fix evaluating _PDC method when running as Xen dom0
    a24194121e7f drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence known override-init warnings
    acd8f2efa29e arm64: dts: qcom: sm8350-microsoft-surface: fix USB dual-role mode property
    577a64725bfd virt/coco/sev-guest: Double-buffer messages
    02891701516b drm: msm: adreno: Disable preemption on Adreno 510
    a8d2b469541f drm/msm/adreno: drop bogus pm_runtime_set_active()
    a9b3ef13ebdd arm64: dts: ti: k3-am62a7: Correct L2 cache size to 512KB
    fe9dc0a2643e arm64: dts: ti: k3-am625: Correct L2 cache size to 512KB
    1e9fc6c47321 media: max9286: Free control handler
    052d22acd7da drm/bridge: adv7533: Fix adv7533_mode_valid for adv7533 and adv7535
    1f141fe5153a firmware: qcom_scm: Clear download bit during reboot
    423350af9e27 media: av7110: prevent underflow in write_ts_to_decoder()
    0883003ffb5e media: amphion: decoder implement display delay enable
    51fc1880e474 media: platform: mtk-mdp3: Add missing check and free for ida_alloc
    c2e55481731b media: bdisp: Add missing check for create_workqueue
    ba8ffb1251eb x86/MCE/AMD: Use an u64 for bank_map
    c0a8025c746d ARM: dts: qcom: sdx55: Fix the unit address of PCIe EP node
    2b5325f9cce6 ARM: dts: qcom: ipq8064: Fix the PCI I/O port range
    2ebb3f120e34 ARM: dts: qcom: ipq4019: Fix the PCI I/O port range
    671c3a4d7d84 arm64: dts: qcom: sm8450: Fix the PCI I/O port range
    5334324f097d arm64: dts: qcom: sm8150: Fix the PCI I/O port range
    be8101493607 arm64: dts: qcom: sm8250: Fix the PCI I/O port range
    87397ffbc9bb arm64: dts: qcom: msm8996: Fix the PCI I/O port range
    c8178285ba1a arm64: dts: qcom: ipq6018: Fix the PCI I/O port range
    7803b357d9e2 arm64: dts: qcom: ipq8074: Fix the PCI I/O port range
    ec67a4ef28ea arm64: dts: qcom: sc7280: Fix the PCI I/O port range
    a35d6fdd7f60 arm64: dts: qcom: msm8998: Fix the PCI I/O port range
    6035794dd2de arm64: dts: qcom: sdm845: Fix the PCI I/O port range
    44018ad5f230 arm64: dts: qcom: sdm845: correct dynamic power coefficients
    7cb080295476 arm64: dts: qcom: sc7280: fix EUD port properties
    bd90d249bceb arm64: dts: qcom: msm8998: Fix stm-stimulus-base reg name
    6c6a69f82281 arm64: dts: broadcom: bcmbca: bcm4908: fix procmon nodename
    1be866857a3f arm64: dts: broadcom: bcmbca: bcm4908: fix LED nodenames
    c0454f814b36 arm64: dts: broadcom: bcmbca: bcm4908: fix NAND interrupt name
    93c22d107a3e arm64: dts: ti: k3-j721e-main: Remove ti,strobe-sel property
    5ea54b26d6e3 arm64: dts: ti: k3-am62a7-sk: Fix DDR size to full 4GB
    5d77e665ee21 arm64: dts: ti: k3-am62-main: Fix GPIO numbers in DT
    d585d1072eab regulator: core: Shorten off-on-delay-us for always-on/boot-on by time since booted
    36ecd6c6ed52 ARM: dts: qcom-apq8064: Fix opp table child name
    6006310a472d EDAC/skx: Fix overflows on the DRAM row address mapping arrays
    2c8c8398e19e drm/msm/disp/dpu: check for crtc enable rather than crtc active to release shared resources
    6524d3d58797 drm/mediatek: dp: Only trigger DRM HPD events if bridge is attached
    6fcfd2861fd8 arm64: dts: renesas: r9a07g043: Update IRQ numbers for SSI channels
    14c480b2f382 arm64: dts: renesas: r9a07g043: Introduce SOC_PERIPHERAL_IRQ() macro to specify interrupt property
    e83e635becb9 arm64: dts: renesas: r9a07g054: Update IRQ numbers for SSI channels
    684fecd4f332 arm64: dts: renesas: r9a07g044: Update IRQ numbers for SSI channels
    dc062516db36 arm64: dts: renesas: r8a774c0: Remove bogus voltages from OPP table
    c82f50e55f4e arm64: dts: renesas: r8a77990: Remove bogus voltages from OPP table
    6dbcc493a18d soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe
    f5222fbd797e tools/x86/kcpuid: Fix avx512bw and avx512lvl fields in Fn00000007
    78e32896ecc7 drm/amdgpu: register a vga_switcheroo client for MacBooks with apple-gmux
    809a3fb8d8fc drm/probe-helper: Cancel previous job before starting new one
    6bd38a1454d9 drm/vgem: add missing mutex_destroy
    46473f3bd14a drm/i915/dg2: Drop one PCI ID
    86a77cef0959 drm/rockchip: Drop unbalanced obj unref
    0955b8eac335 erofs: fix potential overflow calculating xattr_isize
    50f1c1fba045 erofs: initialize packed inode after root inode is assigned
    7ee7a86e28ce erofs: stop parsing non-compact HEAD index if clusterofs is invalid
    fe2f093b051c tpm, tpm_tis: Claim locality when interrupts are reenabled on resume
    380f9f79b493 tpm, tpm: Implement usage counter for locality
    71becf3ffea6 tpm, tpm_tis: Claim locality before writing interrupt registers
    0085052a2c27 tpm, tpm_tis: Disable interrupts if tpm_tis_probe_irq() failed
    10eea3cfda29 tpm, tpm_tis: Claim locality before writing TPM_INT_ENABLE register
    12839c326ae5 tpm, tpm_tis: Do not skip reset of original interrupt vector
    784c206c66df selinux: ensure av_permissions.h is built when needed
    5453f22911cb selinux: fix Makefile dependencies of flask.h
    74f77a799dad selftests/resctrl: Check for return value after write_schemata()
    bceef0c7f6ed selftests/resctrl: Allow ->setup() to return errors
    7a570dda1d5a selftests/resctrl: Move ->setup() call outside of test specific branches
    0bf90aac4341 selftests/resctrl: Return NULL if malloc_and_init_memory() did not alloc mem
    ae6803b66365 rcu: Fix missing TICK_DEP_MASK_RCU_EXP dependency check
    05f437eba011 kunit: fix bug in the order of lines in debugfs logs
    9ad3b3867730 kunit: improve KTAP compliance of KUnit test output
    d0e2f01b534f ASoC: dt-bindings: qcom,lpass-rx-macro: correct minItems for clocks
    a2cbb1a45a0c bus: mhi: host: Range check CHDBOFF and ERDBOFF
    4afe300afb37 bus: mhi: host: Use mhi_tryset_pm_state() for setting fw error state
    cc3e7c033367 bus: mhi: host: Remove duplicate ee check for syserr
    a6f5c84b41aa cxl/hdm: Fail upon detecting 0-sized decoders
    0ae98a8b4f00 xfs: don't consider future format versions valid
    2b2515b8095c ceph: fix potential use-after-free bug when trimming caps
    9f565752b328 ubifs: Fix memory leak in do_rename
    29738e1bcc79 ubifs: Free memory for tmpfile name
    884e961674b5 ubi: Fix return value overwrite issue in try_write_vid_and_data()
    ef9aac603659 ubifs: Fix memleak when insert_old_idx() failed
    18c234685603 Revert "ubifs: dirty_cow_znode: Fix memleak in error handling path"
    ccfe86622082 RISC-V: Align SBI probe implementation with spec
    f8076d2a7fce iommu/amd: Fix "Guest Virtual APIC Table Root Pointer" configuration in IRTE
    f455c9cb9eed drm/amd/pm: re-enable the gfx imu when smu resume
    d78777c1d4de swsmu/amdgpu_smu: Fix the wrong if-condition
    d79d3430e174 tracing: Fix permissions for the buffer_percent file
    339dd534f21d riscv: mm: remove redundant parameter of create_fdt_early_page_table
    3c96dd239ae4 i2c: omap: Fix standard mode false ACK readings
    142a975738f7 ACPI: video: Remove acpi_backlight=video quirk for Lenovo ThinkPad W530
    18973b73fa51 ksmbd: fix deadlock in ksmbd_find_crypto_ctx()
    1f0490586544 ksmbd: not allow guest user on multichannel
    c3a3259675a6 ksmbd: fix memleak in session setup
    a70751dd7b60 ksmbd: fix NULL pointer dereference in smb2_get_info_filesystem()
    b80422474ffe ksmbd: call rcu_barrier() in ksmbd_server_exit()
    bd80d35725a0 ksmbd: fix racy issue under cocurrent smb2 tree disconnect
    cec378687a5a KVM: RISC-V: Retry fault if vma_lookup() results become invalid
    e43cf7abece2 drm/amd/display: fix a divided-by-zero error
    09c41688b6e5 drm/amd/display: fix PSR-SU/DSC interoperability support
    2abff94db2c6 drm/amd/display: limit timing for single dimm memory
    5e1574aa0639 drm/amd/display: Remove stutter only configurations
    f6ee841ff216 relayfs: fix out-of-bounds access in relay_file_read
    5bd77c239339 KVM: arm64: vgic: Don't acquire its_lock before config_lock
    569f33c3c2f9 KVM: arm64: Use config_lock to protect vgic state
    2b57af7bb9f1 KVM: arm64: Use config_lock to protect data ordered against KVM_RUN
    6c9d3f2a5e17 KVM: arm64: Avoid lock inversion when setting the VM register width
    36e0c405b86e KVM: arm64: Avoid vcpu->mutex v. kvm->lock inversion in CPU_ON
    f01c5f1ae9de KVM: nVMX: Emulate NOPs in L2, and PAUSE if it's not intercepted
    eae127cd2ce6 reiserfs: Add security prefix to xattr name in reiserfs_security_write()
    c8a3341b3392 rcu: Avoid stack overflow due to __rcu_irq_enter_check_tick() being kprobe-ed
    c0bf94154ce0 crypto: ccp - Don't initialize CCP for PSP 0x1649
    b952a9cf3de2 crypto: arm64/aes-neonbs - fix crash with CFI enabled
    4d9d2fd86766 crypto: safexcel - Cleanup ring IRQ workqueues on load failure
    42ca037d0c3f crypto: api - Demote BUG_ON() in crypto_unregister_alg() to a WARN_ON()
    d9834abd8b24 ring-buffer: Sync IRQ works before buffer destruction
    ad7cc2a29e13 ring-buffer: Ensure proper resetting of atomic variables in ring_buffer_reset_online_cpus
    cb99866895e6 pinctrl: qcom: lpass-lpi: set output value before enabling output
    956bbf1871e1 soundwire: qcom: correct setting ignore bit on v1.5.1
    c2c563c137cf pwm: meson: Fix g12a ao clk81 name
    f7e930b179ef pwm: meson: Fix axg ao mux parents
    1b0341e8fb2f wifi: mt76: add missing locking to protect against concurrent rx/status calls
    b9f6845a492d kheaders: Use array declaration instead of char
    9fd4768b0937 iio: addac: stx104: Fix race condition for stx104_write_raw()
    c38a4eb8aa47 iio: addac: stx104: Fix race condition when converting analog-to-digital
    44847a506e71 ipmi: fix SSIF not responding under certain cond.
    aeff5808f172 ipmi:ssif: Add send_retries increment
    a6b54af40787 MIPS: fw: Allow firmware to pass a empty env
    7f3340bf06f8 fs: fix sysctls.c built
    3e7b8a723b0c tick/nohz: Fix cpu_is_hotpluggable() by checking with nohz subsystem
    c94e5baa989f serial: max310x: fix IO data corruption in batched operations
    65fdabefd9c4 serial: 8250: Fix serial8250_tx_empty() race with DMA Tx
    719a2f969b7d serial: fix TIOCSRS485 locking
    27df5bca965b xhci: fix debugfs register accesses while suspended
    7fb0b81e85d8 tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH
    ad44530d46a5 staging: iio: resolver: ads1210: fix config mode
    64ef787bb158 blk-crypto: make blk_crypto_evict_key() more robust
    26632a538222 blk-crypto: make blk_crypto_evict_key() return void
    7d206ec7a04e blk-mq: release crypto keyslot before reporting I/O complete
    3b5fbb8219eb blk-crypto: Add a missing include directive
    5ca1668a9f5d blk-crypto: move internal only declarations to blk-crypto-internal.h
    3aab3abb856b blk-crypto: add a blk_crypto_config_supported_natively helper
    f0efb2365153 blk-crypto: don't use struct request_queue for public interfaces
    316ad076e0d3 blk-stat: fix QUEUE_FLAG_STATS clear
    3285613127d3 media: ov8856: Do not check for for module version
    bccf9fe2963e posix-cpu-timers: Implement the missing timer_wait_running callback
    1408d27f25c7 tpm: Add !tpm_amd_is_rng_defective() to the hwrng_unregister() call site
    ee508dfbafa1 hwmon: (adt7475) Use device_property APIs when configuring polarity
    d899ae3e768e hwmon: (k10temp) Check range scale when CUR_TEMP register is read-write
    986bd947bcd1 USB: dwc3: fix runtime pm imbalance on unbind
    d4b1e04d271b USB: dwc3: fix runtime pm imbalance on probe errors
    befdcb8e880e usb: dwc3: gadget: Stall and restart EP0 if host is unresponsive
    491d32c896e0 usb: gadget: udc: core: Prevent redundant calls to pullup
    f6aaeacf0596 usb: gadget: udc: core: Invoke usb_gadget_connect only when started
    5b6c295947e6 IMA: allow/fix UML builds
    38a42842a6d0 phy: qcom-qmp-pcie: sc8180x PCIe PHY has 2 lanes
    5c274804e27e PCI: qcom: Fix the incorrect register usage in v2.7.0 config
    58e56aa83848 PCI: pciehp: Fix AB-BA deadlock between reset_lock and device_lock
    a07176956014 PCI: kirin: Select REGMAP_MMIO
    6e5bf8c9f7b3 powerpc/boot: Fix boot wrapper code generation with CONFIG_POWER10_CPU
    4403c7b7e5e1 arm64: Stash shadow stack pointer in the task struct on interrupt
    2dd0f8994da1 arm64: Always load shadow stack pointer directly from the task struct
    06003e397523 ASoC: amd: ps: update the acp clock source.
    f9dc736e686c ASoC: amd: fix ACP version typo mistake
    f66cd9995917 wifi: mt76: mt7921e: Set memory space enable in PCI_COMMAND if unset
    24d158856cef wireguard: timers: cast enum limits members to int in prints
    103f618cee51 x86/cpu: Add model number for Intel Arrow Lake processor
    88b9e97c1447 asm-generic/io.h: suppress endianness warnings for readq() and writeq()
    5ded8299b7de tracing: Error if a trace event has an array for a __field()
    324b854ce475 wifi: ath11k: reduce the MHI timeout to 20s
    cde904042870 platform/x86: thinkpad_acpi: Add missing T14s Gen1 type to s2idle quirk list
    7e26bfb49d00 net: sfp: add quirk enabling 2500Base-x for HG MXPD-483II
    388764ea64e2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
    0ac10535aed9 selftests mount: Fix mount_setattr_test builds failed
    ec6f22171dc2 net: wwan: t7xx: do not compile with -Werror
    c58f26bdeec3 ASoC: da7213.c: add missing pm_runtime_disable()
    e373f76e20d6 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer Iconia One 7 B1-750
    372bec6747bb iio: adc: palmas_gpadc: fix NULL dereference on rmmod
    c81f5c8b8c23 ASoC: amd: yc: Add DMI entries to support Victus by HP Laptop 16-e1xxx (8A22)
    32aae7831462 x86/hyperv: Block root partition functionality in a Confidential VM
    5c7648e96d90 ASoC: soc-pcm: fix hw->formats cleared by soc_pcm_hw_init() for dpcm
    a89c7b86b5e2 ASoC: Intel: soc-acpi: add table for Intel 'Rooks County' NUC M15
    4f7b42a9bfd9 ASOC: Intel: sof_sdw: add quirk for Intel 'Rooks County' NUC M15

(From OE-Core rev: 5303ddb8ee90aefd1d451bc903972914061b9ad2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ead4f27c1ab133133e2eaf76527d4dbd9cf60138)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Bruce Ashfield
aaa8adcd8a linux-yocto/6.1: update to v6.1.27
Updating  to the latest korg -stable release that comprises
the following commits:

    ca48fc16c493 Linux 6.1.27
    0bbec73fdd9e riscv: No need to relocate the dtb as it lies in the fixmap region
    17509e73ac8b riscv: Do not set initial_boot_params to the linear address of the dtb
    ed96b3143540 riscv: Move early dtb mapping into the fixmap region
    7cb8c95c0a6d driver core: Don't require dynamic_debug for initcall_debug probe timing
    ce0555352a28 USB: serial: option: add UNISOC vendor and TOZED LT70C product
    17e5ce4d89ad btrfs: fix uninitialized variable warnings
    47e6893a5b0a bluetooth: Perform careful capability checks in hci_sock_ioctl()
    c4acbf376124 gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xNU
    d27acf15c8fa drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var
    e29661611e6e wifi: brcmfmac: slab-out-of-bounds read in brcmf_get_assoc_ies()
    34cec5cd7abc mptcp: fix accept vs worker race
    b45d8f5375ed mptcp: stops worker on unaccepted sockets at listener close
    862ea63fad16 mm/mempolicy: fix use-after-free of VMA iterator
    e1562cc202c9 KVM: arm64: Retry fault if vma_lookup() results become invalid
    d70f63be626d phy: phy-brcm-usb: Utilize platform_get_irq_byname_optional()
    7d057bf201ca um: Only disable SSE on clang to work around old GCC bugs

(From OE-Core rev: 13ee4adecfddb99c311959c6d92234f949b41b25)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 80f045c03cde302e135af53a19276d6487fcdf66)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Bruce Ashfield
d254905de6 linux-yocto/6.1: update to v6.1.26
Updating  to the latest korg -stable release that comprises
the following commits:

    ca1c9012c941 Linux 6.1.26
    ab91b09f399f ASN.1: Fix check for strdup() success
    1831d8cbaea8 ASoC: fsl_sai: Fix pins setting for i.MX8QM platform
    6cb818ed5f08 ASoC: fsl_asrc_dma: fix potential null-ptr-deref
    7a6593b5d7ad ASoC: SOF: pm: Tear down pipelines only if DSP was active
    b528537d131f mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock
    71b6df69f17e fpga: bridge: properly initialize bridge device before populating children
    f8c3eb751a9b iio: adc: at91-sama5d2_adc: fix an error code in at91_adc_allocate_trigger()
    342c1db4fa8c Input: pegasus-notetaker - check pipe type when probing
    a93c20f58322 gcc: disable '-Warray-bounds' for gcc-13 too
    a09b9383b749 sctp: Call inet6_destroy_sock() via sk->sk_destruct().
    a530b33fe986 dccp: Call inet6_destroy_sock() via sk->sk_destruct().
    a8cf1141057a inet6: Remove inet6_destroy_sock() in sk->sk_prot->destroy().
    588d682251e6 purgatory: fix disabling debug info
    7ca973d830c0 fuse: always revalidate rename target dentry
    f9a20ef5e83c MIPS: Define RUNTIME_DISCARD_EXIT in LD script
    8d6a870a428f KVM: arm64: Fix buffer overflow in kvm_arm_set_fw_reg()
    9e7976c0cd63 KVM: arm64: Make vcpu flag updates non-preemptible
    d362a03d920e sched/fair: Fixes for capacity inversion detection
    799c7301ded6 sched/fair: Consider capacity inversion in util_fits_cpu()
    fe1c982958c5 sched/fair: Detect capacity inversion
    7e6631f782a1 mm/mmap: regression fix for unmapped_area{_topdown}
    059f24aff65c mm: page_alloc: skip regions with hugetlbfs pages when allocating 1G pages
    bd6f3421a586 mm: kmsan: handle alloc failures in kmsan_vmap_pages_range_noflush()
    433a7ecaed4b mm: kmsan: handle alloc failures in kmsan_ioremap_page_range()
    e8a7bdb6f76c mm/huge_memory.c: warn with pr_warn_ratelimited instead of VM_WARN_ON_ONCE_FOLIO
    519dbe737f0d mm/khugepaged: check again on anon uffd-wp during isolation
    cc647e05db67 mm/userfaultfd: fix uffd-wp handling for THP migration entries
    b1644a0031cf drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume
    904e1b66854b drm/rockchip: vop2: fix suspend/resume
    4ac57c3fe2c0 drm/amd/display: set dcn315 lb bpp to 48
    bef774effb27 drm/amdgpu: Fix desktop freezed after gpu-reset
    66eb772be27e drm/i915: Fix fast wake AUX sync len
    d9caa028d7ad mmc: sdhci_am654: Set HIGH_SPEED_ENA for SDR12 and SDR25
    3e6bd2653ff8 writeback, cgroup: fix null-ptr-deref write in bdi_split_work_to_wbs
    ec90129b91b6 kernel/sys.c: fix and improve control flow in __sys_setres[ug]id()
    a3a93b46833f memstick: fix memory leak if card device is never registered
    f6a5f61200ff tools/mm/page_owner_sort.c: fix TGID output when cull=tg is used
    a0aa4827f791 nilfs2: initialize unused bytes in segment summary blocks
    a1176791ab74 maple_tree: fix a potential memory leak, OOB access, or other unpredictable bug
    66f13a1acf0a maple_tree: fix mas_empty_area() search
    c51b9ef3f521 maple_tree: make maple state reusable after mas_empty_area_rev()
    be100a8460e3 LoongArch: Mark 3 symbol exports as non-GPL
    e82caab68951 LoongArch: Fix probing of the CRC32 feature
    55fba69fbfd0 rust: kernel: Mark rust_fmt_argument as extern "C"
    e19ebc5f9a71 btrfs: get the next extent map during fiemap/lseek more efficiently
    b28def6ed970 ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
    31f7c99e3685 iio: light: tsl2772: fix reading proximity-diodes from device tree
    b263f81bd16e iio: dac: ad5755: Add missing fwnode_handle_put()
    9ad34ea8d2d6 drm/amdgpu/vcn: Disable indirect SRAM on Vangogh broken BIOSes
    9bdbd0099262 Revert "userfaultfd: don't fail on unrecognized features"
    8e610b699385 mtd: spi-nor: fix memory leak when using debugfs_lookup()
    f4d1bbb97728 platform/x86: asus-nb-wmi: Add quirk_asus_tablet_mode to other ROG Flow X13 models
    25e2413c9374 platform/x86: gigabyte-wmi: add support for X570S AORUS ELITE
    bbf4d72be001 xen/netback: use same error messages for same errors
    79d22faeba7b nvme-tcp: fix a possible UAF when failing to allocate an io queue
    0cc5da7990ff drm: test: Fix 32-bit issue in drm_buddy_test
    fb766acce3cf drm: buddy_allocator: Fix buddy allocator init on 32-bit systems
    3059a67e02dc s390/ptrace: fix PTRACE_GET_LAST_BREAK error handling
    ba6486192268 platform/x86: gigabyte-wmi: add support for B650 AORUS ELITE AX
    fbc72b63520a net: dsa: b53: mmap: add phy ops
    480df96832f4 scsi: core: Improve scsi_vpd_inquiry() checks
    83760e74ed14 scsi: megaraid_sas: Fix fw_crash_buffer_show()
    e0ac735ee4e2 selftests: sigaltstack: fix -Wuninitialized
    8563ab97a870 platform/x86 (gigabyte-wmi): Add support for A320M-S2H V2
    c4043891a10f platform/x86/intel: vsec: Fix a memory leak in intel_vsec_add_aux
    23f18f35bf1f f2fs: Fix f2fs_truncate_partial_nodes ftrace event
    b2bfa742b871 net: bridge: switchdev: don't notify FDB entries with "master dynamic"
    b91798017c3e e1000e: Disable TSO on i219-LM card to increase speed
    89603f4c9154 bpf: Fix incorrect verifier pruning due to missing register precision taints
    39eeb724c4d9 spi: spi-rockchip: Fix missing unwind goto in rockchip_sfc_probe()
    ef018e12b1ed mlxsw: pci: Fix possible crash during initialization
    9a0b96d03c59 net: rpl: fix rpl header size calculation
    64489c22d085 bonding: Fix memory leak when changing bond type to Ethernet
    68b0f2843173 mlxfw: fix null-ptr-deref in mlxfw_mfa2_tlv_next()
    fa82a725e8cb bnxt_en: Do not initialize PTP on older P3/P4 chips
    8e1f40e8f707 netfilter: nf_tables: tighten netlink attribute requirements for catch-all elements
    ef87cd81321b netfilter: nf_tables: validate catch-all set elements
    8a5dad80bd83 i40e: fix i40e_setup_misc_vector() error handling
    0ec73187f026 i40e: fix accessing vsi->active_filters without holding lock
    9387a515cbc3 netfilter: nf_tables: fix ifdef to also consider nf_tables=m
    6a4029f4f91f sfc: Fix use-after-free due to selftest_work
    d43f024e8c2a virtio_net: bugfix overflow inside xdp_linearize_page()
    ce729b06dc33 net: sched: sch_qfq: prevent slab-out-of-bounds in qfq_activate_agg
    519c96885eae regulator: fan53555: Fix wrong TCS_SLEW_MASK
    49b9758d44d4 regulator: fan53555: Explicitly include bits header
    8acb00f377f9 rust: str: fix requierments->requirements typo
    1c4dbb001fd3 netfilter: nf_tables: Modify nla_memdup's flag to GFP_KERNEL_ACCOUNT
    ea854a25c832 netfilter: br_netfilter: fix recent physdev match breakage
    6369276efa7a arm64: dts: imx8mp-verdin: correct off-on-delay
    e09602ba40b6 arm64: dts: imx8mm-verdin: correct off-on-delay
    94e05ccaf335 arm64: dts: imx8mm-evk: correct pmic clock source
    ed26418b2dff arm64: dts: qcom: sc8280xp-pmics: fix pon compatible and registers
    8fe3333f7229 arm64: dts: meson-g12-common: specify full DMC range
    4ba06237c4a2 arm64: dts: qcom: ipq8074-hk10: enable QMP device, not the PHY node
    ecff49fd3758 arm64: dts: qcom: hk10: use "okay" instead of "ok"
    fb42f8abdebd arm64: dts: qcom: ipq8074-hk01: enable QMP device, not the PHY node
    80cc8410af29 arm64: dts: rockchip: Lower sd speed on rk3566-soquartz
    8f33e7c677a9 ARM: dts: rockchip: fix a typo error for rk3288 spdif node

(From OE-Core rev: 9214d1a81f180e74a11b72e6369dfd0592bf64ca)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d50c853ef003d8d9bdc0ae3a5c9567fe3474c6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Wang Mingyu
cca93fedb3 xdpyinfo: upgrade 1.3.3 -> 1.3.4
Changelog:
=========
configure: Make xf86misc support disabled by default
Variable scope reduction
Remove unnecessary downcast of double to float
Call memset() instead of hand-coding our own equivalent

(From OE-Core rev: b2832a80ca99001ac1db729a380b27390f7082f5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d87785189336a69ae998f75394ceaebf63decb16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Wang Mingyu
8c39ad05b0 bind: upgrade 9.18.14 -> 9.18.15
Changelog:
=========
[bug]  Set the rndc idle read timeout back to 60 seconds,
       from the netmgr default of 30 seconds, in order to
       match the behavior of 9.16 and earlier. [GL #4046]

[bug]  Fix log file rotation when using absolute path as
       file. [GL #3991]

[bug]  When removing delegations in an OPTOUT range
       empty-non-terminal NSEC3 records generated by
       those delegations were not removed. [GL #4027]

[bug]  Reimplement the maximum and idle timeouts for incoming
       zone tranfers. [GL #4004]

[bug]  Treat ISC_R_INVALIDPROTO as a networking error
       in the dispatch code to avoid retrying with the
       same server. [GL #4005]

[bug]  In dispatch, honour the configured source-port
       selection when UDP connection fails with address
       in use error.

       Also treat ISC_R_NOPERM same as ISC_R_ADDRINUSE.
       [GL #3986]

[test] As a workaround, include an OpenSSL header file before
       including cmocka.h in the unit tests, because OpenSSL
       3.1.0 uses __attribute__(malloc), conflicting with a
       redefined malloc in cmocka.h. [GL #4000]

(From OE-Core rev: b0e64d50c956d5eeb921c85818727261e04de899)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9d5f8062fc2c11bd6ff98a96caa03aac3984ae9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Wang Mingyu
5f78dfcfe8 mobile-broadband-provider-info: upgrade 20221107 -> 20230416
(From OE-Core rev: 387a26b9bdd54aff6984d22693145eed0a71e932)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 125f72393c9b6fea02757cdc3a22696945e0f490)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Wang Mingyu
cb605dd2b0 libxpm: upgrade 3.5.15 -> 3.5.16
Changelog:
===========
test: skip compressed file tests when --disable-open-zfile is used
itlab CI: build with each of --enable-open-zfile & --disable-open-zfile
configure: correct error message to suggest --disable-open-zfile
Fix a memleak in ParsePixels error code path
Fix CVE-2022-44617: Runaway loop with width of 0 and enormous height
open-zfile: Make compress & uncompress commands optional
Require LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
test: Use PACKAGE_BUGREPORT instead of hard-coded URL's
test: Add simple test cases for functions in src/rgb.c
xpmReadRgbNames: constify filename argument
XpmCreateDataFromXpmImage: Fix misleading indentation
parse.c: Wrap FREE_CIDX definition in do { ... } while(0)
parse.c: remove unused function xstrlcpy()

(From OE-Core rev: 145d19c86d61761d7446f6776c4cbc8274c06861)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4d9f0958eecdf683434d77a4f65611803cffd247)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Wang Mingyu
ad1d287d27 libxft: upgrade 2.3.7 -> 2.3.8
Changelog:
=========
add check for missing glyph in XftFontCheckGlyph()
issue 17: libxft-2.3.7: Bold fonts in urxvt missing leftmost pixels
issue 18: Problems with rotated text (monospace font only)
configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
Clears autoconf warnings

(From OE-Core rev: eb918993806029bde27ea8d799c37b6d007fdb40)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5f6eae1dfb910347ab47ca868e6978768fb14f46)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Wang Mingyu
db907c4944 libmicrohttpd: upgrade 0.9.76 -> 0.9.77
Changelog:
==========
 API changes:
-------------
 + Added new function MHD_get_version_bin().

 Improvements and enhancements:
-------------------------------
 * Digest Auth: changed algorithm identifiers in server generated
   headers from "md5" / "sha-256" to "MD5" / "SHA-256" to better match
   RFC (while clients should use caseless matching).
 * Improved Base64 decoding by new implementation with robust input
   data validation checks.
 * Improved configure for cross-compiling, for better compatibility
   with POSIX and for better compatibility with the latest compiler
   versions.
 * New internal tests: for Base64 decoding, Basic Auth and folded
   headers.
 * Supported new libcurl API in tests to mute deprecation warnings.
 * Supported ARM and ARM64 for VC compilers.

 Functionality changes:
------------------------
 * any negative number returned by response data generation callback
   function is treated as an error. Previously negative values except
   predefined error codes could produce undefined behaviour.
 * Added handling of "DEBUG" preprocessor macro as an alias of "_DEBUG".

 Fixes:
---------
 # Fixed functionality with blocking sockets.
 # Fixed very inefficient data pumping for upgraded TLS connections.
 # Fixed processing of folded headers in the requests.
 # Fixed data races when closing upgraded connection.
 # Removed duplication of "Connection: upgrade" header.
 # Digest auth: fixed thread sync to avoid "stale hash" results.
 # Fixed harmless unwanted extra data processing resulting in triggering
   of the assert.
 # Fixed tests for LTO.
 # Removed removed non-portable functions in examples.
 # Fixed delayed call of connection notification callback in
   thread-per-connection mode.
 # Fixed Address Sanitizer unpoison of memory when memory pool is
   destroyed. This fixed periodic ASAN error when used for a long time
   with the sanitizer.
 # Fixed compiler warnings in library code, examples, tests and configure
   checks.
 # New TLS certificates for test-suite: all with SAN fields and SHA-256
   hash.
 # Tests: fixed tests on Darwin 22.x (Ventura).
 # Tests: redesigned one tests group to avoid stress-testing of the OS.

(From OE-Core rev: 5e82c4674835900753fb7d5e01aa6dfe41e5d84b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit bdc28b0262ad8a57d56f029b55b338478afb3a07)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Wang Mingyu
6bfec1ac8e libdnf: upgrade 0.70.0 -> 0.70.1
Changelog:
==========
 Add repoid to solver errors for RPMs (RhBug:2179413)
 Avoid using obsolete RPM API and drop redundant calls
 Remove DNF from list of protected packages

(From OE-Core rev: 04bc1d32ee1084f6c13ae20f21efb6c92c1c5e9c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 965f0b5f50c2c1453d6e7d4f32091635c0ec1e49)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Wang Mingyu
f0b6b40833 fribidi: upgrade 1.0.12 -> 1.0.13
Changelog:
* Adding missing man pages to the tar release file.

(From OE-Core rev: bafba9fcea41ff6ba8e64b3c718a335841be955e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0f6da8601fd4d992550e8afe7b09ba7c491250fd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Wang Mingyu
a36273a9c1 babeltrace2: upgrade 2.0.4 -> 2.0.5
Changelog:
==========
 * bt2: honor build system compiler/linker preferences
 * Fix: clear_string_field(): set first character to 0
 * Fix: src.ctf.fs: Not resolving event common ctx
 * debug-info: fix -Wenum-int-mismatch problem in copy_field_class_content_internal
 * fix: pass exec-prefix to python bindings install
 * fix: document proper Bison version requirement
 * cli: use return value of g_string_free
 * babeltrace2-query(1): erroneous parameter used in example
 * Fix: tests: print real values in a fixed format
 * Fix: bt2: autodisc: remove thread error while inserting status in map
 * tests: src.ctf.fs: add test for metadata with invalid syntax
 * tests: shorten names of session-rotation trace
 * bt2: ignore -Wredundant-decls warning
 * ctf: fix -Wformat-overflow error in ctf-meta-resolve.cpp
 * ctf-writer: fix -Wformat-overflow errors in resolve.c
 * Fix: src.text.details: use write_uint_prop_value to handle unsigned values in write_int_range
 * Add `dev-requirements.txt` for pip
 * Fix: src.ctf.lttng-live: consider empty metadata packet as retry
 * Fix: ctf: wrongfully requiring CTF metadata signature for every section
 * Fix: src.ctf.lttng-live: session closed before any metadata is received
 * fix: obsolete warnings with autoconf >= 2.71
 * fix: explicitly disable '-Wsuggest-attribute=format'
 * fix: set stable branch in gitreview config
 * Fix: ctf-writer: list of reserved keywords
 * compiler warning cleanup: is_signed_type: compare -1 to 1
 * Update working version to Babeltrace 2.0.5

(From OE-Core rev: f520637c1b2593a338754c072045b486f3d154bd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ae47b6c2a4bdee031d42687582049c15614faa6d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Sanjay Chitroda
51d39fb05f cups: Fix CVE-2023-32324
OpenPrinting CUPS is an open source printing system. In versions 2.4.2
and prior, a heap buffer overflow vulnerability would allow a remote
attacker to launch a denial of service (DoS) attack. A buffer overflow
vulnerability in the function `format_log_line` could allow remote
attackers to cause a DoS on the affected system. Exploitation of the
vulnerability can be triggered when the configuration file `cupsd.conf`
sets the value of `loglevel `to `DEBUG`. No known patches or
workarounds exist at time of publication.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-32324
https://security-tracker.debian.org/tracker/CVE-2023-32324

Upstream Patch:
https://github.com/OpenPrinting/cups/commit/fd8bc2d32589

(From OE-Core rev: 3e0e51c5dd435822ab29261a648e5e86b8ad9919)

Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Ross Burton
b2cd8e22d2 ninja: ignore CVE-2021-4336, wrong ninja
(From OE-Core rev: 9201a3d766db1caaf020bd3cb7f4f70429b1a7e1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c2dd2c13ff26c3f046e35a2f6b8afeb099ef422a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-24 09:13:07 -10:00
Hannu Lounento
b9c3b9a2ef profile-manual: fix blktrace remote usage instructions
The references to the target and host systems (i.e. the client and
server respectively) were swapped in the instructions.

Also, there's no need to specify the device node on the server command
line that is run on the host system.

The previous, incorrect, instructions resulted typically in:

    target# blktrace -l /dev/mmcblk1
    server: waiting for connections...

and

    host$ blktrace -d /dev/mmcblk2 -h target
    Invalid path /dev/mmcblk2 specified: 2/No such file or directory

unless the same device node happened to exist on the host system.

Based on

    target# blktrace --version
    blktrace version 2.0.0

and

    host$ blktrace --version
    blktrace version 2.0.0

(From yocto-docs rev: 3534c2898ce835a08e200f50412561dc782e9021)

Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:52 -10:00
Ed Beroset
3597212e5d ref-manual: add clarification for SRCREV
It was not clear to me what a "full revision identifier" was in the
context of the note documenting SRCREV.  After clarification via IRC,
this submission attempts to clarify what is meant to help future
readers.

(From yocto-docs rev: ed6f24518c47ecc42a6ef99c35af0f8e0df40e5e)

Signed-off-by: Ed Beroset <beroset@ieee.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:52 -10:00
Ian Ray
13bf523f46 systemd-systemctl: support instance expansion in WantedBy
Refactor _process_deps to expand systemd instance specifier "%i" to the
template instance.

This change expands on prior commit e510222b57 ("systemd-systemctl: fix
instance template WantedBy symlink construction") by substituting every
"%i" pattern-match with the instance name.

The regexp handles the following cases:

* svc-wants@%i.service

* sys-subsystem-net-devices-%i.device

(From OE-Core rev: c734906a901c5dead9d879df0f251ba848fdb577)

Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9356276137267a29ae2289d796a2940918375308)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:52 -10:00
Chen Qi
64c5104462 cmake.bbclass: do not search host paths for find_program()
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM[1] controls the search
behavior of find_program(). When this variable's value was
first used in OE, it was deliberately set to BOTH to allow
searching of host tools. This is to ensure the necessary tools
from host could be used. The downside is that the configure
behavior may differ on different host environments.

Later, this cmake.bbclass was added the ability to search tools
under the HOSTTOOLS_DIR. This means we no longer needs cmake to
search the host paths. So we remove the class-native setting of
BOTH.

[1] https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.html

(From OE-Core rev: 1e2866eb0ce0c10a2668fbd66bc28526eec30f4d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f4ea12f6635125ee793f4dd801c538c0186f9dc3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:52 -10:00
Richard Purdie
c8075f3319 selftest/license: Exclude from world
These test recipes shouldn't be built as part of world builds. Some recent
changes are exposing issues from this so exclude them.

(From OE-Core rev: ce738e11c5170be40ce76e91e1b91aec8579977b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 80d3f5586cd060ae69fbc6dec2e8978d87da10ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:52 -10:00
Marc Ferland
45684c96ab connman: fix warning by specifying runstatedir at configure time
Without this patch, systemd complains on startup with messages similar
to:

systemd-tmpfiles[128]: /etc/tmpfiles.d/connman_resolvconf.conf:1: Line references path below legacy directory /var/run/, updating /var/run/connman → /run/connman; please update the tmpfiles.d/ drop-in file accordingly.
systemd-tmpfiles[172]: /etc/tmpfiles.d/connman_resolvconf.conf:1: Line references path below legacy directory /var/run/, updating /var/run/connman → /run/connman; please update the tmpfiles.d/ drop-in file accordingly.

By default, connman will use "/var/run/connman" for runstatedir
instead of the now recommended "/run/connman".

(From OE-Core rev: 8ea652072f78cce76996ceefe3559a9c0fbc35c8)

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d17776765a99a4ae327797206ef2a8a735ce87b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Alexander Kanavin
f85405c3eb maintainers.inc: correct unassigned entries
Modify packages to unassigned where appropriate

(From OE-Core rev: 27f15bc3166fda5acd07e9e1c34842a641d24e37)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab37ddf53607111bf5c49c4f2388224999c4a5a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Alexander Kanavin
be0c0cd51e maintainers.inc: unassign Pascal Bach from cmake entry
This was confirmed via private email.

(From OE-Core rev: f59753d5cf5b895ce080dc831894cda6c6d2d1d0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c30e9f1972a3e1d4099f39fd6d0dfb37acb73ce1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Alexander Kanavin
59d73f041d maintainers.inc: unassign Andreas Müller from itstool entry
This was confirmed via private email.

(From OE-Core rev: 8c9a247c3bffeda1aae9af69656337a0b8afabfb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc8bb0da24419424989548ced27b2e76030340d9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Alexander Kanavin
2cad32dce9 maintaines.inc: unassign Richard Weinberger from erofs-utils entry
This was confirmed via private email.

(From OE-Core rev: 4c345fbf7dd009eaffe09c9d218e697145ad8ee2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 834519933fcd6e4ff54f24d0cf671ea9ce24398a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Khem Raj
8689269063 perf: Make built-in libtraceevent plugins cohabit with external libtraceevent
This will package the plugins built by perf into kernel specific dir
under libdir, so it does not conflict with plugins from newly added
libtraceevent recipe

Fixes
do_sdk_depends: The file /usr/lib/traceevent/plugins/plugin_cfg80211.so is installed by both perf and libtraceevent, aborting

(From OE-Core rev: 68733d5467134370f036480b0cc11e6b97efe4ad)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 28f39769c27d257a60ff0152acc0c76f0276fa6a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Kai Kang
53ec7146f9 pm-utils: fix multilib conflictions
It fails to instal pm-utils and lib32-pm-utils at same time:

Error: Transaction test error:
  file /usr/bin/pm-is-supported conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
  file /usr/sbin/pm-hibernate conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
  file /usr/sbin/pm-powersave conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
  file /usr/sbin/pm-suspend conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
  file /usr/sbin/pm-suspend-hybrid conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64

All of the conflicted files either is script which source a file in
${libdir}, or a link file to some file in ${libdir}. Compare the content
of installed files in ${libdir} exclude binaries, only the paths of
${libdir} diff. So re-define libdir with ${nonarch_libdir} to fix the
conflicts.

(From OE-Core rev: 18d15c59ef5bba92e5223c96c28259feac037410)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f836541bcfdbf033a37537530b4e3b87b0a7f003)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Martin Jansa
1ebc56a07c kmod: remove unused ptest.patch
* it was removed from SRC_URI in 2015:
  https://git.openembedded.org/openembedded-core/commit/?id=f80d136bdd578468035a88125fa1b84973fd912b

(From OE-Core rev: c977c338f1f45876fd19480abb67379dcf112a1e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cfc4586b4bf080a3a4aa419dffc76c5da2a95b74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Martin Jansa
93d2b8c0ab libgloss: remove unused patch file
* it was removed from SRC_URI in:
  https://git.openembedded.org/openembedded-core/commit/?id=1c9cbb27dfe37ca4574c4285fb03ce394dee5ed1

(From OE-Core rev: ab6ca3112fe84f74fa4cd6ddfec2c6ca50476539)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c78439a8048c30ef96e11ae698c32f4e088787d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Martin Jansa
60b79a980b inetutils: remove unused patch files
* they were removed from SRC_URI in:
  https://git.openembedded.org/openembedded-core/commit/?id=a21e8fdf1b66961ddae5929d393daa08800bb748

(From OE-Core rev: de86594c102e04aa55208b39d63c0593ade14b7c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e2030f2a651920435787b4a580dd18894c1bc02c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Martin Jansa
87e6f439be minicom: remove unused patch files
* they were removed from SRC_URI in:
  https://git.openembedded.org/openembedded-core/commit/?id=41f8760dd8a8ac388389bc17dbc5e0ae0f64bf57

(From OE-Core rev: 4395c783e544de30f650459677055737148ea261)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a0f28cd8d01f4faeedc1089e5d1e2dacc5b046f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Martin Jansa
1c5de5342f qemu: remove unused qemu-7.0.0-glibc-2.36.patch
* it was removed from SRC_URI in:
  https://git.openembedded.org/openembedded-core/commit/?id=e94d182889ca3c02df913c59f0b66b228ffe588c

(From OE-Core rev: 9bd2cd7673c2c4d2c3c99b2caffff53521c1fc78)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 351c461859df02118e9fadb57320120dfbcd97eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Martin Jansa
f1df897c62 libx11: remove unused patch and FILESEXTRAPATHS
* 0001-fix-a-memory-leak-in-XRegisterIMInstantiateCallback.patch was removed
  from SRC_URI in:
  https://git.openembedded.org/openembedded-core/commit/?id=e13f651f73db0f26f4645447ab5fa17e36d1903b

(From OE-Core rev: b6ce931656c29e11ea65023ae6077a2870309020)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee37d9f05c047e1dd68e0cb47b809240d2f33835)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:51 -10:00
Khem Raj
d878b48ed8 systemd: Drop a backport
This patch should have been dropped when upgrading to 253
since its already available upstream since then

(From OE-Core rev: a0f5dc78f030a3c4efbc864c385b6592a22ef1ec)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b677b766280b39e8bf507d5aec4f08e49fd72a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:50 -10:00
Frieder Schrempf
d7781c43db psmisc: Set ALTERNATIVE for pstree to resolve conflict with busybox
If pstree in busybox is enabled there is a conflict with pstree from
psmisc resulting in:

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

And more detailed in do_rootfs.log:

  update-alternatives: Error: not linking [...]/rootfs/usr/bin/pstree to /bin/busybox.nosuid since [...]/rootfs/usr/bin/pstree exists and is not a link

On order to fix this set ALTERNATIVE:pstree accordingly.

(From OE-Core rev: 6071ff86edb1105ca470979ff691ba5910d7e2fc)

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit deb2176df76dcb16c0d90072ad63d308a0ab1158)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:50 -10:00
Tim Orling
3d3711394b openssl: upgrade 3.1.0 -> 3.1.1
* Drop CVE-2023-0464.patch (merged upstream).
* Refresh 0001-Configure-do-not-tweak-mips-cflags.patch

https://github.com/openssl/openssl/blob/openssl-3.1.1/NEWS.md

Major changes between OpenSSL 3.1.0 and OpenSSL 3.1.1 [30 May 2023]

* Mitigate for very slow OBJ_obj2txt() performance with gigantic OBJECT IDENTIFIER sub-identities. (CVE-2023-2650)
* Fixed buffer overread in AES-XTS decryption on ARM 64 bit platforms (CVE-2023-1255)
* Fixed documentation of X509_VERIFY_PARAM_add0_policy() (CVE-2023-0466)
* Fixed handling of invalid certificate policies in leaf certificates (CVE-2023-0465)
* Limited the number of nodes created in a policy tree (CVE-2023-0464)

Security Advisory:
https://www.openssl.org/news/secadv/20230530.txt

CVE: CVE-2023-2650
CVE: CVE-2023-1255
CVE: CVE-2023-0466
CVE: CVE-2023-0465
CVE: CVE-2023-0464

(From OE-Core rev: 0b4cc6aa840aa52c3843c5292f15c028d0037bba)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26ce9a5fd31c27812ce8784a398b600cc0e9aa80)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:50 -10:00
Trevor Gamblin
b48ae7e1ab bind: upgrade 9.18.13 -> 9.18.14
Stable branch update

(From OE-Core rev: 046e4dcebb7e098374f0d81db79bf247c81ec977)

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 43c97c6e64c554f41a3a45241a7547bce21533e7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:50 -10:00
Andrej Valek
a0a4868b9f busybox: 1.36.0 -> 1.36.1
Bug fix release. 1.36.1 has fixes for line editing, detection of hardware
sha1/sha256 support, unzip (do not create suid/sgid files unless -K),
shell (printf and sleep with no args, handing of SIGINT in sleep), ed.

- regression on x86 is still in place

(From OE-Core rev: a30ec03e3b59a596f48b9a6b8cf1d41d76e33bf3)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09c5499f5885662a55a8810078e7208a1696b29f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:50 -10:00
Markus Volk
fa28c7682b ell: upgrade 0.56 -> 0.57
ver 0.57:
	Fix issue with handling Generic Netlink cancel requests.

ell 0.57 is required for iwd 2.5

(From OE-Core rev: 3d3f9b4dce794114628a15bf375a8f91b7169a27)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f13fe33403f077802640e70a84596546d555c3b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:50 -10:00
Natasha Bailey
f67d5c3edf tiff: backport a fix for CVE-2023-2731
This patch fixes an issue in libtiff's LZWDecode function which could cause a null pointer dereference.

(From OE-Core rev: 1430f2f7aa774c3deb54dca8b8252d31ab5a513c)

Signed-off-by: Natasha Bailey <nat.bailey@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7da5abf23232f61bf8009b4b8e97632768867e07)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:50 -10:00
Mingli Yu
925be0b930 curl: fix CVE-2023-28319 through CVE-2023-28322
Backport patches to fix the below CVEs:
  CVE-2023-28319
  CVE-2023-28320
  CVE-2023-28321
  CVE-2023-28322

(From OE-Core rev: 6612ec59d6680f845f9a96598522aa4d6605690b)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 06:50:49 -10:00
Michael Halstead
fc25449687 uninative: Upgrade to 4.0 to include latest gcc 13.1.1
(From OE-Core rev: a24b257189e83ce4cd073acb3e31591d31dfa5b1)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f87becb69e02bdf055dffb633ed4f6d36b36f7a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Michael Halstead
f3001b7551 uninative: Upgrade to 3.10 to support gcc 13
(From OE-Core rev: 6d9e48a3322a9abdca7444dbfa2288af3c91113b)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f811bffb861b23238e8291394bd6e8407f013619)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Richard Purdie
bb85801f7f selftest/reproducible: Allow native/cross reuse in test
We don't compare reproducibility of the native/cross components, only the
target ones. With the long build times of rust-native, the test now takes
crazy lengths of time so this tweak should allow us to reuse native/cross
artefacts from sstate whilst still testing the target output is
reproducible.

(From OE-Core rev: ea3d21235633dc5b01c6ce39e768d00d1da5d87a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b494d83c639a877cefeb7cbab6d37195e492f059)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Thomas Roos
387963e269 oeqa: adding selftest-hello and use it to speed up tests
Adding a selftest version of hello world to run it in tests where no download is necessary.
Also using this in several tests to speed them up.
Using the -native version wherever possible will also speed up tests a lot.

[YOCTO #11142]

(From OE-Core rev: 95241ece5fcef53901b97f96ae961cea208ca31a)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c3f26b63934888df0e3cd563c1c2804eb78a368e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Martin Jansa
7b8d2c3c2e rpm: drop unused 0001-Rip-out-partial-support-for-unused-MD2-and-RIPEMD160.patch
* it was removed from SRC_URI in oe-core commit:
  commit 67257ca87c6fa8e6050a20ecea50daf834c7e869
  Author: Alexander Kanavin <alex.kanavin@gmail.com>
  Date:   Sat Apr 25 19:28:00 2020 +0200
  Subject: rpm: upgrade to 4.15.1

  and it's unused since then

(From OE-Core rev: c7324d03ebd58c247611a9955b6029bf66f05826)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c801a215fb2d53bdec7f4c9a20ff7969e8071e5c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Pavel Zhukov
9fc8f8395f lib/terminal.py: Add urxvt terminal
This fixes failure [1] of menuconfig task in rxvt-unicode terminal in case if
xterm/Konsole/Gnome is not installed. Tested with rxvt-unicode-256color

[1]
WARNING: Terminal screen is supported but did not start
ERROR: No valid terminal found, unable to open devshell.
Tried the following commands:
	tmux split-window -c "{cwd}" "do_terminal"
	tmux new-window -c "{cwd}" -n "zephyr-helloworld Configuration" "do_terminal"
	xfce4-terminal -T "zephyr-helloworld Configuration" -e "do_terminal"
	terminology -T="zephyr-helloworld Configuration" -e do_terminal
	mate-terminal --disable-factory -t "zephyr-helloworld Configuration" -x do_terminal
	konsole --separate --workdir . -p tabtitle="zephyr-helloworld Configuration" -e do_terminal
	gnome-terminal -t "zephyr-helloworld Configuration" -- do_terminal
	xterm -T "zephyr-helloworld Configuration" -e do_terminal
	rxvt -T "zephyr-helloworld Configuration" -e do_terminal
	tmux new -c "{cwd}" -d -s devshell -n devshell "do_terminal"
	screen -D -m -t "zephyr-helloworld Configuration" -S devshell do_terminal
DEBUG: Python function do_menuconfig finished

(From OE-Core rev: d873b925a02dfec2c7655757a1f08d2435fe1980)

Signed-off-by: Pavel Zhukov <pazhukov@suse.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d2fe4df8ae33e033caf4119a76715f085be1d15)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Chen Qi
7bed4a0ed5 staging.bbclass: do not add extend_recipe_sysroot to prefuncs of prepare_recipe_sysroot
When running prepare_recipe_sysroot task, the extend_recipe_sysroot
is run twice.

What prepare_recipe_sysroot does is executing extend_recipe_sysroot,
there's no need to add extend_recipe_sysroot to its prefuncs.

(From OE-Core rev: 08e561035255e765e4293d4031115ea308cc29d3)

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>
(cherry picked from commit bf7584a2ac16ee46ff5b41536b06bb46d0cbada7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Peter Kjellerstedt
b3242c03f6 xf86-video-intel: Use the HTTPS protocol to fetch the Git repositories
This matches the change in commit 139102a73d (recipes: Default to https
git protocol where possible), which did this for most recipes.

(From OE-Core rev: 155fb4ffbb02522cc5dde22c4d8a69a3e299b86f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 21a06cb3f19570c65fc83d45069cab22136768b0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Peter Kjellerstedt
3da075cf8e musl: Correct SRC_URI
When the protocol used to fetch the Git repository was changed from
"git" to "https" in commit 139102a73d (recipes: Default to https git
protocol where possible), the URI was not updated to match.

(From OE-Core rev: bb3c35309e23121dfc9b0f2f06d31f38554a3820)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0434a5ae168f737741e66a7fe1e30a8703b8ce16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Thomas Roos
c99e034431 oeqa/selftest/cases/devtool.py: skip all tests require folder a git repo
Devtool selftests require poky dir a git repo, when downloading poky as a tar,
this is not the case. Those tests will now skipped.

[YOCTO #12389]

(From OE-Core rev: 5b913494b472ef03435cabf984361b43c3d813f4)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95a5bc130dc51ea9de95c64dbf0e9c7892415d50)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Ranjitsinh Rathod
58926aee88 kmscube: Correct DEPENDS to avoid overwrite
As part of the below commit, DEPENDS gets overwrite which is wrong
Link: https://git.yoctoproject.org/poky/commit/?id=bd947d3343dcd96e79fc8157f32a2a087cd710a7

So correct the DEPENDS varibales

(From OE-Core rev: 45bd0b8c1256640aef98d497e9d53553a1bd1dab)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63f338255000874c62bf01ccc11f2c100014c3d9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Bruce Ashfield
f27e8dd716 linux-yocto: move build / debug dependencies to .inc
When the architecture and debug specific build and runtime dependencies
were introduced, they were only applicable to "newer" kernel versions
and were enabled in the version specific recipes.

These are now common dependencies, so we can avoid the duplication and
move them to a common location.

We also change the adhoc nature of the existing elfutils definition,
as it is now detected by the kernel build and we no longer need the
work around to the native sysroot.

Finally, we change the undocumented KERNEL_DEBUG_OPTIONS to KERNEL_DEBUG
and use it to conditionally enable features that need extended support
(and support sometimes out of oe-core).

(From OE-Core rev: 67a972a1d8c2ff271cbbca68a2805ea31f079fa1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ddeb149e7a78bedeb945898fec5e8f13b7c5711)
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Bruce Ashfield
8740329b23 kernel: don't force PAHOLE=false
If a specific kernel provider or configuration wants to enable BTF
and pahole analysis, it isn't currently possible due to the explicit
definition to false in the base kernel build arguments.

pahole is now detected by the kernel built itself, so unless
pahole-native is enabled, the result is the same.

If a kernel does require an explicit disable of pahole, it is better
to carry PAHOLE=false in those specific recipes.

(From OE-Core rev: c6f13dcb3e04655c8076c1100ceada760ffb1ddb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1e4851a36ed47ce6ba880a49264b9a57c78cf4f)
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Lorenzo Arena
77fbdc349c conf: add nice level to the hash config ignred variables
This is needed as each user could be setting different nice levels
while building, however this should not make the shared cache unusable.

(From OE-Core rev: c7eeb912b6c39df654d82e26608514221022aa2a)

Signed-off-by: Lorenzo Arena <arena.lor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 42784f9360345da1c01d988070253e7ffd5ac4ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Tom Hochstein
7783bc9c4a piglit: Add missing glslang dependencies
The vulkan configuration requires glslangValidator for build and
runtime.

Fixes configure error:
```
| CMake Error at CMakeLists.txt:191 (message):
|   glslangValidator required by vulkan tests not found
```

Fixes runtime error:
```
name: vulkan@shaders@fs-large-local-array
    result: fail
    returncode: 1
    out:
    err: glslangValidator: No such file or directory
glslangValidator failed
```

(From OE-Core rev: 67116105614137ede6c09efc0b1adf4ed34e79e7)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 89423cc35d9d2d709adaf032bee8340fb91a3af5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Ross Burton
d212bfc538 meta: depend on autoconf-archive-native, not autoconf-archive
autoconf-archive is a collection of m4 autoconf macros needed at
build-time, and autoconf-archive-native is a suitable provider as there
is nothing in the recipe that needs to be cross-compiled.

Also if we use DEPENDS=autoconf-archive then the recipe's -dev package
ends up RDEPENDing on autoconf-archive, which isn't correct.

Universally change any DEPENDS on autoconf-archive to the -native form,
and add any missing dependencies that were implicit before.

(From OE-Core rev: be5534a8ca4a5ab7323039123e680ba1f6ede908)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 571132415ea7fe2d91c62948f2b6aa553eafa83d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Martin Jansa
b76003e443 image-live.bbclass: respect IMAGE_MACHINE_SUFFIX
* fixes:
  ERROR: core-image-minimal-1.0-r0 do_bootimg: /OE/build/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-initramfs-qemux86-64.cpio.gz is invalid. initrd image creation failed.
  ERROR: core-image-minimal-1.0-r0 do_bootimg: ExecutionError('/OE/build/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.build_hddimg.2001892', 1, None, None)
  when IMAGE_MACHINE_SUFFIX is set to empty in local.conf

(From OE-Core rev: ac1977fea5a5d68c197d948a59447472e7c7747b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ed072d2a0abe5a22330160f67ee5e83c2eae1dac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Martin Jansa
0fb1391bfd go.bbclass: don't use test to check output from ls
* avoids possibly confusing error message in log.do_install like:
  ls: cannot access 'etcd/3.5.7-r0/build/bin/linux_arm64/': No such file or directory

(From OE-Core rev: 6f9b6145b473a1adcaf39c1af0d17bec00547ede)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2f1777e6ac5269a71203b6a2c562a43503be95ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Qiu Tingting
603be5082d e2fsprogs: Fix error SRCDIR when using usrmerge DISTRO_FEATURES
When build e2fsprogs ptest with usrmerge DISTRO_FEATURES,
    in test_script and test_one scripts, value of SRCDIR has problem.
      SRCDIR=/usr/usr/lib/e2fsprogs/ptest/test

    ptest log
      # ptest-runner e2fsprogs
      START: ptest-runner
      2022-12-17T11:08
      BEGIN: /usr/lib/e2fsprogs/ptest
      ls: cannot access '/usr/usr/lib/e2fsprogs/ptest/test/[a-zA-Z]_*': No such file or directory
      ./test_script: line 54: /usr/usr/lib/e2fsprogs/ptest/test/test_post: No such file or directory
      DURATION: 0
      END: /usr/lib/e2fsprogs/ptest
      2022-12-17T11:08
      STOP: ptest-runner
      TOTAL: 1 FAIL: 0

    Reason
      In Makefile.in, SRCDIR is set by prefix and libdir.
        @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_one
        @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_script
      prefix=/usr
      libdir=/usr/lib (when usrmerge is set)

    solution
      Use PTEST_PATH to fix it.

(From OE-Core rev: 0e9cd399f7f5dcd31420cce8e0dc8c25f33bd80b)

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 85e3b4f1d4b8734b0dd427d107a9f736bca9b7f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Eero Aaltonen
3cdbc192f8 avahi: fix D-Bus introspection
Install and package the D-Bus introspection files.

(From OE-Core rev: ec7ba3c31611ed9962b844256734a07ff4ca9152)

Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b8183ad25af3bcf23f04dd649b6ef665569fac8c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Martin Jansa
f1c66ffb1c binutils: package static libs from gprofng
* fixes:
  ERROR: binutils-2.40-r0 do_package: QA Issue: binutils: Files/directories were installed but not shipped in any package:
    /usr/lib/gprofng/libgp-collectorAPI.a
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
  binutils: 1 installed and not shipped files. [installed-vs-shipped]

(From OE-Core rev: ab6ae4b715143364288ba164f8ab5c3cd7f486ae)

(From OE-Core rev: 4ed0f0cc0ecc290f1bbb8262afa62b45513e9cc6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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 f72fd51e0da100e7ed90992225688bf43e2a69b6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Deepthi Hemraj
5b00b91b4e binutils: stable 2.40 branch updates
- Rebase existing patches
- Drop 0014-configure-remove-dependencies-on-gmp-and-mpfr-when-g.patch
  which is already in
- Correct packaging path to libgprofng.so
- Below commits on binutils-2.40 stable branch are updated.

4671be001eb Updated Hungarian translation for the gprof directory
ded035f913e lto: Don't add indirect symbols for versioned aliases in IR
74cb2ddeabc gas: arm: Change warning message to not reference specific A-class architecture revision
570b9c09bbf gas: arm: Fix a further IT-predicated vcvt issue in the presense of MVE vcvtn
bddd62e188c libctf: get the offsets of fields of unnamed structs/unions right
7aa47eafcce libctf: fix assertion failure with no system qsort_r
165accf0752 coff_get_normalized_symtab bfd_release
af35798e957 PR30217, dynamic relocations using local dynamic symbols
18bb604f1e1 PR30198, Assertion and segfault when linking x86_64 elf and coff
34a2b4a0e21 PR30155, ld segfault in _bfd_nearby_section
3d0046f39aa PR30046, power cmpi leads to unknown architecture
5c87fb1d59b ppc32 and "LOAD segment with RWX permissions"
11f5c1ebf14 Updated Serbian translations for gold, gprof and opcodes sub-directories
38e455b1d9a Updated translations for the bfd and gprof directories.
b2bc62b7b4e gas: correct symbol name comparison in .startof./.sizeof. handling
17294931e3e configure: remove dependencies on gmp and mpfr when gdb is disabled
1fc096a4c59 Regen config files
e1815414077 Pass $JANSSON_LIBS and $ZSTD_LIBS to ld-bootstrap/bootrap.exp
3e888977f16 bpf: fix error conversion from long unsigned int to unsigned int [-Werror=overflow]
65dbb942145 Updated Swedish translation for the binutils sub-directory
27f59ec47a1 RISC-V: make C-extension JAL available again for (32-bit) assembly
edd36b26f35 gprofng: PR30043 libgprofng.so.* are installed to a wrong location
c6e269febbc gprofng: PR29521 [docs] man pages are not in the release tarball
bcea253f5fa toplevel: Makefile.def: add install-strip dependency on libsframe

(From OE-Core rev: 5d7389770af6613af4ca8a2d30cc79d494a91075)

(From OE-Core rev: c4135c692cea9cbeb5df21baa4d76e872d981411)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
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 dcaf5192599b9474901ab73b66c330a401623fc1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Sudip Mukherjee
af5d5cb4e0 libxi: upgrade to v1.8.1
Changes:
Use xz: upstream has not released bz2.
Update sha256sum for new version.

Details at: https://gitlab.freedesktop.org/xorg/lib/libxi/-/commits/libXi-1.8.1

(From OE-Core rev: fbe7b8b6d51201273de2f164c403778630e7bae8)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 278f73b2bc06f25fd66322e38c06ef5ebf894f98)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Wang Mingyu
0cf1b9fefa iso-codes: upgrade 4.13.0 -> 4.15.0
Changelog:
==========
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 4217
- Translation updates for ISO 15924
* ISO 3166-2: Fix wrong Spanish translation

(From OE-Core rev: b189240b211e5d8f40747a0128834ed83c38a8f4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 355f2f9fe8a1e6c5e78f136cb3ed77c9004fb75c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Denys Dmytriyenko
af6728f57d xz: upgrade 5.4.2 -> 5.4.3
5.4.3 (2023-05-04)
    * All fixes from 5.2.12
    * Features in the CMake build can now be disabled as CMake cache
      variables, similar to the Autotools build.
    * Minor update to the Croatian translation.

(From OE-Core rev: c450040e2f177b2ef64c0817ca0aad4051d5f25f)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 75aaa3d8efa9ba4fdf7145321dc85b34cd3dcebb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Randy MacLeod
b6ceaea161 vim: upgrade 9.0.1429 -> 9.0.1527
Fixes: https://nvd.nist.gov/vuln/detail/CVE-2023-2426
caf642c25 patch 9.0.1499: using uninitialized memory with fuzzy matching

(From OE-Core rev: 72c741cd9d11f995a20e24d11528842fc020f59e)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4f9a8df5aca99d0a5c2d2346b27ce7be08e7896c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Alexander Kanavin
a3db95dc42 rpm: update 4.18.0 -> 4.18.1
Summary of changes from RPM 4.18.0

General bugfixes and enhancements

Command line
Fix signature reserved space not restored on --delsign (#2382, regression in 4.15.0)
Copy original lead on signing instead of recreating (#1326, regression in 4.14.0)
Issue a warning when signing created an OpenPGP v3 signature (#2286)

Transactions
Fix install of block and character special files (#2195, #2275, regression in 4.18.0)
Handle downgrade within V-R when epoch goes away (RhBug:1845069)

Package building

Spec
Restore BuildRequires check in rpmbuild -bp (regression in 4.15.0)
Fix space handling in %setup (#2335, regression in 4.18.0)
Issue a deprecation warning on %patchN syntax

Macros
Don’t embed CPU count of build system in packages (#2343)
Make CPU and thread-related macros available on all platforms (#2265)
Fix macro scoping level on re-entry from %[] expression (#2354)
Split ___build_pre macro to make mocking rpm build environment easier

Buildroot policies
Fix xargs use in brp-remove-la-files on macOS (#2332, regression in 4.17.0)

Generators
Disable debuginfod server lookups in build and dependency generator scripts
Exclude kernel modules from ELF dependency generation (regression in 4.17.0)
Signatures and keys
Fix type confusion bugs in the internal OpenPGP implementation

Plugins
Make write() non-blocking in fapolicyd plugin (RhBug:2110787)
Add a handler for libselinux log messages (RhBug:2123719, RhBug:2050774)

API changes
N/A

Internal improvements and cleanups
Fix potential uninitialized variable use on public key import
Fix various leaks during package build and install
Fix getopt() usage to comply with POSIX

Build process
Generate Python egg-info from automake builds (#130, #2230)
Revise ISANAME for loongarch
Documentation
Document %_binary_payload and %_source_payload syntax in RPM package format manual
Various typo and grammar fixes in reference manuals
Minor CONTRIBUTING.md updates

Drop:
0001-docs-do-not-build-manpages-requires-pandoc.patch
(pandoc is now detected from $PATH)
fifofix.patch
(upstream fixed the issue)

(From OE-Core rev: 0206e2700e290f04cb4c4c2cf50c1e1f1f4ae6ee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d8d673b2dc86e04cc278dc111b36d52d60bc25f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Khem Raj
0afb60e4fd go: Use -no-pie to build target cgo
Fixes
go: ELF binary /usr/lib/go/pkg/tool/linux_arm64/pprof has relocations in .text
go: ELF binary /usr/lib/go/bin/go has relocations in .text [textrel]

(From OE-Core rev: 0e9f47eddf786972b409088629d0f62c6bc74448)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a27d39aebd5966ffffb57c20518381cb06ba8373)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Khem Raj
90019dfd3e go: Upgrade 1.20.1 -> 1.20.4
- Remove already upstreamed patches

- Brings a list of changes [1] [2] [3]

[1] https://github.com/golang/go/issues?q=milestone%3AGo1.20.2+label%3ACherryPickApproved
[2] https://github.com/golang/go/issues?q=milestone%3AGo1.20.3+label%3ACherryPickApproved
[3] https://github.com/golang/go/issues?q=milestone%3AGo1.20.4+label%3ACherryPickApproved

(From OE-Core rev: 5847869334dd6687441708e26d1c0ab0a648e7f5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e043bfb42156c59c93c6a4816528a63cfdaccc3e)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Xiangyu Chen
880fbd4f9b sysstat: Fix CVE-2023-33204
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-33204
https://ubuntu.com/security/CVE-2023-33204

Upstream Patch:
https://github.com/sysstat/sysstat/commit/954ff2e2673c

(From OE-Core rev: 5aee537b52382d5b5e702ecb4c3f34e38a90a398)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a6871590b908e4b749484d913da5e280c20d05f)
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:14:25 -10:00
Mikko Rapeli
42525eca39 qemurunner: avoid leaking server_socket
close() the server_socket before qemusock replaces
it.

(From OE-Core rev: fb1de20b22119fd62b338ab69cd2b6a6c4e9dd8f)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit be7bbbeeb44158b181d1abc5a4d7871a9045fdd6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-06 04:05:58 -10:00
Martin Jansa
be8d8da9a5 populate_sdk_base.bbclass: respect MLPREFIX for ptest-pkgs's ptest-runner
* since "populate_sdk_base: ensure ptest-pkgs pulls in ptest-runner" change:
  https://git.openembedded.org/openembedded-core/commit/?id=ecff0642be5781f7f6cca617158b04ac9a0e85f0
  in multilib build when building lib32-foo-image it can pick wrong
  ptest-runner package if it was built in the same TMPDIR before the
  image, do_rootfs then fails to find it, if the package manager config
  doesn't have 64-bit feed enabled:

  opkg_prepare_url_for_install: Couldn't find anything to satisfy 'ptest-runner'

(From OE-Core rev: 3cdfdeb8f18dd467e2c5c6e9d6e3739aaf5c0c3d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4d24749e7e94881bb952f5c927f0012eb70d4390)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-06 04:05:58 -10:00
nikhil
c33315f7cb tiff: Remove unused patch from tiff
Remove 0001-Revised-handling-of-TIFFTAG_INKNAMES-and-related-TIF.patch
file from tiff as it was removed while upgrading tiff from
4.4.0 -> 4.5.0

(From OE-Core rev: b61e75037ed92e6bf4d9d506ffedfc5d50085522)

Signed-off-by: Nikhil R <nikhilar2410@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c53abdb5ce9cdbfb0f9e48b64b800c45549d18a6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-06 04:05:58 -10:00
Qiu Tingting
3872ad52f1 e2fsprogs: fix ptest bug for second running
At second running, there are four new failed case:
  d_loaddump f_bigalloc_badinode f_bigalloc_orphan_list f_dup_resize

The test_data.tmp is necessary, but it is deleted by run-ptest.
So it should be restored after testing.

(From OE-Core rev: d40b69d0a5a3eceff6b7d97601f560846cc2ef36)

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d0d08dd9a8a179e25b9cfcbac696c1d212a1910c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-06 04:05:58 -10:00
Alexander Kanavin
d249706804 libgcrypt: update 1.10.1 -> 1.10.2
Latest stable branch update

(From OE-Core rev: cc8e721bf14dffef240687819a907ee22f44a9c2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fc7a39d1a16b424ab80f7463c2e1258e6ea3ab38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-06 04:05:58 -10:00
Archana Polampalli
1236cc74fc git: ignore CVE-2023-25815
This is specific to Git-for-Windows.

(From OE-Core rev: 0bdeec9951e8e2c4f645475be98b7a0176438c9b)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-06 04:05:58 -10:00
Bruce Ashfield
c99c7dea44 linux-yocto/5.15: update to v5.15.113
Updating  to the latest korg -stable release that comprises
the following commits:

    1fe619a7d252 Linux 5.15.113
    7de20a23e52a HID: wacom: add three styli to wacom_intuos_get_tool_type
    25b835d40838 HID: wacom: Add new Intuos Pro Small (PTH-460) device IDs
    a540aabefa9b HID: wacom: Force pen out of prox if no events have been received in a while
    b4c7b54b83f6 s390/qdio: fix do_sqbs() inline assembly constraint
    b8427b8522d9 nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()
    cafdd9cefc5b powerpc/64s/radix: Fix soft dirty tracking
    fe59dd824fad tpm/tpm_tis: Disable interrupts for more Lenovo devices
    b9eb4491f0c9 powerpc/iommu: Incorrect DDW Table is referenced for SR-IOV device
    317ee8c54faa ceph: force updating the msg pointer in non-split case
    e3d1adcad5b7 vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF
    03e39ec73941 thunderbolt: Clear registers properly when auto clear isn't in use
    742ed5bb683e serial: qcom-geni: fix enabling deactivated interrupt
    6960267e7d0b serial: 8250_exar: Add support for USR298x PCI Modems
    7d8873ecbd3c serial: Add support for Advantech PCI-1611U card
    51d90382d241 statfs: enforce statfs[64] structure initialization
    865be1cff2c0 ksmbd: fix global-out-of-bounds in smb2_find_context_vals
    7657321b2624 ksmbd: fix wrong UserName check in session_user
    61e043326e72 ksmbd: allocate one more byte for implied bcc[0]
    1c2461b41f30 ksmbd: smb2: Allow messages padded to 8byte boundary
    49f47945386e SMB3: drop reference to cfile before sending oplock break
    653d30a1512c SMB3: Close all deferred handles of inode in case of handle lease break
    972a33e6cc76 can: kvaser_pciefd: Disable interrupts in probe error path
    143623940a03 can: kvaser_pciefd: Do not send EFLUSH command on TFD interrupt
    c724a6edc1c6 can: kvaser_pciefd: Clear listen-only bit if not explicitly requested
    f04628305cac can: kvaser_pciefd: Empty SRB buffer in probe
    da711a8af0fa can: kvaser_pciefd: Call request_irq() before enabling interrupts
    4857ccfbe283 can: kvaser_pciefd: Set CAN_STATE_STOPPED in kvaser_pciefd_stop()
    9ac2448c24a9 can: isotp: recvmsg(): allow MSG_CMSG_COMPAT flag
    a17cf315f246 can: j1939: recvmsg(): allow MSG_CMSG_COMPAT flag
    83af0876040b ALSA: hda/realtek: Add quirk for 2nd ASUS GU603
    cc1924ab21d7 ALSA: hda/realtek: Add a quirk for HP EliteDesk 805
    3a32c5149461 ALSA: hda/realtek: Add quirk for Clevo L140AU
    059a18e95e06 ALSA: hda: Add NVIDIA codec IDs a3 through a7 to patch table
    e8c7d7c43d5e ALSA: hda: Fix Oops by 9.1 surround channel names
    831a1ffb0a93 xhci: Fix incorrect tracking of free space on transfer rings
    4c5c4870694b xhci-pci: Only run d3cold avoidance quirk for s2idle
    fc0e18f95c88 usb: typec: altmodes/displayport: fix pin_assignment_show
    0ed9257a8ab9 usb: gadget: u_ether: Fix host MAC address case
    c51a131cacf4 usb: dwc3: debugfs: Resume dwc3 before accessing registers
    720be29c7d1c USB: UHCI: adjust zhaoxin UHCI controllers OverCurrent bit value
    2ef3ecff0907 usb-storage: fix deadlock when a scsi command timeouts more than once
    3b43d9df27a7 USB: usbtmc: Fix direction for 0-length ioctl control messages
    15d744133218 ALSA: usb-audio: Add a sample rate workaround for Line6 Pod Go
    62499cf3ddd7 bridge: always declare tunnel functions
    ec5caa765f7f netfilter: nft_set_rbtree: fix null deref on element insertion
    b0cc763806c0 netfilter: nf_tables: fix nft_trans type confusion
    addaba68018b vlan: fix a potential uninit-value in vlan_dev_hard_start_xmit()
    3a0450d38a3e igb: fix bit_shift to be in [1..8] range
    c15c3bb90c9a net: dsa: mv88e6xxx: Fix mv88e6393x EPC write command offset
    234e744d86bd cassini: Fix a memory leak in the error handling path of cas_init_one()
    76a7cd047b3a scsi: storvsc: Don't pass unused PFNs to Hyper-V host
    05ad5a4d421c wifi: iwlwifi: mvm: don't trust firmware n_channels
    d66490c29364 wifi: iwlwifi: mvm: fix cancel_delayed_work_sync() deadlock
    fce7d92a8990 wifi: mac80211: fix min center freq offset tracing
    fd8bc0f581af net: bcmgenet: Restore phy_stop() depending upon suspend/close
    99c5acfd1f6a net: bcmgenet: Remove phy_stop() from bcmgenet_netif_stop()
    ed1283c46d90 s390/cio: include subchannels without devices also for evaluation
    673cb4798921 tipc: check the bearer min mtu properly when setting it by netlink
    575e84d90a74 tipc: do not update mtu if msg_max is too small in mtu negotiation
    5cf99d5f656a tipc: add tipc_bearer_min_mtu to calculate min mtu
    6a7690f2bd17 virtio_net: Fix error unwinding of XDP initialization
    18c0bd6888b3 virtio-net: Maintain reverse cleanup order
    cdd8160dcda1 net: nsh: Use correct mac_offset to unwind gso skb in nsh_gso_segment()
    f51d15d9bc41 drm/exynos: fix g2d_open/close helper function definitions
    45a158a212d9 SUNRPC: Fix trace_svc_register() call site
    1c28b206ae49 SUNRPC: always free ctxt when freeing deferred request
    54832355b0b1 SUNRPC: Remove svc_rqst::rq_xprt_hlen
    7a1dca013124 SUNRPC: Remove dead code in svc_tcp_release_rqst()
    9712097e89b2 SUNRPC: Clean up svc_deferred_class trace events
    8c26ecd887ef tracing: Introduce helpers to safely handle dynamic-sized sockaddrs
    7851771789e8 SUNRPC: double free xprt_ctxt while still in use
    051af3f0b7d1 media: netup_unidvb: fix use-after-free at del_timer()
    8e37baf62181 net: hns3: fix reset delay time to avoid configuration timeout
    aaf7c7d8448f net: hns3: fix sending pfc frames after reset issue
    56640004ee56 net: hns3: fix output information incomplete for dumping tx queue info with debugfs
    98e964801811 erspan: get the proto with the md version for collect_md
    5258395e67fe serial: 8250_bcm7271: fix leak in `brcmuart_probe`
    cc2f7cee933f serial: 8250_bcm7271: balance clk_enable calls
    f76a18e53a66 serial: arc_uart: fix of_iomap leak in `arc_serial_probe`
    15251e783a4b tcp: fix possible sk_priority leak in tcp_v4_send_reset()
    2832d6244634 vsock: avoid to close connected socket after the timeout
    2c1617dc6dab ALSA: hda/realtek: Apply HP B&O top speaker profile to Pavilion 15
    bbb5ac533ca6 ALSA: firewire-digi00x: prevent potential use after free
    81c843152422 net: phy: dp83867: add w/a for packet errors seen with short cables
    c1bc2870f14e net: fec: Better handle pm_runtime_get() failing in .remove()
    b598e76b49cc selftets: seg6: disable rp_filter by default in srv6_end_dt4_l3vpn_test
    5041897b9f0f selftests: seg6: disable DAD on IPv6 router cfg for srv6_end_dt4_l3vpn_test
    d6c89d776be2 af_key: Reject optional tunnel/BEET mode templates in outbound policies
    19457a4423a3 cpupower: Make TSC read per CPU for Mperf monitor
    3a4ff14b0ecb ASoC: fsl_micfil: Fix error handler with pm_runtime_enable
    a2e5a77ae3c3 dt-bindings: display/msm: dsi-controller-main: Document qcom, master-dsi and qcom, sync-dual-dsi
    e1c9c7482e31 drm/msm/dpu: Remove duplicate register defines from INTF
    85eb9aef4fb5 drm/msm/dpu: Move non-MDP_TOP INTF_INTR offsets out of hwio header
    b688a4115bdf drm/msm/dpu: Add INTF_5 interrupts
    d8a291e39af2 drm/msm/dp: unregister audio driver during unbind
    288247879f4e Revert "Fix XFRM-I support for nested ESP tunnels"
    46f1a953545f xfrm: don't check the default policy if the policy allows the packet
    98f179c5b072 platform/x86: hp-wmi: add micmute to hp_wmi_keymap struct
    a832a43fdd95 platform/x86: Move existing HP drivers to a new hp subdir
    df14d64b36b1 platform/x86: hp-wmi: Support touchpad on/off
    6158e958e824 parisc: Replace regular spinlock with spin_trylock on panic path
    1fa3fb4f7018 mfd: dln2: Fix memory leak in dln2_probe()
    c9faa002ea4b soundwire: qcom: gracefully handle too many ports in DT
    b61382a825c0 phy: st: miphy28lp: use _poll_timeout functions for waits
    dc9c54d34dbd Input: xpad - add constants for GIP interface numbers
    92c089a931fd iommu/sprd: Release dma buffer to avoid memory leak
    a2bc5241ee14 iommu/arm-smmu-v3: Acknowledge pri/event queue overflow if any
    aa50d0a460cc clk: tegra20: fix gcc-7 constant overflow warning
    20f9bfc664d6 fs/ntfs3: Fix a possible null-pointer dereference in ni_clear()
    85afd3007465 fs/ntfs3: Add length check in indx_get_root
    2a67f26f70ab fs/ntfs3: Validate MFT flags before replaying logs
    d4b744825295 fs/ntfs3: Fix NULL dereference in ni_write_inode
    1fd5b80c9339 fs/ntfs3: Enhance the attribute size check
    6d3d3283e6b4 fs/ntfs3: Fix NULL pointer dereference in 'ni_write_inode'
    8ebcbd1811b8 iommu/arm-smmu-qcom: Limit the SMR groups to 128
    036e02dfd515 RDMA/core: Fix multiple -Warray-bounds warnings
    ff70ad9159fb recordmcount: Fix memory leaks in the uwrite function
    f3458b84c627 sched: Fix KCSAN noinstr violation
    0652b54957ff mcb-pci: Reallocate memory region to avoid memory overlapping
    1ba5594739d8 serial: 8250: Reinit port->pm on port specific driver unbind
    ee009c2abc44 usb: typec: tcpm: fix multiple times discover svids error
    973f84956b2c HID: wacom: generic: Set battery quirk only when we see battery data
    b2069cfe1b33 spi: spi-imx: fix MX51_ECSPI_* macros when cs > 3
    6293d0533cfe HID: logitech-hidpp: Reconcile USB and Unifying serials
    3f1719790cc3 HID: logitech-hidpp: Don't use the USB serial for USB devices
    a97e60bd2896 staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE
    116b9c002c89 Bluetooth: L2CAP: fix "bad unlock balance" in l2cap_disconnect_rsp
    392a06f965fe Bluetooth: hci_bcm: Fall back to getting bdaddr from EFI if not set
    c018360885f0 Bluetooth: btintel: Add LE States quirk support
    7aa14a7a3a85 ipvs: Update width of source for ip_vs_sync_conn_options
    52851d0c3354 nbd: fix incomplete validation of ioctl arg
    3d3f8fe01a01 wifi: ath11k: Fix SKB corruption in REO destination ring
    87940e4030e4 wifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace
    35e304dbcefa null_blk: Always check queue mode setting from configfs
    82f877ec9b04 wifi: iwlwifi: pcie: Fix integer overflow in iwl_write_to_user_buf
    7545f21eee13 wifi: iwlwifi: pcie: fix possible NULL pointer dereference
    095018267c87 bpf: Add preempt_count_{sub,add} into btf id deny list
    e3e6e252d74f samples/bpf: Fix fout leak in hbm's run_bpf_prog
    e2759a59a4cc f2fs: fix to check readonly condition correctly
    d8f4ad5f3979 f2fs: fix to drop all dirty pages during umount() if cp_error is set
    613f6cde5ebb ext4: Fix best extent lstart adjustment logic in ext4_mb_new_inode_pa()
    bc4a3e1d07a8 ext4: set goal start correctly in ext4_mb_normalize_request
    203e8875d294 scsi: ufs: ufs-pci: Add support for Intel Lunar Lake
    71ee06193ed7 gfs2: Fix inode height consistency check
    e84282efc87f scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition
    c6ed54dd9069 lib: cpu_rmap: Avoid use after free on rmap->obj array entries
    1911cca5916b scsi: target: iscsit: Free cmds before session free
    a6f9f53d73bf net: Catch invalid index in XPS mapping
    e3644d15d74a net: pasemi: Fix return type of pasemi_mac_start_tx()
    d5eaf2a6b077 bnxt: avoid overflow in bnxt_get_nvram_directory()
    f91037487036 scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
    99f8a15af6c9 ext2: Check block size validity during mount
    e242c66f7ecf wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex
    fe913db2acef bpf: Annotate data races in bpf_local_storage
    aa186074b6f2 wifi: ath: Silence memcpy run-time false positive warning
    9f87ee85ce1d media: Prefer designated initializers over memset for subdev pad ops
    66acfe798cd0 drm/amd: Fix an out of bounds error in BIOS parser
    d997c920a530 ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects
    3a7a4aa3958c ACPICA: Avoid undefined behavior: applying zero offset to null pointer
    0aa3d558f14e drm/msm/dp: Clean up handling of DP AUX interrupts
    33cc6ef106c9 drm/tegra: Avoid potential 32-bit integer overflow
    19882a49b242 remoteproc: stm32_rproc: Add mutex protection for workqueue
    f4a573eed637 ACPI: EC: Fix oops when removing custom query handlers
    66caf2278771 firmware: arm_sdei: Fix sleep from invalid context BUG
    162a9b321538 memstick: r592: Fix UAF bug in r592_remove due to race condition
    dcf632bca424 media: pci: tw68: Fix null-ptr-deref bug in buf prepare and finish
    f0a06203f2fe media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()
    c12733784112 arm64: dts: qcom: msm8996: Add missing DWC3 quirks
    15856ab95617 regmap: cache: Return error in cache sync operations for REGCACHE_NONE
    e9c5fc4f3f35 drm/amd/display: Use DC_LOG_DC in the trasform pixel function
    9fd5be74b38f drm/displayid: add displayid_get_header() and check bounds better
    37cab61a52d6 fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
    e30a55e98ae6 rcu: Protect rcu_print_task_exp_stall() ->exp_tasks access
    718b66c5eb65 refscale: Move shutdown from wait_event() to wait_event_idle()
    620a3c28221b ext4: allow ext4_get_group_info() to fail
    99f7ce0fac22 ext4: allow to find by goal if EXT4_MB_HINT_GOAL_ONLY is set
    1de53f2223eb ext4: fix lockdep warning when enabling MMP
    c53936d9fb35 ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled
    3f937d6615dd ext4: reflect error codes from ext4_multi_mount_protect() to its callers
    1284253ce95a ext4: remove an unused variable warning with CONFIG_QUOTA=n
    96b3233f42fb fbdev: arcfb: Fix error handling in arcfb_probe()
    33b5890dfaf2 drm/i915/dp: prevent potential div-by-zero
    a41559ae3681 af_unix: Fix data races around sk->sk_shutdown.
    610fd07c1370 af_unix: Fix a data race of sk->sk_receive_queue->qlen.
    62d43dd14b1d net: datagram: fix data-races in datagram_poll()
    7c8be27727fe ipvlan:Fix out-of-bounds caused by unclear skb->cb
    3c9d916e39ef gve: Remove the code of clearing PBA bit
    43d938a82ed1 tcp: add annotations around sk->sk_shutdown accesses
    9dd9ffe11841 net: add vlan_get_protocol_and_depth() helper
    538b511bc54e net: deal with most data-races in sk_wait_event()
    159a81d5e5a9 net: annotate sk->sk_err write from do_recvmmsg()
    1d5c8b01f1df netlink: annotate accesses to nlk->cb_running
    1a2b27f2d7ac netfilter: conntrack: fix possible bug_on with enable_hooks=1
    8d56f00c61f6 netfilter: nf_tables: always release netdev hooks from notifier
    de260d1e02cd net: Fix load-tearing on sk->sk_stamp in sock_recv_cmsgs().
    5f5549b99828 net: stmmac: Initialize MAC_ONEUS_TIC_COUNTER register
    b0a513ba5b28 net: stmmac: switch to use interrupt for hw crosstimestamping
    46e100be0f02 linux/dim: Do nothing if no time delta between samples
    2fdce3e52dc3 tick/broadcast: Make broadcast device replacement work correctly
    6e455b89f02c scsi: ufs: core: Fix I/O hang that occurs when BKOPS fails in W-LUN suspend
    b614567e0dd8 net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe()
    da3cd1a81d4e ARM: 9296/1: HP Jornada 7XX: fix kernel-doc warnings
    ac88a1f41f93 drm/mipi-dsi: Set the fwnode for mipi_dsi_device

(From OE-Core rev: e59689be96bb366233a10db22246751f484691fa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-06 04:05:58 -10:00
Bruce Ashfield
a6453d0436 linux-yocto/5.15: update to v5.15.112
Updating  to the latest korg -stable release that comprises
the following commits:

    9d6bde853685 Linux 5.15.112
    0788273bd0a6 drm/amd/display: Fix hang when skipping modeset
    de9a3ed42333 RISC-V: Fix up a cherry-pick warning in setup_vm_final()
    3c9b08a16978 drbd: correctly submit flush bio on barrier
    d0bcf6caa280 serial: 8250: Fix serial8250_tx_empty() race with DMA Tx
    0b401c2cccc5 drm/msm/adreno: adreno_gpu: Use suspend() instead of idle() on load error
    8beaa3cb293a ext4: fix invalid free tracking in ext4_xattr_move_to_block()
    978e5e9111af ext4: remove a BUG_ON in ext4_mb_release_group_pa()
    2b3b8f18c0dc ext4: bail out of ext4_xattr_ibody_get() fails for any reason
    f22b274429e8 ext4: add bounds checking in get_max_inline_xattr_value_size()
    640c8c365999 ext4: fix deadlock when converting an inline directory in nojournal mode
    b2531936118d ext4: improve error handling from ext4_dirhash()
    b2f1314e6e36 ext4: improve error recovery code paths in __ext4_remount()
    5f7d66e5e557 ext4: check iomap type only if ext4_iomap_begin() does not fail
    f5e687698c6d ext4: fix data races when using cached status extents
    6d9a705a653e ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum
    d55e76e11592 ext4: fix WARNING in mb_find_extent
    c5c385baee9b locking/rwsem: Add __always_inline annotation to __down_read_common() and inlined callers
    ed76d3a8910b ksmbd: not allow guest user on multichannel
    4f9baa066749 ksmbd: fix deadlock in ksmbd_find_crypto_ctx()
    bc77a6e93306 ksmbd: fix racy issue while destroying session on multichannel
    a89ff57e4da1 ksmbd: fix kernel oops from idr_remove()
    876a7e3b58e3 ksmbd: add channel rwlock
    05cbc9806ae8 ksmbd: replace sessions list in connection with xarray
    f86a1a74d9a7 ksmbd: fix multi session connection failure
    bb3b772f186c ksmbd: set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFO
    2456e2889c77 wifi: rtw88: rtw8821c: Fix rfe_option field width
    615aff165bda drm/amd/display: Add NULL plane_state check for cursor disable logic
    c11b90aced1a drm/amd/display: Refine condition of cursor visibility for pipe-split
    bf16debcda5c drm/msm/adreno: fix runtime PM imbalance at gpu load
    bac00e57cd5e drm/msm: Remove struct_mutex usage
    17eeeac92b47 drm/i915/dg2: Add HDMI pixel clock frequencies 267.30 and 319.89 MHz
    6d5e6d5a70e2 drm/i915/dg2: Add additional HDMI pixel clock frequencies
    06af228515d1 drm/i915/dg2: Support 4k@30 on HDMI
    a63c6b1eed9a ASoC: soc-pcm.c: call __soc_pcm_close() in soc_pcm_close()
    aa803e6ecac7 ASoC: DPCM: Don't pick up BE without substream
    44b685c4bab3 ASoC: soc-pcm: Move debugfs removal out of spinlock
    0d5017dea0c6 ASoC: soc-compress: Inherit atomicity from DAI link for Compress FE
    a536c367b0d8 ASoC: soc-pcm: Fix DPCM lockdep warning due to nested stream locks
    e2e5b8c72998 fs/ntfs3: Refactoring of various minor issues
    5047a228d4c8 HID: wacom: insert timestamp to packed Bluetooth (BT) events
    db587340a004 HID: wacom: Set a default resolution for older tablets
    823787470e32 drm/amdgpu: disable sdma ecc irq only when sdma RAS is enabled in suspend
    b39ba90d69ee drm/amdgpu: Fix vram recover doesn't work after whole GPU reset (v2)
    cd3c0f7013c3 drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras
    6d4b6abedd2d drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
    db307e725d5b drm/amd/display: fix flickering caused by S/G mode
    61b694b742fb drm/panel: otm8009a: Set backlight parent to panel device
    8f57f3e112cf f2fs: fix potential corruption when moving a directory
    e2d1cc82ad50 drm/msm: fix NULL-deref on irq uninstall
    8f0e1ad5327a drm/msm: fix NULL-deref on snapshot tear down
    74543041c03e drm/bridge: lt8912b: Fix DSI Video Mode
    9d79ccd97199 ARM: dts: s5pv210: correct MIPI CSIS clock name
    137259261cd0 ARM: dts: exynos: fix WM8960 clock name in Itop Elite
    eb15fb94d44a remoteproc: imx_rproc: Call of_node_put() on iteration error
    de26e064ed9e remoteproc: st: Call of_node_put() on iteration error
    8915e44eb3fb remoteproc: stm32: Call of_node_put() on iteration error
    975b80702f0e sh: nmi_debug: fix return value of __setup handler
    66dbc361214d sh: init: use OF_EARLY_FLATTREE for early init
    bb870c4b73d2 sh: mcount.S: fix build error when PRINTK is not enabled
    be95f9ebaf10 sh: math-emu: fix macro redefined warning
    9fdf3666e3f1 SMB3: force unmount was failing to close deferred close files
    c3a0ae5259ea smb3: fix problem remounting a share after shutdown
    17ad86d8c122 inotify: Avoid reporting event with invalid wd
    e51cd74e32d2 platform/x86: touchscreen_dmi: Add info for the Dexp Ursus KX210i
    21de866f75de platform/x86: touchscreen_dmi: Add upside-down quirk for GDIX1002 ts on the Juno Tablet
    5af78b437cd3 cifs: release leases for deferred close handles when freezing
    f43b5573cddc cifs: fix pcchunk length type in smb2_copychunk_range
    69dfa5a2e89d btrfs: fix space cache inconsistency after error loading it from disk
    e0710a49799f btrfs: print-tree: parent bytenr must be aligned to sector size
    bcc401bb8678 btrfs: zero the buffer before marking it dirty in btrfs_redirty_list_add
    f264be24146b btrfs: don't free qgroup space unless specified
    29478148bb3b btrfs: fix encoded write i_size corruption with no-holes
    91f585024e3e btrfs: zoned: fix wrong use of bitops API in btrfs_ensure_empty_zones
    77c6323dad14 btrfs: fix btrfs_prev_leaf() to not return the same key twice
    b13e20cc58e4 perf stat: Separate bperf from bpf_profiler
    2baa45d8f55e perf evlist: Refactor evlist__for_each_cpu()
    871149abc1b9 perf symbols: Fix return incorrect build_id size in elf_read_build_id()
    f716374c4e21 crypto: engine - fix crypto_queue backlog handling
    fa4e304bbd8a crypto: engine - Use crypto_request_complete
    e7ce4ba11635 crypto: api - Add scaffolding to change completion function signature
    a8cc4d5adfe5 crypto: engine - check if BH is disabled during completion
    7b36a06bacf7 crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs()
    b6e2d1e253a4 perf map: Delete two variable initialisations before null pointer checks in sort__sym_from_cmp()
    4f128167e64b perf pmu: zfree() expects a pointer to a pointer to zero it after freeing its contents
    e685e2e2bd14 perf vendor events power9: Remove UTF-8 characters from JSON files
    a6ef72c38c23 perf scripts intel-pt-events.py: Fix IPC output for Python 2
    53f7b55f6b3a net: enetc: check the index of the SFI rather than the handle
    a0cb00295dbe virtio_net: suppress cpu stall when free_unused_bufs
    b4e16ea5f146 virtio_net: split free_unused_bufs()
    f495e435e588 net: dsa: mt7530: fix corrupt frames using trgmii on 40 MHz XTAL MT7621
    dfad4eb4c4d8 ALSA: caiaq: input: Add error handling for unsupported input methods in `snd_usb_caiaq_input_init`
    10c5ea39573d drm/amdgpu: add a missing lock for AMDGPU_SCHED
    54c466c60e23 af_packet: Don't send zero-byte data in packet_sendmsg_spkt().
    c177dd465f5c ionic: catch failure from devlink_alloc
    da81af0ef809 ethtool: Fix uninitialized number of lanes
    27b0d1b81f82 ionic: remove noise from ethtool rxnfc error msg
    d37f6a832331 octeontx2-vf: Detach LF resources on probe cleanup
    00e985958b3e octeontx2-pf: Disable packet I/O for graceful exit
    b5ad803dec80 octeontx2-af: Skip PFs if not enabled
    e39148d3d719 octeontx2-af: Secure APR table update with the lock
    a895ab54afce rxrpc: Fix hard call timeout units
    f5b44b2a17ca sfc: Fix module EEPROM reporting for QSFP modules
    98a20dceddf6 r8152: move setting r8153b_rx_agg_chg_indicate()
    4fbf19a5bd31 r8152: fix the poor throughput for 2.5G devices
    d0ebe36065a8 r8152: fix flow control issue of RTL8156A
    55aeff5361e6 net/sched: act_mirred: Add carrier check
    59bf62f0ed7e RISC-V: mm: Enable huge page support to kernel_page_present() function
    cc4ae807dbef watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe()
    b36cc1c39448 writeback: fix call of incorrect macro
    f98f2ac30f75 net: dsa: mv88e6xxx: add mv88e6321 rsvd2cpu
    56444f30619b selftests: srv6: make srv6_end_dt46_l3vpn_test more robust
    c5ce7c4517d6 sit: update dev->needed_headroom in ipip6_tunnel_bind_dev()
    cb145932fcf6 net/sched: cls_api: remove block_cb from driver_list before freeing
    480577d419f9 net/ncsi: clear Tx enable mode when handling a Config required AEN
    5e756a59cee6 scsi: qedi: Fix use after free bug in qedi_remove()
    fd6204d7724a drm/hyperv: Don't overwrite dirt_needed value set by host
    f8d9e062a695 fs/ntfs3: Fix null-ptr-deref on inode->i_op in ntfs_lookup()
    ce30b2f48b65 ASoC: soc-pcm: fix BE handling of PAUSE_RELEASE
    74201b3c3e52 ASoC: soc-pcm: test refcount before triggering
    2cf8c9f883de ASoC: soc-pcm: serialize BE triggers
    703ebcf64aac ASoC: soc-pcm: Fix and cleanup DPCM locking
    c474bb800000 ASoC: soc-pcm: align BE 'atomicity' with that of the FE
    13390bea97a4 ASoC: soc-pcm: use GFP_ATOMIC for dpcm structure
    25361a0155a1 mailbox: zynqmp: Fix counts of child nodes
    f9dd36311bd5 mailbox: zynq: Switch to flexible array to simplify code
    2343385fe6ee bus: mhi: host: Range check CHDBOFF and ERDBOFF
    a7561c04adb1 bus: mhi: host: Use mhi_tryset_pm_state() for setting fw error state
    7517f62ea073 bus: mhi: host: Remove duplicate ee check for syserr
    9fbf10148f31 bus: mhi: Move host MHI code to "host" directory
    43b2f7d69069 ubifs: Fix memory leak in do_rename
    9933a9086cea ubifs: Fix AA deadlock when setting xattr for encrypted file
    21ad89e197dd crypto: ccp - Clear PSP interrupt status register before calling handler
    93f8b664031b ring-buffer: Ensure proper resetting of atomic variables in ring_buffer_reset_online_cpus

(From OE-Core rev: 276039dd77ad0e6276d4e4688db65150fced3d5f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-06 04:05:58 -10:00
Bruce Ashfield
49527c95cb linux-yocto/5.15: update to v5.15.111
Updating  to the latest korg -stable release that comprises
the following commits:

    b0ece631f84a Linux 5.15.111
    0a008c5098d8 sched: Fix DEBUG && !SCHEDSTATS warn
    21c2a454486d netfilter: nf_tables: deactivate anonymous set from preparation phase
    aa6ff950f875 arm64: dts: qcom: sdm845: correct dynamic power coefficients - again
    2931ed45bfe3 sound/oss/dmasound: fix 'dmasound_setup' defined but not used
    503e554782c9 debugobject: Ensure pool refill (again)
    6b84832966a0 perf intel-pt: Fix CYC timestamps after standalone CBR
    06106efa20f7 perf auxtrace: Fix address filter entire kernel size
    11c6fb35df5c dm: don't lock fs when the map is NULL in process of resume
    e11765cea205 dm ioctl: fix nested locking in table_clear() to remove deadlock concern
    f76fcb9d43ec dm flakey: fix a crash with invalid table line
    a5d8c6bf58e5 dm integrity: call kmem_cache_destroy() in dm_integrity_init() error path
    56e952ae6d89 dm clone: call kmem_cache_destroy() in dm_clone_init() error path
    f382705d0460 dm verity: fix error handling for check_at_most_once on FEC
    1821a33bb23e ia64: fix an addr to taddr in huge_pte_offset()
    3a57c70e9e92 s390/dasd: fix hanging blockdevice after request requeue
    ed7e8beb201b btrfs: scrub: reject unsupported scrub flags
    14383698c0de scripts/gdb: fix lx-timerlist for Python3
    33383fbe4f01 clk: rockchip: rk3399: allow clk_cifout to force clk_cifout_src to reparent
    e8353dea7d7d wifi: rtl8xxxu: RTL8192EU always needs full init
    384a0dcac2a6 mailbox: zynqmp: Fix typo in IPI documentation
    09206edff007 mailbox: zynqmp: Fix IPI isr handling
    6d1af517817a mtd: core: fix error path for nvmem provider
    8444b46e163a mtd: core: fix nvmem error reporting
    7c253e98685e mtd: core: provide unique name for nvmem device, take two
    68695084077e md/raid10: fix null-ptr-deref in raid10_sync_request
    8d07d9119642 nilfs2: fix infinite loop in nilfs_mdt_get_block()
    13f73ef77baa nilfs2: do not write dirty data after degenerating to read-only
    ab0748f246b7 ALSA: usb-audio: Add quirk for Pioneer DDJ-800
    a87e5b9b4c64 parisc: Fix argument pointer in real64_call_asm()
    f1b4681cfa0a afs: Fix updating of i_size with dv jump from server
    33f302c9bf3e mfd: tqmx86: Correct board names for TQMxE39x
    ce01b75447f6 mfd: tqmx86: Specify IO port register range more precisely
    a23b3b2be0d0 mfd: tqmx86: Do not access I2C_DETECT register through io_base
    388d2578c7d7 thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe
    bdcf9fec87b2 dmaengine: at_xdmac: do not enable all cyclic channels
    a5227b3be869 dmaengine: at_xdmac: Fix race for the tx desc callback
    2b68028d771a dmaengine: at_xdmac: Fix concurrency over chan's completed_cookie
    738a4fdbd157 dmaengine: dw-edma: Fix to enable to issue dma request on DMA processing
    fd6316dec20f dmaengine: dw-edma: Fix to change for continuous transfer
    dd23c11136ff dma: gpi: remove spurious unlock in gpi_ch_init
    dce3bdaee3f2 phy: tegra: xusb: Add missing tegra_xusb_port_unregister for usb2_port and ulpi_port
    1cccf7c5c7f5 pwm: mtk-disp: Configure double buffering before reading in .get_state()
    d2798512fafc pwm: mtk-disp: Disable shadow registers before setting backlight values
    8ffa1cb8bcfa leds: tca6507: Fix error handling of using fwnode_property_read_string
    e63e3a0fc062 dmaengine: mv_xor_v2: Fix an error code.
    332ca024a82e leds: TI_LMU_COMMON: select REGMAP instead of depending on it
    c904a070d7cd pinctrl: renesas: r8a779a0: Remove incorrect AVB[01] pinmux configuration
    40566def189c ext4: fix use-after-free read in ext4_find_extent for bigalloc + inline
    18eb23891aea ext4: fix i_disksize exceeding i_size problem in paritally written case
    3dc3a86b88bd SMB3: Close deferred file handles in case of handle lease break
    0f87e18203bd SMB3: Add missing locks to protect deferred close file list
    b574e73db844 timekeeping: Fix references to nonexistent ktime_get_fast_ns()
    ccfede0a2cb1 openrisc: Properly store r31 to pt_regs on unhandled exceptions
    1c7456aa5d3a clocksource/drivers/davinci: Fix memory leak in davinci_timer_register when init fails
    c87c6d50505b RDMA/mlx5: Use correct device num_ports when modify DC
    d2823237dabc SUNRPC: remove the maximum number of retries in call_bind_status
    c11e44ac1a71 RDMA/mlx5: Fix flow counter query via DEVX
    7acad58049ac Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe
    b6157a9f0fc7 clk: qcom: gcc-sm8350: fix PCIe PIPE clocks handling
    33f9b8de1b00 clk: qcom: regmap: add PHY clock source implementation
    0ccc1a6bac34 NFSv4.1: Always send a RECLAIM_COMPLETE after establishing lease
    a2bd706ab635 IB/hfi1: Fix bugs with non-PAGE_SIZE-end multi-iovec user SDMA requests
    6bbc49661c31 IB/hfi1: Fix SDMA mmu_rb_node not being evicted in LRU order
    00cc21e32ea1 RDMA/srpt: Add a check for valid 'mad_agent' pointer
    03b9d26f33e6 RDMA/cm: Trace icm_send_rej event before the cm state is reset
    30218b769845 clk: qcom: gcc-sm6115: Mark RCGs shared where applicable
    5255051c8f31 RDMA/siw: Remove namespace check from siw_netdev_event()
    48ba87f6e14d clk: add missing of_node_put() in "assigned-clocks" property parsing
    3d7c6f2076f1 power: supply: generic-adc-battery: fix unit scaling
    c58ea97aa94f fs/ntfs3: Fix slab-out-of-bounds read in hdr_delete_de()
    cd7e1d679240 fs/ntfs3: Fix OOB read in indx_insert_into_buffer
    952bbfcedbf8 fs/ntfs3: Add check for kmemdup
    3030f2b9b332 fs/ntfs3: Fix memory leak if ntfs_read_mft failed
    d1faeb14bce3 rtc: meson-vrtc: Use ktime_get_real_ts64() to get the current time
    9911be215572 RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()
    44438a49593a rtc: omap: include header for omap_rtc_power_off_program prototype
    6d19fe968ef6 workqueue: Fix hung time report of worker pools
    6c073c5a5b97 workqueue: Introduce show_one_worker_pool and show_one_workqueue.
    e89f95c68536 RDMA/rdmavt: Delete unnecessary NULL check
    9721b14e6c8a RDMA/siw: Fix potential page_array out of range access
    8d909684bdf6 clk: at91: clk-sam9x60-pll: fix return value check
    623941780df3 sched/rt: Fix bad task migration for rt tasks
    594d2a055526 Revert "objtool: Support addition to set CFA base"
    80973ce36f4b perf/core: Fix hardlockup failure caused by perf throttle
    3e09b68fc520 sched/fair: Fix inaccurate tally of ttwu_move_affine
    c3b9f95598b8 sched: Make struct sched_statistics independent of fair sched class
    6002989848c5 sched/fair: Use __schedstat_set() in set_next_entity()
    94bcf94c25aa powerpc/rtas: use memmove for potentially overlapping buffer copy
    f7107d44dff7 macintosh: via-pmu-led: requires ATA to be set
    85842228df0e powerpc/sysdev/tsi108: fix resource printk format warnings
    179cc5ab9591 powerpc/wii: fix resource printk format warnings
    516c27922c96 powerpc/mpc512x: fix resource printk format warning
    da961d510b21 macintosh/windfarm_smu_sat: Add missing of_node_put()
    5b9fc529b689 virtio_ring: don't update event idx on get_buf
    ee0b6146317a spmi: Add a check for remove callback when removing a SPMI driver
    be267f30b07e staging: rtl8192e: Fix W_DISABLE# does not work after stop/start
    424cf2929635 serial: 8250: Add missing wakeup event reporting
    8dfd00bfd53f tty: serial: fsl_lpuart: adjust buffer length to the intended size
    59ecc2cf3466 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
    ee53a7a88027 usb: mtu3: fix kernel panic at qmu transfer done irq handler
    6b0d399dac58 usb: chipidea: fix missing goto in `ci_hdrc_probe`
    6d4325ebd8c0 usb: gadget: tegra-xudc: Fix crash in vbus_draw
    d96f6bc10789 sh: sq: Fix incorrect element size for allocating bitmap buffer
    397eb669dac0 uapi/linux/const.h: prefer ISO-friendly __typeof__
    d1c4dedcd2df scripts/gdb: raise error with reduced debugging information
    2d65599ad1e4 i2c: cadence: cdns_i2c_master_xfer(): Fix runtime PM leak on error path
    d453f25faf68 spi: cadence-quadspi: fix suspend-resume implementations
    6a129c0e9935 ASoC: fsl_mqs: move of_node_put() to the correct location
    850631845531 coresight: etm_pmu: Set the module field
    db6f1b2bba34 HID: amd_sfh: Add support for shutdown operation
    b711dd0ba9b3 scripts/gdb: bail early if there are no generic PD
    eaecf281c27f scripts/gdb: bail early if there are no clocks
    0110bfacff03 ia64: salinfo: placate defined-but-not-used warning
    51395777f66d ia64: mm/contig: fix section mismatch warning/error
    1a2a0d5b0617 PCI/EDR: Clear Device Status after EDR error recovery
    cc4f0e168a56 of: Fix modalias string generation
    770d30b1355c vmci_host: fix a race condition in vmci_host_poll() causing GPF
    08c7608798a9 spi: fsl-spi: Fix CPM/QE mode Litte Endian
    f345d4d71e87 spi: qup: Don't skip cleanup in remove's error path
    77b0c0dd2c56 linux/vt_buffer.h: allow either builtin or modular for macros
    af9ec18aa8ee ASoC: es8316: Handle optional IRQ assignment
    39287d16b2d2 PCI: imx6: Install the fault handler only on compatible match
    1e58fb6b1cef usb: gadget: udc: renesas_usb3: Fix use after free bug in renesas_usb3_remove due to race condition
    f90822ad63d1 spi: imx: Don't skip cleanup in remove's error path
    e9ded9dd5d05 spi: spi-imx: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
    193f7fffdcaf serial: 8250_bcm7271: Fix arbitration handling
    f67cc4929ef9 iio: light: max44009: add missing OF device matching
    7e42057532ea fpga: bridge: fix kernel-doc parameter description
    72b1ce904567 serial: stm32: Re-assert RTS/DE GPIO in RS485 mode only if more data are transmitted
    59ed254dd35e serial: stm32: re-introduce an irq flag condition in usart_receive_chars
    4b7bb1c7be4f usb: dwc3: gadget: Change condition for processing suspend event
    beb12083c1ac usb: host: xhci-rcar: remove leftover quirk handling
    295f3fcaa8ea pstore: Revert pmsg_lock back to a normal mutex
    2491b999a60d drivers: staging: rtl8723bs: Fix locking in rtw_scan_timeout_handler()
    209850f17717 drivers: staging: rtl8723bs: Fix locking in _rtw_join_timeout_handler()
    1ffb2ca65051 ipmi: ASPEED_BT_IPMI_BMC: select REGMAP_MMIO instead of depending on it
    43e4197dd5f6 tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.
    1d2f799c1604 net: amd: Fix link leak when verifying config failed
    5d6e5c054ed2 netlink: Use copy_to_user() for optval in netlink_getsockopt().
    a789192f3661 Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work"
    a54ec573d9b8 ipv4: Fix potential uninit variable access bug in __ip_make_skb()
    d0b43125ec89 net/sched: sch_fq: fix integer overflow of "credit"
    7a45b4e1c82b netfilter: nf_tables: don't write table validation state without mutex
    8913abddad4a bpf: Don't EFAULT for getsockopt with optval=NULL
    77f245ce053e net: stmmac:fix system hang when setting up tag_8021q VLAN for DSA ports
    a9e96eef8218 net/mlx5: E-switch, Don't destroy indirect table in split rule
    05cf6f353d3c ixgbe: Enable setting RSS table to default values
    624b73f77664 ixgbe: Allow flow hash to be set via ethtool
    e302e9ca14a8 wifi: iwlwifi: fw: fix memory leak in debugfs
    53b3b1f563bc wifi: iwlwifi: mvm: check firmware response size
    aa11a894458d wifi: mt76: mt7921e: improve reliability of dma reset
    f8923ad9dd8e wifi: mt76: fix 6GHz high channel not be scanned
    613b51663fc4 wifi: mt76: mt7921e: fix probe timeout after reboot
    5279aaf9f5b0 wifi: mt76: add flexible polling wait-interval support
    ac9fec5b5688 wifi: mt76: handle failure of vzalloc in mt7615_coredump_work
    210e6d01cc49 wifi: iwlwifi: make the loop for card preparation effective
    dff2a7b33060 jdb2: Don't refuse invalidation of already invalidated buffers
    358317ad9cf4 wifi: iwlwifi: fw: move memset before early return
    cccf85e047c3 wifi: iwlwifi: mvm: initialize seq variable
    b3cecbb2571c wifi: iwlwifi: yoyo: Fix possible division by zero
    4636c35b7e6e wifi: iwlwifi: yoyo: skip dump correctly on hw error
    34222897e0eb md/raid10: don't call bio_start_io_acct twice for bio which experienced read error
    d6cfcf98b824 md/raid10: fix memleak of md thread
    7f673fa34c0e md/raid10: fix memleak for 'conf->bio_split'
    8d09065802c5 md/raid10: fix leak of 'r10bio->remaining' for recovery
    901b4918faa4 md/raid10: fix task hung in raid10d
    fc04998351fe md/raid10: factor out code from wait_barrier() to stop_waiting_barrier()
    39db562b3fed md: raid10 add nowait support
    74af08efa5cd md: drop queue limitation for RAID1 and RAID10
    337d1d88be9d bpf, sockmap: Revert buggy deadlock fix in the sockhash and sockmap
    12e70c6f4ed8 selftests/bpf: Fix leaked bpf_link in get_stackid_cannot_attach
    103a4275420e nvme-fcloop: fix "inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage"
    9fe41e648254 nvme: fix async event trace event
    13475e639162 nvme: handle the persistent internal error AER
    30b9073583ac nvmet: fix I/O Command Set specific Identify Controller
    42bcbc2a90a8 nvmet: fix Identify Active Namespace ID list handling
    92cf81746ebc nvmet: fix Identify Controller handling
    ac86d59eaa69 nvmet: fix Identify Namespace handling
    c7e98afecab2 nvmet: fix error handling in nvmet_execute_identify_cns_cs_ns()
    537083b1275c nvmet: move the call to nvmet_ns_changed out of nvmet_ns_revalidate
    080826d16758 nvmet: use i_size_read() to set size for file-ns
    f333854dce4a bpf, sockmap: fix deadlocks in the sockhash and sockmap
    c8a67bc85772 net: ethernet: stmmac: dwmac-rk: fix optional phy regulator handling
    fd8c83d8375b scsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup()
    9a7f63283af6 f2fs: fix to avoid use-after-free for cached IPU bio
    119f278ea9c1 xsk: Fix unaligned descriptor validation
    1056b209935d crypto: drbg - Only fail when jent is unavailable in FIPS mode
    9317d6612011 crypto: drbg - make drbg_prepare_hrng() handle jent instantiation errors
    80bfd8b184d8 bpftool: Fix bug for long instructions in program CFG dumps
    afdc3a4bd77d selftests/bpf: Wait for receive in cg_storage_multi test
    c5fa99bce673 selftests: xsk: Disable IPv6 on VETH1
    c4afd6410f3c net: qrtr: correct types of trace event parameters
    eb77c0c0a17c wifi: rt2x00: Fix memory leak when handling surveys
    0b0c3e37a43f wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_reg()
    0a847af3cb40 wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_rfreg()
    3e660d117513 crypto: sa2ul - Select CRYPTO_DES
    d82d82e0372b crypto: caam - Clear some memory in instantiate_rng
    169134da419c f2fs: compress: fix to call f2fs_wait_on_page_writeback() in f2fs_write_raw_pages()
    d0cf44f06dd4 f2fs: apply zone capacity to all zone type
    2cc6a05661ad f2fs: enforce single zone capacity
    e5a56f13ba2d f2fs: handle dqget error in f2fs_transfer_project_quota()
    6d6415e5bce2 scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS
    eb4cf26d2e86 scsi: target: iscsit: Fix TAS handling during conn cleanup
    9158c86fd323 scsi: target: Fix multiple LUN_RESET handling
    ad4a647aa587 net/packet: convert po->auxdata to an atomic flag
    f1a111ca05ce net/packet: convert po->origdev to an atomic flag
    c3238c7dbed9 net/packet: annotate accesses to po->xmit
    97e7b1c1da12 vlan: partially enable SIOCSHWTSTAMP in container
    5f44dfa841e9 net: pcs: xpcs: remove double-read of link state when using AN
    a7282fc797df bpf: Remove misleading spec_v1 check on var-offset stack read
    60f9ed23b954 selftests/bpf: Fix a fd leak in an error path in network_helpers.c
    9b9e803b4823 scm: fix MSG_CTRUNC setting condition for SO_PASSSEC
    670754766ac3 bpf: fix precision propagation verbose logging
    c022b09fcc32 bpf: take into account liveness when propagating precision
    23634d119ca7 wifi: rtw88: mac: Return the original error from rtw_mac_power_switch()
    3fc0be9f48ff wifi: rtw88: mac: Return the original error from rtw_pwr_seq_parser()
    2ba1e4a623bf tools: bpftool: Remove invalid \' json escape
    484d95c69fc1 wifi: ath6kl: reduce WARN to dev_dbg() in callback
    19ba40acb170 wifi: brcmfmac: support CQM RSSI notification with older firmware
    378364abbe55 wifi: ath5k: fix an off by one check in ath5k_eeprom_read_freq_list()
    59073060fe09 wifi: ath9k: hif_usb: fix memory leak of remain_skbs
    104b1b48b679 wifi: ath6kl: minor fix for allocation size
    d1138f118f43 hwmon: (pmbus/fsp-3y) Fix functionality bitmask in FSP-3Y YM-2151E
    f1d68061b074 cpufreq: use correct unit when verify cur freq
    a55050c7989c tick/common: Align tick period with the HZ tick.
    54202488c835 drm/i915: Make intel_get_crtc_new_encoder() less oopsy
    500ffa58e70b debugobject: Prevent init race with static objects
    af04d8d3c156 arm64: kgdb: Set PSTATE.SS to 1 to re-enable single-step
    00132fab90ea x86/ioapic: Don't return 0 from arch_dynirq_lower_bound()
    ad6481f49fb2 regulator: stm32-pwr: fix of_iomap leak
    b8c2678d0fe7 media: venus: dec: Fix handling of the start cmd
    2ed8f8c09d2a media: rc: gpio-ir-recv: Fix support for wake-up
    4b1afffdd940 drm/amd/display: Fix potential null dereference
    2322b262d220 media: rcar_fdp1: Fix refcount leak in probe and remove function
    5847021f8052 media: rcar_fdp1: Convert to platform remove callback returning void
    d18789f43484 platform: Provide a remove callback that returns no value
    825281f34bec media: rcar_fdp1: Fix the correct variable assignments
    3c300022c188 media: rcar_fdp1: Make use of the helper function devm_platform_ioremap_resource()
    2f48c0a463a3 media: saa7134: fix use after free bug in saa7134_finidev due to race condition
    c94388b5b909 media: dm1105: Fix use after free bug in dm1105_remove due to race condition
    cac0f4f36e22 media: rkvdec: fix use after free bug in rkvdec_remove
    d991f6139fa6 x86/apic: Fix atomic update of offset in reserve_eilvt_offset()
    1e3056b8067c regulator: core: Avoid lockdep reports when resolving supplies
    4e5c9738185b regulator: core: Consistently set mutex_owner when using ww_mutex_lock_slow()
    678b3f29aaaf drm/ttm/pool: Fix ttm_pool_alloc error path
    b19bebc96381 drm/ttm: optimize pool allocations a bit v2
    1e26766dc83a arm64: dts: qcom: msm8994-msft-lumia-octagon: drop unit address from PMI8994 regulator
    bee1a285732a arm64: dts: qcom: msm8994-kitakami: drop unit address from PMI8994 regulator
    fb0bea59d078 arm64: dts: qcom: sc7180-trogdor-lazor: correct trackpad supply
    8853aab16787 mailbox: mpfs: switch to txdone_poll
    623275db2841 drm/lima/lima_drv: Add missing unwind goto in lima_pdev_probe()
    5a8aedb7b9fe ACPI: VIOT: Initialize the correct IOMMU fwspec
    111af9798356 firmware: arm_scmi: Fix xfers allocation on Rx channel
    657776d47bed ARM: dts: gta04: fix excess dma channel usage
    d3047a1b0422 drm: rcar-du: Fix a NULL vs IS_ERR() bug
    3cfaa8713e8b mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data
    60cadfcfa44c ACPI: processor: Fix evaluating _PDC method when running as Xen dom0
    aa8d52ddf7c8 drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence known override-init warnings
    d28ec12c48dd drm: msm: adreno: Disable preemption on Adreno 510
    2ad781393eb3 drm/msm/adreno: drop bogus pm_runtime_set_active()
    86c1a99528c6 drm/msm/adreno: Defer enabling runpm until hw_init()
    1ad4b8c4552b media: max9286: Free control handler
    3d7003c400ca drm/bridge: adv7533: Fix adv7533_mode_valid for adv7533 and adv7535
    a3ea89b5978d firmware: qcom_scm: Clear download bit during reboot
    ca4ce92e3ec9 media: av7110: prevent underflow in write_ts_to_decoder()
    519b08494011 media: bdisp: Add missing check for create_workqueue
    11c58a0c1937 x86/MCE/AMD: Use an u64 for bank_map
    88a9d3c0b59a ARM: dts: qcom: ipq8064: Fix the PCI I/O port range
    112ff0f25305 ARM: dts: qcom: ipq8064: reduce pci IO size to 64K
    99e7b14569da ARM: dts: qcom: ipq4019: Fix the PCI I/O port range
    96158bfc764f arm64: dts: qcom: sm8250: Fix the PCI I/O port range
    cc1ae8710ac4 arm64: dts: qcom: msm8996: Fix the PCI I/O port range
    656657bdeb8a arm64: dts: qcom: ipq6018: Fix the PCI I/O port range
    a19c40b97908 arm64: dts: qcom: ipq8074: Fix the PCI I/O port range
    9f89689d8b9d arm64: dts: qcom: msm8998: Fix the PCI I/O port range
    16111402966e arm64: dts: qcom: sdm845: Fix the PCI I/O port range
    3e7be9b63264 arm64: dts: qcom: sdm845: correct dynamic power coefficients
    a9e9a4a62725 arm64: dts: qcom: msm8998: Fix stm-stimulus-base reg name
    a46878476c55 arm64: dts: broadcom: bcmbca: bcm4908: fix procmon nodename
    1994284cb922 arm64: dts: broadcom: bcmbca: bcm4908: fix NAND interrupt name
    6ae67829fa5e arm64: dts: Move BCM4908 dts to bcmbca folder
    fe8ab85ed495 arm64: dts: Add base DTS file for bcmbca device Asus GT-AX6000
    aefde9ada466 ARM64: dts: Add DTS files for bcmbca SoC BCM6858
    273be36e4209 arm64: dts: Add DTS files for bcmbca SoC BCM4912
    fe07b3b5af01 arm64: dts: Add DTS files for bcmbca SoC BCM63158
    77112d23a671 arm64: dts: broadcom: bcm4908: add DT for Netgear RAXE500
    a53862a20239 arm64: dts: ti: k3-j721e-main: Remove ti,strobe-sel property
    e3143e6cca0a regulator: core: Shorten off-on-delay-us for always-on/boot-on by time since booted
    30b4edaf221d EDAC/skx: Fix overflows on the DRAM row address mapping arrays
    d450fa865750 drm/msm/disp/dpu: check for crtc enable rather than crtc active to release shared resources
    62cd3e056123 arm64: dts: renesas: r8a774c0: Remove bogus voltages from OPP table
    667c86b2a941 arm64: dts: renesas: r8a77990: Remove bogus voltages from OPP table
    6a50350033e0 soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe
    fb2a6e00291a tools/x86/kcpuid: Fix avx512bw and avx512lvl fields in Fn00000007
    00f79abccc5b drm/probe-helper: Cancel previous job before starting new one
    9fde84fb59e5 drm/vgem: add missing mutex_destroy
    a51b71af169f drm/rockchip: Drop unbalanced obj unref
    0834a2b554e5 erofs: fix potential overflow calculating xattr_isize
    060fecf1114f erofs: stop parsing non-compact HEAD index if clusterofs is invalid
    5a37916d988e tpm, tpm_tis: Claim locality when interrupts are reenabled on resume
    46da635566dc tpm, tpm: Implement usage counter for locality
    51162b05a44c tpm, tpm_tis: Claim locality before writing interrupt registers
    b665edd7a585 tpm, tpm_tis: Disable interrupts if tpm_tis_probe_irq() failed
    fd9b4b2bff6b tpm, tpm_tis: Claim locality before writing TPM_INT_ENABLE register
    8c08c74de718 tpm, tpm_tis: Do not skip reset of original interrupt vector
    dfa1e84b774c selinux: ensure av_permissions.h is built when needed
    8a3a1f7b54b8 selinux: fix Makefile dependencies of flask.h
    08e403705778 selftests/resctrl: Check for return value after write_schemata()
    25661fe5f658 selftests/resctrl: Allow ->setup() to return errors
    b5adaf5045d0 selftests/resctrl: Move ->setup() call outside of test specific branches
    f9eeea03a5e7 selftests/resctrl: Extend CPU vendor detection
    ebd40f52de19 selftests/resctrl: Return NULL if malloc_and_init_memory() did not alloc mem
    988901984ddd rcu: Fix missing TICK_DEP_MASK_RCU_EXP dependency check
    74f06429b727 sound/oss/dmasound: fix build when drivers are mixed =y/=m
    c628b07d5974 xfs: don't consider future format versions valid
    ce840284929b ubifs: Free memory for tmpfile name
    20ef288612e5 ubi: Fix return value overwrite issue in try_write_vid_and_data()
    3ae75f82c33f ubifs: Fix memleak when insert_old_idx() failed
    149ea56995c2 Revert "ubifs: dirty_cow_znode: Fix memleak in error handling path"
    dc299bd1d5c4 iommu/amd: Fix "Guest Virtual APIC Table Root Pointer" configuration in IRTE
    b7bc8f6c8a31 tracing: Fix permissions for the buffer_percent file
    b91a5aa1e7ea riscv: mm: remove redundant parameter of create_fdt_early_page_table
    ec1814116fa4 i2c: omap: Fix standard mode false ACK readings
    671f21fbcb47 ksmbd: fix memleak in session setup
    227eb2689b44 ksmbd: fix NULL pointer dereference in smb2_get_info_filesystem()
    c053e389db0d ksmbd: call rcu_barrier() in ksmbd_server_exit()
    2db4b91480b2 writeback, cgroup: fix null-ptr-deref write in bdi_split_work_to_wbs
    0b46ee654a9d relayfs: fix out-of-bounds access in relay_file_read
    a18bdaca46d0 KVM: nVMX: Emulate NOPs in L2, and PAUSE if it's not intercepted
    a79fb2ce4fbe reiserfs: Add security prefix to xattr name in reiserfs_security_write()
    4c3d1a6720ae rcu: Avoid stack overflow due to __rcu_irq_enter_check_tick() being kprobe-ed
    09e177d6f7ed crypto: safexcel - Cleanup ring IRQ workqueues on load failure
    63b7fbaa1278 crypto: api - Demote BUG_ON() in crypto_unregister_alg() to a WARN_ON()
    c63741e872fc ring-buffer: Sync IRQ works before buffer destruction
    333f49fcf0e7 pinctrl: qcom: lpass-lpi: set output value before enabling output
    3028ac7dc0c0 soundwire: qcom: correct setting ignore bit on v1.5.1
    01fefb82fd79 pwm: meson: Fix g12a ao clk81 name
    dcf6611e80f9 pwm: meson: Fix axg ao mux parents
    2104e15b0072 wifi: mt76: add missing locking to protect against concurrent rx/status calls
    4a07d2d511e2 kheaders: Use array declaration instead of char
    99d561199bf8 ipmi: fix SSIF not responding under certain cond.
    8fddbd9c5c86 ipmi:ssif: Add send_retries increment
    3ef93b7bd9e0 MIPS: fw: Allow firmware to pass a empty env
    e047e40676d1 tick/nohz: Fix cpu_is_hotpluggable() by checking with nohz subsystem
    9c0b37d0da47 xhci: fix debugfs register accesses while suspended
    321e16a5709e tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH
    fa30909fbd1f staging: iio: resolver: ads1210: fix config mode
    ac44e1275dae ext4: use ext4_journal_start/stop for fast commit transactions
    5bb4005fb667 blk-crypto: make blk_crypto_evict_key() more robust
    f8d9d6c3ffcc blk-crypto: make blk_crypto_evict_key() return void
    d206f79d9cd6 blk-mq: release crypto keyslot before reporting I/O complete
    2c62f4abd714 posix-cpu-timers: Implement the missing timer_wait_running callback
    dca7427a8b12 hwmon: (adt7475) Use device_property APIs when configuring polarity
    d50321946ec0 hwmon: (k10temp) Check range scale when CUR_TEMP register is read-write
    d40fa6f78835 USB: dwc3: fix runtime pm imbalance on unbind
    9436221ea250 USB: dwc3: fix runtime pm imbalance on probe errors
    bfd693628192 IMA: allow/fix UML builds
    c23e103fd736 PCI: qcom: Fix the incorrect register usage in v2.7.0 config
    8a0b61e5a7d2 PCI: pciehp: Fix AB-BA deadlock between reset_lock and device_lock
    402d2b1d54b7 arm64: Stash shadow stack pointer in the task struct on interrupt
    21cc4e5304d2 arm64: Always load shadow stack pointer directly from the task struct
    a00f75f71fca wifi: mt76: mt7921e: Set memory space enable in PCI_COMMAND if unset
    a646556769e1 wireguard: timers: cast enum limits members to int in prints
    95ec7a59ceb2 x86/cpu: Add model number for Intel Arrow Lake processor
    520820400608 asm-generic/io.h: suppress endianness warnings for readq() and writeq()
    5e3c87e4d3bd selftests mount: Fix mount_setattr_test builds failed
    e1383b440132 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer Iconia One 7 B1-750
    21976532f274 iio: adc: palmas_gpadc: fix NULL dereference on rmmod
    50015dbdec70 x86/hyperv: Block root partition functionality in a Confidential VM
    a7d91f67a10a ASoC: soc-pcm: fix hw->formats cleared by soc_pcm_hw_init() for dpcm
    cf5b14b8de0d ASOC: Intel: sof_sdw: add quirk for Intel 'Rooks County' NUC M15

(From OE-Core rev: 5425b3557b6efdba07bd3efa51c647bd62d5259b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-06 04:05:58 -10:00
Bruce Ashfield
b6a1872826 linux-yocto/5.15: update to v5.15.110
Updating  to the latest korg -stable release that comprises
the following commits:

    8a7f2a5c5aa1 Linux 5.15.110
    cab0f985037b riscv: No need to relocate the dtb as it lies in the fixmap region
    1f09c9bab723 riscv: Do not set initial_boot_params to the linear address of the dtb
    bbf94b042155 riscv: Move early dtb mapping into the fixmap region
    ccb29694c2da selftests: mptcp: join: fix "invalid address, ADD_ADDR timeout"
    0994aa001fde driver core: Don't require dynamic_debug for initcall_debug probe timing
    3dcebcaa258c USB: serial: option: add UNISOC vendor and TOZED LT70C product
    f1e6a14d5ae8 bluetooth: Perform careful capability checks in hci_sock_ioctl()
    39c472809aab drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var
    936a23293bbb wifi: brcmfmac: slab-out-of-bounds read in brcmf_get_assoc_ies()
    2bd716c6e4d1 KVM: arm64: Fix buffer overflow in kvm_arm_set_fw_reg()
    00f74003edf5 KVM: arm64: Retry fault if vma_lookup() results become invalid
    c1da649699e1 selftests/kselftest/runner/run_one(): allow running non-executable files
    c88435054153 PCI/ASPM: Remove pcie_aspm_pm_state_change()

(From OE-Core rev: 8fb28c7f71888d65c170c9f5400438a077860c6f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-06 04:05:58 -10:00
Bruce Ashfield
2ffb09f806 linux-yocto/5.15: update to v5.15.109
Updating  to the latest korg -stable release that comprises
the following commits:

    f48aeeaaa64c Linux 5.15.109
    4aed6b5809bb soc: sifive: l2_cache: fix missing of_node_put() in sifive_l2_init()
    71e7ed6e3aa9 soc: sifive: l2_cache: fix missing free_irq() in error path in sifive_l2_init()
    48c5fd373345 soc: sifive: l2_cache: fix missing iounmap() in error path in sifive_l2_init()
    2a2a502af466 ASN.1: Fix check for strdup() success
    9fc2e7f2cf47 ASoC: fsl_asrc_dma: fix potential null-ptr-deref
    0431e1323f42 mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock
    144ff55623e2 iio: adc: at91-sama5d2_adc: fix an error code in at91_adc_allocate_trigger()
    e589986ef037 counter: 104-quad-8: Fix race condition between FLAG and CNTR reads
    78559037632b pwm: hibvt: Explicitly set .polarity in .get_state()
    2147e7c2d26f pwm: iqs620a: Explicitly set .polarity in .get_state()
    a2ab4924f0c8 pwm: meson: Explicitly set .polarity in .get_state()
    dbc7a6d1ec8e sctp: Call inet6_destroy_sock() via sk->sk_destruct().
    4f66b180a622 dccp: Call inet6_destroy_sock() via sk->sk_destruct().
    b60d534d1e70 inet6: Remove inet6_destroy_sock() in sk->sk_prot->destroy().
    dd042131386f tcp/udp: Call inet6_destroy_sock() in IPv6 sk->sk_destruct().
    dabbe97f369b udp: Call inet6_destroy_sock() in setsockopt(IPV6_ADDRFORM).
    d58366aab868 fuse: fix deadlock between atomic O_TRUNC and page invalidation
    e21d9c606839 fuse: always revalidate rename target dentry
    c10a5b340681 fuse: fix attr version comparison in fuse_read_update_size()
    1e5c686087dc purgatory: fix disabling debug info
    a134b2ac4127 docs: futex: Fix kernel-doc references after code split-up preparation
    66dd55279174 MIPS: Define RUNTIME_DISCARD_EXIT in LD script
    e779884c713f sched/fair: Fixes for capacity inversion detection
    4ee882e0e1ed sched/uclamp: Fix a uninitialized variable warnings
    98762616db0b sched/fair: Consider capacity inversion in util_fits_cpu()
    99b704ae7a17 sched/fair: Detect capacity inversion
    1de6ee9d812c sched/uclamp: Cater for uclamp in find_energy_efficient_cpu()'s early exit condition
    a77e3c0e067d sched/uclamp: Make cpu_overutilized() use util_fits_cpu()
    ac407e5102e9 sched/uclamp: Fix fits_capacity() check in feec()
    46c631fe5a94 mm: page_alloc: skip regions with hugetlbfs pages when allocating 1G pages
    981e276dd965 mm/khugepaged: check again on anon uffd-wp during isolation
    29562319cba0 drm/i915: Fix fast wake AUX sync len
    afbfd70cb1a0 mmc: sdhci_am654: Set HIGH_SPEED_ENA for SDR12 and SDR25
    1aaa1e0a9a0f kernel/sys.c: fix and improve control flow in __sys_setres[ug]id()
    ebab1a86ca3e memstick: fix memory leak if card device is never registered
    8c168553abce nilfs2: initialize unused bytes in segment summary blocks
    e513fb5cadc4 iio: light: tsl2772: fix reading proximity-diodes from device tree
    c15737965434 rtmutex: Add acquire semantics for rtmutex lock acquisition slow path
    a8466e335f58 platform/x86: gigabyte-wmi: add support for X570S AORUS ELITE
    4a2a34a75f3e xen/netback: use same error messages for same errors
    08e774db2ef1 nvme-tcp: fix a possible UAF when failing to allocate an io queue
    1b91bfae3ee1 s390/ptrace: fix PTRACE_GET_LAST_BREAK error handling
    357fa038d93d net: dsa: b53: mmap: add phy ops
    583d2abf1374 scsi: core: Improve scsi_vpd_inquiry() checks
    139bea1d3aa1 scsi: megaraid_sas: Fix fw_crash_buffer_show()
    73890c48849d selftests: sigaltstack: fix -Wuninitialized
    c2680efa1507 platform/x86 (gigabyte-wmi): Add support for A320M-S2H V2
    fd3e899340e1 Input: i8042 - add quirk for Fujitsu Lifebook A574/H
    14bb1fb893db f2fs: Fix f2fs_truncate_partial_nodes ftrace event
    0ebc93afdaf6 e1000e: Disable TSO on i219-LM card to increase speed
    e722ea6dae2c bpf: Fix incorrect verifier pruning due to missing register precision taints
    25e50cdf9f63 spi: spi-rockchip: Fix missing unwind goto in rockchip_sfc_probe()
    cbce626dcd23 mlxsw: pci: Fix possible crash during initialization
    4eee0d9d3c11 net: rpl: fix rpl header size calculation
    92e0bc5e34ad bonding: Fix memory leak when changing bond type to Ethernet
    b24026f1409c mlxfw: fix null-ptr-deref in mlxfw_mfa2_tlv_next()
    5610d81d0214 bnxt_en: Do not initialize PTP on older P3/P4 chips
    7ff875ee15bc netfilter: nf_tables: tighten netlink attribute requirements for catch-all elements
    0a397535d189 netfilter: nf_tables: validate catch-all set elements
    25f1b40cf9b2 i40e: fix i40e_setup_misc_vector() error handling
    536ed39cbec8 i40e: fix accessing vsi->active_filters without holding lock
    8089d724dd7a netfilter: nf_tables: fix ifdef to also consider nf_tables=m
    69ea11769b8d sfc: Fix use-after-free due to selftest_work
    aa16f7b99d23 sfc: Split STATE_READY in to STATE_NET_DOWN and STATE_NET_UP.
    b36d82ddc74e virtio_net: bugfix overflow inside xdp_linearize_page()
    1ffc0e810551 net: sched: sch_qfq: prevent slab-out-of-bounds in qfq_activate_agg
    fe0d832ea0e6 regulator: fan53555: Fix wrong TCS_SLEW_MASK
    976f8482e459 regulator: fan53555: Explicitly include bits header
    cb9b96c154a1 netfilter: br_netfilter: fix recent physdev match breakage
    beb1c8576c23 arm64: dts: imx8mm-evk: correct pmic clock source
    863473055d1d arm64: dts: meson-g12-common: specify full DMC range
    dd6bd054a92c arm64: dts: qcom: ipq8074-hk01: enable QMP device, not the PHY node
    bd129e4c9e34 ARM: dts: rockchip: fix a typo error for rk3288 spdif node

(From OE-Core rev: 3411b2b442c44fa932e3d6065a95078a6f541dd9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-06 04:05:58 -10:00
Bruce Ashfield
60223eb380 yocto-bsps: update to v5.15.106
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    d86dfc4d95cd Linux 5.15.106
    06a948b8347c x86/PVH: avoid 32-bit build warning when obtaining VGA console info
    3abdf6d71fdb hsr: ratelimit only when errors are printed
    fcc09ef87e79 libbpf: Fix btf_dump's packed struct determination
    74059587b25d selftests/bpf: Add few corner cases to test padding handling of btf_dump
    c74ae8678dfa libbpf: Fix BTF-to-C converter's padding logic
    17a61d1e9431 selftests/bpf: Test btf dump for struct with padding only fields
    6777291c7b14 zonefs: Fix error message in zonefs_file_dio_append()
    71ab5c1d506d KVM: x86: Purge "highest ISR" cache when updating APICv state
    61e0863dc8dd KVM: x86: Inject #GP on x2APIC WRMSR that sets reserved bits 63:32
    4483dc41d123 KVM: VMX: Move preemption timer <=> hrtimer dance to common x86
    a58d4e66712b s390/uaccess: add missing earlyclobber annotations to __clear_user()
    1dfccde646aa KVM: arm64: Disable interrupts while walking userspace PTs
    25e74e728168 drm/amd/display: Add DSC Support for Synaptics Cascaded MST Hub
    3bfedfdbf92b drm/etnaviv: fix reference leak when mmaping imported buffer
    fd1f48613e9f rcu: Fix rcu_torture_read ftrace event
    9097ba15ea5c xtensa: fix KASAN report for show_stack
    8861429f883e ALSA: hda/realtek: Add quirk for Lenovo ZhaoYang CF4620Z
    77ab3e5f9873 ALSA: hda/realtek: Add quirks for some Clevo laptops
    f775413ffeff ALSA: usb-audio: Fix regression on detection of Roland VS-100
    b39d42ed67d5 ALSA: hda/conexant: Partial revert of a quirk for Lenovo
    305a171cf617 NFSv4: Fix hangs when recovering open state after a server reboot
    7624973bc15b powerpc: Don't try to copy PPR for task with NULL pt_regs
    3a9510113f5b pinctrl: at91-pio4: fix domain name assignment
    6c1bc7b50e02 pinctrl: amd: Disable and mask interrupts on resume
    45ed4e5149e8 net: phy: dp83869: fix default value for tx-/rx-internal-delay
    0f75ef136169 xen/netback: don't do grant copy across page boundary
    8a581b71cf68 can: j1939: prevent deadlock by moving j1939_sk_errqueue()
    a3373a681d9a zonefs: Always invalidate last cached page on append write
    c1310fc7abe6 btrfs: scan device in non-exclusive mode
    c976f9233ef9 btrfs: fix race between quota disable and quota assign ioctls
    1484852ca152 Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
    b64305185b76 cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
    0a2e0baf3677 cifs: prevent infinite recursion in CIFSGetDFSRefer()
    a5075c097de1 Input: focaltech - use explicitly signed char type
    cf43bc826159 Input: alps - fix compatibility with -funsigned-char
    16c951f3eba4 iommu/vt-d: Allow zero SAGAW if second-stage not supported
    e4fbeaa31362 pinctrl: ocelot: Fix alt mode for ocelot
    76f09582a191 net: ethernet: mtk_eth_soc: fix flow block refcounting logic
    9caf3cbf1224 net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only
    4c6c0e8510a2 bnxt_en: Add missing 200G link speed reporting
    c519174366a3 bnxt_en: Fix typo in PCI id to device description string mapping
    24722a0e0925 bnxt_en: Fix reporting of test result in ethtool selftest
    3e3654bf679f i40e: fix registers dump after run ethtool adapter self test
    8d7b0b22ea22 net: ipa: compute DMA pool size properly
    81d2a7e93c83 ALSA: ymfpci: Fix BUG_ON in probe function
    95642872c466 ALSA: ymfpci: Create card with device-managed snd_devm_card_new()
    9cb4f23e4f7a ice: fix invalid check for empty list in ice_sched_assoc_vsi_to_agg()
    938eba5b434d ice: add profile conflict check for AVF FDIR
    0ea60b230d19 smsc911x: avoid PHY being resumed when interface is not up
    41f77a6d9841 net: mvpp2: parser fix PPPoE
    ec117d22f143 net: mvpp2: parser fix QinQ
    18d6e95fbb08 net: mvpp2: classifier flow fix fragmentation flags
    aa45d3dd74e9 loop: LOOP_CONFIGURE: send uevents for partitions
    83ee49ab185d loop: suppress uevents while reconfiguring the device
    aa2bff25e9bb s390/vfio-ap: fix memory leak in vfio_ap device driver
    bf70e0eab64c can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
    959348f7c300 platform/x86/intel/pmc: Alder Lake PCH slp_s0_residency fix
    c8e7ff3071bf drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state
    61e2e6d444cd net: stmmac: don't reject VLANs when IFF_PROMISC is set
    2d5cebf57296 net/net_failover: fix txq exceeding warning
    829a0d013c00 regulator: Handle deferred clk
    75155f4d8dcd r8169: fix RTL8168H and RTL8107E rx crc error
    4597e104a365 net: dsa: microchip: ksz8863_smi: fix bulk access
    c0de1a26e659 ptp_qoriq: fix memory leak in probe()
    d84796008a89 scsi: mpt3sas: Don't print sense pool info twice
    27b1ae000bf1 scsi: megaraid_sas: Fix crash after a double completion
    d63a83146d25 sfc: ef10: don't overwrite offload features at NIC reset
    7ea88e90dabb SUNRPC: fix shutdown of NFS TCP client socket
    34c554376ec9 mtd: rawnand: meson: invalidate cache on polling ECC bit
    dae47bf0222e platform/x86: think-lmi: Add possible_values for ThinkStation
    e91ffea491af platform/x86: think-lmi: only display possible_values if available
    fbfd5f59fa5c platform/x86: think-lmi: use correct possible_values delimiters
    2c67f08bdc5f platform/x86: think-lmi: add missing type attribute
    cb1baad60e5d ALSA: usb-audio: Fix recursive locking at XRUN during syncing
    65b723644294 mips: bmips: BCM6358: disable RAC flush for TP1
    e38b0ab9dba3 ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()
    5362344e1c2c tracing: Fix wrong return in kprobe_event_gen_test.c
    19c71156fa92 tools/power turbostat: fix decoding of HWP_STATUS
    f8580c0a3279 tools/power turbostat: Fix /dev/cpu_dma_latency warnings
    6494344d7ef7 fbdev: au1200fb: Fix potential divide by zero
    f9c5deee4b66 fbdev: lxfb: Fix potential divide by zero
    86c8db5d12f4 fbdev: intelfb: Fix potential divide by zero
    c22a8d3ae54a fbdev: nvidia: Fix potential divide by zero
    9de1325bc2cc sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
    f9584dcc5549 fbdev: tgafb: Fix potential divide by zero
    d23f65f08247 ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
    cb1bc1223906 ALSA: asihpi: check pao in control_message()
    1ec57d1bed38 net: hsr: Don't log netdev_err message on unknown prp dst node
    4e90e52616f6 x86/PVH: obtain VGA console info in Dom0
    5175ed17a5a8 md: avoid signed overflow in slot_store()
    da35a4e6eee5 ASoC: codecs: tx-macro: Fix for KASAN: slab-out-of-bounds
    0725daaa9a87 xfrm: Zero padding when dumping algos and encap
    7258c58f6e25 bus: imx-weim: fix branch condition evaluates to a garbage value
    07987422023e ksmbd: don't terminate inactive sessions after a few seconds
    0c873ab68fcb kcsan: avoid passing -g for test
    b27e663cf1e5 kernel: kcsan: kcsan_test: build without structleak plugin
    1450c82a16bb usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC
    1536e51c30ad usb: dwc3: gadget: move cmd_endtransfer to extra function
    0f7fddb5a9b7 fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY
    c957cbb87315 Linux 5.15.105
    ec5b78143535 NFSD: fix use-after-free in __nfs42_ssc_open()
    a9e53869cb43 ocfs2: fix data corruption after failed write
    5229bb42fba2 mm: kfence: fix using kfence_metadata without initialization in show_object()
    7a74603c248d sched/fair: Sanitize vruntime of entity being migrated
    ab938a0c81eb sched/fair: sanitize vruntime of entity being placed
    1ac20290f6b4 dm crypt: avoid accessing uninitialized tasklet
    eb485b7404a2 dm crypt: add cond_resched() to dmcrypt_write()
    443c9d522397 dm stats: check for and propagate alloc_percpu failure
    272dc775a52f i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
    8e69fae32e88 firmware: arm_scmi: Fix device node validation for mailbox transport
    02b296978a21 tee: amdtee: fix race condition in amdtee_open_session
    9c7ee9471550 riscv: Handle zicsr/zifencei issues between clang and binutils
    c10023682096 riscv: mm: Fix incorrect ASID argument when flushing TLB
    555ec88c75ad drm/i915: Preserve crtc_state->inherited during state clearing
    476b3f03dca8 drm/i915/active: Fix missing debug object activation
    ef3c38f33b62 drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi
    fdd5b4e37200 drm/meson: fix missing component unbind on bind errors
    071a69cde196 drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found
    5bb105cc72be nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
    8ec5e996c2f8 wifi: mac80211: fix qos on mesh interfaces
    51a8534c0f35 ksmbd: return unsupported error on smb1 mount
    496e186bc005 ksmbd: return STATUS_NOT_SUPPORTED on unsupported smb2.0 dialect
    604a4a6f8414 ksmbd: set FILE_NAMED_STREAMS attribute in FS_ATTRIBUTE_INFORMATION
    52e7ac849971 KVM: x86: hyper-v: Avoid calling kvm_make_vcpus_request_mask() with vcpu_mask==NULL
    6f682b070f46 kfence: avoid passing -g for test
    7dd27aed9c45 usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
    27c40c3aa4b0 usb: chipidea: core: fix possible concurrent when switch role
    ef74a7ffe77c usb: chipdea: core: fix return -EINVAL if request role is the same with current role
    76e8bd0f5544 usb: cdnsp: changes PCI Device ID to fix conflict with CNDS3 driver
    e4df290deb33 usb: cdnsp: Fixes issue with redundant Status Stage
    5662d139e6e1 usb: cdns3: Fix issue with using incorrect PCI device function
    bb579b3f75c6 usb: typec: tcpm: fix warning when handle discover_identity message
    0f84b0b71179 dm thin: fix deadlock when swapping to thin device
    66e5577cabc3 igb: revert rtnl_lock() that causes deadlock
    a179d3450c0c arm64: dts: imx8mm-nitrogen-r2: fix WM8960 clock name
    ed1869a25286 lockd: set file_lock start and end when decoding nlm4 testargs
    0bfadbbcd7a5 fsverity: Remove WQ_UNBOUND from fsverity read workqueue
    992a3f3e8a0c fscrypt: destroy keyring after security_sb_delete()
    287bb9a918e2 mm/slab: Fix undefined init_cache_node_node() for NUMA and !SMP
    408dcd7c3883 efi: sysfb_efi: Fix DMI quirks not working for simpledrm
    b131989797f7 usb: gadget: u_audio: don't let userspace block driver unbind
    cba76e1fb896 usb: dwc2: fix a devres leak in hw_enable upon suspend resume
    c83f7ba71d38 scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
    df0462e4b361 cifs: print session id while listing open files
    9a45df4ec39b cifs: empty interface list when server doesn't support query interfaces
    169a41073993 act_mirred: use the backlog for nested calls to mirred ingress
    5b347652aebd net/sched: act_mirred: better wording on protection against excessive stack growth
    f6cf5f13fa5b sh: sanitize the flags on sigreturn
    91bcae3df2a4 net: usb: qmi_wwan: add Telit 0x1080 composition
    f631af07cfc9 net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
    41b67e621b93 scsi: storvsc: Handle BlockSize change in Hyper-V VHD/VHDX file
    60643ef5a139 scsi: lpfc: Avoid usage of list iterator variable after loop
    67b8343998b8 scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()
    d758f543cea2 scsi: ufs: core: Add soft dependency on governor_simpleondemand
    0267cd047133 scsi: hisi_sas: Check devm_add_action() return value
    83e7b1db4523 scsi: target: iscsi: Fix an error message in iscsi_check_key()
    40c216efb327 selftests/bpf: check that modifier resolves after pointer
    8bf8d5dade4c m68k: Only force 030 bus error if PC not in exception table
    8c1d378b8c22 HID: intel-ish-hid: ipc: Fix potential use-after-free in work function
    d143e327c972 ca8210: fix mac_len negative array access
    3056af1a2d46 HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded
    3e9aac5e935f drm/cirrus: NULL-check pipe->plane.state->fb in cirrus_pipe_update()
    a4c639012ad0 riscv: Bump COMMAND_LINE_SIZE value to 1024
    c2cf47dc0822 ACPI: x86: utils: Add Cezanne to the list for forcing StorageD3Enable
    8dc1c6efd7d2 thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit
    a74a2e124c48 thunderbolt: Use const qualifier for `ring_interrupt_index`
    752007df40ca thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access
    8f7525a8b98c thunderbolt: Disable interrupt auto clear for rings
    56cba129dd11 thunderbolt: Call tb_check_quirks() after initializing adapters
    d50a527b4815 thunderbolt: Use scale field when allocating USB3 bandwidth
    7ab026561cb0 uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
    d6f7377528d2 scsi: qla2xxx: Perform lockless command completion in abort path
    6295b3ec64a3 scsi: qla2xxx: Synchronize the IOCB count to be in order
    f1e2ab24c4ea hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
    5662f50cd9e9 hwmon: fix potential sensor registration fail if of_node is missing
    8f6b943f9fc9 entry/rcu: Check TIF_RESCHED _after_ delayed RCU wake-up
    eb57d0dcd5da entry: Snapshot thread flags
    d9c53eb46217 thread_info: Add helpers to snapshot thread flags
    ebea2e16504f platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl
    8efae2112d91 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
    c35fd1b9b90a Bluetooth: L2CAP: Fix responding with wrong PDU type
    b203ee4be2f1 Bluetooth: btqcomsmd: Fix command timeout after setting BD address
    771d3c1c949b net: mdio: thunder: Add missing fwnode_handle_put()
    b433fbf17603 net: dsa: mt7530: move setting ssc_delta to PHY_INTERFACE_MODE_TRGMII case
    01c727402ddc net: dsa: mt7530: move lowering TRGMII driving to mt7530_setup()
    5163bb8e4c6b net: dsa: mt7530: move enabling disabling core clock to mt7530_pll_setup()
    a76d35f3448c gve: Cache link_speed value from device
    c33344b79722 ksmbd: fix possible refcount leak in smb2_open()
    96039c44ae47 ksmbd: add low bound validation to FSCTL_QUERY_ALLOCATED_RANGES
    d897216325d7 ksmbd: add low bound validation to FSCTL_SET_ZERO_DATA
    7a83bb6d56a5 hvc/xen: prevent concurrent accesses to the shared ring
    29e80d7964cf nvme-tcp: fix nvme_tcp_term_pdu to match spec
    c7037dea19f0 net/sonic: use dma_mapping_error() for error check
    b41f37dbd9cd erspan: do not use skb_mac_header() in ndo_start_xmit()
    4a8286baf22e atm: idt77252: fix kmemleak when rmmod idt77252
    48f52431af99 net: dsa: tag_brcm: legacy: fix daisy-chained switches
    388188fb58be net/mlx5: E-Switch, Fix an Oops in error handling code
    6068a6db3a96 net/mlx5: Read the TC mapping of all priorities on ETS query
    4df1f2d36bdc net/mlx5: Fix steering rules cleanup
    2b0f1716c107 net/mlx5e: Set uplink rep as NETNS_LOCAL
    54869daa6a43 bpf: Adjust insufficient default bpf_jit_limit
    9b2e9105230f i40e: fix flow director packet filter programming
    7a29799fc141 iavf: fix hang on reboot with ice
    ce19c70f308f keys: Do not cache key in task struct if key is requested from kernel thread
    0cb68c307e72 bootconfig: Fix testcase to increase max node
    90874b76e5f8 octeontx2-vf: Add missing free for alloc_percpu
    77d2f5ff9365 net/ps3_gelic_net: Use dma_mapping_error
    cc8531d0e223 net/ps3_gelic_net: Fix RX sk_buff length
    8c4a180dc123 net: qcom/emac: Fix use after free bug in emac_remove due to race condition
    e686b78a003a drm/i915/gt: perform uc late init after probe error injection
    cbb8bac2388a net: mdio: fix owner field for mdio buses registered using ACPI
    b94af62cdd50 net: mdio: fix owner field for mdio buses registered using device-tree
    0bdf593390e7 net: phy: Ensure state transitions are processed from phy_stop()
    4ab9e85a5ce0 xirc2ps_cs: Fix use after free bug in xirc2ps_detach
    e42d3bde4ec0 qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
    ba6c40227108 net: usb: smsc95xx: Limit packet length to skb->len
    9bbb3d3f218f net: dsa: b53: mmap: fix device tree support
    9311e7a554df scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
    257738627a9b i2c: hisi: Only use the completion interrupt to finish the transfer
    c0deddabb278 i2c: imx-lpi2c: check only for enabled interrupt flags
    b82b0a0eea27 igc: fix the validation logic for taprio's gate list
    68ebdcba619a igbvf: Regard vf reset nack as success
    9630432b427f intel/igbvf: free irq on the error path in igbvf_request_msix()
    2afe7aebf642 iavf: fix non-tunneled IPv6 UDP packet type and hashing
    078e049c49a6 iavf: fix inverted Rx hash condition leading to disabled hash
    3cfc3564411a xsk: Add missing overflow check in xdp_umem_reg
    1d59b8fae0c3 arm64: dts: imx8mn: specify #sound-dai-cells for SAI nodes
    98c9bca167e6 ARM: dts: imx6sl: tolino-shine2hd: fix usbotg1 pinctrl
    ed5f3c0b95bd ARM: dts: imx6sll: e60k02: fix usbotg1 pinctrl
    0fdb1cc4fe52 power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
    4ca3fd39c72e power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition
    10ce6db6253d power: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
    0b54d75aa43a net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
    2ebe231abaf1 trace/hwlat: Do not start per-cpu thread if it is already running
    7743dd873f2a trace/hwlat: make use of the helper function kthread_run_on_cpu()
    909c5eb6ed76 kthread: add the helper function kthread_run_on_cpu()
    09b51f10bc1f serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it
    cfb64de61f07 serial: 8250: SERIAL_8250_ASPEED_VUART should depend on ARCH_ASPEED
    90530e7214c8 tty: serial: fsl_lpuart: fix race on RX DMA shutdown
    b7d0fbe4976d tty: serial: fsl_lpuart: switch to new dmaengine_terminate_* API
    90a77bca4240 serial: fsl_lpuart: Fix comment typo
    bde1ae240751 tracing/hwlat: Replace sched_setaffinity with set_cpus_allowed_ptr
    5255e6d49ff9 perf: fix perf_event_context->time
    ac5f88642cb2 perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
    d2430d45f1a0 interconnect: qcom: osm-l3: fix icc_onecell_data allocation
    115472395b0a Linux 5.15.104
    de3ef7ba684a perf: Fix check before add_event_to_groups() in perf_group_detach()
    02904e8a2f65 HID: uhid: Over-ride the default maximum data buffer value with our own
    3df32812eb4b HID: core: Provide new max_buffer_size attribute to over-ride the default
    ffe2318405e6 PCI/DPC: Await readiness of secondary bus after reset
    09795f82aecc PCI: Unify delay handling for reset and resume
    f4ba55411cc8 io_uring: avoid null-ptr-deref in io_arm_poll_handler
    6ab7d3361755 drm/i915/active: Fix misuse of non-idle barriers as fence trackers
    71dffdd4764c drm/i915: Don't use stolen memory for ring buffers with LLC
    86db319d25db x86/resctrl: Clear staged_config[] before and after it is used
    0186f7656940 x86/mm: Fix use of uninitialized buffer in sme_enable()
    09d3a46c8c02 x86/mce: Make sure logged MCEs are processed after sysfs update
    8575c98224b2 cpuidle: psci: Iterate backwards over list in psci_pd_remove()
    b3d042638049 net: phy: nxp-c45-tja11xx: fix MII_BASIC_CONFIG_REV bit
    f3de49782612 trace/hwlat: Do not wipe the contents of per-cpu thread data
    cb72b4bd81b9 fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
    e9cdd3f722b6 mmc: sdhci_am654: lower power-on failed message severity
    b02de083c7c7 mm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage
    87b9ac7bd301 ice: avoid bonding causing auxiliary plug/unplug under RTNL lock
    520e134431ac nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV3000
    2a0d71fabfeb ftrace: Fix invalid address access in lookup_rec() when index is 0
    ad7f9c6982b1 mptcp: fix lockdep false positive in mptcp_pm_nl_create_listen_socket()
    f4afee17de43 mptcp: avoid setting TCP_CLOSE state twice
    64473c18d27a mptcp: add ro_after_init for tcp{,v6}_prot_override
    c1df4bed3d91 mptcp: fix possible deadlock in subflow_error_report
    ccf44ffbbf25 drm/amd/pm: Fix sienna cichlid incorrect OD volage after resume
    64ef8aa3910b drm/sun4i: fix missing component unbind on bind errors
    5cfb617967b0 drm/shmem-helper: Remove another errant put in error path
    d1d826954475 riscv: asid: Fixup stale TLB entry cause application crash
    aeefcfc57978 Revert "riscv: mm: notify remote harts about mmu cache updates"
    882cbe0c5d6a ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro
    36d75e1f7357 ALSA: hda: intel-dsp-config: add MTL PCI id
    9c2f09add608 KVM: nVMX: add missing consistency checks for CR0 and CR4
    77fcc52d2919 cifs: Fix smb2_set_path_size()
    9b9a118cc428 tracing: Make tracepoint lockdep check actually test something
    2846bf67cd24 tracing: Check field value in hist_field_name()
    2dd00dbc6a5a tracing: Make splice_read available again
    fd4738ae1a0c interconnect: exynos: fix node leak in probe PM QoS error path
    2e0b13a18272 interconnect: fix mem leak when freeing nodes
    62b74cf8bcee s390/ipl: add missing intersection check to ipl_report handling
    86afb633beaa firmware: xilinx: don't make a sleepable memory allocation from an atomic context
    250a11f9c43b serial: 8250_fsl: fix handle_irq locking
    4c23bf093449 serial: 8250_em: Fix UART port type
    53a5ab3a8991 tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
    1c93c42c7bb2 ext4: fix possible double unlock when moving a directory
    bec1bea2fa97 drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
    f9252605b8f3 sh: intc: Avoid spurious sizeof-pointer-div warning
    0fc608a115ce net/9p: fix bug in client create for .L
    2fece63b55c5 drm/amdkfd: Fix an illegal memory access
    1aec41c98cce ext4: fix task hung in ext4_xattr_delete_inode
    499fef2030fb ext4: update s_journal_inum if it changes after journal replay
    088da6b80539 ext4: fail ext4_iget if special inode unallocated
    eccd017165db jffs2: correct logic when creating a hole in jffs2_write_begin
    4392e87c47e8 mmc: atmel-mci: fix race between stop command and start of next command
    0c511f926b00 media: m5mols: fix off-by-one loop termination error
    233058efee02 hwmon: (ltc2992) Set `can_sleep` flag for GPIO chip
    b576de01da80 hwmon: (adm1266) Set `can_sleep` flag for GPIO chip
    c80b2acdb049 kconfig: Update config changed flag before calling callback
    52f64c5fc0d6 hwmon: tmp512: drop of_match_ptr for ID table
    3f3576e25bfe hwmon: (ucd90320) Add minimum delay between bus accesses
    9cc4aa40b58c hwmon: (ina3221) return prober error code
    7091951c2ca9 hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition
    a8e42dbfc493 hwmon: (adt7475) Fix masking of hysteresis registers
    d1f4eda1ae85 hwmon: (adt7475) Display smoothing attributes in correct order
    93c8cbeb1b2b bonding: restore bond's IFF_SLAVE flag if a non-eth dev enslave fails
    d424c7b1c478 bonding: restore IFF_MASTER/SLAVE flags on bond enslave ether type change
    8a1ce024f1f6 ethernet: sun: add check for the mdesc_grab()
    030393041f8c qed/qed_mng_tlv: correctly zero out ->min instead of ->hour
    a7836253349e selftests: net: devlink_port_split.py: skip test if no suitable device available
    3cfdefdaaa4b net/iucv: Fix size of interrupt data
    7bf0eac3fdd2 net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
    c99779740100 ipv4: Fix incorrect table ID in IOCTL path
    340dd8f1942a sh_eth: avoid PHY being resumed when interface is not up
    d5236286398d ravb: avoid PHY being resumed when interface is not up
    7059be754873 net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290
    b89a453c6918 ice: xsk: disable txq irq before flushing hw
    d1bfd4cf6bb8 block: sunvdc: add check for mdesc_grab() returning NULL
    f1d5888a5efe nvmet: avoid potential UAF in nvmet_req_complete()
    07eac3310e00 nvme: fix handling single range discard request
    fff9441da1c3 block: null_blk: Fix handling of fake timeout request
    6d3ff07347d3 drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc
    105db6574281 net: usb: smsc75xx: Limit packet length to skb->len
    b615238e5bc0 net/smc: fix deadlock triggered by cancel_delayed_work_syn()
    84dd9cc34014 nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
    edc0a34e277b net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
    e0a557fc1daf net: tunnels: annotate lockless accesses to dev->needed_headroom
    407badf73ec9 loop: Fix use-after-free issues
    a0316de981ce net: dsa: mt7530: set PLL frequency and trgmii only when trgmii is used
    f48468b27c0b net: dsa: mt7530: remove now incorrect comment regarding port 5
    6ffa05700100 qed/qed_dev: guard against a possible division by zero
    b108bd9e6be0 net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()
    d59d2561da73 drm/i915/psr: Use calculated io and fast wake lines
    297ae18bd2cd drm/i915/display: clean up comments
    21d679cb983e drm/i915/display/psr: Handle plane and pipe restrictions at every page flip
    8c80b12e697f drm/i915/display/psr: Use drm damage helpers to calculate plane damaged area
    eea001d88ffd drm/i915/display: Workaround cursor left overs with PSR2 selective fetch enabled
    437bb839e36c PCI: s390: Fix use-after-free of PCI resources with per-function hotplug
    ee6ef8137789 vdpa_sim: set last_used_idx as last_avail_idx in vdpasim_queue_ready
    1cdbaf18a5e4 vdpa_sim: not reset state in vdpasim_queue_ready
    4ff826952665 i40e: Fix kernel crash during reboot when adapter is in recovery mode
    ecaa1bf50635 ipvlan: Make skb->skb_iif track skb->dev for l3s mode
    2bee84369b76 nfc: pn533: initialize struct pn533_out_arg properly
    ad07290d63ff tcp: tcp_make_synack() can be called from process context
    2a764d55e938 scsi: core: Fix a procfs host directory removal regression
    a219cabadaee netfilter: nft_redir: correct value of inet type `.maxattrs`
    de03d130176b netfilter: nft_redir: correct length for loading protocol registers
    d2a2ad64b9b6 netfilter: nft_masq: correct length for loading protocol registers
    343fe451e6d3 netfilter: nft_nat: correct length for loading protocol registers
    256bcf626b7c ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
    9937f784a608 scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
    29cb0f6c1dd8 docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate
    a5a1a7112e98 clk: HI655X: select REGMAP instead of depending on it
    0f78e36f652a drm/meson: fix 1px pink line on GXM when scaling video overlay
    630f8a857578 cifs: Move the in_send statistic to __smb_send_rqst()
    418bde7227dd drm/panfrost: Don't sync rpm suspension after mmu flushing
    b9cd2f875525 xfrm: Allow transport-mode states with AF_UNSPEC selector

(From meta-yocto rev: 6449b3e6417df34c2645bb34c76ed38f0faf4cb1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 05:42:56 -10:00
Daniel Ammann
58b051a556 overview-manual: concepts.rst: Fix a typo
(From yocto-docs rev: 5df143f42b60f955cd76a4ad2ff6efceca1d725a)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Ulrich Ölmann
5885a452a6 ref-manual: classes.rst: fix typo
(From yocto-docs rev: 564aaedb2418cbdf42bb2fb42b35ccaf7e7c8b4e)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Lee Chee Yang
d0cbd310a8 migration-guides: add release notes for 4.2.1
(From yocto-docs rev: 8b9d62a69b52726e2214325a555853a51eda88c5)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Ross Burton
fc060500de gdb: fix crashes when debugging threads with Arm Pointer Authentication enabled
(From OE-Core rev: 8057edfcb23004b18ab8cb09b9a359346ed54db9)

(From OE-Core rev: c46d0cfe4b18318c00390eb112edcbea8b8d6a7a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a6120d0c7946842195f0c7624b7c3025e74e7964)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Andrew Jeffery
1736475bbc Revert "ipk: Decode byte data to string in manifest handling"
cf9df9e8d89f ("ipk: Decode byte data to string in manifest handling")
did a bit of least-effort fix to a string vs byte sequence issue in the
manifest handling. The approach was chosen as it localised the fix,
rather than having to analyse further call sites.

However since then f2167ae80258 ("package_manager/ipk: do not pipe
stderr to stdout") was applied, reworking the output handling from the
subcommand. dummy_bytes() now returns a string, so stop trying to decode
it.

Fixes: f2167ae80258 ("package_manager/ipk: do not pipe stderr to stdout")
Cc: Curtis Meier <cmeier@us.ibm.com>
Cc: Pam Eggler <eggler@us.ibm.com>
(From OE-Core rev: b61739554780d70307d2b6b37d2b3b1c7df93c77)

(From OE-Core rev: 29bd0b6272680769b438f39fa96b47d21c846f37)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 07e5a6331be60d5e35d7336a6215a972ced6eb57)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Khem Raj
721efdc519 cpio: Run ptests under ptest user
Running these tests under root user on musl works ok but it emits
additional diagnostic

cpio: dir: Cannot change ownership to uid 0, gid 0: Not supported

Ideally its better to run this test suite under non-root user which
is often how these are run. Moreover, tests work on musl as well.

(From OE-Core rev: 22d19266269c28f596f031fcba8f2831c6465880)

(From OE-Core rev: fd5bd772ab031606dcfe637fe7425b52b51365fa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 587e007d9febfe92fef434dea984d31642bb23a1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Khem Raj
578715ebe6 piglit: Fix c++11-narrowing warnings in tests
This is found with clang on 32bit builds

(From OE-Core rev: d9e41472e48a70bd28edc4117a5c0adf887205d6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: 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 844a1f1f593e0b4e4b0949ad78a00aa4ab8657e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Paul Gortmaker
2c09ecfdc5 scripts: fix buildstats diff/summary hard bound to host python3
Somehow these two got left behind and hence on older hosts that
are using buildtools for a newer python - they will still fail.

(From OE-Core rev: db3f62378c54ebdfbf5cccdba4c83f503372138f)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1b11b83a6dd991f393940741c930691463e6d53)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Chi Xu
eeff6b4ec8 expect: Add ptest support
Test results:
root@qemux86-64:~# ptest-runner expect
START: ptest-runner
2023-05-23T05:17
BEGIN: /usr/lib64/expect/ptest
via send_stdout
PASS: cat-1.1
PASS: expect-1.1
PASS: expect-1.2
PASS: expect-1.3
PASS: expect-1.4
PASS: expect-1.5
PASS: expect-1.6
PASS: expect-1.7
PASS: expect-1.10
PASS: expect-1.11
PASS: expect-1.12
PASS: expect-1.13
PASS: expect-1.8
PASS: expect-1.8b
PASS: expect-1.9
PASS: logfile-1.1
PASS: pid-1.2
PASS: pid-1.3
PASS: pid-1.4
PASS: pid-1.5
PASS: send-1.1
PASS: send-1.2
PASS: spawn-1.1
PASS: spawn-1.2
PASS: spawn-1.3
PASS: spawn-1.4
PASS: spawn-1.5
PASS: stty-1.1
PASS: stty-1.2
DURATION: 17
END: /usr/lib64/expect/ptest
2023-05-23T05:17
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: e145ddefac0cb65072797c13f6067670d4631bfb)

Signed-off-by: Chi Xu <chi.xu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Ranjitsinh Rathod
30417b870d libbsd: Add correct license for all packages
BSD-4-Clause is only applicable to the {PN}-doc package as when I
check for the source code I find below files which only uses the
license BSD-4-Clause

~/sources/libbsd$ grep -rl "All advertising materials mentioning features or use of this software" *|grep -v \.1|grep -v \.5|grep -v \.8 | sort
COPYING
man/arc4random.3bsd

~/sources/libbsd$ grep -rnB5 "BSD-4"
COPYING-9-Files:
COPYING-10- man/arc4random.3bsd
COPYING-11-Copyright:
COPYING-12- Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
COPYING-13- All rights reserved.
COPYING:14:License: BSD-4-clause-Niels-Provos

So other all PACKAGES should not contain the BSD-4-Clause

(From OE-Core rev: 5f4111fa1b5f2fe35fca854eed08eca415c5a3f1)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe57f5ec7fa46f595a302275ce3063d53634c00e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Tim Orling
f7bac403bf libmodule-build-perl: upgrade 0.4232 -> 0.4234
* Skip t/pod_parser.t ptest since it is for testing
  documentation and requires Pod::Parser for which
  we do not have a recipe. Adding one does not make
  much sense since Pod::Parser was dropped from
  Perl > 5.31.1 in favor of Pod::Simple
  https://metacpan.org/pod/Pod::Parser#DESCRIPTION

Changes:

https://metacpan.org/dist/Module-Build/changes

0.4234 - Fri 28 Apr 2023 10:46:26 CEST
  - PodParser now respects =encoding directives
  - Don't use libraries in t/bundled for Build.PL
  - make_tarball: workaround for broken tar on Darwin
  - Respect $Config{man1ext}/$Config{man3ext}
  - Do not require a compiler if c_source is an empty list

(From OE-Core rev: ae5f966898c1ca1e308b77c4591dfa499613ad57)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c3b97f6d74b67706fbbc8685e8060566b815630d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Sudip Mukherjee
6939fd2304 xinput: upgrade to v1.6.4
Changes:
Use xz: upstream has not released bz2.
Update sha256sum and md5sum for new version.

(From OE-Core rev: b9c32ee7412985805e322a7e7037dd2ca541e8fb)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4080fda237b8c7c540b54b7abc2075fd40a684d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Sudip Mukherjee
e84b92bfd0 xwininfo: upgrade to v1.1.6
Changes:
Use xz: upstream has not released bz2.
Update license checksum: change in copyright year.
Update sha256sum and md5sum for new version.

(From OE-Core rev: 5a30b3ddb0feb485b893d77e06939dc64ce8f7e3)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 44db345f3a1f13ba31edbff28774b4512d07f8d9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:11 -10:00
Pablo Saavedra
feb6f41bcd gstreamer1.0: upgrade 1.22.0 -> 1.22.2
Changelog:
===========

From 1.22.1:

audio channel-mix: allow up to 64 channels (instead of up to 63 channels)
avfvideosrc: Don't wait on main thread for permissions request
avvidenc: avoid generating inaccurate output timestamps, especially with variable framerate streams
AV1 video codec caps signalling improvements in various elements
codectimestamper: Fix timestamping on sequence update
d3d11overlaycompositor: fix texture width and height
d3d11videosink: Fix rendering on external handle
dashdemux2: fix seek operation taking a log time to finish for some streams
nvencoder: Fix B-frame encoding on Linux and min buffers in auto GPU mode
playbin3: fixing buffering for live pipelines
playbin: fix potential deadlock when stopping stream with subtitles visible
redenc: fix setting of extension ID for twcc
rtspsrc: improved compatibility with more broken RTSP servers
v4l2h264dec: Fix Raspberry Pi4 will not play video in application
vtdec: fix jittery playback of H.264 Level 4.1 movies in macOS
vtdec: Fix non-deterministic frame output after flushing seeks
vtenc: fix handling of interlaced ProRes on Apple M1 hardware
vtenc: don't advertise ARGB/RGBA64 input caps on M1 Pro/Max with macOS <13
wasapi2src: Fix loopback capture on Windows 10 Anniversary Update
tools: better handling of non-ASCII command line arguments on Windows
gst-libav: fix build against newer ffmpeg versions
gst-python: Use arch-specific install dir for gi overrides
cerbero: Fix setuptools site.py breakage in Python 3.11
macOS packages: Fix broken binaries on macos < 11.0
various bug fixes, memory leak fixes, and other stability and reliability improvements

From 1.22.2:

avdec_h264: fix decoder deadlocks with FFmpeg 6.0
rtspsrc: fix regression with URI protocols in OPTIONS requests for RTSP over TLS
rtspsrc: improved control url handling compatibility for broken servers
decklink: fix 10 bit RGB (r210) format auto detection for capture and fix playout if video caps are configured before audio caps
d3d11videosink: Fix tearing in case of fullscreen mode
playbin: fix deadlock when stopping stream with subtitles visible (even more)
typefinding: fix regression not detecting application/dash+xml in some corner cases
osxvideosink: fix broken aspect ratio and frame drawing region
decodebin3, parsebin: Improve elementary stream handling when decoders are not present and fix hang when removing a failing stream
urisourcebin: Propagate sticky events from parsebin, so that the STREAM_START event with the GstStream info is always available when pads get exposed
v4l2: Add support for YVU420M format; mark JPEG content as parsed
h264decoder, h265decoder: DPB bumping process and latency reporting fixes
Opus: Fix reading of extended channel config in MPEG-TS and fix missing sample rate when remuxing from RTP to Matroska
zxing: add support for building against zxing-c++ 2.0
cerbero: Fix packaging of Rust plugins on Android; fix modern Gentoo distro detection
various bug fixes, memory leak fixes, and other stability and reliability improvements

(From OE-Core rev: aed2b6833370b60c263afdd8beb0b1c20b9c2ec1)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:10 -10:00
Sudip Mukherjee
7f6a84baf3 libxfixes: Upgrade to v6.0.1
Changes:
Use tar.xz: upstream has not released bz2.
Update license checksum: minor change in text.
Update sha256sum for new version.

(From OE-Core rev: 95ede06cacde7af23d21df8059636ddb4c753869)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a435cb3e6cf3450867f6a591c1e3ceb4918a97d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-31 04:08:10 -10:00
Steve Sakoman
c5c69f78fc build-appliance-image: Update to mickledore head revision
(From OE-Core rev: ab232138f633b0521867216570ff81fcdceb3be1)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-19 04:26:16 -10:00
Steve Sakoman
ad1f61d866 poky.conf: bump version for 4.2.1 release
(From meta-yocto rev: 03a7f2d3ca972c478c6a8e5b9e3806e927225bbe)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-19 04:19:22 -10:00
Michael Opdenacker
5d569941fa releases.svg: fix and explain duration of Hardknott 3.3
(From yocto-docs rev: 6b04269bba72311e83139cc88b7a3539a5d832e8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Takayasu Ito <ito@lineo.co.jp>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-19 04:19:22 -10:00
Ming Liu
fa603fbd47 weston: add xwayland to DEPENDS for PACKAGECONFIG xwayland
Otherwise xwayland.pc would not be present in sysroot, this leads to
some xwayland configs missing like have_listenfd, have_glamor.

(From OE-Core rev: 20cd64812d286c920bd766145ab1cd968e72667e)

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 7f1932cb5a408320a5b542e20ba2807718349e8f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:33 -10:00
Peter Kjellerstedt
1805cb9232 license.bbclass: Include LICENSE in the output when it fails to parse
(From OE-Core rev: faa2baeb4256f0df3c34badf5cb30febeede5ab8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a5197760da3890cc80ac7da8d589766612d9051)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:33 -10:00
Alexander Kanavin
96a7cf3331 perl: patch out build paths from native binaries
(From OE-Core rev: 8f47d5cb79758d5b2a296759bd4806f85f739b90)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9ea0f850928b3e7d7a2eb280b8b3ed0c9f977cd6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:33 -10:00
Alexander Kanavin
649debbc4f dhcpcd: use git instead of tarballs
As announced here:
https://roy.marples.name/downloads/dhcpcd/

(From OE-Core rev: 6578d20898f68c0cc88eda7e0f56e6f5a557f17e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e317eaab45da2dea70d1485fdae93cfeea0db1d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:33 -10:00
Alexander Kanavin
9fa1f1403f selftest/distrodata: clean up exception lists in recipe maintainers test
Specifically:
- add missing maintainer.inc entries for initramfs-module-*, systemd-machine-units and
target-sdk-provides-dummy and drop them from exception list.

- remove rust from exception list for unbuildable-by-default recipes as it is now buildable.

- add missing maintainer.inc entry for libx11-compose-data and cve-update-nvd2-native;
as they are also unbuildable by default, they needs to be in exception list as well.

(From OE-Core rev: d1ad59bb7a5360433403733de71b66ff3e1484ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9158b191c1cfc16f97abed6c05891aa84fe9463)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:33 -10:00
Enrico Jörns
6c64c50802 package_manager/ipk: fix config path generation in _create_custom_config()
"sysconfdir" contains "/" by definition and thus using os.path.join()
leads to self.target_rootfs being always ignored (and thus attempting to
generate paths in host's /etc).

Use oe.path.join() instead which was made for this purpose.

(From OE-Core rev: 116e2b1d0c75c6be333339812468550145915774)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8414c504138f6de663f5130c6b4a6ede5605d88b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:33 -10:00
Johannes Schrimpf
abe094e789 python3targetconfig.bbclass: Extend PYTHONPATH instead of overwriting
[YOCTO #15108] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=15108

Since the latest change, the PYTHONPATH is overwritten instead of extended.
This leads to changed behavior and build errors of recipes where the PYTHONPATH
is set before setup_target_config is run.

Fixes: c9617c03bcee ("python3targetconfig.bbclass: use PYTHONPATH to point to the target config")
(From OE-Core rev: cf31424aa7ce3308373899181aef0e503ead4776)

Signed-off-by: Johannes Schrimpf <dev@loewen-email.de>
[Luca: add Fixes: tag]
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2442ab92f8610784d28d8d83056b643bd95b0b4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:33 -10:00
Khem Raj
3dd115a78c quilt: Fix merge.test race condition
This is consistently seen with musl and grep from busybox
Therefore backport a patch from upstream to fix it

(From OE-Core rev: 3be4c38b370fec42a569cb2cd22315efc860227b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 511bcd965af658e6bb0c61d9f2adb1af75af773b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:33 -10:00
hen Qi
98952875bc unfs3: fix symlink time setting issue
Add back the dropped 0001-attr-fix-utime-for-symlink.patch
to fix symlink time setting issue on NFS.

The problem could be reproduced by runing the following command
on nfs booted qemu:

  ln -s dest src && touch -h src

Apart from the rpm operations mentioned in the original patch,
'docker pull' also fails with a 'stale file' error. The common
pattern here is extracting files from a bundle and setting times
for them.

(From OE-Core rev: 221b509b31a44a16ccc0f66293e51b86322c0b5b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe35a2c11ba6f87735bccae244817016f9c1b5db)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:33 -10:00
Richard Purdie
10f4547dff recipes: Default to https git protocol where possible
The recommendation from server maintainers is that the https protocol
is both faster and more reliable than the dedicated git protocol at this point.
Switch to it where possible.

(From OE-Core rev: 8f3669f81db8a58f8ed2faef76acab3499f59619)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 139102a73d4151f4748b4a861bd4ab28dda7dab7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:33 -10:00
Markus Volk
465036fa0c gtk4: update 4.10.0 -> 4.10.3
Overview of Changes in 4.10.3, 22-04-2023
=========================================

* Fix a popover positioning regression in 4.10.2

* Fix issues with slow loading files in the file chooser

Overview of Changes in 4.10.2, 21-04-2023
=========================================

* Fixed issues:
 - Holding control to select multiple files broken in filechooser (#5669)
 - Inspector crash (#5681)
 - Listbase doesn't account for bottom padding in size_allocate_child (#5380)
 - Leaking AT contexts (#5690)
 - OpenGL / Windows: Crash when closing gtk4-widget-factory (#5685)
 - GTK apps crash on startup when setting cursor-size to 0 on Wayland (#5700)
 - Segmentation fault: gdk_wayland_toplevel_set_startup_id() needs to null-check
   display->xdg_activation before using it (#5701)
 - Possible use-after-free under gtk_scrolled_window_update_use_indicators() (#5684)
 - Wrong error message in `gtk_init` (#5704)
 - Segfault when scrolling after changing ListView model (#5763)
 - Bluetooth panel from the Settings app: clicking in the "Downloads" link
   no longer opens Nautilus (#5671)
 - Broadway docs or code is broken (#5662)
 - Disabled GtkPicture's are not properly themed (#5683)
 - Setting CSS padding to a GtkTextView gives the context menu an offset (#5695)
 - A11y: the Showing state is used only for windows (#5194)
 - Gtk4 expander: CSS nodes mismatch code vs. documentation (#5723)
 - Invoking gtk inspector on a folder results in a crash (#5729)
 - Double tap requires very precise touch input (#5580)
 - Name autocompletion dropdown in the GTK4 FileChooser's Save dialog gets
   stuck, creates artifacts, jumps around (#5743)
 - Links are not opened when xdg-desktop-portal OpenURI is not available (#5733)
 - GtkSnapshot generates no nodes appending whitespace-only layouts (#5747)

* Translation updates
 British English
 Bulgarian
 Chinese (China)
 French
 Indonesian
 Korean
 Russian
 Serbian
 Slovenian
 Turkish

Overview of Changes in 4.10.1, 14-03-2023
=========================================

* GtkFileChooser
 - Improve search performance
 - Be safe against pathless files
 - Fix memory leaks
 - Only show local files in recent files
 - Show most recent files first
 - Make files non-selectable in selet_folder mode

* GtkListView / GtkColumnView / GtkGridView
 - Fix scrolling problems
 - Support CSS border-spacing

* GtkComboBox
 - Fix a size allocation problem

* gtk
 - Size allocation fixes

* Accessibility
 - Miscellaneous property fixes and improvements

* Wayland
 - Fix an ordering problem in surface disposal

* Windows
 - Fix Visual Studio build with older GLib

* Translation updates
 Basque
 Bulgarian
 Catalan
 Czech
 Danish
 Finnish
 Friulian
 Galician
 Georgian
 Hungarian
 Lithuanian
 Polish
 Portuguese
 Swedish
 Turkish
 Ukrainian

(From OE-Core rev: dfb50fff1e4e661fdda988d100682988cf7f4448)

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 0f07445de85c71926e0901d051d330f29a8486d6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:33 -10:00
Virendra Thakur
9c19a13f73 qemu: Whitelist CVE-2023-0664
This CVE is related to Windows.

Link: https://nvd.nist.gov/vuln/detail/CVE-2023-0664

(From OE-Core rev: 5474b4d8c5df31abb69e1a5be01cd089405d1cce)

Signed-off-by: Virendra Thakur <virendrak@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d5ce88c15183c2bf887543c8c31e9c31aaa56a1a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:32 -10:00
Joe Slater
fb99682785 ghostscript: fix CVE-2023-28879
Backport from tag ghostpdl-10.01.1-gse-10174 which is
after 10.01.1.

(From OE-Core rev: 5046578b09b0a83a961768824e47f34fb3de9eb1)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8a70d6935afa38173dbf012b8e1c3d59228504df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-18 04:29:32 -10:00
Lee Chee Yang
b735b2d11c migration-guides: add release-notes for 4.1.4
(From yocto-docs rev: dc89b4bb329e2d1600a0a051e472f5c89bb6abef)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:13 -10:00
Ross Burton
00dd38813b machine/qemuarm*: don't explicitly set vmalloc
In 5c6064 the qemuarm* machines gained vmalloc=256, because in testing
Bruce was seeing problems when the vmalloc area was too big for the
memory size of the machine (eg 256MB).

The intention was for the area to be very small, but 256 bytes is too
small and the kernel sets a minimal vmalloc area of 16MiB:

[    0.000000] vmalloc area is too small, limiting to 16MiB

However, a 16MiB area is too small and results in pages of messages when
you try and use the system:

[  242.822481] vmap allocation for size 4100096 failed: use vmalloc=<size> to increase size

There have been a number of changes since this commit, remove the
explicit vmalloc argument and use the default.  I've tested that the
system still boots locally.

[1] early_vmalloc(), https://elixir.bootlin.com/linux/latest/source/arch/arm/mm/mmu.c#L1170

(From OE-Core rev: 2c5af07819b4a555737da9f07aa5236579300027)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:13 -10:00
Richard Purdie
70c3caa787 maintainers.inc: Move repo to unassigned
(From OE-Core rev: 0b5bab7aa8bae98ee7fcb2a8863d4c10ac0ca37f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a51a069bad78c578122ae1a5b500f715246d413d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:13 -10:00
Martin Jansa
da27e5f570 populate_sdk_ext.bbclass: redirect stderr to stdout so that both end in LOGFILE
* this in the end doesn't help much, I was debugging warning (about base-files.do_install
  signature being different than expected) from:

  python3 $target_sdk_dir/ext-sdk-prepare.py $LOGFILE '${SDK_INSTALL_TARGETS}'

  this shows the warning on console, but it doesn't end in $LOGFILE, because it
  writes only contents of cooker log into the $LOGFILE with:

    with open(logfile, 'a') as logf:
        logf.write('Preparing SDK for %s...\n' % ', '.join(sdk_targets))

        ret = run_command_interruptible('BB_SETSCENE_ENFORCE=1 bitbake --quiet %s' % ' '.join(sdk_targets))
        if not ret:
            ret = run_command_interruptible('bitbake --quiet build-sysroots')
        lastlog = get_last_consolelog()
        if lastlog:
            with open(lastlog, 'r') as f:
                for line in f:
                    logf.write(line)
        if ret:
            print('ERROR: SDK preparation failed: error log written to %s' % logfile)
            return ret

  maybe we could remove whole support for $LOGFILE parameter and just redirect
  the output like other commands on this line

(From OE-Core rev: 766c6f7ae72576cfab3654362ae949688f42acce)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 719f22df160ebde303274ccfc04049cffdb51577)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:13 -10:00
Martin Siegumfeldt
2c49e1c152 systemd-systemctl: fix instance template WantedBy symlink construction
Fix issue of the below instance template systemd service dependency

[Install]
WantedBy=svc-wants@%i.service

creating the symlink (instance "a" example)

/etc/systemd/system/svc-wants@%i.service.wants/svc-wanted-by@a.service

which should be

/etc/systemd/system/svc-wants@a.service.wants/svc-wanted-by@a.service

as implemented by this change.

The functionality appears regressed just after "thud" baseline when the
logic was refactored from shell script into python (commit
925e30cb10)

(From OE-Core rev: 308397f0bb3d6f3d4e9ec2c6a10823184049c9b5)

(From OE-Core rev: 372b29c8ad270d4d430c26a4e614976c7029afaf)

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:13 -10:00
Ross Burton
5d50cbf525 cpio: fix appending to archives larger than 2GB
Backport a patch to fix appending to archives larger than 2GB.

[ YOCTO #11674 ]

(From OE-Core rev: a161d6694b295c93244d67d69d8be8b09210bc32)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:13 -10:00
Richard Purdie
d8c4df476e maintainers.inc: Fix email address typo
(From OE-Core rev: f39471238df04a300e2b17735006f3d6606b4f23)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a86ca028980b501e386f6bb8293a094fd77f97b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:13 -10:00
Khem Raj
626e16baaf libxml2: Disable icu tests on musl
these tests do not work with musl's iconv implementation and would need
enabling icu support using --with-icu which we do not enable by default

Additionally enable locale with musl too.

(From OE-Core rev: 1fbab00c9d887285a9e966e81ff75a7fc7039baa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 03980db15fa1de2f970705364c2316f17428a3aa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:12 -10:00
Khem Raj
d30fb748fe gawk: Add skipped.txt to emit test to ignore
This file can be processed by run-ptest during runtime and tests
mentioned in skipped.txt will not be run.

(From OE-Core rev: 58818cf22dc378ee5fa9089da1f4b8f0fd02bc44)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 4d30f3535f53ad6d8f462f99b6cd2fe8d2ecbfb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:12 -10:00
Khem Raj
55237f38ce gawk: Remove redundant patch
This patch is doing the same things thats already being done in the
do_install_ptest where the problematic tests are being deleted from
final package. run-ptest script runs a find for available tests and runs
each test target found during run therefore its enough to remove
them from final install.

(From OE-Core rev: cf654eb0fe786ec5cfbc62da43e71f6ef2e521dc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 4a32ad54d6c051fe387c67721cf96eb851ecd835)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:12 -10:00
Khem Raj
5b75d8af0b gawk: Disable known ptest fails on musl
Add needed locale rdeps on musl as well.

(From OE-Core rev: 71f515d63aaf6eeb91170c9ee3eb123935a18da8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 1e71eaf6792727d2335ee2e2ad4c5ce88137fe77)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:12 -10:00
Richard Purdie
d71b2e9385 glib-networking: Correct glib error handling in test patch
(From OE-Core rev: 66dc4b94e9fad8d209f12fa64bd0673a42c28ac9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4ba74f61f38827d82586cf9c993a4b27065f5c6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:12 -10:00
Richard Purdie
baea4975da glib-networking: Add test retry to avoid failures
In autobuilder testing we regularly see glib-networking ptest fail with a
"Resource temporarily unavailable (g-io-error-quark, 27)" error.

Add a patch to see if a retry can resolve the issue.

(From OE-Core rev: 6282f64a6673bcd9b0a6cedfcb8cd3d1a6de1077)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4deb03ee5af8fcf7c2b1c81c686839341cf753c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:12 -10:00
Richard Purdie
9c93500e73 qemu: Update ppc instruction fix to match revised upstream version
Upstream asked for some changes, this updates our patch to match. The differences
likely don't change our real world use.

(From OE-Core rev: 411e3f76840c06580fa8d2e764ae504b8f0ad46b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 42591e07a469cff881fa087d5251a8c783897634)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:12 -10:00
Otavio Salvador
18359cd619 mesa: 23.0.2 -> 23.0.3
Update to 23.0.3 stable release. Release notes in:

 - https://docs.mesa3d.org/relnotes/23.0.3.html

New features

None

Bug fixes

overlay layer: unable to launch titles on steam
radv: possibly not setting state dirty bits correctly
RADV: VRS attachment not working in specific scenario
anv: zink ADL failures
Vulkan loader `vk_common_GetPhysicalDeviceFormatProperties` fails to sanitize properties bits.
Loading a model in PrusaSlicer 2.6.0-alpha5 crashes GNOME on radeonsi

(From OE-Core rev: 77d46f01147036c38c21d7c840144adda89bd894)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0defbb5925e309799162e221285e4cfb2e2c2ca5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:12 -10:00
Upgrade Helper
50c9991085 waffle: upgrade 1.7.0 -> 1.7.2
The Waffle bugfix release 1.7.1 is now available.

What is new in this release:
  - cmake: pass deps' cflags to the build
  - gbm: fix crash when platform lacks modifier support
  - gitlab-ci: stabilise CI runs under X
  - gitlab-ci: add more warnings, make all warnings fatal
  - gitlab-ci: update to bullseye
  - meson: add override_* support, when using waffle as submodule
  - meson: skip installing bash completion when custom prefix is used
  - meson: silence deprecation warnings
  - meson: generate cmake files only on Windows
  - meson: find wayland.xml from wayland-scanner.pc
  - misc: zsh completion
  - misc: fix dozens of compiler warnings
  - misc: update website references
  - wayland: fix build against wayland 1.20

The Waffle bugfix release 1.7.2 is now available.

What is new in this release:
  - all: use format(gnu_printf), enable in mingw
  - meson: don't run TLS checks on mingw
  - wgl: remove unused dummy wgl_error.[ch]

Upstream now only generates CMake files on Windows, so remove all
references to CMake.

A zsh completion is now installed, remove this for now as we don't really
use zsh.

(From OE-Core rev: e4ebfb5c7892488fc834d9837e9a5a4c28eb676f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 94cf6ef11bba381ab6f65b03ed1ed14022438151)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-17 04:07:12 -10:00
Luca Ceresoli
30d015c636 ref-manual: classes: kernel: document automatic defconfig usage
Since a very long time the kernel bbclass uses a defconfig file from
SRC_URI automatically. Document this feature.

(From yocto-docs rev: d99f7913ca3fc546a9714a38f3e22403261c4015)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Luca Ceresoli
cd1e4106e6 ref-manual: classes: kernel: remove incorrect sentence opening
"This means that" implies that this sentence is a consequence of the
previous, but this is not the case, the two sentences being quite unrelated
to each other.

(From yocto-docs rev: e2bca485efa25f3950cb229ac49bda6780dbe5bf)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Lee Chee Yang
adfba885be release-notes-4.2: update known issues and Repositories/Downloads
(From yocto-docs rev: 9d3150d684d81cbe599e27052b2ac46063b659a6)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Michael Opdenacker
b5d97edb11 migration-guides: release-notes-4.2: add doc improvement highlights
(From yocto-docs rev: 5fd29ff6e305aaf025ef9a95190c5aaf92f51f1c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Peter Bergin
60f959a0b0 update-alternatives.bbclass: fix old override syntax
Function 'gen_updatealternativesvardeps' still used old override
syntax when fetching variable flags. Update to use ':' instead to match
recipe meta data. This was found by review and no real issue encountered
but it is a bug that affects variable dependencies and can affect rebuilds
as task hashes might not be accurate.

(From OE-Core rev: 27b4fb60c7c66c245ba50607c8e178390fc41014)

Signed-off-by: Peter Bergin <peter.bergin@windriver.com>
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5691f554b2cd50f256a8cbb1d96781e9eb6b930e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Bruce Ashfield
d14a46aef2 kernel: improve initramfs bundle processing time
This is a partial fix for bugzilla 15059 [https://bugzilla.yoctoproject.org/show_bug.cgi?id=15059]

It has been noted by several people that when an initramfs is bundled:

  - a lot of the kernel is rebuilt
  - it takes a really long time

When looking at the logs, the second kernel compilation (that performs
the bundle) is not using the parallel make settings, and builds with
-j1.

We are already explicitly passing PARALLEL_MAKE when building kernel
modules, and by extending that explicit use to the main kernel
compilation, we ensure that we always get a parallel build.

Build times chnaged from more than 30 minutes for the bundle, to
3 minutes in local testing.

The question of whether or not too much is rebuilding during the
bundle step is still an open question, but with this tweak, at least
the build time is back in the realm of acceptable.

(From OE-Core rev: 126cbad716377f024dae5cc8e2faee9bd661f5c5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 88fd394ecf0f2174b792075d409d87046896426b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Thomas Roos
40355fd859 oeqa/utils/metadata.py: Fix running oe-selftest running with no distro set
This will use default values when no distribution is set.

[YOCTO #15086]

(From OE-Core rev: 9e576ab7035d52fba961c400d53657608ad5b99d)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 888fe63b46efceeff08dbe8c4f66fec33d06cb7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Richard Purdie
eb319d974c qemu: Add fix for powerpc instruction fallback issue
See the patch for more details, fixes a regression in qemu causing
illegal instructions in libm on powerpc, triggered by a libinput
upgrade.

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=f1c56cdff09f650ad721fae026eb6a3651631f3d
was the glibc code generating the instruction and triggering the issue.

(From OE-Core rev: 6a19b4a5f6eb7138ec6e79acf5c85c5d38f22d8f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Zhixiong Chi
b8e4efae7f libpam: Fix the xtests/tst-pam_motd[1|3] failures
Reproducer:
1.Enable the ptest of libpam and build the image.
2.Boot the rootfs with nfs, then run the following tests as root:
 cd /usr/share/Linux-PAM/xtests
 /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd1
 /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd3

After applying this patch, the ptest doesn't be failed.

(From OE-Core rev: 97e3cfb5374958737750361f6e22a7b63965e46e)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 549e54ad6a175359b0a57987ccdab8989df9d3a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Martin Jansa
7131b9c210 populate_sdk_ext.bbclass: set METADATA_REVISION with an DISTRO override
* otherwise it ends '<unknown>' inside esdk, because of parsing order:
  # $METADATA_REVISION [3 operations]
  #   set /OE/build/test-D/conf/local.conf:43
  #     "f2da54ef432eac89b0f18eaad68e602b6990b5de"
  #   immediate /OE/build/test-D/layers/poky/meta/classes/metadata_scm.bbclass:9
  #     "${@oe.buildcfg.detect_revision(d)}"
  #   set /OE/build/test-D/layers/poky/meta/classes/metadata_scm.bbclass:10
  #     [vardepvalue] "${METADATA_REVISION}"
  # pre-expansion value:
  #   "<unknown>"
  METADATA_REVISION="<unknown>"

* This causes base-files.do_install and following tasks to have different
  signatures between esdk and the build directory where this esdk was created:

  bitbake-diffsigs {test-D,poky/build-uninative-disabled}/tmp/stamps/qemux86_64-poky-linux/base-files/*do_install*sigdata*
  NOTE: Starting bitbake server...
  basehash changed from 5b6981cf58bfd57d416b0e31611b73a26baae635dd1ac31c08d46f95064c3ffc to dbdce042da4d7813d632b6d1cc87a16f728ad20e55fecbc392830e6acf72babd
  Variable METADATA_REVISION value changed from '<unknown>' to 'f2da54ef432eac89b0f18eaad68e602b6990b5de'

  and an warning from "python3 /OE/build/test-D/ext-sdk-prepare.py" when eSDK is being prepared for use:
  WARNING: The base-files:do_install sig is computed to be 83b9c9a6ef1145baac5a1e0d08814b9156af239c58fc42df95c25a9cd8a7f201,
    but the sig is locked to 3dc22233059075978e5503691e98e79e7cc60db94259dfcd886bca2291c0add7 in SIGGEN_LOCKEDSIGS_t-qemux86-64

[RP: Add commit about why we need the override for future reference]
(From OE-Core rev: a857360c078aa5e03cf113dc2dc87069b0e0201c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 675ea7281c17f77bf5dea17cfd4d9da0928382a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Piotr Łobacz
755967f4d7 libarchive: Enable acls, xattr for native as well as target
Libarchive is being used by OPKG package manager as default
API for extracting tar files. This fix allows us to extract
ipks packages with preserved ACLs and xattrs.

Partially addresses [YOCTO #15091]

[RP: Merge into main PACKAGECONFIG and tweak commit message]
(From OE-Core rev: 9d19e501d710c6c357bf6c8f16ac3e172d63e11d)

Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 913aad1ac013368aef8f6af332588ef24bba46bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
bkylerussell@gmail.com
8319b7e6fd kernel-devsrc: depend on python3-core instead of python3
Avoids pulling in potential GPLv3 packages through python3-misc catch-all.

python3-core is the intended minimal RDEPENDS for packages requiring python3
support.  Other python3 module dependencies should be listed explicitly.

(From OE-Core rev: 81c5f793f5c326489475f1f8786e3869b9973a4b)

Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 231f93becad619f6afa383f9b1132f1d4b02fa64)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Arslan Ahmad
fcdf501ba0 kernel-fitimage: Fix the default dtb config check
The current check for default dtb image checks if the file exists and is
not empty but appends a slash to the path due to which the file is never
found. It also doesn't replace slash in filename with _ as done when
populating the DTB variable. A better way to check the existence of the
device tree would be from the list of DTBs since this is used during
compilation.

(From OE-Core rev: f8efe7d50860e44cd22a91685d0438c5c73d8557)

Signed-off-by: Arslan Ahmad <arslan_ahmad@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit e8e31e11b158837804d029e85f5f8ed3c219a4ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Kai Kang
9e144f49cb libnotify: remove dependency dbus
It ported to use GDBus in libnotify 0.7.0 [1]. So remove dbus from
DEPENDS. And GDBus is provided by glib-2.0.

[1]: https://gitlab.gnome.org/GNOME/libnotify/-/commit/f63e8ab

(From OE-Core rev: c6702ecbb003199b746c2235ea4f900d912d4666)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 3e585e41f561aab73685290631f2263795f571b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Wang Mingyu
ea7d581b13 mesa: upgrade 23.0.0 -> 23.0.2
23.0.1 changes

New features
None

Bug fixes
radv: A Plague Tale: Requiem black “flash” on 7900XTX
7900 XTX: Graphical corruption / artifacts in Cyberpunk
radv: CmdCopyQueryPoolResults broken for VK_QUERY_TYPE_PRIMITIVES_GENERATED_EXT with queryCount > 1
radeonsi draws spurious values to depth buffer
rusticl over llvmpipe + ffmpeg’s Opencl filter = error -51
rusticl over llvmpipe + ffmpeg’s Opencl filter = error -51
OpenGL crashes in X-Plane 11
[Bisected] Regression: Project Zomboid renders black
hasvk: Black pixels with 8xMSAA and fast clears on Intel(R) HD Graphics 4400 (HSW GT2)
radv: GTA IV graphical artifacts on 7900XTX
radv: Resident Evil Revelations 2 artifacts on 7900XTX with DCC
radv: Prototype 2 black textures on RDNA 3 when DCC is enabled
Mesa 23.0.0 crashes immediately with indirect rendering
[RADV] Returnal - pistol muzzle flash fills whole screen (graphical artifact)
ACO: dEQP-VK.binding_model.descriptor_buffer.multiple.graphics_geom_buffers1_sets3_imm_samplers hangs on NAVI10
Build failures with recent lld
r600,regression: Glitches on terrain with the NIR backend on Transport Fever 2
r600/TURKS: Crash of the game “A Hat in Time” with Gallium Nine and NIR path (third report)
[gen9atom] Vulkan tests cause gpu hang: dEQP-VK.memory_model.*
GL_SHADER_BINARY_FORMAT_SPIR_V is not added to the list of GL_SHADER_BINARY_FORMATS even if GL_ARB_gl_spirv is supported.
[ANV/DG2] Vertex explosion in nvpro-samples/vk_raytracing_tutorial_KHR/ray_tracing_gltf
CUEtools FLACCL hit assert in rusticl
Assertion Failed on Intel HD 5500 with Linux / Mesa 22.3.1 / OpenGL

23.0.2 changes

New features
None

Bug fixes
allwinner a64: DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory after some time of apps usage
mesa: index buffer leaking
RadeonSI: null dereference in amdgpu_cs_add_buffer, potential refcount mismatch, running BeyondAllReason
eglCreateImageKHR, error: EGL_BAD_ALLOC (0x3003), message: “createImageFromDmaBufs failed” on AMD multi-gpu with explicit format modifiers
libgrl.a installed but not used?
radv: crash compiling UE5 lumen hardware RT shader
aco: unused vtmp_in_loop
radv,nir: dEQP-VK.ray_query.builtin.rayqueryterminate.* failures
glsl compiled error when the RHS of operator `>>` is int64_t by enabling GL_ARB_gpu_shader_int64 extension
QPainter fails to render multiple shapes with a brush set since Mesa 23.0
eglSwapBuffers blocks in wayland when it’s wl_surface_frame event is stolen.
plasmashell sometimes hangs with mesa_glthread
pps_device.h:23:11: error: ‘uint32_t’ does not name a type

(From OE-Core rev: 66f67e43e25dc58a07a49bb8e12699f1a6ce06f4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit f7f483f90ba17342a83fdfe7c7dccf5a3f7bf624)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Dmitry Baryshkov
291424b7f4 linux-firmware: upgrade 20230210 -> 20230404
The LICENCE.qat_firmware license file was updated to reflect Intel
licensing (it removed a term regarding patent licenses).

License-Update: additional files

(From OE-Core rev: cd8f678044793c853d6b91c09f542e9a97e170b9)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit fd43b59ab32e2115fcda7ad63d3a5ccc2683c7d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Alex Kiernan
9326c714c5 rust: Upgrade 1.68.1 -> 1.68.2
Changes:

* Update the GitHub RSA host key bundled within Cargo. The key was
  rotated by GitHub on 2023-03-24 after the old one leaked.
* Mark the old GitHub RSA host key as revoked. This will prevent Cargo
  from accepting the leaked key even when trusted by the system.
* Add support for @revoked and a better error message for
  @cert-authority in Cargo’s SSH host key verification

(From OE-Core rev: 80ffaf90282a72276f6bf62e22976400fe7bb1f9)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4563432b41026adc56c54452984b19ab64e7406e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Wang Mingyu
5d347d6ab1 vala: upgrade 0.56.4 -> 0.56.6
Changelog:
===========
 * Regression fix:
  - vala: Improve initialization of namespace fields with compound
    literal [#1424]

 * Bindings:
  - gio-2.0,glib-2.0,gobject-2.0: Update 2.74 symbols
  - webkit2gtk-4.*: Update to 2.40.0
  - webkitgtk-6.0: Update to 2.40.0
  - gtk4: Update to 4.10.1~40b154bf from 0.58
  - gtk4: Add sealed to all the final types
  - gtk+-3.0: Fix ToolPalette.icon_size get-accessor type
  - webkitgtk-6.0: Update to 2.39.90

 * Various improvements and bug fixes:
  - codegen:
    + Consistently handle GLib.Error as boxed type [#1418]
    + Add cast to accessor calls for generic property implementations
    + Use g_object_class_override_property to implement generic interface
      properties [#1419]
    + Add declaration for register call of dynamic DBus interfaces [#1422]
  - vala:
    + Correctly handle pre/post-increment expression as index of element
      access [#1417]
    + Set proper value-type of unary ref/out expression in initializers [#1421]
    + Allow assignment of namespace fields with inline allocated arrays
  - gtkmodule: Improve error messages

(From OE-Core rev: d87a885a5b1f57039cf715504f6caacfd2dad097)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e3eb6b4e6477dea953d4d93d2eadc5f430c160b1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Wang Mingyu
a962829eb9 xwayland: upgrade 22.1.8 -> 23.1.1
This release contains the fix for CVE-2023-1393 in today's security
advisory: https://lists.x.org/archives/xorg-announce/2023-March/003374.html

Benno Schulenberg (1):
       xkbUtils: use existing symbol names instead of deleted deprecated ones

Joshua Ashton (1):
       glamor: Don't glFlush/ctx switch unless any work has been performed

Michel Dänzer (2):
       xwayland: Refactor xwl_present_for_each_frame_callback helper
       xwayland: Prevent nested xwl_present_for_each_frame_callback calls

Olivier Fourdan (2):
       composite: Fix use-after-free of the COW
       Bump version to 23.1.1

git tag: xwayland-23.1.1

(From OE-Core rev: a622fbb571d72c1a86ebf9ae01f61b4dbfe48c1d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 35fdbd0ea81650a0421d50fb53989d96c5956331)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Wang Mingyu
d22204fd6f xserver-xorg: upgrade 21.1.7 -> 21.1.8
This release contains the fix for CVE-2023-1393 in today's security
advisory: https://lists.x.org/archives/xorg-announce/2023-March/003374.html

Benno Schulenberg (1):
       xkbUtils: use existing symbol names instead of deleted deprecated ones

Olivier Fourdan (2):
       composite: Fix use-after-free of the COW
       xserver 21.1.8

git tag: xorg-server-21.1.8

(From OE-Core rev: 9d5a512da3b81680d20cf8c557757a31cd48efba)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7b08dff8f46bcaa05f7fbffbe27d524579af4faf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Steve Sakoman
6974d4c6b5 Revert "xserver-xorg: backport fix for CVE-2023-1393"
Fixed with subsequent version bump

This reverts commit 7828f7026b4cd3ae97ebe5d849c09fabbc17272d.

(From OE-Core rev: 9bb0a416d03c3bcd3cf45fa7aa761ff948612eac)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Wang Mingyu
f2892e2aad wpebackend-fdo: upgrade 1.14.0 -> 1.14.2
Changelog:
==========
- Reverted a change introduced in 1.14.1 which introduced crashes both
  with WebKitGTK and WPE running under Wayland in some configurations.
- Fix a crash caused by wrong assertion, which was typically triggered in
  debug builds when using the NVidia drivers.
- Fix WebKit no longer repainting after provisional navigation with
  PSON enabled.
- Fix graphics buffer leaks by always freeing them in buffer destroy
  listener callbacks.

(From OE-Core rev: f248513b4cf0b61a61e8586a3bcf2a7c83a3b538)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit aa37e18a51714af3281b4127dceb40b38aa8ac3c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Wang Mingyu
93ab4e1fc2 texinfo: upgrade 7.0.2 -> 7.0.3
Changelog:
==========
* texi2any
  . fix performance regression when Perl binary extension (XS) modules
    are not being used (e.g. with TEXINFO_XS=omit)

* info
  . further fix of recoding of UTF-8 files to ASCII to avoid text
    disappearing from nodes
  . avoid possible freeze at start of a file with '-v nodeline=pointers'

(From OE-Core rev: 62eb0b5a7393d6192a309c1d309e9b22bc652be7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 87bb580f6a02468d372254480302a60faa965131)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Wang Mingyu
e37179d270 ruby: upgrade 3.2.1 -> 3.2.2
Ruby 3.1.2

CVE-2022-28738: Double free in Regexp compilation..
CVE-2022-28739: Buffer overrun in String-to-Float conversion..

(From OE-Core rev: f1741f1b2fe10d62331a11df6bbd312ae71bffa5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b261bc704839b12769118f6f1c4207f3d19fe4fd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Wang Mingyu
63e0c05652 pango: upgrade 1.50.13 -> 1.50.14
Changelog:
- Fix underline thickness in scaled contexts

(From OE-Core rev: 3c8dd786aa685606222ce86b3e17936291110f45)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f34ee7f08bdf94297042969b114da38b71168c5b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:51 -10:00
Wang Mingyu
f8b02f941a mtools: upgrade 4.0.42 -> 4.0.43
Changelog:
==========
- Fix root directory test in mattrib
- -b BiosDisk flag for mformat to allow setting physdrive to
  a user-specified value
- Clearer error message in mformat when trying to mformat a
  disk whose total size is not known
- Make recursive copy more consistent
- Trailing slash now always implies target should be a directory
- Code cleanup

(From OE-Core rev: 054490362e8848907f19fbff5b7b5f31353458f8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7f04fd469f9ee989eadd85ea949527300704ca70)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Wang Mingyu
63defae6bd man-pages: upgrade 6.03 -> 6.04
License-Update:
 tmp/ -> .tmp/

Changelog:
============
-  Sections:
   -  Add HISTORY.
   -  HISTORY: Restore C89 references.
   -  Repurpose VERSIONS.
   -  Simplify STANDARDS.
   -  SYNOPSIS: Mark several functions as deprecated.

-  Build system:
   -  Support installing in different mandirs
      (e.g., man3typedir='/usr/share/man/man3').
   -  Support installing compressed pages (Z='.gz').
   -  Support installing link pages as symlinks (LINK_PAGES='symlink').

(From OE-Core rev: 0d416adf236952dd90954daf1067dbd619c39e3c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 17b93f86d17c6164005fa9f3173585f092539dc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Wang Mingyu
12dcea0dde mpg123: upgrade 1.31.2 -> 1.31.3
Changelog:
=========
- build:
-- Fix --disable-8bit.
-- Fall back to generic decoder if no yasm for MSVC (bug 346).
-- Fix some pedantic compiler warnings, avoid breaking libtool wrappers.
- mpg123:
-- Fix verbose position printout for new resampling outside libmpg123 (where
   output rate differs from decoding rate).
- libsyn123:
-- Fix reconfiguration of resampler to avoid double free when reducing
   decimator stages to zero (bug 350).

(From OE-Core rev: 653530d19306f26e40586786032f8a2375dc6b48)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 01ccf7c55d3d9c32ffd509abebd928ccb402b9f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Wang Mingyu
0658aed579 libsdl2: upgrade 2.26.3 -> 2.26.5
2.26.4
This is a stable bugfix release, with the following changes:

Fixed relative mouse motion over remote desktop on Windows
Fixed using older game controller mappings on Linux

2.26.5
This is a stable bugfix release, with the following changes:

The minimum deployment target on macOS is now 10.11, due to changes in the latest Xcode update
Fixed incorrect modifier keys handling on macOS
Fixed occasional duplicate controller visible on macOS
Fixed handling of third party PS4 controller input reports
Added support for the trigger buttons on the Victrix Pro FS for PS5
Added mapping for Flydigi Vader 2 with the latest firmware (6.0.4.9)
Added mapping for DualSense Edge Wireless Controller on Linux
Added mapping for Hori Pokken Tournament DX Pro Pad
Improved the speed and quality of audio resampling
Fixed crash on Linux if dbus can't be initialized

(From OE-Core rev: c55f56ea3081f3b53c06e84fccffc289bac1f19e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 106cdae227775f8e3b32462ed68b99231595f075)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Wang Mingyu
6e73a100ba libpcap: upgrade 1.10.3 -> 1.10.4
Summary for 1.10.4 libpcap release
    Source code:
      Fix spaces before tabs in indentation.
    rpcap:
      Fix name of launchd service.
    Documentation:
      Document use of rpcapd with systemd, launchd, inetd, and xinetd.
    Building and testing:
      Require at least pkg-config 0.17.0, as we use --static.
      Get rid of the remains of gnuc.h.
      Require at least autoconf 2.69.
      Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21.

(From OE-Core rev: cc7a3c6cb32b4a8d2677159cd106068b5f2d75e8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit da76bde131a7fe0833c9fd59a1ca48edaed6fa54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Wang Mingyu
3dd7ff0309 libhandy: upgrade 1.8.1 -> 1.8.2
Changelog:
==========
- Demo
  - Correctly use GtkSwitch
  - Fix a GLib deprecation
- Docs
  - Fix dependency names
- HdyTabView
  - Fix set_menu_model() input check
  - Fix a typo in docs
- HdySwipeable
  - Fix get_swipe_area() fallback
- Memory leak fixes
- Translation updates
  - Slovenian

(From OE-Core rev: e7303ff65b4db9dea40b08ed85717b9aef91ff98)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b1ebdff55fd8ca77eaff6066370c628a9425bec7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Wang Mingyu
9281ddf7a9 cracklib: upgrade 2.9.10 -> 2.9.11
Changes:

v2.9.11 Added xz dist
Fix incorrect non-static memory return (drfiemost)

(From OE-Core rev: f1285f72a7a48fb9d3eff8c00f524801446c8b42)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a3932906cba1e693ff51a4fdcc60a7b15debee9f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Wang Mingyu
db920a7f00 bind: upgrade 9.18.12 -> 9.18.13
Changelog:
==========
[bug] Use two pairs of dns_db_t and dns_dbversion_t in a
      catalog zone structure to avoid a race between the
      dns__catz_update_cb() and dns_catz_dbupdate_callback()
      functions. [GL #3907]

[bug] Make sure to revert the reconfigured zones to the
      previous version of the view, when the new view
      reconfiguration fails during the configuration of
      one of the configured zones. [GL #3911]

[bug] Fix error path cleanup issues in dns_catz_new_zones()
      and dns_catz_new_zone() functions. [GL #3900]

[bug] Unregister db update notify callback before detaching
      from the previous db inside the catz update notify
      callback. [GL #3777]

[func Run the catalog zone update process on the offload
      threads. [GL #3881]

[func Add shutdown signaling for catalog zones. [GL !7571]

[func Add reference count tracing for dns_catz_zone_t and
      dns_catz_zones_t. [GL !7570]

[bug] Detach 'rpzs' and 'catzs' from the previous view in
      configure_rpz() and configure_catz(), respectively,
      just after attaching it to the new view. [GL #3880]

[test Don't test HMAC-MD5 when not supported by libcrypto.
      [GL #3871]

[bug] Fix RPZ reference counting error on shutdown in
      dns__rpz_timer_cb(). [GL #3866]

[test Test various 'islands of trust' configurations when
      using managed keys. [GL #3662]

[bug] Building against (or running with) libuv versions
      1.35.0 and 1.36.0 is now a fatal error.  The rules for
      mixing and matching compile-time and run-time libuv
      versions have been tightened for libuv versions between
      1.35.0 and 1.40.0. [GL #3840]

[bug] dnssec-cds failed to cleanup properly. [GL #3831]

[bug] Source ports configured for query-source,
      transfer-source, etc, were being ignored. (This
      feature is deprecated, but it is not yet removed,
      so the bug still needed fixing.) [GL #3790]

(From OE-Core rev: 29010c32f0e0f00b31e32a7c275a532688ddaf9d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 51ab191224aa1320d622bf79184940afa3910d60)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Wang Mingyu
c7133ecad7 apr: upgrade 1.7.2 -> 1.7.3
Changelog:
===========
  *) apr-1-config: Fix crosscompiling detection in apr-1-config. PR 66510
  *) configure: Add --enable-sysv-shm to use SysV shared memory (shmget) if
     available.
  *) apr_socket_sendfile: Use WSAIoctl() to get TransmitFile function
     pointer on Windows.
  *) apr_dir_read: Do not request short file names on Windows 7
     and later.
  *) apr_file_gets: Optimize for buffered files on Windows.
  *) Fix a deadlock when writing to locked files opened with APR_FOPEN_APPEND
     on Windows. PR 50058.
  *) Don't seek to the end when opening files with APR_FOPEN_APPEND on Windows.
  *) apr_file_write: Optimize large writes to buffered files on Windows.
  *) apr_file_write: Optimize large reads from buffered files on Windows.

(From OE-Core rev: fbf46e497ee9500fb95f2b619e0024d03ad50c1f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1bee38556441fbff9a4e39942271001ec620416b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Khem Raj
67f34911b8 cargo: Fix build on musl/riscv
libc needs fix for defining scope of SOCK_SEQPACKET

(From OE-Core rev: 5497a382a5f5ffd5449637953685d8b44ae0405d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 378da16ebe2917f26f9fe8cf654bced09ec6ecfe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Jan Vermaete
e6eea3249e cve-update-nvd2-native: added the missing http import
(From OE-Core rev: 02ce3cc9d4b197c3df57b727aa5f7eff59091e37)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 39d2cde7eb922cb0a2cf9402cd8b3ae3b4cc2f62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Yoann Congal
98eb7954c6 cve-extra-exclusions: linux-yocto: ignore fixed CVE-2023-1652 & CVE-2023-1829
CVE-2023-1652 & CVE-2023-1829 are fixed by all version used by
linux-yocto.

Fixing commits are not referenced by NVD but are referenced by:
* https://www.linuxkernelcves.com
* Debian kernel-sec team
... this should be trust worthy enough.

(From OE-Core rev: 4c395cfd5edd42e81ef7aa89df8be7e9291ea89c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
(cherry picked from commit 8f9d6c5b0238641313387c139442566752a1d25d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Pawan Badganchi
ab60045c61 tiff: Add fix for CVE-2022-4645
Below patch fixes the CVE-2022-4645 as well.

0001-Revised-handling-of-TIFFTAG_INKNAMES-and-related-TIF.patch

Link: https://nvd.nist.gov/vuln/detail/CVE-2022-4645

(From OE-Core rev: 2fb604272f6b0c94c5616323ed973918c22b8389)

Signed-off-by: Pawan Badganchi <Pawan.Badganchi@kpit.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 312393edf0aa5b2c515c08245d1c289ba79bad55)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Ross Burton
f95bbd3ef6 connman: backport fix for CVE-2023-28488
(From OE-Core rev: 6ae794bfd0db6028c79c36d2fef47471916b357c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:16:50 -10:00
Michael Opdenacker
ddb298ce89 ref-manual: variables.rst: don't mention the INIT_MANAGER "none" option
As it is mainly used for internal purposes, so not necessarily useful
for regular users.

OE-core "nodistro" uses it as a fallback to the default setting.

(From yocto-docs rev: aa4d4034707d7c74488678e77d4f45d65782b2a7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 13:53:14 +01:00
Michael Halstead
d68f8623be docs: add support for mickledore (4.2) release
This adds support for the Mickledore (4.2) release and update the
current dev branch to Nanbield.

(From yocto-docs rev: 5321befbfdc014d469b298bdd5b31d684231b2cb)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-04 13:53:14 +01:00
Michael Opdenacker
7692dce85a ref-manual: system-requirements.rst: fix AlmaLinux variable name
(From yocto-docs rev: d84b771e2ca22fa7dd9525dc515d3972035366eb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:09 +01:00
Michael Opdenacker
387df791fe dev-manual: init-manager.rst: add summary
Comparing init managers by features

(From yocto-docs rev: 1039bbe55b5b7375e8dd969940bbd656115a5ab0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:09 +01:00
Lee Chee Yang
772fdfb114 release-notes-4.2: remove/merge duplicates entries
(From yocto-docs rev: 6e4b1af0fed2b59909ac9db1be2aaf3e3b542b0c)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:09 +01:00
Michael Opdenacker
7c3b868a28 ref-manual: variables.rst: document KERNEL_DANGLING_FEATURES_WARN_ONLY
(From yocto-docs rev: dc59b636bb4319a3af552bce84929ddb22a479fb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:09 +01:00
Michael Opdenacker
2c2ab20c21 manuals: expand init manager documentation
- Add details about INIT_MANAGER
  Correct the fact that "none" currently generates
  an image with "sysvinit", at least on Poky.
  This behaviour should probably be changed.

- Expand the "Selecting an Initialization Manager" section.

- Stop mentioning "rescue image" generation, as this
  is not detailed anywhere else.

(From yocto-docs rev: fd99f2753b50b7ad6133b787b90331fcb3a35152)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:09 +01:00
Michael Opdenacker
4a1c9c4eb1 migration-guides: fixes and improvements to 4.2 release notes
- Remove empty subsections (detailed elsewhere)
- Fix bullet list syntax (missing leading empty line)
- Fix a few CVE URLs
- Add some references
- Minor font and case fixes

(From yocto-docs rev: ec63abf8b67458ad9f8d8942e0c327d3de93eef9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:09 +01:00
Michael Opdenacker
833761c898 migration-guides: release-notes-4.0.9.rst: add missing SPDX info
(From yocto-docs rev: 59b6dcc2ea952a76df96b6b8ae80cce5dcae4161)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:09 +01:00
Michael Opdenacker
050c75f8a3 ref-manual: add "Mixin" term
Also add a target (and use) a target
for the "Long Term Support Release" section.

(From yocto-docs rev: 98d6f2066fcdb20e63b8da6ed52d0f3590b15195)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:09 +01:00
Michael Opdenacker
f65afa2ef0 overview-manual: development-environment: update text and screenshots
- Reduce the importance of https://downloads.yoctoproject.org/releases
  (mostly obsolete), mention only
  https://downloads.yoctoproject.org/releases/yocto/

- Update the corresponding text, especially the names of the components.

- Update screenshots.

(From yocto-docs rev: 9b2eb5f19f6121406ff7b72b846554f3016bc789)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:08 +01:00
Michael Opdenacker
7d464df227 manuals: document SPDX_CUSTOM_ANNOTATION_VARS
(From yocto-docs rev: 5811f4eb3e73aa5f8ca90e40ec6559a6d4d58fa3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Saul Wold <Saul.Wold@windriver.com>
CC: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:08 +01:00
Michael Opdenacker
3ac07c43a1 overview-manual: update section about source archives
Except the "yocto" and "uninative" directories, everything
under https://downloads.yoctoproject.org/releases/, in particular
"bitbake".

Point to https://downloads.yoctoproject.org/releases/yocto/
instead for people interested in tar archives.

Simplify the description too, unnecessarily verbose.

(From yocto-docs rev: 502b00003b1c84d7b419f01b87a6ab6a121a7ad9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:08 +01:00
Michael Opdenacker
a9fa7412c7 ref-manual: variables.rst: add wikipedia shortcut for "getty"
(From yocto-docs rev: 2f07fddce909d13a7175e713118af7730e2e5529)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:08 +01:00
Michael Opdenacker
55838bb626 ref-manual: remove unused and obsolete file
(From yocto-docs rev: 707596c89e42b222df1f1659eb39a7574fba95e9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:08 +01:00
Michael Opdenacker
edb884a7ed ref-manual: classes.rst: document devicetree.bbclass
This addresses [YOCTO #15092]

(From yocto-docs rev: f65816f5ea62e6c4301c0bd0c6aad91110963f9e)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-05-03 11:46:08 +01:00
Lee Chee Yang
878271e1a1 release-notes-4.2: update RC3 changes
also fix typo for CVE-2023-24532.

(From yocto-docs rev: daafb70e6d60fd7d00c8de736eca2c430db77ee8)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-26 15:59:51 +01:00
Richard Purdie
21790e71d5 build-appliance-image: Update to mickledore head revision
(From OE-Core rev: c57d1a561db563ed2f521bbac5fc12d4ac8e11a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 11:11:56 +01:00
Richard Purdie
b8007d3c22 build-appliance-image: Update to mickledore head revision
(From OE-Core rev: c5e485619396d1af61bf11e93382f962a1f2141c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 11:11:45 +01:00
Xiangyu Chen
bca7ec652f shadow: backport patch to fix CVE-2023-29383
The fix of CVE-2023-29383.patch contains a bug that it rejects all
characters that are not control ones, so backup another patch named
"0001-Overhaul-valid_field.patch" from upstream to fix it.

(From OE-Core rev: b51e2c04daa4089f0aeabd9af197cc2f59f69a2b)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 11:11:45 +01:00
Richard Purdie
f73e712b6b build-appliance-image: Update to mickledore head revision
(From OE-Core rev: cd1e6a37cf18ae46c5be6ac9c66ad1b8c4685390)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 11:06:48 +01:00
Ross Burton
60012ae54a go: backport fix for CVE-2023-24537
(From OE-Core rev: 6b5a3cc1c8c5c6591fb02612869e6725c010ca13)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 11:05:21 +01:00
Ross Burton
45ccdcfcbc screen: backport fix for CVE-2023-24626
(From OE-Core rev: 05c7f446ca790f3695d04665aad118e42b7a52be)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 11:05:21 +01:00
Ross Burton
8b3b075dd5 xserver-xorg: backport fix for CVE-2023-1393
(From OE-Core rev: 7828f7026b4cd3ae97ebe5d849c09fabbc17272d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 11:05:21 +01:00
Paul Eggleton
c3248e0da1 release-notes-4.2: add release notes
Add new features, upgrades, CVEs, contributors and license changes
based upon combing through the commits in the release. I haven't yet
noted any known issues.

Note: I had to add the upgrades list from the commits rather than from
the layer index this time (as the branch comparison feature is
unfortunately broken there at the moment), thus the format is a little
different.

(From yocto-docs rev: 4d6807e34adf5d92d9b6e5852736443a867c78fa)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
65cc65fa8d release-notes-4.1: fix some CVE links
The "(ignored)" suffixes were included in the link value which broke the
link.

(From yocto-docs rev: bff0fb0e39f69101f036ddbc27a82c15047bdbcd)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
410290c2f5 migration-guides: extend migration guide for 4.2
* Reorder and extend existing info a little
* Add additional sections after combing through changes

(From yocto-docs rev: 337d35d85b5b4361655549ea7eb6fdf5f55e7506)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
ea2feb23bc dev/ref-manual: Document INIT_MANAGER
The INIT_MANAGER variable was added in 3.0 but it seems we didn't get
around to documenting it yet. I have added a variable glossary entry and
made the basic adjustment of the "Using systemd Exclusively" section in
the dev manual, however I think the latter section still needs work.

(From yocto-docs rev: 602c0e8f770516256dab04edfd887377303c06bb)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
eb292619e7 ref-manual: move Initramfs entry from variables to terms
It looks like this was accidentally added to the variable glossary
instead of the terms list, so move it to the latter.

(From yocto-docs rev: c9829dcae18cd2cb5f008081d841ca995b76b8bf)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
b93e695de6 ref-manual: add SDK_ARCHIVE_TYPE
This appears to have been introduced back in 2019, but we missed
documenting it.

(From yocto-docs rev: 064a5d84890416362a1a7a337347abbe9afe485d)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
338bc72e4d ref-manual: add section link also to buildtools-extended entry
I realise it's already in the buildtools entry above, but for
completeness let's add it to the buildtools-extended entry as well.

(From yocto-docs rev: d9db1d380120e976a30e9eddb86b391084178c94)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
3c0b78802d ref-manual: add FIT_CONF_DEFAULT_DTB
New variable in 4.2.

(From yocto-docs rev: 1228ce16a33bd6f00e5399e4c381be808a272281)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
23d946b9ba ref-manual: document new patch-status-* QA checks
Newly added in 4.2.

(From yocto-docs rev: 12e576fb6a932c4089651371c71c61fd1e96cd48)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
1b9bcc7b19 ref-manual: add missing QA checks from previous releases
This section needs to be kept in sync with the "QA Error and Warning
Messages" section (qa-checks.rst) - this is the other direction that
tells folks what all of the values in WARN_QA / ERROR_QA are intended
to do. Add the ones that we missed adding here for previous releases,
and also use a proper reference for the buildhistory class in the entry
for version-going-backwards.

(From yocto-docs rev: 356a6e650bb1de66b806142f75a03bda57972a94)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
1d4d5371ec ref-manual: Remove references to package_tar class
This has been removed in 4.2.

(From yocto-docs rev: a5dcaf95915deec5243ab2fd0711c63e98b2a661)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
4f833991c2 migration-guides: Add coverage of addpylib directive
To complement what I am adding to the BitBake reference manual, add a
section in the 4.2 migration guide, a reference in the structure section
of the reference manual (where we talk about meta/lib) and adjust the
release notes item to be a little more concise.

(From yocto-docs rev: 0903e82a9da263c6d64aead03407eb377eb5bbfe)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
e55e243f84 ref-manual: add BB_CACHEDIR
New in 4.2 (pointer to BitBake manual, changes sent separately for
that).

(From yocto-docs rev: a2112eb3f1084040ad48e392075297b4630b93e1)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
20c58a6cb2 dev/ref-manual: Remove references to INC_PR
This technique is no longer used (nor necessary), let's just remove it
to avoid any confusion.

(From yocto-docs rev: 8f50d0bf22fea8064c112f52df06dbd6a85a7a83)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
c3c439d62a ref-manual: update for IMAGE_MACHINE_SUFFIX addition
IMAGE_MACHINE_SUFFIX is a new variable in 4.2, and there were some
associated changes to how IMAGE_NAME, IMAGE_LINK_NAME,
INITRAMFS_IMAGE_NAME and KERNEL_ARTIFACT_NAME are set by default. As a
result, instead of repeating how KERNEL_ARTIFACT_NAME is set by default,
let's just direct people to the entry for that variable so we only have
to update one place.

At the same time I noticed INITRAMFS_IMAGE_NAME  was not documented at
all, so add that in.

(From yocto-docs rev: d53bf2878a268fb71785c73053e3657436f3f5ba)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
bdf37e43b0 ref-manual: Add new RUST_CHANNEL variable
Newly added for 4.2.

(From yocto-docs rev: 89b583413e616aafa5f853a7631cac0f97d387db)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Paul Eggleton
958d52f37b ref-manual: add new SDK_ZIP_OPTIONS variable
Newly added for 4.2.

(From yocto-docs rev: e599d82cb3377900632182d216925a2aa44d3989)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:59:12 +01:00
Michael Opdenacker
42a6d47754 migration-guides: update 4.2 migration and release notes
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Frederic Martinsons <frederic.martinsons@gmail.com>
CC: Marta Rybczynska <rybczynska@gmail.com>
CC: Paul Eggleton <paul.eggleton@linux.microsoft.com>
CC: Alex Kiernan <alex.kiernan@gmail.com>
CC: Alexis Lothoré <alexis.lothore@bootlin.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:58:05 +01:00
Lee Chee Yang
64111246ce migration-guides: add release-notes for 4.0.9
(From yocto-docs rev: cc2f1a4a106d36ec99b7c1bedfcc876839c0c20b)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:42:58 +01:00
Bruce Ashfield
b1b4ad9a80 linux-yocto/5.15: update to v5.15.108
Updating  to the latest korg -stable release that comprises
the following commits:

    3299fb36854f Linux 5.15.108
    adef0cebea85 nvme-pci: avoid the deepest sleep state on ZHITAI TiPro5000 SSDs
    c6897dfe2bb6 counter: Add the necessary colons and indents to the comments of counter_compi
    fa934784fb65 counter: fix docum. build problems after filename change
    0cf283340023 panic, kexec: make __crash_kexec() NMI safe
    9e1e511119b1 kexec: turn all kexec_mutex acquisitions into trylocks
    6fc7a53fcc4c nvme-pci: add NVME_QUIRK_BOGUS_NID for T-FORCE Z330 SSD
    fa43e0591900 nvme-pci: mark Lexar NM760 as IGNORE_DEV_SUBNQN
    a814fc9e6e59 nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM760
    972e06d09e86 nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM610
    cf773832139b nvme-pci: Crucial P2 has bogus namespace ids
    5a19b9a49aea nvme-pci: avoid the deepest sleep state on ZHITAI TiPro7000 SSDs
    65f5dc5dff29 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG GAMMIX S50
    3daaa5f7aae2 i2c: ocores: generate stop condition after timeout in polling mode
    0af686415ca2 x86/rtc: Remove __init for runtime functions
    b11ff3ef4d09 sched/fair: Fix imbalance overflow
    90e3dc510106 sched/fair: Move calculate of avg_load to a better location
    6d1353781bba powerpc/papr_scm: Update the NUMA distance table for the target node
    0b031f5983f8 ubi: Fix deadlock caused by recursively holding work_sem
    85d7a7044b75 ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size
    f0b4a4086cf2 mptcp: stricter state check in mptcp_worker
    925e1a510a2e mptcp: use mptcp_schedule_work instead of open-coding it
    f4f2a1d491e9 cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()
    19c7f9329bdb x86/PCI: Add quirk for AMD XHCI controller that loses MSI-X state in D3hot
    05143d90ac90 scsi: ses: Handle enclosure with just a primary component gracefully
    aaae6d303150 net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow
    b1ca14361d49 net: phy: nxp-c45-tja11xx: add remove callback
    0359e505bcd7 net: sfp: initialize sfp->i2c_block_size at sfp allocation
    a42f565c0e96 riscv: add icache flush for nommu sigreturn trampoline
    6eeb1cba4c9d drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
    9b344cf6aea0 i915/perf: Replace DRM_DEBUG with driver specific drm_dbg call
    6b337a13c144 tracing: Have tracing_snapshot_instance_cond() write errors to the appropriate instance
    1403518ed0d9 tracing: Add trace_array_puts() to write into instance
    670e54151b7a counter: 104-quad-8: Fix Synapse action reported for Index signals
    6e25d374cd95 counter: Internalize sysfs interface code
    c4153e662883 counter: stm32-timer-cnt: Provide defines for slave mode selection
    4c1010848b12 counter: stm32-lptimer-cnt: Provide defines for clock polarities
    189ada57e88c ACPI: resource: Add Medion S17413 to IRQ override quirk
    248a18a895e2 wifi: iwlwifi: mvm: fix mvmtxq->stopped handling
    0efd9ed92926 asymmetric_keys: log on fatal failures in PE/pkcs7
    ae2b44aeade1 verify_pefile: relax wrapper length check
    744f80ae0716 drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F
    05a24344296e efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L
    0f9d2fc58824 i2c: hisi: Avoid redundant interrupts
    d21a46212009 i2c: imx-lpi2c: clean rx/tx buffers upon new message
    8451da304b4a wifi: mwifiex: mark OF related data as maybe unused
    9aeff275b7f7 power: supply: cros_usbpd: reclassify "default case!" as debug
    788f4a3d3987 ARM: 9290/1: uaccess: Fix KASAN false-positives
    53967ac8080b libbpf: Fix single-line struct definition output in btf_dump
    906a6689bb01 skbuff: Fix a race between coalescing and releasing SKBs
    7ccc58a1a756 net: macb: fix a memory corruption in extended buffer descriptor mode
    ed2ec39e46fe udp6: fix potential access to stale information
    e97ff11b396c RDMA/core: Fix GID entry ref leak when create_ah fails
    6109f5b13ce3 sctp: fix a potential overflow in sctp_ifwdtsn_skip
    c6a796ee5a63 net: qrtr: Fix an uninit variable access bug in qrtr_tx_resume()
    9b1ca43bcf3d qlcnic: check pci_reset_function result
    ffa4f32952e2 drm/armada: Fix a potential double free in an error handling path
    a94f5d35fdbb tcp: restrict net.ipv4.tcp_app_win
    a08ec4ed3b6e niu: Fix missing unwind goto in niu_alloc_channels()
    e35ae49bc198 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition
    b41da67451b0 bpf: tcp: Use sock_gen_put instead of sock_put in bpf_iter_tcp
    48e8e7851dc0 RDMA/cma: Allow UD qp_type to join multicast only
    1569a4cdb973 IB/mlx5: Add support for 400G_8X lane speed
    f6711bc5c016 RDMA/irdma: Add ipv4 check to irdma_find_listener()
    c8c7a7aee861 RDMA/irdma: Increase iWARP CM default rexmit count
    810250c9c661 RDMA/irdma: Fix memory leak of PBLE objects
    aa2607bae45f clk: sprd: set max_register according to mapping range
    0004a50c535f drm/i915/dsi: fix DSS CTL register offsets for TGL+
    1bb4a52c3caa KVM: arm64: PMU: Restore the guest's EL0 event counting after migration
    c7acce3a0eeb mtd: rawnand: stm32_fmc2: use timings.mode instead of checking tRC_min
    7233b5baba10 mtd: rawnand: stm32_fmc2: remove unsupported EDO mode
    5ded9b750f30 mtd: rawnand: meson: fix bitmask for length in command word
    0162836a51bb mtdblock: tolerate corrected bit-flips
    ad574345ce26 fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace
    a55a95365e08 btrfs: fix fast csum implementation detection
    6da03c237d56 btrfs: print checksum type and implementation at mount time
    0efb276d5848 Bluetooth: Fix race condition in hidp_session_thread
    ac6725a634f7 Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
    d98498ad5695 ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
    c5797c87e74e ALSA: emu10k1: don't create old pass-through playback device on Audigy
    f1ef453157b4 ALSA: firewire-tascam: add missing unwind goto in snd_tscm_stream_start_duplex()
    7901d787e455 ALSA: i2c/cs8427: fix iec958 mixer control deactivation
    d8697aa12ae6 ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
    34a0ada0a8b2 ALSA: emu10k1: fix capture interrupt handler unlinking
    55e4eef5545d Revert "pinctrl: amd: Disable and mask interrupts on resume"

(From OE-Core rev: 5339d44b0b0b23f30cb0f8ab395da62e83733c40)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:31:18 +01:00
Bruce Ashfield
e9af582acd linux-yocto/6.1: update to v6.1.25
Updating  to the latest korg -stable release that comprises
the following commits:

    f17b0ab65d17 Linux 6.1.25
    243d9f3a1101 cgroup/cpuset: Add cpuset_can_fork() and cpuset_cancel_fork() methods
    e33ab28395d3 cgroup/cpuset: Make cpuset_fork() handle CLONE_INTO_CGROUP properly
    ff5a4fe2598e cgroup/cpuset: Skip spread flags update on v2
    1058e9a130ce nvme-pci: add NVME_QUIRK_BOGUS_NID for T-FORCE Z330 SSD
    dfae73fafd72 nvme-pci: mark Lexar NM760 as IGNORE_DEV_SUBNQN
    f4523cd4986f cifs: fix negotiate context parsing
    8f09ece19c22 i2c: ocores: generate stop condition after timeout in polling mode
    6f5758fd2edf x86/rtc: Remove __init for runtime functions
    31c5ad43bdd1 sched/fair: Fix imbalance overflow
    98c77adf519d powerpc/papr_scm: Update the NUMA distance table for the target node
    9277d0e5889c i2c: mchp-pci1xxxx: Update Timing registers
    50eb90da4fa0 ubi: Fix deadlock caused by recursively holding work_sem
    3dce44039b62 ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size
    aff9099e9c51 mptcp: stricter state check in mptcp_worker
    4d433920eb5e mptcp: use mptcp_schedule_work instead of open-coding it
    1f93ed9a6841 drm/amd/pm: correct SMU13.0.7 max shader clock reporting
    8464a01508f4 drm/amd/pm: correct SMU13.0.7 pstate profiling clock settings
    a746ad276b2e cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()
    f06c9b01540c cgroup/cpuset: Fix partition root's cpuset.cpus update bug
    53244494bfcb cgroup: fix display of forceidle time at root
    226f6410fd43 x86/PCI: Add quirk for AMD XHCI controller that loses MSI-X state in D3hot
    f8e702c54413 scsi: ses: Handle enclosure with just a primary component gracefully
    c918d0bc687c net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow
    4fb1a978a373 net: phy: nxp-c45-tja11xx: add remove callback
    4b3101989e19 net: sfp: initialize sfp->i2c_block_size at sfp allocation
    6c8cc40c588f HID: intel-ish-hid: Fix kernel panic during warm reset
    5d12b36d72bb riscv: add icache flush for nommu sigreturn trampoline
    a2f6ded41bec ksmbd: avoid out of bounds access in decode_preauth_ctxt()
    2128f7c00fa5 maple_tree: fix write memory barrier of nodes once dead for RCU mode
    f58574f238c3 tracing: Have tracing_snapshot_instance_cond() write errors to the appropriate instance
    5620eeb379d1 tracing: Add trace_array_puts() to write into instance
    41afd2473dc4 KVM: SVM: Flush Hyper-V TLB when required
    d8b1253f223c x86/hyperv: KVM: Rename "hv_enlightenments" to "hv_vmcb_enlightenments"
    8eb5ca7f344e KVM: SVM: Add a proper field for Hyper-V VMCB enlightenments
    38b091c8a3f2 KVM: selftests: Move "struct hv_enlightenments" to x86_64/svm.h
    59ef934fcc52 x86/hyperv: Move VMCB enlightenment definitions to hyperv-tlfs.h
    6e999e45ab1c ACPI: resource: Add Medion S17413 to IRQ override quirk
    8c1e247907b9 drm/amdgpu/gfx: set cg flags to enter/exit safe mode
    b4efb6af93ca drm/amdgpu: Force signal hw_fences that are embedded in non-sched jobs
    df27bcd0cf2b drm/amdgpu: add mes resume when do gfx post soft reset
    6c2103d9a88e wifi: iwlwifi: mvm: protect TXQ list manipulation
    742ae1a6c65d wifi: iwlwifi: mvm: fix mvmtxq->stopped handling
    bb0cf2bd6363 nvme: send Identify with CNS 06h only to I/O controllers
    3221808c1c6e asymmetric_keys: log on fatal failures in PE/pkcs7
    d29a47b456fd verify_pefile: relax wrapper length check
    9d482a09acd3 hwmon: (xgene) Fix ioremap and memremap leak
    f2226c840f8d hwmon: (peci/cputemp) Fix miscalculated DTS for SKX
    1fe2ed70c054 drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F
    25d36216b160 ACPI: video: Add backlight=native DMI quirk for Acer Aspire 3830TG
    cec44fdfbdd6 block: ublk_drv: mark device as LIVE before adding disk
    09b1f40a4ea2 efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L
    a1cfba541300 i2c: hisi: Avoid redundant interrupts
    bd51c04b7e18 i2c: imx-lpi2c: clean rx/tx buffers upon new message
    bf7d62cac546 wifi: mwifiex: mark OF related data as maybe unused
    3565e0b6bca5 selftests/bpf: Fix progs/find_vma_fail1.c build error.
    ac5866fcb6f5 power: supply: axp288_fuel_gauge: Added check for negative values
    d71b48d5b181 power: supply: cros_usbpd: reclassify "default case!" as debug
    43bba80efd07 power: supply: rk817: Fix unsigned comparison with less than zero
    eb365d1f507d ARM: dts: qcom: apq8026-lg-lenok: add missing reserved memory
    19fdbc60b6be ARM: 9290/1: uaccess: Fix KASAN false-positives
    8a5342878429 libbpf: Fix single-line struct definition output in btf_dump
    71850b5af92d skbuff: Fix a race between coalescing and releasing SKBs
    9412a9bf5952 net: macb: fix a memory corruption in extended buffer descriptor mode
    ecdf42c23f3f udp6: fix potential access to stale information
    6985701e628a selftests: openvswitch: adjust datapath NL message declaration
    370280c65c28 RDMA/core: Fix GID entry ref leak when create_ah fails
    5c9367ac5a22 sctp: fix a potential overflow in sctp_ifwdtsn_skip
    bef57c227b52 net: qrtr: Fix an uninit variable access bug in qrtr_tx_resume()
    3756171b97c3 cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex
    eabf778f9b21 net: wwan: iosm: Fix error handling path in ipc_pcie_probe()
    f517b5ee826a qlcnic: check pci_reset_function result
    09f4dec1f6ac drm/armada: Fix a potential double free in an error handling path
    a3f1344a7644 Bluetooth: Set ISO Data Path on broadcast sink
    2fcfd51add22 Bluetooth: SCO: Fix possible circular locking dependency sco_sock_getsockopt
    99f1bc32ebcb Bluetooth: Fix printing errors if LE Connection times out
    7c90d78301f8 Bluetooth: hci_conn: Fix not cleaning up on LE Connection failure
    644b3051b06b net: openvswitch: fix race on port output
    d10c951191af iavf: remove active_cvlans and active_svlans bitmaps
    aa0f377c9b00 iavf: refactor VLAN filter states
    4f6c08c2323b bonding: fix ns validation on backup slaves
    9d7765638fd8 tcp: restrict net.ipv4.tcp_app_win
    53a22fa7f9c2 niu: Fix missing unwind goto in niu_alloc_channels()
    24da5765d1ed KVM: arm64: Advertise ID_AA64PFR0_EL1.CSV2/3 to protected VMs
    361b02e68181 KVM: arm64: Initialise hypervisor copies of host symbols unconditionally
    8b9c64942ada bpf, arm64: Fixed a BTI error on returning to patched function
    c4002b9d5e83 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition
    b7abd535881a dmaengine: apple-admac: Fix 'current_tx' not getting freed
    fdbd0392352c dmaengine: apple-admac: Set src_addr_widths capability
    c7bb085947c3 dmaengine: apple-admac: Handle 'global' interrupt flags
    37b39345b952 LoongArch, bpf: Fix jit to skip speculation barrier opcode
    db9c9086d362 bpf: tcp: Use sock_gen_put instead of sock_put in bpf_iter_tcp
    02eabb635bc6 RDMA/cma: Allow UD qp_type to join multicast only
    74f4471ad642 clk: rs9: Fix suspend/resume
    132918e08e86 RDMA/erdma: Defer probing if netdevice can not be found
    d682c9bc41fa RDMA/erdma: Inline mtt entries into WQE if supported
    3570f3cc4aab RDMA/erdma: Update default EQ depth to 4096 and max_send_wr to 8192
    9554a6b5e2ec IB/mlx5: Add support for 400G_8X lane speed
    6ea322a1ee6a RDMA/irdma: Add ipv4 check to irdma_find_listener()
    ad960ae9f56a RDMA/irdma: Increase iWARP CM default rexmit count
    ee02fa4a71bd RDMA/irdma: Fix memory leak of PBLE objects
    6d61b0cc2ade RDMA/irdma: Do not generate SW completions for NOPs
    b8f3162579e1 clk: sprd: set max_register according to mapping range
    8d901a336302 drm/i915/dsi: fix DSS CTL register offsets for TGL+
    b15df140fe09 fbcon: set_con2fb_map needs to set con2fb_map!
    93aa242f598e fbcon: Fix error paths in set_con2fb_map
    d6c4dfb62d55 KVM: arm64: PMU: Restore the guest's EL0 event counting after migration
    3ad491459d4a mtd: rawnand: stm32_fmc2: use timings.mode instead of checking tRC_min
    1029642ce63e mtd: rawnand: stm32_fmc2: remove unsupported EDO mode
    4efb01e9e3f4 mtd: rawnand: meson: fix bitmask for length in command word
    205c503c8920 mtdblock: tolerate corrected bit-flips
    d5392c1c64f9 fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace
    874cf0b2c0a8 btrfs: fix fast csum implementation detection
    3103c0781257 btrfs: restore the thread_pool= behavior in remount for the end I/O workqueues
    8c4b65f6c707 Bluetooth: hci_conn: Fix possible UAF
    4290d89ae934 Bluetooth: Free potentially unfreed SCO connection
    ba7d93969275 bluetooth: btbcm: Fix logic error in forming the board name.
    f6719fd8f409 Bluetooth: Fix race condition in hidp_session_thread
    348d446762e7 Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
    71964e93fcb1 ALSA: hda/hdmi: disable KAE for Intel DG2
    d5c9d46f1c1d ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
    cd65ce6696b2 ALSA: emu10k1: don't create old pass-through playback device on Audigy
    8456a96c6b3b ALSA: firewire-tascam: add missing unwind goto in snd_tscm_stream_start_duplex()
    97d70398126d ALSA: hda/realtek: Add quirks for Lenovo Z13/Z16 Gen2
    474f951fb2f8 ALSA: hda: patch_realtek: add quirk for Asus N7601ZM
    165182b56569 ALSA: i2c/cs8427: fix iec958 mixer control deactivation
    721cdcb7a53b ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
    409f3e57fd2b ALSA: emu10k1: fix capture interrupt handler unlinking
    779fd2a575cc drm/amd/display: Pass the right info to drm_dp_remove_payload
    8b1700d79f9e Revert "pinctrl: amd: Disable and mask interrupts on resume"

(From OE-Core rev: f3a422f02113cda2aa7872e350e468bdb447c8c3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:31:18 +01:00
Bruce Ashfield
0a75b4afc8 linux-yocto/5.15: update to v5.15.107
Updating  to the latest korg -stable release that comprises
the following commits:

    4fdad925aa1a Linux 5.15.107
    c862d7debe55 bpftool: Print newline before '}' for struct with padding only fields
    1585f3fc24b5 ocfs2: fix freeing uninitialized resource on ocfs2_dlm_shutdown
    b97e4100be37 kbuild: fix single directory build
    326b80bd2267 mm: take a page reference when removing device exclusive entries
    1fc9263ad795 drm/bridge: lt9611: Fix PLL being unable to lock
    4bdf1514b426 mm/swap: fix swap_info_struct race between swapoff and get_swap_pages()
    cbe5f7fed7f7 ring-buffer: Fix race while reader and writer are on the same page
    23ed5af5767a drm/nouveau/disp: Support more modes by checking with lower bpc
    6f2180c5273a drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path
    a184df0de132 mm: vmalloc: avoid warn_alloc noise caused by fatal signal
    d88d7a9fcf20 ASoC: hdac_hdmi: use set_stream() instead of set_tdm_slots()
    33d5d4e67a0e tracing: Free error logs of tracing instances
    c74065da695e can: isotp: isotp_ops: fix poll() to not report false EPOLLOUT events
    4fe1d9b6231a can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access
    0af8fae81d8b fs: drop peer group ids under namespace lock
    33a503b7c339 ftrace: Fix issue that 'direct->addr' not restored in modify_ftrace_direct()
    20c5e10950e9 ftrace: Mark get_lock_parent_ip() __always_inline
    a007b7dc19de perf/core: Fix the same task check in perf_event_set_output
    8417eb9aaf1e cifs: sanitize paths in cifs_update_super_prepath.
    df23c702d11c smb3: lower default deferred close timeout to address perf regression
    1d9cad9c5873 smb3: allow deferred close timeout to be configurable
    5e5c5f472972 scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()
    ae73c4dd48f2 scsi: qla2xxx: Fix memory leak in qla2x00_probe_one()
    c8c17991dab0 iio: adc: ad7791: fix IRQ flags
    bc61cce6a658 coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug
    97302eb6ca48 coresight: etm4x: Do not access TRCIDR1 for identification
    fd23e9bbfccc ALSA: hda/realtek: Add quirk for Clevo X370SNW
    f204f38212dc ksmbd: do not call kvmalloc() with __GFP_NORETRY | __GFP_NO_WARN
    091b3e31275b dt-bindings: serial: renesas,scif: Fix 4th IRQ for 4-IRQ SCIFs
    d540aea451ab nilfs2: fix sysfs interface lifetime
    92684e02654c nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread()
    ba3a88b444cd tty: serial: fsl_lpuart: avoid checking for transfer complete when UARTCTRL_SBK is asserted in lpuart32_tx_empty
    ad142624ccc3 tty: serial: sh-sci: Fix Rx on RZ/G2L SCI
    1184bd5c5ee4 tty: serial: sh-sci: Fix transmit end interrupt handler
    1f49173be32d iio: light: cm32181: Unregister second I2C client if present
    77593b4e963c iio: dac: cio-dac: Fix max DAC write value check for 12-bit
    73742a446e08 iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip
    7a1e21d26104 iio: adis16480: select CONFIG_CRC32
    4d3841fe16c4 USB: serial: option: add Quectel RM500U-CN modem
    7151d2af0656 USB: serial: option: add Telit FE990 compositions
    e1aa1c1bc51f usb: typec: altmodes/displayport: Fix configure initial pin assignment
    9cd66aa2fa04 USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs
    f8d59e2a36ac usb: dwc3: pci: add support for the Intel Meteor Lake-S
    11453332fa40 usb: cdnsp: Fixes error: uninitialized symbol 'len'
    83637720ea20 xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu
    1122474b757a usb: xhci: tegra: fix sleep in atomic call
    f5c5934580e7 kbuild: refactor single builds of *.ko
    e62d179b9177 gve: Secure enough bytes in the first TX desc for all TCP pkts
    40c6802d7dae ethtool: reset #lanes when lanes is omitted
    4eada1dabdfb ice: Reset FDIR counter in FDIR init stage
    391d28c0e38c ice: fix wrong fallback logic for FDIR
    e215928a510c NFSD: callback request does not use correct credential for AUTH_SYS
    bbca64f2052e sunrpc: only free unix grouplist after RCU settles
    ca7c3b4ae03e net: stmmac: fix up RX flow hash indirection table when setting channels
    3a997c0d2341 net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe
    0ae8cdf0153c gpio: davinci: Add irq chip flag to skip set wake
    1c19a42b2863 platform/x86: think-lmi: Clean up display of current_value on Thinkstation
    cccdb30935c8 platform/x86: think-lmi: Fix memory leaks when parsing ThinkStation WMI strings
    b9396d991abe platform/x86: think-lmi: Fix memory leak when showing current settings
    d65ff2fe877c ipv6: Fix an uninit variable access bug in __ip6_make_skb()
    926c8299ac3d net: qrtr: Do not do DEL_SERVER broadcast after DEL_CLIENT
    667eb99cf7c1 sctp: check send stream number after wait_for_sndbuf
    9692e16b5991 net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit
    5d1007e81fb6 net: don't let netpoll invoke NAPI if in xmit context
    e150a5c9f44c icmp: guard against too small mtu
    a64160124d5a NFSD: Avoid calling OPDESC() with ops->opnum == OP_ILLEGAL
    b9ba5906c420 net: qrtr: Fix a refcount bug in qrtr_recvmsg()
    3ef52e4bcfd7 net: qrtr: combine nameservice into main module
    30c5a016a37a wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta
    32a8dc8d9ebe KVM: s390: pv: fix external interruption loop not always detected
    fcd6c7476e43 pwm: sprd: Explicitly set .polarity in .get_state()
    a8ab13c73259 pwm: cros-ec: Explicitly set .polarity in .get_state()
    c373e49fbb87 Drivers: vmbus: Check for channel allocation before looking up relids
    b50cd6789dbb gpio: GPIO_REGMAP: select REGMAP instead of depending on it
    0a473f834393 bpf: hash map, avoid deadlock with suitable hash mask
    543d66a54dbf serial: exar: Add support for Sealevel 7xxxC serial cards
    7773bb08e8b6 serial: 8250_exar: derive nr_ports from PCI ID for Acces I/O cards
    c73db89da686 iavf/iavf_main: actually log ->src mask when talking about it
    b2d29830db30 iavf: return errno code instead of status code
    cdf3f5ef1893 platform/x86: int3472/discrete: Ensure the clk/power enable pins are in output mode
    7798cd69cfc3 platform/x86: int3472: Split into 2 drivers
    5cc70e78bbcc RDMA/irdma: Do not request 2-level PBLEs for CQ alloc
    c22ac849aabb NFSD: pass range end to vfs_fsync_range() instead of count
    34a14759d90c NFSD: Fix sparse warning
    8059e200259e ocfs2: fix memory leak in ocfs2_mount_volume()
    b613d8dcdff3 ocfs2: rewrite error handling of ocfs2_fill_super
    05abe9c0bf38 ocfs2: ocfs2_mount_volume does cleanup job before return error

(From OE-Core rev: 214643f386a3e4f226acd25903cde14a2c0a7376)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:31:18 +01:00
Bruce Ashfield
d109d6452f linux-yocto/6.1: update to v6.1.24
Updating  to the latest korg -stable release that comprises
the following commits:

    0102425ac76b Linux 6.1.24
    77e41187a387 bpftool: Print newline before '}' for struct with padding only fields
    1c87a6f82a4e mm: enable maple tree RCU mode by default.
    9b6627bc36aa maple_tree: add RCU lock checking to rcu callback functions
    a29025a1b61c maple_tree: add smp_rmb() to dead node detection
    d3af5f8a50dd maple_tree: remove extra smp_wmb() from mas_dead_leaves()
    cc2f2507f3f0 maple_tree: fix freeing of nodes in rcu mode
    5f7c59126498 maple_tree: detect dead nodes in mas_start()
    3825e4495bcc maple_tree: refine ma_state init from mas_start()
    64cb480523b4 maple_tree: be more cautious about dead nodes
    0a0372d1d234 maple_tree: fix mas_prev() and mas_find() state handling
    19d8f782e380 maple_tree: fix handle of invalidated state in mas_wr_store_setup()
    2c9bc4903b96 maple_tree: reduce user error potential
    f41e9e69277b maple_tree: fix potential rcu issue
    edc5a4e880fa maple_tree: remove GFP_ZERO from kmem_cache_alloc() and kmem_cache_alloc_bulk()
    0b73b8ac30c3 mm: take a page reference when removing device exclusive entries
    726825297dd6 drm/i915: Split icl_color_commit_noarm() from skl_color_commit_noarm()
    64244a900ddf drm/i915: Use _MMIO_PIPE() for SKL_BOTTOM_COLOR
    0a3e21976517 drm/bridge: lt9611: Fix PLL being unable to lock
    1297278ce239 drm/i915/dp_mst: Fix payload removal during output disabling
    0c64d72fd3f2 drm/display/dp_mst: Handle old/new payload states in drm_dp_remove_payload()
    62de38c8201d drm/amdgpu: skip psp suspend for IMU enabled ASICs mode2 reset
    73ca74fc7ab6 drm/amdgpu: for S0ix, skip SDMA 5.x+ suspend/resume
    245525543f48 drm/amd/display: Clear MST topology if it fails to resume
    414207ff47d1 blk-throttle: Fix that bps of child could exceed bps limited in parent
    240bb94f3510 maple_tree: fix a potential concurrency bug in RCU mode
    4f5760757fa2 maple_tree: fix get wrong data_end in mtree_lookup_walk()
    f042ee354c82 mm/hugetlb: fix uffd wr-protection for CoW optimization path
    85cc118ce6f1 mm/swap: fix swap_info_struct race between swapoff and get_swap_pages()
    3663f5d5bb1f ring-buffer: Fix race while reader and writer are on the same page
    240b15027088 drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
    4e29fb89f771 drm/i915: Fix context runtime accounting
    e53d28a6df0e drm/nouveau/disp: Support more modes by checking with lower bpc
    3c260efd82f5 drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path
    b4b37727bc78 ublk: read any SQE values upfront
    94dd3a274bf5 wifi: mt76: ignore key disable commands
    ef6bd8f64ce0 mm: vmalloc: avoid warn_alloc noise caused by fatal signal
    0d33aa43516a zsmalloc: document freeable stats
    dc48648699c7 tracing/synthetic: Make lastcmd_mutex static
    14d34eb9b076 ASoC: hdac_hdmi: use set_stream() instead of set_tdm_slots()
    c0cf0f55be04 tracing: Free error logs of tracing instances
    1ea5f8d1facd tracing/osnoise: Fix notify new tracing_max_latency
    162e6e6ff25f tracing/timerlat: Notify new max thread latency
    9fe183f659a2 tracing/synthetic: Fix races on freeing last_cmd
    101e8e6bbae5 net: stmmac: Add queue reset into stmmac_xdp_open() function
    106e64a2e6a5 ACPI: video: Add acpi_backlight=video quirk for Lenovo ThinkPad W530
    1c2842a7fdac ACPI: video: Add acpi_backlight=video quirk for Apple iMac14,1 and iMac14,2
    9610adf8b2c8 ACPI: video: Make acpi_backlight=video work independent from GPU driver
    be12e390c246 ACPI: video: Add auto_detect arg to __acpi_video_get_backlight_type()
    b14abd688714 can: isotp: isotp_recvmsg(): use sock_recv_cmsgs() to get SOCK_RXQ_OVFL infos
    f0bfe06c5569 can: isotp: isotp_ops: fix poll() to not report false EPOLLOUT events
    db3f6340a7eb can: isotp: fix race between isotp_sendsmg() and isotp_release()
    4c3fb22a6ec6 can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access
    ddca03d97daa fs: drop peer group ids under namespace lock
    3caa69378107 ftrace: Fix issue that 'direct->addr' not restored in modify_ftrace_direct()
    68973c84ea23 ftrace: Mark get_lock_parent_ip() __always_inline
    023036e38923 perf/core: Fix the same task check in perf_event_set_output
    a2eb778aacea block: don't set GD_NEED_PART_SCAN if scan partition failed
    231a49460ac0 block: ublk: make sure that block size is set correctly
    fb9ec305e764 cifs: sanitize paths in cifs_update_super_prepath.
    012c045d6128 nvme: fix discard support without oncs
    6e06a68fbbfc scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()
    44374911ac63 scsi: qla2xxx: Fix memory leak in qla2x00_probe_one()
    ac48787f58d1 io_uring: fix memory leak when removing provided buffers
    bd4081fa1cd9 io_uring: fix return value when removing provided buffers
    9f03d09b090c iio: adc: ad7791: fix IRQ flags
    9c8fb43419a9 blk-mq: directly poll requests
    5a62d771e514 counter: 104-quad-8: Fix Synapse action reported for Index signals
    6284b686c276 counter: 104-quad-8: Fix race condition between FLAG and CNTR reads
    e3d2f71fbf09 coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug
    13ec3c238f4b coresight: etm4x: Do not access TRCIDR1 for identification
    54df8e39ce25 mm: kfence: fix handling discontiguous page
    476699a8a739 mm: kfence: fix PG_slab and memcg_data clearing
    dc54e4ea3190 KVM: nVMX: Do not report error code when synthesizing VM-Exit from Real Mode
    5f35a72fcc8b KVM: x86: Clear "has_error_code", not "error_code", for RM exception injection
    da429cddabe0 x86/ACPI/boot: Use FADT version to check support for online capable
    29e8d76446e8 x86/acpi/boot: Correct acpi_is_processor_usable() check
    cc53c92b7c96 ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
    f66a18f8915c ALSA: hda/realtek: Add quirk for Clevo X370SNW
    a8334a0c535d ksmbd: fix slab-out-of-bounds in init_smb2_rsp_hdr
    c1f461ed5d24 ksmbd: do not call kvmalloc() with __GFP_NORETRY | __GFP_NO_WARN
    e736180eaf03 serial: 8250: Prevent starting up DMA Rx on THRI interrupt
    4230a94cbe37 dt-bindings: serial: renesas,scif: Fix 4th IRQ for 4-IRQ SCIFs
    1942ccb7d95f nilfs2: fix sysfs interface lifetime
    bae009a2f1b7 nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread()
    b347d5474225 tty: serial: fsl_lpuart: avoid checking for transfer complete when UARTCTRL_SBK is asserted in lpuart32_tx_empty
    0fd57dd7a79d tty: serial: sh-sci: Fix Rx on RZ/G2L SCI
    2a6dd54da5de tty: serial: sh-sci: Fix transmit end interrupt handler
    85c3acbeef41 iio: light: cm32181: Unregister second I2C client if present
    9ba3466e6336 iio: buffer: make sure O_NONBLOCK is respected
    1658d973b2f8 iio: buffer: correctly return bytes written in output buffers
    59d667d7ae46 iio: dac: cio-dac: Fix max DAC write value check for 12-bit
    c723a410a497 iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip
    a09eb53a18f9 iio: adc: qcom-spmi-adc5: Fix the channel name
    a876adf4ad6d iio: adis16480: select CONFIG_CRC32
    b3ea2426cc22 drivers: iio: adc: ltc2497: fix LSB shift
    2fc866050751 USB: serial: option: add Quectel RM500U-CN modem
    f91b9490a72c USB: serial: option: add Telit FE990 compositions
    9339f4b67417 usb: typec: altmodes/displayport: Fix configure initial pin assignment
    f2dc47de2874 USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs
    0105bcb9e555 usb: dwc3: pci: add support for the Intel Meteor Lake-S
    095eb65bba30 usb: cdnsp: Fixes error: uninitialized symbol 'len'
    167c05646f67 xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu
    745dbe21daf7 xhci: Free the command allocated for setting LPM if we return early
    130c61c516cd usb: xhci: tegra: fix sleep in atomic call
    2a0e0f4773fe PCI/DOE: Fix memory leak with CONFIG_DEBUG_OBJECTS=y
    87f2d92fc892 PCI/DOE: Silence WARN splat with CONFIG_DEBUG_OBJECTS=y
    5f625160b67f cxl/pci: Handle excessive CDAT length
    0d8dc8993a8d cxl/pci: Handle truncated CDAT entries
    ff7edd1ac643 cxl/pci: Handle truncated CDAT header
    021544721f49 cxl/pci: Fix CDAT retrieval on big endian
    435a319e3cc1 net: stmmac: check fwnode for phy device before scanning for phy
    70f1913824fd arm64: compat: Work around uninitialized variable warning
    332e7f93f112 gve: Secure enough bytes in the first TX desc for all TCP pkts
    e3bcf2a77060 netlink: annotate lockless accesses to nlk->max_recvmsg_len
    23a4bc3a2cec ethtool: reset #lanes when lanes is omitted
    5a08a32e6249 ping: Fix potentail NULL deref for /proc/net/icmp.
    b34056bedf04 raw: Fix NULL deref in raw_get_next().
    53a0031217c9 raw: use net_hash_mix() in hash function
    73b99db789ef ice: Reset FDIR counter in FDIR init stage
    aad3b871efe2 ice: fix wrong fallback logic for FDIR
    6460fee86abf NFSD: callback request does not use correct credential for AUTH_SYS
    94ef35dd2ea1 sunrpc: only free unix grouplist after RCU settles
    710392fd6546 net: stmmac: fix up RX flow hash indirection table when setting channels
    b29e7b24de18 net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe
    c35f0a48fbd0 gpio: davinci: Add irq chip flag to skip set wake
    8309ca6f09b2 gpio: davinci: Do not clear the bank intr enable bit in save_context
    73e863aa2505 platform/x86: think-lmi: Clean up display of current_value on Thinkstation
    081da7b1c881 platform/x86: think-lmi: Fix memory leaks when parsing ThinkStation WMI strings
    9071525bfcb1 platform/x86: think-lmi: Fix memory leak when showing current settings
    2c9cefc142c1 ipv6: Fix an uninit variable access bug in __ip6_make_skb()
    ef5fa4de4cac net: qrtr: Do not do DEL_SERVER broadcast after DEL_CLIENT
    d2128636b303 sctp: check send stream number after wait_for_sndbuf
    90c29c00b156 net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit
    e48e6a4652c5 net: don't let netpoll invoke NAPI if in xmit context
    8354db058092 ALSA: hda/hdmi: Preserve the previous PCM device upon re-enablement
    0185e87c69af icmp: guard against too small mtu
    b623a8e5d38a nfsd: call op_release, even when op_func returns an error
    ffcbcf087581 NFSD: Avoid calling OPDESC() with ops->opnum == OP_ILLEGAL
    0d2a6a508b9f wifi: brcmfmac: Fix SDIO suspend/resume regression
    0f638a3d1b61 l2tp: generate correct module alias strings
    c951c392a9d8 net: stmmac: remove redundant fixup to support fixed-link mode
    1aca718e1a84 net: stmmac: check if MAC needs to attach to a PHY
    2b15feabc95b net: phylink: add phylink_expects_phy() method
    aa95efa187b4 net: qrtr: Fix a refcount bug in qrtr_recvmsg()
    022c8320d9eb wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta
    c46239e6295c wifi: mac80211: fix the size calculation of ieee80211_ie_len_eht_cap()
    1d797b152ca3 KVM: s390: pv: fix external interruption loop not always detected
    84f940586845 ASoC: codecs: lpass: fix the order or clks turn off during suspend
    6f62d2d396f1 pwm: meson: Explicitly set .polarity in .get_state()
    c6af1a3ae767 pwm: sprd: Explicitly set .polarity in .get_state()
    116a17f97764 pwm: iqs620a: Explicitly set .polarity in .get_state()
    8a3a6a0aca8c pwm: cros-ec: Explicitly set .polarity in .get_state()
    98ba763cc91c pwm: hibvt: Explicitly set .polarity in .get_state()
    547cc8dae247 pwm: Make .get_state() callback return an error code
    eafd3967b9e7 ASoC: SOF: ipc4: Ensure DSP is in D0I0 during sof_ipc4_set_get_data()
    8c3f0ae5435f Drivers: vmbus: Check for channel allocation before looking up relids
    8df93c8da532 gpio: GPIO_REGMAP: select REGMAP instead of depending on it
    74347b99d4eb KVM: arm64: PMU: Don't save PMCR_EL0.{C,P} for the vCPU
    3d8c8a9ad53e KVM: arm64: PMU: Sanitise PMCR_EL0.LP on first vcpu run
    508d71a67708 KVM: arm64: PMU: Distinguish between 64bit counter and 64bit overflow
    eb3df961021b KVM: arm64: PMU: Align chained counter implementation with architecture pseudocode
    5d70c2e2f973 dm: fix improper splitting for abnormal bios
    83ee6b272942 dm: change "unsigned" to "unsigned int"
    32bde86816aa dm integrity: Remove bi_sector that's only used by commented debug code
    6b1af0115f41 dm cache: Add some documentation to dm-cache-background-tracker.h

(From OE-Core rev: 441db89b1736e25416b84e56211381ef61e02ceb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:31:18 +01:00
Bruce Ashfield
18d1bcefec linux-yocto/5.15: update to v5.15.106
Updating  to the latest korg -stable release that comprises
the following commits:

    d86dfc4d95cd Linux 5.15.106
    06a948b8347c x86/PVH: avoid 32-bit build warning when obtaining VGA console info
    3abdf6d71fdb hsr: ratelimit only when errors are printed
    fcc09ef87e79 libbpf: Fix btf_dump's packed struct determination
    74059587b25d selftests/bpf: Add few corner cases to test padding handling of btf_dump
    c74ae8678dfa libbpf: Fix BTF-to-C converter's padding logic
    17a61d1e9431 selftests/bpf: Test btf dump for struct with padding only fields
    6777291c7b14 zonefs: Fix error message in zonefs_file_dio_append()
    71ab5c1d506d KVM: x86: Purge "highest ISR" cache when updating APICv state
    61e0863dc8dd KVM: x86: Inject #GP on x2APIC WRMSR that sets reserved bits 63:32
    4483dc41d123 KVM: VMX: Move preemption timer <=> hrtimer dance to common x86
    a58d4e66712b s390/uaccess: add missing earlyclobber annotations to __clear_user()
    1dfccde646aa KVM: arm64: Disable interrupts while walking userspace PTs
    25e74e728168 drm/amd/display: Add DSC Support for Synaptics Cascaded MST Hub
    3bfedfdbf92b drm/etnaviv: fix reference leak when mmaping imported buffer
    fd1f48613e9f rcu: Fix rcu_torture_read ftrace event
    9097ba15ea5c xtensa: fix KASAN report for show_stack
    8861429f883e ALSA: hda/realtek: Add quirk for Lenovo ZhaoYang CF4620Z
    77ab3e5f9873 ALSA: hda/realtek: Add quirks for some Clevo laptops
    f775413ffeff ALSA: usb-audio: Fix regression on detection of Roland VS-100
    b39d42ed67d5 ALSA: hda/conexant: Partial revert of a quirk for Lenovo
    305a171cf617 NFSv4: Fix hangs when recovering open state after a server reboot
    7624973bc15b powerpc: Don't try to copy PPR for task with NULL pt_regs
    3a9510113f5b pinctrl: at91-pio4: fix domain name assignment
    6c1bc7b50e02 pinctrl: amd: Disable and mask interrupts on resume
    45ed4e5149e8 net: phy: dp83869: fix default value for tx-/rx-internal-delay
    0f75ef136169 xen/netback: don't do grant copy across page boundary
    8a581b71cf68 can: j1939: prevent deadlock by moving j1939_sk_errqueue()
    a3373a681d9a zonefs: Always invalidate last cached page on append write
    c1310fc7abe6 btrfs: scan device in non-exclusive mode
    c976f9233ef9 btrfs: fix race between quota disable and quota assign ioctls
    1484852ca152 Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
    b64305185b76 cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
    0a2e0baf3677 cifs: prevent infinite recursion in CIFSGetDFSRefer()
    a5075c097de1 Input: focaltech - use explicitly signed char type
    cf43bc826159 Input: alps - fix compatibility with -funsigned-char
    16c951f3eba4 iommu/vt-d: Allow zero SAGAW if second-stage not supported
    e4fbeaa31362 pinctrl: ocelot: Fix alt mode for ocelot
    76f09582a191 net: ethernet: mtk_eth_soc: fix flow block refcounting logic
    9caf3cbf1224 net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only
    4c6c0e8510a2 bnxt_en: Add missing 200G link speed reporting
    c519174366a3 bnxt_en: Fix typo in PCI id to device description string mapping
    24722a0e0925 bnxt_en: Fix reporting of test result in ethtool selftest
    3e3654bf679f i40e: fix registers dump after run ethtool adapter self test
    8d7b0b22ea22 net: ipa: compute DMA pool size properly
    81d2a7e93c83 ALSA: ymfpci: Fix BUG_ON in probe function
    95642872c466 ALSA: ymfpci: Create card with device-managed snd_devm_card_new()
    9cb4f23e4f7a ice: fix invalid check for empty list in ice_sched_assoc_vsi_to_agg()
    938eba5b434d ice: add profile conflict check for AVF FDIR
    0ea60b230d19 smsc911x: avoid PHY being resumed when interface is not up
    41f77a6d9841 net: mvpp2: parser fix PPPoE
    ec117d22f143 net: mvpp2: parser fix QinQ
    18d6e95fbb08 net: mvpp2: classifier flow fix fragmentation flags
    aa45d3dd74e9 loop: LOOP_CONFIGURE: send uevents for partitions
    83ee49ab185d loop: suppress uevents while reconfiguring the device
    aa2bff25e9bb s390/vfio-ap: fix memory leak in vfio_ap device driver
    bf70e0eab64c can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
    959348f7c300 platform/x86/intel/pmc: Alder Lake PCH slp_s0_residency fix
    c8e7ff3071bf drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state
    61e2e6d444cd net: stmmac: don't reject VLANs when IFF_PROMISC is set
    2d5cebf57296 net/net_failover: fix txq exceeding warning
    829a0d013c00 regulator: Handle deferred clk
    75155f4d8dcd r8169: fix RTL8168H and RTL8107E rx crc error
    4597e104a365 net: dsa: microchip: ksz8863_smi: fix bulk access
    c0de1a26e659 ptp_qoriq: fix memory leak in probe()
    d84796008a89 scsi: mpt3sas: Don't print sense pool info twice
    27b1ae000bf1 scsi: megaraid_sas: Fix crash after a double completion
    d63a83146d25 sfc: ef10: don't overwrite offload features at NIC reset
    7ea88e90dabb SUNRPC: fix shutdown of NFS TCP client socket
    34c554376ec9 mtd: rawnand: meson: invalidate cache on polling ECC bit
    dae47bf0222e platform/x86: think-lmi: Add possible_values for ThinkStation
    e91ffea491af platform/x86: think-lmi: only display possible_values if available
    fbfd5f59fa5c platform/x86: think-lmi: use correct possible_values delimiters
    2c67f08bdc5f platform/x86: think-lmi: add missing type attribute
    cb1baad60e5d ALSA: usb-audio: Fix recursive locking at XRUN during syncing
    65b723644294 mips: bmips: BCM6358: disable RAC flush for TP1
    e38b0ab9dba3 ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()
    5362344e1c2c tracing: Fix wrong return in kprobe_event_gen_test.c
    19c71156fa92 tools/power turbostat: fix decoding of HWP_STATUS
    f8580c0a3279 tools/power turbostat: Fix /dev/cpu_dma_latency warnings
    6494344d7ef7 fbdev: au1200fb: Fix potential divide by zero
    f9c5deee4b66 fbdev: lxfb: Fix potential divide by zero
    86c8db5d12f4 fbdev: intelfb: Fix potential divide by zero
    c22a8d3ae54a fbdev: nvidia: Fix potential divide by zero
    9de1325bc2cc sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
    f9584dcc5549 fbdev: tgafb: Fix potential divide by zero
    d23f65f08247 ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
    cb1bc1223906 ALSA: asihpi: check pao in control_message()
    1ec57d1bed38 net: hsr: Don't log netdev_err message on unknown prp dst node
    4e90e52616f6 x86/PVH: obtain VGA console info in Dom0
    5175ed17a5a8 md: avoid signed overflow in slot_store()
    da35a4e6eee5 ASoC: codecs: tx-macro: Fix for KASAN: slab-out-of-bounds
    0725daaa9a87 xfrm: Zero padding when dumping algos and encap
    7258c58f6e25 bus: imx-weim: fix branch condition evaluates to a garbage value
    07987422023e ksmbd: don't terminate inactive sessions after a few seconds
    0c873ab68fcb kcsan: avoid passing -g for test
    b27e663cf1e5 kernel: kcsan: kcsan_test: build without structleak plugin
    1450c82a16bb usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC
    1536e51c30ad usb: dwc3: gadget: move cmd_endtransfer to extra function
    0f7fddb5a9b7 fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY
    c957cbb87315 Linux 5.15.105
    ec5b78143535 NFSD: fix use-after-free in __nfs42_ssc_open()
    a9e53869cb43 ocfs2: fix data corruption after failed write
    5229bb42fba2 mm: kfence: fix using kfence_metadata without initialization in show_object()
    7a74603c248d sched/fair: Sanitize vruntime of entity being migrated
    ab938a0c81eb sched/fair: sanitize vruntime of entity being placed
    1ac20290f6b4 dm crypt: avoid accessing uninitialized tasklet
    eb485b7404a2 dm crypt: add cond_resched() to dmcrypt_write()
    443c9d522397 dm stats: check for and propagate alloc_percpu failure
    272dc775a52f i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
    8e69fae32e88 firmware: arm_scmi: Fix device node validation for mailbox transport
    02b296978a21 tee: amdtee: fix race condition in amdtee_open_session
    9c7ee9471550 riscv: Handle zicsr/zifencei issues between clang and binutils
    c10023682096 riscv: mm: Fix incorrect ASID argument when flushing TLB
    555ec88c75ad drm/i915: Preserve crtc_state->inherited during state clearing
    476b3f03dca8 drm/i915/active: Fix missing debug object activation
    ef3c38f33b62 drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi
    fdd5b4e37200 drm/meson: fix missing component unbind on bind errors
    071a69cde196 drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found
    5bb105cc72be nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
    8ec5e996c2f8 wifi: mac80211: fix qos on mesh interfaces
    51a8534c0f35 ksmbd: return unsupported error on smb1 mount
    496e186bc005 ksmbd: return STATUS_NOT_SUPPORTED on unsupported smb2.0 dialect
    604a4a6f8414 ksmbd: set FILE_NAMED_STREAMS attribute in FS_ATTRIBUTE_INFORMATION
    52e7ac849971 KVM: x86: hyper-v: Avoid calling kvm_make_vcpus_request_mask() with vcpu_mask==NULL
    6f682b070f46 kfence: avoid passing -g for test
    7dd27aed9c45 usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
    27c40c3aa4b0 usb: chipidea: core: fix possible concurrent when switch role
    ef74a7ffe77c usb: chipdea: core: fix return -EINVAL if request role is the same with current role
    76e8bd0f5544 usb: cdnsp: changes PCI Device ID to fix conflict with CNDS3 driver
    e4df290deb33 usb: cdnsp: Fixes issue with redundant Status Stage
    5662d139e6e1 usb: cdns3: Fix issue with using incorrect PCI device function
    bb579b3f75c6 usb: typec: tcpm: fix warning when handle discover_identity message
    0f84b0b71179 dm thin: fix deadlock when swapping to thin device
    66e5577cabc3 igb: revert rtnl_lock() that causes deadlock
    a179d3450c0c arm64: dts: imx8mm-nitrogen-r2: fix WM8960 clock name
    ed1869a25286 lockd: set file_lock start and end when decoding nlm4 testargs
    0bfadbbcd7a5 fsverity: Remove WQ_UNBOUND from fsverity read workqueue
    992a3f3e8a0c fscrypt: destroy keyring after security_sb_delete()
    287bb9a918e2 mm/slab: Fix undefined init_cache_node_node() for NUMA and !SMP
    408dcd7c3883 efi: sysfb_efi: Fix DMI quirks not working for simpledrm
    b131989797f7 usb: gadget: u_audio: don't let userspace block driver unbind
    cba76e1fb896 usb: dwc2: fix a devres leak in hw_enable upon suspend resume
    c83f7ba71d38 scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
    df0462e4b361 cifs: print session id while listing open files
    9a45df4ec39b cifs: empty interface list when server doesn't support query interfaces
    169a41073993 act_mirred: use the backlog for nested calls to mirred ingress
    5b347652aebd net/sched: act_mirred: better wording on protection against excessive stack growth
    f6cf5f13fa5b sh: sanitize the flags on sigreturn
    91bcae3df2a4 net: usb: qmi_wwan: add Telit 0x1080 composition
    f631af07cfc9 net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
    41b67e621b93 scsi: storvsc: Handle BlockSize change in Hyper-V VHD/VHDX file
    60643ef5a139 scsi: lpfc: Avoid usage of list iterator variable after loop
    67b8343998b8 scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()
    d758f543cea2 scsi: ufs: core: Add soft dependency on governor_simpleondemand
    0267cd047133 scsi: hisi_sas: Check devm_add_action() return value
    83e7b1db4523 scsi: target: iscsi: Fix an error message in iscsi_check_key()
    40c216efb327 selftests/bpf: check that modifier resolves after pointer
    8bf8d5dade4c m68k: Only force 030 bus error if PC not in exception table
    8c1d378b8c22 HID: intel-ish-hid: ipc: Fix potential use-after-free in work function
    d143e327c972 ca8210: fix mac_len negative array access
    3056af1a2d46 HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded
    3e9aac5e935f drm/cirrus: NULL-check pipe->plane.state->fb in cirrus_pipe_update()
    a4c639012ad0 riscv: Bump COMMAND_LINE_SIZE value to 1024
    c2cf47dc0822 ACPI: x86: utils: Add Cezanne to the list for forcing StorageD3Enable
    8dc1c6efd7d2 thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit
    a74a2e124c48 thunderbolt: Use const qualifier for `ring_interrupt_index`
    752007df40ca thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access
    8f7525a8b98c thunderbolt: Disable interrupt auto clear for rings
    56cba129dd11 thunderbolt: Call tb_check_quirks() after initializing adapters
    d50a527b4815 thunderbolt: Use scale field when allocating USB3 bandwidth
    7ab026561cb0 uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
    d6f7377528d2 scsi: qla2xxx: Perform lockless command completion in abort path
    6295b3ec64a3 scsi: qla2xxx: Synchronize the IOCB count to be in order
    f1e2ab24c4ea hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
    5662f50cd9e9 hwmon: fix potential sensor registration fail if of_node is missing
    8f6b943f9fc9 entry/rcu: Check TIF_RESCHED _after_ delayed RCU wake-up
    eb57d0dcd5da entry: Snapshot thread flags
    d9c53eb46217 thread_info: Add helpers to snapshot thread flags
    ebea2e16504f platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl
    8efae2112d91 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
    c35fd1b9b90a Bluetooth: L2CAP: Fix responding with wrong PDU type
    b203ee4be2f1 Bluetooth: btqcomsmd: Fix command timeout after setting BD address
    771d3c1c949b net: mdio: thunder: Add missing fwnode_handle_put()
    b433fbf17603 net: dsa: mt7530: move setting ssc_delta to PHY_INTERFACE_MODE_TRGMII case
    01c727402ddc net: dsa: mt7530: move lowering TRGMII driving to mt7530_setup()
    5163bb8e4c6b net: dsa: mt7530: move enabling disabling core clock to mt7530_pll_setup()
    a76d35f3448c gve: Cache link_speed value from device
    c33344b79722 ksmbd: fix possible refcount leak in smb2_open()
    96039c44ae47 ksmbd: add low bound validation to FSCTL_QUERY_ALLOCATED_RANGES
    d897216325d7 ksmbd: add low bound validation to FSCTL_SET_ZERO_DATA
    7a83bb6d56a5 hvc/xen: prevent concurrent accesses to the shared ring
    29e80d7964cf nvme-tcp: fix nvme_tcp_term_pdu to match spec
    c7037dea19f0 net/sonic: use dma_mapping_error() for error check
    b41f37dbd9cd erspan: do not use skb_mac_header() in ndo_start_xmit()
    4a8286baf22e atm: idt77252: fix kmemleak when rmmod idt77252
    48f52431af99 net: dsa: tag_brcm: legacy: fix daisy-chained switches
    388188fb58be net/mlx5: E-Switch, Fix an Oops in error handling code
    6068a6db3a96 net/mlx5: Read the TC mapping of all priorities on ETS query
    4df1f2d36bdc net/mlx5: Fix steering rules cleanup
    2b0f1716c107 net/mlx5e: Set uplink rep as NETNS_LOCAL
    54869daa6a43 bpf: Adjust insufficient default bpf_jit_limit
    9b2e9105230f i40e: fix flow director packet filter programming
    7a29799fc141 iavf: fix hang on reboot with ice
    ce19c70f308f keys: Do not cache key in task struct if key is requested from kernel thread
    0cb68c307e72 bootconfig: Fix testcase to increase max node
    90874b76e5f8 octeontx2-vf: Add missing free for alloc_percpu
    77d2f5ff9365 net/ps3_gelic_net: Use dma_mapping_error
    cc8531d0e223 net/ps3_gelic_net: Fix RX sk_buff length
    8c4a180dc123 net: qcom/emac: Fix use after free bug in emac_remove due to race condition
    e686b78a003a drm/i915/gt: perform uc late init after probe error injection
    cbb8bac2388a net: mdio: fix owner field for mdio buses registered using ACPI
    b94af62cdd50 net: mdio: fix owner field for mdio buses registered using device-tree
    0bdf593390e7 net: phy: Ensure state transitions are processed from phy_stop()
    4ab9e85a5ce0 xirc2ps_cs: Fix use after free bug in xirc2ps_detach
    e42d3bde4ec0 qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
    ba6c40227108 net: usb: smsc95xx: Limit packet length to skb->len
    9bbb3d3f218f net: dsa: b53: mmap: fix device tree support
    9311e7a554df scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
    257738627a9b i2c: hisi: Only use the completion interrupt to finish the transfer
    c0deddabb278 i2c: imx-lpi2c: check only for enabled interrupt flags
    b82b0a0eea27 igc: fix the validation logic for taprio's gate list
    68ebdcba619a igbvf: Regard vf reset nack as success
    9630432b427f intel/igbvf: free irq on the error path in igbvf_request_msix()
    2afe7aebf642 iavf: fix non-tunneled IPv6 UDP packet type and hashing
    078e049c49a6 iavf: fix inverted Rx hash condition leading to disabled hash
    3cfc3564411a xsk: Add missing overflow check in xdp_umem_reg
    1d59b8fae0c3 arm64: dts: imx8mn: specify #sound-dai-cells for SAI nodes
    98c9bca167e6 ARM: dts: imx6sl: tolino-shine2hd: fix usbotg1 pinctrl
    ed5f3c0b95bd ARM: dts: imx6sll: e60k02: fix usbotg1 pinctrl
    0fdb1cc4fe52 power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
    4ca3fd39c72e power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition
    10ce6db6253d power: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
    0b54d75aa43a net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
    2ebe231abaf1 trace/hwlat: Do not start per-cpu thread if it is already running
    7743dd873f2a trace/hwlat: make use of the helper function kthread_run_on_cpu()
    909c5eb6ed76 kthread: add the helper function kthread_run_on_cpu()
    09b51f10bc1f serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it
    cfb64de61f07 serial: 8250: SERIAL_8250_ASPEED_VUART should depend on ARCH_ASPEED
    90530e7214c8 tty: serial: fsl_lpuart: fix race on RX DMA shutdown
    b7d0fbe4976d tty: serial: fsl_lpuart: switch to new dmaengine_terminate_* API
    90a77bca4240 serial: fsl_lpuart: Fix comment typo
    bde1ae240751 tracing/hwlat: Replace sched_setaffinity with set_cpus_allowed_ptr
    5255e6d49ff9 perf: fix perf_event_context->time
    ac5f88642cb2 perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
    d2430d45f1a0 interconnect: qcom: osm-l3: fix icc_onecell_data allocation
    115472395b0a Linux 5.15.104
    de3ef7ba684a perf: Fix check before add_event_to_groups() in perf_group_detach()
    02904e8a2f65 HID: uhid: Over-ride the default maximum data buffer value with our own
    3df32812eb4b HID: core: Provide new max_buffer_size attribute to over-ride the default
    ffe2318405e6 PCI/DPC: Await readiness of secondary bus after reset
    09795f82aecc PCI: Unify delay handling for reset and resume
    f4ba55411cc8 io_uring: avoid null-ptr-deref in io_arm_poll_handler
    6ab7d3361755 drm/i915/active: Fix misuse of non-idle barriers as fence trackers
    71dffdd4764c drm/i915: Don't use stolen memory for ring buffers with LLC
    86db319d25db x86/resctrl: Clear staged_config[] before and after it is used
    0186f7656940 x86/mm: Fix use of uninitialized buffer in sme_enable()
    09d3a46c8c02 x86/mce: Make sure logged MCEs are processed after sysfs update
    8575c98224b2 cpuidle: psci: Iterate backwards over list in psci_pd_remove()
    b3d042638049 net: phy: nxp-c45-tja11xx: fix MII_BASIC_CONFIG_REV bit
    f3de49782612 trace/hwlat: Do not wipe the contents of per-cpu thread data
    cb72b4bd81b9 fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
    e9cdd3f722b6 mmc: sdhci_am654: lower power-on failed message severity
    b02de083c7c7 mm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage
    87b9ac7bd301 ice: avoid bonding causing auxiliary plug/unplug under RTNL lock
    520e134431ac nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV3000
    2a0d71fabfeb ftrace: Fix invalid address access in lookup_rec() when index is 0
    ad7f9c6982b1 mptcp: fix lockdep false positive in mptcp_pm_nl_create_listen_socket()
    f4afee17de43 mptcp: avoid setting TCP_CLOSE state twice
    64473c18d27a mptcp: add ro_after_init for tcp{,v6}_prot_override
    c1df4bed3d91 mptcp: fix possible deadlock in subflow_error_report
    ccf44ffbbf25 drm/amd/pm: Fix sienna cichlid incorrect OD volage after resume
    64ef8aa3910b drm/sun4i: fix missing component unbind on bind errors
    5cfb617967b0 drm/shmem-helper: Remove another errant put in error path
    d1d826954475 riscv: asid: Fixup stale TLB entry cause application crash
    aeefcfc57978 Revert "riscv: mm: notify remote harts about mmu cache updates"
    882cbe0c5d6a ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro
    36d75e1f7357 ALSA: hda: intel-dsp-config: add MTL PCI id
    9c2f09add608 KVM: nVMX: add missing consistency checks for CR0 and CR4
    77fcc52d2919 cifs: Fix smb2_set_path_size()
    9b9a118cc428 tracing: Make tracepoint lockdep check actually test something
    2846bf67cd24 tracing: Check field value in hist_field_name()
    2dd00dbc6a5a tracing: Make splice_read available again
    fd4738ae1a0c interconnect: exynos: fix node leak in probe PM QoS error path
    2e0b13a18272 interconnect: fix mem leak when freeing nodes
    62b74cf8bcee s390/ipl: add missing intersection check to ipl_report handling
    86afb633beaa firmware: xilinx: don't make a sleepable memory allocation from an atomic context
    250a11f9c43b serial: 8250_fsl: fix handle_irq locking
    4c23bf093449 serial: 8250_em: Fix UART port type
    53a5ab3a8991 tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
    1c93c42c7bb2 ext4: fix possible double unlock when moving a directory
    bec1bea2fa97 drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
    f9252605b8f3 sh: intc: Avoid spurious sizeof-pointer-div warning
    0fc608a115ce net/9p: fix bug in client create for .L
    2fece63b55c5 drm/amdkfd: Fix an illegal memory access
    1aec41c98cce ext4: fix task hung in ext4_xattr_delete_inode
    499fef2030fb ext4: update s_journal_inum if it changes after journal replay
    088da6b80539 ext4: fail ext4_iget if special inode unallocated
    eccd017165db jffs2: correct logic when creating a hole in jffs2_write_begin
    4392e87c47e8 mmc: atmel-mci: fix race between stop command and start of next command
    0c511f926b00 media: m5mols: fix off-by-one loop termination error
    233058efee02 hwmon: (ltc2992) Set `can_sleep` flag for GPIO chip
    b576de01da80 hwmon: (adm1266) Set `can_sleep` flag for GPIO chip
    c80b2acdb049 kconfig: Update config changed flag before calling callback
    52f64c5fc0d6 hwmon: tmp512: drop of_match_ptr for ID table
    3f3576e25bfe hwmon: (ucd90320) Add minimum delay between bus accesses
    9cc4aa40b58c hwmon: (ina3221) return prober error code
    7091951c2ca9 hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition
    a8e42dbfc493 hwmon: (adt7475) Fix masking of hysteresis registers
    d1f4eda1ae85 hwmon: (adt7475) Display smoothing attributes in correct order
    93c8cbeb1b2b bonding: restore bond's IFF_SLAVE flag if a non-eth dev enslave fails
    d424c7b1c478 bonding: restore IFF_MASTER/SLAVE flags on bond enslave ether type change
    8a1ce024f1f6 ethernet: sun: add check for the mdesc_grab()
    030393041f8c qed/qed_mng_tlv: correctly zero out ->min instead of ->hour
    a7836253349e selftests: net: devlink_port_split.py: skip test if no suitable device available
    3cfdefdaaa4b net/iucv: Fix size of interrupt data
    7bf0eac3fdd2 net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
    c99779740100 ipv4: Fix incorrect table ID in IOCTL path
    340dd8f1942a sh_eth: avoid PHY being resumed when interface is not up
    d5236286398d ravb: avoid PHY being resumed when interface is not up
    7059be754873 net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290
    b89a453c6918 ice: xsk: disable txq irq before flushing hw
    d1bfd4cf6bb8 block: sunvdc: add check for mdesc_grab() returning NULL
    f1d5888a5efe nvmet: avoid potential UAF in nvmet_req_complete()
    07eac3310e00 nvme: fix handling single range discard request
    fff9441da1c3 block: null_blk: Fix handling of fake timeout request
    6d3ff07347d3 drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc
    105db6574281 net: usb: smsc75xx: Limit packet length to skb->len
    b615238e5bc0 net/smc: fix deadlock triggered by cancel_delayed_work_syn()
    84dd9cc34014 nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
    edc0a34e277b net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
    e0a557fc1daf net: tunnels: annotate lockless accesses to dev->needed_headroom
    407badf73ec9 loop: Fix use-after-free issues
    a0316de981ce net: dsa: mt7530: set PLL frequency and trgmii only when trgmii is used
    f48468b27c0b net: dsa: mt7530: remove now incorrect comment regarding port 5
    6ffa05700100 qed/qed_dev: guard against a possible division by zero
    b108bd9e6be0 net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()
    d59d2561da73 drm/i915/psr: Use calculated io and fast wake lines
    297ae18bd2cd drm/i915/display: clean up comments
    21d679cb983e drm/i915/display/psr: Handle plane and pipe restrictions at every page flip
    8c80b12e697f drm/i915/display/psr: Use drm damage helpers to calculate plane damaged area
    eea001d88ffd drm/i915/display: Workaround cursor left overs with PSR2 selective fetch enabled
    437bb839e36c PCI: s390: Fix use-after-free of PCI resources with per-function hotplug
    ee6ef8137789 vdpa_sim: set last_used_idx as last_avail_idx in vdpasim_queue_ready
    1cdbaf18a5e4 vdpa_sim: not reset state in vdpasim_queue_ready
    4ff826952665 i40e: Fix kernel crash during reboot when adapter is in recovery mode
    ecaa1bf50635 ipvlan: Make skb->skb_iif track skb->dev for l3s mode
    2bee84369b76 nfc: pn533: initialize struct pn533_out_arg properly
    ad07290d63ff tcp: tcp_make_synack() can be called from process context
    2a764d55e938 scsi: core: Fix a procfs host directory removal regression
    a219cabadaee netfilter: nft_redir: correct value of inet type `.maxattrs`
    de03d130176b netfilter: nft_redir: correct length for loading protocol registers
    d2a2ad64b9b6 netfilter: nft_masq: correct length for loading protocol registers
    343fe451e6d3 netfilter: nft_nat: correct length for loading protocol registers
    256bcf626b7c ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
    9937f784a608 scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
    29cb0f6c1dd8 docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate
    a5a1a7112e98 clk: HI655X: select REGMAP instead of depending on it
    0f78e36f652a drm/meson: fix 1px pink line on GXM when scaling video overlay
    630f8a857578 cifs: Move the in_send statistic to __smb_send_rqst()
    418bde7227dd drm/panfrost: Don't sync rpm suspension after mmu flushing
    b9cd2f875525 xfrm: Allow transport-mode states with AF_UNSPEC selector

(From OE-Core rev: d04122e76e21654caef2ec42ab5612bc9883d5f7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:31:18 +01:00
Bruce Ashfield
1000c4f2c0 linux-yocto/6.1: update to v6.1.23
Updating  to the latest korg -stable release that comprises
the following commits:

    543aff194ab6 Linux 6.1.23
    9c5aa3c8619f Revert "cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again*"
    cafb47f5f59b x86/PVH: avoid 32-bit build warning when obtaining VGA console info
    9f291f2348ed hsr: ratelimit only when errors are printed
    d0386bd84e6d drm/amdkfd: Get prange->offset after svm_range_vram_node_new
    fbfe493874e9 usb: ucsi: Fix ucsi->connector race
    e5c5cb47a9eb libbpf: Fix btf_dump's packed struct determination
    6c8afd54f8e9 selftests/bpf: Add few corner cases to test padding handling of btf_dump
    524617e553bc libbpf: Fix BTF-to-C converter's padding logic
    2e35b08b66b0 selftests/bpf: Test btf dump for struct with padding only fields
    0f9e728e1a6c net: dsa: mv88e6xxx: replace VTU violation prints with trace points
    be831b5c6963 net: dsa: mv88e6xxx: replace ATU violation prints with trace points
    8f872c781f64 net: dsa: mv88e6xxx: read FID when handling ATU violations
    e4ca4572de06 KVM: arm64: Disable interrupts while walking userspace PTs
    051e660c8185 KVM: arm64: PMU: Fix GET_ONE_REG for vPMC regs to return the current value
    fcf712b4e5d0 drm/i915: Move CSC load back into .color_commit_arm() when PSR is enabled on skl/glk
    0fc6fea41c71 drm/i915: Disable DC states for all commits
    c781c107731f drm/i915/dpt: Treat the DPT BO as a framebuffer
    21ee19974b19 drm/i915/gem: Flush lmem contents after construction
    fd71f4c9e3fa drm/amd/display: Take FEC Overhead into Timeslot Calculation
    41abe8828c83 drm/amd/display: Add DSC Support for Synaptics Cascaded MST Hub
    febacc33298f drm/amdgpu: allow more APUs to do mode2 reset when go to S4
    f931ca46773a drm/etnaviv: fix reference leak when mmaping imported buffer
    3f878da42862 s390: reintroduce expoline dependence to scripts
    a028d92967bb s390/uaccess: add missing earlyclobber annotations to __clear_user()
    bc2f8b56217b dt-bindings: mtd: jedec,spi-nor: Document CPOL/CPHA support
    69bec5ac6ea0 rcu: Fix rcu_torture_read ftrace event
    75289cdbe125 xtensa: fix KASAN report for show_stack
    3a0e34af6bff ALSA: hda/realtek: Add quirk for Lenovo ZhaoYang CF4620Z
    036d5ae0a7cf ALSA: hda/realtek: Add quirks for some Clevo laptops
    3e120e920016 ALSA: usb-audio: Fix regression on detection of Roland VS-100
    0c60b9c0b774 ALSA: hda/conexant: Partial revert of a quirk for Lenovo
    f6bcbd556978 NFSv4: Fix hangs when recovering open state after a server reboot
    3f5ded246953 powerpc/64s: Fix __pte_needs_flush() false positive warning
    0bb88976bdd2 powerpc/pseries/vas: Ignore VAS update for DLPAR if copy/paste is not enabled
    064a1c7b0f84 powerpc: Don't try to copy PPR for task with NULL pt_regs
    44917e8c38d8 platform/x86: ideapad-laptop: Stop sending KEY_TOUCHPAD_TOGGLE
    61c1f420bb01 pinctrl: at91-pio4: fix domain name assignment
    d9c63daa576b pinctrl: amd: Disable and mask interrupts on resume
    0e7ac17634d2 modpost: Fix processing of CRCs on 32-bit build machines
    2269be495142 net: phy: dp83869: fix default value for tx-/rx-internal-delay
    cdfac0a50641 xen/netback: don't do grant copy across page boundary
    ace6aa2ab5ba can: j1939: prevent deadlock by moving j1939_sk_errqueue()
    8b7c731e5444 dm: fix __send_duplicate_bios() to always allow for splitting IO
    d7c67be755cc zonefs: Always invalidate last cached page on append write
    4d35d375efed vmxnet3: use gro callback when UPT is enabled
    d67b3cdacac9 io_uring: fix poll/netmsg alloc caches
    ef329fa764c3 io_uring/rsrc: fix rogue rsrc node grabbing
    3eb2138d4693 io_uring/poll: clear single/double poll flags on poll arming
    e5da11825ef7 block/io_uring: pass in issue_flags for uring_cmd task_work handling
    4a8f1f512266 zonefs: Do not propagate iomap_dio_rw() ENOTBLK error to user space
    8a6539ea362e btrfs: scan device in non-exclusive mode
    a38ff2024805 btrfs: fix race between quota disable and quota assign ioctls
    6134a4bb6b1c btrfs: fix deadlock when aborting transaction during relocation with scrub
    85ec44199b5a Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
    89c4b695431d Input: i8042 - add quirk for Fujitsu Lifebook A574/H
    b7d854c33ab4 cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
    eb94ea52afff cifs: prevent infinite recursion in CIFSGetDFSRefer()
    f8bdc959cefe Input: focaltech - use explicitly signed char type
    5ee6df525715 Input: alps - fix compatibility with -funsigned-char
    30a8863f21ec Input: i8042 - add TUXEDO devices to i8042 quirk tables for partial fix
    973043d6bdea iommu/vt-d: Allow zero SAGAW if second-stage not supported
    db0ac14908af Input: xpad - fix incorrectly applied patch for MAP_PROFILE_BUTTON
    2a858f3f804c pinctrl: ocelot: Fix alt mode for ocelot
    106fb49b14af net: ethernet: mtk_eth_soc: add missing ppe cache flush when deleting a flow
    a7bd974edf12 net: ethernet: mtk_eth_soc: fix flow block refcounting logic
    1b0e8aba4510 net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only
    b055e322907e bnxt_en: Add missing 200G link speed reporting
    f06ae13e995a bnxt_en: Fix typo in PCI id to device description string mapping
    a4dd9f756973 bnxt_en: Fix reporting of test result in ethtool selftest
    37f9fe34482e i40e: fix registers dump after run ethtool adapter self test
    6e43dc9dcf22 net: ipa: compute DMA pool size properly
    32b9bd7cfc2e ALSA: ymfpci: Fix BUG_ON in probe function
    db7d7782677f ALSA: ymfpci: Create card with device-managed snd_devm_card_new()
    9bc9e4442fe3 ice: fix invalid check for empty list in ice_sched_assoc_vsi_to_agg()
    d10900058fa6 ice: add profile conflict check for AVF FDIR
    088573884165 ice: Fix ice_cfg_rdma_fltr() to only update relevant fields
    0b9541ae1dd1 smsc911x: avoid PHY being resumed when interface is not up
    a921dbbc04e3 net: mvpp2: parser fix PPPoE
    2a4f74420538 net: mvpp2: parser fix QinQ
    5718b58ca0ec net: mvpp2: classifier flow fix fragmentation flags
    bee9ca40b839 loop: LOOP_CONFIGURE: send uevents for partitions
    b7707176f858 ACPI: bus: Rework system-level device notification handling
    6a40fda14b4b s390/vfio-ap: fix memory leak in vfio_ap device driver
    c11dbc7705b3 can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
    7ffdf7e6fc92 platform/x86/intel/pmc: Alder Lake PCH slp_s0_residency fix
    75084659969f drm/i915/tc: Fix the ICL PHY ownership check in TC-cold state
    ce1b88dd4013 net: stmmac: don't reject VLANs when IFF_PROMISC is set
    c942f5cd63b7 net/net_failover: fix txq exceeding warning
    f70328a0bfb2 regulator: Handle deferred clk
    1b808f5d8449 r8169: fix RTL8168H and RTL8107E rx crc error
    4ffa3fec1c34 net: dsa: microchip: ksz8: fix MDB configuration with non-zero VID
    adfe55665203 net: dsa: microchip: ksz8863_smi: fix bulk access
    8d86ea65e0f1 net: dsa: microchip: ksz8: ksz8_fdb_dump: avoid extracting ghost entry from empty dynamic MAC table.
    628f76b8ae7b net: dsa: microchip: ksz8: fix offset for the timestamp filed
    91840597869d net: dsa: microchip: ksz8: fix ksz8_fdb_dump() to extract all 1024 entries
    9524c2ea47cc net: dsa: microchip: ksz8: fix ksz8_fdb_dump()
    43b4331ce0cd ptp_qoriq: fix memory leak in probe()
    cc0f9bb99735 net: dsa: realtek: fix out-of-bounds access
    089e6318e1de scsi: mpt3sas: Don't print sense pool info twice
    9526222c1a11 scsi: megaraid_sas: Fix crash after a double completion
    1da26860a348 sfc: ef10: don't overwrite offload features at NIC reset
    c5a159d5e559 SUNRPC: fix shutdown of NFS TCP client socket
    43b70c9c4c90 mtd: rawnand: meson: invalidate cache on polling ECC bit
    53dc0b69fbac platform/surface: aggregator: Add missing fwnode_handle_put()
    f0a67ad7dce4 platform/x86: think-lmi: Add possible_values for ThinkStation
    5b2e50d837f2 platform/x86: think-lmi: only display possible_values if available
    3991efd0c1aa platform/x86: think-lmi: use correct possible_values delimiters
    6c69f1ab7bdc platform/x86: think-lmi: add missing type attribute
    ba85e83f9330 PCI: dwc: Fix PORT_LINK_CONTROL update when CDM check enabled
    e39afd6095a5 ALSA: usb-audio: Fix recursive locking at XRUN during syncing
    2cdbcff99f15 mips: bmips: BCM6358: disable RAC flush for TP1
    a07cf4fd610e riscv/kvm: Fix VM hang in case of timer delta being zero.
    60b2027077ea ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()
    8b46440d1a63 mtd: nand: mxic-ecc: Fix mxic_ecc_data_xfer_wait_for_completion() when irq is used
    c84d28b32236 mtd: rawnand: meson: initialize struct with zeroes
    f5527b3b4d3d btrfs: use temporary variable for space_info in btrfs_update_block_group
    bd265f2061aa btrfs: fix uninitialized variable warning in btrfs_update_block_group
    089d656992c0 tracing: Fix wrong return in kprobe_event_gen_test.c
    88cdf1d8a522 tools/power turbostat: fix decoding of HWP_STATUS
    6ecdea91ef95 tools/power turbostat: Fix /dev/cpu_dma_latency warnings
    2a3562ea9d72 fbdev: au1200fb: Fix potential divide by zero
    9f2a69d5e677 fbdev: lxfb: Fix potential divide by zero
    8ab9eada22d9 fbdev: intelfb: Fix potential divide by zero
    c8d88107971e fbdev: nvidia: Fix potential divide by zero
    35a32a50dc8f net/mlx5e: Lower maximum allowed MTU in XSK to match XDP prerequisites
    b969838c9554 drm/amdkfd: Fixed kfd_process cleanup on module exit.
    e437554b1452 nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM620
    c8943cf3ab9b sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
    2961b331b074 ACPI: tools: pfrut: Check if the input of level and type is in the right numeric range
    b8b7d5eac5ee fbdev: tgafb: Fix potential divide by zero
    32854bc91ae7 ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
    69280e8e669c ALSA: asihpi: check pao in control_message()
    8b4dc07eb938 net: hsr: Don't log netdev_err message on unknown prp dst node
    5045360f3bb6 drm/amdkfd: fix potential kgd_mem UAFs
    b861f0e62ae1 drm/amdkfd: fix a potential double free in pqm_create_queue
    b61b21bcbb8a drm/amdkfd: Fix BO offset for multi-VMA page migration
    3e48f7b53de4 x86/PVH: obtain VGA console info in Dom0
    df0833da4bfa md: avoid signed overflow in slot_store()
    50f6507aadf8 ASoC: SOF: IPC4: update gain ipc msg definition to align with fw
    6d0ab3efb282 ASoC: SOF: Intel: pci-tng: revert invalid bar size setting
    6290404aa142 ASoC: SOF: ipc4-topology: Fix incorrect sample rate print unit
    a56be07a8c0c ASoC: SOF: ipc3: Check for upper size limit for the received message
    ab7a700fec40 ACPI: video: Add backlight=native DMI quirk for Dell Vostro 15 3535
    78b342f0cda7 zstd: Fix definition of assert()
    6beb32105eea ASoC: Intel: avs: nau8825: Adjust clock control
    30878a7eec00 ASoC: Intel: avs: ssm4567: Remove nau8825 bits
    ea7950db7650 ASoC: Intel: avs: da7219: Explicitly define codec format
    d0652061c3b8 ASoC: Intel: avs: max98357a: Explicitly define codec format
    57f9a9a232bd ASoC: codecs: tx-macro: Fix for KASAN: slab-out-of-bounds
    5218af4ad5d8 xfrm: Zero padding when dumping algos and encap
    2b4830eefc41 cifs: fix missing unload_nls() in smb2_reconnect()
    e0169d62efce arm64: efi: Set NX compat flag in PE/COFF header
    ec6cd79c4e54 net: mscc: ocelot: fix stats region batching
    39cd75f2f3a4 tracing: Do not let histogram values have some modifiers
    8ebeea1052f6 tracing: Add .graph suffix option to histogram value
    93454d1a306e tracing: Add .percent suffix option to histogram values
    954fc9931f0a tty: serial: fsl_lpuart: fix race on RX DMA shutdown
    3a4d6f959caa tty: serial: fsl_lpuart: switch to new dmaengine_terminate_* API
    33123ad902f3 drm/msm/disp/dpu: fix sc7280_pp base offset
    3f7c4839fc04 drm/msm/dpu: correct sm8250 and sm8350 scaler
    30fff49ea686 drm/msm/dpu: Refactor sc7280_pp location
    942100ec928c ARM: dts: aspeed: p10bmc: Update battery node name
    84cfcf240f4a riscv: ftrace: Fixup panic by disabling preemption
    a35f863210e8 net: ethernet: ti: am65-cpsw/cpts: Fix CPTS release action
    64621e4607f4 btrfs: zoned: count fresh BG region as zone unusable
    ea34b8bcc7ae btrfs: rename BTRFS_FS_NO_OVERCOMMIT to BTRFS_FS_ACTIVE_ZONE_TRACKING
    bae092f58759 kcsan: avoid passing -g for test
    01f3150cc7a7 kernel: kcsan: kcsan_test: build without structleak plugin
    0b0e1551ba9a fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY
    fc426026c3a3 zonefs: Fix error message in zonefs_file_dio_append()
    81cf745f1105 zonefs: Separate zone information from inode information
    7558b249cb4e zonefs: Reduce struct zonefs_inode_info size
    3741898b1694 zonefs: Simplify IO error handling
    a624b4796f38 zonefs: Reorganize code
    9dad2690b126 cifs: avoid race conditions with parallel reconnects
    a5698f3ebb78 cifs: prevent data race in cifs_reconnect_tcon()
    f60cdd319b2c cifs: update ip_addr for ses only for primary chan setup
    eddee1c229c2 thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers
    3b29299e5f60 Linux 6.1.22
    8c31b663edc1 drm/amdkfd: Fix the memory overrun
    132f1d394391 drm/amdkfd: add GC 11.0.4 KFD support
    0ac954ec7f6c drm/amdkfd: Fix the warning of array-index-out-of-bounds
    a5528973c676 drm/amdkfd: introduce dummy cache info for property asic
    388c4c1d1212 sched/fair: Sanitize vruntime of entity being migrated
    e427be68892e sched/fair: sanitize vruntime of entity being placed
    b9d6816713b0 dm crypt: avoid accessing uninitialized tasklet
    f0eb61b493db dm crypt: add cond_resched() to dmcrypt_write()
    a42180dd3615 dm stats: check for and propagate alloc_percpu failure
    7c64e839585e i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
    d22bc65a98ff bus: imx-weim: fix branch condition evaluates to a garbage value
    286b0cab31ba mm/ksm: fix race with VMA iteration and mm_struct teardown
    318b65386756 soc: qcom: llcc: Fix slice configuration values for SC8280XP
    83f40feee690 arm64: dts: qcom: sm8150: Fix the iommu mask used for PCIe controllers
    267b899375bf arm64: dts: qcom: sc7280: Mark PCIe controller as cache coherent
    0156ad2a60fe firmware: arm_scmi: Fix device node validation for mailbox transport
    a63cce9393e4 tee: amdtee: fix race condition in amdtee_open_session
    8a09fa7be62f riscv: Handle zicsr/zifencei issues between clang and binutils
    aa8a49b61007 riscv: mm: Fix incorrect ASID argument when flushing TLB
    75e10d7fb979 drm/amdgpu: reposition the gpu reset checking for reuse
    9f7e1dd835ec drm/amdgpu: skip ASIC reset for APUs when go to S4
    220da3bf1fc3 drm/i915: Preserve crtc_state->inherited during state clearing
    c355945957ef drm/i915/active: Fix missing debug object activation
    ed6364fb7c40 drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi
    19b4396f0a39 drm/meson: fix missing component unbind on bind errors
    c590fce42c21 drm/amd/display: fix wrong index used in dccg32_set_dpstreamclk
    dec28169efd8 drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found
    5f33b042f74f nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
    c5d24e07e316 wifi: mac80211: fix qos on mesh interfaces
    0b3ec5671ac0 ksmbd: return unsupported error on smb1 mount
    3060466e38ca ksmbd: return STATUS_NOT_SUPPORTED on unsupported smb2.0 dialect
    fe9591a5a004 ksmbd: don't terminate inactive sessions after a few seconds
    d55c0560893c ksmbd: set FILE_NAMED_STREAMS attribute in FS_ATTRIBUTE_INFORMATION
    e54752f596a7 ksmbd: fix wrong signingkey creation when encryption is AES256
    0608b3da04f5 maple_tree: fix mas_skip_node() end slot detection
    94f6b92bad23 test_maple_tree: add more testing for mas_empty_area()
    450317033f04 Revert "kasan: drop skip_kasan_poison variable in free_pages_prepare"
    7b100a45dc19 io_uring/rsrc: fix null-ptr-deref in io_file_bitmap_get()
    87f2d329f4cb io_uring/net: avoid sending -ECONNABORTED on repeated connection requests
    1c00030a59a9 kfence: avoid passing -g for test
    f2a4304e9ff5 mm: kfence: fix using kfence_metadata without initialization in show_object()
    1e8525f37871 usb: ucsi_acpi: Increase the command completion timeout
    1c5abcb13491 usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
    2d0558c29122 usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC
    4c1a06454f00 usb: chipidea: core: fix possible concurrent when switch role
    4e3498143863 usb: chipdea: core: fix return -EINVAL if request role is the same with current role
    bfcd692c833e usb: cdnsp: changes PCI Device ID to fix conflict with CNDS3 driver
    4e6e31e0a6ee usb: cdnsp: Fixes issue with redundant Status Stage
    0cc5fbfaacaa usb: cdns3: Fix issue with using incorrect PCI device function
    d55ca2d2ea1a usb: typec: tcpm: fix warning when handle discover_identity message
    657431b040b8 usb: typec: tcpm: fix create duplicate source-capabilities file
    0131f901835b dm thin: fix deadlock when swapping to thin device
    62a646457499 igb: revert rtnl_lock() that causes deadlock
    f8b34ed7cdac arm64: dts: imx8mm-nitrogen-r2: fix WM8960 clock name
    41a68444e562 lockd: set file_lock start and end when decoding nlm4 testargs
    260becc3891a fsverity: Remove WQ_UNBOUND from fsverity read workqueue
    d77531fac6a1 fscrypt: destroy keyring after security_sb_delete()
    f311869d72f7 mm/slab: Fix undefined init_cache_node_node() for NUMA and !SMP
    a6766e457d4c efi: sysfb_efi: Fix DMI quirks not working for simpledrm
    608901a77c94 Bluetooth: Fix race condition in hci_cmd_sync_clear
    00331677c084 btrfs: zoned: fix btrfs_can_activate_zone() to support DUP profile
    3bc7324e4911 usb: gadget: u_audio: don't let userspace block driver unbind
    ffb8ab6f87bd usb: dwc2: fix a devres leak in hw_enable upon suspend resume
    cd1340202266 usb: dwc2: drd: fix inconsistent mode if role-switch-default-mode="host"
    ac49318c8adf usb: misc: onboard-hub: add support for Microchip USB2517 USB 2.0 hub
    b03b85ec8247 scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
    d080337f6827 selftests/x86/amx: Add a ptrace test
    79f1e15c6b4b x86/fpu/xstate: Prevent false-positive warning in __copy_xstate_uabi_buf()
    362628048710 cifs: fix dentry lookups in directory handle cache
    d4bab65f80ce cifs: print session id while listing open files
    dc9e203f9f51 cifs: dump pending mids for all channels in DebugData
    f401c35e6cb4 cifs: empty interface list when server doesn't support query interfaces
    ee1767a12e13 cifs: do not poll server interfaces too regularly
    a163106b6d16 cifs: append path to open_enter trace event
    f11f6ea883de cifs: lock chan_lock outside match_session
    4c8fc3fe28e4 act_mirred: use the backlog for nested calls to mirred ingress
    e0c12b9bfffc net/sched: act_mirred: better wording on protection against excessive stack growth
    a0e39cdddc15 drm/amd: Fix initialization mistake for NBIO 7.3.0
    f06b902511ea drm/amdgpu: Fix call trace warning and hang when removing amdgpu device
    5fdb54270f7c sh: sanitize the flags on sigreturn
    b66804fc7e21 drm/amd/display: Update clock table to include highest clock setting
    43c33c487252 net: usb: qmi_wwan: add Telit 0x1080 composition
    8224ef96a8de net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
    886acbcb2982 platform/x86: int3472: Add GPIOs to Surface Go 3 Board data
    4a7d64d38584 scsi: storvsc: Handle BlockSize change in Hyper-V VHD/VHDX file
    1f822ae8fb2a scsi: mpi3mr: Bad drive in topology results kernel crash
    a0b33e1d8dc1 scsi: mpi3mr: NVMe command size greater than 8K fails
    92548801f01e scsi: mpi3mr: Wait for diagnostic save during controller init
    88f7fb47e0f0 scsi: mpi3mr: Driver unload crashes host when enhanced logging is enabled
    ec3a119c30e5 scsi: lpfc: Avoid usage of list iterator variable after loop
    4829a1e11715 scsi: lpfc: Check kzalloc() in lpfc_sli4_cgn_params_read()
    476d8ca83e6c scsi: ufs: core: Add soft dependency on governor_simpleondemand
    d92460985d78 scsi: hisi_sas: Check devm_add_action() return value
    b139678fb1b3 scsi: qla2xxx: Add option to disable FC2 Target support
    27f6579f3c0c scsi: target: iscsi: Fix an error message in iscsi_check_key()
    95ba926edd65 selftests/bpf: check that modifier resolves after pointer
    54fa25ffab2b m68k: Only force 030 bus error if PC not in exception table
    4ee33bfaeb3f m68k: mm: Fix systems with memory at end of 32-bit address space
    0a594cb490ca HID: intel-ish-hid: ipc: Fix potential use-after-free in work function
    e6f150861b28 HID: logitech-hidpp: Add support for Logitech MX Master 3S mouse
    fd176a18db96 ca8210: fix mac_len negative array access
    aee32b594f2c HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded
    586a9fe14283 drm/cirrus: NULL-check pipe->plane.state->fb in cirrus_pipe_update()
    fd20cc4e5ea0 riscv: Bump COMMAND_LINE_SIZE value to 1024
    48bef3023f4d ACPI: x86: utils: Add Cezanne to the list for forcing StorageD3Enable
    d146b2741320 ACPI: x86: Drop quirk for HP Elitebook
    f845ecdd1342 ASoC: amd: yc: Add DMI entries to support HP OMEN 16-n0xxx (8A43)
    bf83d04c135d ASoC: amd: yp: Add OMEN by HP Gaming Laptop 16z-n000 to quirks
    03b5fae39897 thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit
    587dd59049bf thunderbolt: Use const qualifier for `ring_interrupt_index`
    278fb64ce473 thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access
    416db7fa3e89 thunderbolt: Disable interrupt auto clear for rings
    f390095bbd13 thunderbolt: Fix memory leak in margining
    f2326d046ae7 thunderbolt: Add quirk to disable CLx
    516b1752fe6a thunderbolt: Call tb_check_quirks() after initializing adapters
    b82c564886a0 thunderbolt: Use scale field when allocating USB3 bandwidth
    3497afbd5780 uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
    4a369bb39187 smb3: fix unusable share after force unmount failure
    3de686a36592 smb3: lower default deferred close timeout to address perf regression
    cd0a1804ac5b scsi: qla2xxx: Perform lockless command completion in abort path
    6d57b77d7369 scsi: qla2xxx: Synchronize the IOCB count to be in order
    682938af0a5f hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
    f3263768965f hwmon: fix potential sensor registration fail if of_node is missing
    d716ea059cd3 entry/rcu: Check TIF_RESCHED _after_ delayed RCU wake-up
    ab33a8f7649b perf/x86/amd/core: Always clear status for idx
    adfc7aaa0df9 entry: Fix noinstr warning in __enter_from_user_mode()
    eab28bfafcd1 platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl
    b3168abd2424 Bluetooth: HCI: Fix global-out-of-bounds
    24997df50b35 Bluetooth: mgmt: Fix MGMT add advmon with RSSI command
    cbf8deacb705 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
    c357e28b01c4 Bluetooth: L2CAP: Fix responding with wrong PDU type
    95085960062d Bluetooth: btqcomsmd: Fix command timeout after setting BD address
    612cf2495ec6 drm/amd/display: Set dcn32 caps.seamless_odm
    d84fe6dc7377 net: mdio: thunder: Add missing fwnode_handle_put()
    d1775958c2ae net: dsa: mt7530: move setting ssc_delta to PHY_INTERFACE_MODE_TRGMII case
    cd6251c02ac9 net: dsa: mt7530: move lowering TRGMII driving to mt7530_setup()
    4424f88795d6 net: dsa: mt7530: move enabling disabling core clock to mt7530_pll_setup()
    d4fe4edc6cf0 net: asix: fix modprobe "sysfs: cannot create duplicate filename"
    1b9613402ce2 gve: Cache link_speed value from device
    554828c833e6 Bluetooth: Remove "Power-on" check from Mesh feature
    e2a90a5b153a Bluetooth: ISO: fix timestamped HCI ISO data packet parsing
    e0338af405ae Bluetooth: btusb: Remove detection of ISO packets over bulk
    f770ce652b27 Bluetooth: hci_core: Detect if an ACL packet is in fact an ISO packet
    bc7a5dde52a2 Bluetooth: hci_sync: Resume adv with no RPA when active scan
    303f8e58cc3a ksmbd: fix possible refcount leak in smb2_open()
    a4e6cd9253c8 ksmbd: add low bound validation to FSCTL_QUERY_ALLOCATED_RANGES
    bd344dc3bbf0 ksmbd: add low bound validation to FSCTL_SET_ZERO_DATA
    82268b2da28a hvc/xen: prevent concurrent accesses to the shared ring
    4df371323e4f mlxsw: spectrum_fid: Fix incorrect local port type
    869bb1932bc7 nvme-tcp: fix nvme_tcp_term_pdu to match spec
    a338bd69e55b net/sonic: use dma_mapping_error() for error check
    9c7d6803689c erspan: do not use skb_mac_header() in ndo_start_xmit()
    ff0d8cc6cde9 atm: idt77252: fix kmemleak when rmmod idt77252
    774865342132 net: dsa: tag_brcm: legacy: fix daisy-chained switches
    c4c977935b2f net/mlx5: E-Switch, Fix an Oops in error handling code
    fba0b70e8cf7 net/mlx5: Read the TC mapping of all priorities on ETS query
    4e42fd7c0be5 net/mlx5e: Overcome slow response for first macsec ASO WQE
    63546395a0e6 net/mlx5: Fix steering rules cleanup
    93260bd809e0 net/mlx5e: Block entering switchdev mode with ns inconsistency
    3169140ee294 net/mlx5e: Set uplink rep as NETNS_LOCAL
    9cda812c7606 bpf: Adjust insufficient default bpf_jit_limit
    25634e4df7b2 i40e: fix flow director packet filter programming
    502b898235f0 iavf: fix hang on reboot with ice
    e16fa0c9ff7c ice: check if VF exists before mode check
    32c2b3f157d8 keys: Do not cache key in task struct if key is requested from kernel thread
    8a22203bec3b bootconfig: Fix testcase to increase max node
    840631bcf21f octeontx2-vf: Add missing free for alloc_percpu
    84548ce2b2db net/ps3_gelic_net: Use dma_mapping_error
    e6c10d12ae76 net/ps3_gelic_net: Fix RX sk_buff length
    83de34967473 net: usb: lan78xx: Limit packet length to skb->len
    5fc2c4e311a9 net: qcom/emac: Fix use after free bug in emac_remove due to race condition
    6e516595e886 drm/i915/gt: perform uc late init after probe error injection
    be8c6ad6b16e drm/i915/guc: Fix missing ecodes
    d2b9357d3da3 drm/i915/guc: Rename GuC register state capture node to be more obvious
    9595d71b2a27 drm/i915/fbdev: lock the fbdev obj before vma pin
    b6375c5ecd8c drm/i915: Print return value on error
    be282c83caec mlxsw: core_thermal: Fix fan speed in maximum cooling state
    a71f388045ed thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function
    0e60f30e65d3 net: stmmac: Fix for mismatched host/device DMA address width
    77800daf7529 net: mdio: fix owner field for mdio buses registered using ACPI
    c2b6e1a440d2 net: mdio: fix owner field for mdio buses registered using device-tree
    8f07f16b3455 net: phy: Ensure state transitions are processed from phy_stop()
    9d882229d365 xirc2ps_cs: Fix use after free bug in xirc2ps_detach
    97ea704f39b5 qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
    58c11bc7adaa efi/libstub: smbios: Use length member instead of record struct size
    e041bef1adee net: usb: smsc95xx: Limit packet length to skb->len
    53a915a00bd1 net: dsa: b53: mmap: fix device tree support
    51ddb84baff6 nfsd: don't replace page in rq_pages if it's a continuation of last page
    1c55982beb80 scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
    a0de3f29d878 i2c: hisi: Only use the completion interrupt to finish the transfer
    d6ea83a476a3 i2c: mxs: ensure that DMA buffers are safe for DMA
    6d1c6e982b7e i2c: imx-lpi2c: check only for enabled interrupt flags
    ec897f7524de igc: fix the validation logic for taprio's gate list
    910e2013d098 igbvf: Regard vf reset nack as success
    460e4073b715 intel/igbvf: free irq on the error path in igbvf_request_msix()
    3faa2b8f8f39 iavf: do not track VLAN 0 filters
    c9c56af093aa iavf: fix non-tunneled IPv6 UDP packet type and hashing
    0bfadea827eb iavf: fix inverted Rx hash condition leading to disabled hash
    a069909acc44 xsk: Add missing overflow check in xdp_umem_reg
    4797ad1f5617 NFS: Fix /proc/PID/io read_bytes for buffered reads
    26aef3be6efa arm64: dts: imx93: add missing #address-cells and #size-cells to i2c nodes
    9f66c5dbaf0a arm64: dts: imx8mn: specify #sound-dai-cells for SAI nodes
    d75af9878680 ARM: dts: imx6sl: tolino-shine2hd: fix usbotg1 pinctrl
    0828dda42e5f ARM: dts: imx6sll: e60k02: fix usbotg1 pinctrl
    8505ead526be ARM: dts: imx6sll: e70k02: fix usbotg1 pinctrl
    08589e3ca8b1 arm64: dts: imx8dxl-evk: Fix eqos phy reset gpio
    bcbc0df73111 arm64: dts: imx8dxl-evk: Disable hibernation mode of AR8031 for EQOS
    47b2e1a67e6d power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
    84bdb3b76b07 power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition
    1b483a983a84 arm64: dts: qcom: sm8450: Mark UFS controller as cache coherent
    ee9caccc5e5c drm/amd/display: Fix DP MST sinks removal issue
    5564be74a22a mptcp: fix UaF in listener shutdown
    2827f099b3fb mptcp: use the workqueue to destroy unaccepted sockets
    1516ddbc34bc mptcp: refactor passive socket initialization
    75eb69023ba3 drm/amd/display: Remove OTG DIV register write for Virtual signals.
    0ac86f7dda2b drm/amd/display: fix k1 k2 divider programming for phantom streams
    4a36da161b7a drm/amd/display: Include virtual signal to set k1 and k2 values
    a1f48806559a tracing/hwlat: Replace sched_setaffinity with set_cpus_allowed_ptr
    d496185c25a6 perf: fix perf_event_context->time
    ff8137727a2a perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
    e13d1b6979ca interconnect: qcom: qcm2290: Fix MASTER_SNOC_BIMC_NRT
    e598cf599a39 interconnect: qcom: sm8450: switch to qcom_icc_rpmh_* function
    d4c3aaee17fb interconnect: qcom: osm-l3: fix icc_onecell_data allocation
    e3a87a10f259 Linux 6.1.21
    7f4da237af30 powerpc/64: Replace -mcpu=e500mc64 by -mcpu=e5500
    6ec2eb9db3f9 powerpc: Disable CPU unknown by CLANG when CC_IS_CLANG
    529546ea2834 perf: Fix check before add_event_to_groups() in perf_group_detach()
    36773a78b0de io_uring/msg_ring: let target know allocated index
    ba4045cc7d0c virt/coco/sev-guest: Add throttling awareness
    917f21725452 virt/coco/sev-guest: Convert the sw_exit_info_2 checking to a switch-case
    77be7df33e99 virt/coco/sev-guest: Do some code style cleanups
    77083f3c392d virt/coco/sev-guest: Carve out the request issuing logic into a helper
    92bbffb33f44 virt/coco/sev-guest: Remove the disable_vmpck label in handle_guest_request()
    9579ca57104b virt/coco/sev-guest: Simplify extended guest request handling
    12319ef1cfc7 virt/coco/sev-guest: Check SEV_SNP attribute at probe time
    bed3a56c5718 powerpc: Pass correct CPU reference to assembler
    3fc5941ecc31 x86/resctrl: Clear staged_config[] before and after it is used
    701d3da21321 x86/mm: Fix use of uninitialized buffer in sme_enable()
    18211af8ef1a x86/mce: Make sure logged MCEs are processed after sysfs update
    c87ada07340f ASoC: qcom: q6prm: fix incorrect clk_root passed to ADSP
    bfbbfb709ded ASoC: Intel: soc-acpi: fix copy-paste issue in topology names
    d511caa25dda cpuidle: psci: Iterate backwards over list in psci_pd_remove()
    1ea3e18e53f2 fbdev: Fix incorrect page mapping clearance at fb_deferred_io_release()
    697893e0da3c net: phy: nxp-c45-tja11xx: fix MII_BASIC_CONFIG_REV bit
    1318a07706bb ACPI: PPTT: Fix to avoid sleep in the atomic context when PPTT is absent
    ac1d15d58d8a trace/hwlat: Do not start per-cpu thread if it is already running
    a78eab86e2a8 trace/hwlat: Do not wipe the contents of per-cpu thread data
    15f6110abd27 fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
    0ad710a83dfa mmc: sdhci_am654: lower power-on failed message severity
    c2f879fd141c powerpc/boot: Don't always pass -mcpu=powerpc when building 32-bit uImage
    da0beae24493 powerpc/64: Set default CPU in Kconfig
    aff80fb99bd2 mm: teach mincore_hugetlb about pte markers
    b8388048b59f mm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage
    baafa2960731 vp_vdpa: fix the crash in hot unplug with vp_vdpa
    0556fd71a140 ice: avoid bonding causing auxiliary plug/unplug under RTNL lock
    b61e86e38881 nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV3000
    47eb055ad358 ocfs2: fix data corruption after failed write
    4f84f31f6341 ftrace: Fix invalid address access in lookup_rec() when index is 0
    c3c3d36430dc mptcp: fix lockdep false positive in mptcp_pm_nl_create_listen_socket()
    85cd9045f193 mptcp: avoid setting TCP_CLOSE state twice
    d283617f97e1 mptcp: add ro_after_init for tcp{,v6}_prot_override
    f76e08cf98aa mptcp: fix possible deadlock in subflow_error_report
    39374fc8bb11 drm/amd/display: disconnect MPCC only on OTG change
    f8080f1e300e drm/amd/display: Do not set DRR on pipe Commit
    20f8225ae7f4 drm/amd/pm: bump SMU 13.0.4 driver_if header version
    6e403a0a69f7 drm/amd/pm: Fix sienna cichlid incorrect OD volage after resume
    dab920478e2b drm/amdgpu: Don't resume IOMMU after incomplete init
    0243590e33a7 drm/i915/dg2: Add HDMI pixel clock frequencies 267.30 and 319.89 MHz
    5c7591b8574c drm/i915/active: Fix misuse of non-idle barriers as fence trackers
    8bfeb1dd6f57 drm/sun4i: fix missing component unbind on bind errors
    dede8c14a37a drm/shmem-helper: Remove another errant put in error path
    873657813618 riscv: asid: Fixup stale TLB entry cause application crash
    eed0dc9c42ea Revert "riscv: mm: notify remote harts about mmu cache updates"
    d813d8e6d9a0 ALSA: hda/realtek: fix speaker, mute/micmute LEDs not work on a HP platform
    3ce3f1558b61 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro
    44717bdf7139 ALSA: hda: intel-dsp-config: add MTL PCI id
    4bba9c8adec8 KVM: nVMX: add missing consistency checks for CR0 and CR4
    ade62ea3e897 KVM: SVM: Modify AVIC GATag to support max number of 512 vCPUs
    acb0288bdd42 KVM: SVM: Fix a benign off-by-one bug in AVIC physical table mask
    72f90f9cf032 cifs: Fix smb2_set_path_size()
    c8f31c1a0b7c tracing: Make tracepoint lockdep check actually test something
    3968bb946a07 tracing: Check field value in hist_field_name()
    192dcbf57311 tracing: Make splice_read available again
    4aa004224c07 cifs: generate signkey for the channel that's reconnecting
    ae75a110ccc1 md: select BLOCK_LEGACY_AUTOLOAD
    313a5dc3a2aa interconnect: exynos: fix registration race
    c479e4ac4a3d interconnect: exynos: fix node leak in probe PM QoS error path
    323e51d21d67 interconnect: qcom: msm8974: fix registration race
    1b1325879ca6 interconnect: qcom: rpmh: fix registration race
    0add9360fee9 interconnect: qcom: rpmh: fix probe child-node error handling
    5e8d808cb274 interconnect: qcom: rpm: fix registration race
    1d7dd7291b88 interconnect: qcom: rpm: fix probe child-node error handling
    306b406e4ec9 interconnect: qcom: osm-l3: fix registration race
    3167306455d0 interconnect: fix mem leak when freeing nodes
    c8a8ebeaa040 interconnect: imx: fix registration race
    949cb37d21bc interconnect: fix provider registration API
    3d6e1ac21d79 interconnect: fix icc_provider_del() error handling
    f99450d919ff s390/ipl: add missing intersection check to ipl_report handling
    9ba1720f6c4a drm/ttm: Fix a NULL pointer dereference
    20d305f79c4e memory: tegra30-emc: fix interconnect registration race
    d40e710e956b memory: tegra124-emc: fix interconnect registration race
    32013d947a76 memory: tegra20-emc: fix interconnect registration race
    772764570bd7 memory: tegra: fix interconnect registration race
    162049c31eb6 firmware: xilinx: don't make a sleepable memory allocation from an atomic context
    fad3809467df serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it
    4d8c41584bc9 serial: 8250_fsl: fix handle_irq locking
    ba2849db4983 serial: 8250_em: Fix UART port type
    d72ebe4855eb tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
    4d2304d8f779 Revert "tty: serial: fsl_lpuart: adjust SERIAL_FSL_LPUART_CONSOLE config dependency"
    e71eb4dca41f ext4: fix possible double unlock when moving a directory
    a16394b5d661 drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
    7be9a2f8c517 drm/amdgpu: fix ttm_bo calltrace warning in psp_hw_fini
    ff74b0122f56 sh: intc: Avoid spurious sizeof-pointer-div warning
    b9c379e1d7e1 LoongArch: Only call get_timer_irq() once in constant_clockevent_init()
    3f7c09f64289 net/9p: fix bug in client create for .L
    d9923e7214a8 drm/amdkfd: Fix an illegal memory access
    94fd091576b1 ext4: fix task hung in ext4_xattr_delete_inode
    70e66bdeae4d ext4: update s_journal_inum if it changes after journal replay
    b4afe4629ec8 ext4: fail ext4_iget if special inode unallocated
    20ca409886ce rust: arch/um: Disable FP/SIMD instruction to match x86
    1cffdf91ca2b jffs2: correct logic when creating a hole in jffs2_write_begin
    71285be619cb soc: mediatek: mtk-svs: keep svs alive if CONFIG_DEBUG_FS not supported
    2746fdf51b59 mmc: atmel-mci: fix race between stop command and start of next command
    a2b8a41cc9e3 media: m5mols: fix off-by-one loop termination error
    d3827d53b098 hwmon: (ltc2992) Set `can_sleep` flag for GPIO chip
    b9e80aa64ee0 hwmon: (adm1266) Set `can_sleep` flag for GPIO chip
    8a3876f8c79f kconfig: Update config changed flag before calling callback
    fc331de5523f hwmon: tmp512: drop of_match_ptr for ID table
    634b3304f78d hwmon: (ucd90320) Add minimum delay between bus accesses
    265656c43eb9 hwmon: (ina3221) return prober error code
    b2ae1f15cd6f hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition
    afda11bae889 hwmon: (adt7475) Fix masking of hysteresis registers
    ad22336d33d5 hwmon: (adt7475) Display smoothing attributes in correct order
    ecb1b5135bd3 bonding: restore bond's IFF_SLAVE flag if a non-eth dev enslave fails
    40d8c4f6e427 bonding: restore IFF_MASTER/SLAVE flags on bond enslave ether type change
    42e8ecb1d30d ethernet: sun: add check for the mdesc_grab()
    6992a1004def net: dsa: microchip: fix RGMII delay configuration on KSZ8765/KSZ8794/KSZ8795
    5f916531e750 qed/qed_mng_tlv: correctly zero out ->min instead of ->hour
    51b6912a6bac selftests: net: devlink_port_split.py: skip test if no suitable device available
    76d8a9a194ca i825xx: sni_82596: use eth_hw_addr_set()
    c78f1345db4e net/iucv: Fix size of interrupt data
    ee744ac65c40 net: atlantic: Fix crash when XDP is enabled but no program is loaded
    4caee8e7d91e net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
    1c5642cfa6d5 ipv4: Fix incorrect table ID in IOCTL path
    c058d3e4e82a sh_eth: avoid PHY being resumed when interface is not up
    fba6fb5447c6 ravb: avoid PHY being resumed when interface is not up
    eaae4e3f3a1d net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290
    b5d6e4f6b97c net: dsa: don't error out when drivers return ETH_DATA_LEN in .port_max_mtu()
    2ecc6e449593 ice: xsk: disable txq irq before flushing hw
    717d20710596 veth: Fix use after free in XDP_REDIRECT
    555a9c6a191a net/mlx5: Set BREAK_FW_WAIT flag first when removing driver
    b7350f8dbe0c net/mlx5e: Fix cleanup null-ptr deref on encap lock
    a506e38b6940 net/mlx5: E-switch, Fix missing set of split_count when forward to ovs internal port
    3a1f54924548 net/mlx5: E-switch, Fix wrong usage of source port rewrite in split rules
    76422c92e480 net/mlx5e: Support Geneve and GRE with VF tunnel offload
    bec05b05e698 net/mlx5: Disable eswitch before waiting for VF pages
    752860d8aaf4 net/mlx5: Fix setting ec_function bit in MANAGE_PAGES
    20b097ca2205 net/mlx5e: Don't cache tunnel offloads capability
    e79eee0e7091 net/mlx5e: Fix macsec ASO context alignment
    f72a9737f5f9 block: sunvdc: add check for mdesc_grab() returning NULL
    bcd535f07c58 nvmet: avoid potential UAF in nvmet_req_complete()
    afd94e7cbabb nvme: fix handling single range discard request
    351c9633c9d4 block: null_blk: Fix handling of fake timeout request
    5ca66a9fff75 powerpc/mm: Fix false detection of read faults
    9821576e1170 drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc
    c7bdc137ca16 net: usb: smsc75xx: Limit packet length to skb->len
    3517584cf1b3 net/smc: fix deadlock triggered by cancel_delayed_work_syn()
    bb0c7212efb9 mlxsw: spectrum: Fix incorrect parsing depth after reload
    5e331022b448 nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
    b339c0af83d4 tcp: Fix bind() conflict check for dual-stack wildcard address.
    42173a7147e2 net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
    a69b72b57b7d net: tunnels: annotate lockless accesses to dev->needed_headroom
    e3fda704903f loop: Fix use-after-free issues
    221f655b574d block: do not reverse request order when flushing plug list
    68fbc35583ab net: dsa: mt7530: set PLL frequency and trgmii only when trgmii is used
    85d6c1fc36b3 net: dsa: mt7530: remove now incorrect comment regarding port 5
    e10c7ab7d3a1 qed/qed_dev: guard against a possible division by zero
    3c270435db8a net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()
    1a1682abf739 drm/i915/sseu: fix max_subslices array-index-out-of-bounds access
    d586d58c3f2a drm/i915/psr: Use calculated io and fast wake lines
    a2410d0c3d2d PCI: s390: Fix use-after-free of PCI resources with per-function hotplug
    1e803737141f vdpa_sim: set last_used_idx as last_avail_idx in vdpasim_queue_ready
    6efd13e9acd1 vdpa_sim: not reset state in vdpasim_queue_ready
    374bcab6c141 vhost-vdpa: free iommu domain after last use during cleanup
    c703362a66ea i40e: Fix kernel crash during reboot when adapter is in recovery mode
    e92ee025b53d ipvlan: Make skb->skb_iif track skb->dev for l3s mode
    a97ef110c491 nfc: pn533: initialize struct pn533_out_arg properly
    4d2ee43ac2a9 selftests: fix LLVM build for i386 and x86_64
    dcf94604d4a9 wifi: cfg80211: fix MLO connection ownership
    87e80ea4fbc9 wifi: nl80211: fix NULL-ptr deref in offchan check
    928fa441f149 vdpa/mlx5: should not activate virtq object when suspended
    9180aa4622a7 tcp: tcp_make_synack() can be called from process context
    6f93f5d6d7af ftrace,kcfi: Define ftrace_stub_graph conditionally
    7e0ae8667fcd scsi: core: Fix a procfs host directory removal regression
    d2112b18b591 scsi: core: Add BLIST_NO_VPD_SIZE for some VDASD
    71ba8c384b77 netfilter: nft_redir: correct value of inet type `.maxattrs`
    d0f645ea552c netfilter: nft_redir: correct length for loading protocol registers
    8b02143c2ea6 netfilter: nft_masq: correct length for loading protocol registers
    ef6b379d5cec netfilter: nft_nat: correct length for loading protocol registers
    d0564e648c7a ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
    0023972a7593 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
    c6260ceea4a0 scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
    5aab9342f12f scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
    705097d52a15 scsi: mpi3mr: Return proper values for failures in firmware init path
    480aae2f3063 scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
    f28bdab9e208 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
    dca06ccf13de scsi: mpi3mr: Fix config page DMA memory leak
    574cc10edaa7 scsi: mpi3mr: Fix throttle_groups memory leak
    b5e5bbb3fa5f scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
    704e3a33bda4 docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate
    22ea42969325 ASoC: SOF: ipc4-topology: set dmic dai index from copier
    827700ad25d6 ASOC: SOF: Intel: pci-tgl: Fix device description
    1415eb56dd2a ASoC: SOF: Intel: SKL: Fix device description
    47a7b53c52c7 ASoC: SOF: Intel: HDA: Fix device description
    bda78144c8a5 ASoC: SOF: Intel: MTL: Fix the device description
    019fb49c3d83 clk: HI655X: select REGMAP instead of depending on it
    33f080889cfe drm/meson: fix 1px pink line on GXM when scaling video overlay
    0b26f080ccf5 cifs: Move the in_send statistic to __smb_send_rqst()
    59f750e5d2ea fbdev: chipsfb: Fix error codes in chipsfb_pci_init()
    2ece1e25bb42 drm/panfrost: Don't sync rpm suspension after mmu flushing
    96a5aee27439 drm/msm/gem: Prevent blocking within shrinker loop
    5ed267cc7b6c drm/virtio: Pass correct device to dma_sync_sgtable_for_device()
    c436a1743333 xfrm: Allow transport-mode states with AF_UNSPEC selector

(From OE-Core rev: e6c21d1dc64db0eb345c5e909050f737b46be5f5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:31:18 +01:00
Paul Eggleton
801734bc6c bitbake: bitbake-user-manual: add BB_HASH_CODEPARSER_VALS
New variable for 2.4.

(Bitbake rev: d97d62e2cbe4bae17f0886f3b4759e8f9ba6d38c)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:42 +01:00
Paul Eggleton
a91fb4ff74 bitbake: bitbake-user-manual: add addpylib and BB_GLOBAL_PYMODULES
New directive and variable for 2.4.

(Bitbake rev: 1b74a7b71e6c8a034163b57ef4e13b4a58c1f844)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:42 +01:00
Paul Eggleton
54f3339f38 bitbake: bitbake-user-manual: document BB_CACHEDIR
New variable for 2.4.

(Bitbake rev: fa91e1a02240be1f7b78ef70953ff4a0e0106cc2)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:42 +01:00
Enrico Scholz
50c5035dc8 bitbake: cooker: do not abort on single ctrl-c
After b7ed7e9a815c4e10447fd499508be3dbb47f06e8 bitbake aborts immediately
when a single ctrl-c is pressed.

Patch restores the previous behavior where a single ctrl-c waits for
active tasks to finish.

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

(Bitbake rev: 66131fa6a3e12c28710d09e1dbf3c03f2981280d)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:42 +01:00
Svend Meyland Nicolaisen
c078df73b9 bitbake: npmsw fetcher: Avoid instantiating Fetch class if url list is empty
Recipes containing both git and npmsw sources in the SRC_URI fail
during fetch from the shrinkwrap. It seems that when the fetcher is
fetching from the shrinkwrap, the SRCREV variable has been deleted but it
till ends up fetching from the git source resulting in an error because
SRCREV is undefined. The root cause of this is that the Fetch class defaults
to urls from the SRC_URI when the urls parameter contains an empty list. This
patch will ensure that Fetch is not instantiated if the urls list is empty.

(Bitbake rev: e602963dfd505eef08702366383358d29ee20c4d)

Signed-off-by: Svend Meyland Nicolaisen <public@smn.dk>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:42 +01:00
Chen Qi
c570cf1733 bitbake: runqueue: fix PSI check calculation
The current PSI check calculation does not take into consideration
the possibility of the time interval between last check and current
check being much larger than 1s. In fact, the current behavior does
not match what the manual says about BB_PRESSURE_MAX_XXX, even if
the value is set to upper limit, 1000000, we still get many blocks
on new task launch. The difference between 'total' should be divided
by the time interval if it's larger than 1s.

(Bitbake rev: b4763c2c93e7494e0a27f5970c19c1aac66c228b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:42 +01:00
Kai Kang
39428da6b6 bitbake: bitbake: ConfHandler: Allow variable flag name with a single character
Update regex pattern to allow variable flag name with a single character.

Regression tests have also been updated in `bb.parse` and
`bin/bitbake-selftest -k ParseTest` has been successfully executed.

Eliminate a trailing space as well.

(Bitbake rev: bb9e523291a3cad6e1596ee6a1e715b5e5feba8f)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:42 +01:00
Mingli Yu
acf268757f bitbake: event: add bb.event.ParseError
Add bb.event.ParseError to let error-report can catch this kind of error.

(Bitbake rev: 316524ab59a5e738c25e062923ee5717d88ae5c7)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-22 10:30:42 +01:00
Richard Purdie
4bb775aecb cve-exclusions: Document some further linux-yocto CVE statuses
Add some information about some further kernel CVEs which don't apply for
either linux-yocto or don't apply for linux-yocto 6.1.

(From OE-Core rev: 85c1713bf0c01c68558bfba38edcc005c1ebb1c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-12 14:17:09 +01:00
Yoann Congal
7ebcf1477a cve-extra-exclusion: ignore disputed CVE-2023-23005
(From OE-Core rev: 39274240b7756f498507b229d5f3461c207f1823)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Frank WOLFF <frank.wolff@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-12 14:17:09 +01:00
Yoann Congal
fe76a450eb cve-exclusions_6.1: ignore patched CVE-2022-38457 & CVE-2022-40133
Ignore CVE-2022-38457 & CVE-2022-40133 as they looks patched in our 6.1
branch.

I've asked the NVD to add the commit as the patch for these CVEs, but in
the meantime, other sources seem to agree that the commit fixes these
CVEs (and I concur).

(From OE-Core rev: 990d1cbb1628577bd159e8266fa15976f1f17062)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-12 14:17:09 +01:00
Richard Purdie
09bdad16f3 build-appliance-image: Update to master head revision
(From OE-Core rev: 2bcb015b6fe72aa4c928741285c49d3d9ec55e85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:36:05 +01:00
Michael Opdenacker
311c76c8e8 manuals: improve and fix target for supported distros
- Fix the location of the target for supported distributions
- Improve the name of this target

(From yocto-docs rev: 40f0cf9302b9f0ce01a1270977644b1b2fdfc650)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:35:18 +01:00
Yoann Congal
33e23d4992 cve-extra-exclusions: ignore inapplicable linux-yocto CVEs
CVEs CVE-2023-0179, CVE-2023-1079 and CVE-2023-1513 are patched in our
kernels but appear as active because the NVD database is not up to date.

(From OE-Core rev: ae1e7999a06c56c6f752413296b8f6b505475f8b)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Frank WOLFF <frank.wolff@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:32:20 +01:00
Marek Vasut
c9f2486c52 cpio: Fix wrong CRC with ASCII CRC for large files
Due to signedness, the checksum is not computed when filesize is bigger
a 2GB. Pick a fix for this problem from CPIO ML, where the fix has been
posted for 5 years. Since CPIO upstream is effectively unresponsive and
any and all attempts to communicate with the maintainer and get the fix
applied upstream failed, add the fix here instead.

(From OE-Core rev: bfff138af4bdd356ac66571e6ad91c1a5599b935)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:31:42 +01:00
Mikko Rapeli
3083993c71 oeqa ping.py: fail test if target IP address has not been set
It is possible to call exported tests with --target-ip set to ":22"
where IP address is not set at all. Detect this case and fail the test
instead of calling ping without an IP address.

(From OE-Core rev: 17c995c53775b8cee279ca4ced916092067e1195)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:31:42 +01:00
Mikko Rapeli
5ecafc3fec oeqa ping.py: avoid busylooping failing ping command
Use a sleep on error path before trying again. For example
when oeqa runtime tests are executed without setting target
IP address correctly, the tests are drowning logs with messages:

2023-04-04 07:19:24,985 - runtime - INFO - test_ping (ping.PingTest.test_ping)
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
ping: usage error: Destination address required
...
2023-04-04 07:19:55,002 - runtime - INFO -  ... FAIL
2023-04-04 07:19:55,002 - runtime - INFO - Traceback (most recent call
last):
  File \"/lava-62618/3/tests/3_oeqa-runtime-tests/image/lib/oeqa/runtime/cases/ping.py\", line 23, in test_ping
    output += proc.communicate()[0].decode('utf-8')
              ^^^^^^^^^^^^^^^^^^
  File \"/usr/lib/python3.11/subprocess.py\", line 1194, in communicate
    stdout = self.stdout.read()
             ^^^^^^^^^^^^^^^^^^
  File \"/lava-62618/3/tests/3_oeqa-runtime-tests/image/lib/oeqa/core/decorator/oetimeout.py\", line 18, in _timeoutHandler
    raise OEQATimeoutError(\"Timed out after %s \"
oeqa.core.exception.OEQATimeoutError: Timed out after 30 seconds of execution

(From OE-Core rev: 87ec75710b5cd7b3f35d886003844d62d3182b54)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:31:42 +01:00
Luca Ceresoli
df736bbb51 devicetree.bbclass: fix typo
(From OE-Core rev: d523079bbea54f791039bf40db3bbc5c5e857ca3)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:31:42 +01:00
Denys Dmytriyenko
8384b32422 grep: upgrade 3.9 -> 3.10
This is to announce grep-3.10, a stable release,
fixing a bug with -P and \d. TL;DR, grep-3.9 would do this:

  $ LC_ALL=en_US.UTF-8 grep -P '\d' <<< ٠١٢٣٤٥٦٧٨٩
  ٠١٢٣٤٥٦٧٨٩

It should print nothing, like it has always done.
For more detail, see https://lists.gnu.org/r/bug-grep/2023-03/msg00005.html

Thanks to Paul Eggert for catching the \D variant and to Bruno Haible
for assiduously tending gnulib and for testing grep on so many
different systems.

There have been 12 commits by 2 people in the 17 days since 3.9.

(From OE-Core rev: 7ac3bcf228ceb4b56f82c65941b95a276d7d3b95)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:31:42 +01:00
Denys Dmytriyenko
bcf6c5483b xz: upgrade 5.4.1 -> 5.4.2
COPYING files had 2 updates w/o affecting licensing:
* URLs to gnu.org and fsf.org switched to https
* Clarifying licensing of liblzma Doxygen-generated docs - details below

5.4.2 (2023-03-18)
    * All fixes from 5.2.11 that were not included in 5.4.1.
    * If xz is built with support for the Capsicum sandbox but running
      in an environment that doesn't support Capsicum, xz now runs
      normally without sandboxing instead of exiting with an error.
    * liblzma:
        - Documentation was updated to improve the style, consistency,
          and completeness of the liblzma API headers.
        - The Doxygen-generated HTML documentation for the liblzma API
          header files is now included in the source release and is
          installed as part of "make install". All JavaScript is
          removed to simplify license compliance and to reduce the
          install size.
        - Fixed a minor bug in lzma_str_from_filters() that produced
          too many filters in the output string instead of reporting
          an error if the input array had more than four filters. This
          bug did not affect xz.
    * Build systems:
        - autogen.sh now invokes the doxygen tool via the new wrapper
          script doxygen/update-doxygen, unless the command line option
          --no-doxygen is used.
        - Added microlzma_encoder.c and microlzma_decoder.c to the
          VS project files for Windows and to the CMake build. These
          should have been included in 5.3.2alpha.
    * Tests:
        - Added a test to the CMake build that was forgotten in the
          previous release.
        - Added and refactored a few tests.
    * Translations:
        - Updated the Brazilian Portuguese translation.
        - Added Brazilian Portuguese man page translation.

(From OE-Core rev: 0331fac93570b8e2960ac94b2a6a7eb71cb1a1d0)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:31:42 +01:00
Martin Jansa
f135a26aa3 selftest: efibootpartition.py: fix QEMU_USE_KVM usage
* if you don't have QEMU_USE_KVM in local.conf it fails with:

  2023-03-12 18:06:29,591 - oe-selftest - DEBUG - Checking if qemux86-64 is not this MACHINE
  2023-03-12 18:06:29,594 - oe-selftest - INFO -  ... ERROR
  2023-03-12 18:06:29,594 - oe-selftest - INFO - Traceback (most recent call last):
    File "/OE/build/poky/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
      return func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
    File "/OE/build/poky/meta/lib/oeqa/selftest/cases/efibootpartition.py", line 18, in test_boot_efi
      if oe.types.qemu_use_kvm(self.td['QEMU_USE_KVM'], self.td["TARGET_ARCH"]):
                               ~~~~~~~^^^^^^^^^^^^^^^^
  KeyError: 'QEMU_USE_KVM'

[YOCTO #12937]

(From OE-Core rev: 7c32ca2f91beb98769c89470b37f06cb4b99aebb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:31:42 +01:00
Martin Jansa
b4c6e1af8c python3-bcrypt-crates.inc: regenerate with updated bbclass
* it's needed for compatibility with updated fetcher from:
  https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/

* easiest way to regenerate these is:
  echo > meta/recipes-devtools/python/python3-bcrypt-crates.inc
  bitbake -c update_crates python3-bcrypt
  git commit

(From OE-Core rev: ccef8f0b0d6e4e8b099953df3cf092b1545aca20)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:28:59 +01:00
Martin Jansa
7018774cf6 python3-cryptography-crates.inc: regenerate with updated bbclass
* it's needed for compatibility with updated fetcher from:
  https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/

* easiest way to regenerate these is:
  echo > meta/recipes-devtools/python/python3-cryptography-crates.inc
  bitbake -c update_crates python3-cryptography
  git commit

(From OE-Core rev: bf6a3cd70d13f05f0e2af2b54635214690a68a78)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:28:59 +01:00
Peter Kjellerstedt
46dafcedf9 cargo-update-recipe-crates.bbclass: Do not add name= to crate:// URIs
With the recent change to the crate fetcher, which automatically sets
the name to for each crate to be versioned, there is no longer a need to
explicitly set the name= parameter for each URI. This also results in
generated files that are compatible with the crate fetcher in Kirkstone
and Langdale.

(From OE-Core rev: eb272afcd9a12ce2b2f43436b3f84f52cb6cdfb7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:28:59 +01:00
Enrico Scholz
b92918eb0e bitbake: fetch2/crate: create versioned 'name' entries
It is common for rust packages to depend on different versions of the
same crate.  E.g.

|    crate://crates.io/windows_x86_64_msvc/0.42.2 \
|    crate://crates.io/windows_x86_64_msvc/0.48.0 \

Identification only by the plain crate name makes the sha256sum
ambiguous

| SRC_URI[windows_x86_64_msvc.sha256sum] = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
| SRC_URI[windows_x86_64_msvc.sha256sum] = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"

and requires lot of manual work to fix the SRC_URI list.

Making the 'name' property unique by appending the version allows
direct copy & paste of reported sha256sum errors to complete the
crates list.

(Bitbake rev: ae2efb05196f9e29ef56ad9a84e2eae5fbdd8030)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-06 14:28:59 +01:00
Richard Purdie
08d564bd92 build-appliance-image: Update to master head revision
(From OE-Core rev: 5a96847e7ef2ff72958d739a91c90e2085c04bc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 17:42:51 +01:00
Richard Purdie
5f3499c659 poky.conf: Bump version for 4.2 mickledore release
(From meta-yocto rev: 9294211a349523a07a81eebf6ce4edb126797d23)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 17:42:45 +01:00
Richard Purdie
eb7dfa68b2 build-appliance-image: Update to master head revision
(From OE-Core rev: 76f16451343b9e6a0f87eaf15a5c6f5a80b73633)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 17:28:51 +01:00
Richard Purdie
fd0de1368e bitbake: bitbake: Bump to version 2.4.0
(Bitbake rev: 46e1ea2e9a203992bb4de48ea21a8e736419ada2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 17:28:40 +01:00
Chris Elledge
18e45a9858 busybox: move hwclock init earlier in startup
hwclock.sh had default update-rc parameters which made it run after
other tasks that work with the clock such as connman. This causes a
time obtained by NTP to be clobbered by a potentially incorrect time
in the RTC.

Provide non-default INITSCRIPT_PARAMS to have hwclock.sh run during
the rc startup before runlevel initscripts start.

(From OE-Core rev: 3012bac35ada9a9f66d9e6e2fecaee09527b9d44)

Signed-off-by: Chris Elledge <celledge@siteworx.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 17:26:53 +01:00
Mark Asselstine
53a1ad0c88 oeqa/selftest/bblogging: uncomment python stdout checks
Since bitbake commit 81a58647b2f4fc0a2589b2978fc9d81b2bfe6aec
[bitbake: build: Make python output print to stdout when running with
-v (verbose)] we no longer need to comment out the python stdout
checks.

(From OE-Core rev: 67886a8473c511c8ab3db2e4587cc5a070979d11)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 17:26:53 +01:00
Thomas De Schampheleire
bb1cd7e0ca qemu: rename deprecated --enable-trace-backend configure option
qemu 6.2 deprecated the configure option '--enable-trace-backend' in favor
of '--enable-trace-backends' [1]

Rename accordingly.

[1] https://wiki.qemu.org/ChangeLog/6.2#Build_Information

(From OE-Core rev: 9e41fac1c2ee15aaff9926dac3c0233430adff12)

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 17:26:53 +01:00
Thomas De Schampheleire
e36aa2418f qemu: retain default trace backend if 'ust' is not enabled
The qemu build system enables the 'log' trace backend by default, if no
explicit choice was made with '--enable-trace-backend=CHOICE'.

However, the qemu recipe uses the following PACKAGECONFIG line:
    PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust,"

which means that the 'nop' trace backend will be explicitly selected if the
'ust' feature is not enabled. The 'nop' backend removes almost all trace
points at compile time, and thus basically means 'disable tracing'.

To retain the default trace backend if 'ust' is not enabled, the above
PACKAGECONFIG line should either explicitly fall back to the 'log' backend,
or not provide any value for the 'disabled' case. This commit chooses the
latter to not make any assumption about the upstream default.

(From OE-Core rev: c31396a30dcf17ab23ff4dd5943eef5fba20cba6)

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 17:26:53 +01:00
Thomas De Schampheleire
f5fc2acb4e qemu: make tracetool-generated output reproducible
'#line' directives written by qemu's tracetool makes the 'debug' package not
reproducible due to absolute paths. Apply a patch to use a relative path
instead.

(From OE-Core rev: 85e30c507b63fa9126887dc6435d1ee6e23bd887)

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 17:26:53 +01:00
Geoffrey GIRY
b8bfd3b01b cve-extra-exclusions: ignore inapplicable linux-yocto CVEs
Multiple CVEs are patched in kernel but appear as active because the NVD
database is not up to date.

In common file cve-extra-exclusion.inc, CVEs are ignored if and only if
all versions of kernel used are patched.

In cve-exclusion_6.1.inc, only ignore CVEs that are patched in v6.1,
and not patched in v5.15.
Recipes of version 6.1 should include this file.

Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
(From OE-Core rev: 5feb065f1b1aaf218f71cc9d31a9251b139b9442)

Signed-off-by: Geoffrey GIRY <geoffrey.giry@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 17:26:11 +01:00
Richard Purdie
0e5bdb623b xdg-utils: Fix CVE number
In the previous commit I somehow mixed up and used an incorrect CVE number.
Use the correct one.

(From OE-Core rev: b3e2729f686ff6e16e11590bcd701c057ae5f1e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-05 08:39:43 +01:00
Mark Hatle
38e3769a72 sanity.bbclass: Update minimum gcc version to 8.0
With a gcc older then 8.0, mesa-native will fail to build with the error:
  sorry, unimplemented: non-trivial designated initializers not supported

According to https://docs.mesa3d.org/install.html?highlight=gcc+version#compile
the required minimum compiler version is now GCC 8.0.

(From OE-Core rev: aa466053bf8a4b7998a462f0b49372d3a68a28e3)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 21:55:21 +01:00
Richard Purdie
9b070654f8 cve-extra-exclusions.inc: Exclude some issues not present in linux-yocto
Exclude some CVEs where the patches were backported to the stable series
kernels we have.

https://www.linuxkernelcves.com/cves/CVE-XXXX-XXXX is useful to help
with this.

Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
(From OE-Core rev: 33448393493d507c4d81c40e43537065a7b61d4c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 21:55:21 +01:00
Richard Purdie
c097180d43 xdg-utils: Add a patch for CVE-2020-27748
Take a patch submitted upstream for the issue while upstream decide what
to do. We don't use thunderbird integration so this isn't an issue for us.

(From OE-Core rev: b85b7714a44caa70beb2f115483ee52745aa1b97)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 21:55:21 +01:00
Ross Burton
bcf8ac1ff5 Increase minimum GCC version to 8.0
We've increased the minimum GCC version to 8.0[1] so update the
documentation to match.

[1] sanity.bbclass: Update minimum gcc version to 8.0

(From yocto-docs rev: c74254fa7406c76b26e47b968685115699f95c55)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 17:46:27 +01:00
Petr Kubizňák
bf2d2d0a62 vte: depend on glib-2.0-native
When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but vte has a hard dependency on it
(do_configure fails due to missing glib-mkenums).

(From OE-Core rev: 686e0cb93f9f6ef663243e62c7a8cc43ca1dcd3a)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:33:18 +01:00
Frederic Martinsons
bbf2e79f88 bitbake: fetch2: Display all missing checksum at once
Instead of only display the first and stop.
For recipe (crago based) that can contains several artifacts
to fetch with their checksum, it will particularly handy
to display all of missing one.

An example of error message would be

NOTE: Executing Tasks
ERROR: zvariant-3.12.0-r0 do_fetch: Missing SRC_URI checksum, please add those to the recipe:
SRC_URI[anyhow-1.0.70.sha256sum] = "7de8ce5e0f9f8d88245311066a578d72b7af3e7088f32783804676302df237e4"
SRC_URI[chrono-0.4.24.sha256sum] = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b"
SRC_URI[serde-1.0.158.sha256sum] = "771d4d9c4163ee138805e12c710dd365e4f44be8be0503cb1bb9eb989425d9c9"
SRC_URI[system-deps-1.3.2.sha256sum] = "0f3ecc17269a19353b3558b313bba738b25d82993e30d62a18406a24aba4649b"
ERROR: zvariant-3.12.0-r0 do_fetch: Bitbake Fetcher Error: BBFetchException('There was some missing checksums in the recipe')
ERROR: Logfile of failure stored in: /home/jenkins/yocto-poky-master/poky/build/tmp/work/core2-64-poky-linux/zvariant/3.12.0-r0/temp/log.do_fetch.1025
ERROR: Task (/home/jenkins/yocto-poky-master/poky/meta-selftest/recipes-extended/zvariant/zvariant_3.12.0.bb:do_fetch) failed with exit code '1'

(Bitbake rev: dafa07c080e05975b6319b5adf78a9691c6b6643)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:12:23 +01:00
Ross Burton
97986cbfc2 gstreamer1.0-plugins: package the internal libraries explicitly
An upcoming change will simplify the setuptools3-base FILES assignments,
which means this recipe needs to package a library explicitly.

(From OE-Core rev: bab2e8c76453cf9982af936f20c6b22cc2237ba7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:50 +01:00
Ross Burton
04108d9c9f bind: don't package non-existant .la files into -staticdev
If these files exist they should be packaged into PN-dev, and are with
the default FILES:${PN}-dev.

(From OE-Core rev: 738434bf567d25de692cd145156263eea1a5de13)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:50 +01:00
Ross Burton
6468b9aa88 classes-recipe/setuptools3-base: clean up FILES assignments
Simply inheriting setuptools3-base should put everything in $libdir in
PN, and there's no need to replicate the pkgconfig packaging rules as
those are the defaults.

(From OE-Core rev: 56a32e31d4fdfb908f0edf513d21bc0f2b8c721e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:50 +01:00
Petr Kubizňák
3840c0b790 libnotify: depend on glib-2.0-native
When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but libnotify has a hard dependency on it
(do_configure fails due to missing glib-mkenums).

(From OE-Core rev: 63cc22caf4dfcde1d7a3a8410559bb227ed95c33)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:50 +01:00
Petr Kubizňák
8fecd64f26 webkitgtk: add missing dependencies
When gobject-introspection feature is disabled, gettext-native and
glib-2.0-native dependencies are not pulled in, which causes failures
in do_compile due to missing xgettext and gdbus-codegen.

(From OE-Core rev: c9e4c3d437ba7cadb87bc30b85f602b8551a0e17)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:50 +01:00
Petr Kubizňák
497707c404 gconf: add missing dependencies
When gobject-introspection feature is disabled, glib-2.0-native
and gobject-introspection package dependencies are not pulled in
but gconf has a hard dependency on them (do_configure fails due to
missing introspection.m4 file and glib-gettextize).

(From OE-Core rev: d87bc67fde3c8bc6068cb67708953ce88ac31e3f)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:50 +01:00
Petr Kubizňák
af9398b86f python3-pygobject: depend on gobject-introspection
When g-i feature is disabled, the gobject-introspection package
dependency is not pulled in but pygobject has a hard dependency on it.

(From OE-Core rev: 7fae697c6889e17dd47415808a7173670b507047)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:50 +01:00
Petr Kubizňák
6cce262cc4 graphene: add gobject-types PACKAGECONFIG
Add an option to enable/disable build of graphene-gobject. When
enabled, add glib dependency (not pulled in implicitly if
the gobject-introspection feature is disabled).

Default is to enable gobject-types so that graphene-gobject is built
(dependency of gtk4).

(From OE-Core rev: b82781498cda67f4797de5b8b7c2b90a275a72e1)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:50 +01:00
Mingli Yu
93196f698a report-error: catch Nothing PROVIDES error
Make the report-error catch Nothing PROVIDES error and then
we can check it directly via error report web.

(From OE-Core rev: a57d8f82b83554c821a83eacc02f9c73b263ff02)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:50 +01:00
Alexander Kanavin
6cfa4e540c rust: update 1.67.1 -> 1.68.1
Rebase patches; one of the vendored crossbeam versions
has been removed upstream, and so crossbeam_atomic.patch
is adjusted accordingly.

Replace getrandom-open64.patch with a backport.

(From OE-Core rev: f5accb4fae49342cbec21718ae7a427615bfcedd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:50 +01:00
Alexander Kanavin
d75a58d013 rust: install llvm item only once
Otherwise it triggers a rebuild of llvm-dependent rust pieces every time rust_runx is called,
lengthening the builds without need.

(From OE-Core rev: aca6b29b508175da9f213b1c6dba5d02a15b8287)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:50 +01:00
Alexander Kanavin
cd9526df73 rust: do not run separate build/install steps
Upstream does not actually use or test it this way; if the goal
is to install items, then install target should be executed directly.

In particular, in latest rust release building stage 2 items has regressed
altogether (incorrect dependencies between rust-analyze tool and the
libs it needs) and no one noticed.

(From OE-Core rev: 7d805f9a9f6b5048308a37a2757d08cca40b1ff3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:49 +01:00
Martin Jansa
3f0acc2a61 runqemu: respect IMAGE_LINK_NAME
* when searching for qemuboot.conf
* don't assume that IMAGE_LINK_NAME is always
  <rootfs>-<machine> (with <rootfs>-<machine>.qemuboot.conf)

* runqemu: use IMAGE_LINK_NAME set by testimage.bbclass or query with bitbake -e

* testimage.bbclass was setting DEPLOY_DIR which I don't see used
  anywhere else, so I assume it was supposed to be DEPLOY_DIR_IMAGE as mentioned
  in corresponding runqemu code, do the same with IMAGE_LINK_NAME variable

* add virtual/kernel as bitbake -e target in run_bitbake_env to make
  sure IMAGE_LINK_NAME is defined (kernel-artifact-names.bbclass inherits
  image-artifact-names.bbclass as well)

* improve .qemuboot.conf search
  1st search for file matching the rootfs and only when not found
  try again with .rootfs suffix removed

[YOCTO #12937]

(From OE-Core rev: 716eb55bb963db7b02d985849cb025898aabc855)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-04 13:11:49 +01:00
Ulrich Ölmann
658728a678 ref-manual: classes.rst: fix typo
(From yocto-docs rev: c6cc3403bcb4b12de74d89f563020669340592ed)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 14:48:47 +01:00
Ulrich Ölmann
26cfcb7b2d kernel-dev: fix typos
(From yocto-docs rev: 79aa7b7bf1690267b1e7900fdf10165be5b460af)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 14:48:47 +01:00
Michael Opdenacker
3525a67b0c manuals: add "LTS" term
(From yocto-docs rev: 70536fa188101c8fdd6bbca8343829c4f798ef47)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 14:48:47 +01:00
Michael Opdenacker
f7b881c7a8 ref-manual: release-process.rst: major updates
- Introduce LTS releases
- Fix stable release support duration
- Update release notes
- Add a diagram illustrating the release process

(From yocto-docs rev: d87ef48873ba075a3632f1e2aeb5dc2f8a3400bb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 14:48:47 +01:00
Michael Opdenacker
d7f0d97d43 ref-manual: release-process.rst: update testing section
- Remove note to section not carrying information about
  special hosts tools for oe-selftest

- Add links to mentioned repositories

CC: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 14:48:47 +01:00
Michael Opdenacker
88b440af71 manuals: add minimum RAM requirements
Measured by generating a "core-image-sato" image for a "qemux86-64"
machine from an Ubuntu 22.04 VM with 4 cores.

Less memory was not enough and caused Out of Memory failures.

(From yocto-docs rev: a05f87929eed43cef673a8c2581899a8c9ccf462)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 14:48:47 +01:00
Michael Opdenacker
71b964b0dc manuals: add rm_work disk space data
(From yocto-docs rev: 8121a02cde6b0149aef441926c5b8e89cb9854df)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 14:48:47 +01:00
Michael Opdenacker
c8b7c5ab1e manuals: update disk space requirements
Tests made on Poky master on March 16, 2023.

Add a "Free Disk Space" section to the "System Requirements" document.

(From yocto-docs rev: 285ba689ce3ab7b7fdb4bb0d0284e2a52ad62c7f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 14:48:47 +01:00
Wentao Zhang
66f7944f9e python3: Fix failing sysconfig.py test on x86(64 bit) using lib64 as baselib by updating test_sysconfig for posix_user purelib
Steps to trigger the failed test:
Edit local.conf to add something as follows:
    BASELIB = "lib64"
    IMAGE_INSTALL:append = " python3-tests".
bitbake core-image-sato
runqemu qemux86-64 nographic slirp
Reproducer:
    $python3 -m test test_sysconfig

sysconfig.py use platlibdir for purelib. Update
test_sysconfig.test_user_similar() for the posix_user
scheme: "purelib" doesn't use sys.platlibdir.

(From OE-Core rev: 755321362e994a6a37a0f554b1aea56823de924e)

Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 11:39:59 +01:00
Soumya
3c7f0d2ec6 shadow: Fix can not print full login timeout message
When we do not enter password during login, it is expected to display message "Login timed out after 60 seconds". But it prints only first few bytes(like "Login t") when write is immediately followed by exit.
Fix - Calling exit from new handler provides enough time to display full message.

Upstream-Status: Accepted [670cae8348]

(From OE-Core rev: 644cfe9dcf351bfa6c67f4b4d1e7dec416a59021)

Signed-off-by: Soumya <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 11:39:59 +01:00
Petr Kubizňák
6fbae6e06c avahi: add missing dependencies
When gobject-introspection feature is disabled, glib-2.0-native
and gobject-introspection package dependencies are not pulled in
but avahi has a hard dependency on them (do_configure fails due
to missing introspection.m4 file, do_compile fails due to missing
glib-mkenums).

(From OE-Core rev: fea90325b180ba8d2b19704dc8911a9175527c61)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 11:39:59 +01:00
Ross Burton
1c3c56ca19 oeqa/runtime: clean up deprecated backslash expansion
(From OE-Core rev: 77085a05240c3f8226b9f2199c977f2555807789)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 11:39:59 +01:00
Petr Kubizňák
13cc2d67e7 at-spi2-core: depend on glib-2.0-native
When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but at-spi2-core has a hard dependency on it
(do_configure fails due to missing glib-genmarshal).

(From OE-Core rev: 954411393a50b8d09cc42f1098e54193d6b19e1d)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 11:39:59 +01:00
Petr Kubizňák
ac3ab46c11 libgudev: depend on glib-2.0-native
When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but libgudev has a hard dependency on it
(do_configure fails due to missing glib-mkenums).

(From OE-Core rev: 8fd140011f89ededdfd7feb1c0e3a2d67e06808a)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 11:39:59 +01:00
Petr Kubizňák
b75dd468ae json-glib: depend on glib-2.0-native
When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but json-glib has a hard dependency on it
(do_configure fails due to missing glib-mkenums).

(From OE-Core rev: 2d67634d778bce9efdad9df75b3fe3e224708d7f)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 11:39:59 +01:00
Petr Kubizňák
3ee55fb694 harfbuzz: depend on glib-2.0-native
When gobject-introspection feature is disabled, glib-2.0-native package
dependency is not pulled in but harfbuzz has a hard dependency on it
(do_configure fails due to missing glib-mkenums).

(From OE-Core rev: 77e6edba704873d21c2cf946d1be18e13abb9f5e)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 11:39:59 +01:00
Martin Jansa
36f736bd39 selftest: runqemu: use better error message when asserts fail
* It was showing whole log and that the runqemu command failed, but not
  where the log file is, nor why it thinks the runqemu failed

[YOCTO #12937]

(From OE-Core rev: ad4b72e6524114a3bdee10cab71f194ea143cd24)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 11:39:59 +01:00
Martin Jansa
34aa323f18 selftest: runqemu: better check for ROOTFS: in the log
* it was searching for line like this:
  ROOTFS: [/OE/build/poky/build/build-st-2023-03-20-esdk-runqemu-patch1/runqemu.RunqemuTests.test_boot_machine_ext4/build-st/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64-20230320081121.rootfs.ext4]
  but with IMAGE_NAME_SUFFIX changed to something else than default ".rootfs"
  or with my pending changes the line looks like this:
  ROOTFS: [/OE/build/poky/build/build-st-2023-03-20-esdk-runqemu-patch2/runqemu.RunqemuTests.test_boot_machine_ext4/build-st/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs-20230320085744.ext4]
  and test was failing.

* Check for whole line starting with ROOTFS: and ending just with .ext4

[YOCTO #12937]

(From OE-Core rev: 7a0f622f23aff2c4eeca0606e7682931eb53287a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 11:39:59 +01:00
Martin Jansa
edd4fe8cb3 selftest: imagefeatures.py: don't mix tabs and spaces for indentation
* introduced in:
  https://git.openembedded.org/openembedded-core/commit/?id=96d4486df6d870ef19e2055b026729e66bc118f3

(From OE-Core rev: 143f624116802579e7a6804c8d4b562f931880c8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-03 11:39:59 +01:00
Richard Purdie
bf4b5bd0bd zvariant: Exclude from world for now to avoid reproducibility issues
Ultimately we'll remove this and use for better rust reproducibility
testing too.

(From OE-Core rev: 6c6536a41bfb8651fe94d90898207c5b53673e44)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-01 11:36:26 +01:00
Frederic Martinsons
476890160a cargo-update-recipe-crates: force name overrides
A project can have multiple Cargo.lock (provides
multiple binaries for example) and each one can
depends on differenct version of the same crates.
Even within the same Cargo.lock file, it is possible
to have different version of same crates.

To avoid conflicts, override the name with the version
for all crates checksum

Moreover, when searching for Cargo.lock, we should ignore
specific dir like .git (no use to walk down there) and .pc
(because it can have a Cargo.lock if this file was patched)

(From OE-Core rev: 1795e98a04ad09b011afcc7cc3bf6dc49475b19a)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-01 11:36:26 +01:00
Frederic Martinsons
ad460bb6aa meta-selftest: provide a recipe for zvariant
This recipe is for showing a "real world" example of
a crate that depends on some git repositories.

Usually, this kind of crate is built within a global
workspace (here it is the zbus project) and so
doesn't need a Cargo.lock on its own.

For the sake of the demonstration, I had to tweak things
a little to be able to compile zvariant in standalone
(no relative path in dependency, no symlink to LICENSE
provide a Cargo.lock)

The use case where the crate had some git repository
in dependency is very common for "private" crate that
are not aimed to be published on crates.io.
When the project grow bigger, it is common to have
a bin and multiple lib developped in parallel, and these
libs are surely on a git repostitory.

A test case have been also added to check for:
  - the previous patch about git subpath parameter and devtool
  - the correctness of overriding dependencies (first patch of the
series)

(From OE-Core rev: 409e045f96f69877de6f36ed14c5c19a9cb74eaf)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-01 11:36:26 +01:00
Frederic Martinsons
11180fd528 patch: support of git patches when the source uri contained subpath parameter
This is for a specific case where:
  - A recipe use a subpath on a git repo (e.g. git://repo.git/projects;subpath=subproject)
  - The recipe contains a patch to apply
  - a devtool modify is used on this recipe

With these conditions, the patch cannot be applied at all.
GitApplyTree class is used for handling patch under devtool, but
when subpath is present in SRC_URI, the resulting git tree
is dirty (every files and directories which was not in subpath are suppressed)
and so "git am" refuse to apply patches.

That would not be an issue since the GitApplyTree have a fallback
to PatchTree in case of error, but during this error management,
there is a "git reset --hard HEAD" call which suppress the subpath
operation and finally prevents the patch to be applied even with PatchTree.

When devtool is not involved, only PatchTree class is used and the
above problem is irrelevant.

To support git patching during devtool, the presence of subpath and
the dirtyness of the repo are checked. If both conditions are
met, we directly call PatchTree like it was already done
in case of error during git apply.

(From OE-Core rev: d86cac2759cf7e91f4ff240833385e28e729ab79)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-01 11:36:26 +01:00
Frederic Martinsons
da1bcf0808 devtool: add support for multiple git url inside a cargo based recipe
Without that, the possible git urls that are in SRC_URI of a recipe
are removed from SRC_URI during devtool process and so the
cargo_common_do_patch_paths in cargo_common.bbclass cannot
patch these packages to fetch them locally.

I use a generic type name because I foresee this change will
be useful for recipe that used a package manager (cargo but also
npm) see https://bugzilla.yoctoproject.org/show_bug.cgi?id=11015

(From OE-Core rev: 474658a3681c343385c359a21c3693401217298d)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-01 11:36:26 +01:00
Frederic Martinsons
ddf65370a9 cargo_common.bbclass: add support of user in url for patch
To handle url like git://git@repo/project

(From OE-Core rev: ad99ede096aff03c974b8725d90d3c9d1056bae0)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-01 11:36:26 +01:00
Alex Kiernan
0d099fa404 cargo_common.bbclass: Support local github repos
Since disable network was added cargo configurations which reference git
repos fail as they attempt to fetch across the network as part of
do_compile, even if EXTRA_OECARGO_PATHS to add them as part of `paths`
is used, as this is documented as only working for packages which exist
in crates.io.

Add parsing of the SRC_URIs for git repos and include `[patch]` sections
to redirect to the checked out source repos which the bitbake fetcher
has already populated.

There are still cases which don't work - if you have multiple copies of
the same repo with different revisions, there's currently no way to
represent that and anything using a repo which has a virtual manifest
will fail to build (see https://github.com/rust-lang/cargo/issues/4934).

(From OE-Core rev: 684a8af41c5bb70db68e75f72bdc4c9b09630810)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-01 11:36:26 +01:00
Marta Rybczynska
15dc92a4b1 cve-update-nvd2-native: new CVE database fetcher
Add new fetcher for the NVD database using the 2.0 API [1].
The implementation changes as little as possible, keeping the current
database format (but using a different database file for the transition
period), with a notable exception of not using the META table.

Minor changes that could be visible:
- the database starts in 1999 instead of 2002
- the complete fetch is longer (30 minutes typically)

[1] https://nvd.nist.gov/developers/vulnerabilities

(From OE-Core rev: fb62c4c3dbca4e58f7ce6cf29d4b630a06411a97)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-01 11:36:26 +01:00
Enrico Jörns
d59756912c oeqa: whitespace and indentation cleanups
(From OE-Core rev: 4922221d1259e2f78233f17bb901cdac5b9aa520)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Enrico Jörns
4651c42cab oeqa/utils/qemurunner: fix undefined TimeoutExpired
(From OE-Core rev: 19ae3f4440b09d4cfe4bc589d859d476168541bd)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Enrico Jörns
6ef891415f oeqa/utils/qemurunner: limit precision of timing debugging output
* There is no need to be that precise. It just irritates in the logs.
* There is also no point in printing plain time.time() value a single
  time while only using formatted printout everywhere else, thus remove
  it.
* Use %d for printing integer times

(From OE-Core rev: f0988cb8cf8d03708490cca4eba345492ef78d52)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Enrico Jörns
ff7b3d6810 oeqa/utils/qemurunner: replace hard-coded user 'root' in debug output
Since login user is configurable with boot_patterns['send_login_user'],
unconditionally using 'root' in the debug message can be confusing.

Also fix the debug message to say 'Logged in' instead of 'Logged'.

(From OE-Core rev: 900e3d42b918b5a33d8d952b3a8078fbe72ba98f)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Enrico Jörns
a5f848f0e0 oeqa/utils/commands: remove unused imports
(From OE-Core rev: 0c00b5cdd57c3d9c47d4780d6627c74221911b72)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Enrico Jörns
c27a505f58 oeqa/utils/commands: fix usage of undefined EPIPE
(From OE-Core rev: 1cb17e37e275794e26debed2d171c2394d8bb945)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Enrico Jörns
fbd4843544 oeqa/targetcontrol: remove unused imports
(From OE-Core rev: 46b42edbf814d15be3a18283018ede2d4f817bc6)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Enrico Jörns
6ae5bd896a oeqa/targetcontrol: do not set dump_host_cmds redundantly
This is already set above, thus simply use the set value from there.

(From OE-Core rev: 2f6571ffb23b1a0b5bd6a1212fc108e536f04539)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Enrico Jörns
ed363d0ec9 oeqa/targetcontrol: fix misspelled RuntimeError
(From OE-Core rev: 92ffc35052768c753a89b4839c70db87072437a2)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Enrico Jörns
4d2c6baba5 oeqa/selftest/cases/runqemu: update imports
'tempfile' and 'oeqa.utils.command.runCmd' are unused while 'os' is
actually used.

(From OE-Core rev: 50f766233e83528eebeca92877277374c7193530)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Richard Purdie
f67258fcbf oeqa/loader: Ensure module names don't contain uppercase characters
Python modules aren't supposed to have uppercase characters in their names
according to python conventions. We have regexs in the code which work
on that assumption too. Rather than showing errors under some filtering
situations, make it clear and error if a problematic name is seen.

(From OE-Core rev: 7964a6ee54e881a6128707a7f2a42eec2ed63881)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Tobias Hagelborn
5a34ddf76d lib/oe/gpg_sign.py: Avoid race when creating .sig files in detach_sign
Move the signature file into place only after it is successfully signed.
This to avoid race and corrupted .sig files in cases multiple onging
builds write to a shared sstate-cache dir.

(From OE-Core rev: b4ec08ea9efebac262d43f47d95a356fe2829de9)

Signed-off-by: Tobias Hagelborn <tobiasha@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Ross Burton
899ec32f42 webkitgtk: clean up Python variables
The cmake bbclass already sets the path to the correct Python for us,
and there appears to be no more scripts in the build which use 'python'
explicitly.

(From OE-Core rev: abbac1588163b63746928403d524a09532875d5a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Ross Burton
65ee49e1e7 libgit2: clean up CMake variables
LIB_INSTALL_DIR was removed in libgit2 1.0 when they moved to using
GNUInstallDirs.

BUILD_CLAR is now BUILD_TESTS as of libgit2 1.4.

(From OE-Core rev: 9d321a4abf2ee35647293f5ec7e4c354974b45c6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Ross Burton
ef12246e32 llvm: remove redundant CMake variables
This recipe uses the cmake class, so there's no need to set the Ninja
backend, or tell it where Python is, or that we're cross-compiling.

(From OE-Core rev: 2560665cc1e30a6ca969118ade8612393e1eef74)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-31 23:30:36 +01:00
Ross Burton
0907793d5e tzdata: upgrade to 2023c
Drop a backport patch as it is now integrated.

(From OE-Core rev: 80d26d1da47dcd9213a7083d9493a7bce0897a57)

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>
2023-03-30 23:26:04 +01:00
Sudip Mukherjee
1e752c3a31 cracklib: upgrade to v2.9.10
Remove a patch which has been applied upstream and rebase
another patch on top of v2.9.10

(From OE-Core rev: d9e8baaca5a6dfd1517f9f328d6644c72404f19e)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 23:26:04 +01:00
Ovidiu Panait
46fda7a1a8 gobject-introspection: inherit python3targetconfig
When building gobject-introspection for aarch64, the generated giscanner
python module has the wrong "x86_64" suffix:
./usr/lib/gobject-introspection/giscanner/_giscanner.cpython-311-x86_64-linux-gnu.so

The EXT_SUFFIX used by meson to generate the python module is taken
from the native python3 sysconfig instead of the target sysconfig.

Replace the python3native inherit with python3targetconfig to fix this.

(From OE-Core rev: 0a6c46743fa6bf3e5418247d4841ae5ffb530262)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 23:26:04 +01:00
Khem Raj
17c6c0d650 Revert "runqemu: Add workaround for APIC hang on pre 4.15 kernels on qemux86"
This reverts commit 82e67b82ea8e12aa0b7b9db1d84fec0436dec71b.

It was commited as part of https://bugzilla.yoctoproject.org/show_bug.cgi?id=12301
for kernels < 4.15, as of now oldest builder kernel we have is 4.15 on
ubuntu 18.04 so we should not require this workaround. Moreover, this
fixes an smp problem with qemux86 where no matter what -smp <x> option
is used, qemu always starts with single core.

(From OE-Core rev: fa8a7c0608fc800c48d0ff1cd832ad63c51eeab1)

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>
2023-03-30 23:26:04 +01:00
Romuald Jeanne
6815f71692 oeqa/selftest/imagefeatures: set a test for mutliubi in test_image_fstypes
Allow 'multiubi' fstype image.
Set 'MULTIUBI_BUILD' with two entries to allow configuration for two
different '.ubifs'.
Configure 'MKUBIFS_ARGS_*' and 'UBINIZE_ARGS_*' for both configurations.

(From OE-Core rev: 96d4486df6d870ef19e2055b026729e66bc118f3)

Signed-off-by: Romuald Jeanne <romuald.jeanne@st.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 23:26:04 +01:00
Martin Jansa
953007b68b selftest: eSDK rename to esdk
* I was hit by oe-selftest -r eSDK.oeSDKExtSelfTest.test_install_libraries_headers
  running all tests except only this selected one:

  poky $ oe-selftest -v -r eSDK.oeSDKExtSelfTest.test_install_libraries_headers -K -B /OE/build/poky/build-eSDK
  2023-03-13 14:00:52,955 - oe-selftest - DEBUG - Selected tests with -r: ['eSDK.oeSDKExtSelfTest.test_install_libraries_headers']
  2023-03-13 14:00:55,531 - oe-selftest - INFO - Changing cwd to /OE/build/poky/build
  ..
  2023-03-13 14:00:58,128 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver.test_archiver_allows_to_filter_on_recipe_name)

  this is caused by _built_modules_dict(modules) function
  which filters out eSDK.oeSDKExtSelfTest.test_install_libraries_headers
  based on the regexp and then it runs all loaded tests, because
  modules are empty

  the initial regexp and comment from 2017:
     https://git.openembedded.org/openembedded-core/commit/?id=80db3d999ae26d298d9d5418a32b11a4f27af9d5

     # Assumption: package and module names do not contain upper case
     # characters, whereas class names do
     m = re.match(r'^([^A-Z]+)(?:\.([A-Z][^.]*)(?:\.([^.]+))?)?$', module)

  might still be valid, but it was loosened in 2018 to accept upper case in module:

     https://git.openembedded.org/openembedded-core/commit/?id=1ecf48fd286a77078451b67879a44f9c9dc7a894
     Some test cases (eSDK.oeSDK*, runtime_test/*) does not match with current regex, fix it accept all.

  Then skipping the not matching modules was added later in 2018:

     https://git.openembedded.org/openembedded-core/commit/?id=f2042bf3638ed4edfb167e7f7d4be6da60997ead

  and regexp was updated again in 2020 not to accept upper case in modules:

     https://git.openembedded.org/openembedded-core/commit/?id=ad81ea90a815389e45ff302a85151724c71f71c3
     oeqa/core/loader: refine regex to find module
     test case in format <module name>.<class name>.<test case name>
     this is clear when test cases is only 3 item deep.

     but confused when it is 4 item deep, eg,
     oelib.types.TestList.test_list_nosep

  I'm afraid that changing this regexp again to accept eSDK will break
  someone's favorite test case, renaming eSDK looks much safer option

  There is only 1 such case in poky:
  $ oe-selftest --list-modules | grep INFO.- | sed 's/^.*INFO - //g' | grep -v '^[a-z_\.]*$'
  Listing all available test modules:
  eSDK

  Most modules are just a-z (52x), then oelib.<foo> (6x) and 7 modules with underscore '_'.

(From OE-Core rev: 173ef4397b5be19f72385b1a0d892a1fa8979d53)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 23:26:04 +01:00
Martin Jansa
df3ce81ed3 selftest: systemd_boot.py: respect IMAGE_LINK_NAME
* use IMAGE_LINK_NAME instead of hardcoding
  core-image-minimal-genericx86-64.wic assumption

[YOCTO #12937]

(From meta-yocto rev: d0557c03c5fdeb294f8461ca90f875f0387bff8a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 12:32:30 +01:00
Fawzi KHABER
3ae3669468 oeqa/selftest/cases/package.py: adding unittest for package rename conflicts
This Unittest tries to rename a package, using an already used name and
fails on do_package.

Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
(From OE-Core rev: c3fe173d5196506d89aa464ba56aabcf581a60db)

Signed-off-by: Fawzi KHABER <fawzi.khaber@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 12:32:30 +01:00
Fawzi KHABER
b8486ffe80 package.bbclass: check packages name conflict in do_package
It is possible to rename packages with the macro PKG:${PN} and result in
a package name conflict if the target name exists already.

Add a fatal check to prevent this issue to go unnoticed.

Fix [Yocto #12060]

Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
(From OE-Core rev: f6cb63d3a871c4eef52d981131a56bf41aa1dcdf)

Signed-off-by: Fawzi KHABER <fawzi.khaber@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 12:32:30 +01:00
Geoffrey GIRY
81740facf4 cve-check: Fix false negative version issue
NVD DB store version and update in the same value, separated by '_'.
The proposed patch check if the version from NVD DB contains a "_",
ie 9.2.0_p1 is convert to 9.2.0p1 before version comparison.

[YOCTO #14127]

Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
(From OE-Core rev: 7d00f6ec578084a0a0e5caf36241d53036d996c4)

Signed-off-by: Geoffrey GIRY <geoffrey.giry@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 12:30:38 +01:00
Robert Yang
e8693364c5 bitbake: bitbake: bitbake-user-manual: Update EXCLUDE_FROM_WORLD
(Bitbake rev: ccb2878516d6ac2ee348ad67d0db6dda40e12018)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 10:51:54 +01:00
Robert Yang
178c6e0de8 bitbake: cache: Make EXCLUDE_FROM_WORLD boolean
Fixed:
Set EXCLUDE_FROM_WORLD = "0" in recipe_A:
$ bitbake world -g

Check pn-buildlist, the recipe_A won't be built, this patch fixes the problem:
EXCLUDE_FROM_WORLD = "1": Not build in world
EXCLUDE_FROM_WORLD = "0": Add back to world build

(Bitbake rev: 3f4ede2d67a2d75d3faf8887f90371bd7554d492)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 10:51:54 +01:00
Richard Purdie
c28a9a5799 bitbake: fetch2/local: Mention the value of localpath in failure message
We have an obtuse rare and intermittent bitbake fetch failure. Understanding
the value of ud.localpath at the time of failure would be helpful to debug it
further. Tweak the debugging to provide this in the output.

(Bitbake rev: 935ab36f64d25c09f83209cd369714c2bc89aa7f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 10:51:54 +01:00
Robert Yang
ac3eb2418a bitbake: fetch/git: Fix local clone url to make it work with repo
The "git clone /path/to/git/objects_symlink" couldn't work after the following
change:

6f054f9fb3

But repo command manages the git repo as symlinks, so check whether the objects
is an symlink to fix the problem:

* Nothing is changed if git/objects is not a symlink
* Use "git clone file://" when git/objects is a symlink

(Bitbake rev: a0d8108eba8d542707740d00c66c1c5f5b963f18)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 10:51:54 +01:00
Frederic Martinsons
4d9886e143 bitbake: crate.py: make checksum verification mandatory
(Bitbake rev: 9c07e377a21fe1d9660d084da93873acd289b581)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 10:51:54 +01:00
Frederic Martinsons
2b12c58724 bitbake: fetch2: Add checksum capability for crate fetcher
This change brings checksum verification of each crate
in a recipe, e.g

| SRC_URI += " \
|     crate://crates.io/aho-corasick/0.7.20 \
|     crate://crates.io/atomic-waker/1.1.0 \
|     crate://crates.io/cc/1.0.79 \
| "
|
| SRC_URI[aho-corasick.sha256sum] = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac"
| SRC_URI[atomic-waker.sha256sum] = "debc29dde2e69f9e47506b525f639ed42300fc014a3e007832592448fa8e4599"
| SRC_URI[cc.sha256sum] = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"

That will require to move the checksum initialization
after the possible call to urldata_init method in order
for the crate fetcher to parse the url.

Another way of doing could have been implementing a decodeurl
method that would have been specific for each fetcher class.

(Bitbake rev: 4920686c13dd66f9bfa4f7dd38d6e955f153eeec)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 10:51:54 +01:00
Randy MacLeod
d1f3941417 vim: upgrade 9.0.1403 -> 9.0.1429
Fixes: CVE-2023-1127, CVE-2023-1170, CVE-2023-1175,
       CVE-2023-1264, CVE-2023-1355

(From OE-Core rev: 2415072c3800feb164dd4d1fa0b56bd141a5cbd8)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 10:49:01 +01:00
Arturo Buzarra
10b42adf56 run-postinsts: Set dependency for ldconfig to avoid boot issues
If a package with a postsints script requires ldconfig, the package class adds
a ldconfig postinst fragment to initialize it before. Systemd has its own
ldconfig.service to initialize it and sometimes if both services are running
at the same time in the first boot, the first one will work, but the second
one will fail with the following error:

    ldconfig[141]: /sbin/ldconfig: Renaming of /etc/ld.so.cache~ to /etc/ld.so.cache failed: No such file or directory

This commit adds a ordering dependency between them to make sure that only one
service is running at the same time.

(From OE-Core rev: 4e9d812e127dc6743f52f4881e509e8e2e833afe)

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 10:49:01 +01:00
Frederic Martinsons
2d3dc116fd python3-cryptography: add crates checksums
(From OE-Core rev: 37e5ec204396f59ab5e796ea4a815eaecd12f9b1)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 10:49:01 +01:00
Frederic Martinsons
0dcb5ab346 python3-bcrypt: add crates checksums
(From OE-Core rev: 086bdc7c4eab5f026c0c5adf446cb6d1657f086b)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 10:49:01 +01:00
Frederic Martinsons
eef7fbea2c cargo-update-recipe-crates: generate checksum for each crates
This is related to checksum verification introduction from
https://patchwork.yoctoproject.org/project/bitbake/patch/20230315131513.50635-1-frederic.martinsons@gmail.com/

I also choose to raise an exception if:
 - no crates can be found
 - no Cargo.lock file exist

Otherwise the generated inc file will silently be emptied.

(From OE-Core rev: c75b924a3de02625aa90ad4db4403f00d1ffeba2)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-30 10:49:01 +01:00
Jose Quaresma
2ba13d9447 oeqa/selftest/reproducible: Split different packages from missing packages output
When we provide sstate_targets recipes they are reported as missing
which is not quite correct because they are proveided to cut build/debugging time.

(From OE-Core rev: fd70a564d6946fa460638dd04ce2daecf4566cf3)

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>
2023-03-28 22:28:45 +01:00
Jose Quaresma
f5f465ff57 oeqa/selftest: OESelftestTestContext: convert relative to full path when newbuilddir is provided
Relative paths in BBLAYERS only works when the new build dir are on the same
ascending directory node:
 .
 ├── build
 ├── build-st

It works because they share the same ascending relative directory node.

So use the full path when the argument newbuilddir is provided
to make the oe-selftest work everywere regardless of the location chosen.

(From OE-Core rev: 2e022c1977bc1006c00a87e08a2dca5b69db4801)

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>
2023-03-28 22:28:45 +01:00
Jose Quaresma
4147b7e76d oeqs/selftest: OESelftestTestContext: replace the os.environ after subprocess.check_output
No function change but is needed to simplify the next patch.

(From OE-Core rev: 193d8f0d6383f54c61f90d58eeb8f41580c2360a)

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>
2023-03-28 22:28:45 +01:00
Ross Burton
22286ed02d libunwind: fix compile failures on 32-bit arm with Clang 16
(From OE-Core rev: 47a43ea98dc6cae67730866c47090900572ea6b0)

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>
2023-03-28 22:28:45 +01:00
Ross Burton
985f1b883f go: fix CVE-2023-2453
Backport a security fix, can be removed once we have 1.20.2 onwards.

(From OE-Core rev: 06df8350c3bc6f56013a0bff20b64cfdbb81cfca)

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>
2023-03-28 22:28:45 +01:00
Jose Quaresma
13d4b2a455 buildstats-summary: add an option to disable bold
(From OE-Core rev: b9a0ceebe9aa1e79d97508e7ab2fc39ca7c6637f)

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>
2023-03-28 22:28:45 +01:00
Siddharth Doshi
e3afe16694 openssh: upgrade 9.2p1 -> 9.3p1
OpenSSH 9.3p1 fixes 1 HIGH level security vulnerability.

Upgrade the recipe to point to 9.3p1.

CVEs Fixed:
1) CVE-2023-28531
- ssh-add in OpenSSH before 9.3 adds smartcard keys to ssh-agent without the intended per-hop destination constraints.

(From OE-Core rev: ca4b4165f388a8b8bb80c120a2baef00e7e3bcac)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-27 15:44:02 +01:00
Andrew Geissler
e9e5a7910e filemap.py: enforce maximum of 4kb block size
The logic in this script validates that the length of data sections are
evenly divisible by the block size. On most systems the block size is
4KB and all is good. Some systems though, such as ppc64le, have a block
size larger then 4KB. For example on a POWER9 based ppc64le system, the
block size is 64KB.

This results in this script failing with errors like this when building
wic images:
|440, in _do_get_mapped_ranges
|     assert extent_len % self.block_size == 0
|            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| AssertionError

In this case the data section size was 268KB and the block size was
64KB, resulting in the above assert failure.

Resolves https://bugzilla.yoctoproject.org/show_bug.cgi?id=15075

(From OE-Core rev: 1e23b803af6991fc20e4a4e88a0ef0541399e722)

Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-27 15:44:02 +01:00
Khem Raj
1ff342b970 vte: Upgrade to 0.72.0
This is needed for many gnome 44 apps.
Drop upstreamed patch in this release

(From OE-Core rev: 917b5da673cfe2271cf8854529b7f1ea7172a737)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-27 15:44:02 +01:00
Chen Qi
00c9f39fcb rpm: add back find-debuginfo support
RPM upstream removed find-debuginfo and switched to use debugedit
since the following commit.

  04b0805a75

According to https://github.com/rpm-software-management/rpm/blob/master/INSTALL,
debugedit is needed by rpm. More specifically it's needed by rpmbuild
to supporting generating debuginfo package when %debug_package is enabled.

(From OE-Core rev: d06c7c0d288cafa75f14a841f9cb31dcd0714644)

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>
2023-03-27 15:44:02 +01:00
Chen Qi
4ffcbe98e8 debugedit: add recipe
This recipe provides find-debuginfo which is used by rpm, more
specifically rpmbuild.

RPM upstream removed find-debuginfo and switched to use debugedit
in the following commit.

  04b0805a75

Without debugedit, rpmbuild fails to generate debuginfo package when
%debug_package is added to spec file.

(From OE-Core rev: f7ada8b4d003473abce5b589cc38aec1e5e5f18a)

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>
2023-03-27 15:44:02 +01:00
Bruce Ashfield
a94ca827c2 yocto-bsp/5.15: update to v5.15.103
updating the 5.15 hardware reference BSPs to match the versions of
the oe-core qemu reference platforms.

(From meta-yocto rev: 2783c1193e0d6b0eb7ac7752233c0396384e571c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:51:03 +01:00
Bruce Ashfield
e6ce129d5d yocto-bsp/6.1: update reference boards to v6.1.20
Updating the hardware reference BSPs to match to core qemu machine
versions.

(From meta-yocto rev: cd38062c745e59b3faf1000ccdf14fcb5f54699b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:51:02 +01:00
Richard Purdie
c8dd8c99ef abi_version/sstate: Handle pkgconfig output changes and bump output versions
A recent package.py change has highlighted some corruption issues with -dev
pkgconfig package dependencies. Bump the output versions to trigger a rebuild
and ensure everything is consistent.

Take the opportunity to also drop all HASHEQUIV_HASH_VERSION entries since the
main version is changing.

(From OE-Core rev: f45ddfbf007de858327eef0ffefd5840ef4c69b8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Xiangyu Chen
810a71236d package: moving field data process before variable process in process_pkgconfig
Currently, the latest version abseil-cpp contains a new library named "absl_log_internal_format", it's
basic package config(.pc file) as below:

prefix=/usr
exec_prefix=${prefix}

......

Requires: absl_config = 20230125, absl_core_headers = 20230125, absl_log_internal_append_truncated = 20230125,
absl_log_internal_config = 20230125, absl_log_internal_globals = 20230125, absl_log_severity = 20230125,
absl_strings = 20230125, absl_str_format = 20230125, absl_time = 20230125, absl_span = 20230125
......

Normally, the process_pkgconfig() would process variable data before field data in a .pc file, but in the
absl_log_internal_format, the field data in "Requires" section contains "xxxx = xxxx" format, the
process_pkgconfig() treats them as normal variable and using the setVar() in bitbake's data_smart.py
try to process. The absl_log_internal_format field data contains "_append_", this hit the setVar() checking
and finally bitbake stop building and reporting an error as below:

"Variable xxx contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake."

This patch move the field data process before variable process to avoid the process_pkgconfig() treat the field
data as variable.

(From OE-Core rev: a73e269d3e591a10bb397b94b82e3fb960112d33)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Alexandre Belloni
765bf36720 stress-ng: upgrade 0.15.04 -> 0.15.06
(From OE-Core rev: 975ac5b3de39c642326a8e4fd71308f58640ab35)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Martin Jansa
4e64ed684c python3-scons: upgrade to v4.5.2
* fixes:
  https://github.com/SCons/scons/issues/4321
  which caused e.g. iotifity to fail in do_compile

(From OE-Core rev: 5b022730053cdf62db57f497014ed85e2f7057b6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Siddharth Doshi
97e3d44472 OpenSSL: Security fix for CVE-2023-0464
Upstream-Status: Backport from [https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2017771e2db3e2b96f89bbe8766c3209f6a99545]
(From OE-Core rev: 20ae485ef65bef2ddbffe05fd29cc7d411c38448)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Bruce Ashfield
0544310d60 kernel/kernel-devsrc: powerpc: add elfutils dependency
When working on 6.3+ kernel support powerpc started to fail when
doing on target kerne module builds, and in some cases when building
the kernel itself.

This was due to crtsavres requiring objtool to build, which was
missing required development headers.

So in a similar manner to x86, we add elfutils as an arch specific
dependency in these recipes.

(From OE-Core rev: 14b815b0beb6edc14b4fcc016201ade967875e28)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Bruce Ashfield
c40a2eb5eb linux-yocto-dev: bump to v6.3
(From OE-Core rev: 150ac6445301b944b05ea6b9952ebb7d41707c42)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Bruce Ashfield
2cf5280cd4 kernel-devsrc: fix mismatched compiler warning
When building a module on target, we use the native compiler
(always "gcc") versus the same compiler, but named in a cross
compiler manner, for the kernel build.

The kernel captures the compiler string in several places,
some of which we are already fixing, but others we are not
(as they don't cause issues).

But when building an on target module, the main kernel Makefile
compares compiler strings and outputs a warning similar to:

  warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-poky-linux-gcc (GCC) 11.3.0
    You are using:           gcc (GCC) 11.3.0

We drop the cross compilation prefix from the captured compiler
string, and we avoid the warning.

RP: tweaked one sed expression to fix quoting issue with 5.15
(From OE-Core rev: 70419f281a4571d01975bd79a47a6ed7ae70b1ae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Bruce Ashfield
106bb63801 linux-yocto/5.15: update to v5.15.103
Updating  to the latest korg -stable release that comprises
the following commits:

    8020ae3c051d Linux 5.15.103
    10a72c677bce Makefile: use -gdwarf-{4|5} for assembler for DEBUG_INFO_DWARF{4|5}
    6e7bc50f97c9 KVM: VMX: Fix crash due to uninitialized current_vmcs
    61e5087231f3 KVM: VMX: Introduce vmx_msr_bitmap_l01_changed() helper
    1f47cba9364f KVM: nVMX: Don't use Enlightened MSR Bitmap for L3
    2153dd644ce4 fs: hold writers when changing mount's idmapping
    8c3be6925a92 UML: define RUNTIME_DISCARD_EXIT
    f616fa79d536 xfs: remove xfs_setattr_time() declaration
    5588657f418c KVM: fix memoryleak in kvm_init()
    4441a9009193 tools bpftool: Fix compilation error with new binutils
    1c27fab24333 tools bpf_jit_disasm: Fix compilation error with new binutils
    97f005c0bdba tools perf: Fix compilation error with new binutils
    451c9d7b1616 tools include: add dis-asm-compat.h to handle version differences
    51b99dc38c1a tools build: Add feature test for init_disassemble_info API changes
    381492ef0c51 sh: define RUNTIME_DISCARD_EXIT
    1e49bb9ba912 s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36
    d517faf3db23 powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
    4e6708a0f36e powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT
    0bfde8c9bb27 arch: fix broken BuildID for arm64 and riscv
    560a2744cbbf ext4: block range must be validated before use in ext4_mb_clear_bb()
    270422f3e183 ext4: add strict range checks while freeing blocks
    2da16af37847 ext4: add ext4_sb_block_valid() refactored out of ext4_inode_block_valid()
    09546886a0ea ext4: refactor ext4_free_blocks() to pull out ext4_mb_clear_bb()
    48302ee67dd7 filelocks: use mount idmapping for setlease permission check
    513572bb89e8 media: rc: gpio-ir-recv: add remove function
    5f328c9d32b1 media: ov5640: Fix analogue gain control
    4cb302546556 scripts: handle BrokenPipeError for python scripts
    405ec99d1d25 PCI: Add SolidRun vendor ID
    2c75e258adb9 macintosh: windfarm: Use unsigned type for 1-bit bitfields
    6c6f956c9295 alpha: fix R_ALPHA_LITERAL reloc for large modules
    adb939031af3 powerpc/kcsan: Exclude udelay to prevent recursive instrumentation
    e3a62a35f903 powerpc/iommu: fix memory leak with using debugfs_lookup()
    93aa548a339c MIPS: Fix a compilation issue
    e69d841d143b fs: use consistent setgid checks in is_sxid()
    78eecf2e5cd4 attr: use consistent sgid stripping checks
    449badcf876d attr: add setattr_should_drop_sgid()
    7e8a9b53141e fs: move should_remove_suid()
    93395e1184ed attr: add in_group_or_capable()
    0123712492f6 fs: move S_ISGID stripping into the vfs_*() helpers
    9c3a620bbf0c fs: add mode_strip_sgid() helper
    79821ab3284a xfs: set prealloc flag in xfs_alloc_file_space()
    a881c1ef16f1 xfs: fallocate() should call file_modified()
    f8937e4d1d46 xfs: remove XFS_PREALLOC_SYNC
    95aab524e12e xfs: use setattr_copy to set vfs inode attributes
    2115c14c93ec tpm/eventlog: Don't abort tpm_read_log on faulty ACPI address
    b43cb0f08767 watch_queue: fix IOC_WATCH_QUEUE_SET_SIZE alloc error paths
    d15c9ae1c6d9 staging: rtl8723bs: Fix key-store index handling
    7fa3bb1bcabe staging: rtl8723bs: fix placement of braces
    962293f5443c Staging: rtl8723bs: Placing opening { braces in previous line
    890e24564c0a staging: rtl8723bs: clean up comparsions to NULL
    c513043e0afe iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
    0fd72f1d1b94 iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options
    2af17167804c iommu/amd: Add PCI segment support for ivrs_[ioapic/hpet/acpihid] commands
    ce4bbb2aa9d8 nbd: use the correct block_device in nbd_bdev_reset
    7889dfc19492 irqdomain: Fix mapping-creation race
    a2bc806e95bd ext4: Fix deadlock during directory rename
    07b0aba4adf0 RISC-V: Don't check text_mutex during stop_machine
    d1b47f735f60 s390/ftrace: remove dead code
    3a9418d2c93c riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack mode
    f3969427fb06 af_unix: fix struct pid leaks in OOB support
    a9f99eacf79f af_unix: Remove unnecessary brackets around CONFIG_AF_UNIX_OOB.
    6a29d71ab421 net: dsa: mt7530: permit port 5 to work without port 6 on MT7621 SoC
    ad7e40ee157b SUNRPC: Fix a server shutdown leak
    64d4eb412761 octeontx2-af: Unlock contexts in the queue context cache in case of fault detection
    03c1cc6f554d net/smc: fix fallback failed while sendmsg with fastopen
    dafde1072202 platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it
    36bcbcaf01d8 netfilter: conntrack: adopt safer max chain length
    a316da050d80 scsi: megaraid_sas: Update max supported LD IDs to 240
    2adc29350a5b net: ethernet: mtk_eth_soc: fix RX data corruption issue
    fe8787c1e4f6 net: phy: smsc: fix link up detection in forced irq mode
    d83813f724ec net: phy: smsc: Cache interrupt mask
    18ab31b8cd37 btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT, UNION, PTR
    2662c5b1f0ef netfilter: tproxy: fix deadlock due to missing BH disable
    bef8cf77e21c netfilter: ctnetlink: revert to dumping mark regardless of event type
    20fd0607acbf bnxt_en: Avoid order-5 memory allocation for TPA data
    98fa707a52a3 net: phylib: get rid of unnecessary locking
    67431417617d net: stmmac: add to set device wake up flag when stmmac init phy
    af5c333c84e5 drm/msm/dpu: fix len of sc7180 ctl blocks
    4a476285f6d2 bpf, sockmap: Fix an infinite loop error when len is 0 in tcp_bpf_recvmsg_parser()
    c813f7a31614 ice: copy last block omitted in ice_get_module_eeprom()
    3f14457e1584 net: caif: Fix use-after-free in cfusbl_device_notify()
    c2c71922c5e9 net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driver
    c026917887d1 perf stat: Fix counting when initial delay configured
    fdecfb2603d0 selftests: nft_nat: ensuring the listening side is up before starting the client
    91aceb3844d4 ila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping()
    a5a7f6e6e126 powerpc: dts: t1040rdb: fix compatible string for Rev A boards
    4357bbb921fe nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
    04bfc5bcdfc0 bgmac: fix *initial* chip reset to support BCM5358
    60530bfdb647 drm/msm/a5xx: fix context faults during ring switch
    7f854b4803e5 drm/msm/a5xx: fix the emptyness check in the preempt code
    bf66e98285f7 drm/msm/a5xx: fix highest bank bit for a530
    2e8efe8c8dab drm/msm/a5xx: fix setting of the CP_PREEMPT_ENABLE_LOCAL register
    b77c764b4371 drm/msm: Fix potential invalid ptr free
    ced1f5dd6c1d drm/nouveau/kms/nv50: fix nv50_wndw_new_ prototype
    e974d8755578 drm/nouveau/kms/nv50-: remove unused functions
    c50fc503ee1b ext4: Fix possible corruption when moving a directory
    cfb89ceb22fd regulator: core: Use ktime_get_boottime() to determine how long a regulator was off
    e1a078cac3e9 regulator: core: Fix off-on-delay-us for always-on/boot-on regulators
    67a791df1457 regulator: Flag uncontrollable regulators as always_on
    e471e928de97 scsi: core: Remove the /proc/scsi/${proc_name} directory earlier
    463ae58d7c80 riscv: Add header include guards to insn.h
    4dd43ee784a1 riscv: Avoid enabling interrupts in die()
    5ab1d0528b04 RISC-V: Avoid dereferening NULL regs in die()
    6a72729ed6ac arm64: efi: Make efi_rt_lock a raw_spinlock
    14ddb4e6e9de brd: mark as nowait compatible
    5089247d6cf3 block/brd: add error handling support for add_disk()
    5c65f0971247 iommu/vt-d: Fix PASID directory pointer coherency
    8ff7db51d3ed irqdomain: Refactor __irq_domain_alloc_irqs()
    62e4ba36a3d7 ipmi:ssif: Add a timer between request retries
    2fb8b122ba8f ipmi:ssif: Increase the message retry time
    a6ef5a9d7263 f2fs: retry to update the inode page given data corruption
    a517c651f116 f2fs: do not bother checkpoint by f2fs_get_node_info
    e55332319825 f2fs: avoid down_write on nat_tree_lock during checkpoint
    31b5793ca2de udf: Fix off-by-one error when discarding preallocation
    30e29af746ee fs: dlm: start midcomms before scand
    9c9dd2b3ba83 fs: dlm: add midcomms init/start functions
    2e0415522835 fs: dlm: fix log of lowcomms vs midcomms
    c5a23d43c23a KVM: SVM: Process ICR on AVIC IPI delivery failure due to invalid target
    a78a355052ab KVM: SVM: Don't rewrite guest ICR on AVIC IPI virtualization failure
    45bcf4a4f2b1 KVM: Register /dev/kvm as the _very_ last thing during initialization
    0a0ecaf0988b KVM: Pre-allocate cpumasks for kvm_make_all_cpus_request_except()
    3e48a6349d29 KVM: Optimize kvm_make_vcpus_request_mask() a bit
    339e480baafc nfc: change order inside nfc_se_io error path
    01a821aacc64 ext4: zero i_disksize when initializing the bootloader inode
    ca500cf2eceb ext4: fix WARNING in ext4_update_inline_data
    d16576142fb9 ext4: move where set the MAY_INLINE_DATA flag is set
    c5d7c31e1722 ext4: fix another off-by-one fsmap error on 1k block filesystems
    df621af95e89 ext4: fix RENAME_WHITEOUT handling for inline directories
    7349cc5ab32e ext4: fix cgroup writeback accounting with fs-layer encryption
    fd7b8ebc1dd5 staging: rtl8723bs: Pass correct parameters to cfg80211_get_bss()
    0b22cbc05ce2 drm/connector: print max_requested_bpc in state debugfs
    5e0eed414156 drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15
    328d069e9c35 x86/CPU/AMD: Disable XSAVES on AMD family 0x17
    92d1caad9f78 fork: allow CLONE_NEWTIME in clone3 flags
    7ba76b2ac187 perf inject: Fix --buildid-all not to eat up MMAP2
    2072e75b4942 btrfs: fix percent calculation for bg reclaim message
    f8cd8754a03a fs: prevent out-of-bounds array speculation when closing a file descriptor
    2ddbd0f967b3 Linux 5.15.102
    cbecbd884e81 staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh
    515017e952ea staging: rtl8192e: Remove function ..dm_check_ac_dc_power calling a script
    528dbd80ac21 wifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext"
    bbf9f29bac04 Linux 5.15.101
    cba6bbf501be Revert "drm/i915: Don't use BAR mappings for ring buffers with LLC"
    d214f240b0f6 Linux 5.15.100
    acf252c1f5c3 usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails
    1c7988d5c79f malidp: Fix NULL vs IS_ERR() checking
    545d72ba4c2c scsi: mpt3sas: Remove usage of dma_get_required_mask() API
    953841f959e3 scsi: mpt3sas: re-do lost mpt3sas DMA mask fix
    de1afc58a905 scsi: mpt3sas: Don't change DMA mask while reallocating pools
    8e6612ff8b5d Revert "scsi: mpt3sas: Fix return value check of dma_get_required_mask()"
    72bf6d493c95 drm/virtio: Fix error code in virtio_gpu_object_shmem_init()
    8e62139840c0 media: uvcvideo: Fix race condition with usb_kill_urb
    a1ddee82de80 Bluetooth: hci_sock: purge socket queues in the destruct() callback
    22d021232657 drm/display/dp_mst: Fix down message handling after a packet reception error
    db35e49413a4 drm/display/dp_mst: Fix down/up message handling after sink disconnect
    e23fa593f1ab x86/resctl: fix scheduler confusion with 'current'
    be5d5d0637fd net: tls: avoid hanging tasks on the tx_lock
    e1a3cfdbf5b3 soundwire: cadence: Drain the RX FIFO after an IO timeout
    ecb33d7a5b58 soundwire: cadence: Remove wasted space in response_buf
    473efca280d4 phy: rockchip-typec: Fix unsigned comparison with less than zero
    ffcd94262e0e PCI: Add ACS quirk for Wangxun NICs
    19c4d6c7b049 PCI: loongson: Add more devices that need MRRS quirk
    bb99db06b8b6 kernel/fail_function: fix memory leak with using debugfs_lookup()
    7f1e53f88e8b drivers: base: dd: fix memory leak with using debugfs_lookup()
    09709a49283f drivers: base: component: fix memory leak with using debugfs_lookup()
    b94b39bf3d54 misc: vmw_balloon: fix memory leak with using debugfs_lookup()
    cf042964c2fa tty: pcn_uart: fix memory leak with using debugfs_lookup()
    49ae24f44713 PCI: Take other bus devices into account when distributing resources
    dba6280105e1 PCI: Align extra resources for hotplug bridges properly
    92d6e6bf9cf1 usb: gadget: uvc: Make bSourceID read/write
    14cbfd08551a usb: uvc: Enumerate valid values for color matching
    7e902b949600 USB: ene_usb6250: Allocate enough memory for full object
    95ee8cb26db5 usb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math
    8da78a60f332 USB: gadget: pxa27x_udc: fix memory leak with using debugfs_lookup()
    6236a6d2cdfb USB: gadget: pxa25x_udc: fix memory leak with using debugfs_lookup()
    036ada6ca9ee USB: gadget: lpc32xx_udc: fix memory leak with using debugfs_lookup()
    b0a2663ecbe8 USB: gadget: bcm63xx_udc: fix memory leak with using debugfs_lookup()
    30f9ba2396a1 USB: gadget: gr_udc: fix memory leak with using debugfs_lookup()
    fb284bee1e21 USB: isp1362: fix memory leak with using debugfs_lookup()
    6f12097467ea USB: isp116x: fix memory leak with using debugfs_lookup()
    4a71b15744b8 USB: fotg210: fix memory leak with using debugfs_lookup()
    bb4d5eefb670 USB: sl811: fix memory leak with using debugfs_lookup()
    c6af1dbc99ad USB: uhci: fix memory leak with using debugfs_lookup()
    4322661af6d7 USB: chipidea: fix memory leak with using debugfs_lookup()
    cf52c320cf74 USB: dwc3: fix memory leak with using debugfs_lookup()
    baec889a81b8 PCI: loongson: Prevent LS7A MRRS increases
    19da678d38d2 soundwire: bus_type: Avoid lockdep assert in sdw_drv_probe()
    587b48b18a8a iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word()
    2b59fdcaaf24 iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_status_word()
    9e58ebb12210 tools/iio/iio_utils:fix memory leak
    54179274476d mei: bus-fixup:upon error print return values of send and receive
    49b326ce8a68 serial: sc16is7xx: setup GPIO controller later in probe
    45083b86141e tty: serial: fsl_lpuart: disable the CTS when send break signal
    f9d9d25ad1f0 tty: fix out-of-bounds access in tty_driver_lookup_tty()
    4be3213e9d79 staging: emxx_udc: Add checks for dma_alloc_coherent()
    6683327b51a6 USB: fix memory leak with using debugfs_lookup()
    b32d922f86f3 media: uvcvideo: Silence memcpy() run-time false positive warnings
    c1343a879cce media: uvcvideo: Quirk for autosuspend in Logitech B910 and C910
    cdccb1c3fcd2 media: uvcvideo: Handle errors from calls to usb_string
    31a8d11d28b5 media: uvcvideo: Handle cameras with invalid descriptors
    57b0ff53f4de media: uvcvideo: Remove format descriptions
    1f11ed61d69d iommu/amd: Fix error handling for pdev_pri_ats_enable()
    77d567091ec3 IB/hfi1: Update RMT size calculation
    5a47bb71b1a9 mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak
    1b46c2a76c21 bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support
    0a65cd7379a2 firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3
    2e07fa2e30d4 kernel/printk/index.c: fix memory leak with using debugfs_lookup()
    ba279dc7e47a tracing: Add NULL checks for buffer in ring_buffer_free_read_page()
    9c28c74fbd67 thermal: intel: BXT_PMIC: select REGMAP instead of depending on it
    5eaf55b38691 thermal: intel: quark_dts: fix error pointer dereference
    d11f9f030fd8 ASoC: mediatek: mt8195: add missing initialization
    488bc1b823c7 ASoC: zl38060 add gpiolib dependency
    69e997420cb9 ASoC: zl38060: Remove spurious gpiolib select
    35b855381898 ASoC: adau7118: don't disable regulators on device unbind
    3e7d0968203d loop: loop_set_status_from_info() check before assignment
    746d4e369e04 rtc: allow rtc_read_alarm without read_alarm callback
    6e47bb21b63b scsi: ipr: Work around fortify-string warning
    c775a5246151 genirq: Add and use an irq_data_update_affinity helper
    00340ccb5407 genirq: Refactor accessors to use irq_data_get_affinity_mask
    2163cf142272 rtc: sun6i: Always export the internal oscillator
    660e8f2eeafa vc_screen: modify vcs_size() handling in vcs_read()
    72db07cf0d6b tcp: tcp_check_req() can be called from process context
    ac7014af85aa ARM: dts: spear320-hmi: correct STMPE GPIO compatible
    dff967aee88a net/sched: act_sample: fix action bind logic
    850f914efe04 net/sched: act_mpls: fix action bind logic
    da4df0cbdf7c net/sched: act_pedit: fix action bind logic
    5654a12277b0 net/sched: transition act_pedit to rcu and percpu stats
    c494365432dc nfc: fix memory leak of se_io context in nfc_genl_se_io
    6398bd3c4a50 net/mlx5: Geneve, Fix handling of Geneve object id as error code
    48a8c76c7dc6 net/mlx5e: Verify flow_source cap before using it
    2721d966680a 9p/rdma: unmap receive dma buffer in rdma_request()/post_recv()
    8d3fc907d060 9p/xen: fix connection sequence
    fc772313f2da 9p/xen: fix version parsing
    df192270eb72 net: fix __dev_kfree_skb_any() vs drop monitor
    ada4f805c9e4 octeontx2-pf: Use correct struct reference in test condition
    bf5540cbd20e sctp: add a refcnt in sctp_stream_priorities to avoid a nested loop
    dcdddb5f4908 ipv6: Add lwtunnel encap size of all siblings in nexthop calculation
    e306dbee4c98 netfilter: x_tables: fix percpu counter block leak on error path when creating new netns
    dbb3cbbf03b3 netfilter: ebtables: fix table blob use-after-free
    af41b3cd9a92 netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_conntrack()
    041fdbe73de9 watchdog: sbsa_wdog: Make sure the timeout programming is within the limits
    3e765f7ff256 watchdog: pcwd_usb: Fix attempting to access uninitialized memory
    23cc41c3f19c watchdog: Fix kmemleak in watchdog_cdev_register
    dd7605dd48e5 watchdog: at91sam9_wdt: use devm_request_irq to avoid missing free_irq() in error path
    a27e95a6ff3f um: virt-pci: properly remove PCI device from bus
    6c738b8805c6 um: virtio_uml: move device breaking into workqueue
    b7d5712cf9f4 um: virtio_uml: mark device as unregistered when breaking it
    1b1ef45d48e1 um: virtio_uml: free command if adding to virtqueue failed
    8ba6b0fade97 x86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list
    ed1d288ec85d netfilter: nf_tables: allow to fetch set elements when table has an owner
    98db4a032244 ext4: use ext4_fc_tl_mem in fast-commit replay path
    aa4d726af72a f2fs: fix to avoid potential memory corruption in __update_iostat_latency()
    3afaaf6f5867 ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed
    79548ccdd992 ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()
    003bb9868a51 ubi: fastmap: Fix missed fm_anchor PEB in wear-leveling after disabling fastmap
    79db0e8323b5 ubifs: ubifs_writepage: Mark page dirty after writing inode failed
    10b6c359e374 ubifs: dirty_cow_znode: Fix memleak in error handling path
    aeb92507ea25 ubifs: Re-statistic cleaned znode count if commit failed
    5ec4c8aca5a2 ubi: Fix possible null-ptr-deref in ubi_free_volume()
    3e29634eb56e ubifs: Fix memory leak in alloc_wbufs()
    95a72417dd13 ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()
    53818746e549 ubi: Fix use-after-free when volume resizing failed
    91bc31579e9f ubifs: Reserve one leb for each journal head while doing budget
    2b6d85db0e07 ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1
    8e30559876d8 ubifs: Fix wrong dirty space budget for dirty inode
    8e166cc9b64b ubifs: Rectify space budget for ubifs_xrename()
    de6d6bf150b7 ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted
    8c3ebc5e3cd0 ubifs: Fix build errors as symbol undefined
    701bb3ed5a88 ubi: ensure that VID header offset + VID header size <= alloc, size
    276a7298af6a um: vector: Fix memory leak in vector_config
    354dfc05bd5f f2fs: allow set compression option of files without blocks
    add8515d59a1 fs: f2fs: initialize fsdata in pagecache_write()
    06fa1a839fae f2fs: use memcpy_{to,from}_page() where possible
    804817f02e2f pwm: stm32-lp: fix the check on arr and cmp registers update
    81ea09ae3040 pwm: sifive: Always let the first pwm_apply_state succeed
    852703ed6d81 pwm: sifive: Reduce time the controller lock is held
    3a75866a5cef objtool: Fix memory leak in create_static_call_sections()
    ea30508b7bb1 fs/jfs: fix shift exponent db_agl2size negative
    8311961a1724 auxdisplay: hd44780: Fix potential memory leak in hd44780_remove()
    7c183dc0af47 net/sched: Retire tcindex classifier
    abddfcf701a5 Linux 5.15.99
    d2fb2739e956 kbuild: Port silent mode detection to future gnu make.
    2da950a044ee wifi: ath9k: use proper statements in conditionals
    7e6eeb5fb3aa arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
    6ac2adcc2bff iommu/vt-d: Fix an unbalanced rcu_read_lock/rcu_read_unlock()
    26f8b1ef30f6 media: uvcvideo: Fix memory leak of object map on error exit path
    2137e7c83ed6 qede: avoid uninitialized entries in coal_entry array
    a8da5a8900fa perf intel-pt: pkt-decoder: Add CFE and EVD packets
    922bd6b37276 drm/edid: fix AVI infoframe aspect ratio handling
    4eb6789f9177 drm/i915: Don't use BAR mappings for ring buffers with LLC
    64bcaffa2d5c drm/radeon: Fix eDP for single-display iMac11,2
    6a5f31c3fbf3 drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
    5f63c879ca95 vfio/type1: restore locked_vm
    7329ab7f0249 vfio/type1: track locked_vm per dma
    eafb81c50da8 vfio/type1: prevent underflow of locked_vm via exec()
    2fd6f6c8cb35 iommu/vt-d: Avoid superfluous IOTLB tracking in lazy mode
    77ffe5501e02 PCI: Avoid FLR for AMD FCH AHCI adapters
    99eefc2c62e0 PCI: hotplug: Allow marking devices as disconnected during bind/unbind
    2bb559f12e54 PCI/PM: Observe reset delay irrespective of bridge_d3
    b07ded08cd9c MIPS: DTS: CI20: fix otg power gpio
    71f81b6842af riscv: ftrace: Reduce the detour code size to half
    4accfc428fec riscv: ftrace: Remove wasted nops for !RISCV_ISA_C
    f6b5db68b256 riscv, mm: Perform BPF exhandler fixup on page fault
    043d1657cc51 riscv: jump_label: Fixup unaligned arch_static_branch function
    ac5ff022d916 riscv: mm: fix regression due to update_mmu_cache change
    59b83f7b057d RISC-V: add a spin_shadow_stack declaration
    0595cdb58772 scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()
    584892fd29a4 scsi: ses: Fix possible desc_ptr out-of-bounds accesses
    384aa697d8f2 scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses
    2b28a7d261cb scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()
    6fce2307650a scsi: ses: Don't attach if enclosure has no components
    cb121c4137b2 scsi: qla2xxx: Remove increment of interface err cnt
    5f40ca617ef5 scsi: qla2xxx: Fix erroneous link down
    77a11df33c48 scsi: qla2xxx: Remove unintended flag clearing
    77302fb0e357 scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests
    476126f14dfe scsi: qla2xxx: Check if port is online before sending ELS
    c54e9311ee0b scsi: qla2xxx: Fix link failure in NPIV environment
    37a38ff7edf4 tools/bootconfig: fix single & used for logical condition
    d41db100bc38 ring-buffer: Handle race between rb_move_tail and rb_check_pages
    145999aed74f ktest.pl: Add RUN_TIMEOUT option with default unlimited
    aab7db9e1e08 ktest.pl: Fix missing "end_monitor" when machine check fails
    0c2f4a234bb2 ktest.pl: Give back console on Ctrt^C on monitor
    fe463fe6aa80 mm/thp: check and bail out if page in deferred queue already
    ef1fcad8548d mm: memcontrol: deprecate charge moving
    d0d794371bde docs: gdbmacros: print newest record
    a16bd95eeb2e remoteproc/mtk_scp: Move clk ops outside send_lock
    505627bebd45 media: ipu3-cio2: Fix PM runtime usage_count in driver unbind
    d15f73b01bce mips: fix syscall_get_nr
    34dbf5dd0711 dax/kmem: Fix leak of memory-hotplug resources
    7eb171ada303 alpha: fix FEN fault handling
    efa228b2e6a4 ceph: update the time stamps and try to drop the suid/sgid
    a73783e4e0c4 rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails
    c6cc86c6d847 fuse: add inode/permission checks to fileattr_get/fileattr_set
    cfa97a3b266a ARM: dts: exynos: correct TMU phandle in Odroid HC1
    70e18548311c ARM: dts: exynos: correct TMU phandle in Odroid XU
    816f83bd2868 ARM: dts: exynos: correct TMU phandle in Exynos5250
    269926de8454 ARM: dts: exynos: correct TMU phandle in Odroid XU3 family
    78a5fa65a5d7 ARM: dts: exynos: correct TMU phandle in Exynos4
    52739e0f7413 ARM: dts: exynos: correct TMU phandle in Exynos4210
    89e99f0b031f ARM: dts: qcom: sdx55: Add Qcom SMMU-500 as the fallback for IOMMU node
    0e22e0477479 dm flakey: fix a bug with 32-bit highmem systems
    ff60b2bb680e dm flakey: don't corrupt the zero page
    673ca7e7872f dm flakey: fix logic when corrupting a bio
    8cbbe0651971 thermal: intel: powerclamp: Fix cur_state for multi package system
    935ba268ac0b qede: fix interrupt coalescing configuration
    fd081afd21eb wifi: cfg80211: Fix use after free for wext
    60e49fe9b7e4 wifi: ath11k: allow system suspend to survive ath11k
    f592cd2f1390 wifi: rtl8xxxu: Use a longer retry limit of 48
    931dc7e232b2 dm: add cond_resched() to dm_wq_work()
    d71a0899e497 dm: send just one event on resize, not two
    61d44a4db2f5 mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type
    afd61540ba77 mtd: spi-nor: spansion: Consider reserved bits in CFR5 register
    73a4cbf91e04 mtd: spi-nor: sfdp: Fix index value for SCCR dwords
    116008ada3d0 ext4: refuse to create ea block when umounted
    a6744e14ce70 ext4: optimize ea_inode block expansion
    c325350d0c54 jbd2: fix data missing when reusing bh which is ready to be checkpointed
    83c4e017fbfd ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC
    ff9657b1e845 ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()
    345fb368e5f5 io_uring/poll: allow some retries for poll triggering spuriously
    7e8cd208e9c2 io_uring: remove MSG_NOSIGNAL from recvmsg
    dde0d0dfbde2 io_uring/rsrc: disallow multi-source reg buffers
    abd54d87daba io_uring: add a conditional reschedule to the IOPOLL cancelation loop
    337eb887c74d io_uring: mark task TASK_RUNNING before handling resume/task work
    54df6c5edf87 io_uring: handle TIF_NOTIFY_RESUME when checking for task_work
    7697139d5dfd crypto: qat - fix out-of-bounds read
    ffc9d001fed1 irqdomain: Fix domain registration race
    a2a46bd4f40c irqdomain: Drop bogus fwspec-mapping error handling
    27842d6884d7 irqdomain: Look for existing mapping only once
    562e332dd306 irqdomain: Fix disassociation race
    ee82369e29fb irqdomain: Fix association race
    1cb936fee7e7 ima: Align ima_file_mmap() parameters with mmap_file LSM hook
    cb104b880d78 brd: return 0/-error from brd_insert_page()
    113d4b0e12f4 Documentation/hw-vuln: Document the interaction between IBRS and STIBP
    e7f1ddebd9f5 x86/speculation: Allow enabling STIBP with legacy IBRS
    be2710deaed3 x86/microcode/AMD: Fix mixed steppings support
    5830ff467ab3 x86/microcode/AMD: Add a @cpu parameter to the reloading functions
    865af457dd89 x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter
    e1d35d0d1830 x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe range
    c5a2c2bf0b4f x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
    f46a42130c03 x86/reboot: Disable SVM, not just VMX, when stopping CPUs
    5427c3cee789 x86/reboot: Disable virtualization in an emergency if SVM is supported
    1e3edbabf57a x86/crash: Disable virt in core NMI crash handler to avoid double shootdown
    83a27cd866dd x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)
    6e46d9ff3ed3 KVM: s390: disable migration mode when dirty tracking is disabled
    21c95b736058 KVM: SVM: hyper-v: placate modpost section mismatch error
    033a4c062124 KVM: SVM: Fix potential overflow in SEV's send|receive_update_data()
    11d4b35674c6 KVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPI
    999439fd5da5 KVM: Destroy target device if coalesced MMIO unregistration fails
    ac791643e77b RDMA/siw: Fix user page pinning accounting
    a155ad9506f9 udf: Fix file corruption when appending just after end of preallocated extent
    37e74003d81e udf: Detect system inodes linked into directory hierarchy
    e6574337df78 udf: Preserve link count of system files
    c5787d77a5c2 udf: Do not update file length for failed writes to inline files
    9a8d602f0723 udf: Do not bother merging very long extents
    e43adce883e1 udf: Truncate added extents on failed expansion
    aa502e760c26 selftests/landlock: Test ptrace as much as possible with Yama
    6249f305cd34 selftests/landlock: Skip overlayfs tests when not supported
    597ecd95b1f2 ocfs2: fix non-auto defrag path not working issue
    33665d104266 ocfs2: fix defrag path triggering jbd2 ASSERT
    f901c39e670b f2fs: fix cgroup writeback accounting with fs-layer encryption
    117d4f6687b1 f2fs: fix information leak in f2fs_move_inline_dirents()
    936a8383a021 fs: dlm: send FIN ack back in right cases
    e9463d46af47 fs: dlm: move sending fin message into state change handling
    3ed92883b387 fs: dlm: don't set stop rx flag after node reset
    19e99109fb77 exfat: fix inode->i_blocks for non-512 byte sector size device
    9717df94d7d0 exfat: redefine DIR_DELETED as the bad cluster number
    c2c3d86bd4a9 exfat: fix unexpected EOF while reading dir
    0d3902cbcf80 exfat: fix reporting fs error when reading dir beyond EOF
    05103d88482d fs: hfsplus: fix UAF issue in hfsplus_put_super
    2cab8db14566 hfs: fix missing hfs_bnode_get() in __hfs_bnode_create
    6817d13c62db ARM: dts: exynos: correct HDMI phy compatible in Exynos4
    851c34f19c0a ksmbd: do not allow the actual frame length to be smaller than the rfc1002 length
    f9b816c55bea ksmbd: fix wrong data area length for smb2 lock request
    db1c5ec57611 locking/rwsem: Prevent non-first waiter from spinning in down_write() slowpath
    79a0583a31ae btrfs: hold block group refcount during async discard
    0eba9b4a86e8 cifs: Fix uninitialized memory read in smb3_qfs_tcon()
    2c00c08a081e s390/kprobes: fix current_kprobe never cleared after kprobes reenter
    f12874e6a169 s390/kprobes: fix irq mask clobbering on kprobe reenter from post_handler
    76c683864bea s390: discard .interp section
    61e64c322739 s390/extmem: return correct segment type in __segment_load()
    49be6b25acb7 ipmi_ssif: Rename idle state and check
    66db2b9a2dc5 ipmi:ssif: resend_msg() cannot fail
    db44fae4cb19 rtc: pm8xxx: fix set-alarm race
    8b44b4d81598 block: don't allow multiple bios for IOCB_NOWAIT issue
    ce3eb3c37b2c firmware: coreboot: framebuffer: Ignore reserved pixel color bits
    d44d34a22ff0 wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu
    90ca3fa30fc4 drm/shmem-helper: Revert accidental non-GPL export
    bde7dcd77807 nfsd: zero out pointers after putting nfsd_files on COPY setup error
    8c5f6c699241 dm cache: add cond_resched() to various workqueue loops
    01663c215843 dm thin: add cond_resched() to various workqueue loops
    f0c8b85af2f6 drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
    fbc357c9ad67 HID: logitech-hidpp: Don't restart communication if not necessary
    5a46d8bdaf03 scsi: snic: Fix memory leak with using debugfs_lookup()
    73dbd0f325af pinctrl: at91: use devm_kasprintf() to avoid potential leaks
    52ea47a0ddfb hwmon: (coretemp) Simplify platform device handling
    c713ebf2fe3f gfs2: Improve gfs2_make_fs_rw error handling
    a4b3893e4183 regulator: s5m8767: Bounds check id indexing into arrays
    88001ac08e69 regulator: max77802: Bounds check regulator id against opmode
    4e8c955abc52 ASoC: kirkwood: Iterate over array indexes instead of using pointer math
    9576b7ccc203 ASoC: soc-compress: Reposition and add pcm_mutex
    204233695407 docs/scripts/gdb: add necessary make scripts_gdb step
    5dfe7a5386fd drm/msm/dsi: Add missing check for alloc_ordered_workqueue
    9ae15ebaefc4 drm: amd: display: Fix memory leakage
    a40b97acb817 Revert "fbcon: don't lose the console font across generic->chip driver switch"
    51ab4eb1a25e scsi: lpfc: Fix use-after-free KFENCE violation during sysfs firmware write
    cda2f7efbc2d drm/radeon: free iio for atombios when driver shutdown
    340d1cc503f6 drm/tiny: ili9486: Do not assume 8-bit only SPI controllers
    1f09c5321f03 HID: Add Mapping for System Microphone Mute
    fc4f90d6ebd0 drm/omap: dsi: Fix excessive stack usage
    bb9a5562beb9 drm/amd/display: Fix potential null-deref in dm_resume
    54ba1ec7ed34 drm/amd/display: Revert Reduce delay when sink device not able to ACK 00340h write
    93be5b2dda27 scm: add user copy checks to put_cmsg()
    ad01fa14f65c hv_netvsc: Check status in SEND_RNDIS_PKT completion message
    90c260fddc65 Bluetooth: btusb: Add VID:PID 13d3:3529 for Realtek RTL8821CE
    84e4d4885d0a PM: EM: fix memory leak with using debugfs_lookup()
    dddc132eb0dc PM: domains: fix memory leak with using debugfs_lookup()
    dc39fbd865a9 time/debug: Fix memory leak with using debugfs_lookup()
    49aa49952116 s390/idle: mark arch_cpu_idle() noinstr
    eb1fbdf985cc uaccess: Add minimum bounds check on kernel buffer size
    ce1fb07b7130 coda: Avoid partial allocation of sig_inputArgs
    dca8fd0f7d70 net/mlx5: fw_tracer: Fix debug print
    4d9d7e5e4c79 ACPI: video: Fix Lenovo Ideapad Z570 DMI match
    90fa009c6d51 wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
    634986c94c57 tools/power/x86/intel-speed-select: Add Emerald Rapid quirk
    2493966c877f netfilter: nf_tables: NULL pointer dereference in nf_tables_updobj()
    fcf9fb5242d2 m68k: Check syscall_trace_enter() return code
    124ca24e0de9 net: bcmgenet: Add a check for oversized packets
    bcb03f2be982 crypto: hisilicon: Wipe entire pool on error
    f1e093291cd6 clocksource: Suspend the watchdog temporarily when high read latency detected
    e6900ee15d87 thermal: intel: intel_pch: Add support for Wellsburg PCH
    31f4c98ecd17 ACPI: Don't build ACPICA with '-Os'
    57bb8235ba8f ice: add missing checks for PF vsi type
    38f564996906 ice: restrict PTP HW clock freq adjustments to 100, 000, 000 PPB
    b279fa1ceadb inet: fix fast path in __inet_hash_connect()
    1a1f43059afa wifi: mt7601u: fix an integer underflow
    a0f0ce1c8ab9 wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds
    f5df8d35b228 x86/bugs: Reset speculation control settings on init
    aa70d1e0f941 timers: Prevent union confusion from unexpected restart_syscall()
    599a9dcef8a7 thermal: intel: Fix unsigned comparison with less than zero
    208065148930 wifi: ath11k: debugfs: fix to work with multiple PCI devices
    4a84fcea596d rcu-tasks: Make rude RCU-Tasks work well with CPU hotplug
    0d9fc1397f71 rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()
    6f2ce125c760 rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks
    3a3a5e3f9406 wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()
    634a5471a6bd wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()
    a2e4b48d6f9b trace/blktrace: fix memory leak with using debugfs_lookup()
    3538ade9d8c2 blk-iocost: fix divide by 0 error in calc_lcoefs()
    2e68a0f7bc57 ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy
    1492fc9b50a4 udf: Define EFSCORRUPTED error code
    de23e98c1c34 rpmsg: glink: Avoid infinite loop on intent for missing channel
    6d24202b8d3d media: saa7134: Use video_unregister_device for radio_dev
    114f768e7314 media: usb: siano: Fix use after free bugs caused by do_submit_urb
    d2512e1c9073 media: i2c: ov7670: 0 instead of -EINVAL was returned
    29962c478e8b media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()
    09fc82a6a7a8 media: imx-jpeg: Apply clk_bulk api instead of operating specific clk
    8f9722ffa432 media: v4l2-jpeg: ignore the unknown APP14 marker
    ecefc14dd1c9 media: v4l2-jpeg: correct the skip count in jpeg_parse_app14_data
    5ed8dde3aa5b media: i2c: imx219: Fix binning for RAW8 capture
    800bb32c7636 media: i2c: imx219: Split common registers from mode tables
    1da495101ef7 media: i2c: ov772x: Fix memleak in ov772x_probe()
    ba54908ae822 media: ov5675: Fix memleak in ov5675_init_controls()
    3969b2ebc660 media: ov2740: Fix memleak in ov2740_init_controls()
    5897fe3ebe82 media: max9286: Fix memleak in max9286_v4l2_register()
    956186b8e2c1 builddeb: clean generated package content
    edc6f486be31 s390/vdso: Drop '-shared' from KBUILD_CFLAGS_64
    4ecc0a347da7 s390/vdso: remove -nostdlib compiler flag
    a26436b90808 powerpc: Remove linker flag from KBUILD_AFLAGS
    60abe015c3b5 media: platform: ti: Add missing check for devm_regulator_get
    954f27086c07 media: ti: cal: fix possible memory leak in cal_ctx_create()
    d4f4aa9ec112 remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
    bd57756a7e43 IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors
    08210a63eb4f IB/hfi1: Fix math bugs in hfi1_can_pin_pages()
    a495b6a5d027 iommu/vt-d: Allow to use flush-queue when first level is default
    990c539e9c33 iommu/vt-d: Use second level for GPA->HPA translation
    727fb414fe9f iommu/vt-d: Check FL and SL capability sanity in scalable mode
    b0a2bf28af77 iommu/vt-d: Remove duplicate identity domain flag
    db05a58ed435 iommu/vt-d: Fix error handling in sva enable/disable paths
    0bb33c5fe4a0 dmaengine: dw-axi-dmac: Do not dereference NULL structure
    ad222c9af25e dmaengine: sf-pdma: pdma_desc memory leak fix
    f119ef452e2d iommu: Fix error unwind in iommu_group_alloc()
    76e0396313c7 iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()
    3df71bb7e8ad phy: rockchip-typec: fix tcphy_get_mode error case
    295ab6d49ee5 dmaengine: dw-edma: Fix readq_ch() return value truncation
    3d41d9b256ae tty: serial: imx: disable Ageing Timer interrupt request irq
    908e091e1b66 tty: serial: imx: Handle RS485 DE signal active high
    3fe888ce8152 serial: fsl_lpuart: fix RS485 RTS polariy inverse issue
    87674a359ad1 RDMA/irdma: Cap MSIX used to online CPUs + 1
    d9e1dae1e278 usb: max-3421: Fix setting of I/O pins
    9dca64042d85 RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish()
    16603bced2d1 power: supply: remove faulty cooling logic
    c4f590e84a60 iommu/vt-d: Set No Execute Enable bit in PASID table entry
    7bd1d1305c89 usb: gadget: configfs: Restrict symlink creation is UDC already binded
    da589849cfdd usb: gadget: configfs: remove using list iterator after loop body as a ptr
    3d0127aca18f usb: gadget: configfs: use to_usb_function_instance() in cfg (un)link func
    c955f9cf75b7 usb: gadget: configfs: use to_config_usb_cfg() in os_desc_link()
    f12829e5130f usb: musb: mediatek: don't unregister something that wasn't registered
    2aff0632ac6b RDMA/cxgb4: add null-ptr-check after ip_dev_find()
    fcbbf34d7820 tty: serial: fsl_lpuart: Fix the wrong RXWATER setting for rx dma case
    e8fb0f13e45c usb: early: xhci-dbc: Fix a potential out-of-bound memory access
    49bf49312b30 dmaengine: dw-edma: Fix missing src/dst address of interleaved xfers
    834af318db66 fotg210-udc: Add missing completion handler
    b4fe158259fb firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle
    ca39a7c65944 drivers: base: transport_class: fix resource leak when transport_add_device() fails
    817b415f481b drivers: base: transport_class: fix possible memory leak
    8d389e363075 driver core: fix resource leak in device_add()
    6cdcee7393d4 misc/mei/hdcp: Use correct macros to initialize uuid_le
    a3c89e8c69a5 VMCI: check context->notify_page after call to get_user_pages_fast() to avoid GPF
    b1cdf1113e21 firmware: stratix10-svc: add missing gen_pool_destroy() in stratix10_svc_drv_probe()
    7f9416f14e86 applicom: Fix PCI device refcount leak in applicom_init()
    4a77ce51f9a8 eeprom: idt_89hpesx: Fix error handling in idt_init()
    4143de03d397 Revert "char: pcmcia: cm4000_cs: Replace mdelay with usleep_range in set_protocol"
    c177d5f24723 serial: tegra: Add missing clk_disable_unprepare() in tegra_uart_hw_init()
    7159dced6ffb tty: serial: fsl_lpuart: clear LPUART Status Register in lpuart32_shutdown()
    d5dcc89c8df8 tty: serial: fsl_lpuart: disable Rx/Tx DMA in lpuart32_shutdown()
    707d954d9b5c PCI: switchtec: Return -EFAULT for copy_to_user() errors
    53b65fa40c01 PCI/IOV: Enlarge virtfn sysfs name buffer
    645384e26f20 usb: typec: intel_pmc_mux: Don't leak the ACPI device reference count
    2a023b47d9f5 usb: typec: intel_pmc_mux: Use the helper acpi_dev_get_memory_resources()
    2dc1dba1d8d3 ACPI: resource: Add helper function acpi_dev_get_memory_resources()
    950c6df6ec6e coresight: cti: Add PM runtime call in enable_store
    ec4808025406 coresight: cti: Prevent negative values of enable count
    4f125de654c4 coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR
    4ff283009f55 media: uvcvideo: Check for INACTIVE in uvc_ctrl_is_accessible()
    5052fe8a95a4 media: uvcvideo: Check controls flags before accessing them
    bd3a78ace9bd media: uvcvideo: Use control names from framework
    5f0b4c77e70d media: uvcvideo: Add support for V4L2_CTRL_TYPE_CTRL_CLASS
    c7121f186c1c media: uvcvideo: refactor __uvc_ctrl_add_mapping
    d9eacd945f16 media: uvcvideo: Remove s_ctrl and g_ctrl
    07ab366a9aaf media: uvcvideo: Do not check for V4L2_CTRL_WHICH_DEF_VAL
    0305bf6af005 alpha/boot/tools/objstrip: fix the check for ELF header
    89a0079049f5 kobject: Fix slab-out-of-bounds in fill_kobj_path()
    e8bfba508cf3 kobject: modify kobject_get_path() to take a const *
    2c59650d078b driver core: fix potential null-ptr-deref in device_add()
    18f50b830408 soundwire: cadence: Don't overflow the command FIFOs
    83ce72f41464 i2c: designware: fix i2c_dw_clk_rate() return size to be u32
    d725bc59db96 usb: gadget: fusb300_udc: free irq on the error path in fusb300_probe()
    806d41135051 iio: light: tsl2563: Do not hardcode interrupt trigger type
    0d6282dc2bd3 dmaengine: HISI_DMA should depend on ARCH_HISI
    d901a7fb4069 dmaengine: idxd: Set traffic class values in GRPCFG on DSA 2.0
    6a8a02dcfae1 mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()
    413f8b1f8be6 mfd: cs5535: Don't build on UML
    41aed1bddcec objtool: add UACCESS exceptions for __tsan_volatile_read/write
    1ca4adf2e099 printf: fix errname.c list
    3927846a2a53 selftests/ftrace: Fix bash specific "==" operator
    b41a42d11df7 sparc: allow PM configs for sparc32 COMPILE_TEST
    1f3d6661f3f4 perf tools: Fix auto-complete on aarch64
    f9a35cd8f017 perf intel-pt: Do not try to queue auxtrace data on pipe
    bb0a6b5bcebf perf intel-pt: Add support for emulated ptwrite
    6d60fdc1e6a1 perf intel-pt: Add link to the perf wiki's Intel PT page
    ceecd014a8cc perf intel-pt: Add documentation for Event Trace and TNT disable
    b51f0131fd41 perf inject: Use perf_data__read() for auxtrace
    690efcb5827c leds: led-core: Fix refcount leak in of_led_get()
    1cdf973d2b3a perf llvm: Fix inadvertent file creation
    321b8b2b0b2b gfs2: jdata writepage fix
    7cbd5bdb5bd4 cifs: Fix warning and UAF when destroy the MR list
    46cd6c639cdd cifs: Fix lost destroy smbd connection when MR allocate failed
    22f55cbb0605 nfsd: fix race to check ls_layouts
    4abe8b100407 drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()
    350f0fc9052d hid: bigben_probe(): validate report count
    0fd999805292 HID: bigben: use spinlock to safely schedule workers
    be0b3f4a10bc HID: bigben_worker() remove unneeded check on report_field
    4dccaf1e45e1 HID: bigben: use spinlock to protect concurrent accesses
    547d18473a16 ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
    78b4d1e54531 spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()
    91758289faad NFS: fix disabling of swap
    c78cfb19c9a2 nfs4trace: fix state manager flag printing
    ccbf841c73ef NFSv4: keep state manager thread active if swap is enabled
    24ff9c5cdea9 dm: remove flush_scheduled_work() during local_exit()
    6739473a05ba ASoC: tlv320adcx140: fix 'ti,gpio-config' DT property init
    75eef8cb9d07 hwmon: (mlxreg-fan) Return zero speed for broken fan
    528181646644 spi: bcm63xx-hsspi: Fix multi-bit mode setting
    caed289f95f2 ASoC: codecs: lpass: fix incorrect mclk rate
    110589ecae84 ASoC: codecs: tx-macro: move to individual clks from bulk
    b1c7f77e2831 ASoC: codecs: rx-macro: move to individual clks from bulk
    05fd63e7f640 ASoC: codecs: tx-macro: move clk provider to managed variants
    8ca893710c67 ASoC: codecs: rx-macro: move clk provider to managed variants
    bed34709711a ASoC: codecs: Change bulk clock voting to optional voting in digital codecs
    bf29fda763a9 HID: retain initial quirks set up when creating HID devices
    2098a330b2a6 HID: multitouch: Add quirks for flipped axes
    f6e9b77257c1 scsi: aic94xx: Add missing check for dma_map_single()
    378cc0eec4aa scsi: mpt3sas: Fix a memory leak
    2dc8d09c1e68 drm/amdgpu: fix enum odm_combine_mode mismatch
    8b9415aecb1f hwmon: (ltc2945) Handle error case in ltc2945_value_store
    9cd1a9b7de20 ASoC: dt-bindings: meson: fix gx-card codec node regex
    fecd236ef6be ASoC: mchp-spdifrx: Fix uninitialized use of mr in mchp_spdifrx_hw_params()
    2b346cc075ec ASoC: rsnd: fixup #endif position
    fa077baab8ea ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove()
    667782d7ef5b ASoC: mchp-spdifrx: fix controls that works with completion mechanism
    12396e9300da ASoC: mchp-spdifrx: fix return value in case completion times out
    0c4e4d2ccb88 ASoC: mchp-spdifrx: fix controls which rely on rsr register
    e4d1c3ce2fe3 spi: dw_bt1: fix MUX_MMIO dependencies
    5f54a1d08e26 gpio: vf610: connect GPIO label to dev name
    0b64984dfbc4 ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()
    49cf87919dae drm/mediatek: Clean dangling pointer on bind error path
    62952905e195 drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc
    cd98ea8fa15b drm/mediatek: Drop unbalanced obj unref
    088a31fe1edb drm/mediatek: Use NULL instead of 0 for NULL pointer
    2a83e2b5b121 drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmd
    be30b05c4a33 drm/msm/dpu: set pdpu->is_rt_pipe early in dpu_plane_sspp_atomic_update()
    f50858d1b66a drm/tegra: firewall: Check for is_addr_reg existence in IMM check
    6f3614226430 gpu: host1x: Don't skip assigning syncpoints to channels
    11d6f70f07b0 pinctrl: mediatek: Initialize variable *buf to zero
    47a117028113 pinctrl: mediatek: Initialize variable pullen and pullup to zero
    b5b81fc1ac08 pinctrl: mediatek: fix coding style
    58151b609821 pinctrl: bcm2835: Remove of_node_put() in bcm2835_of_gpio_ranges_fallback()
    82943a0730e0 drm/msm/mdp5: Add check for kzalloc
    c7ee1772e3c3 drm/msm/dpu: Add check for pstates
    d4ba50614cb3 drm/msm/dpu: Add check for cstate
    f0e9f3e1d6c8 drm/msm: use strscpy instead of strncpy
    c9b6a75aae4d drm/msm/dsi: Allow 2 CTRLs on v2.5.0
    ce9fedc3099e drm: exynos: dsi: Fix MIPI_DSI*_NO_* mode flags
    3a40fd51e81e drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness
    15edaafbff75 drm/bridge: lt9611: pass a pointer to the of node
    75b3c2777dbb drm/bridge: lt9611: fix clock calculation
    a2c196f05a30 drm/bridge: lt9611: fix programming of video modes
    24e51dea9885 drm/bridge: lt9611: fix polarity programming
    77ba2d294e16 drm/bridge: lt9611: fix HPD reenablement
    1b5adc8752b0 drm/bridge: lt9611: fix sleep mode setup
    bf661c5e3bc4 drm/msm/dpu: Disallow unallocated resources to be returned
    436fb91cadb8 drm/msm/gem: Add check for kmalloc
    525c43e67d47 ALSA: hda/ca0132: minor fix for allocation size
    399d01375659 drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()
    e69f8e959b72 ASoC: fsl_sai: initialize is_dsp_mode flag
    6fd4144985fc ASoC: fsl_sai: Update to modern clocking terminology
    d58b45bbbea8 scsi: qla2xxx: Fix exchange oversubscription for management commands
    2232e689f9d9 scsi: qla2xxx: Fix exchange oversubscription
    9b2aab3da463 scsi: qla2xxx: edif: Fix I/O timeout due to over-subscription
    09af894bc3bd drm/msm: clean event_thread->worker in case of an error
    e76fbfdad503 drm/vc4: hdmi: Correct interlaced timings again
    55f2645e4e12 drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5
    ae8b24e8289b drm/vc4: hvs: Set AXI panic modes
    0f735f232ff5 pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups
    af54707c0cca pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
    b31ad2ecc4f7 pinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins
    9a01ecc312e7 drm/msm/hdmi: Add missing check for alloc_ordered_workqueue
    1721badebfc8 hwmon: (ftsteutates) Fix scaling of measurements
    11226ab2f99f gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()
    262f8e5940c6 drm: tidss: Fix pixel format definition
    d2991e6b3002 drm/vc4: dpi: Fix format mapping for RGB565
    8e04aaffb6de drm/vc4: dpi: Add option for inverting pixel clock and output enable
    1f9836f95271 drm/vkms: Fix null-ptr-deref in vkms_release()
    bad13de76488 drm/vkms: Fix memory leak in vkms_init()
    309e785bae07 drm/bridge: megachips: Fix error handling in i2c_register_driver()
    b02742255620 drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC
    da56b06f3828 drm/bridge: ti-sn65dsi83: Fix delay after reset deassert to match spec
    d72f8548a613 drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats
    d06e827a65a6 drm: Fix potential null-ptr-deref due to drmm_mode_config_init()
    50c75e7ce64c sefltests: netdevsim: wait for devlink instance after netns removal
    1a452b449a29 selftest: fib_tests: Always cleanup before exit
    96cf406dea06 net: bcmgenet: fix MoCA LED control
    f6df58aa15f7 l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()
    f7854541b02e selftests/net: Interpret UDP_GRO cmsg data as an int value
    75ee94229062 irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts
    3a413b05c66e irqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts
    95ab0725c521 bpf: Fix global subprog context argument resolution logic
    bfc344d1e78c can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error
    f5aaf140ab1c thermal/drivers/hisi: Drop second sensor hi3660
    2d20f9b6dd81 wifi: mac80211: make rate u32 in sta_set_rate_info_rx()
    62ff301aa492 crypto: crypto4xx - Call dma_unmap_page when done
    74fe2bf6746e ACPI: resource: Do IRQ override on all TongFang GMxRGxx
    b577d0bde456 ACPI: resource: Add IRQ overrides for MAINGEAR Vector Pro 2 models
    e0ae2d90bc0c selftests/bpf: Fix out-of-srctree build
    15fe03e5dd05 wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()
    f15ef0ebcf56 wifi: iwl4965: Add missing check for create_singlethread_workqueue()
    505c74c4c0b1 wifi: iwl3945: Add missing check for create_singlethread_workqueue
    5ac2f1e3bbe6 RISC-V: time: initialize hrtimer based broadcast clock event device
    e97dd92c3611 m68k: /proc/hardware should depend on PROC_FS
    b677cb4f0b6b crypto: rsa-pkcs1pad - Use akcipher_request_complete
    99e8e6fd70a1 rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
    d7bd166859fe libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()
    b8f6c28ce1cf s390/ap: fix status returned by ap_qact()
    900a0c25a653 s390/ap: fix status returned by ap_aqic()
    0e872b4da7c6 Bluetooth: hci_qca: get wakeup status from serdev device handle
    31a288a4df7f Bluetooth: L2CAP: Fix potential user-after-free
    bf1b79d57e44 OPP: fix error checking in opp_migrate_dentry()
    db6efde0ab80 tap: tap_open(): correctly initialize socket uid
    67f9f02928a3 tun: tun_chr_open(): correctly initialize socket uid
    a8353cfb4eec net: add sock_init_data_uid()
    15a66714bf28 s390/vmem: fix empty page tables cleanup under KASAN
    6ce9a22fc021 s390/mem_detect: fix detect_memory() error handling
    856fc2195494 irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probe
    88cb93d3a16f irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probe
    d6c66c468897 irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains
    4401b4858557 irqchip: Fix refcount leak in platform_irqchip_probe
    a7724a7c2236 net/mlx5: Enhance debug print in page allocation failure
    a25ff23ba2d7 mt76: mt7915: fix polling firmware-own status
    9af6aa18b4e8 bpftool: profile online CPUs instead of possible
    457139238f34 crypto: ccp - Flush the SEV-ES TMR memory before giving it to firmware
    68c1cfd01332 crypto: ccp - Refactor out sev_fw_alloc()
    13cb7851a5b1 leds: led-class: Add missing put_device() to led_put()
    912eb10b6564 crypto: xts - Handle EBUSY correctly
    55a7f88059c8 x86/microcode: Adjust late loading result reporting message
    36b6fc833437 x86/microcode: Check CPU capabilities after late microcode update correctly
    de6e20f3f33e x86/microcode: Add a parameter to microcode_check() to store CPU capabilities
    a9e76b276b10 x86/microcode: Print previous version of microcode after reload
    6d2b3a319144 x86/microcode: Default-disable late loading
    dce39c10d885 x86/microcode: Rip out the OLD_INTERFACE
    54aa76ad5f01 x86: Mark stop_this_cpu() __noreturn
    e4de2b98c4bd powercap: fix possible name leak in powercap_register_zone()
    36ec108b7bd7 crypto: seqiv - Handle EBUSY correctly
    840a1d3b77c1 crypto: essiv - Handle EBUSY correctly
    416eb7cc967d crypto: ccp - Failure on re-initialization due to duplicate sysfs filename
    3496c1b3f500 ACPI: battery: Fix missing NUL-termination with large strings
    ac75c78f8f76 wifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()
    53c8a256e5d3 wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
    1af7eacfad45 wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()
    61490d271027 wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails
    f1cdbe94f728 ath9k: htc: clean up statistics macros
    4adfc9eb8a45 ath9k: hif_usb: simplify if-if to if-else
    c0c0614f143b wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
    88f6608c7ede wifi: orinoco: check return value of hermes_write_wordrec()
    35fb0e275af1 wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU
    ae17414de71b thermal/drivers/tsens: limit num_sensors to 9 for msm8939
    80726a391973 thermal/drivers/tsens: fix slope values for msm8939
    e991430d2375 thermal/drivers/tsens: Sort out msm8976 vs msm8956 data
    df56f5265e73 thermal/drivers/tsens: Add compat string for the qcom,msm8960
    21cb4e5700be thermal/drivers/tsens: Drop msm8976-specific defines
    801d10065b8a ACPICA: nsrepair: handle cases without a return value correctly
    0cf3af4de06a crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID2
    9ae0f82aa70b lib/mpi: Fix buffer overrun when SG is too long
    d215e32fe18a rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()
    f7dc606a47d3 rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
    a0818534fb64 rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose
    bcaa8b8fc1f1 genirq: Fix the return type of kstat_cpu_irqs_sum()
    4222cc9e7912 ACPICA: Drop port I/O validation for some regions
    2b56df9102a8 crypto: x86/ghash - fix unaligned access in ghash_setkey()
    4f47453c39f3 wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()
    f19c9ed16294 wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()
    b9294aedfb17 wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()
    e9c889b0c458 wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()
    068e986f2ba8 wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
    ddb864ea9ca2 wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
    e8ef89e5b89e wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
    5706d00fde3f wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
    9424ea9d557e wifi: ipw2200: fix memory leak in ipw_wdev_init()
    345692e96bb7 wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()
    d78d85d84a44 libbpf: Fix btf__align_of() by taking into account field offsets
    0c962dcd6bf6 wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()
    507ad94346da wifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()
    037f84c0bfae wifi: libertas: fix memory leak in lbs_init_adapter()
    8722f96adece wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()
    53aa5137560a wifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()
    993cd8cf5442 wifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave()
    7d2cb8abaad7 wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave()
    b56e60b3b158 wifi: rsi: Fix memory leak in rsi_coex_attach()
    3d30678a59af block: bio-integrity: Copy flags when bio_integrity_payload is cloned
    cabad071ab17 arm64: dts: qcom: pmk8350: Use the correct PON compatible
    0e12d7725d58 arm64: dts: qcom: pmk8350: Specify PBS register for PON
    2936952fa626 KEYS: asymmetric: Fix ECDSA use via keyctl uapi
    a5fa5a41791c x86/perf/zhaoxin: Add stepping check for ZXC
    2c36c390a749 sched/rt: pick_next_rt_entity(): check list_entry
    3f191c2cc567 sched/deadline,rt: Remove unused parameter from pick_next_[rt|dl]_entity()
    544a552be086 s390/dasd: Fix potential memleak in dasd_eckd_init()
    a00cf3619f19 arm64: dts: qcom: msm8992-lg-bullhead: Correct memory overlaps with the SMEM and MPSS memory regions
    8173defc3635 blk-mq: correct stale comment of .get_budget
    7dd5f83c1149 blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
    5eb99e7a80fc blk-mq: avoid sleep in blk_mq_alloc_request_hctx
    20b9d7b4e0e6 arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node
    88022f659f63 arm64: dts: mt8192: Fix CPU map for single-cluster SoC
    770e769834e1 ARM: dts: imx7s: correct iomuxc gpr mux controller cells
    2fe22748d511 ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference
    762c821b97a7 arm64: dts: meson: bananapi-m5: switch VDDIO_C pin to OPEN_DRAIN
    e29709ba5847 arm64: dts: renesas: beacon-renesom: Fix gpio expander reference
    3f5ec3c335dd locking/rwsem: Disable preemption in all down_read*() and up_read() code paths
    ab4d47a343da locking/rwsem: Optimize down_read_trylock() under highly contended case
    ac0e5a181eff arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip
    f4891e5725a0 arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name
    665bdfabec52 arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name
    f0b5101a6432 arm64: dts: amlogic: meson-sm1-bananapi-m5: fix adc keys node names
    ae03ae3b6b93 arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name
    5be0df1849b6 arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name
    7a5b8cd5622b arm64: dts: amlogic: meson-gx: add missing unit address to rng node name
    5c1ce648c6c3 arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property
    d089142bcc73 arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible
    f562cc37f0f0 arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name
    334bb3461204 arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name
    88083a25d80a ARM: imx: Call ida_simple_remove() for ida_simple_get
    abfdfa339675 ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato
    70aac3c6b14d arm64: dts: ti: k3-j7200: Fix wakeup pinmux range
    c42defea2db0 ARM: s3c: fix s3c64xx_set_timer_source prototype
    af48760133f1 ARM: bcm2835_defconfig: Enable the framebuffer
    37858e17e45e ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
    89895442387d arm64: dts: meson: remove CPU opps below 1GHz for G12A boards
    69c7a270357a arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
    feb8c71f015d arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
    1563af0f28af arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
    e88204931d9a arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
    d9df682bcea5 arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size
    a55a645aa303 arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes
    dd3d021ae547 arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names
    8a5d81afa6e1 arm64: dts: qcom: msm8992-bullhead: Disable dfps_data_mem
    76e794cfd137 arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem size
    10c5fae6f99d arm64: dts: msm8992-bullhead: add memory hole region
    410028a170f3 arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address
    a240ab41b3bc arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name
    472c333be2c2 arm64: dts: meson-gx: Fix Ethernet MAC address unit name
    b63bb187696c arm64: dts: qcom: sc7280: correct SPMI bus address cells
    9e4063237957 arm64: dts: qcom: sc7180: correct SPMI bus address cells
    6ca79943f5e3 arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name
    e192005e3f69 arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description
    1cc12d10d13a ARM: zynq: Fix refcount leak in zynq_early_slcr_init
    a1d42650cf29 arm64: dts: imx8m: Align SoC unique ID node unit address
    61ecb2df6923 arm64: dts: qcom: sm6125: Reorder HSUSB PHY clocks to match bindings
    738a716d2de6 arm64: dts: qcom: sm8150-kumano: Panel framebuffer is 2.5k instead of 4k
    a7d6e757169f arm64: dts: qcom: msm8996-tone: Fix USB taking 6 minutes to wake up
    795a9a93ed8d arm64: dts: qcom: qcs404: use symbol names for PCIe resets
    10fcdad2b9f3 ARM: OMAP2+: Fix memory leak in realtime_counter_init()
    e2f62d8302bb powerpc/mm: Rearrange if-else block to avoid clang warning
    3959316f8ceb HID: asus: use spinlock to safely schedule workers
    d2ce7b6f3ae4 HID: asus: use spinlock to protect concurrent accesses

(From OE-Core rev: 7be1bc5ce77b31bb634bd3572d8553cad127f38e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Bruce Ashfield
9ef8cbcdfc linux-yocto/6.1: update to v6.1.20
Updating  to the latest korg -stable release that comprises
the following commits:

    7eaef76fbc46 Linux 6.1.20
    05650b267e67 UML: define RUNTIME_DISCARD_EXIT
    bf899a4b1220 Revert "bpf, test_run: fix &xdp_frame misplacement for LIVE_FRAMES"
    d663e13ca866 filelocks: use mount idmapping for setlease permission check
    38327b6cb1fa drm/amd/display: adjust MALL size available for DCN32 and DCN321
    02c8fa11f545 drm/amd/display: Allow subvp on vactive pipes that are 2560x1440@60
    00e81f191bc0 media: rc: gpio-ir-recv: add remove function
    39111cedd7ba media: ov5640: Fix analogue gain control
    42d9fb70770f scripts: handle BrokenPipeError for python scripts
    9ba7b769cee0 PCI: Add SolidRun vendor ID
    b655ba93b51f macintosh: windfarm: Use unsigned type for 1-bit bitfields
    69c74104b0e9 alpha: fix R_ALPHA_LITERAL reloc for large modules
    f69bbc0bd6d2 powerpc/kcsan: Exclude udelay to prevent recursive instrumentation
    07a5f4e69761 powerpc/64: Move paca allocation to early_setup()
    be2e726fa03a powerpc/64: Fix task_cpu in early boot when booting non-zero cpuid
    5b5fab270f4d powerpc/bpf/32: Only set a stack frame when necessary
    71e9501458aa clk: renesas: rcar-gen3: Disable R-Car H3 ES1.*
    24c1bd1cd0d1 powerpc/iommu: fix memory leak with using debugfs_lookup()
    ac872bb004c3 powerpc/64: Don't recurse irq replay
    5759afd5e584 MIPS: Fix a compilation issue
    e1f5c4c877af tpm/eventlog: Don't abort tpm_read_log on faulty ACPI address
    587a6fda90f3 watch_queue: fix IOC_WATCH_QUEUE_SET_SIZE alloc error paths
    09fa1a6b0cdd drm/msm/adreno: fix runtime PM imbalance at unbind
    d1a3ca3ad486 adreno: Shutdown the GPU properly
    70f12dee2254 drm/amdgpu/soc21: Add video cap query support for VCN_4_0_4
    69a56ace8bc2 drm/amdgpu/soc21: don't expose AV1 if VCN0 is harvested
    2ef7f829214f ext4: Fix deadlock during directory rename
    dc7d4b1a6568 drm/amdgpu: fix return value check in kfd
    0a6321657eb8 RISC-V: Don't check text_mutex during stop_machine
    324912d6c0c4 riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack mode
    99e9188f9c55 erofs: Revert "erofs: fix kvcalloc() misuse with __GFP_NOFAIL"
    ac1968ac3992 af_unix: fix struct pid leaks in OOB support
    056b022cfc01 net: dsa: mt7530: permit port 5 to work without port 6 on MT7621 SoC
    7a3720361068 SUNRPC: Fix a server shutdown leak
    b93ed36b31c3 octeontx2-af: Unlock contexts in the queue context cache in case of fault detection
    4de04f8f633c net/smc: fix fallback failed while sendmsg with fastopen
    1bd92191773d ethernet: ice: avoid gcc-9 integer overflow warning
    accd7904318a ice: Fix DSCP PFC TLV creation
    ad7760898469 NFSD: Protect against filesystem freezing
    e5febcfbae93 block: fix wrong mode for blkdev_put() from disk_scan_partitions()
    49bfd991410b platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it
    d391a49ba1b2 platform: mellanox: select REGMAP instead of depending on it
    5b5b69e3185f netfilter: conntrack: adopt safer max chain length
    b26b85b18469 scsi: sd: Fix wrong zone_write_granularity value during revalidate
    8f45d2f32c34 scsi: megaraid_sas: Update max supported LD IDs to 240
    715396cca2ce net: tls: fix device-offloaded sendpage straddling records
    0ce686fcab32 net: ethernet: mtk_eth_soc: fix RX data corruption issue
    324361de111d net: phy: smsc: fix link up detection in forced irq mode
    f0c8306c1aa2 btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT, UNION, PTR
    17d0f2e8daa8 bpf, test_run: fix &xdp_frame misplacement for LIVE_FRAMES
    6a9379eba19b btrfs: fix extent map logging bit not cleared for split maps after dropping range
    ceb089e2337f m68k: mm: Move initrd phys_to_virt handling after paging_init()
    079d37e1624c netfilter: tproxy: fix deadlock due to missing BH disable
    03b5128543d3 netfilter: ctnetlink: revert to dumping mark regardless of event type
    fcae40e65802 bnxt_en: Avoid order-5 memory allocation for TPA data
    796ae31ca256 net: phylib: get rid of unnecessary locking
    b734a6f300d5 net: stmmac: add to set device wake up flag when stmmac init phy
    0592b05c5085 drm/msm/dpu: clear DSPP reservations in rm release
    5ade9afa5c65 drm/msm/dpu: fix clocks settings for msm8998 SSPP blocks
    f8049342f829 drm/msm/dpu: drop DPU_DIM_LAYER from MIXER_MSM8998_MASK
    1ef5491ca2a4 drm/msm/dpu: fix len of sc7180 ctl blocks
    f45cf3ae3068 bpf, sockmap: Fix an infinite loop error when len is 0 in tcp_bpf_recvmsg_parser()
    90b40ab29298 ice: copy last block omitted in ice_get_module_eeprom()
    287027d8a567 net: caif: Fix use-after-free in cfusbl_device_notify()
    34f099b34b42 net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driver
    0b30a06b20e9 perf stat: Fix counting when initial delay configured
    e8d7615d8f6f net: use indirect calls helpers for sk_exit_memory_pressure()
    14c17c673e1b net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
    34869f8e713e netfilter: nft_quota: copy content when cloning expression
    227a7266fcd1 netfilter: nft_last: copy content when cloning expression
    5d241eb8a124 selftests: nft_nat: ensuring the listening side is up before starting the client
    6fac771473ca net: lan966x: Fix port police support using tc-matchall
    25b54f247ea0 ila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping()
    78891a3c1e87 drm/msm/dpu: disable features unsupported by QCM2290
    a3a087edd049 tls: rx: fix return value for async crypto
    a7e0439c25f9 powerpc: dts: t1040rdb: fix compatible string for Rev A boards
    ce93f1afc059 nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
    3ee0c9fb7f46 bgmac: fix *initial* chip reset to support BCM5358
    56d67b9788da drm/msm/a5xx: fix context faults during ring switch
    ac3af300a2f8 drm/msm/a5xx: fix the emptyness check in the preempt code
    84053e7dc47b drm/msm/a5xx: fix highest bank bit for a530
    d334248d199f drm/msm/a5xx: fix setting of the CP_PREEMPT_ENABLE_LOCAL register
    fa73f67ac0f1 drm/msm: Fix potential invalid ptr free
    5dca696143bf drm/nouveau/kms/nv50: fix nv50_wndw_new_ prototype
    512aa2fd8c9f cifs: improve checking of DFS links over STATUS_OBJECT_NAME_INVALID
    b0bb13612292 ext4: Fix possible corruption when moving a directory
    17e98a5ede81 scsi: core: Remove the /proc/scsi/${proc_name} directory earlier
    0d14555f536a riscv: Add header include guards to insn.h
    82f713e8b881 block: fix scan partition for exclusively open device again
    573e58f5e7e1 block: Revert "block: Do not reread partition table on exclusively open device"
    783c225e910f drm/i915: Populate encoder->devdata for DSI on icl+
    bd61a84b5eee drm/i915: Do panel VBT init early if the VBT declares an explicit panel type
    e340197a4539 drm/i915: Introduce intel_panel_init_alloc()
    87228e1c18dc spi: intel: Check number of chip selects after reading the descriptor
    9858e0fb32b6 ipmi:ssif: Add a timer between request retries
    8a676b6eb2d5 ipmi:ssif: Increase the message retry time
    f12869ff7643 ipmi:ssif: Remove rtc_us_timer
    526a177ac635 Input: exc3000 - properly stop timer on shutdown
    86e9eb69c0e7 bus: mhi: ep: Change state_lock to mutex
    b6dc68ac967a bus: mhi: ep: Power up/down MHI stack during MHI RESET
    9ee18ff099b0 udf: Fix off-by-one error when discarding preallocation
    a926daa8b13c fs: dlm: fix race setting stop tx flag
    3c1bc8ded4e4 fs: dlm: be sure to call dlm_send_queue_flush()
    29682b8a3dba fs: dlm: use WARN_ON_ONCE() instead of WARN_ON()
    a3b0e9ac3c24 fs: dlm: fix use after free in midcomms commit
    387c30389494 fd: dlm: trace send/recv of dlm message and rcom
    8885e12aa107 fs: dlm: use packet in dlm_mhandle
    cb2849caad02 fs: dlm: remove send repeat remove handling
    14c5a584cbf2 fs: dlm: start midcomms before scand
    f78892061075 fs: dlm: add midcomms init/start functions
    e7935f5af426 fs: dlm: fix log of lowcomms vs midcomms
    e136e969d268 KVM: VMX: Do _all_ initialization before exposing /dev/kvm to userspace
    adc0dd8b0439 KVM: x86: Move guts of kvm_arch_init() to standalone helper
    5daa32be8c02 KVM: VMX: Don't bother disabling eVMCS static key on module exit
    afb26bfc01db KVM: VMX: Reset eVMCS controls in VP assist page during hardware disabling
    4d72cdd63909 nfc: change order inside nfc_se_io error path
    4cd8ffa48800 HID: uhid: Over-ride the default maximum data buffer value with our own
    5a144cfe35d8 HID: core: Provide new max_buffer_size attribute to over-ride the default
    9cb27b1e76f0 ext4: zero i_disksize when initializing the bootloader inode
    35161cec7677 ext4: fix WARNING in ext4_update_inline_data
    50a70036ac3a ext4: move where set the MAY_INLINE_DATA flag is set
    eb3a695aa71a ext4: fix another off-by-one fsmap error on 1k block filesystems
    f3b8cc218bd1 ext4: fix RENAME_WHITEOUT handling for inline directories
    f327490e0500 ext4: fix cgroup writeback accounting with fs-layer encryption
    f0417bf138af staging: rtl8723bs: Pass correct parameters to cfg80211_get_bss()
    4a6d23b76c12 staging: rtl8723bs: Fix key-store index handling
    8d2ca666a7b4 drm/connector: print max_requested_bpc in state debugfs
    9f6f6f42b9ef drm/display: Don't block HDR_OUTPUT_METADATA on unknown EOTF
    d07d152d762d drm/amdgpu: fix error checking in amdgpu_read_mm_registers for nv
    a11e210dc595 drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc21
    39190482e5d0 drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15
    cc4dd679912d x86/CPU/AMD: Disable XSAVES on AMD family 0x17
    1c39d126b51b RISC-V: Stop emitting attributes
    120f7a928719 fork: allow CLONE_NEWTIME in clone3 flags
    a36f845f57a9 perf inject: Fix --buildid-all not to eat up MMAP2
    fa4056781ac0 erofs: fix wrong kunmap when using LZMA on HIGHMEM platforms
    da8fab32a712 io_uring/uring_cmd: ensure that device supports IOPOLL
    fceed91ea1ba btrfs: fix percent calculation for bg reclaim message
    99d232798c06 btrfs: fix unnecessary increment of read error stat on write error
    cec08b7d1ebc fs: prevent out-of-bounds array speculation when closing a file descriptor
    6449a0ba6843 Linux 6.1.19
    49393a43c63a staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh
    83d76e3d8b91 staging: rtl8192e: Remove function ..dm_check_ac_dc_power calling a script
    7b3eac1950e7 wifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext"
    dc64dc4c80ae tpm: disable hwrng for fTPM on some AMD designs
    1cc3fcf63192 Linux 6.1.18
    cc4b55a48f4a usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails
    58b656177d17 arm64: Reset KASAN tag in copy_highpage with HW tags only
    96122e776fe7 arm64: mte: Fix/clarify the PG_mte_tagged semantics
    8b38969fa016 arm64: efi: Make efi_rt_lock a raw_spinlock
    c6b9c79c3df9 io_uring/poll: allow some retries for poll triggering spuriously
    3453b1b0439b io_uring: fix two assignments in if conditions
    4ca25c0b74dd media: uvcvideo: Fix race condition with usb_kill_urb
    27b5871abd5c drm/i915: Fix system suspend without fbdev being initialized
    fb5f2b42650f drm/i915/dp_mst: Add the MST topology state for modesetted CRTCs
    6e48e7901e62 drm/display/dp_mst: Fix payload addition on a disconnected sink
    efe5ce019a9b drm/display/dp_mst: Fix down message handling after a packet reception error
    b30fcedeba64 drm/display/dp_mst: Fix down/up message handling after sink disconnect
    6130b22fb677 drm/display/dp_mst: Add drm_atomic_get_old_mst_topology_state()
    beb15de99ae8 vDPA/ifcvf: allocate the adapter in dev_add()
    dd5d2d8821b2 vDPA/ifcvf: manage ifcvf_hw in the mgmt_dev
    6ddb3b805827 vDPA/ifcvf: ifcvf_request_irq works on ifcvf_hw
    154c0aea566d vDPA/ifcvf: decouple config/dev IRQ requester and vectors allocator from the adapter
    e35beaa142d7 vDPA/ifcvf: decouple vq irq requester from the adapter
    c0fca7704f5e vDPA/ifcvf: decouple config IRQ releaser from the adapter
    62fb450c4dd2 vDPA/ifcvf: decouple vq IRQ releasers from the adapter
    aa2af9353aeb vDPA/ifcvf: alloc the mgmt_dev before the adapter
    50da55ec0f04 vDPA/ifcvf: decouple config space ops from the adapter
    447d1c9abc84 vDPA/ifcvf: decouple hw features manipulators from the adapter
    7ec0076b424e x86/resctl: fix scheduler confusion with 'current'
    1f800f6aae57 net: tls: avoid hanging tasks on the tx_lock
    f5a21755ee55 soundwire: cadence: Drain the RX FIFO after an IO timeout
    51eb90be9fd8 soundwire: cadence: Remove wasted space in response_buf
    425cd1b47124 iommu: Attach device group to old domain in error path
    4e11ac106f69 RDMA/cma: Distinguish between sockaddr_in and sockaddr_in6 by size
    a577aac0dac6 phy: rockchip-typec: Fix unsigned comparison with less than zero
    52ec1cae5277 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    455ed25b5945 PCI: Add ACS quirk for Wangxun NICs
    2d07ad44e741 PCI: loongson: Add more devices that need MRRS quirk
    29d53c4c5a6f kernel/fail_function: fix memory leak with using debugfs_lookup()
    5a7a9efdb193 drivers: base: dd: fix memory leak with using debugfs_lookup()
    79ac2b01e033 drivers: base: component: fix memory leak with using debugfs_lookup()
    d1c545e44c1e misc: vmw_balloon: fix memory leak with using debugfs_lookup()
    4459d1e7bd04 tty: pcn_uart: fix memory leak with using debugfs_lookup()
    d1589b73519e PCI: Distribute available resources for root buses, too
    bf1ab09d2c45 PCI: Take other bus devices into account when distributing resources
    a39f741e6021 PCI: Align extra resources for hotplug bridges properly
    8dd58d3c1385 usb: gadget: uvc: Make bSourceID read/write
    7a7de5957b8f usb: uvc: Enumerate valid values for color matching
    ff542083b105 USB: ene_usb6250: Allocate enough memory for full object
    cbf54771bc21 usb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math
    b14d188d0d0b USB: gadget: pxa27x_udc: fix memory leak with using debugfs_lookup()
    78d9586d8e72 USB: gadget: pxa25x_udc: fix memory leak with using debugfs_lookup()
    7a5fdd866017 USB: gadget: lpc32xx_udc: fix memory leak with using debugfs_lookup()
    31de0b70ae56 USB: gadget: bcm63xx_udc: fix memory leak with using debugfs_lookup()
    be21a66e17ee USB: gadget: gr_udc: fix memory leak with using debugfs_lookup()
    b0a8195a84a7 USB: isp1362: fix memory leak with using debugfs_lookup()
    542a99cd6ead USB: isp116x: fix memory leak with using debugfs_lookup()
    7d2d3bef6d70 USB: fotg210: fix memory leak with using debugfs_lookup()
    54166af8941d USB: sl811: fix memory leak with using debugfs_lookup()
    e529aeb771ae USB: uhci: fix memory leak with using debugfs_lookup()
    dcbe69f4f743 USB: ULPI: fix memory leak with using debugfs_lookup()
    610373dd354f USB: chipidea: fix memory leak with using debugfs_lookup()
    ce234af49d10 USB: dwc3: fix memory leak with using debugfs_lookup()
    04f3cda40e9f staging: pi433: fix memory leak with using debugfs_lookup()
    d8c911d3d879 PCI: loongson: Prevent LS7A MRRS increases
    bace2a37de7c soundwire: bus_type: Avoid lockdep assert in sdw_drv_probe()
    638eeb0e8ade media: uvcvideo: Add GUID for BGRA/X 8:8:8:8
    f5a2a15da3bc iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word()
    be0c84d90807 iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_status_word()
    2d1716aba462 bus: mhi: ep: Fix the debug message for MHI_PKT_TYPE_RESET_CHAN_CMD cmd
    945877c145dd tools/iio/iio_utils:fix memory leak
    947530c84044 mei: bus-fixup:upon error print return values of send and receive
    f57c2164d082 serial: sc16is7xx: setup GPIO controller later in probe
    59aba0393275 tty: serial: fsl_lpuart: disable the CTS when send break signal
    765566110eb0 tty: fix out-of-bounds access in tty_driver_lookup_tty()
    3c8dce696a66 staging: emxx_udc: Add checks for dma_alloc_coherent()
    2f588d0345d6 cacheinfo: Fix shared_cpu_map to handle shared caches at different levels
    c68ece7baf2a USB: fix memory leak with using debugfs_lookup()
    15aed90f3e05 media: uvcvideo: Silence memcpy() run-time false positive warnings
    3c4a3bbe025c media: uvcvideo: Quirk for autosuspend in Logitech B910 and C910
    acfed4676a59 media: uvcvideo: Handle errors from calls to usb_string
    11196ee3916e media: uvcvideo: Handle cameras with invalid descriptors
    2c8ea08b86a5 media: uvcvideo: Remove format descriptions
    7b41160db120 PCI/ACPI: Account for _S0W of the target bridge in acpi_pci_bridge_d3()
    60ac0a6de6b0 iommu/amd: Fix error handling for pdev_pri_ats_enable()
    2ec4d5ef0800 IB/hfi1: Update RMT size calculation
    9893771097b2 mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak
    8caa60c20ae1 bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support
    a6426afbca51 firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3
    c578a68ffcdc kernel/printk/index.c: fix memory leak with using debugfs_lookup()
    2072332c04df tracing: Add NULL checks for buffer in ring_buffer_free_read_page()
    92271fc1cc5d thermal: intel: BXT_PMIC: select REGMAP instead of depending on it
    69e49f1b5360 thermal: intel: quark_dts: fix error pointer dereference
    ada41093fb1b ASoC: mediatek: mt8195: add missing initialization
    bb12470672e7 ASoC: zl38060 add gpiolib dependency
    daf8c1062d13 nvme-fabrics: show well known discovery name
    fe2d9e54165d nvme-tcp: don't access released socket during error recovery
    117dc3f6b641 nvme: bring back auto-removal of deleted namespaces during sequential scan
    124fee6c62b2 ASoC: apple: mca: Improve handling of unavailable DMA channels
    0c398c1c19ff ASoC: apple: mca: Fix SERDES reset sequence
    c664c3835519 ASoC: apple: mca: Fix final status read on SERDES reset
    f558edac8f6c ASoC: adau7118: don't disable regulators on device unbind
    4be26d553a3f loop: loop_set_status_from_info() check before assignment
    b0498e95cae7 io_uring: fix size calculation when registering buf ring
    1e276e8acb8e rtc: allow rtc_read_alarm without read_alarm callback
    6a675a6d57d3 scsi: mpi3mr: Use number of bits to manage bitmap sizes
    abfe73c16b29 scsi: mpi3mr: Fix an issue found by KASAN
    66050599b980 scsi: ipr: Work around fortify-string warning
    926aef60ea64 genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask()
    9425d1ee2c0c rtc: sun6i: Always export the internal oscillator
    aa7dc954e809 spi: tegra210-quad: Fix iterator outside loop
    d6e15f8de5b5 vc_screen: modify vcs_size() handling in vcs_read()
    95c131b41f00 tcp: tcp_check_req() can be called from process context
    fb987e7a9bd0 ARM: dts: spear320-hmi: correct STMPE GPIO compatible
    df2dac168c74 net: dsa: felix: fix internal MDIO controller resource length
    9df677d78130 net: dsa: seville: ignore mscc-miim read errors from Lynx PCS
    113d2d158f24 net/sched: act_sample: fix action bind logic
    af8bfc1add67 net/sched: act_mpls: fix action bind logic
    2cabfa2c404d net/sched: act_pedit: fix action bind logic
    d3ad82430e9b net/sched: transition act_pedit to rcu and percpu stats
    b2036a252381 nfc: fix memory leak of se_io context in nfc_genl_se_io
    f19d8f93682a ext4: fix incorrect options show of original mount_opt and extend mount_opt2
    2b7cf1bcd447 net/mlx5: Geneve, Fix handling of Geneve object id as error code
    a383f5fcc891 net/mlx5e: Verify flow_source cap before using it
    2a0b214ab49f net/mlx5: ECPF, wait for VF pages only after disabling host PFs
    52e6e7a0bc04 mlx5: fix possible ptp queue fifo use-after-free
    234cffda95e1 mlx5: fix skb leak while fifo resync and push
    f6c0536b41e6 spi: tegra210-quad: Fix validate combined sequence
    7dd49d434d2e 9p/rdma: unmap receive dma buffer in rdma_request()/post_recv()
    4f0e9244770f 9p/xen: fix connection sequence
    db886cb3ecc6 9p/xen: fix version parsing
    896f014a1761 net: fix __dev_kfree_skb_any() vs drop monitor
    8dba9e7073a0 octeontx2-pf: Use correct struct reference in test condition
    03c3a5584a0a sctp: add a refcnt in sctp_stream_priorities to avoid a nested loop
    d28467230dd9 net: sunhme: Fix region request
    e3aa5d1bb1b2 octeontx2-pf: Recalculate UDP checksum for ptp 1-step sync packet
    e11e4d524eba ipv6: Add lwtunnel encap size of all siblings in nexthop calculation
    b232d4e840ed drm/i915: move a Kconfig symbol to unbreak the menu presentation
    f94becae90b0 ptp: vclock: use mutex to fix "sleep on atomic" bug
    512b6c4b83c9 netfilter: x_tables: fix percpu counter block leak on error path when creating new netns
    ffba2d579026 netfilter: ctnetlink: make event listener tracking global
    f2ccb36b8f76 netfilter: xt_length: use skb len to match in length_mt6
    3dd6ac973351 netfilter: ebtables: fix table blob use-after-free
    8291cfdfa6cd netfilter: ip6t_rpfilter: Fix regression with VRF interfaces
    1fd3c69f6511 netfilter: conntrack: fix rmmod double-free race
    4f25d1dff805 netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_conntrack()
    12a91ade681b watchdog: sbsa_wdog: Make sure the timeout programming is within the limits
    ce64f72e988b watchdog: pcwd_usb: Fix attempting to access uninitialized memory
    ac099d94e048 watchdog: Fix kmemleak in watchdog_cdev_register
    89c682e9d04c watchdog: at91sam9_wdt: use devm_request_irq to avoid missing free_irq() in error path
    1bcf3a9846e8 watchdog: rzg2l_wdt: Handle TYPE-B reset for RZ/V2M
    edaed0cd7695 watchdog: rzg2l_wdt: Issue a reset before we put the PM clocks
    102b82708c15 f2fs: synchronize atomic write aborts
    a02a91057652 um: virt-pci: properly remove PCI device from bus
    e38d2adf110c um: virtio_uml: move device breaking into workqueue
    1954d3cd49d3 um: virtio_uml: mark device as unregistered when breaking it
    4e774bf6ea50 um: virtio_uml: free command if adding to virtqueue failed
    28ebc1164a45 x86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list
    44b713a24251 netfilter: nf_tables: allow to fetch set elements when table has an owner
    13a6366bbfa2 ext4: don't show commit interval if it is zero
    aa936286e71a ext4: use ext4_fc_tl_mem in fast-commit replay path
    0bf3672946a3 soc: qcom: stats: Populate all subsystem debugfs files
    22ddbbff116e f2fs: fix to avoid potential memory corruption in __update_iostat_latency()
    cc4bc532acda ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed
    84253f3c2dad ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()
    c670b05127d3 ubi: fastmap: Fix missed fm_anchor PEB in wear-leveling after disabling fastmap
    7750be5d3e18 ubifs: ubifs_releasepage: Remove ubifs_assert(0) to valid this process
    824452d5e90f ubifs: ubifs_writepage: Mark page dirty after writing inode failed
    76c488e8a0e2 ubifs: dirty_cow_znode: Fix memleak in error handling path
    0b8beac8a3c5 ubifs: Re-statistic cleaned znode count if commit failed
    2ea7195b1950 ubi: Fix possible null-ptr-deref in ubi_free_volume()
    26ec45f1c504 ubifs: Fix memory leak in alloc_wbufs()
    27b760b81951 ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()
    b0c951742348 ubi: Fix use-after-free when volume resizing failed
    c17e1ae20f6b ubifs: Reserve one leb for each journal head while doing budget
    31282bc47fcd ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1
    b08071c68b58 ubifs: Fix wrong dirty space budget for dirty inode
    f8bd27b6252a ubifs: Rectify space budget for ubifs_xrename()
    f9e074845367 ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted
    1c5fdf2d4647 ubifs: Fix memory leak in ubifs_sysfs_init()
    7508453ede98 ubifs: Fix build errors as symbol undefined
    61aeba0e4b41 ubi: ensure that VID header offset + VID header size <= alloc, size
    c8583b4655aa um: vector: Fix memory leak in vector_config
    14e8bd4cfae3 f2fs: fix to abort atomic write only during do_exist()
    e11707d5f86f f2fs: allow set compression option of files without blocks
    05006a1521d8 fs: f2fs: initialize fsdata in pagecache_write()
    125f89809501 soc: mediatek: mtk-svs: Use pm_runtime_resume_and_get() in svs_init01()
    8fc4291f8de2 soc: mediatek: mtk-svs: reset svs when svs_resume() fail
    e05aa300fb69 soc: mediatek: mtk-svs: restore default voltages when svs_init02() fail
    0b65ff13f943 f2fs: clear atomic_write_task in f2fs_abort_atomic_write()
    4bc488c5ca0e f2fs: correct i_size change for atomic writes
    9ad51915f4b3 f2fs: introduce trace_f2fs_replace_atomic_write_block
    9a0af7cb1c0b pwm: stm32-lp: fix the check on arr and cmp registers update
    094ffaf50bb9 pwm: sifive: Always let the first pwm_apply_state succeed
    6b99ebd30d65 soc: mediatek: mtk-svs: Enable the IRQ later
    2c82bf3f1762 memory: renesas-rpc-if: Move resource acquisition to .probe()
    fbb7c9096342 memory: renesas-rpc-if: Split-off private data from struct rpcif
    e59c4d34f8ec soc: mediatek: mtk-pm-domains: Allow mt8186 ADSP default power on
    a8f63d747bf7 objtool: Fix memory leak in create_static_call_sections()
    4a229379a72e f2fs: fix to avoid potential deadlock
    14b3742f34b1 f2fs: don't rely on F2FS_MAP_* in f2fs_iomap_begin
    d35290addcba driver: soc: xilinx: fix memory leak in xlnx_add_cb_for_notify_event()
    1f4a325933f8 fs/jfs: fix shift exponent db_agl2size negative
    6cd37f8232f5 auxdisplay: hd44780: Fix potential memory leak in hd44780_remove()
    3abebc503a51 net/sched: Retire tcindex classifier
    11585e2f8b9d Linux 6.1.17
    deef2947d5f6 Revert "blk-cgroup: dropping parent refcount after pd_free_fn() is done"
    b5dae1cd0d83 Revert "blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deactivate_policy()"
    8a923980a190 Linux 6.1.16
    7c7570791b15 net: avoid double iput when sock_alloc_file fails
    5355a120e428 kbuild: Port silent mode detection to future gnu make.
    ff9571a4dee9 sbitmap: Try each queue to wake up at least one waiter
    d710b1e91bc0 wait: Return number of exclusive waiters awaken
    12815a7d8f82 sbitmap: Advance the queue index before waking up a queue
    7ebde70510a1 brd: use radix_tree_maybe_preload instead of radix_tree_preload
    48d46319bedc qede: avoid uninitialized entries in coal_entry array
    f0f427f3858f drm/edid: fix parsing of 3D modes from HDMI VSDB
    26cbe4c63d1e drm/edid: fix AVI infoframe aspect ratio handling
    832f861a4603 drm/gud: Fix UBSAN warning
    be11d0d9c4eb drm/i915: Don't use BAR mappings for ring buffers with LLC
    d805c28e11fc drm/i915: Don't use stolen memory for ring buffers with LLC
    8551ddbff0c3 drm/radeon: Fix eDP for single-display iMac11,2
    c63e43906ba6 drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
    749b249d1ba9 drm/amd: Fix initialization for nbio 7.5.1
    bf119a3c9c9f vfio/type1: restore locked_vm
    9f0fd4f8ec0c vfio/type1: track locked_vm per dma
    a6b2aabe6640 vfio/type1: prevent underflow of locked_vm via exec()
    e8c21b19c2d0 vfio/type1: exclude mdevs from VFIO_UPDATE_VADDR
    2bed9455db7c iommu/vt-d: Fix PASID directory pointer coherency
    fd045119e1ab iommu/vt-d: Avoid superfluous IOTLB tracking in lazy mode
    01836e56fdd2 bus: mhi: ep: Save channel state locally during suspend and resume
    69cc38576293 bus: mhi: ep: Move chan->lock to the start of processing queued ch ring
    353aea15d6ed bus: mhi: ep: Only send -ENOTCONN status if client driver is available
    189f856e76f5 PCI/DPC: Await readiness of secondary bus after reset
    358dbd575101 PCI: Avoid FLR for AMD FCH AHCI adapters
    6ea16c1e6853 PCI: hotplug: Allow marking devices as disconnected during bind/unbind
    24400824053f PCI: Unify delay handling for reset and resume
    ef56d0e0b779 PCI/PM: Observe reset delay irrespective of bridge_d3
    d7608b85661b MIPS: DTS: CI20: fix otg power gpio
    676465bf756b riscv: ftrace: Reduce the detour code size to half
    8d4084ccdfce riscv: ftrace: Remove wasted nops for !RISCV_ISA_C
    6e433ccb6844 riscv, mm: Perform BPF exhandler fixup on page fault
    49064b50704b riscv: jump_label: Fixup unaligned arch_static_branch function
    4c71ccae1d28 riscv: mm: fix regression due to update_mmu_cache change
    3e92e7fa24ac riscv: Avoid enabling interrupts in die()
    a1f8e6981488 RISC-V: add a spin_shadow_stack declaration
    82143faf01dd scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()
    414418abc19f scsi: ses: Fix possible desc_ptr out-of-bounds accesses
    27067c672980 scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses
    0dfe68394cbe scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()
    5ca5470b33e5 scsi: ses: Don't attach if enclosure has no components
    7fa1203a1e6f scsi: qla2xxx: Remove increment of interface err cnt
    d5da42d99c70 scsi: qla2xxx: Fix erroneous link down
    98ee35fb6ffe scsi: qla2xxx: Remove unintended flag clearing
    3ee4f1991c54 scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests
    494074747091 scsi: qla2xxx: Check if port is online before sending ELS
    54bf124b960d scsi: qla2xxx: Fix link failure in NPIV environment
    86bdf3ffff8d scsi: aacraid: Allocate cmd_priv with scsicmd
    be8301e2d5a8 iommu/amd: Improve page fault error reporting
    2ae19ac3ea82 iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
    4aa738940016 tracing/eprobe: Fix to add filter on eprobe description in README file
    b1e96ca73cf9 tools/bootconfig: fix single & used for logical condition
    9674390ac540 ring-buffer: Handle race between rb_move_tail and rb_check_pages
    313b18c77466 memory tier: release the new_memtier in find_create_memory_tier()
    e10a97f68480 ktest.pl: Add RUN_TIMEOUT option with default unlimited
    81dca9177d01 ktest.pl: Fix missing "end_monitor" when machine check fails
    a467e3e04de6 kprobes: Fix to handle forcibly unoptimized kprobes on freeing_list
    76c2ecaf570a ktest.pl: Give back console on Ctrt^C on monitor
    71946389a765 mm/thp: check and bail out if page in deferred queue already
    f65d6ee1d1c4 mm: memcontrol: deprecate charge moving
    58c02890a32c docs: gdbmacros: print newest record
    4509a11ec3bc remoteproc/mtk_scp: Move clk ops outside send_lock
    9b15b558cdb8 media: ipu3-cio2: Fix PM runtime usage_count in driver unbind
    e39c25b0c115 mips: fix syscall_get_nr
    6b60250d8a82 dax/kmem: Fix leak of memory-hotplug resources
    37d1b326c95c alpha: fix FEN fault handling
    deab8114fb67 mm/hwpoison: convert TTU_IGNORE_HWPOISON to TTU_HWPOISON
    e6737d97722a panic: fix the panic_print NMI backtrace setting
    c61df79a4ed4 regulator: core: Use ktime_get_boottime() to determine how long a regulator was off
    d15bc167c6a2 ceph: update the time stamps and try to drop the suid/sgid
    faa7b683e436 rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails
    bea92c2d45a5 fuse: add inode/permission checks to fileattr_get/fileattr_set
    5a66e59e1fd9 arm64: mm: hugetlb: Disable HUGETLB_PAGE_OPTIMIZE_VMEMMAP
    17a7cd7bdb68 ARM: dts: exynos: correct TMU phandle in Odroid HC1
    dcfb64e88941 ARM: dts: exynos: correct TMU phandle in Odroid XU
    7d633d11724f ARM: dts: exynos: correct TMU phandle in Exynos5250
    635d07cff6de ARM: dts: exynos: correct TMU phandle in Odroid XU3 family
    2b957333aaaf ARM: dts: exynos: correct TMU phandle in Exynos4
    3a5c8e52f32d ARM: dts: exynos: correct TMU phandle in Exynos4210
    f8187b3faf97 ARM: dts: qcom: sdx55: Add Qcom SMMU-500 as the fallback for IOMMU node
    75862e6fe659 ARM: dts: qcom: sdx65: Add Qcom SMMU-500 as the fallback for IOMMU node
    688ae6ce05be hwmon: (nct6775) Fix incorrect parenthesization in nct6775_write_fan_div()
    57c07e552e0d hwmon: (peci/cputemp) Fix off-by-one in coretemp_label allocation
    70a135c6d1e0 dm flakey: fix a bug with 32-bit highmem systems
    be360c83f2d8 dm flakey: don't corrupt the zero page
    673a3af21d5e dm cache: free background tracker's queued work in btracker_destroy
    ea603083f9d7 dm flakey: fix logic when corrupting a bio
    b57ba4e95250 thermal: intel: powerclamp: Fix cur_state for multi package system
    6f2bce88c134 qede: fix interrupt coalescing configuration
    6bfdc8194245 cpuidle: add ARCH_SUSPEND_POSSIBLE dependencies
    dd43f8f90206 wifi: cfg80211: Set SSID if it is not already set
    22dfb21bf1cd wifi: cfg80211: Fix use after free for wext
    b18188e87f1c wifi: ath11k: allow system suspend to survive ath11k
    3182ece59779 wifi: rtl8xxxu: Use a longer retry limit of 48
    19fcf5d50c5a wifi: rtw88: use RTW_FLAG_POWERON flag to prevent to power on/off twice
    2b3c953226cb dm: add cond_resched() to dm_wq_requeue_work()
    7f093695b49a dm: add cond_resched() to dm_wq_work()
    bc0734f689f8 dm: send just one event on resize, not two
    53b2916ebde7 mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type
    10aed92f7f6b mtd: spi-nor: spansion: Consider reserved bits in CFR5 register
    bd74e1e3dc77 mtd: spi-nor: sfdp: Fix index value for SCCR dwords
    a371788d4f4a cxl/pmem: Fix nvdimm registration races
    05cbf6ddd984 ext4: refuse to create ea block when umounted
    8b6d06b3be76 ext4: optimize ea_inode block expansion
    45b99c35f812 jbd2: fix data missing when reusing bh which is ready to be checkpointed
    2439ccfa5da2 ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC
    98606a002d71 ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()
    daa5a586e43a mm/damon/paddr: fix missing folio_put()
    dc3809f39035 crypto: qat - fix out-of-bounds read
    d2bea5788847 irqdomain: Fix domain registration race
    b89b0c737d1c irqdomain: Fix mapping-creation race
    1c89f39e754f irqdomain: Refactor __irq_domain_alloc_irqs()
    1b4aa065ea46 irqdomain: Drop bogus fwspec-mapping error handling
    b6655a4910a6 irqdomain: Look for existing mapping only once
    deb243ca052b irqdomain: Fix disassociation race
    33bf92b1d00a irqdomain: Fix association race
    82f3b18daef7 selftests: seccomp: Fix incorrect kernel headers search path
    5bed9f821f2a selftests: vm: Fix incorrect kernel headers search path
    0545d5d25c9e selftests: dmabuf-heaps: Fix incorrect kernel headers search path
    88c2276087e3 selftests: drivers: Fix incorrect kernel headers search path
    fe2ff9d2af85 selftests: futex: Fix incorrect kernel headers search path
    f3b63b7fae23 selftests: ipc: Fix incorrect kernel headers search path
    ce31cc0d43fc selftests: perf_events: Fix incorrect kernel headers search path
    f7007a7a7723 selftests: mount_setattr: Fix incorrect kernel headers search path
    238d9471a70c selftests: move_mount_set_group: Fix incorrect kernel headers search path
    33adb9b047be selftests: rseq: Fix incorrect kernel headers search path
    d804597155ec selftests: sync: Fix incorrect kernel headers search path
    5baeb2a2a247 selftests: ptp: Fix incorrect kernel headers search path
    cdc9cfaa0ba0 selftests: user_events: Fix incorrect kernel headers search path
    f12ec4e7a80c selftests: filesystems: Fix incorrect kernel headers search path
    38fe9e0cbd0f selftests: gpio: Fix incorrect kernel headers search path
    277ec3b556b3 selftests: media_tests: Fix incorrect kernel headers search path
    2b6933dd5707 selftests: kcmp: Fix incorrect kernel headers search path
    1af311d9104c selftests: membarrier: Fix incorrect kernel headers search path
    c1017c80fa82 selftests: pidfd: Fix incorrect kernel headers search path
    a9588d80b7b0 selftests: clone3: Fix incorrect kernel headers search path
    ef3d77238925 selftests: arm64: Fix incorrect kernel headers search path
    c490a85e7dac selftests: pid_namespace: Fix incorrect kernel headers search path
    168f19fffa65 selftests: core: Fix incorrect kernel headers search path
    3005b2695175 selftests: sched: Fix incorrect kernel headers search path
    db66ebfba234 selftests/ftrace: Fix eprobe syntax test case to check filter support
    991ec754899e selftests/powerpc: Fix incorrect kernel headers search path
    3b3016f874fc ima: Align ima_file_mmap() parameters with mmap_file LSM hook
    7327b30a0084 ima: fix error handling logic when file measurement failed
    1beb41094bbf brd: check for REQ_NOWAIT and set correct page allocation mask
    f832bd2ee4c4 brd: return 0/-error from brd_insert_page()
    95bb37e077db brd: mark as nowait compatible
    3adf063bac2f virt/sev-guest: Return -EIO if certificate buffer is not large enough
    38834acf5917 Documentation/hw-vuln: Document the interaction between IBRS and STIBP
    08d87c87d646 x86/speculation: Allow enabling STIBP with legacy IBRS
    d576547f489c x86/microcode/AMD: Fix mixed steppings support
    88d3d95e75f2 x86/microcode/AMD: Add a @cpu parameter to the reloading functions
    05749fd36631 x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter
    57d9df918745 x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe range
    1a3439f548e2 x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
    e9d033963606 x86/reboot: Disable SVM, not just VMX, when stopping CPUs
    4f555b03a02b x86/reboot: Disable virtualization in an emergency if SVM is supported
    77ace6654355 x86/crash: Disable virt in core NMI crash handler to avoid double shootdown
    c4765c973c1d x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)
    b261024d7ea8 selftests: x86: Fix incorrect kernel headers search path
    32f87ee52113 KVM: SVM: hyper-v: placate modpost section mismatch error
    a92d045f3706 KVM: SVM: Fix potential overflow in SEV's send|receive_update_data()
    d639b16492fa KVM: x86: Inject #GP on x2APIC WRMSR that sets reserved bits 63:32
    14f36160c7d1 KVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPI
    97b2c22ec819 KVM: SVM: Don't put/load AVIC when setting virtual APIC mode
    1ccd12324abd KVM: SVM: Process ICR on AVIC IPI delivery failure due to invalid target
    dbc2e9451559 KVM: SVM: Flush the "current" TLB when activating AVIC
    59038be57a4a KVM: x86: Don't inhibit APICv/AVIC if xAPIC ID mismatch is due to 32-bit ID
    b9e428136129 KVM: x86: Don't inhibit APICv/AVIC on xAPIC ID "change" if APIC is disabled
    084a6deb86ab KVM: x86: Blindly get current x2APIC reg value on "nodecode write" traps
    688e3a1bf3e4 KVM: x86: Purge "highest ISR" cache when updating APICv state
    59320074afa4 KVM: Register /dev/kvm as the _very_ last thing during initialization
    b2de2b4d4e00 KVM: VMX: Fix crash due to uninitialized current_vmcs
    ccf6a7fb1aed KVM: Destroy target device if coalesced MMIO unregistration fails
    5e2d29b58c2c RDMA/siw: Fix user page pinning accounting
    42991f51d283 md: don't update recovery_cp when curr_resync is ACTIVE
    12d461e224ef udf: Fix file corruption when appending just after end of preallocated extent
    1f328751b65c udf: Detect system inodes linked into directory hierarchy
    65f64fb9c2ab udf: Preserve link count of system files
    6837910aeb2c udf: Do not update file length for failed writes to inline files
    adac9ac6d2e0 udf: Do not bother merging very long extents
    0e7d8e2991e5 udf: Truncate added extents on failed expansion
    21477427ecb4 selftests/landlock: Test ptrace as much as possible with Yama
    6c51c0702815 selftests/landlock: Skip overlayfs tests when not supported
    fa7e18233f4f fs/cramfs/inode.c: initialize file_ra_state
    85cdc9d2c865 ocfs2: fix non-auto defrag path not working issue
    8163ea90d89b ocfs2: fix defrag path triggering jbd2 ASSERT
    83dbb9a1bd5e f2fs: fix kernel crash due to null io->bio
    de33f129253e f2fs: fix cgroup writeback accounting with fs-layer encryption
    85e128901583 f2fs: retry to update the inode page given data corruption
    f07a8d61b6ea f2fs: fix information leak in f2fs_move_inline_dirents()
    9f955165d8d7 fs: dlm: send FIN ack back in right cases
    e3df326f8cc2 fs: dlm: move sending fin message into state change handling
    83c8cb2ba0ad fs: dlm: don't set stop rx flag after node reset
    375009e22bd2 exfat: fix inode->i_blocks for non-512 byte sector size device
    0fb929e7553d exfat: redefine DIR_DELETED as the bad cluster number
    88384ae34a41 exfat: fix unexpected EOF while reading dir
    569a77e5b882 exfat: fix reporting fs error when reading dir beyond EOF
    0c80bef0b7d2 fs: hfsplus: fix UAF issue in hfsplus_put_super
    8140cdc57bc5 hfs: fix missing hfs_bnode_get() in __hfs_bnode_create
    55c9ddf6c656 io_uring: mark task TASK_RUNNING before handling resume/task work
    f2e0fd28328f ARM: dts: exynos: correct HDMI phy compatible in Exynos4
    77837a24bc54 torture: Fix hang during kthread shutdown phase
    6bf555ed8938 ksmbd: fix possible memory leak in smb2_lock()
    df6c263a31a4 ksmbd: do not allow the actual frame length to be smaller than the rfc1002 length
    2254e82d2018 ksmbd: fix wrong data area length for smb2 lock request
    35ab0cadbcc2 locking/rwsem: Prevent non-first waiter from spinning in down_write() slowpath
    9b59fb27d4c5 btrfs: hold block group refcount during async discard
    155ca832cfa3 scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
    8ba997b22f2c scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
    4e0dfdb48a82 scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
    f5a6d69857eb cifs: return a single-use cfid if we did not get a lease
    c992b699b9cb cifs: Check the lease context if we actually got a lease
    f1d84943289e cifs: don't try to use rdma offload on encrypted connections
    edf38e9f4269 cifs: split out smb3_use_rdma_offload() helper
    363d67103f20 cifs: introduce cifs_io_parms in smb2_async_writev()
    e49a6d569d7c cifs: fix mount on old smb servers
    8db5028479f8 cifs: Fix uninitialized memory reads for oparms.mode
    ab7a12c0efc1 cifs: Fix uninitialized memory read in smb3_qfs_tcon()
    12bda36df57b KVM: s390: disable migration mode when dirty tracking is disabled
    f9a38f5ecf90 s390/kprobes: fix current_kprobe never cleared after kprobes reenter
    70afa77327e0 s390/kprobes: fix irq mask clobbering on kprobe reenter from post_handler
    a829c5f7c3c6 s390: discard .interp section
    24e2c6cfe82e s390/extmem: return correct segment type in __segment_load()
    75a499fc9d66 io_uring: fix fget leak when fs don't support nowait buffered read
    bfdd27a1eb8e io_uring: remove MSG_NOSIGNAL from recvmsg
    68f703ad0355 io_uring/rsrc: disallow multi-source reg buffers
    d9399e543062 io_uring: add reschedule point to handle_tw_list()
    42fe280e267a io_uring: add a conditional reschedule to the IOPOLL cancelation loop
    4c13c6a080ec io_uring: handle TIF_NOTIFY_RESUME when checking for task_work
    c981a035dff0 io_uring: use user visible tail in io_uring_poll()
    f09fb7ff2ab2 io_uring: Replace 0-length array with flexible array
    fe0d40baa4ed ipmi_ssif: Rename idle state and check
    605f607f0735 ipmi:ssif: resend_msg() cannot fail
    0ad52040d1a9 ipmi: ipmb: Fix the MODULE_PARM_DESC associated to 'retry_time_ms'
    9bb9941a9ce4 rtc: pm8xxx: fix set-alarm race
    1af0bdca03f3 block: be a bit more careful in checking for NULL bdev while polling
    398d8745262d block: clear bio->bi_bdev when putting a bio back in the cache
    1796bc1e4499 block: don't allow multiple bios for IOCB_NOWAIT issue
    0407aeed3501 firmware: coreboot: framebuffer: Ignore reserved pixel color bits
    4ed8dca3d583 scsi: mpt3sas: Remove usage of dma_get_required_mask() API
    0d4967202d69 wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu
    11d93294b7c3 driver core: fw_devlink: Avoid spurious error message
    29bc917b68a6 drm/shmem-helper: Revert accidental non-GPL export
    cb26818c8b0d cifs: prevent data race in smb2_reconnect()
    07db1151e015 nfsd: don't hand out delegation on setuid files being opened for write
    c085476ad346 nfsd: zero out pointers after putting nfsd_files on COPY setup error
    3033f2e3cf84 dm cache: add cond_resched() to various workqueue loops
    e2c4490d4031 dm thin: add cond_resched() to various workqueue loops
    bea13417361a drm/amd/display: Disable HUBP/DPP PG on DCN314 for now
    2435156aa768 drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
    42bbbd6594f7 drm/amd/display: Enable P-state validation checks for DCN314
    337c3624bcb0 HID: logitech-hidpp: Don't restart communication if not necessary
    cf4549343270 scsi: ufs: core: Fix device management cmd timeout flow
    3dec769caf33 scsi: snic: Fix memory leak with using debugfs_lookup()
    d919f493bb7d drm/amd/display: Do not commit pipe when updating DRR
    8e8cff444ec2 pinctrl: at91: use devm_kasprintf() to avoid potential leaks
    388bcec9aa91 hwmon: (nct6775) B650/B660/X670 ASUS boards support
    49f865f3d7e5 hwmon: (nct6775) Directly call ASUS ACPI WMI method
    8fcdbc4bc013 hwmon: (coretemp) Simplify platform device handling
    c2191e507147 gfs2: Improve gfs2_make_fs_rw error handling
    4bdfa48d7464 drm/amd/display: fix FCLK pstate change underflow
    804bdc5fe05d Revert "drm/amdgpu: TA unload messages are not actually sent to psp when amdgpu is uninstalled"
    6f5f8d677c7f regulator: s5m8767: Bounds check id indexing into arrays
    5e210046e3bd regulator: max77802: Bounds check regulator id against opmode
    734350a83b14 ASoC: kirkwood: Iterate over array indexes instead of using pointer math
    9a9942cbdb7c ASoC: soc-compress: Reposition and add pcm_mutex
    9def1adcd667 drm/msm/dpu: Add DSC hardware blocks to register snapshot
    d39202b201d0 docs/scripts/gdb: add necessary make scripts_gdb step
    fa4c8baa6bf0 habanalabs: fix bug in timestamps registration code
    60be72808501 habanalabs: extend fatal messages to contain PCI info
    8f720a79bc66 drm/amd/display: Set hvm_enabled flag for S/G mode
    214cdbe17923 drm/drm_print: correct format problem
    d50cd50f612a drm: rcar-du: Fix setting a reserved bit in DPLLCR
    afc9da1352cd drm: rcar-du: Add quirk for H3 ES1.x pclk workaround
    25a6499b1a53 drm/msm/dsi: Add missing check for alloc_ordered_workqueue
    2ee8ec2c12cb HID: uclogic: Add support for XP-PEN Deco Pro MW
    26ac66039aa7 HID: uclogic: Add support for XP-PEN Deco Pro SW
    f415a64eabad HID: uclogic: Add battery quirk
    ac3d719de1d9 HID: uclogic: Add frame type quirk
    8ce8a443ddd9 drm/amd/display: fix mapping to non-allocated address
    83ace0dd67ee drm: amd: display: Fix memory leakage
    a0f406db3ede drm/amd: Avoid ASSERT for some message failures
    17d649967006 Revert "fbcon: don't lose the console font across generic->chip driver switch"
    8dfefa8f424a scsi: lpfc: Fix use-after-free KFENCE violation during sysfs firmware write
    82a6debd4e4b drm/amdkfd: Page aligned memory reserve size
    12003ad0f35c drm/amd: Avoid BUG() for case of SRIOV missing IP version
    107b8b542bb9 drm/radeon: free iio for atombios when driver shutdown
    efb332a2037b drm/amd/display: Defer DIG FIFO disable after VID stream enable
    dbe9140ed6bf drm/tiny: ili9486: Do not assume 8-bit only SPI controllers
    b1c760073925 HID: Add Mapping for System Microphone Mute
    457a969bc6f3 drm/omap: dsi: Fix excessive stack usage
    8e365f1bd672 drm/amd/display: Fix potential null-deref in dm_resume
    223e365ac60a drm/amd/display: Revert Reduce delay when sink device not able to ACK 00340h write
    8e25eaae471d drm/amd/display: Reduce expected sdp bandwidth for dcn321
    d5b286daecb4 drm: panel-orientation-quirks: Add quirk for DynaBook K50
    260bdc633d5e drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Tab 3 X90F
    fa66c02e4c11 scm: add user copy checks to put_cmsg()
    eb726a791087 devlink: Fix TP_STRUCT_entry in trace of devlink health report
    3c106b7eb1b6 s390/kfence: fix page fault reporting
    c91cca8e39d4 hv_netvsc: Check status in SEND_RNDIS_PKT completion message
    20a89a4442d1 wifi: rtw89: debug: avoid invalid access on RTW89_DBG_SEL_MAC_30
    7dbb8ceea188 Bluetooth: btusb: Add VID:PID 13d3:3529 for Realtek RTL8821CE
    8917270ace46 Bluetooth: btusb: Add new PID/VID 0489:e0f2 for MT7921
    25ea81801072 Bluetooth: Fix issue with Actions Semi ATS2851 based devices
    5100c4efc306 PM: EM: fix memory leak with using debugfs_lookup()
    cde67cb7d2d1 PM: domains: fix memory leak with using debugfs_lookup()
    15cffd01ed80 time/debug: Fix memory leak with using debugfs_lookup()
    611c39021710 s390/idle: mark arch_cpu_idle() noinstr
    ab28522da564 uaccess: Add minimum bounds check on kernel buffer size
    7d10fc49d8fa coda: Avoid partial allocation of sig_inputArgs
    b79c51d0c085 net/mlx5: fw_tracer: Fix debug print
    f4c1138d37c3 ACPI: video: Fix Lenovo Ideapad Z570 DMI match
    c09feaa46a51 wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
    331918f22a1d tools/power/x86/intel-speed-select: Add Emerald Rapid quirk
    ad04399765e3 gcc-plugins: drop -std=gnu++11 to fix GCC 13 build
    9427584c2f15 can: isotp: check CAN address family in isotp_bind()
    3b26e45ce1e1 netfilter: nf_tables: NULL pointer dereference in nf_tables_updobj()
    531570a18761 s390/mm,ptdump: avoid Kasan vs Memcpy Real markers swapping
    ab5fd43a8abc m68k: Check syscall_trace_enter() return code
    5f56767fb5f2 net: bcmgenet: Add a check for oversized packets
    94b28dc12f40 crypto: hisilicon: Wipe entire pool on error
    856dbac0a82e clocksource: Suspend the watchdog temporarily when high read latency detected
    e52bddc469d9 thermal: intel: intel_pch: Add support for Wellsburg PCH
    7e4edf9ab030 bpf, docs: Fix modulo zero, division by zero, overflow, and underflow
    05841af18d4b ACPI: Don't build ACPICA with '-Os'
    2aa469e6cd10 ice: add missing checks for PF vsi type
    f0cf125056ac ice: restrict PTP HW clock freq adjustments to 100, 000, 000 PPB
    6965c92ef421 inet: fix fast path in __inet_hash_connect()
    61d0163e2be7 wifi: mt7601u: fix an integer underflow
    ecb980dc7970 wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds
    d29e44273980 bpftool: Always disable stack protection for BPF objects
    2135dd1be685 x86/bugs: Reset speculation control settings on init
    3a43a366ecaa timers: Prevent union confusion from unexpected restart_syscall()
    c115d466bed2 thermal: intel: Fix unsigned comparison with less than zero
    982a936329d2 wifi: ath11k: debugfs: fix to work with multiple PCI devices
    5a2153b83c8e rcu-tasks: Handle queue-shrink/callback-enqueue race condition
    94ed8ac1bb1a rcu-tasks: Make rude RCU-Tasks work well with CPU hotplug
    2c4d26dad76e srcu: Delegate work to the boot cpu if using SRCU_SIZE_SMALL
    05737bd85c10 rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()
    4a501b4ef881 rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks
    881f50d76c38 wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()
    d6ea1ca1d456 wifi: ath11k: fix monitor mode bringup crash
    1f137c634a8c wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()
    8ea364aba332 perf/x86/intel/uncore: Add Meteor Lake support
    b78434f6eee0 cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUG
    463ef209628e cpuidle: drivers: firmware: psci: Dont instrument suspend code
    909eb5116ee5 x86/fpu: Don't set TIF_NEED_FPU_LOAD for PF_IO_WORKER threads
    a3a54e6a021c cpuidle, intel_idle: Fix CPUIDLE_FLAG_INIT_XSTATE
    cc5541f8cca3 arm64: zynqmp: Enable hs termination flag for USB dwc3 controller
    063c7d86ee89 btrfs: scrub: improve tree block error reporting
    3036f5f5ae52 trace/blktrace: fix memory leak with using debugfs_lookup()
    81c1188905f8 blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deactivate_policy()
    029f1f1efa84 blk-cgroup: dropping parent refcount after pd_free_fn() is done
    bf8eb1fd6110 blk-iocost: fix divide by 0 error in calc_lcoefs()
    377f7d85bd27 fs: Use CHECK_DATA_CORRUPTION() when kernel bugs are detected
    f2a6198f5ed7 ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy
    711bd1b55329 exit: Detect and fix irq disabled state in oops
    982f8ef8ec7e context_tracking: Fix noinstr vs KASAN
    0f688febd5d2 udf: Define EFSCORRUPTED error code
    938b99be5219 arm64: dts: qcom: msm8996: Add additional A2NoC clocks
    1d9452ae3bdb ARM: OMAP2+: omap4-common: Fix refcount leak bug
    4a46f52ae8f0 rpmsg: glink: Release driver_override
    09699f0e5b69 rpmsg: glink: Avoid infinite loop on intent for missing channel
    5df521e0b2cb media: saa7134: Use video_unregister_device for radio_dev
    479796534a45 media: usb: siano: Fix use after free bugs caused by do_submit_urb
    69a9a301a5d8 media: i2c: ov7670: 0 instead of -EINVAL was returned
    5259b92dc466 media: atomisp: Only set default_run_mode on first open of a stream/asd
    029c1410e345 media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()
    ece8818968a8 media: drivers/media/v4l2-core/v4l2-h264 : add detection of null pointers
    80f98dc3ebf1 media: amphion: correct the unspecified color space
    e66571729a5f media: imx-jpeg: Apply clk_bulk api instead of operating specific clk
    756901c49ee8 media: hantro: Fix JPEG encoder ENUM_FRMSIZE on RK3399
    3fca02c42689 media: v4l2-jpeg: ignore the unknown APP14 marker
    1cfbe44e0c7d media: v4l2-jpeg: correct the skip count in jpeg_parse_app14_data
    972bd67c2c7b media: platform: mtk-mdp3: fix Kconfig dependencies
    689bd2b43d46 media: platform: mtk-mdp3: remove unused VIDEO_MEDIATEK_VPU config
    ebec3d44b874 media: camss: csiphy-3ph: avoid undefined behavior
    e68b43980a90 media: platform: mtk-mdp3: Fix return value check in mdp_probe()
    9ffaf55e126c media: i2c: imx219: Fix binning for RAW8 capture
    248fdc5dd225 media: i2c: imx219: Split common registers from mode tables
    ac93f8ac66e6 media: i2c: ov772x: Fix memleak in ov772x_probe()
    f5a4e595bce5 media: mc: Get media_device directly from pad
    a40d94f0b314 media: ov5640: Handle delays when no reset_gpio set
    8064bbb75481 media: ov5640: Fix soft reset sequence and timings
    49b849824b98 media: ov5675: Fix memleak in ov5675_init_controls()
    fc33380ae06f media: ov2740: Fix memleak in ov2740_init_controls()
    724039e013b3 media: max9286: Fix memleak in max9286_v4l2_register()
    9753f5ce9ce7 builddeb: clean generated package content
    8570655c0f9b s390/vdso: Drop '-shared' from KBUILD_CFLAGS_64
    8630e8b10250 powerpc: Remove linker flag from KBUILD_AFLAGS
    4bc6977fb45c media: imx: imx7-media-csi: fix missing clk_disable_unprepare() in imx7_csi_init()
    bc8681485312 media: platform: ti: Add missing check for devm_regulator_get
    8a316112fd97 media: ti: cal: fix possible memory leak in cal_ctx_create()
    dc5887dcc538 remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
    0e27e6598201 Revert "remoteproc: qcom_q6v5_mss: map/unmap metadata region before/after use"
    eeaf35f4e3b3 IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors
    db5f82e3a78b IB/hfi1: Fix math bugs in hfi1_can_pin_pages()
    b7967f175e79 RDMA/rxe: Fix missing memory barriers in rxe_queue.h
    0f2a0ebb89a7 RDMA/rxe: cleanup some error handling in rxe_verbs.c
    f56c87aee1f8 iommu/vt-d: Allow to use flush-queue when first level is default
    2d93a340ae31 iommu/vt-d: Fix error handling in sva enable/disable paths
    8ae211370261 dmaengine: ptdma: check for null desc before calling pt_cmd_callback
    c387ee97aebe dmaengine: dw-axi-dmac: Do not dereference NULL structure
    03fece43fa10 dmaengine: sf-pdma: pdma_desc memory leak fix
    1bfe5bce1baa iommu/amd: Do not identity map v2 capable device when snp is enabled
    4c23124b45ee iommu: Fix error unwind in iommu_group_alloc()
    24278dc380aa iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()
    f139c15c6cc6 PCI: qcom: Fix host-init error handling
    fe5955b11f6e phy: rockchip-typec: fix tcphy_get_mode error case
    fe6a1fbe83f5 PCI: Fix dropping valid root bus resources with .end = zero
    6bce9ec9e0fa dmaengine: dw-edma: Fix readq_ch() return value truncation
    9f53d9d8bc81 usb: host: fsl-mph-dr-of: reuse device_set_of_node_from_dev
    775f970ec978 mtd: mtdpart: Don't create platform device that'll never probe
    3dd596616d10 driver core: fw_devlink: Make cycle detection more robust
    a3c171751512 driver core: fw_devlink: Improve check for fwnode with no device/driver
    7a8ce4d2fbbc driver core: fw_devlink: Consolidate device link flag computation
    16aa2487cf15 driver core: fw_devlink: Allow marking a fwnode link as being part of a cycle
    eaf9b5612a47 driver core: fw_devlink: Don't purge child fwnode's consumer links
    2455b81afe68 driver core: fw_devlink: Add DL_FLAG_CYCLE support to device links
    9795ece3a85b tty: serial: imx: disable Ageing Timer interrupt request irq
    efe4bd88ab2c tty: serial: imx: Handle RS485 DE signal active high
    a65192fc80a6 serial: fsl_lpuart: fix RS485 RTS polariy inverse issue
    b3bd44bf20cb RDMA/irdma: Cap MSIX used to online CPUs + 1
    59b040cf3339 usb: max-3421: Fix setting of I/O pins
    2cfc00e974d7 RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish()
    bc6405bca868 power: supply: remove faulty cooling logic
    c1abca193874 iommu/vt-d: Set No Execute Enable bit in PASID table entry
    bbbeb5414a9c iommu/dart: Fix apple_dart_device_group for PCI groups
    78b291ba2906 iommu: dart: Support >64 stream IDs
    1ad8b31653e2 iommu: dart: Add suspend/resume support
    c7bd4bfd4b8e PCI: mt7621: Delay phy ports initialization
    26bd2b5b18e1 phy: mediatek: remove temporary variable @mask_
    dca51010f772 usb: gadget: configfs: Restrict symlink creation is UDC already binded
    8c2059513e54 usb: musb: mediatek: don't unregister something that wasn't registered
    a661cccff059 RDMA/cxgb4: add null-ptr-check after ip_dev_find()
    fe9dd008b186 tty: serial: fsl_lpuart: Fix the wrong RXWATER setting for rx dma case
    351c8d8650d1 usb: early: xhci-dbc: Fix a potential out-of-bound memory access
    c169890b5f7b fpga: microchip-spi: rewrite status polling in a time measurable way
    e9ed12b8c7f7 fpga: microchip-spi: move SPI I/O buffers out of stack
    d937ab794b8d dmaengine: dw-edma: Fix missing src/dst address of interleaved xfers
    bdefbe1b0fd5 fotg210-udc: Add missing completion handler
    e851996b3226 firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle
    29274780dda0 drivers: base: transport_class: fix resource leak when transport_add_device() fails
    e77745640f8f drivers: base: transport_class: fix possible memory leak
    8fe72b8f59f6 driver core: location: Free struct acpi_pld_info *pld before return false
    d1dbff10c6cd driver core: fix resource leak in device_add()
    a68a09cc4b0f misc: fastrpc: Fix an error handling path in fastrpc_rpmsg_probe()
    942c1239ff2e misc/mei/hdcp: Use correct macros to initialize uuid_le
    023bf26fde38 mei: pxp: Use correct macros to initialize uuid_le
    055891397f53 VMCI: check context->notify_page after call to get_user_pages_fast() to avoid GPF
    77968ae69d4f firmware: stratix10-svc: fix error handle while alloc/add device failed
    6fcedeadb3ef firmware: stratix10-svc: add missing gen_pool_destroy() in stratix10_svc_drv_probe()
    959dd00ed4d8 applicom: Fix PCI device refcount leak in applicom_init()
    23b534e82dbd eeprom: idt_89hpesx: Fix error handling in idt_init()
    1b00494c8f92 Revert "char: pcmcia: cm4000_cs: Replace mdelay with usleep_range in set_protocol"
    d9b85a205d95 serial: tegra: Add missing clk_disable_unprepare() in tegra_uart_hw_init()
    64096d3b8d11 tty: serial: fsl_lpuart: clear LPUART Status Register in lpuart32_shutdown()
    dc8ca4fb36af tty: serial: fsl_lpuart: disable Rx/Tx DMA in lpuart32_shutdown()
    7f8d2f78ae62 hwtracing: hisi_ptt: Only add the supported devices to the filters list
    6bb43ee46310 PCI: endpoint: pci-epf-vntb: Add epf_ntb_mw_bar_clear() num_mws kernel-doc
    16c06d34e27c PCI: endpoint: pci-epf-vntb: Clean up kernel_doc warning
    86c1988d2695 PCI: switchtec: Return -EFAULT for copy_to_user() errors
    41e9ad787fab PCI/IOV: Enlarge virtfn sysfs name buffer
    c13e1a90fbf5 usb: typec: intel_pmc_mux: Don't leak the ACPI device reference count
    1a31f1c5062d coresight: cti: Add PM runtime call in enable_store
    431d8b2d1457 coresight: cti: Prevent negative values of enable count
    b0081745f6e6 coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR
    5029464da930 media: uvcvideo: Refactor power_line_frequency_controls_limited
    54858223a925 media: uvcvideo: Refactor uvc_ctrl_mappings_uvcXX
    367703c3ec4f media: uvcvideo: Implement mask for V4L2_CTRL_TYPE_MENU
    aeab0c3644d3 media: uvcvideo: Check for INACTIVE in uvc_ctrl_is_accessible()
    9b1f0df64946 alpha/boot/tools/objstrip: fix the check for ELF header
    fe4dd80d58ec kobject: Fix slab-out-of-bounds in fill_kobj_path()
    f3ffd86915ed kobject: modify kobject_get_path() to take a const *
    7cf515bf9e8c driver core: fix potential null-ptr-deref in device_add()
    65e07272b6c0 soundwire: cadence: Don't overflow the command FIFOs
    bb2b4edaff38 i2c: designware: fix i2c_dw_clk_rate() return size to be u32
    061609b555d4 usb: gadget: fusb300_udc: free irq on the error path in fusb300_probe()
    4f3dea31bfa1 iio: light: tsl2563: Do not hardcode interrupt trigger type
    fa87cf2e756e RDMA/hns: Fix refcount leak in hns_roce_mmap
    59d54a65151d dmaengine: HISI_DMA should depend on ARCH_HISI
    8372207b009d RDMA/erdma: Fix refcount leak in erdma_mmap
    bd93358f11d8 dmaengine: idxd: Set traffic class values in GRPCFG on DSA 2.0
    9cca3a4933ca mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()
    bcb57fd95534 mfd: cs5535: Don't build on UML
    a52a2817d2aa objtool: add UACCESS exceptions for __tsan_volatile_read/write
    2267c88f0499 perf tests stat_all_metrics: Change true workload to sleep workload for system wide check
    adb2cfd3f2f4 printf: fix errname.c list
    17f9131ef7c3 perf record: Fix segfault with --overwrite and --max-size
    718eaef01e5a selftests: use printf instead of echo -ne
    947de2882d42 selftests/ftrace: Fix bash specific "==" operator
    96acb09a34ac selftests: find echo binary to use -ne options
    13b56886c165 sparc: allow PM configs for sparc32 COMPILE_TEST
    25fc1a80010b perf tools: Fix auto-complete on aarch64
    cf21aaac3b0e perf test bpf: Skip test if kernel-debuginfo is not present
    c795162b15ff perf intel-pt: Do not try to queue auxtrace data on pipe
    67f1f53cfc97 perf inject: Use perf_data__read() for auxtrace
    f86d50bf1969 tools/tracing/rtla: osnoise_hist: use total duration for average calculation
    0cd7777c7476 leds: simatic-ipc-leds-gpio: Make sure we have the GPIO providing driver
    d5a8fe4c3ff3 leds: is31fl319x: Wrap mutex_destroy() for devm_add_action_or_rest()
    d880981b8222 leds: led-core: Fix refcount leak in of_led_get()
    062547cbcd05 perf llvm: Fix inadvertent file creation
    4750fc5f50bb gfs2: jdata writepage fix
    212c79117f8c cifs: use tcon allocation functions even for dummy tcon
    41832c62a75d cifs: Fix warning and UAF when destroy the MR list
    c51ae01104b3 cifs: Fix lost destroy smbd connection when MR allocate failed
    349eb7df6607 NFSD: copy the whole verifier in nfsd_copy_write_verifier
    6851b4203e76 nfsd: don't fsync nfsd_files on last close
    521b6116151b nfsd: fix courtesy client with deny mode handling in nfs4_upgrade_open
    598e2d5d911d NFSD: fix problems with cleanup on errors in nfsd4_copy
    75b8c681c563 nfsd: clean up potential nfsd_file refcount leaks in COPY codepath
    17f2a1a3cdea nfsd: fix race to check ls_layouts
    9f0df37520a2 NFSD: fix leaked reference count of nfsd4_ssc_umount_item
    c8b346b79a70 NFSD: enhance inter-server copy cleanup
    659d4c4ca537 drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()
    7c3a7f3aa134 ALSA: hda/hdmi: Register with vga_switcheroo on Dual GPU Macbooks
    ac55ee431c03 hid: bigben_probe(): validate report count
    f2bf592ebd50 HID: bigben: use spinlock to safely schedule workers
    cc0f24739d90 HID: bigben_worker() remove unneeded check on report_field
    d829fae53dae HID: bigben: use spinlock to protect concurrent accesses
    1c3609ee824e ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
    d217a3b66bf2 spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()
    f859788868c4 NFS: fix disabling of swap
    087245878d51 nfs4trace: fix state manager flag printing
    5b8cd07aba15 dm: remove flush_scheduled_work() during local_exit()
    0924b13f218e ASoC: tlv320adcx140: fix 'ti,gpio-config' DT property init
    007374a1b4fb hwmon: (mlxreg-fan) Return zero speed for broken fan
    e4aac4fb1dfe spi: bcm63xx-hsspi: Fix multi-bit mode setting
    3e2e193d5d8a HID: logitech-hidpp: Hard-code HID++ 1.0 fast scroll support
    062024bf77e9 drm/amd/display: don't call dc_interrupt_set() for disabled crtcs
    7839422bed58 ASoC: codecs: lpass: fix incorrect mclk rate
    7b642273438c ASoC: codecs: lpass: register mclk after runtime pm
    adcc7c98ce4c ASoC: qcom: q6apm-dai: Add SNDRV_PCM_INFO_BATCH flag
    cd57b2898a81 ASoC: qcom: q6apm-dai: fix race condition while updating the position pointer
    91b7ce0cfff7 ASoC: qcom: q6apm-lpass-dai: unprepare stream if its already prepared
    c95f4de66352 HID: retain initial quirks set up when creating HID devices
    f380b1060ab0 HID: multitouch: Add quirks for flipped axes
    be2876e01ad6 scsi: aic94xx: Add missing check for dma_map_single()
    847cdbdcd5a2 scsi: mpt3sas: Fix a memory leak
    099bd0a7b363 drm/amdgpu: fix enum odm_combine_mode mismatch
    f716ca292a7d ALSA: hda: Fix the control element identification for multiple codecs
    355d109fb6b7 hwmon: (ltc2945) Handle error case in ltc2945_value_store
    c710243ed668 hwmon: (asus-ec-sensors) add missing mutex path
    7b56f11cde26 regulator: tps65219: use generic set_bypass()
    265fdccd77d4 ASoC: dt-bindings: meson: fix gx-card codec node regex
    9eecb446fab0 ASoC: mchp-spdifrx: Fix uninitialized use of mr in mchp_spdifrx_hw_params()
    c3acfb79bde7 ASoC: rsnd: fixup #endif position
    93bc34805393 regmap: apply reg_base and reg_downshift for single register ops
    8a722ac86b7e dm: improve shrinker debug names
    53b7166927b0 ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove()
    bbded1ed4c44 ASoC: mchp-spdifrx: fix controls that works with completion mechanism
    9e72142dcc06 ASoC: mchp-spdifrx: fix return value in case completion times out
    2967cc9cf38f ASoC: mchp-spdifrx: fix controls which rely on rsr register
    4eeeccf07dd9 spi: dw_bt1: fix MUX_MMIO dependencies
    eee97569465a ASoC: topology: Properly access value coming from topology file
    1f874b9cd790 gpio: vf610: connect GPIO label to dev name
    9a576e668411 dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr
    5ee1bce74c5f ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()
    7b551a501fa7 drm/mediatek: Clean dangling pointer on bind error path
    67ea657c7891 drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc
    c21de3b3bcd1 drm/mediatek: Drop unbalanced obj unref
    407f40df3b60 drm/mediatek: Use NULL instead of 0 for NULL pointer
    6a46566628b1 drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmd
    dd5e3d8300e2 drm/msm/dpu: set pdpu->is_rt_pipe early in dpu_plane_sspp_atomic_update()
    a52c45560053 pinctrl: renesas: rzg2l: Fix configuring the GPIO pins as interrupts
    fbb286284da7 drm/tegra: firewall: Check for is_addr_reg existence in IMM check
    7009b78bb995 gpu: host1x: Don't skip assigning syncpoints to channels
    0906026ac285 gpu: host1x: Fix mask for syncpoint increment register
    b15b3e9499cb pinctrl: mediatek: Initialize variable *buf to zero
    fa592fa1eeee pinctrl: mediatek: Initialize variable pullen and pullup to zero
    6f16121d2205 pinctrl: bcm2835: Remove of_node_put() in bcm2835_of_gpio_ranges_fallback()
    deb9379af500 habanalabs: bugs fixes in timestamps buff alloc
    bc579a2ee8b2 drm/msm/mdp5: Add check for kzalloc
    dd49cef313e6 drm/msm/dpu: Add check for pstates
    42442d42c57b drm/msm/dpu: Add check for cstate
    17f092f4c03a drm/msm: use strscpy instead of strncpy
    2ef3ea75c4be drm/msm/dpu: sc7180: add missing WB2 clock control
    473cc5169994 scsi: ufs: exynos: Fix DMA alignment for PAGE_SIZE != 4096
    243a79c3dfd9 drm/msm/dsi: Allow 2 CTRLs on v2.5.0
    af28abee67ac drm: exynos: dsi: Fix MIPI_DSI*_NO_* mode flags
    a64eb25a2919 drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness
    533d94954412 regulator: tps65219: use IS_ERR() to detect an error pointer
    72e330373241 drm/bridge: lt9611: pass a pointer to the of node
    30ef50ccdab3 drm/bridge: lt9611: fix clock calculation
    59646dabe92d drm/bridge: lt9611: fix programming of video modes
    01c42582facf drm/bridge: lt9611: fix polarity programming
    d15f67aed9c5 drm/bridge: lt9611: fix HPD reenablement
    74131c671fe5 drm/bridge: lt9611: fix sleep mode setup
    9e1e236acdc4 drm/msm/dpu: Disallow unallocated resources to be returned
    31c4251a20fd drm/msm/gem: Add check for kmalloc
    208680ccf7bf drm/amdgpu: Use the sched from entity for amdgpu_cs trace
    a8fa33759563 ALSA: hda/ca0132: minor fix for allocation size
    7af606b9eb11 drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()
    462a8af60ff4 drm/bridge: tc358767: Set default CLRSIPO count
    94589fc6df3e ASoC: fsl_sai: initialize is_dsp_mode flag
    7fe652f0f53e scsi: qla2xxx: edif: Fix clang warning
    6626b7494a01 scsi: qla2xxx: Fix exchange oversubscription for management commands
    3d5376ae518b scsi: qla2xxx: Fix exchange oversubscription
    ee8d6231ad07 drm/panel-edp: fix name for IVO product id 854b
    c83d0321d89c drm/msm: clean event_thread->worker in case of an error
    15e78c7f2ddd drm/vc4: hdmi: Correct interlaced timings again
    a9cce4831017 drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5
    cc6b67e90717 drm/vc4: hvs: Correct interrupt masking bit assignment for HVS5
    22134a4f02d2 drm/vc4: hvs: SCALER_DISPBKGND_AUTOHS is only valid on HVS4
    d4bbf52e299d drm/vc4: hvs: Set AXI panic modes
    dbef00ef4b9b pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups
    601be03fa8b8 pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
    1d0190c62850 pinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins
    e55f93d67431 drm/msm/hdmi: Add missing check for alloc_ordered_workqueue
    3723c4dbcd14 drm/msm/dpu: check for null return of devm_kzalloc() in dpu_writeback_init()
    9aba03fb5146 hwmon: (ftsteutates) Fix scaling of measurements
    41286a53e7f5 drm/vc4: drop all currently held locks if deadlock happens
    1a6e6d4996c7 gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()
    df29e4edee96 drm: tidss: Fix pixel format definition
    29e9bb28ca0b drm/vc4: dpi: Fix format mapping for RGB565
    596f1ba3987e drm/vkms: Fix null-ptr-deref in vkms_release()
    bebd60ec3bf2 drm/vkms: Fix memory leak in vkms_init()
    d446af74046e drm/bridge: megachips: Fix error handling in i2c_register_driver()
    50b43490b028 drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC
    1e9d46c765cb drm: mxsfb: DRM_IMX_LCDIF should depend on ARCH_MXC
    c9ab539bf930 drm/bridge: ti-sn65dsi83: Fix delay after reset deassert to match spec
    0de7fc4d9c01 drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats
    b14147464251 drm: Fix potential null-ptr-deref due to drmm_mode_config_init()
    92e832252ec4 sefltests: netdevsim: wait for devlink instance after netns removal
    672039408784 selftest: fib_tests: Always cleanup before exit
    2edd8c192fd2 net/mlx4_en: Introduce flexible array to silence overflow warning
    209a8a5d57f9 net: lan966x: Fix possible deadlock inside PTP
    2e0b1754dd82 net: bcmgenet: fix MoCA LED control
    4bb736b40475 l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()
    5982e3f4886e selftests/net: Interpret UDP_GRO cmsg data as an int value
    13457741d4ae net/smc: fix application data exception
    f2f46de98c11 net/smc: fix potential panic dues to unprotected smc_llc_srv_add_link()
    3d0e30ca57a4 irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts
    bf12b493caac irqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts
    bb1cc7fc3e1d bpf: Fix global subprog context argument resolution logic
    30651cff1e21 LoongArch, bpf: Use 4 instructions for function address in JIT
    cecc68559cd5 xsk: check IFF_UP earlier in Tx path
    ccf81ec1f1ed can: esd_usb: Make use of can_change_state() and relocate checking skb for NULL
    08d2f6779535 can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error
    026ba2f7760e selftests/bpf: Fix xdp_do_redirect on s390x
    678ea18d6240 bpf: Zeroing allocated object from slab in bpf memory allocator
    8c4615742602 wifi: mac80211: pass 'sta' to ieee80211_rx_data_set_sta()
    ec2c00f84678 selftests/bpf: Fix map_kptr test.
    9f6756cd0988 thermal/drivers/hisi: Drop second sensor hi3660
    2de283088766 tools/lib/thermal: Fix thermal_sampling_exit()
    558496d79b8c wifi: mac80211: fix off-by-one link setting
    2a0200daeccf wifi: mac80211: avoid u32_encode_bits() warning
    1ee0a1d7fb3b wifi: mac80211: Don't translate MLD addresses for multicast
    1d7e57d794b5 wifi: mac80211: fix non-MLO station association
    acb20912ff3b wifi: mac80211: make rate u32 in sta_set_rate_info_rx()
    451fcf6e73e3 wifi: mac80211: move color collision detection report in a delayed work
    dfcce7e6948e crypto: crypto4xx - Call dma_unmap_page when done
    5f14842b64e0 crypto: octeontx2 - Fix objects shared between several modules
    9dadb003e309 ACPI: resource: Do IRQ override on all TongFang GMxRGxx
    35ed2f552b0b ACPI: resource: Add IRQ overrides for MAINGEAR Vector Pro 2 models
    332213a34e0a selftests/bpf: Fix out-of-srctree build
    225e75dc744f wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()
    2f85c768bea2 wifi: iwl4965: Add missing check for create_singlethread_workqueue()
    34f611204ae5 wifi: iwl3945: Add missing check for create_singlethread_workqueue
    05a94ebbaed8 clocksource/drivers/riscv: Patch riscv_clock_next_event() jump before first use
    c984ddfdf67f RISC-V: time: initialize hrtimer based broadcast clock event device
    cfbdf8869fe8 m68k: /proc/hardware should depend on PROC_FS
    cf7cf7d1d4c7 crypto: rsa-pkcs1pad - Use akcipher_request_complete
    b8dd6200fa8d rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
    cd9dff330e89 xen/grant-dma-iommu: Implement a dummy probe_device() callback
    fbbe6ddb6062 libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()
    fb7f9c3b4461 s390/ap: fix status returned by ap_qact()
    673b533fb5b0 s390/ap: fix status returned by ap_aqic()
    19e29653c832 s390: vfio-ap: tighten the NIB validity check
    8f36f6e5770e net: ipa: generic command param fix
    720b2d5621ae Bluetooth: hci_qca: get wakeup status from serdev device handle
    64e28ecf44e4 Bluetooth: L2CAP: Fix potential user-after-free
    1913ff10fcea Bluetooth: hci_conn: Refactor hci_bind_bis() since it always succeeds
    a5f024d0e6f9 cpufreq: davinci: Fix clk use after free
    02c90e03e64f OPP: fix error checking in opp_migrate_dentry()
    035a80733ec4 tap: tap_open(): correctly initialize socket uid
    b4ada752eaf1 tun: tun_chr_open(): correctly initialize socket uid
    ee01753c5d45 net: add sock_init_data_uid()
    1a71a9eaf32d s390/boot: fix mem_detect extended area allocation
    f458b7f354ff s390/mem_detect: rely on diag260() if sclp_early_get_memsize() fails
    a5178cd3a802 s390/boot: cleanup decompressor header files
    76b53cd95d2b s390/vmem: fix empty page tables cleanup under KASAN
    9e1e58525d6c s390/mem_detect: fix detect_memory() error handling
    a0d91a48e1a0 irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probe
    bb755e020abc irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probe
    65e30bd1310d irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains
    ea54b608d85b irqchip: Fix refcount leak in platform_irqchip_probe
    dcb8c33561f6 net/mlx5: Enhance debug print in page allocation failure
    2a9a5f88e0da wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read
    eadd65fc5603 wifi: mt76: add memory barrier to SDIO queue kick
    f8baf3e6c389 wifi: mt76: mt7915: fix WED TxS reporting
    4cbb876153b6 wifi: mt76: mt7915: fix memory leak in mt7915_mcu_exit
    32e1e8b25dbf wifi: mt76: mt7915: call mt7915_mcu_set_thermal_throttling() only after init_work
    9d786d1a1ccb bpftool: profile online CPUs instead of possible
    daeef81825bf crypto: ccp - Flush the SEV-ES TMR memory before giving it to firmware
    d0105ef2f05e selftests/bpf: Initialize tc in xdp_synproxy
    71c83b54be42 can: rcar_canfd: Fix R-Car V3U GAFLCFG field accesses
    d5ed96a1f8d4 kselftest/arm64: Fix enumeration of systems without 128 bit SME
    33222abfe48b wifi: iwlwifi: mei: fix compilation errors in rfkill()
    24f105f90ad3 s390/bpf: Add expoline to tail calls
    bddd22cf5cc2 leds: led-class: Add missing put_device() to led_put()
    57c3e1d63b63 crypto: xts - Handle EBUSY correctly
    baffb1a112f7 selftests/bpf: Fix vmtest static compilation error
    6d1b85adad6f selftests/bpf: Use consistent build-id type for liburandom_read.so
    f82708c7965e x86/microcode: Adjust late loading result reporting message
    252bb13e2f38 x86/microcode: Check CPU capabilities after late microcode update correctly
    45c505d04976 x86/microcode: Add a parameter to microcode_check() to store CPU capabilities
    7d8914c998d6 powercap: fix possible name leak in powercap_register_zone()
    4d497e8b200a crypto: seqiv - Handle EBUSY correctly
    a006aa3eedb8 crypto: essiv - Handle EBUSY correctly
    dcdd2198bbff crypto: ccp - Failure on re-initialization due to duplicate sysfs filename
    ccf60fee67f4 selftests/bpf: Fix build errors if CONFIG_NF_CONNTRACK=m
    b49ff3a2c472 ACPI: battery: Fix missing NUL-termination with large strings
    4bb071d9c2db wifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()
    e596b36e15a7 wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
    8f28513d9520 wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()
    9acdec72787a wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails
    5a84e51f7258 wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
    d9fedfdf2d0c thermal/drivers/imx_sc_thermal: Fix the loop condition
    bb8db9ac0ea2 thermal/drivers/imx_sc_thermal: Drop empty platform remove function
    7fe711014e5f wifi: orinoco: check return value of hermes_write_wordrec()
    93c3f34ec02f wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU
    e09eadf1976a wifi: rtw89: Add missing check for alloc_workqueue
    1e336d6bab68 wifi: rtw89: fix potential leak in rtw89_append_probe_req_ie()
    de92beb63a4b thermal/drivers/tsens: limit num_sensors to 9 for msm8939
    eec28ff90f5f thermal/drivers/tsens: fix slope values for msm8939
    1983e2a94c54 thermal/drivers/tsens: Sort out msm8976 vs msm8956 data
    574b125bb802 thermal/drivers/tsens: Drop msm8976-specific defines
    d7e2be5da9a9 x86/signal: Fix the value returned by strict_sas_size()
    f61744f7b45d s390/vfio-ap: fix an error handling path in vfio_ap_mdev_probe_queue()
    ec75af7e811d s390/early: fix sclp_early_sccb variable lifetime
    0903111d67ef workqueue: Protects wq_unbound_cpumask with wq_pool_attach_mutex
    3bfadfd8b62b kselftest/arm64: Fix syscall-abi for systems without 128 bit SME
    c5721ba0f25e arm64/cpufeature: Fix field sign for DIT hwcap detection
    b20197ece1ff selftests/xsk: print correct error codes when exiting
    af76543a8448 selftests/xsk: print correct payload for packet dump
    550802b8ed58 ACPICA: nsrepair: handle cases without a return value correctly
    8ffe7de184cb platform/chrome: cros_ec_typec: Update port DP VDO
    c65b76f6f3e5 crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID2
    553d8b25cc5e lib/mpi: Fix buffer overrun when SG is too long
    62030a49158d rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()
    24f259ce3a7c rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
    a2b0cda452b7 rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose
    e9ab0e81bc42 genirq: Fix the return type of kstat_cpu_irqs_sum()
    c8a85ad1d8fc ACPICA: Drop port I/O validation for some regions
    476dadca0b98 crypto: x86/ghash - fix unaligned access in ghash_setkey()
    700aec11cbfc libbpf: Fix invalid return address register in s390
    014a1f62706a wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()
    cb96e0164858 wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()
    ec1679db9a16 wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()
    492228fc0b44 wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()
    9ce142fdb97e wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
    4da483f714b6 wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
    7f159116d620 wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
    a1bdecedc7ad wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()
    07dcd756e28f wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
    62ec7e8bf42f wifi: ipw2200: fix memory leak in ipw_wdev_init()
    b7a05cdce2cc wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()
    9e93b377dccf libbpf: Fix btf__align_of() by taking into account field offsets
    f1fe40120de6 wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()
    c7a97f6c73e0 wifi: rtw89: 8852c: rfk: correct DPK settings
    6cc41f946aa2 wifi: rtw89: 8852c: rfk: correct DACK setting
    afa42dbbb1f2 wifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()
    653d13a73e49 wifi: libertas: fix memory leak in lbs_init_adapter()
    e81114f49b67 wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()
    5366c223c0c6 wifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()
    3e3962d52ffa wifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave()
    231385c75937 wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave()
    c4f1ded67a90 wifi: rsi: Fix memory leak in rsi_coex_attach()
    408a8295c896 wifi: mt76: fix coverity uninit_use_in_call in mt76_connac2_reverse_frag0_hdr_trans()
    494ceb253aaf wifi: mt76: mt7915: fix unintended sign extension of mt7915_hw_queue_read()
    c31759baecfd wifi: mt76: mt7915: drop always true condition of __mt7915_reg_addr()
    8dd61e810fa4 wifi: mt76: mt7915: check return value before accessing free_block_num
    8b5174a7f25d wifi: mt76: mt7921s: fix slab-out-of-bounds access in sdio host
    4469ddf7d5ec wifi: mt76: mt7915: add missing of_node_put()
    fba23dfd6f27 block: use proper return value from bio_failfast()
    a07836bc0a32 block: bio-integrity: Copy flags when bio_integrity_payload is cloned
    3c5059e24a20 block: Fix io statistics for cgroup in throttle path
    cbe695b83845 block: sync mixed merged request's failfast with 1st bio's
    afc983189496 erofs: relinquish volume with mutex held
    1cae3dd88e50 arm64: dts: qcom: pmk8350: Use the correct PON compatible
    669b26eb87f6 arm64: dts: qcom: pmk8350: Specify PBS register for PON
    066de07e02a9 block: ublk: check IO buffer based on flag need_get_data
    c77d664ab8e3 KEYS: asymmetric: Fix ECDSA use via keyctl uapi
    2fb6b7006d23 x86/perf/zhaoxin: Add stepping check for ZXC
    28057ce72204 perf/x86/intel/ds: Fix the conversion from TSC to perf time
    6b4fcc4e8a30 sched/rt: pick_next_rt_entity(): check list_entry
    ef3a7ffc0a6f s390/dasd: Fix potential memleak in dasd_eckd_init()
    3f82ad843898 arm64: dts: qcom: msm8992-lg-bullhead: Enable regulators
    8f21aa36f767 arm64: dts: qcom: msm8992-*: Fix up comments
    9fee3bfc9026 arm64: dts: qcom: msm8953: correct TLMM gpio-ranges
    b55c3db4ebf8 arm64: dts: qcom: msm8992-lg-bullhead: Correct memory overlaps with the SMEM and MPSS memory regions
    16b6a0e91fd3 arm64: dts: qcom: sm8450: drop incorrect cells from serial
    c051e3c59b45 arm64: dts: qcom: sm8350: drop incorrect cells from serial
    d5f4a0f4ebd7 arm64: dts: qcom: msm8996 switch from RPM_SMD_BB_CLK1 to RPM_SMD_XO_CLK_SRC
    02b40796f387 arm64: dts: qcom: msm8996: support using GPLL0 as kryocc input
    800141f9b534 blk-mq: correct stale comment of .get_budget
    c9cf2f38cb18 blk-mq: Fix potential io hung for shared sbitmap per tagset
    b1f6feff7c6a blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_wait
    ad756d8cae3b blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
    14cea6cc8ad3 blk-mq: avoid sleep in blk_mq_alloc_request_hctx
    76e64c9a0a82 ARM: dts: stm32: Update part number NVMEM description on stm32mp131
    722ea8e50de8 arm64: dts: mediatek: mt7986: Fix watchdog compatible
    d53255b6e005 arm64: dts: mediatek: mt8195: Fix watchdog compatible
    2e5186b452e3 arm64: dts: mediatek: mt8186: Fix watchdog compatible
    78b3831c4d98 arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node
    335d89880d2d arm64: dts: mt8186: Fix CPU map for single-cluster SoC
    d7219172bfa6 arm64: dts: mt8192: Fix CPU map for single-cluster SoC
    f870eb010ee0 arm64: dts: mt8195: Fix CPU map for single-cluster SoC
    3e5ddf2b8438 sbitmap: correct wake_batch recalculation to avoid potential IO hung
    0f312961c799 sbitmap: Use single per-bitmap counting to wake up queued tags
    b2fbd1c9bd30 sbitmap: remove redundant check in __sbitmap_queue_get_batch
    ffdc6932437b ARM: dts: imx7s: correct iomuxc gpr mux controller cells
    e6829910b93f ublk_drv: don't probe partitions if the ubq daemon isn't trusted
    23e79f75e61b ublk_drv: remove nr_aborted_queues from ublk_device
    0f58469c7864 ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference
    58dccc65221c arm64: dts: meson: bananapi-m5: switch VDDIO_C pin to OPEN_DRAIN
    b556778f76f9 arm64: dts: meson: radxa-zero: allow usb otg mode
    5379f4aa230d arm64: dts: renesas: beacon-renesom: Fix gpio expander reference
    fd38b56f3a6a locking/rwsem: Disable preemption in all down_read*() and up_read() code paths
    1c68c6006478 arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip
    084f14099af9 arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name
    16b3b00360f4 arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name
    e35feeb3fdbe arm64: dts: amlogic: meson-sm1-bananapi-m5: fix adc keys node names
    5c88975800f2 arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name
    b362379ddf11 arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name
    b7f839bc2e5c arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix invalid rtc node name
    65d5ffb9639b arm64: dts: amlogic: meson-gxl-s905w-jethome-jethub-j80: fix invalid rtc node name
    ce047a265a69 arm64: dts: amlogic: meson-gx: add missing unit address to rng node name
    54b3c863762f arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property
    c727f9bb9e42 arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix supply name of USB controller node
    79bf95227649 arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible
    8edbf0894ba8 arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name
    0c38c2e2169d arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name
    1e0a7b41f503 ARM: imx: Call ida_simple_remove() for ida_simple_get
    7f02f32ee66e ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato
    a0726e992dbc arm64: dts: ti: k3-j7200: Fix wakeup pinmux range
    e1bfd8784cb5 ARM: s3c: fix s3c64xx_set_timer_source prototype
    ed4400210105 ARM: bcm2835_defconfig: Enable the framebuffer
    addbe278d723 arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken
    ab5968aa3d7b ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
    a8cc5a1e5005 arm64: dts: meson: remove CPU opps below 1GHz for G12A boards
    3eb8dd85321f arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
    130d06c40cea arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
    8591695cb68e arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
    3cf94d7fdee7 arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
    8c9554012be6 arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
    03b414e181d2 arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names
    d98ab7b969f6 arm64: dts: qcom: msm8992-bullhead: Disable dfps_data_mem
    91475aa72e21 arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem size
    2dd983e1dd54 arm64: dts: msm8992-bullhead: add memory hole region
    3de06621abee arm64: tegra: Fix duplicate regulator on Jetson TX1
    3fd1439e7b7d arm64: dts: ti: k3-am62-main: Fix clocks for McSPI
    5453ea5d8865 arm64: dts: ti: k3-am62: Enable SPI nodes at the board level
    07fc78d8f0c9 cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again*
    4259d9af7ef6 arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address
    d314f2947aad arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name
    c91352826f3c arm64: dts: meson-gx: Fix Ethernet MAC address unit name
    e9cbef47ae0c arm64: dts: meson-axg: jethub-j1xx: Fix MAC address node names
    2b9ed2d4d6d1 arm64: dts: meson-gxl: jethub-j80: Fix Bluetooth MAC node name
    6194b4422467 arm64: dts: meson-gxl: jethub-j80: Fix WiFi MAC address node
    6c8d10d05884 arm64: dts: qcom: sc8280xp: Vote for CX in USB controllers
    32785fada583 arm64: dts: qcom: sc8280xp: correct SPMI bus address cells
    14af148bcf77 arm64: dts: qcom: sc7280: correct SPMI bus address cells
    65e0c74501bc arm64: dts: qcom: sc7180: correct SPMI bus address cells
    ce7d894bed1a x86/acpi/boot: Do not register processors that cannot be onlined for x2APIC
    681964878331 arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name
    57991c89c9b8 arm64: dts: mediatek: mt8186: Fix systimer 13 MHz clock description
    ba20e0b2c6d3 arm64: dts: mediatek: mt8195: Fix systimer 13 MHz clock description
    242196166ca6 arm64: dts: mediatek: mt8192: Fix systimer 13 MHz clock description
    8770843a00af arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description
    850fd7deb574 arm64: dts: mediatek: mt8195: Add power domain to U3PHY1 T-PHY
    e43a06c73be4 ARM: zynq: Fix refcount leak in zynq_early_slcr_init
    45df2f9562fb arm64: dts: imx8m: Align SoC unique ID node unit address
    a4598dbf8079 arm64: dts: qcom: sm6125-seine: Clean up gpio-keys (volume down)
    ca4dfd29ac90 arm64: dts: qcom: sm6125: Reorder HSUSB PHY clocks to match bindings
    f4996d63e721 arm64: dts: qcom: sm6350: Fix up the ramoops node
    69283bfc0a7b arm64: dts: qcom: sm8150-kumano: Panel framebuffer is 2.5k instead of 4k
    53866b5a2ed2 arm64: dts: qcom: msm8996-tone: Fix USB taking 6 minutes to wake up
    5cace2e34bd9 arm64: dts: qcom: qcs404: use symbol names for PCIe resets
    98df4bdf3b01 ARM: OMAP2+: Fix memory leak in realtime_counter_init()
    10949d708742 ata: ahci: Revert "ata: ahci: Add Tiger Lake UP{3,4} AHCI controller"
    57edc43c1569 powerpc/mm: Rearrange if-else block to avoid clang warning
    ee907829b369 HID: asus: use spinlock to safely schedule workers
    7fd279b82157 HID: asus: use spinlock to protect concurrent accesses

(From OE-Core rev: 589915be0e40d09d0581e2392fce025b1aea6970)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Bruce Ashfield
f690956506 linux-yocto/5.15: update to v5.15.98
Updating  to the latest korg -stable release that comprises
the following commits:

    d9b4a0c83a2d Linux 5.15.98
    937c15e27a63 io_uring: ensure that io_init_req() passes in the right issue_flags
    bf7123dd26a0 Linux 5.15.97
    cf7f9cd50013 io_uring: add missing lock in io_get_file_fixed
    77358093331e USB: core: Don't hold device lock while reading the "descriptors" sysfs file
    3b24c980dc07 usb: gadget: u_serial: Add null pointer check in gserial_resume
    2d72795ccde2 USB: serial: option: add support for VW/Skoda "Carstick LTE"
    02190d23b731 usb: dwc3: pci: add support for the Intel Meteor Lake-M
    cc09a7d5a6a1 scripts/tags.sh: fix incompatibility with PCRE2
    1aee4ab2c107 scripts/tags.sh: Invoke 'realpath' via 'xargs'
    06740b433d9d vc_screen: don't clobber return value in vcs_read
    e7f460696340 net: Remove WARN_ON_ONCE(sk->sk_forward_alloc) from sk_stream_kill_queues().
    16d319ec18b0 bpf: bpf_fib_lookup should not return neigh in NUD_FAILED state
    6dd1de27d771 staging: mt7621-dts: change palmbus address to lower case
    07f0c6f9c357 x86/cpu: Add Lunar Lake M
    e1b09162f268 HID: core: Fix deadloop in hid_apply_multiplier.
    f1ee47003075 neigh: make sure used and confirmed times are valid
    2590058fb058 IB/hfi1: Assign npages earlier
    4534ea429ed8 ASoC: rt715-sdca: fix clock stop prepare timeout issue
    e430f058d90c btrfs: send: limit number of clones and allocated memory size
    d454a7212e17 ACPI: NFIT: fix a potential deadlock during NFIT teardown
    435e8fabd19a HID: elecom: add support for TrackBall 056E:011C
    6bd2f1754393 ARM: dts: rockchip: add power-domains property to dp node on rk3288
    839a9c0047a1 arm64: dts: rockchip: drop unused LED mode property from rk3328-roc-cc
    503e3d93cf35 Fix XFRM-I support for nested ESP tunnels
    765b3a0e0a81 ionic: refactor use of ionic_rx_fill()

(From OE-Core rev: 4961d295599b1c3822752c42891006a49aea8ff3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Bruce Ashfield
47154e9a1f linux-yocto/6.1: update to v6.1.15
Updating  to the latest korg -stable release that comprises
the following commits:

    42616e0f09fb Linux 6.1.15
    c87fb861ec18 USB: core: Don't hold device lock while reading the "descriptors" sysfs file
    c49bd6c2dd1b scripts/tags.sh: fix incompatibility with PCRE2
    a591d9fd7001 fs: use consistent setgid checks in is_sxid()
    89f5f21b960e attr: use consistent sgid stripping checks
    c1df288f4495 attr: add setattr_should_drop_sgid()
    e44f23ef9160 fs: move should_remove_suid()
    18c2750856dc attr: add in_group_or_capable()
    118ad80d27d9 drm/amd/display: Properly reuse completion structure
    c9d3eb6151b3 usb: typec: pd: Remove usb_suspend_supported sysfs from sink PDO
    fb9a79557942 arm64: dts: uniphier: Fix property name in PXs3 USB node
    ec357cd3e8af usb: gadget: u_serial: Add null pointer check in gserial_resume
    ad5914431b70 USB: serial: option: add support for VW/Skoda "Carstick LTE"
    d9651c258d66 usb: dwc3: pci: add support for the Intel Meteor Lake-M
    075e2099c32c drm/amd/display: Fix race condition in DPIA AUX transfer
    4da108082a32 drm/amd/display: Move DCN314 DOMAIN power control to DMCUB
    a595a81df673 vc_screen: don't clobber return value in vcs_read
    ea4c208efea4 net: Remove WARN_ON_ONCE(sk->sk_forward_alloc) from sk_stream_kill_queues().
    d879a777d148 bpf: bpf_fib_lookup should not return neigh in NUD_FAILED state
    f2173508b195 PM: sleep: Avoid using pr_cont() in the tasks freezing code
    0c2f28f01fce x86/cpu: Add Lunar Lake M
    bcc844436312 selftests: ocelot: tc_flower_chains: make test_vlan_ingress_modify() more comprehensive
    56b6ea55f1dc HID: Ignore battery for ELAN touchscreen 29DF on HP
    a03cc84f70a0 ASoC: codecs: es8326: Fix DTS properties reading
    0412fe1deab1 HID: core: Fix deadloop in hid_apply_multiplier.
    b7641733a4a1 neigh: make sure used and confirmed times are valid
    6595071a3604 ARM: dts: stihxxx-b2120: fix polarity of reset line of tsin0 port
    39cdf021fa05 ASoC: SOF: amd: Fix for handling spurious interrupts from DSP
    8988889aaeb5 powerpc: Don't select ARCH_WANTS_NO_INSTR
    ce77f44cb9ad IB/hfi1: Assign npages earlier
    d06e776698ad ASoC: rt715-sdca: fix clock stop prepare timeout issue
    46abcdf96db2 arm64: dts: rockchip: align rk3399 DMC OPP table with bindings
    07c5877e1444 btrfs: send: limit number of clones and allocated memory size
    91210aca68f3 pinctrl: amd: Fix debug output for debounce time
    fdbcacfe495d ACPI: NFIT: fix a potential deadlock during NFIT teardown
    1b7730f20355 HID: Ignore battery for Elan touchscreen on Asus TP420IA
    0773ecf7bcda HID: elecom: add support for TrackBall 056E:011C
    860a9c0509db arm64: dts: rockchip: fix probe of analog sound card on rock-3a
    6a63f9795f6e arm64: dts: rockchip: add missing #interrupt-cells to rk356x pcie2x1
    59770f4b5237 ARM: dts: rockchip: add power-domains property to dp node on rk3288
    69eca8dd3c61 arm64: dts: rockchip: drop unused LED mode property from rk3328-roc-cc
    fd606d611560 arm64: dts: rockchip: reduce thermal limits on rk3399-pinephone-pro
    0b892d8fe90b Fix XFRM-I support for nested ESP tunnels

(From OE-Core rev: 4ed1c0990a897f8e6bf916de5d75a09b2c9106c9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-26 18:50:17 +01:00
Alexis Lothoré
aee5758336 scripts/yocto_testresults_query.py: fix regression reports for branches with slashes
Regression reports are not generated on some integration branches because
yocto_testresults_query.py truncates branches names with slashes when it passes
it to resulttool. For example, "abelloni/master-next" is truncated to "abelloni"

Fix this unwanted branch truncation by fix tag parsing in yocto-testresults

(From OE-Core rev: b2fb7d7b0c05bb198a2271bbf1742645ba220ea3)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-25 09:39:28 +00:00
Sudip Mukherjee
dd6157fc82 libgit2: upgrade to v1.6.3
Upgrade libgit2 to v1.6.3.
The new version now has git_fs_path_basename_r() which is based
on BSD-2-Clause.

(From OE-Core rev: 16e837f16774893246c028f3d4a588bdc5187094)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-25 09:39:28 +00:00
Joshua Watt
7def843a55 runqemu: Fix TypeError when command fails
The commands passed to subprocess are tuples which when passed to a %
format are treated as multiple format arguments instead of a single
argument to be coerced by "%s". This results in a TypeError being
raised with python claiming that not all arguments were consumed.

Fix this by wrapping the command tuple in a str() call, as is done for
the logging strings

[YOCTO #15078]

(From OE-Core rev: 3e5d04d9ebbee4e11fb39bf353b6d4c3133e166a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-25 09:39:28 +00:00
Ross Burton
41de1ecadd scripts/lib/buildstats: handle top-level build_stats not being complete
If we try to parse a buildstats directory which was either aborted or
is still being built then the top-level build_stats file doesn't
contain an elapsed value which causes an exception:

UnboundLocalError: local variable 'elapsed' referenced before assignment

Default both start and elapsed to 0 so that the parse succeeds.

(From OE-Core rev: 701d985aa8f2e9c2b9c0736fa25b424f3701889e)

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>
2023-03-25 09:39:28 +00:00
Peter Marko
b553853fc4 gcc-shared-source: do not use ${S}/.. in deploy_source_date_epoch
This function is referencing '${S}/..'.
It uses ${S} only as good known directory path to start
traversing from, and it does not need it to exist or be populated.
If ${S} does not exist yet, the function will fail because
it cannot evaluate path .. from non-existing directory.

Reproducer (verified in master and kirkstone):
  bitbake gcc -c deploy_source_date_epoch
  bitbake gcc -c cleansstate
  rm -rf build/tmp
  bitbake gcc -c deploy_source_date_epoch

(From OE-Core rev: 42661a59cda164b2d236ffc35b4d8cf43312b677)

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>
2023-03-25 09:39:28 +00:00
Ross Burton
37771ef5bd quilt: fix non-deterministic ownership in ptest package
The quilt package files are owned by the ptest user, which is provided
by the ptest-runner package.  The quilt recipe depends on ptest-runner
but there have been instances where rebuilds of quilt end up without the
right passwd being present, so the files are not owned by ptest.

I suspect what's happening is that the re-package is happening without
the ptest-runner package being present (reproducible with bitbake quilt;
bitbake quilt -cclean; bitbake quilt -Cpackage_write_rpm), so add an
explicit dependency on ptest-runner in the packaging dependencies to
ensure this doesn't happen.

[ YOCTO #15062  ]

(From OE-Core rev: 6a7c17065aa1b107a8ff43de7c9097246b1316be)

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>
2023-03-25 09:39:28 +00:00
Daniel Ammann
92993b4f77 bitbake: fetch2/sftp: Fix fetching URIs with spaces
Spaces can be used in URIs with %20, but the URI needs to be quoted.

(Bitbake rev: 0f887589c279ce07692b4d8e118954a9d214ca45)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:41:32 +00:00
James R T
f14328c22f bitbake: ConfHandler: Allow the '@' character in variable flag names
This patch enables the usage of the '@' character in variable flag
names.

One use case of variable flags is to assign the network namespaces of
some systemd services/targets to configure other parts of the build
process of some system. The filenames of systemd services/targets might
contain the '@' character if they are template unit files that can take
in a single parameter/argument and be instanced multiple times, as
indicated by systemd's official manual page.

The '@' character is disallowed as the first character in a variable
flag name. Imposing more restrictions on the first character is a
compromise to make parsing easier and to allow for more options in the
future to extend the syntax.

This patch is successfully verified by creating a custom BitBake recipe
that sets and unsets the value of a variable flag with the '@' character
in its name and ensuring that no ParseError is being thrown. Regression
tests have also been added to `bb.parse`.

`bin/bitbake-selftest` has also been successfully executed and all tests
passed.

(Bitbake rev: 00f9ab2cacfbd2a63b6b4959cf5401babae7e32a)

Signed-off-by: James Raphael Tiovalen <jamestiotio@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:41:32 +00:00
Michael Opdenacker
f98f1fe24d bitbake: bitbake-user-manual: fix links to supported release manuals
Links to manuals for supported releases were all broken.
Only the pre-sphinx ones are still valid.

(Bitbake rev: 887804de05d704644328a105e2add6861adb4cab)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:41:32 +00:00
Wang Mingyu
d2492fd581 xcb-proto: Fix install conflict when enable multilib.
Error: Transaction test error:
  file /usr/share/pkgconfig/xcb-proto.pc conflicts between attempted installs of lib32-xcb-proto-dev-1.15.2-r0.armv7ahf_neon and xcb-proto-dev-1.15.2-r0.cortexa57

The differences between the two files are as follows:
@@ -2,7 +2,7 @@
 exec_prefix=/usr
 datarootdir=${prefix}/share
 datadir=/usr/share
-libdir=/usr/lib64
+libdir=/usr/lib
 xcbincludedir=${pc_sysrootdir}${datadir}/xcb
 PYTHON_PREFIX=${prefix}
 pythondir=${pc_sysrootdir}${libdir}/python3.11/site-packages

(From OE-Core rev: 4876189dd2ae5a04a296b11b537b9f613159c6bf)

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>
2023-03-23 22:38:43 +00:00
Martin Jansa
2bbdd29411 bmap-tools: switch to main branch
* master branch was removed upstream:
  downloads/git2/github.com.intel.bmap-tools $ git remote prune origin
  Pruning origin
  URL: https://github.com/intel/bmap-tools
   * [pruned] refs/heads/master
   * [pruned] refs/pull/73/merge

* downloads/git2/github.com.intel.bmap-tools $ git branch -a --contains c0673962a8ec1624b5189dc1d24f33fe4f06785a
  main
  release-3.0

(From OE-Core rev: 369fee186d6916322b9be9d936b654d0c5910cb3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:36:46 +00:00
Robert Joslyn
7d6ed5c127 curl: Update from 7.88.1 to 8.0.1
This update contains bug, security, and feature updates. For detailed
release notes, see https://curl.se/changes.html#8_0_1

(From OE-Core rev: 139153369b993ebe7f47b0f1669c110b27f6236e)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:36:46 +00:00
Jose Quaresma
d5c79ca6a7 go: fix some linkshared regression introduced in go 1.20
Since go 1.20 some packages fails to link [1][2]
and only build staticaly with GO_LINKSHARED = ""

[1] https://lists.yoctoproject.org/g/meta-virtualization/topic/97182310
[2] https://github.com/golang/go/issues/58966

(From OE-Core rev: eb40d6c2ef72814336365208722e2dc96322e07d)

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>
2023-03-23 22:36:46 +00:00
Ross Burton
1908193b81 scripts: add buildstats-summary
This script will write a summary of the buildstats to the terminal,
sorted by start time or duration, optionally hiding short tasks, and
highlighting long running tasks.

(From OE-Core rev: 253d2c0eb048ea38822844ebb69ad76d55b5c3ef)

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>
2023-03-23 22:36:46 +00:00
Yureka Lilian
ab7a9262a5 systemd: rebase musl patches
(From OE-Core rev: f34f6ab04b443608497b73668365819343d0c2fe)

Signed-off-by: Yureka Lilian <yuka@yuka.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:36:46 +00:00
Jialing Zhang
13c1529b70 recipes: add support for loongarch64
glibc gcc vulkan add support for loongarch64

(From OE-Core rev: 526b9a8ebacf07690dfc5beb1788ab7a5bef8423)

Signed-off-by: Jialing Zhang <zhangjialing@loongson.cn>
Signed-off-by: Qizheng Zhu <zhuqizheng@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:36:46 +00:00
Xiangyu Chen
e7e1bc43ca rng-tools: splitting the rng-tools systemd/sysvinit serivce as a package
Since we removed the openssh dependency[1] on rng-tools, there are no package requiring
rng-tools in oe-core, meta-oe, meta-virt, and the /dev/random won't block anymore after
linux-5.6[2], one of the reasons for keeping rng-tools build into the image is that it
can be used to test[3], so splitting the rng-tools systemd/systvinit service as a package.
If someone needs rng-tools daemon service, they can enable the rng-tools-service package by
directly.

Reference:
[1] https://git.openembedded.org/openembedded-core/commit/?id=868dfb46d96a27ec9041cb902fb769330277257d
[2] 30c08efec8
[3] https://linux.die.net/man/1/rngtest

(From OE-Core rev: a7b1d5418eb3a90eb14780ab6336790ab73e4692)

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>
2023-03-23 22:36:46 +00:00
Jialing Zhang
04daa7c7d0 add support for loongarch64
add locale_arch_options for loongarch64

(From OE-Core rev: f7ccc906ac55bc1892bc243cef968b54c51c685b)

Signed-off-by: Jialing Zhang <zhangjialing@loongson.cn>
Signed-off-by: Qizheng Zhu <zhuqizheng@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:36:46 +00:00
Jialing Zhang
5fbb9bba3d image-uefi: add support for loongarch64
(From OE-Core rev: 05e9650410c4cd87b5722c04adc8fbfb829bc7a2)

Signed-off-by: Jialing Zhang <zhangjialing@loongson.cn>
Signed-off-by: Qizheng Zhu <zhuqizheng@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:36:46 +00:00
Jialing Zhang
bcd0a40030 Do not remove the -m option for loongarch64
(From OE-Core rev: 6f3583675d31b74a3ae1c7fae450ea1624acc2e7)

Signed-off-by: Jialing Zhang <zhangjialing@loongson.cn>
Signed-off-by: Qizheng Zhu <zhuqizheng@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:36:46 +00:00
Jialing Zhang
46186808bd class-recipe: add support for loongarch64
(From OE-Core rev: ec88f703f753efcbad5c077d866a5dc44ad54db0)

Signed-off-by: Jialing Zhang <zhangjialing@loongson.cn>
Signed-off-by: Qizheng Zhu <zhuqizheng@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:36:46 +00:00
Chen Qi
23212c8c44 rpm: fix RPM_ETCCONFIGDIR value in SDK
The RPM_ETCCONFIGDIR should be some root directory instead of the
etc directory as in patch 0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch
RPM_ETCCONFIGDIR is used to prefix /etc.

The regression was introduced in the following patch.
"""
nativesdk-rpm: export RPM_ETCCONFIGDIR and MAGIC in environment like RPM_CONFIGDIR
"""
The patch incorrectly set RPM_ETCCONFIGDIR, maybe because this variable's
name is a little misleading.

Note that this patch modifies both RPM_ETCCONFIGDIR and RPM_CONFIGDIR.
The RPM_CONFIGDIR's value happened to be correct because of the ${libdir},
not $OECORE_NATIVE_SYSROOT. In fact, due to the substitution mechanism,
the $OECORE_NATIVE_SYSROOT is empty.

(From OE-Core rev: 2c6388e5bbf45a71891aa90047eef980d8a27c9d)

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>
2023-03-22 23:17:27 +00:00
Bruce Ashfield
f5c671e201 lttng-modules: fix for v6.3+ kernels
As part of updating linux-yocto-dev to v6.3, lttng-modules needs to
have four backported patches to adjust for the new kernel version.

These are safe for inclusion in the upcoming release, as they are
version protected and provide some future proofing for folks trying
to use newer kernels than our released 6.1.

(From OE-Core rev: e9f0070631b032a143b765874a228674c19d0304)

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>
2023-03-22 23:17:27 +00:00
Bruce Ashfield
fc363acc5b lttng-modules: update to v2.13.9
Bumping lttng-modules to version v2.13.9-4-g12f43cab, which comprises the following commits:

    da1f5a26 Version 2.13.9
    dc2d1294 fix: jbd2: use the correct print format (v5.4.229)
    d04c1211 fix: jbd2 upper bound for v5.10.163
    4b8864fc fix: jbd2: use the correct print format (v5.10.163)
    69d3aa79 fix: btrfs: move accessor helpers into accessors.h (v6.2)

We drop our previously backported commits as well, since they are part
of the release.

(From OE-Core rev: 79d8e93adde07ff3a4a239d66649ee566a2437d6)

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>
2023-03-22 23:17:27 +00:00
Mingli Yu
20dec1e527 mdadm: fix tests/00raid0
Backport patch [1] to fix tests/00raid0.

[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=7539254342bc591717b0051734cc6c09c1b88640

(From OE-Core rev: baba79874444a9a55e787983a87408e9bc7ebea2)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 23:17:27 +00:00
Khem Raj
3a7aa768c5 glibc: Disable warnings as errors
As distro builders this option helps using different compilers to build
glibc

(From OE-Core rev: 4b082870d425b94cd2a7859d7d113d5c178b92b7)

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>
2023-03-22 23:17:27 +00:00
Alexander Kanavin
506e22a311 mesa: update 22.3.5 -> 23.0.0
Drop patches:
0001-gbm-backend-fix-gbm-compile-without-dri.patch
0001-freedreno-pm4-Use-unsigned-instead-of-uint-to-fix-mu.patch
(backports)

0001-util-format-Check-for-NEON-before-using-it.patch
(upstream submission has stalled with unanswered concerns from upstream;
patch no longer applies; issue does not reproduce with 'raspberrypi0-wifi' MACHINE)

(From OE-Core rev: cdb5d1662bd9df5e9137a52187c94792d2d3247d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 14:47:29 +00:00
Alexander Kanavin
bcd0638d44 mesa: do not strip rpaths from dri drivers
This was needed back when we used upstream llvm-config which
would add bogus rpaths into the drivers; nowadays it is replaced
with a oe-specific wrapper.

The particular reason is that mesa-native relies on having rpaths
to work correctly (i.e. find other native libraries in the
same sysroot location).

(From OE-Core rev: 067e131b2183892b6e8ffc604b6bed0424637ae0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 14:47:29 +00:00
Alexander Kanavin
8cf1c4cd42 llvm: allow building libllvm in native builds, subject to PACKAGECONFIG
Also, enable that, if opengl is in native DISTRO_FEATURES: this allows
mesa-native to build drivers that rely on libllvm, particularly llvmpipe,
which is a (sort of) accelerated software renderer that is the only
option on build hosts without dedicated or supported GPUs.

(From OE-Core rev: ec22bfa67f6f1766102501d4593ce29aafe8c166)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 14:47:29 +00:00
Alexander Kanavin
b576cd5d84 mesa: enable a rich set of drivers for native builds
Without this, the only available driver would be swrast
(without llvmpipe) which is far too slow to be practical,
and so qemu wouldn't be able to perform accelerated graphics.

The one major dependency pulled in by this change is llvm-native
which takes just under three minutes on my machine. If this is
undesitable, opengl can be removed from DISTRO_FEATURES_NATIVE.

(From OE-Core rev: 98d5c382e55910870d7e86dc83e3b7c742ea54cd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 14:47:29 +00:00
Alexander Kanavin
e5c4db30c5 mesa: allow mesa-native/nativesdk only subject to opengl/vulkan DISTRO_FEATURE
This prevents accidental builds of it when native/nativesdk opengl
is not actually enabled (which may cause undesirable lengthening
of dependency chains or build failures because those dependencies
don't enable options required for mesa).

(From OE-Core rev: 3daa991705c2c8e6e3d86a2c7e427f84176b31c2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 14:47:29 +00:00
Alexander Kanavin
44375eccf1 runqemu: direct mesa to use its own drivers, rather than ones provided by host distro
With mesa 23.0, it is not longer possible to use the host drivers, as
mesa upstream has added strict checks for matching builds between
drivers and libraries that load them.

Add a check and a hint to runqemu so that there is a helpful error when
there is no native/nativesdk opengl/virgl support.

(From OE-Core rev: f0946844df7270fe368858d8929e6b380675b78b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 14:47:29 +00:00
Richard Purdie
04c27888d0 bitbake: fetch2: Add autorev warning when it is set too late
Bitbake expects a consistent metadata environment when it parses. There
are plenty of ways you can set a recipe to autorev at a point where parts
of the fetcher have already been triggered leading to obsure bugs which
I struggled to debug, let alone anyone not familar with the code.

If anyone is running into the message from the commit, the issue is
likely one of timing. Keep in mind that the anonymous python code
in base.bbclass will expand variables like FILESPATH, WORKDIR and others
which contain PV. The recipe needs to be set to AUTOREV before that
anonymous python runs.

In particular, that means you can't set SRCREV = "${AUTOREV}" in other
anonymous python, it needs to happen earlier.

(Bitbake rev: 4d9ec332d5bfc8b60b54f8ec2a17d34e35aa903a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:57:04 +00:00
Richard Purdie
2b8761e5fc bitbake: fetch2: Rename __BBSEENSRCREV -> __BBSRCREV_SEEN
For readability of following patches, rename this internal variable to
allow for others in a similar format.

(Bitbake rev: 450b4a00895ed1f9396a8ff859dc1cc0eccc838f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:57:04 +00:00
Martin Jansa
7eef95d723 oeqa: loader.py: show warning when skipping selected module and abort if all are skipped
* skipped modules were triggering an ERROR before:

  poky $ oe-selftest -v -r eSDK.oeSDKExtSelfTest.test_install_libraries_headers imagefeatures.ImageFeatures.test_image_gen_debugfs -K -B /OE/build/poky/build-eSDK
  2023-03-13 15:07:53,430 - oe-selftest - ERROR - Not found eSDK.oeSDKExtSelfTest.test_install_libraries_headers in loaded test cases

* but didn't show the reason why it wasn't loaded and more importantly -r
  was ignored when all selected modules were silently skipped

* add a warning when skipping some module and abort if some modules were
  selected, but all ended being skipped:

  poky $ oe-selftest -v -r eSDK.oeSDKExtSelfTest.test_install_libraries_headers -K -B /OE/build/poky/build-eSDK
  2023-03-13 15:11:51,028 - oe-selftest - WARNING - module 'eSDK.oeSDKExtSelfTest.test_install_libraries_headers' was skipped from selected modules, because it doesn't match with module name assumptions: package and module names do not contain upper case characters, whereas class names do
  2023-03-13 15:11:51,028 - oe-selftest - ERROR - All selected modules were skipped, this would trigger selftest with all tests and -r ignored.

* I was hit by this in oe-selftest -r eSDK.oeSDKExtSelfTest.test_install_libraries_headers
  which is skipped due to upper case characters in module name and selftest started to run
  all tests (archiver.Archiver.test_archiver_allows_to_filter_on_recipe_name as first from 529)

  poky $ oe-selftest -v -r eSDK.oeSDKExtSelfTest.test_install_libraries_headers -K -B /OE/build/poky/build-eSDK
  2023-03-13 14:00:52,955 - oe-selftest - DEBUG - Selected tests with -r: ['eSDK.oeSDKExtSelfTest.test_install_libraries_headers']
  2023-03-13 14:00:55,531 - oe-selftest - INFO - Changing cwd to /OE/build/poky/build
  ..
  2023-03-13 14:00:58,128 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver.test_archiver_allows_to_filter_on_recipe_name)

  I'll rename eSDK to esdk in next commit to avoid this.

* also fix small typo in context I've noticed when debugging this

(From OE-Core rev: 15229c9abaf4cc398c31d97d171b9fac57141873)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Martin Jansa
248f6f01cf selftest: imagefeatures.py: respect IMAGE_LINK_NAME for debugfs and manifest as well
* these cases were correctly respecting IMAGE_LINK_NAME in most tests

* the only exception was relatively wide glob for manifest:
  "test-empty-image-*.manifest"
* and even wider glob for -dbg:
  "*-dbg.rootfs.tar.bz2"

* replace them with the exact filename we expect for given image

* be aware that gzip won't accept the symlink in IMAGE_LINK_NAME causing:
  2023-03-13 08:58:23,845 - oe-selftest - INFO -  ... FAIL
  2023-03-13 08:58:23,845 - oe-selftest - INFO - Traceback (most recent call last):
    File "/OE/build/poky/meta/lib/oeqa/selftest/cases/imagefeatures.py", line 124, in test_bmap
      self.assertTrue(runCmd('gzip -t %s' % gzip_path))
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/OE/build/poky/meta/lib/oeqa/utils/commands.py", line 214, in runCmd
      raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
  AssertionError: Command 'gzip -t /OE/build/poky/build/build-st-2023-03-12-todo-patch2/imagefeatures.ImageFeatures.test_bmap/build-st/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.ext4.bmap.gz' returned non-zero exit status 1:
  gzip: skipping: /OE/build/poky/build/build-st-2023-03-12-todo-patch2/imagefeatures.ImageFeatures.test_bmap/build-st/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.ext4.bmap.gz is a symbolic link

* and "*-dbg.rootfs.tar.bz2" doesn't work if IMAGE_NAME_SUFFIX
  is changed to anything else than ".rootfs" or moved into
  IMAGE_LINK_NAME (like I plan in future changes where this will
  need to be updated again).

  Luckily we can use the symlink which currently doesn't have
  IMAGE_NAME_SUFFIX nor the DATETIME, so we don't need to search
  for it with glob, e.g. currently:

  core-image-minimal-qemux86-64-dbg-20230313112546-dbg.rootfs.tar.bz2
  core-image-minimal-qemux86-64-dbg.tar.bz2 -> core-image-minimal-qemux86-64-dbg-20230313112546-dbg.rootfs.tar.bz2

[YOCTO #12937]

(From OE-Core rev: 39285e981343930e41afe4eb8f2db675a85d54c2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Martin Jansa
92c9dfe1d3 runqemu: get_first_file() rename cmd* to glob*
* to better indicate how it's used in get_first_file

* cmd* is used in other places for actual shell commands
  to execute

* RunQemuError('KERNEL not found: %s, %s or %s' % cmds)
  also looked weird to me, but that works (to my python-noob surprise)

[YOCTO #12937]

(From OE-Core rev: 7c26e9dcc999a7d6a365831c39d25d98890be6d0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Martin Jansa
752d8ab3ed selftest: minidebuginfo.py respect IMAGE_LINK_NAME
* use IMAGE_LINK_NAME instead of hardcoding
  core-image-minimal-${MACHINE} assumption

[YOCTO #12937]

(From OE-Core rev: 9f8ffe22d9bb7cd93b9bc9ece917a48b27ab22d3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Martin Jansa
2e7d36b542 selftest: gdbserver.py: respect IMAGE_LINK_NAME
* use IMAGE_LINK_NAME instead of hardcoding
  core-image-minimal-${MACHINE} assumption

[YOCTO #12937]

(From OE-Core rev: 3ee65ecdf841d74e2767d620e7f4a62e3a8863dc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Martin Jansa
c0df9c9e92 image-artifact-names: add IMAGE_MACHINE_SUFFIX variable
* to make it easier for projects to avoid default -${MACHINE} suffix if
  the ${MACHINE} named DEPLOY_DIR_IMAGE works better for them

* also use IMAGE_LINK_NAME in IMAGE_NAME to make it more clear
  that IMAGE_NAME is the same as IMAGE_LINK_NAME but with version
  suffix

* adding it as separate variable helps us to catch the cases
  where we didn't respect ${IMAGE_LINK_NAME} variable and just used
  the common default ${IMAGE_BASENAME}-${MACHINE}.

[YOCTO #12937]

(From OE-Core rev: 6e82c394e98d57a2fe73e547922477cd6b0620f9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Martin Jansa
923a9e11b1 selftest: fitimage.py: respect INITRAMFS_IMAGE_NAME and KERNEL_FIT_LINK_NAME
* use these variables instead of assuming:
  "fitImage-its-%s-%s-%s" % (image_type, machine, machine)
  notice that these files have no extension and the -machine suffix
  is duplicated (once from core-image-minimal and once from
  kernel-fitimage.bbclass:kernel_do_deploy:append
  through KERNEL_FIT_LINK_NAME which is MACHINE by default:

  KERNEL_FIT_NAME ?= "${KERNEL_ARTIFACT_NAME}"
  KERNEL_FIT_LINK_NAME ?= "${KERNEL_ARTIFACT_LINK_NAME}"

  KERNEL_ARTIFACT_NAME ?= "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}"
  KERNEL_ARTIFACT_LINK_NAME ?= "${MACHINE}"

[YOCTO #12937]

(From OE-Core rev: d6e52428ca25d9b6ec2a52406f2d1859d05867d3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Martin Jansa
da44a469f0 image-artifact-names.bbclass: add INITRAMFS_IMAGE_NAME from kernel.bbclass
* move it from kernel.bbclass, because it needs to stay in sync with
  IMAGE_LINK_NAME structure

* image-artifact-names.bbclass is also inheritted from kernel-artifact-names.bbclass
  so every recipe which needs this variable probably already inherits one of these

* fixes kernel-fitimage.bbclass with modified IMAGE_LINK_NAME

[YOCTO #12937]

(From OE-Core rev: 432d0df0d771c8f0bef1e855ac6b0011b2c3cad2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Martin Jansa
a2b8fec289 selftest: runqemu: respect IMAGE_LINK_NAME
* don't assume that every built image is named:

  <recipe>-<machine>.<suffix>

[YOCTO #12937]

(From OE-Core rev: d3c1c983d062f0731610f4a6984126ec6dab8caf)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Martin Jansa
e1334b120e selftest: wic: respect IMAGE_LINK_NAME also in test_rawcopy_plugin_qemu
* this one is more tricky, because the test_rawcopy_plugin.wks.in file
  is used while building core-image-minimal-mtdutils, but the image filename
  inside wks.in is from core-image-minimal, so we cannot just let bitbake
  expand IMAGE_LINK_NAME, use separate variable set in the same config fragment
  IMAGE_LINK_NAME_CORE_IMAGE_MINIMAL

[YOCTO #12937]

(From OE-Core rev: 8864ee825fdc52fe7a8cf93876c81c639fba66f4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Martin Jansa
af9f67606c selftest: wic: respect IMAGE_LINK_NAME
* use IMAGE_LINK_NAME instead of hardcoding
  core-image-minimal-${MACHINE} assumption

[YOCTO #12937]

(From OE-Core rev: d6151aeb1e8f6162113b1123fa0f162536e48a44)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Martin Jansa
9dd62390e2 selftest: devtool: set BB_HASHSERVE_UPSTREAM when setting SSTATE_MIRROR
* with my build/conf/local.conf:
  SSTATE_DIR = "/OE/build/poky/build/sstate-cache"
  these devtool tests will first set own SSTATE_DIR and the original one set as SSTATE_MIRROR:

2023-03-11 11:51:46,837 - oe-selftest - INFO - test_devtool_update_recipe_append (devtool.DevtoolUpdateTests.test_devtool_update_recipe_append)
2023-03-11 11:51:46,846 - oe-selftest - DEBUG - Appending to: /OE/build/poky/build/build-st-2023-03-11-patch2/devtool.DevtoolUpdateTests.test_devtool_update_recipe_append/build-st/conf/selftest.inc
SSTATE_DIR = "/OE/build/poky/build/build-st-2023-03-11-patch2/devtool.DevtoolUpdateTests.test_devtool_update_recipe_append/build-st/sstate_devtool"
SSTATE_MIRRORS += "file://.* file:////OE/build/poky/build/sstate-cache/PATH"

* but that unfortunately leads to a warning from sanity.bbclass
  about SSTATE_MIRRORS without matching BB_HASHSERVE, because
  BB_HASHSERVE is set to "auto" by default

  these tests failing with:

2023-03-11 11:55:39,610 - oe-selftest - INFO - ======================================================================
2023-03-11 11:55:39,610 - oe-selftest - INFO - FAIL: test_devtool_update_recipe_append_git (devtool.DevtoolUpdateTests.test_devtool_update_recipe_append_git)
2023-03-11 11:55:39,610 - oe-selftest - INFO - ----------------------------------------------------------------------
2023-03-11 11:55:39,611 - oe-selftest - INFO - Traceback (most recent call last):
  File "/OE/build/poky/meta/lib/oeqa/selftest/cases/devtool.py", line 1118, in test_devtool_update_recipe_append_git
    self.assertNotIn('WARNING:', result.output)
AssertionError: 'WARNING:' unexpectedly found in 'NOTE: Starting bitbake server...\nWARNING: You are using a local hash equivalence server but have configured an sstate mirror. This will likely mean no sstate will match from the mirror. You may wish to disable the hash equivalence use (BB_HASHSERVE), or use a hash equivalence server alongside the sstate mirror.\nLoading cache...done.\nLoaded 0 entries from dependency cache.\nParsing recipes...done.\nParsing of 947 .bb files complete (0 cached, 947 parsed). 1764 targets, 52 skipped, 0 masked, 0 errors.\n\nSummary: There was 1 WARNING message.\nINFO: Updating SRCREV in recipe mtd-utils-selftest_git.bb\nNOTE: Writing append file /tmp/devtoolqa1m2lh02v/layer/recipes-devtools/mtd/mtd-utils-selftest_git.bbappend'
----------------------------------------------------------------------

* just setting BB_HASHSERVE to empty doesn't work, because then we
  would need to disable OEEquivHash as well as it fails with:

  ERROR: OEEquivHash requires BB_HASHSERVE to be set

(From OE-Core rev: 96d4392ee9c5c3674e5c4c4512f527a2ca6765e4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-22 13:53:29 +00:00
Richard Purdie
c7ee2d0236 poky-bleeding: Update and rework
This distro setting has bitrotted quite badly but the idea remains
a good one. Try and improve things by:

* using a class and a list of recipes to make things more readable
* drop settings for recipes which no longer use git
* drop obsolete PREFERRED_VERSION settings
* add a provider switch to use linux-yocto-dev
* reword to avoid "package" confusion with recipe

The distro then builds and highlighted a number of matchbox
issues which other patches address and improve.

(From meta-yocto rev: 00e974484d771dd015af1f2c0c547135555d24d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:47:01 +00:00
Tim Orling
614b2a8379 bitbake: toaster: update fixtures for mickledore
After updating gen_fixtures.py for 'mickledore' 4.2,
run './gen_fixutures.py --all' to update oe-core.xml
and poky.xml.

Drop langdale as support is ending soon.

(Bitbake rev: 282a3d618b565a60b8734ca0fb710db93023b5c8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:44:00 +00:00
Tim Orling
44d1001a68 bitbake: toaster: update gen_fixtures.py for mickledore
Update for 'mickledore' 4.2.0 release and bitbake 2.4 branching.
Drop 'langdale' as support will be ending soon.
Update stable branches to latest patch release.

(Bitbake rev: b01d369f6d6cccf77b23017ff343820d800d5621)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:44:00 +00:00
Mark Asselstine
312db493ee bitbake: build: Make python output print to stdout when running with -v (verbose)
When tasks are run with -v (verbose) on the bitbake commandline, shell
tasks print their stdout, python tasks do not.

This change redirects the python task's print output to an in memory
buffer. After the task is executed the output is printed to stdout via
the logger. This makes the python task behavior match the shell task
behavior when running with -v. The contents of the task's log files
remain unchanged after this change.

This approach should keep the correct order in most cases, however, if
the python task accesses the logger directly, that content will appear
before other output. On the other hand, this change should negate the
need for python tasks to access the logger directly.

Special care is taken to save/restore the existing stdout and stderr
and preventing sending output directly to the logger when there are
"recursive" calls, for instance when a python function calls a shell
function, avoiding printing things potentially out of order and/or
multiple times.

The logging-test.bb in meta-selftest can be used to review this
change. This has been tested with the full bblogging oeqa tests.

[Yocto #14544]

(Bitbake rev: 81a58647b2f4fc0a2589b2978fc9d81b2bfe6aec)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:44:00 +00:00
Mark Hatle
f475ef04ca tcf-agent: Update to current version
While there has not been an official release in some time, the latest version
fixes a large number of bugs and adds support for Dwarf 5, among other
things.  (Dwarf 5 is default in gcc 12 and newer.)

Short change log since the last version:
    TCF Agent: Narrow down LoadLibrary search scope
    TCF Agent: faster breakpoint planting
    Bug 581214 - Expression evaluation fails for a data member that is defined in a structure, union or class that is of type DW_AT_data_bit_offset attribute (DWARF5)
    TCF Agent: reduced memory footprint
    TCF Agent: fixed build error on CygWin: CYGWIN_VERSION_CYGWIN_CONV undefined
    TCF Agent: workaround for GCC compilation error: function may return address of local variable
    Bug 581034 - "long long int" data type can't be recognized from dwarf5 debug info generated by llvm15
    TCF Agent: Removal of unused variable causing clang-15 build error
    TCF Agent: fixed: malformed HTTP request can crash the agent
    TCF Agent: fixed assertion failure in the Breakpoints service
    TCF Agent: GDB Remote Serial Protocol: fixed handling of process ID 0
    Bug 580644 - steps into the function of shared library does not work on PPC
    TCF Agent: add PowerPC 32-bit and big-endian builds in the Dockerfile
    TCF Agent: check glibc version when calling pthread_setname_np()
    Bug 580600 - -Wmisleading-indentation issue for gcc version less than 6.0
    Bug 580489 - failed to handle .debug_rnglists section sometimes
    Bug 580450 - failed to read the full compilation unit tag in dwarf 5 when customized sections
    Bug 580414 - failed to handle debug sections for DWARF 5
    Bug 580326 - Can not display the type of global variable defined in a sharedlib
    Fixed text formatting in Makefile.inc
    Bug 580279 - VERSION grep in agent/Makefile.inc need update for vxWorks
    Bug 580089 - pid2id() failed to get a right id
    TCF Agent: improved comments
    TCF Agent: a few more asserts
    TCF Agent: improved X86 disassembler
    Bug 580002 - [tcf-dev] Speedup compute_reverse_lookup_indices
    Bug 579989 - compile error by vs2008 on windows
    TCF Agent: improved X86 disassembler
    Bug 579947 - NULL pointer caused the tcf-server crashed when load ELF file that compiled by LLVM 14 with dwarf-5
    TCF Agent: fixed Coverity warning
    TCF Agent: fixed Coverity warning
    TCF Agent: new function in HTTP server API: closed() call-back
    Merge "TCF Agent: Fix potential memory/resource leaks"
    TCF Agent: Fix potential memory/resource leaks
    TCF Agent: Fix unsafe strcpy
    TCF Agent: Respect certain ENABLE_* macros
    Bug 579412 - incorrect or missing copyright information
    TCF Agent: Lazy PC initialization
    Bug 579362 - the process IDs should be pid_t instead of UINT32 in waitpid.c and waitpid.h files
    Bug 579378 - update copyright year to 2022
    Bug 579274 - unknown option -Wmisleading-indentation issue for gcc version less than 6.0
    TCF Agent: ARM v8 stack crawl: fixed handling of ERET instruction
    TCF Agent: fixed handling of line info file names when file contains a mix DWARF 5 and DWARF 3
    TCF Tests: fixed incorrect error reports in DWARF reader test
    TCF Agent: disabled bogus warnings misleading-indentation
    TCF Agent: fixed handling of line info file names in DWARF 5
    TCF Agent: Expressions: fixed handling of a static field of a struct stored in a register
    TCF Agent: fixed error when building with c++-11
    TCF Agent: DWARF 5: improved handling of location expressions
    TCF Agent: DWARF reader: fixed regression - "FORM_FLAG expected" error
    TCF Agent: DWARF reader: new object flag DOIF_inlined
    TCF Tests: improved tests of var declarations
    TCF Agent: fixed regression: memory corruption in the symbols proxy
    TCF Agent: fixed issues with handling GCC-11 debug info
    TCF Agent: fixed warning: ISO C90 forbids mixed declarations and code
    TCF Agent: Fix stack frame cleanup on error
    TCF Agent: Add missing parentheses
    Bug 578201 - Sometimes variables show as "N/A - Cannot read target memory. Input/output error"
    Bug 577936 - dprintf not work as expected
    TCF Agent: lazy initialization in rand32()
    TCF Agent: new API function: rand32()
    TCF Agent: fixed possible buffer overflow when calling fscanf()
    Bug 577174 - Sometimes variables show as "N/A - Value of register is unknown in the selected frame"
    Bug 577064 - Union type variables don’t show correctly if based on a register
    TCF Agent: fixed: tmp_vprintf and loc_vprintf can segfault on Linux
    Bug 577001 - DW_AT_high_pc with DW_FORM_udata form not handled
    TCF Agent: fixed pthread_cond_timedwait() on Windows
    TCF Agent: Expressions service: improved error message

(From OE-Core rev: 34a6d0e6b23a42fbec5507ab22a5574ad1d38111)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Zang Ruochen
dddc019f58 maintainers.inc: Modify email address
zangrc.fnst@fujitsu.com -> zangruochen@loongson.cn

(From OE-Core rev: 329ee6f881dd2d4cf9466948b41a78d044c2cc8f)

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
10cde1b2ad python3-jsonpointer: rewrite testing
The tests installed by jsonpointer use unittest not pytest, so update
the dependencies.

Use the unittest runner in python3-unittest-automake-output to get the
correct output.

Apply a patch so the test suite doesn't run twice.

(From OE-Core rev: 595086756c6f24762e08cde9f9ed3e1056976d98)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
bd446d8207 python3-webcolors: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module.

(From OE-Core rev: 88b320cfb38b69b2d9035d2300359ff3d0dbd598)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
8914e4d723 python3-wcwidth: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module.

(From OE-Core rev: 7da8728e0b566bb326092b88140c2d8207893738)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
f9eb2fecf8 python3-pytz: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module.

(From OE-Core rev: 6be840f36c7ac06527714f7f083162eda4c14adf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
578cd2b611 python3-pyasn1: : use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module.

(From OE-Core rev: d83b60647bcbd32f57796085ed5f8e19c30e576a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
dc550f5490 python3-pluggy: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module.

(From OE-Core rev: adfaaba9389e1e8459e58a3cab0f2bebc623c4f5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
88a7b8fa65 python3-more-itertools: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module. The
tests also need the statistics module so add this missing dependency.

(From OE-Core rev: 68cc7d5343ee3617fd708954f55f0f2fc29390b3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
a299f7c591 python3-markupsafe: use python3-unittest-automake-output
(From OE-Core rev: 721b5a81b176dd0f2aafb2fe3587d28df383eb7b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
91a92e3774 python3-jinja2: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module.

(From OE-Core rev: def25193748fac40c4120e9a6e8861ae4c7ae760)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
870d6a760d python3-hypothesis: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module.

(From OE-Core rev: 5ad1c8beebc09754b5c7fc637102553398a50fbd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
60e764f772 python3-cryptography: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module.

This shows that the previous sed expression wasn't sufficient because it
didn't handle tests throwing an error, and now the bench/ tests fail
because we don't have pytest-benchmark.  These tests are more of a
benchmark than a unit test, so just skip them.

Also show a skip message instead of nothing if the tests were skipped
due to a lack of memory.

(From OE-Core rev: f22b60676159f729c081ba62fba4642629daa914)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
c2a663ebd7 python3-bcrypt: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module.

(From OE-Core rev: 6d81a8eeb42695c1d908a2ef9d60606c4eb7cf8f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
fc2cf1f819 python3-atomicwrites: use python3-unittest-automake-output
Instead of using sed to reformat the output use this new module.

(From OE-Core rev: 66907e95cf1e174c76ee8c495af1596cc1f63718)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:05 +00:00
Ross Burton
d5e7bbd147 python3-unittest-automake-output: add new recipe for ptest integration
This package contains modules for both unittest and pytest that alter
the output to look like automake's 'make check' output, for better
integration with ptest.

(From OE-Core rev: 961e4f3fc786715fc136fa446686972a4a95a3d5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:04 +00:00
Ross Burton
7c171f9493 python3: add missing -modules dependencies
The python3-modules package should depend on zoneinfo, and gdbm if it
was enabled.

(From OE-Core rev: 0e0a5a635f44931dd490ae6a99548f05bd5205a8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:04 +00:00
Ross Burton
88b981c295 python3: missing ptest dependencies
The tests need a broad set of locales and timezones to be installed.

(From OE-Core rev: 372233d7ad22e45aa31db0d6c0e989393f116dfe)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:04 +00:00
Ross Burton
d6b9d0bfed python3-numpy: add missing dependency for the tests
(From OE-Core rev: 3056ddfd08962114b2ee2a52bc7d421efe01bf69)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-21 22:42:04 +00:00
Michael Opdenacker
bb88c24452 ref-manual: variables.rst: update LAYERSERIES_COMPAT
- Replace by a reference to the description which was
  moved to the BitBake manual.

- Also drop the reference to the Yocto Project Development Tasks Manual
  which doesn't add extra information on this variable.

(From yocto-docs rev: 87cdda981fa6a3d05c559fb00e214214956346dc)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 13:16:52 +00:00
Michael Opdenacker
ee1a0825b7 ref-manual: system-requirements.rst: simplify supported distro requirements
- This allows to continue sharing the updated Ubuntu/Debian requirements
  with the brief-yoctoprojectqs/index.rst without indentation mismatches
  (caused by using the same macro in two different contexts: in direct
  text and in a bullet list).

- Update poky.yaml.in to adapt the number of spaces at the beginning
  of lines.

- brief-yoctoprojectqs/index.rst: fix bad number of spaces
  before quote block.

(From yocto-docs rev: 38a3228f8981674bc75de135246c4f9eff7b43a1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 13:16:52 +00:00
Michael Opdenacker
443a9f2658 poky.yaml.in, system-requirements.rst: update system requirements
- Update system requirements after making tests on basic Docker
  containers of:
  - Ubuntu 22.04
  - Fedora 37
  - OpenSuse Leap 15.4
  - AlmaLinux 9

- Including the need to have the en_US.UTF-8 locale on the system.

- Rename the CENTOS8_HOST_PACKAGES_ESSENTIAL macro to ALMALINUX_HOST_PACKAGES_ESSENTIAL
  As for the other distros, stop refering to a specific version of AlmaLinux. We mention
  the supported versions in the system-requirements.rst file anyway.

- Remove the unused CENTOS7_HOST_PACKAGES_ESSENTIAL macro

(From yocto-docs rev: f8b8680ff1f54b02572f240966169b9e129b05b1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Randy MacLeod <randy.macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 13:16:52 +00:00
Lee Chee Yang
0eb826a798 migration-guides: add release-notes for 4.1.3
(From yocto-docs rev: f8c4786c88fc8ecbd18add7ab9d9c8494f896aa8)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 13:16:52 +00:00
Lee Chee Yang
9be69ab87a migration-guides: add release-notes for 4.0.8
(From yocto-docs rev: 5c3120c14dde64191ef7d28f81c97f3b84c145dc)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Takayasu Ito <ito@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 13:16:52 +00:00
Michael Opdenacker
8355326ffa manuals: simplify references to the BitBake User Manual
- Replacing
  :ref:`bitbake:bitbake-user-manual/...`
  by :ref:`bitbake-user-manual/...`

  Adding "bitbake:" as a prefix is not necessary
  as there is no naming conflict between the YP
  and the BitBake manuals (all documents are in
  "bitbake-user-manual/")

- Explaining the rules in the README file

- When necessary, fixing line length in the modified paragraphs.

(From yocto-docs rev: d80b31705450cfb98d217ea44ba2edace2d64095)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 13:16:52 +00:00
Michael Opdenacker
1f8322c832 overview-manual: add missing link to BitBake User Manual
(From yocto-docs rev: 61d516d686cbca89ea6be9b39dcc276febfb7add)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 13:16:52 +00:00
Michael Opdenacker
8c49eb57b6 ref-manual: clarify explanations about feature backfilling
(From yocto-docs rev: edae43e60230ad5f2384f0a518b42fc08efc699e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Joshua Watt <JPEWhacker@gmail.com>
CC: Martin Jansa <martin.jansa@gmail.com>
CC: Tom Hochstein <tom.hochstein@nxp.com>
CC: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 13:16:52 +00:00
Yoann Congal
f559a61295 ref-manual: Add info on "mixin" layers
This is heavily inspired from:
https://wiki.yoctoproject.org/wiki/index.php?title=Stable_Release_and_LTS&oldid=84847#LTS_.E2.80.9CMixin.E2.80.9D_repositories

(From yocto-docs rev: 32673500cd760a5e85a16b1eeb92ad44e143f71b)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 13:16:52 +00:00
Frederic Martinsons
ee5e6a86fd bitbake: crate.py: authorize crate url with parameters
This allow to have classic fetch parameters
(like destsuffix, sha256, name ...) not being
considered by crate fetcher itself (and so mess
up its download)

Moreover, it allow to overload the name of the downloaded
crate (maybe usefull if there is a naming clash between
two crates coming from different repositories)

(Bitbake rev: 278bd2f1758b8af97552af8d23d16ffb5127a131)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-17 17:20:05 +00:00
Yash Shinde
dc2ac3ca4f binutils: Fix CVE-2023-25586
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;h=5830876a0cca17bef3b2d54908928e72cca53502]

(From OE-Core rev: c8b9196d8ae2452c36bc8c2863a3cca740b4999e)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-17 17:17:42 +00:00
Tim Orling
033d1edc42 python3-wheel: upgrade 0.38.4 -> 0.40.0
* Drop pyproject.toml patch, merged upstream

https://wheel.readthedocs.io/en/stable/news.html#release-notes

0.40.0 (2023-03-14)
* Added a wheel tags command to modify tags on an existing wheel (PR by
  Henry Schreiner)
* Updated vendored packaging to 23.0
* wheel unpack now preserves the executable attribute of extracted files
* Fixed spaces in platform names not being converted to underscores (PR
  by David Tucker)
* Fixed RECORD files in generated wheels missing the regular file attribute
* Fixed DeprecationWarning about the use of the deprecated pkg_resources
  API (PR by Thomas Grainger)
* Wheel now uses flit-core as a build backend (PR by Henry Schreiner)

License-Update: use LICENSE.txt for LIC_FILES_CHKSUM instead of PKG-INFO

(From OE-Core rev: d88ec936065f45851dd2a15bd8549c75e7746c75)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-17 17:17:42 +00:00
Khem Raj
4f09a93611 systemtap: Disable dangling-pointer warning
This is to fix build in RISCV64

| In constructor 'symresolution_info::symresolution_info(systemtap_session&, bool)',
|     inlined from 'int semantic_pass_symbols(systemtap_session&)' at ../git/elaborate.cxx:1884:28:
| ../git/elaborate.cxx:2601:21: error: storing the address of local variable 'sym' in '*s.systemtap_session::symbol_resolver' [-Werror=dangling-pointer=]
|  2601 |   s.symbol_resolver = this; // save resolver for early PR25841 function resolution
|       |   ~~~~~~~~~~~~~~~~~~^~~~~~
| ../git/elaborate.cxx: In function 'int semantic_pass_symbols(systemtap_session&)':
| ../git/elaborate.cxx:1884:22: note: 'sym' declared here
|  1884 |   symresolution_info sym (s);
|       |                      ^~~
| ../git/elaborate.cxx:1884:22: note: 's' declared here

(From OE-Core rev: dcc891059c5f3a17781febfff4a4280b4b7c8754)

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>
2023-03-17 17:17:42 +00:00
Piotr Łobacz
b9da0488f5 systemd: fix wrong nobody-group assignment
The generated /etc/group file had a wrong group name for nobody-group
which was nobody with same id as nogroup groupd. This was leading to
duplcate groups, with same ids and different names.

More can be read on this link:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=11766

(From OE-Core rev: d69fccf2e5d108dd7c6059310924588d36a45865)

Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-17 17:17:42 +00:00
Richard Purdie
bedf823032 resulttool: Improve overlapping ptest result reporting
With the move to a ptest per image, the multiple ptest log scenario
is much more likely. Tweak the handling to only warn if there are
overlapping files.

(From OE-Core rev: 8391f1668fcbe932ba846299b0ec22de09e06dd4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 22:52:15 +00:00
Chen Qi
6e071e0292 Revert "systemd-systemctl: Create machine-id with "uninitialized" text in it"
This reverts commit 33d9b3a8ed.

The reverted patch was forcing systemd to do preset-all at boot time (first boot)
in a function that simuilates 'preset-all' at rootfs time. This is not right.

To force a first boot, just do not run this function, as said in the comment:
"""
    # If we populate the systemd links we also create /etc/machine-id, which
    # allows systemd to boot with the filesystem read-only before generating
    # a real value and then committing it back.
    #
    # For the stateless configuration, where /etc is generated at runtime
    # (for example on a tmpfs), this script shouldn't run at all and we
    # allow systemd to completely populate /etc.
"""

For example, removing 'systemd_preset_all;' from IMAGE_PREPROCESS_COMMAND in some
distro conf file will achieve the same effect of the original patch.

(From OE-Core rev: a2ac09c32acfc2e076a7778447919d97553d38a2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 17:49:38 +00:00
Frederic Martinsons
0b937af08c cargo.bbclass: use offline mode for building
There should not be any network access during the build step so
specify this explicitely to cargo.
This will allow better error message, e.g:

| Caused by:
|  can't checkout from 'ssh://git@.../fmartinsons/zbus-git-dep-test.git': you are in  the offline mode (--offline)

Instead of

|   Updating git repository `ssh://git@.../fmartinsons/zbus-git-dep-test.git`
| warning: spurious network error (2 tries remaining): failed to resolve address for gitlab.com: Temporary failure in name resolution;class=Net (12)

(From OE-Core rev: 8e9ec03c73e8c09e223d6f6cce297df363991350)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 17:49:38 +00:00
Tim Orling
39594c12fc cracklib: update github branch to 'main'
(From OE-Core rev: ab041ca5d036c2a1a1514893c6ffb5c7188ff00f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 17:49:38 +00:00
Mingli Yu
47b0e320f4 mdadm: Fix raid0 tests
Backport patches to fix raid0 tests:
  tests/00raid0
  tests/00readonly
  tests/03r0assem
  tests/04r0update
  tests/04update-metadata

(From OE-Core rev: cb8ab2674d155fa8d90956c3522653b013ce6e6c)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 17:49:38 +00:00
Mingli Yu
78465fcbbb mdadm: fix tests/02lineargrow
Backport patch [1] to fix tests/02lineargrow.

[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=a2c832465fc75202e244327b2081231dfa974617

(From OE-Core rev: 4f7175b9af3f4407f6dfa1e1eb18b2c3d3a72c88)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 17:49:38 +00:00
Mingli Yu
375a784d8c mdadm: Fix testcase 06wrmostly
Backport patch [1] to fix the failure of the 06wrmostly test.

[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=41edf6f45895193f4a523cb0a08d639c9ff9ccc9

(From OE-Core rev: e7359d98ab588eb7969e4d26979cccae79095479)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 17:49:38 +00:00
Richard Purdie
4e18b5ebb0 openssl: Fix reproducibility issue
Fix an issue introduced in the new openssl version where an assembler file
isn't generated in a reproducible way by seeding the perl random number
generator consistently. It has no crypto impact, it is just used to
avoid function name clashes.

(From OE-Core rev: 448df3e1c02fe224d62f59a236fdcd47ea7e695f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 17:49:38 +00:00
Randy MacLeod
1fd13ab7e1 openssl: update from 3.0.8 to 3.1.0
>From the NEWS.md file:

  ### Major changes between OpenSSL 3.0 and OpenSSL 3.1.0 [14 Mar 2023]

  * SSL 3, TLS 1.0, TLS 1.1, and DTLS 1.0 only work at security level 0.
  * Performance enhancements and new platform support including new
    assembler code algorithm implementations.
  * Deprecated LHASH statistics functions.
  * FIPS 140-3 compliance changes.

Drop the upstreamed afalg.patch:
   c425e365f4 Configure: don't try to be clever when configuring afalgeng

(From OE-Core rev: 71c763ed4fbbea22a6a0b145e4e29436c7e59625)

Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 17:49:38 +00:00
Richard Purdie
d213c68c6d matchbox-terminal: Fix PV to match standard format
(From OE-Core rev: 48b6f5e0d65cfa2410cb24b9a3ab47d181cf7a5e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 13:48:21 +00:00
Wang Mingyu
bb839ca78d python3-urllib3: upgrade 1.26.14 -> 1.26.15
Changelog:
==========
* Fix socket timeout value when "HTTPConnection" is reused ('#2645 <https://github.com/urllib3/urllib3/issues/2645>'__)
* Remove "!" character from the unreserved characters in IPv6 Zone ID parsing
  ('#2899 <https://github.com/urllib3/urllib3/issues/2899>'__)
* Fix IDNA handling of '\x80' byte ('#2901 <https://github.com/urllib3/urllib3/issues/2901>'__)

(From OE-Core rev: 8e062efbac29a81831c3060bcae601dc533d65dd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Wang Mingyu
6651b63d1b python3-testtools: upgrade 2.5.0 -> 2.6.0
Improvements
------------
* Add support for Python 3.10 and 3.11.
* Drop support for Python 3.5 (EOL).
* Distutils integration is deprecated and will be removed in the next major
  version.
* Use "CompoundFixture" from "fixtures>=2.0" rather than rolling our
  own.
* Provide a "testtools[twisted]" extra documenting dependencies needed for
  "testtools.twistedsupport".
* Make "TestCase" hashable.
* Prevent "AttributeError" in "TestCase.__eq__" for objects lacking a
  "__dict__" attribute.
* Replace deprecated "cgi" module usage with "email".

(From OE-Core rev: c0d0428deabf519e86bc0ffb7ff47e9bb0a165c4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Wang Mingyu
26c1576ab6 python3-scons: upgrade 4.4.0 -> 4.5.1
Changelog:
==========
- Fix a problem in 4.5.0 where using something like the following code
  will cause a Clone()'d environment to share the CPPDEFINES with the
  original Environment() which was cloned. Causing leakage of changes
  to CPPDEFINES when they should be completely independent after the Clone.
      env=Environment(CPPDEFINES=['a'])
      env.Append(CPPDEFINES=['b']) (or AppendUnique,Prepend,PrependUnique)
      env1=env.Clone()
      env1.Append(CPPDEFINES=['c']) (or any other modification, but not overwriting CPPDEFINES
  Now env['CPPDEFINES'] will contain 'c' when it should not.
- Do not initialize DefaultEnvironment when calling EnsureSConsVersion(),
  EnsurePythonVersion(), Exit(), GetLaunchDir() and SConscriptChdir().
- Remove unused private method SConsEnvironment._exceeds_version().
- Added ValidateOptions() which will check that all command line options are in either
  those specified by SCons itself, or by AddOption() in SConstruct/SConscript.  It should
  not be called until all AddOption() calls are completed. Resolves Issue #4187
- Refactored SCons/Taskmaster into a package. Moved SCons/Jobs.py into that package.
  NOTE: If you hook into SCons.Jobs, you'll have to change that to use SCons.Taskmaster.Jobs
- Changed the Taskmaster trace logic to use python's logging module. The output formatting
  should remain (mostly) the same. Minor update to unittest for this to adjust for 1 less newline.
- Migrated logging logic for --taskmastertrace to use Python's logging module. Added logging
  to NewParallel Job class (Andrew Morrow's new parallel job implementation)
- Ninja: Fix execution environment sanitation for launching ninja. Previously if you set an
  execution environment variable set to a python list it would crash. Now it
  will create a string joining the list with os.pathsep
- Move execution environment sanitation from Action._subproc() to
  SCons.Util.sanitize_shell_env(ENV)
- Moved rpm and debian directories under packaging
- Added logic to help packagers enable reproducible builds into packaging/etc/. Please
  read packaging/etc/README.txt if you are interested.
- Added --experimental=tm_v2, which enables Andrew Morrow's new NewParallel Job implementation.
  This should scale much better for highly parallel builds. You can also enable this via SetOption().
- Fixed command line argument --diskcheck: previously a value of 'none' was ignored.
  SetOption('diskcheck','none') is unaffected, as it did not have the problem.
- Added overrides argument to SCons.Subst.scons_subst(), subst_list(), subst(), and Action's process(),
  strfunction(). This allows passing a dictionary of envvars to override when evaluating subst()'d strings/lists
- Fixed Issue #4275 - when outputting compilation db and TEMPFILE was in use, the compilation db would have
  command lines using the generated tempfile for long command lines, instead of the full command line for
  the compilation step for the source/target pair.
- Renamed the qt tools to qt3 since the logic in that tool is only for QT version 3.  Renamed all env vars
  which affect qt3 from QT_ to QT3_.  If you are still using SCons to build QT 3 code, you'll need to update
  your SConscripts.  Note that using 'qt' tool has been deprecated for some time.
- Added JAVAPROCESSORPATH construction variable which populates -processorpath.
- Updated JavaScanner to scan JAVAPROCESSORPATH.
- Added FILE_ENCODING, to allow explicitly setting the text encoding for files
  written by the Textfile() and Substfile() builders. If not specified, Textfile() and Substfile() builders
  will write files as UTF-8. Fixed Issue #4302.
- Add newline to end of compilation db (compile_commands.json).
- Added error message to handle the case when SCons attempts to retrieve all the targets
  for a specified builder from the CacheDir, fails to do so, and then runs into an error
  when deleting the files which were retrieved. Previously if this happened there was no
  errors or warnings.
- Fix issue #2757, where Configure checks that perform a check which reads a modified source
  (including program, source or header file(s)) would incorrectly mark that file "up to date" so the
  actual build would not see the file as modified. Leading to incorrect incremental builds.
  Now configure checks now clear node info for non conftest nodes, so they will be re-evaluated for
  the real taskmaster run when the build commences.
- Avoid returning UniqueList for `children` and other `Executor` APIs. This type
  iterates more slowly than the builtin types. Also simplify uniquer_hashables to
  use an faster implementation under the assumption of ordered dictionaries.
- Fixed runtest.py failure on Windows caused by excessive escaping of the path to python.exe.
- Run LaTeX after biber/bibtex only if necessary
- Added -fsanitize support to ParseFlags().  This will propagate to CCFLAGS and LINKFLAGS.
- A list argument as the source to the Copy() action function is now
  correctly handled by converting elements to string. Copy errors out
  if asked to copy a list to an existing non-directory destination.
  Both the implementation and the strfunction which prints the progress
  message were adjusted. Fixes #3009.
- doc: EnsureSConsVersion, EnsurePythonVersion, Exit, GetLaunchDir and
  SConscriptChdir are now listed as Global functions only; the
  Environment versions still work but are not documented.
- The Java scanner processing of JAVACLASSPATH for dependencies was
  changed to split on os.pathsep instead of space, to match usage of
  passing a path string like "xxx:yyy:zzz". This is not portable -
  passing a POSIX-style path string (with ':') won't work on Windows
  (';') - which is now documented with a hint to use a list instead
  to be portable. Splitting on space broke paths with embedded spaces.
  Fixes #4243.
- Cleanup: make sure BoolVariable usage in tests and examples uses Python
  boolean values instead of 0/1.
- Stop telling people to run "python setup.py install" in the User Guide.
  Adds new content on using virtualenvs to be able to have multiple
  different SCons versions available on one system.
- Added the "DefaultEnvironment(tools=[])" stanza to a number of tests
  that are known to be particularly slow.  It's still just a tiny
  speedup, but the Windows CI had been occasionally timing out,
  so maybe this helps a bit.
- Remove an extra existence check in one ninja test that caused it
  to be skipped on some otherwise-valid Windows installations.
- test framework tests now pass on Linux and Windows (the latter can
  still run into problems on some configurations), and automated
  tests are now run on changes in this area so future problems can
  be spotted.
- The single-file Util module was split into a package with a few
  functional areas getting their own files - Util.py had grown to
  over 2100 lines.
- Add a zipapp package of scons-local: can use SCons from a local
  file which does not need unpacking.
- Additional explanations for MSVSProject and MSVSSolution builders.
- Fix a problem (present in 4.4.0 only) where a Java inner class could
  not be cached because the emitted filename contained a '$' and when
  looked up through a node ended up generating a Python SyntaxError
  because it was passed through scons_subst().
- Have the gfortran tool do a better job of honoring user preferences
  for the dialect tools (F77, F90, F03 and F09, as well as the shared-library
  equivalents SHF77,  SHF90, SHF03, SHF09). Previously these were
  unconditionally overwritten to 'gfortran'; the change should be more
  in line with expectations of how these variables should work.
  Also cleaned a few Fortran tests - test behavior does not change.
- Updated MSVC documentation - adds "version added" annotations on recently
  added construction variables and provides a version-mapping table.
- Add Python 3.12 support, and indicate 3.11/3.12 support in package.
  3.12 is in alpha for this SCons release, the bytecode sequences
  embedded in SCons/ActionTests.py may need to change later, but
  based on what is known now, 3.12 itself should work with this release.
- Add "append" keyword argument to Configure context's CheckLib and
  CheckLibWithHeader to control whether to append or prepend (issue #2767)
  Also added "unique" keyword, to control whether a library is added
  or not if it is already in the $LIBS construction var in the
  configure context. (issue #2768).
- Completely refactored the CPPDEFINES logic in Append/AppendUnique/Prepend/PrependUnique
  This change fixes the following GH Issues:
  - GH Issue #3876 - Append() and AppendUnique() will handle CPPDEFINES the same
  - GH Issue #4254 - Make handling tuples in CPPDEFINES consistent.
  - We no longer sort the keys added to CPPDEFINES by their dictionary keys.
    We take advantage that their order is now stable based on insertion order
    in Python 3.5+
  - Added/modifed unit and system tests to verify these changes.

(From OE-Core rev: 158785d12a18e221be4a1fa35851c35214eee591)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Wang Mingyu
ee31d67e1b python3-pytest: upgrade 7.2.1 -> 7.2.2
Bug Fixes
=========
 #10533: Fixed pytest.approx() handling of dictionaries containing one or more values of 0.0.
 #10592: Fixed crash if --cache-show and --help are passed at the same time.
 #10597: Fixed bug where a fixture method named teardown would be called as part of nose teardown stage.
 #10626: Fixed crash if --fixtures and --help are passed at the same time.
 #10660: Fixed pytest.raises() to return a ‘ContextManager’ so that type-checkers could narrow pytest.raises(...) if ... else nullcontext() down to ‘ContextManager’ rather than ‘object’.

Improved Documentation
======================
 #10690: Added CI and BUILD_NUMBER environment variables to the documentation.
 #10721: Fixed entry-points declaration in the documentation example using Hatch.
 #10753: Changed wording of the module level skip to be very explicit about not collecting tests and not executing the rest of the module.

(From OE-Core rev: e99106eec6e4b0017b621844092c12791b02ca11)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Wang Mingyu
c703be6ae8 python3-poetry-core: upgrade 1.5.1 -> 1.5.2
Fixed
=======
 Fix an issue where wheels built on Windows could contain duplicate entries in the RECORD file (#555).

(From OE-Core rev: 8270be34afa7ccde7306f31387b2082971caa239)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Wang Mingyu
4b9fbcaea0 python3-setuptools: upgrade 67.4.0 -> 67.6.0
Changelog:
=========
#3804: Added caching for supported wheel tags.
#3846: Added pruning heuristics to PackageFinder based on exclude.
#3843: Although pkg_resources has been discouraged for use, some projects still
consider pkg_resources viable for usage. This change makes it clear that
pkg_resources should not be used, emitting a DeprecationWarning when imported.

(From OE-Core rev: 31ad28d785d199716d98550193c9d3a9877b94ef)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Wang Mingyu
8627899ad1 grep: upgrade 3.8 -> 3.9
Bug fixes
==========
  With -P, some non-ASCII UTF8 characters were not recognized as
  word-constituent due to our omission of the PCRE2_UCP flag. E.g.,
  given f(){ echo Perú|LC_ALL=en_US.UTF-8 grep -Po "$1"; } and
  this command, echo $(f 'r\w'):$(f '.\b'), before it would print ":r".
  After the fix, it prints the correct results: "rú:ú".

  When given multiple patterns the last of which has a back-reference,
  grep no longer sometimes mistakenly matches lines in some cases.
  [Bug#36148#13 introduced in grep 3.4]

(From OE-Core rev: 59a2cad44782eb04a304d0b7a1022570d08477b0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Richard Purdie
e59e7a1ff8 matchbox-config-gtk: Update to latest SRCREV
License changes were the addition of SPDX license headers and license
header fixes.

(From OE-Core rev: 3466aace65faad08c98188b7072d92f5ba597fa3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Richard Purdie
b95a723a99 matchbox-terminal: Update to latest SRCREV
License changes were the addition of SPDX license headers and license
header fixes.

(From OE-Core rev: 08b6100a6eaf0a640004bbe71f8f12ac169d2f30)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Richard Purdie
de7f6b6cba matchbox-desktop-2: Update 2.2 -> 2.3
License changes were the addition of SPDX license headers and license
header fixes.

(From OE-Core rev: 3177ca0dea44c7ef2121127dfa85cf65e7a4fa6a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Richard Purdie
ea57a0cb1f matchbox-panel-2: Update 2.11 -> 2.12
License changes were the addition of SPDX license headers and license
header fixes.

(From OE-Core rev: 6761b8d781314dd9170c3810d42bd83aa67b40c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Richard Purdie
bcf177b3d3 matchbox-wm: Update 1.2.2 -> 1.2.3
Drop a patch merged in the upstream repo.
License changes are due to the addition of SPDX license headers.

(From OE-Core rev: 3409b6b22c7c443e9f4d6c1a5b5f740eaa6587ac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Richard Purdie
f26158603b pybootchart: Fix extents handling to account for cpu/io/mem pressure changes
The previous addition of pressure values to the chart didn't fix the extents
function which meant the bottom of the chart was cut off. Fix that.

(From OE-Core rev: cc8cef69e717e08f80d10f775f0fffc644267b59)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Richard Purdie
539ec94f17 pybootchartui: Fix python syntax issue
Fix:

scripts/pybootchartgui/pybootchartgui/parsing.py:134: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pid is 0:

(From OE-Core rev: c9a6511ae618035b8efad01646e37ba28ce1e3f8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-16 08:13:12 +00:00
Richard Purdie
37b5d544d3 scripts/combo-layer: Fix python deprecation warning
Address:
DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13

pipes.quote is an alias for shlex.quote so switch to that.

(From OE-Core rev: 7b1c1dd9985a6f1645271a928dda7f1897a7ba8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:11 +00:00
Changqing Li
e4dc18f600 cpio: fix ptest failure
Fix following ptest failure:
/usr/lib64/cpio/ptest/run-ptest: line 7: cd: /usr/lib/cpio/ptest/tests/: No such file or directory

(From OE-Core rev: 1809329c336cb509349bd39f13cc78acd8efe0cd)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:11 +00:00
Martin Jansa
607ad000c1 tzcode-native: fix build with gcc-13 on host
* passing -std=c2x to avoid build failure with gcc-13 on host
  works as well, but the resulting zic then segfaults when
  used in tzdata, use a fix from upstream instead

* reported upstream in https://mm.icann.org/pipermail/tz/2023-March/032690.html

* fixes:
  http://errors.yoctoproject.org/Errors/Details/697913/

(From OE-Core rev: 5dabf677f38c209fb6a8ba837d5a66fd89f57d4d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:11 +00:00
Martin Jansa
5ec86bd4fa git-submodule-test: disable upstream version check
* this is one of the failures from distrodata.Distrodata.test_checkpkg:

  2023-03-11 14:26:21,482 - oe-selftest - INFO - ======================================================================
  2023-03-11 14:26:21,482 - oe-selftest - INFO - FAIL: test_checkpkg (distrodata.Distrodata.test_checkpkg)
  2023-03-11 14:26:21,482 - oe-selftest - INFO - ----------------------------------------------------------------------
  2023-03-11 14:26:21,482 - oe-selftest - INFO - Traceback (most recent call last):
    File "/OE/build/poky/meta/lib/oeqa/selftest/cases/distrodata.py", line 40, in test_checkpkg
      self.assertTrue(len(regressed_failures) == 0 and len(regressed_successes) == 0, msg)
  AssertionError: False is not true :
  The following packages failed upstream version checks. Please fix them using UPSTREAM_CHECK_URI/UPSTREAM_CHECK_REGEX
  (when using tarballs) or UPSTREAM_CHECK_GITTAGREGEX (when using git). If an upstream version check cannot be performed
  (for example, if upstream does not use git tags), you can set UPSTREAM_VERSION_UNKNOWN to '1' in the recipe to acknowledge
  that the check cannot be performed.
  git-submodule-test
  binutils

  Stdout:
  Loading cache...done.
  Loaded 0 entries from dependency cache.
  Parsing recipes...done.
  Parsing of 947 .bb files complete (0 cached, 947 parsed). 1764 targets, 46 skipped, 0 masked, 0 errors.
  ----------------------------------------------------------------------
  2023-03-11 14:26:21,482 - oe-selftest - INFO - Ran 1 test in 193.764s
  2023-03-11 14:26:21,482 - oe-selftest - INFO - FAILED
  2023-03-11 14:26:21,483 - oe-selftest - INFO -  (failures=1)
  2023-03-11 14:26:26,258 - oe-selftest - INFO - RESULTS:

  martin@jama /OE/build/poky/build $ devtool check-upgrade-status git-submodule-test
  NOTE: Could not list remote: Fetcher failure for URL: 'gitsm://git.yoctoproject.org/git-submodule-test;branch=master'.
    The command git -c gc.autoDetach=false -c core.pager=cat ls-remote git://git.yoctoproject.org/git-submodule-test refs/tags/* gave empty output unexpectedly
  INFO: git-submodule-test        1.0             UNKNOWN_BROKEN  None

  and there are no tags in this test repo:
  $ git ls-remote git://git.yoctoproject.org/git-submodule-test
  a2885dd7d25380d23627e7544b7bbb55014b16ee        HEAD
  d199bbf9ed2216bd1f38aec000d865ae08279119        refs/heads/changed-url
  a2885dd7d25380d23627e7544b7bbb55014b16ee        refs/heads/master
  049da4a6cb198d7c0302e9e8b243a1443cb809a7        refs/heads/ssh-gitsm-tests
  bbe99a1465c5cc52720936d075ddbc5ebe2ed731        refs/meta/cgit

* the binutils failure is strange, when I've added some debug output
  to see why it's listed the issue disappeared, maybe some temporary
  network glitch or something

(From OE-Core rev: 3d1951902d8ad87baae5216e8e12a7d3356a923c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:11 +00:00
Martin Jansa
55f18e3edb tzdata: use separate B instead of WORKDIR for zic output
* avoid copying whole exec_prefix over base_prefix as there
  were only zoneinfo files anyway

(From OE-Core rev: 37846f8735683ed0fab5ef5c12d77c6041348801)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:11 +00:00
Martin Jansa
6150e55410 timezone: use 'tz' subdir instead of ${WORKDIR} directly
(From OE-Core rev: bc53ccaf82c57826acac5f9c2557e403ec367807)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:11 +00:00
Ross Burton
9db9f8c575 resulttool: add log --list-ptest
Add a convenience argument to the log subcommand to list all of the
ptest logs in a testresults file.

(From OE-Core rev: cd2d7adf02005d46f19c93a40db1e10ce01ac261)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:11 +00:00
Ross Burton
37ab2ecbb7 lib/resulttool: fix typo breaking resulttool log --ptest
ptestresult_get_log() looked for a key called 'ptestresuls.sections',
which should be 'ptestresult.sections'

(From OE-Core rev: 7c8c9f7283e54bf8b1521fbaad7dceb66a8fcdbb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:11 +00:00
Ross Burton
a683f6e45a vim: upgrade to 9.0.1403
This incorporates fixes for CVE-2023-1127, CVE-2023-1170, CVE-2023-1175.

Also remove runtime/doc/uganda.txt from the license checksum: the Vim
license is also in the top-level LICENSE file so this is redundant.

(From OE-Core rev: 71111e6b62d37c5e6853d7940dec2993df127a35)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:11 +00:00
Mikko Rapeli
ac59487364 oeqa rtc.py: skip if read-only-rootfs
hwclock command fails on read-only-rootfs:

AssertionError: 1 != 0 : Failed to reset RTC time, output: hwclock: cannot open /etc/adjtime: Read-only file system

(From OE-Core rev: 017bf8c160f6ab67d9f8e8d9e30b15bf84f73807)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:11 +00:00
Ross Burton
381d33eb5d vim: set modified-by to the recipe MAINTAINER
Clause II.3 of the Vim license states that any distribution of Vim that
has been extended or modified must _at least_ indicate in the :version
output that this is the case.

Handily, Vim has a --with-modified-by argument to add a line in that
text, so use MAINTAINER.  This is the distribution maintainer contact,
by default it is OE-Core Developers
<openembedded-core@lists.openembedded.org>.

(From OE-Core rev: acc007e23445aa53182e13902dd9509c39dd5645)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:11 +00:00
Martin Jansa
ac5c42477b npm.bbclass: avoid DeprecationWarning with new python
meta/classes-recipe/npm.bbclass:85: DeprecationWarning: invalid escape sequence '\.'
  '--transform', 's,^\./,package/,',

(From OE-Core rev: 47f102cfbbaa83d17999747233a81f1b570f448e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:10 +00:00
Martin Jansa
198512c27b file: add few more PACKAGECONFIGs to avoid autodetected deps from host
* there are few more autodetected compression libs
  --disable-zlib          disable zlib compression support [default=auto]
  --disable-bzlib         disable bz2lib compression support [default=auto]
  --disable-xzlib         disable liblzma/xz compression support
  --disable-zstdlib       disable zstdlib compression support [default=auto]
  --disable-lzlib         disable liblz (lzip) compression support

  and lzlib was detected on my gentoo (even when it doesn't say that default
  is auto detection)

  I've noticed this, because I've reused sstate-cache from my gentoo build
  in docker container with ubuntu-23.04 and esdk.oeSDKExtSelfTest.test_install_libraries_headers
  test was now failing with:

  Exception: subprocess.CalledProcessError: Command '/OE/build/poky/build/build-st-2023-03-12-esdk-patch1/esdk.oeSDKExtSelfTest.test_install_libraries_headers/build-st/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/recipe-sysroot-native/usr/bin/createrepo_c --update -q /OE/build/poky/build/build-st-2023-03-12-esdk-patch1/esdk.oeSDKExtSelfTest.test_install_libraries_headers/build-st/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/oe-sdk-repo' returned non-zero exit status 127.

  Subprocess output:
  /OE/build/poky/build/build-st-2023-03-12-esdk-patch1/esdk.oeSDKExtSelfTest.test_install_libraries_headers/build-st/tmp/work/x86_64-nativesdk-pokysdk-linux/buildtools-tarball/1.0-r0/recipe-sysroot-native/usr/bin/createrepo_c: error while loading shared libraries: liblz.so.1: cannot open shared object file: No such file or directory

  and liblz.so.1 ended in createrepo_c.real because of libmagic.so from file-native-replacement.

* use PACKAGECONFIG for seccomp as well and keep it disabled as it was
  explicitly disabled before (${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)}
  can be added to default PACKAGECONFIG later if someone finds it useful)

(From OE-Core rev: b7c51fe740f00f60c591099fe5c2155b2126068c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:13:10 +00:00
Xiangyu Chen
f7a1843154 sudo: update 1.9.12p2 -> 1.9.13p3
(From OE-Core rev: 7d5193a9437dedb3f2cf35cb466acfe29cfa654e)

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>
2023-03-14 17:10:00 +00:00
Peter Marko
3a861f2204 go: use go as CVE product for all golang recipe veriants
All golang vulnerabilities are reported under product 'go'.

By default there is no vulnerability reported for images with
golang components because none of used golang packages
have correct CVE product set:
* go-binary-native
* go-runtime
* go-cross-*

(From OE-Core rev: 09f3a27a809bbec9b08c4e4a2b846b68f386c35c)

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>
2023-03-14 17:10:00 +00:00
Clément Péron
1f6b7ec6a4 runqemu: add an option to enable guest-agent virtio device
Add support to the runqemu script for a new option, 'guestagent', that
enables the virtio serial port for host-to-guest communication.

(From OE-Core rev: 21a1e52079089c5bbeee8ffc9c504471f4a8732a)

Signed-off-by: Brenda Streiff <brenda.streiff@ni.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:10:00 +00:00
Clément Péron
1c01cbaed5 qemu: split out qemu-guest-agent, add startup scripts
Split out the QEMU guest agent into a separate package. The agent is
intended to be installed within a QEMU VM guest where a user is likely
to not want to have the rest of the QEMU installation within it.

Additionally, an initscript, udev rules file, and systemd unit file are
added to the package so that the guest agent can start automatically;
the former two come from Debian's packaging for qemu-guest-agent.

(From OE-Core rev: d62fd31c70a9161596594f43c58c73898bfcf52c)

Signed-off-by: Brenda Streiff <brenda.streiff@ni.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:10:00 +00:00
Romuald Jeanne
7c2b42695d image_types: fix multiubi var init
Make sure to expand all MKUBIFS_ARGS_<label> and UBINIZE_ARGS_<label> vars
in 'do_image_multiubi' task to use them to init the local 'mkubifs_args'
and 'ubinize_args' vars.

See [YOCTO #15065]

(From OE-Core rev: 09d05215cf61981c7bc828cc0ff64c2fd5edc43c)

Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:10:00 +00:00
Khem Raj
7e133f89f6 systemd.bbclass: Add /usr/lib/systemd to searchpaths as well
Some packages like lirc places its unit files into $systemd_user_unitdir
and also uses them in SYSTEMD_SERVICE list in recipe. This fails in
do_package

ERROR: Didn't find service unit 'lircmd.service', specified in SYSTEMD_SERVICE:lirc.

here lircmd.service is installed in /usr/lib/systemd/system/lircmd.service

(From OE-Core rev: 12808a4159835b67d8d53d32bc9135811701a779)

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>
2023-03-14 17:10:00 +00:00
Zoltan Boszormenyi
6690023f28 pypi.bbclass: Set SRC_URI downloadfilename with an optional prefix
This allows avoiding clashes between source archives of a main
project and a pypi project using the same name and version.

The new optional setting is PYPI_ARCHIVE_NAME_PREFIX which is empty
by default so previous downloads can be used. Example usage:

PYPI_ARCHIVE_NAME_PREFIX = "pypi-"

(From OE-Core rev: 6f9a6a3dbe5c8eb9f0d19987410932fec3d6dd1a)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:10:00 +00:00
Alexander Kanavin
31bdac666f devtool/upgrade: do not delete the workspace/recipes directory
If it exists, there is no need to delete it, and if it does not,
devtool prints an ugly traceback.

(From OE-Core rev: af82e59e8f08369aabd5fa6eb43022982d4e59a7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:10:00 +00:00
Romuald JEANNE
3c80abad54 image_types: fix vname var init in multiubi_mkfs() function
As vname var is needed in multiubi_mkfs() function, we need to keep it
defined and use it as parameter to the new write_ubi_config() function.

See [YOCTO #15027]

(From OE-Core rev: 8b5e1cce35e129b21d871ab45b03811fdb6eaf8f)

Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 17:10:00 +00:00
Sudip Mukherjee
cafed97671 libgit2: update license information
The LICENSE did not have complete information.
Some examples of missing license:

Zlib: deps/zlib/
ISC: tests/clar/clar.c
LGPL-2.1-or-later: src/libgit2/xdiff/xdiffi.c
CC0-1.0: src/util/rand.c

(From OE-Core rev: 5560a0e15bd860a59671a66cc76ad1bb7e07c9d1)

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 07:21:04 +00:00
Ross Burton
e53ed50b87 poky: set MAINTAINER clearly
The default Poky-specific MAINTAINER assignment makes it look like the
maintainer is a person called Poky.

Instead, use "Poky Maintainers" as the name.

(From meta-yocto rev: 8e17aeb3fd3246ae59119e3e1c693a4f9a3b3420)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 07:18:59 +00:00
Khem Raj
ba451b771f systemd: Fix musl fix patch
Current patch with fail when stdint.h is in include path before this
typedef which can also happen with re-includes. Therefore shunt that
by defining __DEFINED_wchar_t which helps musl builds of systemd-boot
recipe

(From OE-Core rev: 7fce95e47601f766b384bc0d5805986ad933681f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 07:17:47 +00:00
Richard Purdie
3419f8340c ptest-packagelists: Simplify ptest list/code
All the usage sites remove the -ptest suffix. Simply the original list
instead and clean up the code.

(From OE-Core rev: 4a28057849f9edc6ac06d115531f579673d788b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 07:17:47 +00:00
Richard Purdie
5850561b05 core-image-ptest: Switch to BBCLASSEXTEND parallel execution
Replace the two images where tests are run serially with an image
per ptest in the form core-image-ptest-XXX using class extensions.

The original two images are then replaced with dependencies on these
images. This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested indvidually.

(From OE-Core rev: f3f63ff01971df7d67213a7e7b1294489a5d3c0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 07:17:47 +00:00
Richard Purdie
f84c07deeb base-files: Drop localhost.localdomain from hosts file
This was likely something we took inspiration from elsewhere with.
It was added in:

https://git.openembedded.org/openembedded/commit/packages/netbase/netbase/hosts?id=c8e5702127e507e82e6f68a4b8c546803accea9d

in 2005. Debian added this entry around 2004 and discussed and dropped
it in 2005:

https://lists.debian.org/debian-devel/2005/10/msg00559.html

resulting in:

3c15ee521b

We should drop this for some of the reasons in those threads,
it doesn't seem to be doing anything too helpful and isn't what most
applications expect.

(From OE-Core rev: e730d005fa8aec07f9ae25c58d4566eaa92a6997)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 07:17:47 +00:00
Richard Purdie
2ba8593b95 oeqa/selftest/sstate: Split classes to allow more parallelism
By splitting the single class into multiple classes, it allows more parallelism
in the execution. These tests don't have interdependencies that benefit
from sstate reuse or anything like that so this makes sense to improve overall
test execution time if/where possible.

(From OE-Core rev: 9dbc2f4ebbde47b1c997948a9690ffb8eb29b552)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-13 17:35:22 +00:00
Richard Purdie
2420625414 oeqa/selftest/sstate: Move common code to base class
Move the other common shares test functions to the base class to
improve the code structure.

(From OE-Core rev: de3e6f85c5537a3571ffbe2326b73f2c2526bce2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-13 17:35:22 +00:00
Richard Purdie
a4c484b8cb oeqa/selftest/sstate: Merge sstate test class with tests themselves
Having this base class as a separate file is just confusing. Merge with
the rest of the test code.

(From OE-Core rev: 977522a3b063225e22e2fd04b8265a4595606db2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-13 17:35:22 +00:00
Richard Purdie
4eb546cf1c selftest/recipetool: Stop test corrupting tinfoil class
Running recipetool.RecipetoolTests.test_recipetool_handle_license_vars
followed by wic.Wic2.test_biosplusefi_plugin_qemu would show a failure of:

  File "/media/build/poky/meta/lib/oeqa/utils/commands.py", line 351, in runqemu
    qemu = oeqa.targetcontrol.QemuTarget(recipedata, targetlogger, image_fstype)
  File "/media/build/poky/meta/lib/oeqa/targetcontrol.py", line 116, in __init__
    use_kvm = oe.types.qemu_use_kvm(d.getVar('QEMU_USE_KVM'), d.getVar('TARGET_ARCH'))
  File "/media/build/poky/meta/lib/oe/types.py", line 182, in qemu_use_kvm
    if kvm and boolean(kvm):
  File "/media/build/poky/meta/lib/oe/types.py", line 128, in boolean
    raise ValueError("Invalid boolean value '%s'" % value)
ValueError: Invalid boolean value '/media/build/poky/meta/files/common-licenses'

which made no sense until you realise the recipetool test is corrupting
the tinfoil class. Work on a copy instead to avoid this.

(From OE-Core rev: 7fe76fe17f67c1bbd108d02836692fed20d24771)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-13 17:35:22 +00:00
Martin Larsson
3bff360ff3 libpam: Remove flex dependency
libpam does not have a direct build time dependency toward flex.

The libpam code does not have any references to the lib and does not use
flex for anything else at runtime.

(From OE-Core rev: d48fc8e1f26120e75377caefb5f66eedce50081c)

Signed-off-by: Martin Larsson <martin.larsson@actia.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-13 17:35:22 +00:00
Richard Purdie
ae856e4139 busybox: Fix ptest dependencies
Ironically, busybox ptests don't all work without coreutils being present. This
dependency fixes execution in minimal images but the failing start-stop-daemon
test case should probably be investigated in due course and the dependency
removed when possible.

(From OE-Core rev: 658c5ed34e279983b1827abfe4e439524b72d4a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-13 17:35:22 +00:00
Richard Purdie
647b9ddb33 gnutls: Add missing python ptest dependency
Add dependency on python3 to fix execution in minimal images.

(From OE-Core rev: bf5b15a8b7a2b2276109efc8a6fe54788908ef0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
a05ca8d69f gstreamer1.0: Add missing gconv ptest dependency
Add dependencies on missing gconv module to fix execution in minimal images.

(From OE-Core rev: 859f36e40b380262804e96bbfd29d8846911bfa3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
003dc63371 libxml-perl: Add missing perl module ptest dependencies
Add dependencies on missing perl modules to fix execution in minimal images.

(From OE-Core rev: de55c939f591ec28d949294e05a97695a488eda9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
09969f9bc3 opkg: Add missing python module ptest dependencies
Add dependencies on missing python modules to fix execution in minimal images.

(From OE-Core rev: e817f67e62fff9058b8396fb5e5afa106b4d7476)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
28b8d57a88 glibc-tests: Add missing bash ptest dependency
The script has a bashism and needs bash to execute correctly. Mark it
as such and add the missing bash dependency so it executes in minimal
images.

(From OE-Core rev: a1b5afac108d9c94e8fc2ad8cfebfee16f6f243b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
3ad29bf3b7 gettext: Add missing bash ptest dependency
Add a dependency on bash to fix execution in minimal images.

(From OE-Core rev: f63647f742488117c2ff7196479a6b0a2da61ddc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
2ea27691aa lttng-tools: Improve ptest debugging and fix dependencies
Improve the ptest runner script:

* log output is available should any test fail to aid debugging
* document how to limit the runner to a single test
* stop hiding errors to stderr
* allow easier single test execution by avoiding path issues with PWD

Also depend upon binutils since one of the tests uses addr2line.

(From OE-Core rev: 0f111c6eb1673a60663bcdd3d70c0f81bad370c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
d5e3449461 babeltrace: Fix ptest dependency
Add a missing dependency on make so ptests can run in a minimal image.

(From OE-Core rev: 3d0c068cdeaf819a62f5b918a70c36ab4fb86e76)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
ee2d13c973 babeltrace2: Fix ptest execution in minimal images and add debug info
Tweak the ptest dependencies so they work correctly in minimal images. There
appears to be some usage of find or xargs that doesn't work with busybox.

Also improve the test runner so the test-suite.log is dumped upon error
which makes debugging much easier.

(From OE-Core rev: 6f52a0a9f0f26ac0039af3edd3df22e21bd8a4a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
ef783c15aa libxml-sax-perl: Fix ptest dependencies
Add a missing ptest perl module dependency to fix execution in minimal
ptest images.

(From OE-Core rev: 9c35001345d107ec3869216a214439818099c1de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
a7b2b21d70 libconvert-asn1-perl: Fix ptest dependencies
Add dependencies for missing perl modules to fix execution in
minimal images.

(From OE-Core rev: eba3d013b077ec94641118bf925779edf6deb8de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
24e1d446fb gawk: Fix ptest dependency
The gawk ptests need some locale information, add the missing dependency
so tests work in minimal images.

(From OE-Core rev: 5aafe0dd13eba8303d1a954adffd6f1d8d234952)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
b6f295f4b5 findutils: Fix ptest dependency issue
The options used with 'od' don't work with our busybox config.
Add a dependency on the full utility from coreutils to fix execution
in minimal images.

(From OE-Core rev: 027f0997bd9ba68a86000e91ad81fcf9ea1a4f89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
bcea309f16 bc: Fix ptest test output naming
The quoting in the script was mangled leading to "0" tests being
found by our log parsing code. Fix the quoting to allow the correct
test counts to appear.

(From OE-Core rev: 5ad2ee63396cb27823dcd022878764bc69e619e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
cdb777a573 libmodule-build-perl: Fix ptest dependencies
Some of the ptests fail in a minimal image. Add the missing perl
module dependencies.

(From OE-Core rev: 0c8e91acc8225a51f84b95faa96bfee1e293b093)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
a7afbaa26f m4: Add missing ptest dependency
Some of the ptests fail in a minimal image. Add the missing gconv
dependency needed to allow those tests to pass.

(From OE-Core rev: a40b97f9730064b045399a8ea3e44b8a756195f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
2c948fa025 acl/attr: ptest fixes and improvements
Add a missing perl module dependency for the ptest packages and also
improve the run-ptest script so that the error log is saved allowing
easier debugging if this fails in future.

(From OE-Core rev: fbb9c596b8e6a8a1260dd7aefddf138d20bf64df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
73a99d6b34 perl: Add missing procps-ps dependency for ptests
Some of the ptests fail in a minimal image as they depend on options
to ps which busybox doesn't support. Add the full utility.

(From OE-Core rev: 7305b96dd5b41050c867ce620109407e8fd8b53a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
2d0e3dd7de valgrind: Add missing utf-32 gconv dependency for ptests
Some of the ptests fail in a minimal image. Add the missing gconv
dependency needed to allow those tests to pass.

(From OE-Core rev: c79bd575cfaeec4b87554ccff72b804248c509a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
8723cf6a07 openssl: Add missing ptest dependency on openssl-bin
One of the openssl ptests needs the openssl binary so fails
on a minimal image without this. Add the missing dependency.

(From OE-Core rev: c29276b467ae10027f38cb403a2089b3558fc639)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
f1709ba573 m4/opkg/ethtool/attr/libgpg-error: Add missing bash ptest dependency
(From OE-Core rev: 27b6605c7b95f70a50b4243818a03c5b2412c5a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Alexis Lothoré
4617ef6abf scripts/yocto_testresults_query.py: set proper branches when using resulttool
The script currently only works if base and target can be found on default
branches. It breaks if we try to generate a regression report between revisions
that live on different branches (as needed on integration and testing branches).
For example, the following command:

./scripts/yocto_testresults_query.py regression-report yocto-4.0.6 yocto-4.0.7

ends with the follwing error:

[...]
ERROR: Only 1 tester revisions found, unable to generate report
[...]

Read branches from tags names in test results repository, and pass those
branches to resulttool when generating the report

(From OE-Core rev: 6c472b326bcc718459483cc29b310b884742df86)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Alexis Lothoré
1eae53e277 scripts/resulttool: do not count newly passing tests as regressions
resulttool regression module simply compare a base test status to a target test
result status. This approach raises many false positives since all XXX -> PASS
transitions (XXX being any status different from PASS) are flagged as
regression.

- Do not list XXX -> PASS transitions in regression  report, instead count them
  and print a summary of "newly passing tests"
- If an inspected pair has only "newly passing tests", do not print detailed
  list and print it as "Improvement" instead of "Regression"

Updated output example looks like the following:
[...]
Improvement: oeselftest_fedora-37_qemux86-64_20230127010225
             oeselftest_ubuntu-22.04_qemux86-64_20230226120516
             (+1 test(s) passing)
[...]
Match:       oeselftest_almalinux-8.7_qemuarm64_20230127015830
             oeselftest_almalinux-8.7_qemuarm64_20230227015258
[...]
Regression:  oeselftest_almalinux-9.1_qemumips_20230127000217
             oeselftest_opensuseleap-15.4_qemumips_20230226130046
    ptestresult.glibc-user.debug/tst-read-chk-cancel: PASS -> None
    ptestresult.glibc-user.nptl/tst-mutexpi4: PASS -> FAIL
    ptestresult.glibc-user.nptl/tst-mutexpi5a: PASS -> FAIL
    Additionally, 44 previously failing test(s) is/are now passing

(From OE-Core rev: c335f96f687c73fde443ac330ca3e17113794d9e)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Alexis Lothoré
c31c140746 oeqa/selftest/resulttool: add test for error propagation in test name filtering
(From OE-Core rev: 17d825c88499c6f7e3ffe22fae099871d0850abc)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Alexis Lothoré
1feffaf41a scripts/resulttool: fix ptests results containing a non reproducible path
Some ptests results may be wrongly sampled, resulting in some part of the error
being propagated in test name. For example:

"ptestresult.binutils-ld.in testcase /home/pokybuild/yocto-worker/qemumips/build/build-st-1666126/tmp/work/mips32r2-poky-linux/binutils-cross-testsuite/2.40-r0/git/ld/testsuite/ld-ctf/ctf.exp"
"ptestresult.gcc.Couldn't create remote directory /tmp/runtest.455781 on ssh"
"ptestresult.gcc-libstdc++-v3.Couldn't create remote directory /tmp/runtest.3814266 on target"

While the root errors must be fixed in corresponding ptests packages for those
tests, the test results history must still be usable even with this issue

Add new filters to detect if temporary test directories (build-st-*,
/tmp/runtime.*) are present in name. If so, truncate test name. As a side
effect, it will aggregate multiple failing errors into one, but the regression
will still be raised

(From OE-Core rev: 601eecfddd26bfe2954835a73ed1116bb520235f)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Alexis Lothoré
754d270ab8 oeqa/selftest/resulttool: fix fake data used for testing
resulttool searches for "status" field, not "STATUS", in results.
This fix is more to avoid confusion than fixing anything, since the updated
tests are about regression.can_be_compared, which does not check for "status"

(From OE-Core rev: df342c81d02dea3f677966602089d4a972bb09bd)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Alexis Lothoré
e3b005d8eb oeqa/selftest/resulttool: fix ptest filtering tests
There are multiple issues with the tests for the ptest fixup mechanism
introduced in c45d58f003:
- the feature does not impact regression.can_be_compared but directly the
  comparison step in regression.regression_common
- the "status" field was wrong ("STATUS"), which prevents tests comparison
- there is a typo babeltrace2 ptest result name

(From OE-Core rev: 69205e2e2117fc469fcf3ae4b2174482db1d6297)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:12 +00:00
Alexis Lothoré
e8048a5b66 scripts/resulttool: call fixup_ptest_names in regression_common
ptests names not only need to be fixed for regression based on git testresults
but also for testsresults provided "manually"

Move ptests naming fixup in regression_common to share the fixup between both
regression use cases

(From OE-Core rev: f772ccd108dc3d618db9d479d672c0f3edd203ca)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:12 +00:00
Mark Hatle
f29a1c2966 bitbake: wget.py: Combine urlopener exceptions
No reason to have three identical exception handles, refactor to catch any
of the exceptions with the same block of code.

(Bitbake rev: b29f6e04091b6bfe697dc41c76880de466736fc3)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 20:49:22 +00:00
Mark Hatle
f9b422152b bitbake: wget.py: Add catch TimeoutError exception
We've observed TimeoutError exceptions during the sstate-cache mirror fetch,
it appears that due to the number of (invalid) files requested the remote
side is eventually dropping the connection (not closing it) which can result
in a TimeoutError exception being sent, while rate it is different from the
urllib.error.URLError or ConnectionResetError.

(Bitbake rev: 6041b34740deee09ea65d705702555456a5e05d8)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 20:49:22 +00:00
Wang Mingyu
713f60559d dhcpcd: Fix install conflict when enable multilib.
Error: Transaction test error:
   file /usr/share/man/man8/dhcpcd.8 conflicts between attempted installs of dhcpcd-doc-9.4.1-r0.cortexa57 and lib32-dhcpcd-doc-9.4.1-r0.armv7ahf_neon

The differences between the two files are as follows:
@@ -821,7 +821,7 @@
 If you always use the same options, put them here.
 .It Pa /usr/libexec/dhcpcd-run-hooks
 Bourne shell script that is run to configure or de-configure an interface.
-.It Pa /usr/lib64/dhcpcd/dev
+.It Pa /usr/lib/dhcpcd/dev
 Linux
 .Pa /dev
 management modules.

(From OE-Core rev: 65ca2c4b7349a4f7dcfcc580d926a99c673deb60)

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>
2023-03-11 00:08:41 +00:00
Bruce Ashfield
64c96cbe52 perf: fix buildpaths QA warning
In the 6.2+ kernel, arm64 perf has a buildpaths QA warning as
a syscall table is now being dynamically generated. That generated
table includes unistd.h by absolute path, which in turn triggers
the buildpaths QA warning.

This could easily be patched in linux-yocto, but that would
leave the QA issue in perf built from other kernel trees.

So we instead to the following:

 - Add the perf tools directory to the include path
 - Modify the Makefile to have a relative path to unistd.h and
   pass both the relative and absolute path to the generation
   script
 - Modify the generation script to take the relative location
   of unistd.h as a new parameter, and use that in the generated
   sycalls.c file

At build, the added include path of the perf source allows the
relative path file to be included, and no buildpaths warning is
generated.

(From OE-Core rev: c8845ab59cd7c28874473618f134a5d45906d6ea)

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>
2023-03-11 00:08:41 +00:00
Randy MacLeod
7c023a2f7c valgrind: Disable drd/tests/bar_bad ptest
This is failing intermettently in the YP autobuilder
so disable it until we can fix the root cause.

[YOCTO #14311]

(From OE-Core rev: 77d06aa41c40f8d78903cc499b3f6906a084699e)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Kenfe-Mickael Laventure
5d5a4f31c8 populate_sdk_ext: Handle spaces within user $PATH
The script generated by the sdk_ext_postinst function was not quoting
the user existing PATH when updating it causing the export command to
fail.

Add necessary double quotes around $PATH.

(From OE-Core rev: 00e96bf250eaaded839caf465dbc0af5b604aed7)

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Kenfe-Mickael Laventure
aa484fd415 toolchain-scripts: Handle spaces within user $PATH
The environment-setup script generated by the recipe was not quoting the
user existing PATH when updating it causing the export command to fail.

Add necessary double quotes around $PATH.

(From OE-Core rev: 42177ff2d45ee70ad00917bb6fbabca49dae4f59)

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Kenfe-Mickael Laventure
9dfcb057ab buildtools-tarball: Handle spaces within user $PATH
The environment-setup script generated by the recipe was not quoting the
user existing PATH when updating it causing the export command to fail.

Add necessary double quotes around $PATH.

(From OE-Core rev: 2d4c032bf3187aaa953a0c33a999074e695f54bb)

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
bcf796681f apt: re-enable version check
2.6.0 is out and so we can check for latest version again.

(From OE-Core rev: 9851579eeebbdced9e770c4828f521b359e0306f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
f2a01b22cf piglit: upgrade to latest revision
(From OE-Core rev: 62f0dfda185f6b52dedc86d2f782607d9fc5d182)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
658a8931e2 stress-ng: remove obsolete patch
Upstream has disabled gold support altogether:
e65f517917

(From OE-Core rev: ca7578588ad9bb7a9e6678c1f658da62ffb735f8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
9dd103dde5 bind: upgrade 9.18.11 -> 9.18.12
(From OE-Core rev: 67734f7574877ca6e0ec06596ff1a48303df0764)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
96f75b2155 iproute2: upgrade 6.1.0 -> 6.2.0
License-Update: copyright snippet has been dropped from ip.c

(From OE-Core rev: d709e2d4c5d8768b3160d63aec207fe3e2a4066d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
1ace564615 puzzles: upgrade to latest revision
(From OE-Core rev: 6672b556d1bffd72dd73ab4c9eb69c8fe38c3e58)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
528bdf8940 libnotify: upgrade 0.8.1 -> 0.8.2
(From OE-Core rev: 48160a7807fb5547c7c1dfd8af5cbb33ccf46200)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
fca4d1683a pango: upgrade 1.50.12 -> 1.50.13
(From OE-Core rev: 9fcb353216a70b76584a47463d419464489c5a8c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
3482596408 vte: upgrade 0.70.2 -> 0.70.3
(From OE-Core rev: 63cd698547afc69b142ed7ebb9ac8da3d21ea48f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
e0edfe32eb make: upgrade 4.4 -> 4.4.1
(From OE-Core rev: 076815f41740fc480e3fb6b3087840ece1b9e3ce)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
5cb5839975 enchant2: upgrade 2.3.3 -> 2.3.4
(From OE-Core rev: 6b64ba79c7ff1bd77e8601ff5de1df476f8b2d95)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
966e2e8ca1 sqlite3: update 3.40.1 -> 3.41.0
(From OE-Core rev: 789a5ab8243ab0283d3e268d4b93e02c7128effc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
bef022f9db font-alias: update 1.0.4 -> 1.0.5
Drop nocompiler.patch as upstream is now using a macro specifically for data-only items:
https://www.spinics.net/lists/xorg/msg60817.html

(From OE-Core rev: 14b95747cb1d56c731828e06e60b207cdc94ae5e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
aae15d436c encodings: update 1.0.6 -> 1.0.7
Drop nocompiler.patch as upstream is now using a macro specifically for data-only items:
https://www.spinics.net/lists/xorg/msg60817.html

(From OE-Core rev: 3f1a8baa1033a0cc506b078491ae26f199c81fad)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
6e7cf97854 util-macros: do not probe into host triplet when checking manpage section names
This does not work for allarch recipes in particular
(config.sub rejects allarch-poky-linux).

(From OE-Core rev: f41be046ff26ecbbab9342ee62dbf39df4596da7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
fafdbef0ac iptables: update 1.8.8 -> 1.8.9
Replace one format string fixing patch with another format string fixing patch.
(one problem fixed upstream, another introduced)

(From OE-Core rev: 4a7b4d41ddcfaeaf47cf75200f2346639c64b11c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
356c993130 ethtool: update 6.1 -> 6.2
Drop patch merged upstream.

(From OE-Core rev: ae0e692476b9564aa0a64f65d2abfdc0e55ef23b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
82fd20bf43 libdnf: update 0.69.0 -> 0.70.0
Drop the patch as issue addressed upstream.

(From OE-Core rev: b5a4c652448284253ab1444d05fdf6bfebfa4273)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
5edf7fe5e2 dpkg: update 1.21.20 -> 1.21.21
(From OE-Core rev: a79382c53aa8fcf143192b3aa275ab9758af8fdf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
ca6326803c systemd: update 252.5 -> 253.1
Add a musl compatibility patch to systemd-boot.

Backport a patch to address systemctl fails on 32 bit targets.

(From OE-Core rev: d92f0f3597acba6cfc55a8cf2e7249efc6573c6a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
03e900a748 selftest/overlayfs: enable systemd via INIT_MANAGER
Latest systemd version needs the full set of settings enabled
by that (if also r/o rootfs is enabled), and refuses to boot
otherwise.

(From OE-Core rev: 16f7661000a50e58d512a5d47794c5f8be2c49e6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
a36fc72296 procps: update 3.3.17 -> 4.0.3
Drop patches as upstream refactored the code.

Add a compatibility patch to igt-gpu-tools.

Add a musl compatibility patch.

(From OE-Core rev: 631eba02d64f1a42514e0ae4361bbecc5cce5fa7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
d4a80f35d4 sudo: update 1.9.12p2 -> 1.9.13p2
License-update: copyright years, formatting.

(From OE-Core rev: 1476813725cce6754334b4a6727675640a7a1e44)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Dmitry Baryshkov
dc2a0be70e mesa: import patch from upstream to fix tools build on musl
Fix building the crashdec on the musl systems.

(From OE-Core rev: 8bb91d97757f7a84e8ecdbb18457a9d3dcce6417)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Sundeep KOKKONDA
3c7463a848 rust: added missing runtime dependencies to run rust on target
[YOCTO #14975]
rust files are not linking on target due to missing dependencies and observed below error.
error: linker `x86_64-poky-linux-gcc` not found

Added the required dependencies to run rust on target machine.

(From OE-Core rev: bb781f452299cfa6ec7fffd215b0af3149178f32)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Zoltan Boszormenyi
79f5eee424 piglit: Fix build time dependency
Replace explicit opencl-icd-loader with virtual/opencl-icd.

(From OE-Core rev: 0ded85c2e4d0888e459bc98d1c8e55429f542dba)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Trevor Woerner
ea40bc3c75 cups: add/fix web interface packaging
cups includes a web server. Users can surf to port 631 (default) of a
machine running cups to (potentially, based on configuration, default off)
view jobs, add printers, and perform other forms of administration.

The location of the various resources that are used by the built-in web server
(e.g. index.html) are installed under ${datadir}/doc/cups. By default these
artifacts would be included in the ${PN}-doc package. The comments in this
recipe, however, would suggest an attempt was made to have them added to
${PN}; albeit unsuccessfully.

These resources add roughly 1.8M to an image.

Since cups does include a configuration option to disable the web interface
(--enable-webif), add a PACKAGECONFIG (default off) to allow the user to
decide whether or not they would like the web interface configured and its
pieces added to the image. Enabling this PACKAGECONFIG both enables the
web interface to be configured and built into cups, and also adds (by way
of a recommendation) the web interface package to the image. Considering
that the previous intention was not working, defaulting this option to off
preserves the existing behaviour. Previously in order to have the web
interface data included in an image, a user would have needed to explicitly
add the ${PN}-doc package to their image.

(From OE-Core rev: 2c9bd267ec532cd86a4a1be1d4e499e2aae89aba)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Trevor Woerner
51553b3f28 cups: check PACKAGECONFIG for pam feature
The cups' PACKAGECONFIG is populated based on DISTRO_FEATURES, but a user
is free to enable or disable PACKAGECONFIGs at will. In theory it is
possible that pam is enabled globally in DISTRO_FEATURES but disabled in
cups' PACKAGECONFIG. Checking the PACKAGECONFIG to determine whether or not
pam is enabled would be a safer check rather than relying on DISTRO_FEATURES.

(From OE-Core rev: a053dd177ddc99ced11e68914079be0ffe261262)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Trevor Woerner
75ef02a983 cups: use BUILDROOT instead of DESTDIR
The cups documentation is clear that the correct way to install into an
alternate root directory is to use the BUILDROOT variable. From INSTALL.md:

	Use the `BUILDROOT` variable to install to an alternate root directory:

	    make BUILDROOT=/some/other/root/directory install

DESTDIR works, but we should use the mechanism the project specifically
created for this purpose.

(From OE-Core rev: f8fc70674e0ea5df46969a06da62f8ed135cae4e)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Ross Burton
1bc0d0c800 meson: remove obsolete RPATH stripping patch
As per the release notes for 0.55.0[1], this patch is no longer needed
as Meson now only removes the RPATHs that it adds itself, any RPATHs
added via LDFLAGS or pkgconfig files are left untouched.

[1] https://mesonbuild.com/Release-notes-for-0-55-0.html#rpath-removal-now-more-careful

(From OE-Core rev: 4011c0fadec98f1001046079f59e4e2a4a3a3fcf)

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>
2023-03-11 00:08:40 +00:00
Ross Burton
6f38e4c98f systemd: add ignore for CVE-2022-4415
The relevant fix was also backported to 252.4.

(From OE-Core rev: e7992076102de43b2201786c2da59455c54aaef4)

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>
2023-03-11 00:08:40 +00:00
Michael Halstead
45d0ab66fd selftest/runtime_test/virgl: Disable for all Rocky Linux
RHEL compatible kernels do not support vgem so we disable virgl headless
testing.

(From OE-Core rev: 78bc1ba2361249ec845d1b9e28d429a37dd83910)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 23:51:29 +00:00
Richard Purdie
a5352932d9 staging/multilib: Fix manifest corruption
The previous fix wasn't enough to address all the possible ways the
manifests might be ordered. Rework the previous fix so it is tied
to the multilib cross-canadian code which is causing the problem.

RECIPE_SYSROOT_MANIFEST_SUBDIR is not documented as I'd hope nobody
ever needs to use this outside the core multilib code.

(From OE-Core rev: beab42e00713880cd95a04729c892f8662fbcbed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 21:06:37 +00:00
Richard Purdie
ad3dfac07f glibc: Update sstate/equiv versions to clean cache
There are cached reproducibility issues on the autobuilder due to the PRServ
sstate checksum issues, flush the bad data out the system by bumping the
versions.

(From OE-Core rev: b2b33e387c523d5936f6948115a73772b2cf9f2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 21:04:06 +00:00
Khem Raj
ce71bb3d08 binutils: Enable --enable-new-dtags
Use DT_RUNPATH over DT_RPATH. If DT_RUNPATH is present, LD_LIBRARY_PATH is searched before
DT_RUNPATH, Search order is DT_RPATH then LD_LIBRARY_PATH then
DT_RUNPATH, this order ensures that injecting
malicious shared objects is way harder with DT_RUNPATH.

This is now default on major linux distributions already

(From OE-Core rev: 66f8a745668a067d8d763fa2af3e65f26c9c1ebe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 21:04:06 +00:00
Richard Purdie
5e172bdbe1 glibc: Add missing binutils dependency
glibc has it's dependencies handled more manually due to it's place
in the toolchain bootstrap. It depends upon the compiler and indirectly
through that to binutils. This did mean that if binutils changes and the
compiler does not, sstate and hash equivalence could mean that glibc
wouldn't rebuild.

Add a direct dependency on binutils that if it changes, it forces glibc
to rebuild, as it should.

(From OE-Core rev: c4a7b3decff636292f5e76e95406a22b6fe4a994)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 21:04:06 +00:00
Wang Mingyu
c70f093fd2 vala: Fix install conflict when enable multilib.
Error: Transaction test error:
   file /usr/bin/vala-gen-introspect-0.56 conflicts between attempted installs of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64
   file /usr/bin/vapigen-wrapper conflicts between attempted installs
   of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64

The differences of vala-gen-introspect-0.56 are as follows:
@@ -2,7 +2,7 @@

 prefix=/usr
 exec_prefix=/usr
-libdir=/usr/lib64
+libdir=/usr/lib
 pkglibdir=${libdir}/vala-0.56

 if [ $# -ne 2 ]

The wrapper isn't used on target so we can simply delete it.

(From OE-Core rev: 3cf894b8a9c4fa14fcc7c7445e85e9ae3192b398)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-08 16:41:55 +00:00
Wang Mingyu
5997213663 lua: Fix install conflict when enable multilib.
Error: Transaction test error:
  file /usr/include/luaconf.h conflicts between attempted installs of lua-dev-5.4.4-r0.aarch64 and lib32-lua-dev-5.4.4-r0.armv7ahf_neon

The differences between the two files are as follows:
@@ -219,7 +219,7 @@

 #define LUA_ROOT       "/usr/"
 #define LUA_LDIR       LUA_ROOT "share/lua/" LUA_VDIR "/"
-#define LUA_CDIR       LUA_ROOT "lib64/lua/" LUA_VDIR "/"
+#define LUA_CDIR       LUA_ROOT "lib/lua/" LUA_VDIR "/"

 #if !defined(LUA_PATH_DEFAULT)
 #define LUA_PATH_DEFAULT  \

(From OE-Core rev: b58d86f9902a7eb7a821a3e36ba298c082c0f1f1)

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>
2023-03-08 16:41:55 +00:00
Richard Purdie
76628b2961 gdb: Mark patch as backport
I submitted the patch upstream and it was accepted/merged. Update the
status to match.

(From OE-Core rev: 73fd4fb86183fe4d651acfc8f2a65b9d7335ba8e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-08 16:41:55 +00:00
Ross Burton
f3c5db2465 oeqa/selftest/imagefeatures: add test for man-db
Add a test to verify that manpages are built with api-documentation
enabled, and apropos works on the target (so mandb has been ran).

(From OE-Core rev: c085c335319bb98e09177c09feb1241a8560b606)

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>
2023-03-08 16:41:55 +00:00
Ross Burton
d42904ba0c manpages: use an intercept to run mandb
If you build an image with lots of manpages in, then each package will
run mandb inside qemu-user at rootfs time.  This is a slow operation
and should be done once when all of the packages have installed using an
intercept instead.

The call to mandb has been changed too. mandb doesn't actually allow
the configuration file to be read from stdin so that was being ignored,
instead write the file to a temporary file and use that.

This means we then don't need to tell it where to search explicitly, and
it writes the indexes to the correct paths so we don't need to move
files afterwards either.

Sadly we do still need to run mandb inside qemu-user, as the underlying
database is a gdbm file and they are byte-order dependent.

For my test case of core-image-base with api-documentation
DISTRO_FEATURES and doc-pkgs IMAGE_FEATURES enabled, the performance
gain is significant:

  core-image-base do_rootfs  -1303.1s   -73.6%   1771.6s -> 468.5s

(From OE-Core rev: fbd8a57aa307bfda70a08cb78af3c97f05c39a3a)

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>
2023-03-08 10:21:05 +00:00
Fawzi KHABER
e0a6ba834e bitbake: bitbake-user-manual: update Hello World example
Fix broken link "Obtaining bitbake".
Update documentation for the bitbake hello world example, the output was
outdated.
Fix LAYERSERIES_COMPAT warning by adding dunfell as default compatible release.
Add proper formating for base.bbclass command.

Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Ever ATILANO <ever.atilano@smile.fr>
Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
(Bitbake rev: e859ce61a7422425960342a47785468cef49caa1)

Signed-off-by: Fawzi KHABER <fawzi.khaber@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-07 21:24:44 +00:00
Fawzi KHABER
28e334e8a4 bitbake: doc: ref-variables: add LAYERSERIES_COMPAT to term glossary
Bitbake throws a warning if the layer compatibility is not defined since
cca81e33b58c390dcf5cc3a31555a43b79177166. The description of this variable
comes from the Yocto Project manual.

Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Ever ATILANO <ever.atilano@smile.fr>
Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
(Bitbake rev: cbad8cb28a8134d6b2053ef5c2e04bb455fc798b)

Signed-off-by: Fawzi KHABER <fawzi.khaber@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-07 21:24:44 +00:00
Ulrich Ölmann
a81854fe3e base: fix typos
(From OE-Core rev: 0f8baa36fa99c66dbf305da355b665cb053c3ef4)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-07 12:57:04 +00:00
Richard Purdie
082e46f9ca bitbake: server/xmlrpc: Fix after currentAsyncCommand locking changes
After changes in bitbake b5215887d2f8ea3f28f1ebda721bd5b8f93ec7f3,
"process/cooker/command: Fix currentAsyncCommand locking/races", command.py
assumes it has access to the process server but the xmlrpc backend was
passing in the xmlrpc server object leading to errors like:

xmlrpc.client.Fault: <Fault 1: "<class 'AttributeError'>:'BitBakeXMLRPCServer' object has no attribute 'set_async_cmd'">

Fixing to pass the process server to command.py resolves this issue.

[YOCTO #15008]

(Bitbake rev: ce5b65d5fada474ef21ac28440af6ad45287650a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-07 12:52:10 +00:00
Alexandre Belloni
9331f57689 pseudo: Update to pull in fd leak fix
Pull in:
    pseudo_util.c: Open file with O_CLOEXEC to avoid fd leak

    Use close-on-exec (O_CLOEXEC) flag when open log file to
    make sure its file descriptor is not leaked to parent
    process on fork/exec.

    Fixes [YOCTO #13311]

(From OE-Core rev: 3ec9ca0b39c9e09c5a8c8cf94e57091d1b67c9f0)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-07 10:57:27 +00:00
Richard Purdie
4ca99662e6 staging: Separate out different multiconfig manifests
"""
require conf/multilib.conf
MACHINE = "qemuarm64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "armv7athf-neon"

bitbake gcc-cross-canadian-arm
"""

and then inspecting the lib32* manifest files under recipe-sysroot-native shows
them referencing lib32-recipe-sysroot instead of recipe-sysroot as used by
gcc-cross-canadian recipes.

To fix this separate out the manifest by multilib. It is caching mechanism to
optimise disk usage so this doesn't break anything, just separated out some files.

(From OE-Core rev: 891d3faa3ed3d1cc231da58e5fa1325f05d5ade5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-07 10:45:25 +00:00
Ross Burton
248e7ef170 epiphany: upgrade to 43.1
This fixes CVE-2023-26081.

(From OE-Core rev: 706d325ec9969d1525743e2de9a1f1d61b4c09b9)

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>
2023-03-07 10:45:25 +00:00
Ross Burton
976b65585a shadow: ignore CVE-2016-15024
This recently got an updated CPE which matches this recipe, but the issue
is related to an entirely different shadow project so ignore it.

(From OE-Core rev: 2331e98abb09cbcd56625d65c4e5d258dc29dd04)

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>
2023-03-07 10:45:25 +00:00
Richard Purdie
e4fb136b7d gdb: Fix occasional build failure
When running the configure check "checking for ELF support in BFD", LDFLAGS
were not being passed in to libtool. In OE/YP, we need these flags when using
uninative due to the games we play with the dynamic loader.

If a version of libzstd was built against a newer glibc, it would need
newer pthread symbols which it wouldn't find with the system linker. At
runtime this isn't an issue as it would be switched to use uninative but we
pass flags in LDFLAGS to allow this.

The bug is rare to reproduce as it depends on the host libzstd was built
against.

(From OE-Core rev: 74077e10e2212349493ecfa8e7d9ca844366331f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-07 10:45:25 +00:00
Kai Kang
6066600e80 grub2: support metadata_csum_seed feature
It enable the metadata_csum_seed feature by default in e2fsprogs 1.47.0
and causes grub doesn't work. Backport patch to make grub support this
feature.

(From OE-Core rev: ae3b4588d69e534ac8aff136ed44f3975f5a2d4f)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-07 10:45:25 +00:00
Markus Volk
208ee35b8c gtk4: update 4.8.3 -> 4.10.0
A testsuite was added that breaks musl build -> disable by default

Overview of Changes in 4.10.0, 04-03-2023
=========================================
* GtkTextView
 - Document hanging indentation
* GtkListView
 - Fix a size allocation problem
* GtkFileChooser
 - Fix paned behavior
 - Fix a crash
* GtkText
 - Fix various problems with undo
* Accessibility
 - Make some getters transfer-full
 - Allow setting accessible parents and siblings
 - Add a role for toggle buttons
 - Miscellaneous property fixes and improvements
* gtk
 - Improve the handling resize-during-size-allocate
* gdk
 - Introduce GdkTextureDownloader and use it
 - Make gdk_texture_get_format public
* gsk
 - Make mask nodes more versatile
 - Improve the GL implementation for texture scale nodes
* X11
 - Fix key handling during DND
* Tools
 - gtk-builder-tool: Try harder to handle templates
 - gtk-builder-tool: Prefer properties over <child>

* Translation updates
 Basque
 Belarusian
 Bulgarian
 Indonesian
 Galician
 Georgian
 German
 Hebrew
 Lithuanian
 Portuguese
 Spanish
 Swedish
 Turkish
 Ukrainian

(From OE-Core rev: 36041cacbc5f019e823a674b3988d88773c87d83)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
9def0bd407 stress-ng: upgrade 0.15.03 -> 0.15.04
0001-test-float-Make-variables-global.patch
0001-Include-sys-futex.h-for-clock_adjtime.patch
removed since they're included in 0.15.04.

0001-Pass-LD_GOLD-1-via-makefile-to-enable-gold-linker.patch
refreshed for 0.15.04.

(From OE-Core rev: 7c6192ef37907341679a06ce9f5e519902036649)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
47040ed6d1 strace: upgrade 6.1 -> 6.2
* Improvements
  * Implemented collision resolution for overlapping ioctl commands
    from tty and snd subsystems.
  * Implemented decoding of IFLA_BRPORT_MAB and IFLA_DEVLINK_PORT
    netlink attributes.
  * Updated lists of ALG_*, BPF_*, IFLA_*, KEY_*, KVM_*, LANDLOCK_*,
    MEMBARRIER_*, NFT_*, NTF_*, and V4L2_* constants.
  * Updated lists of ioctl commands from Linux 6.2.

* Bug fixes
  * Fixed build on alpha architecture.

(From OE-Core rev: 8ac5e04364ae00061617a327a1298f24e5213bf2)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
ee4efecff3 repo: upgrade 2.31 -> 2.32
(From OE-Core rev: 1097eabfc917f6428ccc6fc72a7eebae49d7e92f)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
bac739e217 python3-git: upgrade 3.1.30 -> 3.1.31
(From OE-Core rev: 85f0b71edc205dab732325eae46a1c1232b29e82)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
973f58762a python3-setuptools: upgrade 67.3.3 -> 67.4.0
Changelog:
============
* #3832: Update vendored "importlib-metadata" (to 6.0.0) and
  "importlib-resources" (to 5.10.2)

(From OE-Core rev: 7aff7084296130b47d968b9ad353422a8960f377)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
279ed7c460 python3-cryptography(-vectors): upgrade 39.0.1 -> 39.0.2
Changelog:
==========
Fixed a bug where the content type header was not properly encoded for PKCS7
signatures when using the Text option and SMIME encoding.

(From OE-Core rev: 1fb6b8839fa7fd38595b6f3218a9b096c246b00b)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
d8e63288d3 glib-2.0: upgrade 2.74.5 -> 2.74.6
Changelog:
==========
* Bugs fixed:
  - !3239 Backport !3237 "Fix safe_wspawnve #define" to glib-2-74

* Translation updates:
  - Georgian
  - German

(From OE-Core rev: 9f1c735177b2299937230b32a3d025c6afa9d50b)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
dc5398604f meson: upgrade 1.0.0 -> 1.0.1
(From OE-Core rev: 942a4926e9a514ad0087a80a25df57595d5674cc)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
a190da0b8b libmicrohttpd: upgrade 0.9.75 -> 0.9.76
Changelog:
============
Fix potential DoS vector in MHD_PostProcessor.
Releasing GNU libmicrohttpd 0.9.76 hotfix.

(From OE-Core rev: f5b5c77d797ce09e2322ad744f0e4fa3ffd50f19)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
a21b033044 iso-codes: upgrade 4.12.0 -> 4.13.0
Added
=========
- ISO 3166-1: Add missing common names for Laos, Iran, and Syria.
  Fixes #32

Changed
===========
- Translation updates for ISO 3166-1
  - Kazakh from Debian BTS. Closes: #1025423
  - Catalan from Debian BTS. Closes: #1026972
- Translation updates for ISO 3166-2
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 4217
- Translation updates for ISO 15924

Fixed
==========
- ISO 3166-3: Fix withdrawal dates of AN, CS and YU. Fixes #28

(From OE-Core rev: f2c8b9c9a97ba5ec9c5da94da84ebe216650d6cc)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
06e7cbbc9d harfbuzz: upgrade 7.0.1 -> 7.1.0
Changelog:
=============
- New experimental hb_shape_justify() API that uses font variations to expand
  or shrink the text to a given advance.
- Various build and bug fixes.
- New API:+hb_font_set_variation()

(From OE-Core rev: 89882d8028ed823617792fdc632d7376e7320aa3)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
eb83038b12 font-util: upgrade 1.3.3 -> 1.4.0
Changelog:
==========
gitlab CI: stop requiring Signed-off-by in commits
Add COMPRESS_FLAGS to pass options to compression command

(From OE-Core rev: fadc2af423f00a5c08eda32839d0c9b17f65a57f)

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>
2023-03-06 09:52:16 +00:00
Wang Mingyu
0c879974c5 autoconf-archive: upgrade 2022.09.03 -> 2023.02.20
Changelog:
==========
  ax_have_qt: bump serial number

  Merge pull request #262 from bastien-roucaries/fromdebian20200930
  Fix  AX_HAVE_QT

  ax_have_qt: bump serial number

  Merge pull request #266 from netfab/fix-ax_have_qt
  AX_HAVE_QT: remove qmake stash file before rmdir

  ax_python_devel: bump serial number

  Merge pull request #267 from bastien-roucaries/fromdebian20221118
  Fix ax_python_devel serial 32 fails with current python3

  ax_add_fortify_source: fix formatting

  ax_check_sign: bump serial number

  ax_cxx_compile_stdcxx: bump serial number

  ax_c_restrict: fix formatting

  Merge pull request #268 from omoerbeek/master
  ax_check_sign: Avoid an unused warning

  Merge pull request #269 from rurban/fortify3
  AX_ADD_FORTIFY_SOURCE: add -D_FORTIFY_SOURCE=3 check

  Merge pull request #270 from rurban/swig
  fix SWIG_LIB windows newline

  Merge pull request #271 from rurban/restrict
  Add ax_c_restrict

  Merge pull request #272 from ojwb/fix-AX_CXX_COMPILE_STDCXX-for-MSVC-C++17
  AX_CXX_COMPILE_STDCXX: Fix MSVC with C++17 or later

  Merge pull request #264 from thesamesam/clang-16
  Clang 16 fixes

(From OE-Core rev: 4aa95afd64ce3cd4caba6f68d6b8aeeea606138a)

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>
2023-03-06 09:52:16 +00:00
Ming Liu
44913cfab4 linux: inherit pkgconfig in kernel.bbclass
pkgconfig is being required to find dependencies for building kernel
native tools, move "inherit pkgconfig" to kernel.bbclass so BSP kernel
recipes can also benefit from it.

(From OE-Core rev: 8a84bd98e3fbc16c782f83064801e469d086911e)

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>
2023-03-06 09:52:16 +00:00
Tom Hochstein
011cc9a104 oeqa/sdk: Improve Meson test
The meson wrapper setup command detection is broken in the case of an
implicit setup command with an option with a space-separated argument,
but the test was not detecting it since the case was not covered.

Add the option `--warnlevel 1` to the meson command line to cover this
case.

(From OE-Core rev: 54e9ee8a0c6c9fc89cbb743f0e4fc18607d503cf)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-06 09:52:16 +00:00
Tom Hochstein
afcae7b08a meson: Fix wrapper handling of implicit setup command
From an SDK, running a meson setup build without an explicit setup
command can result in a native build when a cross build is expected.

The problem is in meson-wrapper where it tries to detect whether a
setup command is being used. The logic looks through all arguments for
a command, and the first argument it finds that doesn't start with a -
is treated as the command. This doesn't work for an implicit setup
command if any option with a space-separated argument exists. In this
case, the argument is incorrectly selected as the command, causing the
setup command options for the cross build to be excluded from the
command line, and thus a native build.

Improve the logic by just looking at the first argument. If it is
a known comand, then record it. Otherwise just assume it is the
implicit setup command.

Note that this fix does not address the possibility of a new meson
command. Two new echo statements are included to help the user in case
of trouble:

```
~/git/weston-imx$ meson --warnlevel 3 --prefix=/usr -Ddoc=false -Dbackend-drm-screencast-vaapi=false -Dcolor-management-lcms=false -Dpipewire=false -Dbackend-x11=false -Dxwayland=true -Dsimple-clients=all -Dbackend-wayland=false  -Dbackend-default=drm -Dbackend-rdp=false -Dtest-junit-xml=false -Dlauncher-libseat=false -Dimage-jpeg=false -Dimage-webp=false -Drenderer-g2d=true build
meson-wrapper: Implicit setup command assumed
meson-wrapper: Running meson with setup options: " --cross-file=/opt/fsl-imx-internal-xwayland/6.1-langdale/sysroots/x86_64-pokysdk-linux/usr/share/meson/aarch64-poky-linux-meson.cross --native-file=/opt/fsl-imx-internal-xwayland/6.1-langdale/sysroots/x86_64-pokysdk-linux/usr/share/meson/meson.native "
The Meson build system
Version: 0.63.3
```

(From OE-Core rev: 9338bd66a3c9ab5cb781f2ee588306c5b31a3cb5)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-06 09:52:16 +00:00
Khem Raj
91275dd75b rpm: Fix hdr_hash function prototype
(From OE-Core rev: 0e812b4c22ac077f2defd6842f82b5c993db24c2)

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>
2023-03-06 09:52:16 +00:00
Khem Raj
2393d516b7 libcomps: Fix callback function prototype for PyCOMPS_hash
(From OE-Core rev: 5e1f6fd8a93e38ec3ee1271ab319ea2d125c442b)

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>
2023-03-06 09:52:16 +00:00
Thomas Roos
8cbc584641 qemuboot-x86.inc: allow overwrite of QB_CPU
To test nested kvm with qemu QB_CPU* needs to be modified.
E.g. set to "-cpu Haswell-noTSX-IBRS,vmx=on"

This allows to overwrite this from local.conf etc.

(From OE-Core rev: aa9d145d90893b04cde197e9b5f4dc574e4738e1)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-06 09:52:16 +00:00
Carlos Alberto Lopez Perez
676afe15f6 mesa-demos: packageconfig weston should have a dependency on wayland-protocols
wayland-protocols is a required depency of mesa-demos when the 'wayland'
packageconfig option is enabled. Usually this doesn't lead to a build
failure because mesa itself depends on wayland-protocols, but when using
other graphics drivers this can cause the following build falure:

| ../mesa-demos-8.5.0/meson.build:69:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig
| ERROR: meson failed

(From OE-Core rev: 89615b56899eed7b5c6ad731e2168d99a30fba6c)

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-06 09:52:16 +00:00
Maanya Goenka
094984833a create-spdx: fix config build by adding dependency to enable reruns
The issue encountered is about local stos builds failing (when these builds are
preceded by a local SoC OS or MOS build). Essentially, the failure is seen when
building two different configs with shared state, one where gcc-cross-<arch> has a dependency
and one where it doesn't (specifically, one where the abicheck class in meta-binaryaudit
is inherited and one where it isn't). Hence, the task signatures change but a rerun of those said tasks
does not occur. The result is that when the config with the dependency is built and then the one without
is built, due to incorrect dependencies, the SPDX manifest creation stage errors out.

create-spdx relies on BB_TASKDEPDATA to get dependencies and then adds that variable to
vardepsexclude. A change in dependencies therefore, does not result in a
re-execution of the tasks. This commit adds an explicit dependency on DEPENDS which influences
BB_TASKDEPDATA and triggers reruns for new config builds having different dependencies.

(From OE-Core rev: 1a0dac4f45c489d107d9627d3c3ab7ccf1c60920)

Signed-off-by: Maanya Goenka <maanyagoenka@microsoft.com>
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-06 09:52:16 +00:00
Ross Burton
d24ae96060 vim: add missing pkgconfig inherit
Vim uses pkgconfig to find dependencies but it wasn't present, so it
silently doesn't enable features like GTK+ UI.

[ YOCTO #15044 ]

(From OE-Core rev: 70900616298f5e70732a34e7406e585e323479ed)

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>
2023-03-06 09:52:16 +00:00
Khem Raj
fb1853c66c vte: Fix -Wenum-constexpr-conversion warning
(From OE-Core rev: 5b6f31f41a3c8c6f2f63e219f59f0800b84b1a20)

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>
2023-03-03 18:03:56 +00:00
Bruce Ashfield
c062f9a336 linux-yocto-rt/5.15: update to -rt59
Integrating the following commit(s) to linux-yocto/5.15:

    4d335265c101 'Linux 5.15.94-rt59'
    c3b4464f5d2b 'Linux 5.15.93-rt58'
    c67bd325f576 'Linux 5.15.92-rt57'
    48e551ae0f55 'Linux 5.15.86-rt56'
    977a63a270ad 'Linux 5.15.85-rt55'
    adaa1d9e19a5 'Linux 5.15.79-rt54'
    ff3c61c5ead1 'Linux 5.15.76-rt53'
    e17260e8d340 'Linux 5.15.73-rt52'
    c83f436b7981 'Linux 5.15.71-rt51'
    e01c9e3ba82d 'Linux 5.15.70-rt50'
    debedeb4264e mm/memcg: Only perform the debug checks on !PREEMPT_RT
    1ef2cd0b8676 mm/memcg: Add a comment regarding the release `obj'.
    f8d153e08d42 mm/memcg: Add missing counter index which are not update in interrupt.
    11624404f67a mm/memcg: Disable migration instead of preemption in drain_all_stock().
    0a1f4de6ed4f mm/memcg: Protect memcg_stock with a local_lock_t
    3f15202f27da mm/memcg: Opencode the inner part of obj_cgroup_uncharge_pages() in drain_obj_stock()
    40dbbd2f9773 mm/memcg: Protect per-CPU counter by disabling preemption on PREEMPT_RT where needed.
    6269831106f5 mm/memcg: Disable threshold event handlers on PREEMPT_RT
    8da0e71b7b7d mm/memcg: Revert ("mm/memcg: optimize user context object stock access")

(From OE-Core rev: f318c27fdc4ac276743bd37c466e3fc7296bcfd5)

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>
2023-03-03 18:03:56 +00:00
Bruce Ashfield
843bdf856c linux-yocto-rt/6.1: update to -rt7
Integrating the following commit(s) to linux-yocto/6.1:

    fb6c0ef43abf v6.1.12-rt7
    18b89fa1b1fa softirq: Wake ktimers thread also in softirq.
    d096b2295771 v6.1.12-rt6

(From OE-Core rev: 99f250c4f6ce6112c393f347f496475cf920a7f8)

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>
2023-03-03 18:03:56 +00:00
Bruce Ashfield
64af4e8abb linux-yocto/5.15: update to v5.15.96
Updating  to the latest korg -stable release that comprises
the following commits:

    d383d0f28eca Linux 5.15.96
    49ce63694cae bpf: add missing header file include
    80569627ce46 Revert "net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs"
    0c168d7f36d5 lib/Kconfig.debug: Allow BTF + DWARF5 with pahole 1.21+
    6ba3de5a8a02 lib/Kconfig.debug: Use CONFIG_PAHOLE_VERSION
    0f59e08070ba scripts/pahole-flags.sh: Use pahole-version.sh
    3597fd5f9217 kbuild: Add CONFIG_PAHOLE_VERSION
    c98077f7598a ext4: Fix function prototype mismatch for ext4_feat_ktype
    43cb0369c84a audit: update the mailing list in MAINTAINERS
    b5ef61edb1e5 wifi: mwifiex: Add missing compatible string for SD8787
    a24eb3f99063 nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
    d518ca02542f binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0
    367d0456c792 binder: Address corner cases in deferred copy and fixup
    b345b2200288 binder: fix pointer cast warning
    c194fc351fec binder: defer copies of pre-patched txn data
    d107b4352284 binder: read pre-translated fds from sender buffer
    41d8b591d70a uaccess: Add speculation barrier to copy_from_user()
    0d3d5099a50b drm/i915/gvt: fix double free bug in split_2MB_gtt_entry
    d835f9c4ede2 powerpc/64s/radix: Fix RWX mapping with relocated kernel
    87b3e4f845a2 powerpc/64s/radix: Fix crash with unaligned relocated kernel
    0b0e9b5adc8e powerpc/vmlinux.lds: Add an explicit symbol for the SRWX boundary
    b6fff8fa4f5b powerpc/vmlinux.lds: Ensure STRICT_ALIGN_SIZE is at least page aligned
    e7f5e3b60c30 powerpc: use generic version of arch_is_kernel_initmem_freed()
    fc58616b198b powerpc: dts: t208x: Disable 10G on MAC1 and MAC2
    62302ac5777a can: kvaser_usb: hydra: help gcc-13 to figure out cmd_len
    6b539a7dbb49 KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS
    78c1d35ed66c KVM: SVM: Skip WRMSR fastpath on VM-Exit if next RIP isn't valid
    676248836577 KVM: x86: Fail emulation during EMULTYPE_SKIP on any exception
    5456f0d53b4a random: always mix cycle counter in add_latent_entropy()
    d2edb20b003e clk: mxl: syscon_node_to_regmap() returns error pointers
    04d31929df12 powerpc: dts: t208x: Mark MAC1 and MAC2 as 10G
    8ae31d36516b clk: mxl: Fix a clk entry by adding relevant flags
    a0583edea4fd clk: mxl: Add option to override gate clks
    ef1219115128 clk: mxl: Remove redundant spinlocks
    e5580a805472 clk: mxl: Switch from direct readl/writel based IO to regmap based IO
    20ea32ad9c99 drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink
    28985cd17ac7 wifi: rtl8xxxu: gen2: Turn on the rate control
    d04d19cf0ead drm/etnaviv: don't truncate physical page address
    60b502b3ffea Linux 5.15.95
    3f94c70333f6 platform/x86/amd: pmc: add CONFIG_SERIO dependency
    1c202909c8b0 net: sched: sch: Fix off by one in htb_activate_prios()
    180a1632b6c7 ASoC: SOF: Intel: hda-dai: fix possible stream_tag leak
    68c2db8ef56d alarmtimer: Prevent starvation by small intervals and SIG_IGN
    35351e3060d6 kvm: initialize all of the kvm_debugregs structure before sending it to userspace
    1cbb51d83f56 net/sched: tcindex: search key must be 16 bits
    cd9569062d8e i40e: Add checking for null for nlmsg_find_attr()
    290e7084926c net/sched: act_ctinfo: use percpu stats
    22d0cb47047a flow_offload: fill flags to action structure
    d53360d443be drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list
    8174915c7bf3 drm/i915/gen11: Moving WAs to icl_gt_workarounds_init()
    43dd56f7bfcb mm/filemap: fix page end in filemap_get_read_batch
    a158782b56b0 nilfs2: fix underflow in second superblock position calculations
    13bc7dd5b365 ipv6: Fix tcp socket connection with DSCP.
    f3326fa5e480 ipv6: Fix datagram socket connection with DSCP.
    9c35c81fd6f0 ixgbe: add double of VLAN header when computing the max MTU
    59a74da8da75 net: mpls: fix stale pointer if allocation fails during device rename
    bf8b820ea0ca net: stmmac: Restrict warning on disabling DMA store and fwd mode
    269520bee744 bnxt_en: Fix mqprio and XDP ring checking logic
    0428aabbcc15 net: stmmac: fix order of dwmac5 FlexPPS parametrization sequence
    1563e998a938 net: openvswitch: fix possible memory leak in ovs_meter_cmd_set()
    338f826d3afe net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path
    59e30d2bd309 dccp/tcp: Avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions.
    becf55394f6a net/sched: tcindex: update imperfect hash filters respecting rcu
    3d5f95be49c5 sctp: sctp_sock_filter(): avoid list_entry() on possibly empty list
    fa56f164455e net: ethernet: ti: am65-cpsw: Add RX DMA Channel Teardown Quirk
    2603a5ca6223 net: bgmac: fix BCM5358 support by setting correct flags
    a5e4f2b284dc i40e: add double of VLAN header when computing the max MTU
    1f23ca5dba6c ixgbe: allow to increase MTU to 3K with XDP enabled
    65d07ae69bd3 revert "squashfs: harden sanity check in squashfs_read_xattr_id_table"
    50267cf35ba0 net: Fix unwanted sign extension in netdev_stats_to_stats64()
    3775c95ffbc6 Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."
    57081f83849c selftest/lkdtm: Skip stack-entropy test if lkdtm is not available
    9197daee9eb6 of: reserved_mem: Have kmemleak ignore dynamically allocated reserved mem
    8b29a1866f64 hugetlb: check for undefined shift on 32 bit architectures
    cca2b3feb701 sched/psi: Fix use-after-free in ep_remove_wait_queue()
    c5f2151afb2a ALSA: hda/realtek - fixed wrong gpio assigned
    1a3f8c85cd2a ALSA: hda/conexant: add a new hda codec SN6180
    ecad2fafd424 mmc: mmc_spi: fix error handling in mmc_spi_probe()
    1e06cf04239e mmc: sdio: fix possible resource leaks in some error paths
    732e3b293ca3 mmc: jz4740: Work around bug on JZ4760(B)
    fdaf88531cfd tcp: Fix listen() regression in 5.15.88.
    9a1d92cbeac3 netfilter: nft_tproxy: restrict to prerouting hook
    3fc9dc0340e0 platform/x86/amd: pmc: Disable IRQ1 wakeup for RN/CZN
    c2cb2c71da50 platform/x86: amd-pmc: Correct usage of SMU version
    2dcf115681d4 platform/x86: amd-pmc: Fix compilation when CONFIG_DEBUGFS is disabled
    32e3a6c4a756 platform/x86: amd-pmc: Export Idlemask values based on the APU
    1723efa4c375 drm/amd/display: Fail atomic_check early on normalize_zpos error
    178993157e8c aio: fix mremap after fork null-deref
    3cfc5e84ac6f mptcp: do not wait for bare sockets' timeout
    e0e93c8599c5 xfs: don't leak btree cursor when insrec fails after a split
    294c022a070a xfs: purge dquots after inode walk fails during quotacheck
    96f0651a264b xfs: assert in xfs_btree_del_cursor should take into account error
    88ccad17784a xfs: don't assert fail on perag references on teardown
    ddf1e0fd43b2 xfs: avoid unnecessary runtime sibling pointer endian conversions
    5f0e21a4a885 xfs: validate v5 feature fields
    ea0ce7c13610 xfs: set XFS_FEAT_NLINK correctly
    0cc9f9cc8d91 xfs: detect self referencing btree sibling pointers
    4e96f5ace9ac xfs: fix potential log item leak
    8abef857eb91 xfs: zero inode fork buffer at allocation
    63b8e4cc31fd nvmem: core: fix return value
    eac1ad2f5e21 nvmem: core: fix registration vs use race
    8f9c4b2a3b13 nvmem: core: fix cleanup after dev_set_name()
    14eea6449473 nvmem: core: add error handling for dev_set_name
    36a5ae5cf90a platform/x86: touchscreen_dmi: Add Chuwi Vi8 (CWI501) DMI match
    f1cb549bcd0b drm/amd/display: Properly handle additional cases where DCN is not supported
    5ca46a04a5c3 nvme-fc: fix a missing queue put in nvmet_fc_ls_create_association
    9ed522143f95 s390/decompressor: specify __decompress() buf len to avoid overflow
    99875ea9b5b4 net: sched: sch: Bounds check priority
    5027084bc097 drm/nouveau/devinit/tu102-: wait for GFW_BOOT_PROGRESS == COMPLETED
    4fdc19e4fa23 net: stmmac: do not stop RX_CLK in Rx LPI state for qcs404 SoC
    6769cd8a7488 net/rose: Fix to not accept on connected socket
    2ddb9fa56665 tools/virtio: fix the vringh test for virtio ring changes
    a35c241065ee ASoC: cs42l56: fix DT probe
    f312367f5246 bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
    e909f5f2aa55 ALSA: hda: Do not unset preset when cleaning up codec
    5541d35f5d03 selftests/bpf: Verify copy_register_state() preserves parent/live fields
    7814e28c4183 ASoC: Intel: sof_cs42l42: always set dpcm_capture for amplifiers
    d15ab7320892 ASoC: Intel: sof_rt5682: always set dpcm_capture for amplifiers
    06f2a84d626a ACPI / x86: Add support for LPS0 callback handler
    14a2de5c16f3 riscv: kprobe: Fixup misaligned load text
    b5d5f1ad057e kprobes: treewide: Cleanup the error messages for kprobes
    2a6853c0ea03 mptcp: fix locking for in-kernel listener creation

(From OE-Core rev: 020944ef921ae2b6923b139bad5f7a79217dace1)

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>
2023-03-03 18:03:56 +00:00
Bruce Ashfield
b8cac140f4 linux-yocto/6.1: update to v6.1.14
Updating  to the latest korg -stable release that comprises
the following commits:

    7d54cb2c26da Linux 6.1.14
    de41a146f98e bpf: add missing header file include
    a1bc22d04dcf randstruct: disable Clang 15 support
    0a1394e07c5d ext4: Fix function prototype mismatch for ext4_feat_ktype
    30b3075be48b platform/x86: nvidia-wmi-ec-backlight: Add force module parameter
    16f118699259 platform/x86/amd/pmf: Add depends on CONFIG_POWER_SUPPLY
    09e7816c61cd audit: update the mailing list in MAINTAINERS
    2c97c5bc0b6f wifi: mwifiex: Add missing compatible string for SD8787
    729bad73c01f sh: define RUNTIME_DISCARD_EXIT
    af3fae1cb282 s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36
    a783d7f7cb95 powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
    9c87fd4a3044 powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT
    bffd0bbf8c55 arch: fix broken BuildID for arm64 and riscv
    3e3e4d234d46 arm64: remove special treatment for the link order of head.o
    48e9a752ce40 riscv: remove special treatment for the link order of head.o
    f977340022ad Bluetooth: btusb: Add more device IDs for WCN6855
    9d80f3e60043 x86/static_call: Add support for Jcc tail-calls
    c51a456b4179 x86/alternatives: Teach text_poke_bp() to patch Jcc.d32 instructions
    75c066485bcb x86/alternatives: Introduce int3_emulate_jcc()
    684db631a157 uaccess: Add speculation barrier to copy_from_user()
    173cadcece76 nfp: ethtool: fix the bug of setting unsupported port speed
    05c91c039139 nfp: ethtool: support reporting link modes
    fd2dba8b4a35 powerpc/64s/radix: Fix RWX mapping with relocated kernel
    05197a0916f5 selftests: kvm: move declaration at the beginning of main()
    0e2dba8c0ebe KVM: x86: fix deadlock for KVM_XEN_EVTCHN_RESET
    44610f4c3093 drm/i915: Remove __maybe_unused from mtl_info
    185ffdeb772c spi: mediatek: Enable irq before the spi registration
    5260618d5783 powerpc: dts: t208x: Disable 10G on MAC1 and MAC2
    a169ff38abd0 can: kvaser_usb: hydra: help gcc-13 to figure out cmd_len
    63fada296062 KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS
    a51ed3943eba KVM: SVM: Skip WRMSR fastpath on VM-Exit if next RIP isn't valid
    896143c4333d KVM: x86: Fail emulation during EMULTYPE_SKIP on any exception
    3fab7adc2f65 docs: perf: Fix PMU instance name of hisi-pcie-pmu
    80cf2b219ebc spi: mediatek: Enable irq when pdata is ready
    e933c28aa5cd scsi: hisi_sas: Fix SATA devices missing issue during I_T nexus reset
    8ec73f41504b scsi: libsas: Add smp_ata_check_ready_type()
    38c5d24d8723 random: always mix cycle counter in add_latent_entropy()
    afec25854ca7 sched/psi: Stop relying on timer_pending() for poll_work rescheduling
    104cf4cc127b clk: mxl: syscon_node_to_regmap() returns error pointers
    65e53eaad077 powerpc: dts: t208x: Mark MAC1 and MAC2 as 10G
    3391bea3d6b8 clk: mxl: Fix a clk entry by adding relevant flags
    77fee59653c6 clk: mxl: Add option to override gate clks
    005b9a123c97 clk: mxl: Remove redundant spinlocks
    811bdf228e72 clk: mxl: Switch from direct readl/writel based IO to regmap based IO
    0deb50618944 drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink
    0076bded9663 wifi: rtl8xxxu: gen2: Turn on the rate control
    441961c43150 wifi: ath11k: fix warning in dma_free_coherent() of memory chunks while recovery
    2af157c9c8f3 drm/etnaviv: don't truncate physical page address
    1ac8758e0272 Linux 6.1.13
    4419cb8e5b0f net: sched: sch: Fix off by one in htb_activate_prios()
    0c89a43beb87 ASoC: SOF: Intel: hda-dai: fix possible stream_tag leak
    02f81e0256d0 nvme-pci: refresh visible attrs for cmb attributes
    70fdd9831a5f alarmtimer: Prevent starvation by small intervals and SIG_IGN
    cfc2faf3a6fe perf/x86: Refuse to export capabilities for hybrid PMUs
    747ca7c8a0c7 kvm: initialize all of the kvm_debugregs structure before sending it to userspace
    9ca0910b2def KVM: x86/pmu: Disable vPMU support on hybrid CPUs (host PMUs)
    8017a161e84e nvme-rdma: stop auth work after tearing down queues in error recovery
    e94e1ea596f0 nvme-tcp: stop auth work after tearing down queues in error recovery
    513e4b876ec5 net/sched: tcindex: search key must be 16 bits
    49f04300d495 i40e: Add checking for null for nlmsg_find_attr()
    974cfed82cc9 mm: extend max struct page size for kmsan
    eaba8521fd20 mm/gup: add folio to list when folio_isolate_lru() succeed
    f16e2f7c52d0 ipv6: Fix tcp socket connection with DSCP.
    22e6dc065323 ipv6: Fix datagram socket connection with DSCP.
    b6eabfb05c3d ixgbe: add double of VLAN header when computing the max MTU
    55c96c5e8e08 igb: Fix PPS input and output using 3rd and 4th SDP
    39f797719d5c igb: conditionalize I2C bit banging on external thermal sensor support
    c376227845ee net: mpls: fix stale pointer if allocation fails during device rename
    54b6082aec17 tipc: fix kernel warning when sending SYN message
    863a7de987f0 net: use a bounce buffer for copying skb->mark
    92573c6d20c4 net: stmmac: Restrict warning on disabling DMA store and fwd mode
    ac6e733f81f8 tracing: Make trace_define_field_ext() static
    b444fcc306a7 bnxt_en: Fix mqprio and XDP ring checking logic
    c9d483a82848 net: stmmac: fix order of dwmac5 FlexPPS parametrization sequence
    e336a9e08618 net: openvswitch: fix possible memory leak in ovs_meter_cmd_set()
    b6d204731178 net/sched: act_ctinfo: use percpu stats
    02df3170c04a net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path
    229461ff0f43 dccp/tcp: Avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions.
    736281d45907 ice: xsk: Fix cleaning of XDP_TX frames
    bd662ba56187 net/sched: tcindex: update imperfect hash filters respecting rcu
    b70ec9872910 sctp: sctp_sock_filter(): avoid list_entry() on possibly empty list
    b7ec3971f183 net: ethernet: ti: am65-cpsw: Add RX DMA Channel Teardown Quirk
    ec9938d1b56e net: bgmac: fix BCM5358 support by setting correct flags
    5fbf79841b3f i40e: add double of VLAN header when computing the max MTU
    6d9f1ff81a89 ixgbe: allow to increase MTU to 3K with XDP enabled
    a813e55c1086 ice: fix lost multicast packets in promisc mode
    2fc3ff76e96f drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list
    e105b5e0d703 drm/vc4: Fix YUV plane handling when planes are in different buffers
    fcc6266d0da4 drm/vc4: crtc: Increase setup cost in core clock calculation to handle extreme reduced blanking
    b5aa09a0d4b7 revert "squashfs: harden sanity check in squashfs_read_xattr_id_table"
    3d16f4d7a1bc net: Fix unwanted sign extension in netdev_stats_to_stats64()
    2578123d5bdb Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."
    0ed7b542c21c coredump: Move dump_emit_page() to kill unused warning
    7f9f6c54da87 freezer,umh: Fix call_usermode_helper_exec() vs SIGKILL
    854e1ecff266 gpio: sim: fix a memory leak
    54806cb7516c mm/migrate: fix wrongly apply write bit after mkdirty on sparc64
    d4d9bdc6946d mm/filemap: fix page end in filemap_get_read_batch
    fd71c8d3b005 mm/MADV_COLLAPSE: set EAGAIN on unexpected page refcount
    a8ef5109f93c nilfs2: fix underflow in second superblock position calculations
    0047bcac7af7 hugetlb: check for undefined shift on 32 bit architectures
    c6879a4dcefe sched/psi: Fix use-after-free in ep_remove_wait_queue()
    bd302d7db300 ata: libata-core: Disable READ LOG DMA EXT for Samsung MZ7LH
    939640b99743 ata: ahci: Add Tiger Lake UP{3,4} AHCI controller
    6f07db9550a6 ALSA: hda/realtek: Enable mute/micmute LEDs and speaker support for HP Laptops
    789597ef058d ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform.
    9755eefe8ae0 ALSA: hda/realtek - fixed wrong gpio assigned
    c1de4def2e88 ALSA: hda/conexant: add a new hda codec SN6180
    e0089167543e ALSA: hda: Fix codec device field initializan
    82645bf4ed02 mmc: mmc_spi: fix error handling in mmc_spi_probe()
    f855d31bb38d mmc: sdio: fix possible resource leaks in some error paths
    0de3e53eab95 mmc: meson-gx: fix SDIO mode if cap_sdio_irq isn't set
    459980cc1448 mmc: jz4740: Work around bug on JZ4760(B)
    0a127ac97240 drm/vmwgfx: Do not drop the reference to the handle too soon
    14a14da042dd drm/vmwgfx: Stop accessing buffer objects which failed init
    020eccac747e drm/amd/display: Fail atomic_check early on normalize_zpos error
    dbe3529e816e drm/amd/amdgpu: fix warning during suspend
    8da6df028d53 drm: Disable dynamic debug as broken
    f1d91f0e9d5a fbdev: Fix invalid page access after closing deferred I/O devices
    eb80a7f34f3a vmxnet3: move rss code block under eop descriptor
    af126acf01a1 aio: fix mremap after fork null-deref
    86e3baf6a6a2 mm: shrinkers: fix deadlock in shrinker debugfs
    b184caaf62aa kasan: fix Oops due to missing calls to kasan_arch_is_ready()
    50b21bba3626 of: reserved_mem: Have kmemleak ignore dynamically allocated reserved mem
    421eea6b41ad selftests: mptcp: userspace: fix v4-v6 test in v6.1
    66ec619e4591 ceph: blocklist the kclient when receiving corrupted snap trace
    eb253f83d403 ceph: move mount state enum to super.h
    b9f21e40135a platform/x86: touchscreen_dmi: Add Chuwi Vi8 (CWI501) DMI match
    b4e79d0c7f9b drm/amd/display: Properly handle additional cases where DCN is not supported
    fc64b04297a0 drm/amdgpu: Enable vclk dclk node for gc11.0.3
    e9cbb2b0d9f6 drm/amdgpu: enable HDP SD for gfx 11.0.3
    488770cbddd8 drm/amd/display: Reset DMUB mailbox SW state after HW reset
    383e32fa274a drm/amd/display: Unassign does_plane_fit_in_mall function from dcn3.2
    7dbd205349f1 drm/amd/display: Adjust downscaling limits for dcn314
    0c42622a573b drm/amd/display: Add missing brackets in calculation
    53fb698a8a28 nvme: clear the request_queue pointers on failure in nvme_alloc_io_tag_set
    84ea5242b723 nvme: clear the request_queue pointers on failure in nvme_alloc_admin_tag_set
    fd646ac5403f nvme-fc: fix a missing queue put in nvmet_fc_ls_create_association
    f1eb22d0ff06 s390/decompressor: specify __decompress() buf len to avoid overflow
    f6415c9c9a0b net: sched: sch: Bounds check priority
    5252655127c7 net: ethernet: mtk_eth_soc: Avoid truncating allocation
    07a0e6d20106 drm/nouveau/devinit/tu102-: wait for GFW_BOOT_PROGRESS == COMPLETED
    b266c2e72ef3 fscache: Use clear_and_wake_up_bit() in fscache_create_volume_work()
    63c12d00d856 powerpc/64: Fix perf profiling asynchronous interrupt handlers
    07c53834ec27 net: stmmac: do not stop RX_CLK in Rx LPI state for qcs404 SoC
    15aa6a4274fb selftest: net: Improve IPV6_TCLASS/IPV6_HOPLIMIT tests apparmor compatibility
    ad549f06e3de net/rose: Fix to not accept on connected socket
    5d2cc32c1c10 vdpa: ifcvf: Do proper cleanup if IFCVF init fails
    2ad95cb1af7a tools/virtio: fix the vringh test for virtio ring changes
    925b1c909d11 ASoC: cs42l56: fix DT probe
    749985988148 bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
    22fcbb7802b9 ASoC: amd: yc: Add Xiaomi Redmi Book Pro 15 2022 into DMI table
    427ca2530da8 ALSA: hda: Do not unset preset when cleaning up codec
    544062e65f44 selftests/bpf: Verify copy_register_state() preserves parent/live fields
    2cd6e872d88d ASoC: Intel: sof_ssp_amp: always set dpcm_capture for amplifiers
    c2241c6c8e21 ASoC: Intel: sof_nau8825: always set dpcm_capture for amplifiers
    0a0754ca3c7c ASoC: Intel: sof_cs42l42: always set dpcm_capture for amplifiers
    f40f3dd00576 ASoC: Intel: sof_rt5682: always set dpcm_capture for amplifiers
    44bec0e7bf0a ALSA: usb-audio: Add FIXED_RATE quirk for JBL Quantum610 Wireless
    ad5716dea7d8 ASoC: SOF: sof-audio: start with the right widget type
    591d69e47a58 ASoC: amd: yc: Add DMI support for new acer/emdoor platforms
    d8c594da79bc btrfs: lock the inode in shared mode before starting fiemap
    f2e0134b43be btrfs: move the auto defrag code to defrag.c
    3fbcd42b3e66 mptcp: fix locking for in-kernel listener creation
    c4fcda0def04 mptcp: deduplicate error paths on endpoint creation
    03edc4a27dad mptcp: fix locking for setsockopt corner-case
    94ed108bf18c mptcp: sockopt: make 'tcp_fastopen_connect' generic

(From OE-Core rev: b32be9bd95a6460181eb8ebe6885515b828f0313)

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>
2023-03-03 18:03:56 +00:00
Bruce Ashfield
aedc70ea0e linux-yocto/5.15: update to v5.15.94
Updating  to the latest korg -stable release that comprises
the following commits:

    e2c1a934fd8e Linux 5.15.94
    17170acdc7c8 Documentation/hw-vuln: Add documentation for Cross-Thread Return Predictions
    5122e0e44363 KVM: x86: Mitigate the cross-thread return address predictions bug
    8f12dcab90e8 x86/speculation: Identify processors vulnerable to SMT RSB predictions
    e63c434de8b6 drm/i915: Fix VBT DSI DVO port handling
    fc88c6838183 drm/i915: Initialize the obj flags for shmem objects
    2e557c8ca2c5 drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/fini
    3af734f3eac6 Fix page corruption caused by racy check in __free_pages
    c94ce5ea68dc arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive
    b796c02df37e arm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitive
    5d9b771f53c1 arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive
    ac39dce11912 rtmutex: Ensure that the top waiter is always woken up
    86f7e4239336 powerpc/64s/interrupt: Fix interrupt exit race with security mitigation switch
    2907cf3f2ec7 riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte
    beb1cefa3ccd ceph: flush cap releases when the session is flushed
    86733ab23933 clk: ingenic: jz4760: Update M/N/OD calculation algorithm
    239e927eb2ea usb: typec: altmodes/displayport: Fix probe pin assign check
    48aecce116e4 usb: core: add quirk for Alcor Link AK9563 smartcard reader
    a8178bb1c776 btrfs: free device in btrfs_close_devices for a single device filesystem
    8d13f2c3e2ba mptcp: be careful on subflow status propagation on errors
    25141fb41191 net: USB: Fix wrong-direction WARNING in plusb.c
    d1fba1e096ff cifs: Fix use-after-free in rdata->read_into_pages()
    1b83e7e174d8 pinctrl: intel: Restore the pins that used to be in Direct IRQ mode
    f5f025b703e2 spi: dw: Fix wrong FIFO level setting for long xfers
    71668706fbe7 pinctrl: single: fix potential NULL dereference
    a2a1065739e9 pinctrl: aspeed: Fix confusing types in return value
    99450163bcf6 pinctrl: mediatek: Fix the drive register definition of some Pins
    9f0d2c268488 ASoC: topology: Return -ENOMEM on memory allocation failure
    1a52ef89e369 riscv: stacktrace: Fix missing the first frame
    5fb815433450 ALSA: pci: lx6464es: fix a debug loop
    105ea562f6cf selftests: forwarding: lib: quote the sysctl values
    528e3f3a4b53 rds: rds_rm_zerocopy_callback() use list_first_entry()
    48d6d8f2f609 igc: Add ndo_tx_timeout support
    62ff7dd961ab net/mlx5: Serialize module cleanup with reload and remove
    95d2394f84f1 net/mlx5: fw_tracer, Zero consumer index when reloading the tracer
    ab7f3f6a9d9b net/mlx5: fw_tracer, Clear load bit when freeing string DBs buffers
    193528646ed2 net/mlx5e: IPoIB, Show unknown speed instead of error
    7c6e8eb617c1 net/mlx5: Bridge, fix ageing of peer FDB entries
    49ece61a078f net/mlx5e: Update rx ring hw mtu upon each rx-fcs flag change
    31172267bab0 net/mlx5e: Introduce the mlx5e_flush_rq function
    e4e4e93d31b3 net/mlx5e: Move repeating clear_bit in mlx5e_rx_reporter_err_rq_cqe_recover
    3f18b9ed8c83 net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q"
    6acb5d853b41 net: dsa: mt7530: don't change PVC_EG_TAG when CPU port becomes VLAN-aware
    ca834a017851 ice: Do not use WQ_MEM_RECLAIM flag for workqueue
    70d48c7992ca uapi: add missing ip/ipv6 header dependencies for linux/stddef.h
    3cec44036f48 ionic: clean interrupt before enabling queue to avoid credit race
    fad12afe877a net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY
    d23385a200e6 bonding: fix error checking in bond_debug_reregister()
    11006d9d083f net: phylink: move phy_device_free() to correctly release phy device
    fb022d7b1c79 xfrm: fix bug with DSCP copy to v6 from v4 tunnel
    6fe1ad42afa8 RDMA/usnic: use iommu_map_atomic() under spin_lock()
    8f5fe1cd8e6a RDMA/irdma: Fix potential NULL-ptr-dereference
    1b4ef90cbcfa IB/IPoIB: Fix legacy IPoIB due to wrong number of queues
    5dc688fae6b7 xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()
    9bae58d58b6b IB/hfi1: Restore allocated resources on failed copyout
    558b1fa01cdc xfrm: compat: change expression for switch in xfrm_xlate64
    238b38e89fff can: j1939: do not wait 250 ms if the same addr was already claimed
    d859184b60d4 of/address: Return an error when no valid dma-ranges are found
    70f37b3118de tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw
    df017495039a ALSA: hda/realtek: Enable mute/micmute LEDs on HP Elitebook, 645 G9
    ca9d54220345 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro 360
    706b6d86a6f8 ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()
    731fc29de6a2 ALSA: hda/realtek: Add Positivo N14KP6-TG
    b93805980714 btrfs: zlib: zero-initialize zlib workspace
    e65faa7e39a2 btrfs: limit device extents to the device size
    2e4dd07fda7a migrate: hugetlb: check for hugetlb shared PMD in node migration
    072e7412e857 mm/migration: return errno when isolate_huge_page failed
    85d7786c66b6 Linux 5.15.93
    6e2fac197de2 bpf: Skip invalid kfunc call in backtrack_insn
    46c9088cabd4 gfs2: Always check inode size of inline inodes
    8eb2e58a92e0 gfs2: Cosmetic gfs2_dinode_{in,out} cleanup
    e4991910f150 wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads
    97ccfffcc061 f2fs: fix to do sanity check on i_extra_isize in is_alive()
    64fa364ad324 fbdev: smscufx: fix error handling code in ufx_usb_probe
    a77141a06367 ovl: Use "buf" flexible array for memcpy() destination
    1692fedd0f66 fs/ntfs3: Validate attribute data and valid sizes
    a5b9cb72769b powerpc/imc-pmu: Revert nest_init_lock to being a mutex
    3691f43a0959 iio:adc:twl6030: Enable measurement of VAC
    8c84f50390b2 bpf: Do not reject when the stack read size is different from the tracked scalar size
    14b6198abbd5 bpf: Fix incorrect state pruning for <8B spill/fill
    575a9f6fefd9 phy: qcom-qmp-combo: fix runtime suspend
    e58df87394be phy: qcom-qmp-combo: fix broken power on
    368ea32e0ad0 phy: qcom-qmp-usb: fix memleak on probe deferral
    2f27d3811a41 phy: qcom-qmp-combo: fix memleak on probe deferral
    0cb10ddab7df phy: qcom-qmp-combo: disable runtime PM on unbind
    0ef5ffe11682 serial: 8250_dma: Fix DMA Rx rearm race
    e30328f599b9 serial: 8250_dma: Fix DMA Rx completion race
    a5a171f61a04 nvmem: core: fix cell removal on error
    6d9fa3ff6548 nvmem: core: remove nvmem_config wp_gpio
    adf80e072c95 nvmem: core: initialise nvmem->id early
    e3ebc3e23bd9 drm/i915: Fix potential bit_17 double-free
    997bed0f3cde Squashfs: fix handling and sanity checking of xattr_ids count
    7a0cfaf9d457 highmem: round down the address passed to kunmap_flush_on_unmap()
    5dbe1ebd5647 mm/swapfile: add cond_resched() in get_swap_pages()
    daf82418045f fpga: stratix10-soc: Fix return value check in s10_ops_write_init()
    afd32b683154 x86/debug: Fix stack recursion caused by wrongly ordered DR7 accesses
    066ecbf1a53e kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup()
    481bf49f58bb usb: gadget: f_uac2: Fix incorrect increment of bNumEndpoints
    fdf40e582442 mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps
    6c300351c55d riscv: disable generation of unwind tables
    a5c275add96b parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case
    a964decd1307 parisc: Fix return code of pdc_iodc_print()
    488eaf0625d9 nvmem: qcom-spmi-sdam: fix module autoloading
    8569beb66fe6 iio: imu: fxos8700: fix MAGN sensor scale and unit
    8aa5cdcfaf6a iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN
    4112ba1ad5ca iio: imu: fxos8700: fix failed initialization ODR mode assignment
    abf7b2ba51f5 iio: imu: fxos8700: fix incorrect ODR mode readback
    412757741c22 iio: imu: fxos8700: fix swapped ACCEL and MAGN channels readback
    34909532b12e iio: imu: fxos8700: fix map label of channel type to MAGN sensor
    8346eb4987e5 iio: imu: fxos8700: fix IMU data bits returned to user space
    7567cdf3ce21 iio: imu: fxos8700: fix incomplete ACCEL and MAGN channels readback
    6969852220af iio: imu: fxos8700: fix ACCEL measurement range selection
    cdacfb220556 iio:adc:twl6030: Enable measurements of VUSB, VBAT and others
    9988063dcefd iio: adc: berlin2-adc: Add missing of_node_put() in error path
    c691a5c0fd03 iio: hid: fix the retval in gyro_3d_capture_sample
    ef80a34699cd iio: hid: fix the retval in accel_3d_capture_sample
    c4eae85c73be efi: Accept version 2 of memory attributes table
    710db8206351 ALSA: hda/realtek: Add Acer Predator PH315-54
    3fbddf86d924 watchdog: diag288_wdt: fix __diag288() inline assembly
    700dd5bc72d3 watchdog: diag288_wdt: do not use stack buffers for hardware data
    21bc51e29e66 net: qrtr: free memory on error path in radix_tree_insert()
    dccbd062d716 fbcon: Check font dimension limits
    5d7500d99164 Input: i8042 - add Clevo PCX0DX to i8042 quirk table
    fc9e27f3ba08 vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
    9ba1188a719a usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait
    fe86480e903f usb: dwc3: qcom: enable vbus override when in OTG dr-mode
    a412fe7baf40 iio: adc: stm32-dfsdm: fill module aliases
    994465939830 drm/amd/display: Fix timing not changning when freesync video is enabled
    a3967128bc65 net/x25: Fix to not accept on connected socket
    396ea318e7fa platform/x86: gigabyte-wmi: add support for B450M DS3H WIFI-CF
    1577524633c7 platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table
    540cea9f9b6d i2c: rk3x: fix a bunch of kernel-doc warnings
    0aaabdb900c7 scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
    17b738590b97 scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress
    8cd0499f9c33 perf/x86/intel: Add Emerald Rapids
    709351537096 scsi: target: core: Fix warning on RT kernels
    b7960f54362b i2c: mxs: suppress probe-deferral error message
    b9b87fc34b7f i2c: designware-pci: Add new PCI IDs for AMD NAVI GPU
    d8fc0b5fb3e8 efi: fix potential NULL deref in efi_mem_reserve_persistent
    f423c2efd51d net: openvswitch: fix flow memory leak in ovs_flow_cmd_new
    798502864789 virtio-net: Keep stop() to follow mirror sequence of open()
    5d884f9e80ff selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking
    63aa63af3a1e selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs
    d41a3f9cc242 selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided
    5af98283e554 selftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warning
    89e0701e03c5 ata: libata: Fix sata_down_spd_limit() when no link speed is reported
    9ab896775f98 can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate
    02d77d98e020 igc: return an error if the mac type is unknown in igc_ptp_systim_to_hwtstamp()
    04a735582095 riscv: kprobe: Fixup kernel panic when probing an illegal position
    206c367b6a2e ip/ip6_gre: Fix non-point-to-point tunnel not generating IPv6 link local address
    90178bc0f28f ip/ip6_gre: Fix changing addr gen mode not generating IPv6 link local address
    dfe2f0ea3851 net: phy: meson-gxl: Add generic dummy stubs for MMD register access
    b7398efe24a9 squashfs: harden sanity check in squashfs_read_xattr_id_table
    89a69216f170 netfilter: br_netfilter: disable sabotage_in hook after first suppression
    cdb444e73fdc drm/i915/adlp: Fix typo for reference clock
    960f20d8582e drm/i915/guc: Fix locking when searching for a hung request
    c27e0eac568a netrom: Fix use-after-free caused by accept on already connected socket
    511c922c5bf6 block, bfq: fix uaf for bfqq in bic_set_bfqq()
    a62c129dcbfa block, bfq: replace 0/1 with false/true in bic apis
    37a744a068c9 block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC"
    2cd1e9c013ec net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices
    18c18c2110ea sfc: correctly advertise tunneled IPv6 segmentation
    878b06f60a08 dpaa2-eth: execute xdp_do_flush() before napi_complete_done()
    3b5774cd6b94 dpaa_eth: execute xdp_do_flush() before napi_complete_done()
    5a7040a649c8 virtio-net: execute xdp_do_flush() before napi_complete_done()
    94add5b27290 qede: execute xdp_do_flush() before napi_complete_done()
    a273f8e3ab90 ice: Prevent set_channel from changing queues while RDMA active
    b432e183c26e fix "direction" argument of iov_iter_kvec()
    d8b8306e963e fix iov_iter_bvec() "direction" argument
    389c7c0ef9cc READ is "data destination", not source...
    7a3649bf5bef WRITE is "data source", not destination...
    83cc6a7bb75c vhost/net: Clear the pending messages when the backend is removed
    7c7d344bc386 scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT"
    4b199dc09416 drm/vc4: hdmi: make CEC adapter name unique
    dc1f8ab25a17 arm64: dts: imx8mm: Fix pad control for UART1_DTE_RX
    c681d7a4ed3d bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener
    34ad5d8885f5 bpf: Fix to preserve reg parent/live fields when copying range info
    7b86f9ab5692 bpf: Support <8-byte scalar spill and refill
    1b9256c96220 ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()
    b7abeb691637 bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers
    cfcc2390dbc5 ASoC: Intel: bytcr_wm5102: Drop reference count of ACPI device after use
    b4b204565a45 ASoC: Intel: bytcr_rt5640: Drop reference count of ACPI device after use
    1f1e7635c54d ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after use
    41d323c352ac ASoC: Intel: bytcht_es8316: Drop reference count of ACPI device after use
    6a9990e1d92b ASoC: Intel: bytcht_es8316: move comment to the right place
    ffcdf354555b ASoC: Intel: boards: fix spelling in comments
    bd0b17ab1b76 bus: sunxi-rsb: Fix error handling in sunxi_rsb_init()
    5f4543c9382a firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region
    e515b9902f5f Linux 5.15.92
    c7caf669b89d net: mctp: purge receive queues on sk destruction
    046de74f9af9 net: fix NULL pointer in skb_segment_list
    7ab3376703ce selftests: Provide local define of __cpuid_count()
    e92e311ced6f selftests/vm: remove ARRAY_SIZE define from individual tests
    c9e52db90031 tools: fix ARRAY_SIZE defines in tools and selftests hdrs
    c1aa0dd52db4 Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt
    02e61196c578 ACPI: processor idle: Practically limit "Dummy wait" workaround to old Intel systems
    79dd676b445f extcon: usbc-tusb320: fix kernel-doc warning
    c2bd60ef20de ext4: fix bad checksum after online resize
    4cd1e18bc04a cifs: fix return of uninitialized rc in dfs_cache_update_tgthint()
    43acd767bd90 dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init
    a54c5ad007ea HID: playstation: sanity check DualSense calibration data.
    6d7686cc11b7 blk-cgroup: fix missing pd_online_fn() while activating policy
    2144859229c1 erofs/zmap.c: Fix incorrect offset calculation
    0dfef5031335 bpf: Skip task with pid=1 in send_signal_common()
    e8bb772f745e firmware: arm_scmi: Clear stale xfer->hdr.status
    80cb9f1a76aa arm64: dts: imx8mq-thor96: fix no-mmc property for SDHCI
    162fad24d2e1 arm64: dts: freescale: Fix pca954x i2c-mux node names
    82ad105e1a55 ARM: dts: vf610: Fix pca9548 i2c-mux node names
    5aee5f33e03a ARM: dts: imx: Fix pca9547 i2c-mux node name

(From OE-Core rev: f5deb914ba17c131c4880da8d9a1184c2d2a3ef6)

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>
2023-03-03 18:03:56 +00:00
Bruce Ashfield
afd1545a5c linux-yocto/6.1: update to v6.1.12
Updating  to the latest korg -stable release that comprises
the following commits:

    129c15b60627 Linux 6.1.12
    da1ae884562c Documentation/hw-vuln: Add documentation for Cross-Thread Return Predictions
    40c4fdfc942e KVM: x86: Mitigate the cross-thread return address predictions bug
    cc95b5d240b6 x86/speculation: Identify processors vulnerable to SMT RSB predictions
    7fa83855852e drm/i915: Fix VBT DSI DVO port handling
    baaed8c92927 drm/i915: Initialize the obj flags for shmem objects
    bfa700d12274 drm/i915: Move fd_install after last use of fence
    5af27a53a881 drm/amd/display: fix cursor offset on rotation 180
    8d81e1c6865e drm/amd/display: properly handling AGP aperture in vm setup
    4609e1773222 drm/amdgpu/smu: skip pptable init under sriov
    2bcbbef9cace drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/fini
    d82e6903b395 drm/amd/pm: bump SMU 13.0.7 driver_if header version
    e379d5662c26 drm/amdgpu: Add unique_id support for GC 11.0.1/2
    daaa0760cd0b drm/amd/pm: bump SMU 13.0.0 driver_if header version
    346631d52a42 arm64: efi: Force the use of SetVirtualAddressMap() on eMAG and Altra Max machines
    3b4c045a98f5 Fix page corruption caused by racy check in __free_pages
    274d9a28527d arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive
    222b1070b0fa arm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitive
    a01ad536becb arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive
    446ac8dd8997 rtmutex: Ensure that the top waiter is always woken up
    386a8d694f95 tracing: Fix TASK_COMM_LEN in trace event format file
    a2e60fee4b76 drm/amdgpu: Use the TGID for trace_amdgpu_vm_update_ptes
    6f097c24815e powerpc/64s/interrupt: Fix interrupt exit race with security mitigation switch
    026cae99d064 riscv: kprobe: Fixup misaligned load text
    7d151eccd07a riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte
    9f55a0a2d94f nvdimm: Support sizeof(struct page) > MAX_STRUCT_PAGE_SIZE
    a89868254cd2 ceph: flush cap releases when the session is flushed
    62890f3eabf8 drm/amd/pm: add SMU 13.0.7 missing GetPptLimit message mapping
    7d2cd4736d1a pinctrl: qcom: sm8450-lpass-lpi: correct swr_rx_data group
    ab6fd64dda2b clk: ingenic: jz4760: Update M/N/OD calculation algorithm
    15f9f8eb3b8b cxl/region: Fix passthrough-decoder detection
    a04c7d062b53 cxl/region: Fix null pointer dereference for resetting decoder
    01815a1caf2f usb: typec: altmodes/displayport: Fix probe pin assign check
    db9c4a94b629 usb: core: add quirk for Alcor Link AK9563 smartcard reader
    51aa10112b12 btrfs: free device in btrfs_close_devices for a single device filesystem
    1ab4bed3fc8b btrfs: simplify update of last_dir_index_offset when logging a directory
    f676c8a69588 selftests: mptcp: stop tests earlier
    b7692fb9a2b0 selftests: mptcp: allow more slack for slow test-case
    ba36772a1cc9 mptcp: be careful on subflow status propagation on errors
    e266ad04ec39 mptcp: do not wait for bare sockets' timeout
    0d2cf3fae701 net: USB: Fix wrong-direction WARNING in plusb.c
    3684a2f6affa cifs: Fix use-after-free in rdata->read_into_pages()
    33dd18fbbb2d pinctrl: intel: Restore the pins that used to be in Direct IRQ mode
    3319d7292568 pinctrl: aspeed: Revert "Force to disable the function's signal"
    ebe63349cd48 spi: dw: Fix wrong FIFO level setting for long xfers
    bcc487001a15 pinctrl: single: fix potential NULL dereference
    9eab7b053947 pinctrl: aspeed: Fix confusing types in return value
    b048b969b362 pinctrl: mediatek: Fix the drive register definition of some Pins
    6353ebac4612 clk: microchip: mpfs-ccc: Use devm_kasprintf() for allocating formatted strings
    dcfe5431fb0f ASoC: topology: Return -ENOMEM on memory allocation failure
    3b858f23cefb ASoC: fsl_sai: fix getting version from VERID
    84560e33cea5 ASoC: tas5805m: add missing page switch.
    3e984873e4ac ASoC: tas5805m: rework to avoid scheduling while atomic.
    0f3d5c12b612 arm64: dts: mediatek: mt8195: Fix vdosys* compatible strings
    12773070b09b riscv: stacktrace: Fix missing the first frame
    885f729b249f ALSA: pci: lx6464es: fix a debug loop
    65473ade5062 arm64: dts: rockchip: set sdmmc0 speed to sd-uhs-sdr50 on rock-3a
    10150d350917 arm64: dts: rockchip: fix input enable pinconf on rk3399
    81685c59dc4b selftests: forwarding: lib: quote the sysctl values
    399f1cccc447 net: mscc: ocelot: fix all IPv6 getting trapped to CPU when PTP timestamping is used
    1d52bbfd469a rds: rds_rm_zerocopy_callback() use list_first_entry()
    da32c2d9f64b selftests: Fix failing VXLAN VNI filtering test
    0ae9d81109e9 txhash: fix sk->sk_txrehash default
    44a265af4aa9 net: ethernet: mtk_eth_soc: fix wrong parameters order in __xdp_rxq_info_reg()
    5f9c656ab2c4 igc: Add ndo_tx_timeout support
    190296d51b46 net/mlx5: Serialize module cleanup with reload and remove
    b266f3158171 net/mlx5: fw_tracer, Zero consumer index when reloading the tracer
    525e29974e3c net/mlx5: fw_tracer, Clear load bit when freeing string DBs buffers
    ee128b700fd0 net/mlx5: Expose SF firmware pages counter
    bbdfebb08ff5 net/mlx5: Store page counters in a single array
    5ccc3707e975 net/mlx5e: IPoIB, Show unknown speed instead of error
    026eb3e01a3d net/mlx5e: Fix crash unsetting rx-vlan-filter in switchdev mode
    1e9b6d279db1 net/mlx5: Bridge, fix ageing of peer FDB entries
    aee099bb0cd4 net/mlx5e: Update rx ring hw mtu upon each rx-fcs flag change
    4d15289c22fa net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q"
    139c759823b0 net: dsa: mt7530: don't change PVC_EG_TAG when CPU port becomes VLAN-aware
    47f4ff6f23f0 ice: switch: fix potential memleak in ice_add_adv_recipe()
    8eeca43d8e7e ice: Fix disabling Rx VLAN filtering with port VLAN enabled
    df59e0540145 ice: Do not use WQ_MEM_RECLAIM flag for workqueue
    437f8892ece7 nvidiafb: detect the hardware support before removing console.
    c47c2b173d0c cpuset: Call set_cpus_allowed_ptr() with appropriate mask for task
    5489930113dc drm/virtio: exbuf->fence_fd unmodified on interrupted wait
    d05b72328810 drm/i915: Don't do the WM0->WM1 copy w/a if WM1 is already enabled
    16da5f6d38ac HID: amd_sfh: if no sensors are enabled, clean up
    c0eb3c0cdd1b net: microchip: sparx5: fix PTP init/deinit not checking all ports
    89c0c69fc739 uapi: add missing ip/ipv6 header dependencies for linux/stddef.h
    c97c7c3103a3 cpufreq: qcom-hw: Fix cpufreq_driver->get() for non-LMH systems
    07154f94c213 ionic: missed doorbell workaround
    a16f6ea194fe ionic: refactor use of ionic_rx_fill()
    db34b5352e92 ionic: clean interrupt before enabling queue to avoid credit race
    95e29c11abe5 net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY
    9c6a896b8d40 net: macb: Perform zynqmp dynamic configuration only for SGMII interface
    d974330c1d99 bonding: fix error checking in bond_debug_reregister()
    a65723e299dc net: phylink: move phy_device_free() to correctly release phy device
    a7f0ec26cd67 of: Make OF framebuffer device names unique
    5954eaab6bb7 xfrm: fix bug with DSCP copy to v6 from v4 tunnel
    d53903cc2396 RDMA/usnic: use iommu_map_atomic() under spin_lock()
    360682fe7df2 RDMA/irdma: Fix potential NULL-ptr-dereference
    f6d8b6762bee xfrm: annotate data-race around use_time
    7197460dcd43 IB/IPoIB: Fix legacy IPoIB due to wrong number of queues
    419674224390 xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()
    0a4f811f2e5d IB/hfi1: Restore allocated resources on failed copyout
    cf118814ae89 xfrm: compat: change expression for switch in xfrm_xlate64
    3fc0b7b7e9a5 HID: logitech: Disable hi-res scrolling on USB
    c86e6d30c522 can: j1939: do not wait 250 ms if the same addr was already claimed
    ad7e46427f92 of/address: Return an error when no valid dma-ranges are found
    0a3e60b3fe49 tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw
    5c4bd3f2f6eb Revert "PCI/ASPM: Refactor L1 PM Substates Control Register programming"
    3361eb2256f9 Revert "PCI/ASPM: Save L1 PM Substates Capability for suspend/resume"
    63380b631f3d ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform.
    fdc304eef6e8 ALSA: hda/realtek: Add quirk for ASUS UM3402 using CS35L41
    566cad13beb6 ALSA: hda/realtek: Enable mute/micmute LEDs on HP Elitebook, 645 G9
    49f4284ab3b5 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro 360
    9d26f571df4d ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()
    ab9b01a7acd5 ALSA: hda/realtek: Add Positivo N14KP6-TG
    8ab575add354 btrfs: zlib: zero-initialize zlib workspace
    66cf3a8273ab btrfs: limit device extents to the device size
    6b2aaf302ce8 hv_netvsc: Allocate memory in netvsc_dma_map() with GFP_ATOMIC
    d60c95efffe8 Linux 6.1.11
    74eec8266f37 bpf: Skip invalid kfunc call in backtrack_insn
    d458a0984429 gfs2: Always check inode size of inline inodes
    62b11a34a98c gfs2: Cosmetic gfs2_dinode_{in,out} cleanup
    f06de1bb6d61 wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads
    5b25035fb888 f2fs: fix to do sanity check on i_extra_isize in is_alive()
    1b4c08844628 fbdev: smscufx: fix error handling code in ufx_usb_probe
    ddeff03bb338 f2fs: initialize locks earlier in f2fs_fill_super()
    07a96977b2f4 ovl: Use "buf" flexible array for memcpy() destination
    543bba3be262 fs/ntfs3: Validate attribute data and valid sizes
    0153009a7e65 powerpc/imc-pmu: Revert nest_init_lock to being a mutex
    5a9fe6b7f4c1 powerpc/64s: Fix local irq disable when PMIs are disabled
    18bac7de2459 powerpc/64s/radix: Fix crash with unaligned relocated kernel
    54fb38bcaaa0 iio:adc:twl6030: Enable measurement of VAC
    f6c0ebc10c0b ASoC: SOF: sof-audio: prepare_widgets: Check swidget for NULL on sink failure
    02b9d653531d platform/x86/amd: pmc: add CONFIG_SERIO dependency
    9d25aea2ab4f serial: 8250_dma: Fix DMA Rx rearm race
    bd8d2ba9d9e0 serial: 8250_dma: Fix DMA Rx completion race
    5f3dedbc3bf4 phy: qcom-qmp-combo: fix runtime suspend
    5288d522a987 nvmem: core: fix return value
    1dcd68c9cc5c nvmem: core: fix cell removal on error
    d78f5d46fc2a nvmem: core: fix device node refcounting
    897dfd346223 nvmem: core: fix registration vs use race
    39708bc8da78 nvmem: core: fix cleanup after dev_set_name()
    1e2a745a896e nvmem: core: remove nvmem_config wp_gpio
    28829e5f1c88 nvmem: core: initialise nvmem->id early
    86dbbc8f6ba7 drm/amdgpu: update wave data type to 3 for gfx11
    91ef43f6b65b drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11
    814d83a710e8 drm/amd: Fix initialization for nbio 4.3.0
    0769f997a7b6 drm/i915: Fix potential bit_17 double-free
    764accc2c1b8 drm/i915: Avoid potential vm use-after-free
    52c6d3a84a3e serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler
    e48a8ad77be3 dma-buf: actually set signaling bit for private stub fences
    d8b46cc1cf9b migrate: hugetlb: check for hugetlb shared PMD in node migration
    82587c0e2735 maple_tree: fix mas_empty_area_rev() lower bound validation
    a7da7d01ac5c Squashfs: fix handling and sanity checking of xattr_ids count
    c4fd07cd5e7e ia64: fix build error due to switch case label appearing next to declaration
    ef8a286338c4 highmem: round down the address passed to kunmap_flush_on_unmap()
    96aaaf866601 mm/MADV_COLLAPSE: catch !none !huge !bad pmd lookups
    97f17a737270 mm, mremap: fix mremap() expanding for vma's with vm_ops->close()
    acb08187b5a8 mm/khugepaged: fix ->anon_vma race
    49178d4d61e7 mm/swapfile: add cond_resched() in get_swap_pages()
    2d11727655bf mm/uffd: fix pte marker when fork() without fork event
    b10990bee73c fpga: stratix10-soc: Fix return value check in s10_ops_write_init()
    74cff472d3d6 fpga: m10bmc-sec: Fix probe rollback
    32beac7a3d0f x86/debug: Fix stack recursion caused by wrongly ordered DR7 accesses
    0b570a059cf4 HV: hv_balloon: fix memory leak with using debugfs_lookup()
    cf1c917bf1c7 kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup()
    512d1ed968d5 usb: gadget: udc: do not clear gadget driver.bus
    fdd11d7136fd usb: typec: ucsi: Don't attempt to resume the ports before they exist
    dd63f6f0d946 usb: gadget: f_uac2: Fix incorrect increment of bNumEndpoints
    b79ba5953f6f mm: memcg: fix NULL pointer in mem_cgroup_track_foreign_dirty_slowpath()
    139f866e420a mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps
    04448022311c mm: multi-gen LRU: fix crash during cgroup migration
    b40680220b13 Revert "mm: kmemleak: alloc gray object for reserved region with direct map"
    4afacf17ff0f riscv: disable generation of unwind tables
    3028c3a169a2 parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case
    a6a5b7067018 parisc: Replace hardcoded value with PRIV_USER constant in ptrace.c
    d386bc5bf1cd parisc: Fix return code of pdc_iodc_print()
    96d3b446680e nvmem: qcom-spmi-sdam: fix module autoloading
    68ce2c8f9d0e nvmem: sunxi_sid: Always use 32-bit MMIO reads
    f5249bbae0e7 nvmem: brcm_nvram: Add check for kzalloc
    4092267ad66a iio: imu: fxos8700: fix MAGN sensor scale and unit
    ad3c145485b2 iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN
    8ac10e1cb0f5 iio: imu: fxos8700: fix failed initialization ODR mode assignment
    555daa41074d iio: imu: fxos8700: fix incorrect ODR mode readback
    efc3dc3812cf iio: imu: fxos8700: fix swapped ACCEL and MAGN channels readback
    af7b50e4f6ee iio: imu: fxos8700: fix map label of channel type to MAGN sensor
    3a91ef914ab1 iio: imu: fxos8700: fix IMU data bits returned to user space
    8f1b6aa3bf0f iio: imu: fxos8700: fix incomplete ACCEL and MAGN channels readback
    fb06fc5af496 iio: imu: fxos8700: fix ACCEL measurement range selection
    1a48ba20a551 iio: light: cm32181: Fix PM support on system with 2 I2C resources
    930351148181 iio:adc:twl6030: Enable measurements of VUSB, VBAT and others
    e05b41391ab3 iio: imx8qxp-adc: fix irq flood when call imx8qxp_adc_read_raw()
    9e480211d0f8 iio: adc: berlin2-adc: Add missing of_node_put() in error path
    0b2f949909a3 iio: adc: xilinx-ams: fix devm_krealloc() return value check
    f9e5c6d9ac6c iio: hid: fix the retval in gyro_3d_capture_sample
    37b5824545e6 iio: hid: fix the retval in accel_3d_capture_sample
    8c3203f47d33 rtc: efi: Enable SET/GET WAKEUP services as optional
    661bb546c4d5 efi: Accept version 2 of memory attributes table
    ac515839b1f3 ASoC: SOF: keep prepare/unprepare widgets in sink path
    18691bdd5db5 ASoC: SOF: sof-audio: skip prepare/unprepare if swidget is NULL
    b6552a76015a ASoC: SOF: sof-audio: unprepare when swidget->use_count > 0
    60a1ffed517f ASoC: codecs: wsa883x: correct playback min/max rates
    dd405afa4e97 ALSA: hda/realtek: fix mute/micmute LEDs, speaker don't work for a HP platform
    e58d01b09930 ALSA: hda/realtek: Add Acer Predator PH315-54
    be606481eb33 watchdog: diag288_wdt: fix __diag288() inline assembly
    f3d786285f4c watchdog: diag288_wdt: do not use stack buffers for hardware data
    ad8860868141 can: isotp: handle wait_event_interruptible() return values
    cae4c9bc35f7 can: isotp: split tx timer into transmission and timeout
    6e62048f527d net: qrtr: free memory on error path in radix_tree_insert()
    334ce90fadd1 ARM: dts: imx7d-smegw01: Fix USB host over-current polarity
    78792d25b658 hv_netvsc: Fix missed pagebuf entries in netvsc_dma_map/unmap()
    a2ab7f2cf5ef cgroup/cpuset: Fix wrong check in update_parent_subparts_cpumask()
    5e7f6e2ade57 fbcon: Check font dimension limits
    8506f16aae9d vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
    3b1534f5bae7 usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait
    f3ce160b301c usb: dwc3: qcom: enable vbus override when in OTG dr-mode
    e99780c3e7a9 iio: adc: stm32-dfsdm: fill module aliases
    016dadc60e2e bcache: Silence memcpy() run-time false positive warnings
    f3056978934c drm/amd/display: Fix timing not changning when freesync video is enabled
    22312eeab33e net/x25: Fix to not accept on connected socket
    72e5a83b7c84 platform/x86/amd: pmc: Disable IRQ1 wakeup for RN/CZN
    37e9784331f2 platform/x86: gigabyte-wmi: add support for B450M DS3H WIFI-CF
    919ff2c40145 platform/x86: hp-wmi: Handle Omen Key event
    eb74184dcc70 platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table
    19e2f49914e7 x86/build: Move '-mindirect-branch-cs-prefix' out of GCC-only block
    40971f2e525e Revert "gfs2: stop using generic_writepages in gfs2_ail1_start_one"
    c671f7aaf2d8 i2c: rk3x: fix a bunch of kernel-doc warnings
    61e43ebfd243 scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
    8859687f5b24 scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress
    35e44dc40283 perf/x86/intel/cstate: Add Emerald Rapids
    e095f0d86e3a perf/x86/intel: Add Emerald Rapids
    fcf8b1a6d5b8 x86/aperfmperf: Erase stale arch_freq_scale values when disabling frequency invariance readings
    f6c8f682e588 scsi: target: core: Fix warning on RT kernels
    c1435f5a03c8 i2c: mxs: suppress probe-deferral error message
    8e9b15ad1484 i2c: designware-pci: Add new PCI IDs for AMD NAVI GPU
    65166bccd038 kbuild: modinst: Fix build error when CONFIG_MODULE_SIG_KEY is a PKCS#11 URI
    10282d9daaf7 certs: Fix build error when PKCS#11 URI contains semicolon
    71ebd83f320e rtc: sunplus: fix format string for printing resource
    a2e6a9ff89f1 efi: fix potential NULL deref in efi_mem_reserve_persistent
    70d40674a549 net: openvswitch: fix flow memory leak in ovs_flow_cmd_new
    2c036e21c2b6 virtio-net: Keep stop() to follow mirror sequence of open()
    462a2c1bdf1a selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking
    14782ea872e0 selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs
    430bc0756ae1 selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided
    5bbc22fdbcbc selftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warning
    3b7fbcf86eee ata: libata: Fix sata_down_spd_limit() when no link speed is reported
    6366671954f0 can: mcp251xfd: mcp251xfd_ring_set_ringparam(): assign missing tx_obj_num_coalesce_irq
    c3033f91ebd6 can: raw: fix CAN FD frame transmissions over CAN XL devices
    1740a1e45eee can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate
    0cb094179aa8 octeontx2-af: Fix devlink unregister
    adf848eab2d4 igc: return an error if the mac type is unknown in igc_ptp_systim_to_hwtstamp()
    12316538b1d1 riscv: kprobe: Fixup kernel panic when probing an illegal position
    848b6074654e ip/ip6_gre: Fix non-point-to-point tunnel not generating IPv6 link local address
    abac37d8f90c ip/ip6_gre: Fix changing addr gen mode not generating IPv6 link local address
    e2d967b42a71 drm/panel: boe-tv101wum-nl6: Ensure DSI writes succeed during disable
    11ee5d630827 net: phy: meson-gxl: Add generic dummy stubs for MMD register access
    0cfe084e1530 sctp: do not check hb_timer.expires when resetting hb_timer
    e0514483fa88 maple_tree: should get pivots boundary by type
    29e774dcb271 squashfs: harden sanity check in squashfs_read_xattr_id_table
    14f56034ec4e kunit: fix kunit_test_init_section_suites(...)
    ee1e3fe4b457 block: ublk: extending queue_size to fix overflow
    a1512f11ec02 netfilter: br_netfilter: disable sabotage_in hook after first suppression
    3214b04de31b ALSA: firewire-motu: fix unreleased lock warning in hwdep device
    37c0cdf7e491 net/tls: tls_is_tx_ready() checked list_entry
    7a435fe0b6bb drm/i915/adlp: Fix typo for reference clock
    04dcff26490c drm/i915: Fix up locking around dumping requests lists
    9467397f417d drm/i915: Fix request ref counting during error capture & debugfs dump
    de997938a7a5 drm/i915/guc: Fix locking when searching for a hung request
    e7cdec97ebeb platform/x86: thinkpad_acpi: Fix thinklight LED brightness returning 255
    21745fbfe760 platform/x86/amd/pmf: Ensure mutexes are initialized before use
    7f7f441347b4 platform/x86/amd/pmf: Fix to update SPS thermals when power supply change
    dadc3820a3d9 platform/x86/amd/pmf: Add helper routine to check pprof is balanced
    1db1edddb873 platform/x86/amd/pmf: Fix to update SPS default pprof thermals
    05484584cadf platform/x86/amd/pmf: Add helper routine to update SPS thermals
    bb4a5cef532d platform/x86/amd/pmf: update to auto-mode limits only after AMT event
    3be069f42a7b fscache: Use wait_on_bit() to wait for the freeing of relinquished volume
    5c2227f3f177 netrom: Fix use-after-free caused by accept on already connected socket
    cb1876fc33af block, bfq: fix uaf for bfqq in bic_set_bfqq()
    b2e181cf9e57 block, bfq: replace 0/1 with false/true in bic apis
    70fd5afb4c36 net: wwan: t7xx: Fix Runtime PM initialization
    78901b10522c net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices
    ddaf96f6953b sfc: correctly advertise tunneled IPv6 segmentation
    a838f8a69b1f skb: Do mix page pool and page referenced frags in GRO
    9e0d874c0a6b dpaa2-eth: execute xdp_do_flush() before napi_complete_done()
    71a773ab79c9 dpaa_eth: execute xdp_do_flush() before napi_complete_done()
    e5aed1336303 virtio-net: execute xdp_do_flush() before napi_complete_done()
    b9fd30ea66e8 qede: execute xdp_do_flush() before napi_complete_done()
    34e0dd0947e9 ice: Prevent set_channel from changing queues while RDMA active
    c4cadb84e71b vhost-scsi: unbreak any layout for response
    5a1909510387 use less confusing names for iov_iter direction initializers
    6d6e144ffbf2 fix "direction" argument of iov_iter_kvec()
    ff85ec97d14c fix 'direction' argument of iov_iter_{init,bvec}()
    02f719be2f2b fix iov_iter_bvec() "direction" argument
    b50705b5ef09 memcpy_real(): WRITE is "data source", not destination...
    cefb33f5be6e zcore: WRITE is "data source", not destination...
    98653e51618e READ is "data destination", not source...
    a7fcd22a55a6 WRITE is "data source", not destination...
    0332bdec060a copy_oldmem_kernel() - WRITE is "data source", not destination
    ccbe22d4843d vhost/net: Clear the pending messages when the backend is removed
    0b49da857d32 ALSA: memalloc: Workaround for Xen PV
    3331d3416076 bpf: Fix the kernel crash caused by bpf_setsockopt().
    c7ee7bad9c1b scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT"
    9e0097cb51e6 drm/ssd130x: Init display before the SSD130X_DISPLAY_ON command
    c590a4a59a98 drm/vc4: hdmi: make CEC adapter name unique
    0bdd5a7b517f arm64: dts: imx8mm-verdin: Do not power down eth-phy
    3419ddcfa143 arm64: dts: imx8mm: Fix pad control for UART1_DTE_RX
    12b0ec7c6953 bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener
    7715f96f4ba6 media: v4l2-ctrls-api.c: move ctrl->is_new = 1 to the correct line
    d5c7a2ab5e1f bpf: Add missing btf_put to register_btf_id_dtor_kfuncs
    d52f34784e4e ASoC: SOF: ipc4-mtrace: prevent underflow in sof_ipc4_priority_mask_dfs_write()
    4ea7f83314f1 selftests/filesystems: grant executable permission to run_fat_tests.sh
    7c7652ffa986 bpf: Fix to preserve reg parent/live fields when copying range info
    f011360ad234 ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()
    6a199d556c02 bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers
    c32efcf9ff85 bpf: Fix off-by-one error in bpf_mem_cache_idx()
    ba32923bcedd ASoC: Intel: avs: Implement PCI shutdown
    cdebb52d6098 ASoC: Intel: sof_es8336: Drop reference count of ACPI device after use
    c48af765e183 ASoC: Intel: bytcr_wm5102: Drop reference count of ACPI device after use
    c72c57b689bf ASoC: Intel: bytcr_rt5640: Drop reference count of ACPI device after use
    877699a054ec ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after use
    eddc0f2ad6d5 ASoC: Intel: bytcht_es8316: Drop reference count of ACPI device after use
    7b1ed88ec3af ASoC: amd: acp-es8336: Drop reference count of ACPI device after use
    ac949eae8d59 arm64: dts: freescale: imx8dxl: fix sc_pwrkey's property name linux,keycode
    13d27de91ace arm64: dts: imx8m-venice: Remove incorrect 'uart-has-rtscts'
    17b83ef66d0e bus: sunxi-rsb: Fix error handling in sunxi_rsb_init()
    c8bdc88216f0 firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region
    17d99ea98b62 Linux 6.1.10
    cfc15cbd85aa net: mctp: purge receive queues on sk destruction
    60cd03ffe938 rust: print: avoid evaluating arguments in `pr_*` macros in `unsafe` blocks
    888dad6f3e85 net: fix NULL pointer in skb_segment_list
    9d369cd505ae gpiolib-acpi: Don't set GPIOs for wakeup in S3 mode
    69622f270cc9 gpiolib: acpi: Add a ignore wakeup quirk for Clevo NL5xRU
    30dc1de44e75 nvme-apple: only reset the controller when RTKit is running
    38044859deee cifs: fix return of uninitialized rc in dfs_cache_update_tgthint()
    1dba6881e332 gpiolib: acpi: Allow ignoring wake capability on pins that aren't in _AEI
    ce4745a6b801 dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init
    6b1cebcd9e89 HID: playstation: sanity check DualSense calibration data.
    7f85560667ed HID: uclogic: Add support for XP-PEN Deco 01 V2
    1fc24f9da259 s390: workaround invalid gcc-11 out of bounds read warning
    6f13860bba96 block: fix hctx checks for batch allocation
    99db989945cd ACPI: video: Add backlight=native DMI quirk for Acer Aspire 4810T
    efc1058831f9 LoongArch: Get frame info in unwind_start() when regs is not available
    a4a1af9fa08e blk-cgroup: fix missing pd_online_fn() while activating policy
    6db03adf078e erofs: clean up parsing of fscache related options
    27c54591ba26 kselftest: Fix error message for unconfigured LLVM builds
    495cec3763d7 ARM: omap1: fix building gpio15xx
    1d34087944a6 arm64: dts: msm8994-angler: fix the memory map
    ea2be0ca6913 mac80211: Fix MLO address translation for multiple bss case
    9f31d8c889d9 erofs/zmap.c: Fix incorrect offset calculation
    1283a01b6e19 bpf: Skip task with pid=1 in send_signal_common()
    e0b9560bf170 firmware: arm_scmi: Clear stale xfer->hdr.status
    ba355e99eff0 arm64: dts: imx8mq-thor96: fix no-mmc property for SDHCI
    a5a629d7dafc arm64: dts: freescale: Fix pca954x i2c-mux node names
    ab603e92db12 ARM: dts: vf610: Fix pca9548 i2c-mux node names
    7f68b6ecf5e9 ARM: dts: imx: Fix pca9547 i2c-mux node name

(From OE-Core rev: f9d61ad37ac07e551c0acebad031ac0e572e949c)

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>
2023-03-03 18:03:56 +00:00
Bruce Ashfield
354b52e83d linux-yocto-dev: bump to v6.2
Updating the -dev kernel to the 6.2 kernel.

(From OE-Core rev: e65d10ea2c955c87a08e6ac0e2594e3618cdc7e8)

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>
2023-03-03 18:03:56 +00:00
Bruce Ashfield
61e80223a9 linux-yocto-rt/6.1: fix compilation issue with per cpu stats
Integrating the following commit(s) to linux-yocto/6.1:

    3b4c5ff8e4f1 net: fix net/netfilter/ipvs/ip_vs_ctl.c with u64 and u64_stats_t

(From OE-Core rev: 7d7044e8031009ecebd8586ce52d1c1207546668)

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>
2023-03-03 18:03:56 +00:00
Tim Orling
778e1b56ad python3-babel: upgrade 2.11.0 -> 2.12.1
https://babel.pocoo.org/en/latest/changelog.html#version-2-12-1

Version 2.12.1
* Fixes
  - Version 2.12.0 was missing the py.typed marker file. Thanks to Alex
    Waygood for the fix! #975
  - The copyright year in all files was bumped to 2023.

License-Update: copyright years

(From OE-Core rev: abbcf19d7e46682d3ac7b4fda6e67543b9e9866f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-03 18:03:56 +00:00
Tim Orling
bfb412e848 python3-hypothesis: upgrade 6.68.1 -> 6.68.2
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-68-2

6.68.2 - 2023-02-17
This patch fixes missing imports of the re module, when ghostwriting tests
which include compiled patterns or regex flags. Thanks to Jens Heinrich for
reporting and promptly fixing this bug!

(From OE-Core rev: 9fdfc5dfa09fc97409ee9ff6fafae3fd1bb523cf)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-03 18:03:56 +00:00
Khem Raj
b3c9b6033a opensbi: Upgrade to 1.2 release
Here is list of changes in this major release

https://github.com/riscv-software-src/opensbi/compare/v1.1...v1.2

(From OE-Core rev: 0a95e4d541e202cb1e19f99c18f9378c0d6aa1ef)

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>
2023-03-03 18:03:56 +00:00
Khem Raj
bc74029deb opensbi: Do not add dependencies if RISCV_SBI_FDT is not set
Dependencies only make sense when opensbi is being used to deliver
payload which maybe an artifact of kernel or u-boot, otherwise it should
be not added. This avoids circular dependencies when RISCV machines do
not define RISCV_SBI_PAYLOAD but do define RISCV_SBI_FDT

(From OE-Core rev: 83a986fcac535415108caf70a9fdee8edc59f7d5)

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>
2023-03-03 18:03:56 +00:00
Tim Orling
b5556c9fc6 python3-zipp: upgrade 3.14.0 -> 3.15.0
https://zipp.readthedocs.io/en/latest/history.html#v3-15-0

v3.15.0 (24 Feb 2023)
* gh-102209: test_implied_dirs_performance now tests measures the time
  complexity experimentally.

Reference:
https://github.com/python/cpython/issues/102209

(From OE-Core rev: 1cb64a5b6a950eb7f7c72125c5741fdafe236f0b)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-01 21:29:31 +00:00
Tim Orling
e0b920483c python3-more-itertools: upgrade 9.0.0 -> 9.1.0
Upstream docs currently have a typo showing the changes as 8.14.0
89d58c2ec0

9.1.0
-----
* New functions
  - iter_index() (from the Python itertools docs)
  - transpose() (from the Python itertools docs)
  - matmul() (from the Python itertools docs)
  - factor() (from the Python itertools docs)
  - gray_product() (thanks to haukex)
* Changes to existing functions
  - sieve() was updated to match the Python itertools docs
  - maxsplit() was updated to fix a bug (thanks to abingham)
  - sliced() had its type hint updated (thanks to ad-chaos)
* Other changes
  - The batched function is marked as deprecated and will be removed in a
    future major release. For Python 3.12 and above, use itertools.batched
    instead. (thanks to neutrinoceros)
  - The type hints now used postponed evaluation of annotations from PEP 563
    (thanks to Isira-Seneviratne)
  - Some documentation issues were fixed (thanks to Voskov and jdkandersson)

(From OE-Core rev: 436b92846406273fb3651f4f026e9fd3871ee71c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-01 21:29:31 +00:00
Khem Raj
43a4d45f51 kernel: Add kernel specific OBJDUMP
This helps in switching toolchains cleanly for kernel build
between gcc and clang

Currently, some kernels allow building with clang but not all
the distro might use clang as default system compiler but kernel
may demand gcc which is provided via KERNEL_* variables, however
kernel does use OBJCOPY at places during build and it maybe set
to use llvm objcopy when using clang. That should be a deliberate
setting when clang is used for kernel as well, otherwise it should
use binutils provided objcopy

(From OE-Core rev: 17b409f2fd97894e0943d13c2cb0d52abde647e3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-01 21:29:31 +00:00
Markus Volk
6a025980f4 libsdl2: add missing libdecor RDEPEND
libdecor is dlopen'ed ... add it as RDEPEND to make it work on runtime

(From OE-Core rev: 321f0819515cd53362b1b84aa2d1eece75e013e5)

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>
2023-03-01 21:29:31 +00:00
Wang Mingyu
b624fc1b1b diffoscope: upgrade 235 -> 236
(From OE-Core rev: f2a7a4a899dff74b88c4192f1d97a14833016029)

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>
2023-03-01 21:29:31 +00:00
Chen Qi
02cd66a37a gpgme: fix python setuptools invalid version issue
The python3-gpg's version is now '1.18.0-unknown'. Such version
has been treated as invalid for setuptools >=66.0.0. The error
message is as below:

  pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '1.18.0-unknown'
  (package: gpg)

Fix this issue by removing the '-unknown' suffix.

(From OE-Core rev: 3a8bf81c5fb6111eab9784192754271efc85ee5c)

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>
2023-03-01 21:29:31 +00:00
leimaohui
4ce6f7bcdd nghttp2: Deleted the entries for -client and -server, and removed a dependency on them from the main package.
By default there is nothing in nghttp2-client and nghttp2-server ,nghttp2-client
and nghttp2-server aren't created. So there are dependences error if install
main package.

Problem: conflicting requests
  - nothing provides nghttp2-client >= 1.52.0 needed by nghttp2-1.52.0-r0.core2_64
  - nothing provides nghttp2-server >= 1.52.0 needed by nghttp2-1.52.0-r0.core2_64

(From OE-Core rev: d2cbe060955c598bd81923ecd554fbe82c17af99)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-01 21:29:31 +00:00
leimaohui
d7b576cf6b gnutls: Updated ther patch which fixes build error for fips enabled.
The context of lib/Makefile.am in gnutls_3.8.0 has changed when
updated from gnutls_3.7.8.

(From OE-Core rev: 7c00bf8e0a0f9c88de6cf782b7fa3db7872c4100)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-01 21:29:31 +00:00
Marek Vasut
33d9b3a8ed systemd-systemctl: Create machine-id with "uninitialized" text in it
Instead of creating empty /etc/machine-id file using touch, write
text "uninitialized" into it. Systemd requires "uninitialized" in
the /etc/machine-id file to trigger systemd-firstboot .

(From OE-Core rev: 263c852269027b1bd311e116021ac49d9001e1b0)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-28 07:53:54 +00:00
Alexis Lothoré
9b8665bb96 oeqa/selftest/resulttool: add test for metadata filtering on regression
Multiple filters have been added to resulttool to ensure that test
results are compared only to relevant older tests results

Add some unit tests about added filters:
- tests should only be compared when machine matches
- tests run as oeselftest should only be compared when
  OESELFTEST_METADATA matches
- many ptests should match despite non-static names
- runtime tests should match with matching tests regarding ltp tests
  content

(From OE-Core rev: b84302ef56f2516742a496aef43b89d4c3decd37)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-28 07:53:54 +00:00
Alexis Lothoré
d0f32772bb scripts/yoct_testresults_query: manage base/target revision not found
If yocto_testresults_query.py is run from oe-core instead of poky, the
script will very likely fail since poky tags do no exist in oe-core. If
one or both revisions are not found, log the error and a suggestion
about the reason (the script being run in oe-core instead of poky)

(From OE-Core rev: 758ac050ffd91524d400c196865b1ed27ece8776)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-28 07:53:54 +00:00
Ross Burton
aa0682447f glibc: remove obsolete CVE ignores
Remove some obsolete CVE ignores now that releases have been made, CPEs
updated, or upgrades done:

CVE-2020-10029 is marked as fixed in 2.32.

CVE-2021-27645 is marked as fixed in 2.34.

CVE-2022-39046 is marked as fixed in 2.37.

(From OE-Core rev: a383d0e726011007419dd102cd6484733d80d9f6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-28 07:53:54 +00:00
Ross Burton
fcb643cd99 glibc: add ignore for CVE-2023-25139
This CVE has been fixed in the 2.37 release branch (07b9521fc6) and
we're now using a SHA that incorporates that commit, so manually mark it
as ignored.

(From OE-Core rev: b143e355ef362dac89f8b125904d2e47c74e597e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-28 07:53:54 +00:00
Geoffrey GIRY
6bdd652fb6 cve-extra-exclusions: ignore inapplicable linux-yocto CVEs
Multiple CVE are patched in kernel but appears as active because the NVD
database is not up to date.

CVE are ignored if and only if all versions of kernel used by master are patched.

Also ignore CVEs with wrong CPE (applied to kernel but actually are for
 another package)

(From OE-Core rev: 92770a08c04a6c1eb351231d937b16e76558f013)

Signed-off-by: Geoffrey GIRY <geoffrey.giry@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-28 07:53:54 +00:00
Trevor Woerner
d5d40479d7 VOLATILE_TMP_DIR: add
Provide a mechanism to allow users to choose whether the /tmp directory
is on persistent storage (non-volatile) or a RAM-based tmpfs (volatile).
The default is volatile.

Works for both sysvinit-based and systemd-based systems.

(From OE-Core rev: 8b76c0637eaeaf5bd5e696680cd74b7a642f4157)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-28 07:53:54 +00:00
Ross Burton
ea4c56e2e8 quilt: run tests as ptest user, and let that user write into the tests
The tests need to run as a non-root user, but that user also needs to be
able to write into the tests directory to create the work directories.

Use the new ptest user that ptest-runner creates to avoid having to add
a new user, and ensure that the test/ directory is owned by the ptest
group and that group has write access.

This solves the ptest regression where since oe-core 9a287b4 no quilt
tests were actually running.

A better solution would be to allow the tests to create a work directory
in another directory, but that would need work upstream which can happen
later.

(From OE-Core rev: 70dc9c114283cde18771287fb17fcebc537e7387)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-27 22:53:56 +00:00
Ross Burton
598fafb89e meta-selftest/files: add ptest to static-passwd/-group
As ptest-runner creates a new user, we need to add it to the testing
static passwd file.

(From OE-Core rev: 009726f04c000cc50ce44305669bd8e940e64a9c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-27 22:53:56 +00:00
Ross Burton
aa5b901e19 ptest-runner: add non-root ptest user for tests to run as
Some tests really don't want to be run as root, either because they
expect to get "permission denied" errors occasionally, or have explicit
checks.

Instead of numerous recipes re-inventing user creation in run-ptest,
create a user in the ptest-runner recipe that they can all use.

(From OE-Core rev: d58cf08421e0f89840820370dd3c5b6e153efcbb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-27 22:53:56 +00:00
Alexander Kanavin
5a5ab7cdec scripts/runqemu: move render nodes check to runqemu from selftest
This will produce a more useful hint for those setting
up or testing virgl headless:

runqemu - ERROR - No render nodes found in /dev/dri: ['by-path', 'card0']. If /dev/dri/renderD* is absent due to lack of suitable GPU, 'modprobe vgem' will create one suitable for mesa llvmpipe software renderer.

as qemu itself isn't helpful:

alex@Zen2:/srv/storage/alex/yocto/build-64-alt$ qemu-system-x86_64 -display egl-headless
qemu-system-x86_64: egl: no drm render node available
qemu-system-x86_64: egl: render node init failed

(From OE-Core rev: cbbada6a6c9b0a2e97f7395117dad986555f2db9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-27 13:27:37 +00:00
Alexander Kanavin
a87811f255 selftest: do not check for dri.pc in the headless test
runqemu (which the test also runs) already performs this check,
and does it better, as it additionally unsets a number of environment
variables that can confuse and misdirect host's pkg-config.

(From OE-Core rev: ad179728a6978d929e2a876abe7e1cbd6b76a502)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-27 13:27:37 +00:00
Richard Purdie
85ecfd1bfb build-appliance-image: Update to master head revision
(From OE-Core rev: f6ac666c99da115ab4a214d24282978a06c36efa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-27 11:55:33 +00:00
Richard Purdie
c45d58f003 resulttool/regression: Improve matching of poor ptest test names
Some test case naming is poor and contains random strings, particularly
lttng/babeltrace but also curl. Truncating the test names works since they
contain file and line number identifiers which allows us to match them
without the random components, or in the case or curl, test IDs.

Going forward we may be able to improve the test names but this
tweak allows historical test results to work in reports.

(From OE-Core rev: 541a2e2683531355e678fd93524a0c4a8c43a8ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:59:52 +00:00
Richard Purdie
401d022a26 resulttool/regression: Ensure LTP results are only compared against other LTP runs
If a test result contains LTP test results, it should only be compared with
other runs containing LTP test results.

(From OE-Core rev: 4dbbf2f4a85620a08dc2fa65095dc17fe6c530f8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:59:52 +00:00
Alexis Lothoré
ffaee6bd48 oeqa/selftest: add test for yocto_testresults_query.py
Add some tests for new yocto_testresults_query.py helper. First test is taken
from yocto-autobuilder-helper feature which has moved in yocto_testresults_query

(From OE-Core rev: 9ce28f685e4282d81f179877cbafd0a52fa887bd)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:59:52 +00:00
Alexis Lothoré
7a70dcfea7 scripts: add new helper for regression report generation
Add yocto-testresults-query script. This is a thin wrapper over resulttool which
is able to translate tags or branch name to specific revisions, and then to work
with those "guessed" revisions with resulttool

(From OE-Core rev: b1460201b0f3d8fd7f977ac82f218bf9010d5573)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:59:52 +00:00
Alexis Lothoré
383cd86595 scripts/resulttool/regression: add metadata filtering for oeselftest
When generating regression reports, many false positive can be observed since
some tests results are compared while the corresponding tests sets are not the
same, as it can be seen for example for oeselftest tests (oeselftest is run
multiple time but with different parameters, resulting in different tests sets)

Add a filtering mechanism in resulttool regression module to enable a better
matching between tests. The METADATA_MATCH_TABLE defines that when the TEST_TYPE
is "oeselftest", then resulttool should filter pairs based on
OESELFTEST_METADATA appended to test configuration. If metadata is absent from
test results, in order to keep compatibility with older results, add a
"guessing" mechanism to generate the missing OESELFTEST_METADATA. The guessed
data is tightly coupled to the autobuilder configuration, where all oe-selftest
executions are described

(From OE-Core rev: 94ab7c2b892bf292dd86619ca9c63ddd7bf53f3c)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:59:52 +00:00
Alexis Lothoré
88345ecf47 scripts/resulttool/regression: remove unused import
(From OE-Core rev: 4d6a74fcee1479562bf66360f20d528107c70887)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:59:52 +00:00
Alexis Lothoré
e557cd92d6 scripts/oe-selftest: append metadata to tests results
Many stored results TEST_TYPE are set to "oeselftest", however all those
tests are not run with the same sets of parameters, so those tests results may
not be comparable.

Attach relevant parameters as tests metadata to allow identifying tests
configuration so we can compare tests only when they are run with the same
parameters.

(From OE-Core rev: 406ec0a87e80d1ee0dd1d246adfe9507c10450ff)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:59:52 +00:00
Richard Elberger
d86cbd3d3d bitbake: documentation: bitbake: add file-checksums to varflags section
Fixes [YOCTO #11605] by:

- Adding definition of file-checksums to Variable Flags section.
- Describe data to add to list which adds external file dependencies.
- Write example on usage to prepend a value to file-checksums list.

(Bitbake rev: 6bc65e6402a74c9a65e29333a7e0f1f85dcbcf58)

Signed-off-by: Richard Elberger <rich@richelberger.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:41 +00:00
Mark Asselstine
67d5541f65 bitbake: fetch/npmsw: add more short forms for git operations
>From the npm-install documentation [1] the CLI provides a set of
short forms when the install fetches from git. These include

"github:"
example: npm install github:mygithubuser/myproject

"gist:"
example: npm install gist:101a11beef

"gitlab:"
example: npm install gitlab:mygitlabuser/myproject

"bitbucket:"
example: npm install bitbucket:mybitbucketuser/myproject

Commit 1d8af6aed0a9 [fetch2: npmsw: Add support for github prefix in
npm shrinkwrap version] by Stefan Herbrechtsmeier added support for
the "github:" but the others would marked as 'Unsupported dependency'.

The other prefixes are added in this commit, along with extending the
tests to cover some of these.

However, there is one more short form for github which npm-install
allows which forgoes the prefix altogether.

example: npm install mygithubuser/myproject

Unfortunately this format is a bit problematic as it lacks any easily
identifiable 'marker' to match against, and it could be either the
github short form or install from folder format. Experimentation shows
that the folder format requires a leading './' or '/', so we use this
to rule out the ambiguity.

If this approach to folder and github formats disambiguation is
incorrect it won't matter anyways as the folder format is unrecognized
by the code as-is and thus with this change or without, things would
fail.

Since we have to be less strict in the check for git operations we
move it to be the last install format which we check, such that the
less ambiguous formats can be sorted out first.

[1] https://docs.npmjs.com/cli/v9/commands/npm-install

[Yocto #14236]

(Bitbake rev: 0ac6f6cb5d807919ed13a8b7bb3fb551b79c5a71)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:41 +00:00
Mike Crowe
c1f1422a95 bitbake: gitsm: Fix path construction for relative submodule URI
The submodule repository URI contains a path to something not
necessarily on the local filesystem. This means that we can't use
realpath to normalise it without risking getting bad results if the path
happens to match something on the local filesystem. This situation can
cause very confusing errors if that matching local path happens to be a
symlink to somewhere else.

Using normpath rather than realpath means that the path simplification
follows simple rules on the string rather than looking at the local
filesystem and avoids problems.

(Bitbake rev: 47b271e6c8d96960ebe70f80e58f30cc4cbf42e1)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Co-authored-by: Dave Craig
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:41 +00:00
Richard Purdie
c08e2c2e20 bitbake: utils: Use internal fetcher function to avoid duplication
We currently have two lists of "proxy" or "fetcher" environment exports.
Make the one in utils match the one on the fetcher which has a more complete
list of variables now.

(Bitbake rev: f9165a798a307a6f0fee120d5c3de660d3a44ae8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:41 +00:00
Richard Purdie
9345140f09 bitbake: fetch2/wget: Drop unused import
This import is no longer used anywhere so can be removed.

(Bitbake rev: 956128e394581855bf0d03b32a975dc91c2a7e0c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:41 +00:00
Caner Altinbasak
24e29f2d08 bitbake: fetch2: Add GIT_CACHE_PATH and SSL_CERT_DIR into FETCH_EXPORT_VARS
These environment variables are needed by gclient and needed to be
passed into fetcher.

(Bitbake rev: 9414ba62454c6b911addf6b0bc02af2afc69b926)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:41 +00:00
Pavel Zhukov
2e18bbb307 oeqa/selftest/wic: Add test for uefi-kernel loader
This is regression test for [1].
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15033

(From OE-Core rev: d8ef15bb9ef652bf85002fe523ff5060b47bca6a)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:00 +00:00
Pavel Zhukov
4add8776ab wic: Fix populating of IMAGE_EFI_BOOT_FILES with uefi-kernel
wic plugin crashed if IMAGE_EFI_BOOT_FILES is not empty and uefi-kernel
loader specified because of preliminary return from the function.
[Yocto #15033]
Fixes:
|   File "/mnt/builds/yocto/sources/scripts/lib/wic/plugins/source/bootimg-efi.py", line 371, in do_prepare_partition
|     for src_path, dst_path in cls.install_task:
|                               ^^^^^^^^^^^^^^^^
| AttributeError: type object 'BootimgEFIPlugin' has no attribute 'install_task'. Did you mean: 'do_install_disk'?

(From OE-Core rev: a6372f70f31b39ce9867b705d02205621d7a8685)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:00 +00:00
Peter Marko
72201b63f6 systemd: add group sgx to udev package
>From NEWS for v250:
* Device nodes for the Software Guard eXtension enclaves (sgx_vepc) are
  now also owned by the system group "sgx".

>From NEWS for v248:
* Intel SGX enclave device nodes (which expose a security feature of
  newer Intel CPUs) will now be owned by a new system group "sgx".

Fixes following journal error entry during startup:
  /lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring
This is seen already on kirkstone.

(From OE-Core rev: bab455cd9b1b82e778f8523a767eb281edf6689e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:00 +00:00
Khem Raj
7a548930d2 musl: Update to tip of trunk
This brings in following changes

* 7d756e1c (upstream/master, origin/master) dns: prefer monotonic clock for timeouts
* 07616721 fix return value of wcs{,n}cmp for extreme wchar_t values
* 35fdfe62 math: fix undefined shift in logf
* 7e13e5ae inet_pton: fix uninitialized memory use for IPv4-mapped IPv6 addresses
* 7e6da7ac hsearch: fix null pointer arithmetic UB
* f79b973d increase sendmsg internal buffer to support SCM_MAX_FD
* 0ab97350 mq_notify: block all (application) signals in the worker thread
* 711673ee mq_notify: join worker thread before returning in error path
* 8c0c9c69 mq_notify: rework to fix use-after-close/double-close bugs
* fde6891e mq_notify: use semaphore instead of barrier to sync args consumption
* c3cd04fa fix pthread_detach inadvertently acting as cancellation point in race case
* 115149c0 powerpc-sf longjmp clobbering of val argument
* 5763f003 riscv64: add vfork
* 269d1938 fix wrong sigaction syscall ABI on mips*, or1k, microblaze, riscv64
* ea3b40a3 fix integer overflow in WIFSTOPPED macro
* f897461d fix debugger tracking of shared libraries on mips with PIE main program
* a4b0a665 expose memmem under baseline POSIX feature profile
* 9532ae13 use libc-internal malloc for pthread_atfork
* 7d358599 prevent invalid reads of nl_arg in printf_core
* c5f4b2df elf.h: add ELFCOMPRESS_ZSTD
* 159d1f6c semaphores: fix missed wakes from ABA bug in waiter count logic

(From OE-Core rev: 7379412a2ce7fe24943c858755f058dc2a15a081)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:00 +00:00
Luca Boccassi
0ddc871647 systemd: add user for systemd-oomd if enabled
systemd-oomd.service has:

User=systemd-oom

So we need to create a static user for it, if its packageconfig
is enabled.

(From OE-Core rev: 1586edc919326cdbb412feafb9cde2cb15e419cb)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:00 +00:00
Dmitry Baryshkov
31756b7d74 ffmpeg: fix build failure when vulkan is enabled
The patch fixes the following errors observed when building ffmpeg in
vulkan-enabled distros:

| src/libavutil/hwcontext_vulkan.c:363:7: error: 'VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME' undeclared here (not in a function); did you mean 'VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME'?
|   363 |     { VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG                },
|       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |       VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME
| src/libavutil/hwcontext_vulkan.c:364:7: error: 'VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME' undeclared here (not in a function); did you mean 'VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME'?
|   364 |     { VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME,                FF_VK_EXT_NO_FLAG                },
|       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |       VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME

(From OE-Core rev: b16c8696be9d56edb5ff77210abfff9a784fad89)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:00 +00:00
Richard Elberger
e13f4fd22f docbook-xml: Switch from debian packages to upstream docbook sources
This patch changes the docbook-xml distribution package source from
debian to docbook which aligns the recipe with the source
originator. Other changes made to the recipe include:

This patch resolves [YOCTO #13270].

- removal of version 4.0 given docbook no longer distributes version
  4.0
- simplification of the header description.
- inline comments to communicate the rationale behind gathering
  multiple versions and LICENSE file handling.
- minor ordering changes to align with styling conventions and better
  context to better communicate use
- Added comment about magic XMLCATALOGS variable. This variable and
  subsequent inherit might be better placed in recipes that depend on
  docbook-xml but leave it for now to not cause a patch landslide.
- Modify the related docbook-xml patch to remove docbook-xml-4.0 since
  it is no longer provided.
- Put BBCLASSEXTEND to end of recipe per RP note on convention

(From OE-Core rev: fc4471019313d981f0c951220cc65e8374a7e8e6)

Signed-off-by: Richard Elberger <rich@richelberger.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-26 11:49:00 +00:00
Alexander Kanavin
454c93d153 gcr: correctly configure vala against introspection data
GI_DATA_ENABLED is the right source for making that decision
as it additionally factors in presence of qemu-usermode in
MACHINE_FEATURES.

(From OE-Core rev: b32bb078d73ab9fd636d059cf70b5530a2f94cb4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-25 14:03:03 +00:00
Chee Yang Lee
80a2028813 checklayer: check for patch file upstream status
yocto-check-layer to check all .patch file in layer for
Upstream-status and list down all .patch file without Upstream-Status.

set this test as expected failure for now, so this wont fail the check
layer while still able to capture any patches with malformed or missing
Upstream-Status in report.

[YOCTO #14642]

(From OE-Core rev: 237c1b66e5014123c1e5c3e78f9ab0357bcd62dc)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 17:05:24 +00:00
Jose Quaresma
cfe5e50199 icecc: enable the network only when ICECC_DISABLED is not set
Enabling the network uncondictional is not need for some use cases.

Such use case is usefull to reuse the sstate-cache of the build
and it requires the icecc inherit in all of the builds.
The real control control of the icecc is in the variable ICECC_DISABLED
so this patch change the logic to enable the network when the icecc is in use.

(From OE-Core rev: 0fd3a9c13a30a67ccef6619627efd9613755a0c3)

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>
2023-02-24 17:05:24 +00:00
Trevor Woerner
7159f198b0 build-appliance-image: fix HOMEPAGE
Update the HOMEPAGE metadata.

(From OE-Core rev: c59d21360d86f4fb9793faf7501003e6f3c97956)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:07:24 +00:00
Michael Opdenacker
a354dc9c62 dev-manual: new-recipe.rst: add references to subsections in Examples section
Making it possible to jump right away to the desired example

Rename a section title to make it more suitable for a link title.

Using short references (`Section Name`_) instead of
:ref:`dev-manual/new-recipe:Section Name`) as we are in the same
document.

(From yocto-docs rev: 4058998dbeba4262ccced8999be338c04c324b48)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:25 +00:00
Michael Opdenacker
f279a84ee7 dev-manual: new-recipe.rst: add Meson example recipe
(From yocto-docs rev: 30cded4e59020a98205877970c530de35da46a60)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:25 +00:00
Michael Opdenacker
6175e5bc9d ref-manual: system-requirements.rst: update supported distros
Syncing with meta-yocto/meta-poky/conf/distro/poky.conf

(From yocto-docs rev: c48256499bafcf57e8b40202fd2d10b28c15daf9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:25 +00:00
Michael Opdenacker
efc97fe720 manuals: document COMMERCIAL_[AUDIO|VIDEO]_PLUGINS variables
- Add COMMERCIAL_[AUDIO|VIDEO]_PLUGINS variables to the
  variable index.
- Clarify that these plugins are still open-source
- Improve line width

(From yocto-docs rev: 8b161faad6b698b33165f02e1f5e78a693c7817b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:25 +00:00
Fawzi KHABER
22af38b3d9 ref-manual: update DEV_PKG_DEPENDENCY in variables
Since release 4.1, the variable DEV_PKG_DEPENDENCY sets RRECOMMENDS instead
of RDEPENDS for the -dev package on the main package, this change fixes the
documentation to match the actual state

Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
(From yocto-docs rev: 0e0790e7bcf4ee2d31301b4351528eb124a1fe98)

Signed-off-by: Fawzi KHABER <fawzi.khaber@smile.fr>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:25 +00:00
Michael Opdenacker
fdc5849e3c dev-manual: sbom.rst: add link to FOSDEM 2023 video
(From yocto-docs rev: 05f3c98e83830ccdde4289727d0bab563b8ea900)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:25 +00:00
Niko Mauno
5284048a31 ref-manual: Fix invalid feature name
Replace the invalid feature name with correct one which helps to avoid
following bitbake error

  ERROR: Nothing PROVIDES 'core-image-minimal'
  core-image-minimal was skipped: 'empty-root-passwd' in IMAGE_FEATURES (added via EXTRA_IMAGE_FEATURES) is not a valid image feature.

(From yocto-docs rev: 1c7086a3eda6539f09cae8917ccace93b14f8e9c)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:25 +00:00
Michael Opdenacker
dc257d94fc ref-manual: document meson class and variables
(From yocto-docs rev: aacd49e5c72ac1506fc09790902c6047ccf26a02)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:25 +00:00
Michael Opdenacker
2b621b21bc ref-manual: classes.rst: improvements to cmake class documentation
- Fix quoting for path to cmake modules
- Document OECMAKE_GENERATOR variable
- Style simplifications

(From yocto-docs rev: ecdc1775e27717ec87442575f65b1f24ca2b0348)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:25 +00:00
Michael Opdenacker
1e14e7cc79 dev-manual: new-recipe.rst: restructure examples
To make it possible to add more examples (CMake, Meson, Go, Rust...)
- Change section title names
- Adjust paragraph line length
- Have the Autotools example after the one with a custom Makefile,
  corresponding to an increasing level of complexity.
- Clarify that GNU make and the Autotools are used to build
  the applications, not by these applications.

(From yocto-docs rev: 6f313e673fe4d2878c8166619c27c4958af73615)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:25 +00:00
Michael Opdenacker
0fca5a5a20 ref-manual: classes.rst: add python-setuptools3_rust and python_pyo3 classes
(From yocto-docs rev: 65d41f164354494dae52949ce0532fd855de16ec)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: Tim Orling <ticotimo@gmail.com>
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Cc: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:24 +00:00
Michael Opdenacker
6445a38285 manuals: update patchwork instance URL
https://patchwork.openembedded.org/ has been since long discontinued
Also better to mention https://patchwork.yoctoproject.org/
than the patchwork home page.

(From yocto-docs rev: 15e2f662c9c519f54cd2c8b99c817725ed4c357b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:24 +00:00
Ulrich Ölmann
ff3624bb07 kernel-dev: harmonize example with ref-manual
(From yocto-docs rev: 02e8a7e25eda462a5e244bd2bfb557554c1155fb)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:24 +00:00
Ulrich Ölmann
197a6f6fbb ref-manual: refer to MACHINE variable instead of KMACHINE
Although in the example case of a "raspberrypi2" the variable KMACHINE has the
same value as MACHINE, only the latter is an allowed override. So do not set the
reader on the wrong track.

Suggested-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
(From yocto-docs rev: 565ebcfe3ed68a9ea036f11cddafb36023f72099)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:24 +00:00
Ulrich Ölmann
eff66f126c kernel-dev,ref-manual: fix old override syntax
Additionally use more common syntax to indicate that an actual machine name is
supposed to be filled in for a concrete use case as has been suggested by Peter
Kjellerstedt (and particularly no KMACHINE). Furthermore add missing quotes in
the reference manual.

Suggested-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
(From yocto-docs rev: b66c035970f860b65cf712285f2d5a023620e6c3)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:43:24 +00:00
Richard Purdie
584a913d75 bitbake: cooker: Fix memory resident cache invalidation issue
We've been seeing weird PRServ failures on the autobuilder. These had
one failure always followed by a second. Whilst I can't reproduce the first,
if I made that test fail, I could reproduce the second with memory resident
bitbake. This was with the tests:

prservice.BitbakePrTests.test_import_export_replace_db
and then
prservice.BitbakePrTests.test_pr_service_deb_arch_dep

which was giving a strange looking error:

NOTE: Running task 1053 of 1055 (/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/recipes-devtools/m4/m4_1.4.19.bb:do_package_write_rpm)
NOTE: Running task 1054 of 1055 (/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/recipes-devtools/m4/m4_1.4.19.bb:do_package_qa)
ERROR: No such task: do_package_write_rpm
ERROR: Task (/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/recipes-devtools/m4/m4_1.4.19.bb:do_package_write_rpm) failed with exit code '1'

where the issue is that selftest.inc written by the test framework
and containing PACKAGE_CLASSES = "package_deb" was being ignored.

The issue is the cached_statements{} within BBHandler() is not being
invalidated at the right time.

This patch changes the code to ensure base configuration is not parsed
until inotify updates have been processed.

(Bitbake rev: cada37c6b9e5862ca2c5a54ad6fd1e1f1939cd9c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:38:24 +00:00
Ross Burton
9b0277c3c3 bitbake: lib/bb/siggen: fix debug() call
Bitbake f68682 changed the logger's debug() method to be compatible with
logging.debug(), but this caller was still using the old API where you
can pass an integer as the first argument:

WARNING: Invalid arguments in bbdebug: (1, 1, 'Found unihash[...]')

Instead, call bbdebug() which has the priority argument.

(Bitbake rev: 18d4f9e8387f7994cf6d46300e25dda1c3a593b2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:38:24 +00:00
Richard Purdie
0ab3325ffb oeqa/selftest/prservice: Improve debug output for failure
We keep seeing this failure on the autobuilder but the output amounts
to "False is not True". Improve the debug message on the chance it may
make the issue clearer.

(From OE-Core rev: d03f4cf19c2cc96e9d942252a451521dfec42ebc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 15:38:06 +00:00
Mingli Yu
22fc74fc01 mc: set ac_cv_path_PERL_FOR_BUILD
After mc upgrade to 4.8.29, it introduces PERL_FOR_BUILD [1] and will
result in the below build failure on some system when we build under
a project with long path.
 | make[4]: Entering directory '/buildarea2/WTEST_Regression/Rerun/build_dir/02161802-multilib_pkgs_conflict/qemux86-64-standard-std-OE/build1/tmp-glibc/work/core2-64-wrs-linux/mc/4.8.29-r0/build/doc/hlp/es'
 make[4]: Nothing to be done for 'install-exec-am'.
 | ../../../src/man2hlp/man2hlp ../../../doc/man/es/mc.1 ../../../../mc-4.8.29/doc/hlp/es/xnc.hlp mc.hlp.es
 | ../../../src/man2hlp/man2hlp: line 32: use: command not found
 | ../../../src/man2hlp/man2hlp: line 33: use: command not found
 | ../../../src/man2hlp/man2hlp: line 36: syntax error near unexpected token `('
 | ../../../src/man2hlp/man2hlp: line 36: `my %static = ('
 | make[4]: [Makefile:632: mc.hlp.es] Error 2 (ignored)

 $ head -n 5 tmp-glibc/work/core2-64-wrs-linux/mc/4.8.29-r0/build/src/man2hlp/man2hlp
 #! /buildarea2/WTEST_Regression/Rerun/build_dir/02161802-multilib_pkgs_conflict/qemux86-64-standard-std-OE/build1/tmp-glibc/hosttools/perl
 #
 #  Man page to help file converter
 #  Copyright (C) 1994, 1995, 1998, 2000, 2001, 2002, 2003, 2004, 2005,
 #  2007, 2010, 2011

It's beacause the shebang line exceeds 128 which is usually the max
length.

So set ac_cv_path_PERL_FOR_BUILD to fix the above issue and altogether
to remove the build path issue.

[1] 6b67d231a2

(From OE-Core rev: 33d91a2434eeb20076c8226340b224b1d606c40f)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 13:31:45 +00:00
Pavel Zhukov
7e949b6ac2 u-boot: Map arm64 into map for u-boot dts installation
While arm64 is a valid UBOOT_ARCH (according to mkimage -A) u-boot
keeps arm64 specific dts under 'arch/arm' directory.
As the result the recipe tries to install arch/arm64 (if UBOOT_DTB
was specified) and fails with [1]. Remapping "arm64" to "arm" to fix this
issue.

[1]
| install: cannot stat '.../u-boot/1_2023.01-r0/build/arch/arm64/dts/u-boot.dtb': No such file or directory

(From OE-Core rev: 3ca99403d5f320c6d7ae59b107f3b3bf183b4089)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 13:31:45 +00:00
Pedro Baptista
803e781e42 create.py: add command arg to add layer to bblayers.conf
Add command arg `--add-layer` which enables the create
and add layer in a single step.

(From OE-Core rev: f3be788a55a2dde1f627aa85b08dc3ffa55d751f)

Signed-off-by: Pedro Baptista <pedro.miguel.baptista@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 13:31:45 +00:00
Joshua Watt
f77bf57f26 weston: Add kiosk shell
Adds support for the kiosk shell to weston. The Kiosk shell is designed
to run a fullscreen application in a "kiosk" mode, but unlike the
fullscreen shell the kiosk mode still provides traditional desktop
protocols.

(From OE-Core rev: da4d6547f312285b5e246d8f974d2de76294fef3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 13:31:45 +00:00
Wang Mingyu
26203b0376 python3-setuptools: upgrade 67.3.1 -> 67.3.3
Changelog:
==========
#3820: Restore quoted #include argument to has_function.
#3827: Improve deprecation warning message on pkg_resources.declare_namespace
        to display package name.

(From OE-Core rev: de8e7e0c2cbd558678ee59fae8b0024c6d0a7b9a)

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>
2023-02-24 13:31:45 +00:00
Wang Mingyu
b9f5c4e9c4 python3-zipp: upgrade 3.13.0 -> 3.14.0
Changelog:
Minor cleanup in tests, including #93.

(From OE-Core rev: 025098d6bd83e8192fea28101780c361e242bc02)

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>
2023-02-24 13:31:45 +00:00
Wang Mingyu
c830309999 python3-pytest-subtests: upgrade 0.9.0 -> 0.10.0
Changelog:
=========
Added experimental support for suppressing subtest output dots in non-verbose
mode with --no-subtests-shortletter -- this allows the native pytest column
calculations to not be disrupted and minimizes unneeded output for large CI systems.

(From OE-Core rev: 486c627d6851079c49e18d56d7052d3842af3206)

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>
2023-02-24 13:31:45 +00:00
Wang Mingyu
856ac4277e python3-poetry-core: upgrade 1.5.0 -> 1.5.1
Changelog:
Improve performance by caching parsed markers, constraints and versions (#556).

(From OE-Core rev: 9a8e7c4eb78b7615bae48050c278391e2b768adf)

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>
2023-02-24 13:31:45 +00:00
Wang Mingyu
4b6a474248 python3-pip: update 23.0 -> 23.0.1
Changelog:
============
Features
--------
- Ignore PIP_REQUIRE_VIRTUALENV for "pip index"
- Implement "--break-system-packages" to permit installing packages into
  "EXTERNALLY-MANAGED" Python installations.

Bug Fixes
---------
- Improve handling of isolated build environments on platforms that
  customize the Python's installation schemes, such as Debian and
  Homebrew.
- Do not crash in presence of misformatted hash field in "direct_url.json".

(From OE-Core rev: 2cab887da4618a23c1fc52d27e1061102857f470)

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>
2023-02-24 13:31:45 +00:00
Wang Mingyu
1666d1fc7d libx11-compose-data: 1.8.3 -> 1.8.4
(From OE-Core rev: a44a9ec198fc76bb4227bc00d8a52a3df6ec0024)

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>
2023-02-24 13:31:45 +00:00
Wang Mingyu
07d31cb06e harfbuzz: upgrade 7.0.0 -> 7.0.1
(From OE-Core rev: f3065f14d61c0c75c10cebfb9289e194361f8db4)

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>
2023-02-24 13:31:45 +00:00
Wang Mingyu
650579058e curl: upgrade 7.88.0 -> 7.88.1
(From OE-Core rev: d90609cce882e8c1a677865f91a0e4d7b38c4e63)

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>
2023-02-24 13:31:45 +00:00
Dmitry Baryshkov
5e4a8df91e mesa: provide support for packing development and testing tools
Mesa contains several optional tools that can be useful for application
and driver developers. Add a packageconfig option to build a mesa-tools
package containing relevant programs.

Note, the fdperf tool for the freedreno depends on libconfig, which is
not a part of oe-core, thus this tool is not built by default by this
recipe even when freedreno driver is selected. The fdperf tool needs to
be explicitly enabled by adding 'freedreno-fdperf' to the PACKAGECONFIG.

(From OE-Core rev: 95eb4008350424f25d08da96bc6d7d56bf4cc161)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 13:31:45 +00:00
Alexander Kanavin
ca7306f78a devtool: ignore patch-fuzz errors when extracting source
So that patch fuzz issues can actually be fixed,
as extracting source with 'devtool modify' is the first step
for that.

(From OE-Core rev: 7067abd31d9dd4b98ec70c1c7effbe2904797cd1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 13:31:45 +00:00
Ross Burton
2cbfc65bee python3-pytest: set RDEPENDS globally, not just target
Now that we have the dependencies we can set the RDEPENDS for all builds,
not just target.

(From OE-Core rev: e7980308d78e7fb8ea1568b80363c809c91c2363)

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>
2023-02-24 13:31:45 +00:00
Ross Burton
945964ecbc python3-iniconfig: add BBCLASSEXTEND
Needed to build a native python3-pytest.

(From OE-Core rev: ae25f70557a31f26b78b70268dca9e01ef4b9ea8)

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>
2023-02-24 13:31:45 +00:00
Ross Burton
ba068879dd python3-atomicwrites: add BBCLASSEXTEND
Needed to build a native python3-pytest.

(From OE-Core rev: b2ebb8f44f12b39601cb1cedb54b8b5c4050dd5b)

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>
2023-02-24 13:31:45 +00:00
Markus Volk
f13071decf libportal: allow to build without gtk4 backend
This allows to build libportal for platforms without opengl support

(From OE-Core rev: 3678dd56f800f22c9f81aa4afe060420f19c78f9)

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>
2023-02-24 13:31:45 +00:00
Jose Quaresma
bc35fe5771 bluez5: refresh patches with devtool
(From OE-Core rev: 665c5f217370cf28f18e818b81af07494b7acb2d)

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>
2023-02-24 13:31:45 +00:00
Khem Raj
e7dd0666bd gdb: Upgrade to 13.1
Add patch to fix typo for build on musl

GDB 13.1 includes the following changes and enhancements:

* Support for the following new targets has been added in both
  GDB and GDBserver:

  ** GNU/Linux/LoongArch (gdbserver) loongarch*-*-linux*

  ** GNU/Linux/CSKY (gdbserver) csky*-*linux*

* The Windows native target now supports target async.

* FreeBSD:

  ** Arm and AArch64: Support for Thread Local Storage (TLS) variables

  ** Hardware watchpoint support on AArch64 FreeBSD

* Floating-point support has now been added on LoongArch GNU/Linux.

* New commands:

 ** set print nibbles [on|off]
    show print nibbles

    This controls whether the 'print/t' command will display binary values
    in groups of four bits, known as "nibbles".  The default is 'off'.

 ** Various styling-related commands. See the gdb/NEWS file for more
    details (see link at the bottom).

 ** Various maintenance commands.  These are normally aimed at GDB
    experts or developers. See the gdb/NEWS file for more details
    (see link at the bottom).

* Python API improvements:

 ** New Python API for instruction disassembly.
    The new attribute 'locations' of gdb.Breakpoint returns a list of
    gdb.BreakpointLocation objects specifying the locations where the
    breakpoint is inserted into the debuggee.

 ** New Python type gdb.BreakpointLocation.

 ** New function gdb.format_address(ADDRESS, PROGSPACE, ARCHITECTURE)
    that formats ADDRESS as 'address <symbol+offset>'

 ** New function gdb.current_language that returns the name of the
    current language.  Unlike gdb.parameter('language'), this will
    never return 'auto'.

 ** New function gdb.print_options that returns a dictionary of the
    prevailing print options, in the form accepted by gdb.Value.format_string.

 ** New method gdb.Frame.language that returns the name of the
    frame's language.

 ** gdb.Value.format_string now uses the format provided by 'print',
    if it is called during a 'print' or other similar operation.

 ** gdb.Value.format_string now accepts the 'summary' keyword.  This
    can be used to request a shorter representation of a value, the
    way that 'set print frame-arguments scalars' does.

 ** The gdb.register_window_type method now restricts the set of
    acceptable window names.  The first character of a window's name
    must start with a character in the set [a-zA-Z], every subsequent
    character of a window's name must be in the set [-_.a-zA-Z0-9].

* GDB/MI changes:

  ** MI version 1 is deprecated, and will be removed in GDB 14.

  ** The async record stating the stopped reason 'breakpoint-hit' now
     contains an optional field locno.

* Miscellaneous improvements:

  ** gdb now supports zstd compressed debug sections (ELFCOMPRESS_ZSTD) for ELF.

  ** New convenience variable $_inferior_thread_count contains the number
     of live threads in the current inferior.

  ** New convenience variables $_hit_bpnum and $_hit_locno, set to
     the breakpoint number and the breakpoint location number of
     the breakpoint last hit.

  ** The "info breakpoints" now displays enabled breakpoint locations
     of disabled breakpoints as in the "y-" state.

  ** The format of 'disassemble /r' and 'record instruction-history /r'
     has changed to match the layout of GNU objdump when disassembling.

     A new format "/b" has been introduce to provide the old behavior
     of "/r".

  ** The TUI no longer styles the source and assembly code highlighted
     by the current position indicator by default. You can however
     re-enable styling using the new "set style tui-current-position"
     command.

  ** It is now possible to use the "document" command to document
     user-defined commands.

  ** Support for memory tag data for AArch64 MTE.

* Support Removal notices:

  ** DBX mode has been removed.

  ** Support for building against Python version 2 has been removed.
     It is now only possible to build GDB against Python 3.

  ** Support for the following commands has been removed:

     set debug aix-solib on|off
     show debug aix-solib
     set debug solib-frv on|off
     show debug solib-frv

     Use the "set/show debug solib" commands instead.

For a complete list and more details on each item, please see the gdb/NEWS
file, available at [1]:

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-13.1-release

(From OE-Core rev: 87a8c2af735e06338463414a2cbcd3224b9ea112)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 11:04:28 +00:00
Joel Stanley
eb6b28bfe1 qemu: Fix building with 6.2 kernel headers
When building native qemu with 6.2 kernel headers, qemu fails to build:

 In file included from /usr/include/linux/btrfs.h:29,
                  from ../qemu-7.2.0/linux-user/syscall.c:165:
 /usr/include/linux/fs.h:50:8: error: redefinition of ‘struct file_clone_range’
    50 | struct file_clone_range {
       |        ^~~~~~~~~~~~~~~~
 ../qemu-7.2.0/linux-user/syscall.c:129:8: note: originally defined here
   129 | struct file_clone_range {
       |        ^~~~~~~~~~~~~~~~

Backport changes to linux-user that remove the local copy of struct
file_clone_range.

Patches from https://lore.kernel.org/qemu-devel/20230110174901.2580297-1-berrange@redhat.com/

(From OE-Core rev: 65b1e199dcaabf93bae33e06727bb1238b703d83)

Signed-off-by: Joel Stanley <joel@jms.id.au>
Tested-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 11:04:28 +00:00
Trevor Woerner
053b908046 dtc: update license checks
The dtc project is dual licensed, and includes the text of both licenses as
part of its sources as well as a README documenting its license situation.
Use these sources to verify the licensing, and to monitor if it changes,
rather than a copyright line in a source file.

(From OE-Core rev: aaab4ffb4b17b222d1914d0feab286c4000b17da)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 11:04:28 +00:00
Khem Raj
ff3279d441 grub: Handle R_RISCV_CALL_PLT reloc
These are new in binutils 2.40+

(From OE-Core rev: f2883fb1d7302087479940b422ba836d2fe35fc4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 11:04:27 +00:00
Trevor Woerner
1e783583bf dtc: update DESCRIPTION
Update the description to align with the current goals of the dtc project.

(From OE-Core rev: cfe4b6b4559191a7986ba48f54a1d0350705a86d)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 11:04:27 +00:00
Khem Raj
0bcb886939 tune-riscv.inc: Add riscv64nc to available tunes list
This was missed when riscv64nc was added

(From OE-Core rev: 0c549ef5732afdcd96407ceb045983eed2ca75f4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 11:04:27 +00:00
Ross Burton
1e9b6bf803 tiff: backport fix for CVE-2022-48281
(From OE-Core rev: bf0cf66c10c95ddada595dd5a84b45235c09ebab)

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>
2023-02-24 11:04:27 +00:00
Ross Burton
d4be0469a8 less: backport the fix for CVE-2022-46663
(From OE-Core rev: 56d31067a34bc1942c7eb4940a41ecfc81110e58)

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>
2023-02-24 11:04:27 +00:00
Richard Purdie
c7b6eb9e8e binutils: Fix nativesdk ld.so search
Currently binutils in buildtools is searching for /etc/etc/ld.so.conf
which makes no sense. ld_sysconfdir already contains /etc so we need to
drop the /etc from the fixed string.

(From OE-Core rev: ccd28c418ab8390118d738fbe914395b5c2a1f75)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 11:04:27 +00:00
Richard Purdie
1ae0e69aed sstate: Add check_for_interrupts() call functionality added in bitbake
Add in the new 'check' calls which mean that the code can exit from longer
running code loops if requested by the user. This covers sstate checks and
sstate manifest cleanup code which currently couldn't be interrupted by the
user from the UI.

Increase the minimum bitbake version which brings in this API.

(From OE-Core rev: cb6c50689175668b66ffbe09ff8f250ba9a9034b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:12:18 +00:00
Richard Purdie
77be687a37 bitbake: bitbake: Bump to version 2.3.1
So that OE-Core can depend on bb.event.check_for_interrupts(), bump our
verison number to a development series version.

(Bitbake rev: dea1b2f3fc31f28daed5da16e62da8895d6e5716)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:12:18 +00:00
Richard Purdie
42c92cbc83 bitbake: event/cooker/runqueue: Add ability to interrupt longer running code
Bitbake is now able to understand when a UI wants it to stop the current
processing. There are some long running functions which currently have no
mechanism to interrupt them however.

This patch adds a call, bb.event.check_for_interrupts(d) which can be
placed in long running code and allows an internal state flag within
bitbake to be checked. If set, that flag will trigger an exit.

This means that Ctrl+C can be made to work in a variety of places where
it currently would not.

Long running event handlers in OE-Core can also then benefit from this
new approach with the addition of the function call as well.

(Bitbake rev: b7ed7e9a815c4e10447fd499508be3dbb47f06e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:12:18 +00:00
Trevor Woerner
906657e9be build-appliance-image: check for xattr feature
The xattr DISTRO_FEATURE is required otherwise a bitbake build will fail due
to a failure with the 'cp' utility:

	Subprocess output:
	cp: cannot preserve extended attributes, cp is built without xattr support

	ERROR: Logfile of failure stored in: /home/builder/poky/build/tmp/work/qemux86_64-poky-linux/packagegroup-base/1.0-r83/temp/log.do_populate_lic.1001
	ERROR: Task (/home/builder/poky/meta/recipes-core/packagegroups/packagegroup-base.bb:do_populate_lic) failed with exit code '1'

(From OE-Core rev: 7e1b2598fedfdc7c9a79c5c94273218f2eedcba9)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:11:29 +00:00
Trevor Woerner
9e0145df7a QB_SMP: allow user modification
Allow a user to override the QM_SMP value giving them the opportunity to
select for themselves the number of CPUs to use in qemu.

(From OE-Core rev: 70a91e6d0357149c00b97f7e66e16cbc52997a92)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:11:29 +00:00
Trevor Woerner
84f3d39dd2 build-appliance-image: QB_MEM: allow user config
Allow the user to specify a QB_MEM value of their choosing, otherwise set it
to a default value.

(From OE-Core rev: 2f8c20ab6750bd900b28e6468493cbd010144050)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:11:29 +00:00
Trevor Woerner
3f4ce1222d build-appliance-image: add /lib64 symlink
Add a /lib64 -> /lib symlink in case the build appliance is 64-bit.

Building rust-native requires cargo to be run. The native cargo is linked to
look for /lib64/ld-linux-x86-64.so.2 and can't be run without it. The build
produces the following error, even though that file does exist:

	FileNotFoundError: [Errno 2] No such file or directory: '/home/builder/poky/build/tmp/work/x86_64-linux/rust-native/1.66.1-r0/rust-snapshot/bin/cargo'

Trying to run this binary on its own gives:

	qemux86-64:~/poky/build$ tmp/work/x86_64-linux/rust-native/1.66.1-r0/rust-snapshot/bin/cargo
	-sh: tmp/work/x86_64-linux/rust-native/1.66.1-r0/rust-snapshot/bin/cargo: cannot execute: required file not found

(From OE-Core rev: a62b32907cb059b4512032f15571705540f1c147)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:11:29 +00:00
Trevor Woerner
dd8f5b9796 build-appliance-image kernel: linux-yocto: qemuall: add taskstats
Add the taskstats configuration to any kernel built for qemuall for bitbake's
benefit:

	WARNING: The Linux kernel on your build host was not configured to provide process I/O statistics. (CONFIG_TASK_IO_ACCOUNTING is not set)

(From OE-Core rev: 351f82b9918188eb4dbb6598733da5f5392fbd8f)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:11:29 +00:00
Trevor Woerner
4747c95e23 build-appliance-image: set TERM
Choose a nicer terminal for the build appliance so that build warnings and
errors show up in colour instead of:

	$<50>Setscene tasks: 2844 of 2844
	$<50>WARNING: mesa-2_22.3.3-r0 do_fetch: Failed to fetch URL https://mesa.freedesktop.org/archive/mesa-22.3.3.tar.xz, attempting MIRRORS if available
	$<50>WARNING: glslang-native-1_1.3.236.0-r0 do_fetch: Failed to fetch URL git://github.com/KhronosGroup/glslang.git;protocol=https;branch=master, attempting MIRRORS if available

(From OE-Core rev: ab0e748c5652a86d6c535c1f0979aa7d3d367d6e)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:11:29 +00:00
Trevor Woerner
81ac5b5eb0 packagegroup-self-hosted: add zstd
Add missing tools necessary on the host for a build.

(From OE-Core rev: 15ba0ced2e8d4c2f9d6889b9b84c5525bc451e3f)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:11:29 +00:00
Trevor Woerner
4ab3d6576e packagegroup-self-hosted: alphabetize
Several of the lists of packages are alphabetized, but the alphabetization
was lost in a couple areas.

(From OE-Core rev: 4965a14dd51242d4d5ecc4b5f288d0c42bafae18)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:11:29 +00:00
Mikko Rapeli
bfb4d48d7c runqemu: kill qemu if it hangs
qemu doesn't always behave well and can hang too.
kill it with force if it was still alive. Move clean up
commands into cleanup() function.

(From OE-Core rev: 079c2935d2f585ce49e1c7daab2155fcf0094c48)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:11:29 +00:00
Mikko Rapeli
c7b05d5657 oeqa ssh.py: fix hangs in run()
When qemu machine hangs, the ssh commands done by tests
are not timing out. do_testimage() task has last logs like this:

DEBUG: time: 1673531086.3155053, endtime: 1673531686.315502

The test process is stuck for hours, or for ever if the
executing command or test case did not set a timeout correctly.
The default 300 second timeout is not working when target hangs.
Note that timeout is really a "inactive timeout" since data returned
by the process will reset the timeout.

Make the process stdout non-blocking so read() will always return
right away using os.set_blocking() available in python 3.5 and later.

Then change from python codec reader to plain read() and make
the ssh subprocess stdout non-blocking. Even with select()
making sure the file had input to be read, the codec reader was
trying to find more stuff and blocking for ever when process hangs.

While at it, add a small timeout to read data in larger chunks if
possible. This avoids reading data one or few characters at a time
and makes the debug logs more readable.

close() the stdout file in all cases after read loop is complete.

Then make sure to wait or kill the ssh subprocess in all cases.
Just reading the output stream and receiving EOF there does not mean
that the process exited, and wait() needs a timeout if the process
is hanging. In the end kill the process and return the return value
and captured output utf-8 encoded, just like before these changes.

This fixes ssh run() related deadlocks when a qemu target hangs
completely.

(From OE-Core rev: 9c63970fce3a3d6029745252a6ec2bf9b9da862d)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:11:29 +00:00
Paulo Neves
97b258985a bitbake: fetch/git: Replace mkdtemp with TemporaryDirectory and avoid exception masking
Due to using mkdtemp instead of TemporaryDirectory we needed to
manually cleanup the directory in a try finally block.
With tempfile.TemporaryDirectory we can handle the cleanup with
a "with" statement and not need to manually clean up oursevels.

(Bitbake rev: 36a231d2a45e7c87172196538d18ded81a234774)

Signed-off-by: Paulo Neves <paulo@myneves.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-22 12:03:39 +00:00
Paulo Neves
d085dcb449 bitbake: fetch/git: Removed unused variables in _contains_lfs
branchname was set but never used in the context of _contains_lfs
method.

(Bitbake rev: a64ec64c2faf1ac6ce995cdd4e311d8be6046155)

Signed-off-by: Paulo Neves <paulo@myneves.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-22 12:03:39 +00:00
Paulo Neves
ffcc20770d bitbake: tests/fetch: Add real git lfs tests and decorator
Added tests that verify that git-lfs works with an actual
real git-lfs server. This was not previously the case because
the repo in the test was a simulation of git-lfs but not
a real git lfs repo.

The 2 added tests are almost the same but test that the
git lfs file checkout is successfult with or without the
lfs=1 flag. The lfs=1 URI parameter is a quirk that triggers
2 different code paths for git lfs.

lfs=1, when used on git lfs repositories triggers the git lfs
downloading at the fetch bare stage.

lfs query parameter unset triggers the git lfs downloading only
on checkout as an implicit behavior of git. This leads to possible
network access on the unpack stage and outside the DL_DIR.

lfs=0 actually disables git-lfs functionality even if supported.

(Bitbake rev: d2be7f7f652360f13cd66d0850f3e19ffe2afb0a)

Signed-off-by: Paulo Neves <paulo@myneves.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-22 12:03:39 +00:00
Paulo Neves
41c86ad30e bitbake: tests/fetch: git-lfs restore _find_git_lfs
Not restoring the mocked _find_git_lfs leads to other tests
failing.

(Bitbake rev: 70f848631450bd723c223227c21c60e815ee033d)

Signed-off-by: Paulo Neves <paulo@myneves.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-22 12:03:39 +00:00
Richard Purdie
76db0baba2 bitbake: server/process: Improve idle thread exception handling
If the inotifier code has an exception, bitbake currently hangs. Catch any
exception and exit if seen. Also check the idle thread is alive and exit
if it disappears. This should stop bitbake hanging if such a situation arises
in future such as this example:

3323260 21:48:31.554468 Running command ['getVariable', 'BBINCLUDELOGS']
Exception in thread Thread-1 (idle_thread):
Traceback (most recent call last):
  File "/usr/lib64/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/server/process.py", line 408, in idle_thread
    self.cooker.process_inotify_updates()
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/cooker.py", line 256, in process_inotify_updates
    n.read_events()
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/pyinotify.py", line 1207, in read_events
    if fcntl.ioctl(self._fd, termios.FIONREAD, buf_, 1) == -1:
OSError: [Errno 9] Bad file descriptor
3323260 21:48:32.206995 Command Completed (socket: True)

(Bitbake rev: 358b5b02d5de1ab0f98104c4ec4953e46999b9a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:53 +00:00
Richard Purdie
7244bf2457 bitbake: cooker: Ensure lock is held with changing notifier
We've seen a couple of cases which bitbake hangs due to an inotifer exception
such as:

3323260 21:48:31.554468 Running command ['getVariable', 'BBINCLUDELOGS']
Exception in thread Thread-1 (idle_thread):
Traceback (most recent call last):
  File "/usr/lib64/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/server/process.py", line 408, in idle_thread
    self.cooker.process_inotify_updates()
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/bb/cooker.py", line 256, in process_inotify_updates
    n.read_events()
  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/bitbake/lib/pyinotify.py", line 1207, in read_events
    if fcntl.ioctl(self._fd, termios.FIONREAD, buf_, 1) == -1:
OSError: [Errno 9] Bad file descriptor
3323260 21:48:32.206995 Command Completed (socket: True)

Ensure we don't destory the inotifier when the idle thread is reading is
by holding the lock during setup/teardown.

(Bitbake rev: 8fc5c50c2e23017833f93bcd514d708a14fa4266)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:53 +00:00
Robert Joslyn
b226d4877f curl: Update 7.87.0 to 7.88.0
This is a feature and bugfix update. Release notes available at:
https://curl.se/changes.html#7_88_0

License-Update: Copyright year updated
(From OE-Core rev: c79c895269050c44134a16ab6801c06b9497cf37)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Siddharth Doshi
a19633f3c3 openssl: Upgrade 3.0.7 -> 3.0.8
OpenSSL 3.0.8 fixes 1 HIGH level security vulnerability and 7 MODERATE level security vulnerability [1].

Upgrade the recipe to point to 3.0.8.

CVE-2022-3996 is reported fixed in 3.0.8, so drop the patch for that as
well.

[1] https://www.openssl.org/news/vulnerabilities.html

CVEs Fixed:
https://www.openssl.org/news/secadv/20230207.txt

(From OE-Core rev: 8461466f63200a0b1c9c247b70fdf5819651544c)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
8954cf12e2 python3-hatchling: upgrade 1.12.2 -> 1.13.0
(From OE-Core rev: c55010f01d8b5f01ba43600f1f9485692e54997a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
a8a6b16fe0 piglit: upgrade to latest revision
(From OE-Core rev: ade4748a768e927fdbf46794c2bd9ee871acf166)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
eb5f230d54 git: upgrade 2.39.1 -> 2.39.2
(From OE-Core rev: 513146bc11e97a6aecb09567253c2ef0aadc09bf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
b6763fa411 e2fsprogs: upgrade 1.46.5 -> 1.47.0
(From OE-Core rev: 2a174dfdd7c42f52802ebf7cbaace324b5174947)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
9908b430f3 libcap: upgrade 2.66 -> 2.67
License-Update: added spdx ids

(From OE-Core rev: cf49bb0c30f77b13a3b209bbb25ce74984dcb269)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
63837e79cf wireless-regdb: upgrade 2022.08.12 -> 2023.02.13
(From OE-Core rev: a8e8ea1b4b100b6f0ba5ca9441a8f3f1ac31fbfd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
718031ba88 diffoscope: upgrade 234 -> 235
(From OE-Core rev: 53ff8e5b6163fbdf74efc32cdd55f1631a24f5c1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
d1f9471255 libhandy: upgrade 1.8.0 -> 1.8.1
(From OE-Core rev: e345c30b4ce33e0758f45b976b4be62593a56e52)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
389ade51b4 harfbuzz: upgrade 6.0.0 -> 7.0.0
License-Update: copyright years

(From OE-Core rev: f7532332e9dde401d9cca5b7f53e2a4e47164261)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
9721ad49f1 mmc-utils: upgrade to latest revision
(From OE-Core rev: 8b2cac7e9ba9c3254cfe8f7ecab95cd87bda2ee0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
6b27cafdf1 python3-setuptools: upgrade 67.2.0 -> 67.3.1
(From OE-Core rev: 7863a647088d845dab284b6f50bbcc1f5efe8442)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
3ec15f2e5c zstd: upgrade 1.5.2 -> 1.5.4
License-Update: copyright holder Facebook -> Meta

(From OE-Core rev: 3c5fb3e291cbd61a76db47a93a78c0972506e574)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
ec518c9f79 linux-firmware: upgrade 20230117 -> 20230210
License-Update: additional firmwares

(From OE-Core rev: 8e6134d39b840d96e1c37d3df21a522afea8bc76)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
56bb6dcdf9 dbus: upgrade 1.14.4 -> 1.14.6
(From OE-Core rev: 31245df3061c1a913bffe5e11ad6ac7fa9c83915)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
aae69de244 vala: upgrade 0.56.3 -> 0.56.4
(From OE-Core rev: ca3cbf8de4c855dda08d73fb06886d4b06676eaf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
cc4dc8d230 libwpe: upgrade 1.14.0 -> 1.14.1
(From OE-Core rev: 981264430ff09682020e6c26570e0d35065ad920)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
8e08be7c76 ruby: upgrade 3.2.0 -> 3.2.1
License-Update: additional items under MIT

(From OE-Core rev: 5e894cf7ddec6cb8f59d0d256e818548d041da74)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
e5f185903f dpkg: upgrade 1.21.19 -> 1.21.20
(From OE-Core rev: e31998514ea509cbe7bebc364f68313453e4307f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
9d29d92187 util-macros: upgrade 1.19.3 -> 1.20.0
License-Update: copyright years

(From OE-Core rev: 2e15aab3adacd3bd6274ed463dfe263f813f32c5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
cf9235cf74 man-pages: upgrade 6.02 -> 6.03
License-Update: unrelated clarification in README

(From OE-Core rev: 0b18b25010be30361268ef6cfa440a258b4917e8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
9df395c6b6 webkitgtk: upgrade 2.38.4 -> 2.38.5
(From OE-Core rev: bd07b5303c973f823bba87753c33b8bac279d2fb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
86757e0a16 dos2unix: upgrade 7.4.3 -> 7.4.4
License-Update: copyright years

(From OE-Core rev: 60fb044689bcdf182511f9a847556e19066f9f3e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
cdb3fc4213 log4cplus: upgrade 2.0.8 -> 2.1.0
(From OE-Core rev: 5e08700b8fff568e476130cb81cf9e736d2c5372)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
5a7ae0af91 nghttp2: upgrade 1.51.0 -> 1.52.0
(From OE-Core rev: 0066015df6302c26ca0e99541f004715e0b1160b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
61be0742be python3: upgrade 3.11.1 -> 3.11.2
License-Update: copyright years

(From OE-Core rev: fc04712bb3fd0a7bbb8d7102a2ffe686e448d6bb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
76305edc1f puzzles: upgrade to latest revision
(From OE-Core rev: e51cf8ac22e3511d6aa8e218d7e41921e36503e0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
09cf084643 gnu-config: update to latest revision
(From OE-Core rev: aad768f6bded5341a4557496e81047ed4f6c643b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
df05a893b3 vulkan-samples: update to latest revision
Drop patch as it's merged upstream.

(From OE-Core rev: fd1f4035fef30782f9e07a778fa63b78fab89102)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
25f6d2bf18 gnutls: update 3.7.8 -> 3.8.0
Refresh patches.

guile option removed upstream.

License-update: formatting, urls
a39e528897

(From OE-Core rev: 016025f1c77b9ffc00213e6056c5134f353ff541)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
78bb2eca6b freetype: update 2.12.1 -> 2.13.0
License-update: additional files under MIT license.

(From OE-Core rev: 572a15afc41903beadeb2d5da2fea4295e2bb1dc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
5b3b5a514f rust: update 1.67.0 -> 1.67.1
(From OE-Core rev: d80c1e0270cdb35a29863eefaa5a8be2a2841631)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
088a0ab9c5 go: update 1.20 -> 1.20.1
(From OE-Core rev: 257d508268719bd90ed81b61a04b756ba78ec1bd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
9b4396e476 gstreamer1.0-python: do not require introspection during builds
Somewhere along the way this ceased to be a build requirement;
I have verified that the recipe installs the same set
of identical files with and without introspection enabled and
present in sysroot.

(From OE-Core rev: 32283136eaad7631c5253b8da538b747666d2705)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
8f7058f683 gcr: enable vala .vapi generation only when gobject introspection is also enabled
(From OE-Core rev: 4de7fa49f18ec1288f6a817910a81107b4f0d883)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
46c6a8d63c scripts/oe-setup-layers: do not clobber json module with a variable named 'json'
(From OE-Core rev: 91e5aef9fd710b08ead9491f1900fbab5386b157)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
e8b88168f5 scripts/oe-setup-layers: correct variable names - layers should be called repos
The script is operating on layer repositories, which can and do sometimes contain
several layers. This distinction is important as the script will be tweaked
to write a record of actual layer locations.

(From OE-Core rev: 833965e6001db98039c0aa816ae661232213bcea)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Richard Purdie
a7e3c0f046 bitbake: runqueue: Drop SystemExit usage
Using bb.fatal for a fatal error message is the best practise, switch
the code to match other call sites.

(Bitbake rev: c27e48fa81c2327a4a355a028884ab457cde3ae7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:48:28 +00:00
Richard Purdie
65de367cfe bitbake: cookerdata: Drop dubious exception handling code
This code appears to be dangerous, it swallows exceptions, turning them into
"handled" versions which then show no errors to the user. This is a pretty
poor user experience and I can't see why this code should be swallowing
such things. Drop the worst bits of code.

(Bitbake rev: 13279044f16f2cf2502ebf39d277415f99bb6c18)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:48:28 +00:00
Richard Purdie
42f4f740b1 bitbake: cookerdata: Improve early exception handling
Martin Jansa reported that if you put a syntax error into an imported
module such as qa.py in OE, no error is shown.

Part of the issue appears to be that the catch_parse_error() decorator only
catches certain exceptions and SyntaxError isn't one of them. As far as I can
tell we should remove all the special cases and use the more advanced code
in all cases, not just expansion errors.

I confirmed this now prints a proper error message for a qa.py syntax error.

(Bitbake rev: 2365d891847f8e73d1c4661ddfdab8818ff619dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:48:28 +00:00
Martin Jansa
149ea9db96 insane.bbclass: move Upstream-Status logic to oe.qa
* to be used by standalone script scripts/contrib/patchreview.py
  as well

(From OE-Core rev: c326efeec8f576200728a44c694becdeab4fe2db)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:47:53 +00:00
Joe Slater
add828fa4f tar: Update fix for CVE-2022-48303 to upstream version
Fixes CVE-2022-48303 by checking Base-256 encoding is at least
2 bytes long. GNU Tar through 1.34 has a one-byte out-of-bounds
read that results in use of uninitialized memory for a conditional
jump. Exploitation to change the flow of control has not been
demonstrated. The issue occurs in from_header in list.c via a
V7 archive in which mtime has approximately 11 whitespace characters.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-48303

Upstream patch:
https://savannah.gnu.org/bugs/?62387
https://git.savannah.gnu.org/cgit/tar.git/patch/src/list.c?id=3da78400eafcccb97e2f2fd4b227ea40d794ede8

(From OE-Core rev: 0043c9d3f7b65a0cbb0a27c37b4825b8f5511dec)

Signed-off-by: Rodolfo Quesada Zumbado <rodolfo.zumbado@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:47:53 +00:00
Yash Shinde
4329418105 glibc: stable 2.37 branch updates.
Below commits on glibc-2.37 stable branch are updated.

d8e1a7590d elf: Smoke-test ldconfig -p against system /etc/ld.so.cache
6fe86ecd78 NEWS: Document CVE-2023-25139.
07b9521fc6 Account for grouping in printf width (bug 30068)
fb7b95dc47 Use 64-bit time_t interfaces in strftime and strptime (bug 30053)
9f8513dc64 LoongArch: Add new relocation types.
020b43544a cdefs: Limit definition of fortification macros

(From OE-Core rev: 262ee4d12fd82f1722b0ac859d95fdfd7640cb95)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:47:53 +00:00
Ross Burton
53f16a9939 site: remove glib site values
GLib 1.x is incredibly obsolete and GLib 2.x is built using Meson
not autotools, so we can remove the GLib entries from the site files.

Also fix a few copy/paste typos where glib_ was used incorrectly, for example:

  ac_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4}

The glib_cv_ should be ac_cv_.

(From OE-Core rev: 69e757e6bef8b1037e2f23121774af1d5f6c96df)

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>
2023-02-19 07:47:53 +00:00
Ross Burton
069e5df6ae pkgconfig: use system glib for nativesdk builds
There's no need to use the internal glib fork for nativesdk builds, as
we can use the proper nativsdk-glib-2.0 recipe.

This means we're shipping less statically linked and obsolete code, and
can also drop two patches to that code which were only needed in
nativesdk builds on Windows.

(From OE-Core rev: f893b70a2db326e82f1de5c47b7da3855fa42439)

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>
2023-02-19 07:47:53 +00:00
Wang Mingyu
734ae5d99b liburcu: upgrade 0.13.2 -> 0.14.0
Changelog:
==========
  * Fix: urcu-bp: only teardown call-rcu worker in destructor
  * Fix: rculfhash: urcu_die() takes positive error value
  * Fix: call_rcu: teardown default call_rcu worker on application exit
  * Fix: join worker thread in call_rcu_data_free
  * Docs: clarify grace period polling API
  * Document grace period polling in rcu-api.md
  * Implement poll rcu stress test in rcutorture
  * urcu-memb,mb,signal: Implement grace period polling
  * Fix: auto-resize hash table destroy deadlock
  * Fix building on MSYS2
  * rculfhash: Include rculfhash-internal.h from local directory
  * Remove "Darwin" from "should also work on list"
  * Merge branch 'adah1972-improve-md'
  * Add semicolons at the end of function prototypes
  * Wrap a file name in backticks
  * Wrap command-line options in backticks
  * Fix a wrong format
  * Wrap URLs in angle brackets
  * Fix Markdown issues
  * Fix: Always check pthread_create for failures
  * Disable signals in URCU background threads
  * Fix: futex.h: include headers outside extern C
  * Fix: add missing unused attribute to _rcu_dereference
  * Fix: change method used by _rcu_dereference to strip type constness
  * Fix: remove type constness in URCU_FORCE_CAST's C++ version
  * Move extern "C" down in include/urcu/urcu-bp.h
  * fix: ifdef linux specific cpu count compat
  * Add unit tests for possible_cpus_array_len
  * fix: sysconf(_SC_NPROCESSORS_CONF) can be less than max cpu id
  * Fix: revise obsolete command in README.md
  * Fix: workqueue: remove unused variable "ret"
  * Fix: urcu-qsbr: futex wait: handle spurious futex wakeups
  * Fix: urcu: futex wait: handle spurious futex wakeups
  * Fix: urcu-wait: futex wait: handle spurious futex wakeups
  * Fix: defer_rcu: futex wait: handle spurious futex wakeups
  * Fix: call_rcu: futex wait: handle spurious futex wakeups
  * Fix: workqueue: futex wait: handle spurious futex wakeups
  * Fix: Use %lu rather than %ld to print count
  * Update ABI definition files
  * Bump version current and age
  * alpha: allocate membarrier system call number
  * Bump version to 0.14.0-pre
  * Improved test framework
  * rculfhash: introduce cds_lfht_node_init_deleted
  * Fix: changelog: v0.13.0 was released in 2021
  * cleanup: i386 arch detection
  * fix: properly detect 'cmpxchg' on x86-32
  * fix: use urcu-tls compat with c++ compiler
  * Fix typo
  * fix: remove autoconf features default value in help message
  * fix: add missing pkgconfig file for memb flavour lib
  * Cleanup: Tests: Remove useless pre-C99 compatibility code from tap.h
  * Document C99 and C++11 requirement in README.md
  * Always use '__thread' for Thread local storage except on MSVC
  * Fix: powerpc32: transparent unions alter calling convention
  * fix: don't use C++ thread_local on MacOs
  * wfcqueue API: implement overloaded wrappers with templates
  * wfcqueue: combine C++ API cds_wfcq_head_cast with overloading
  * wfstack C++ API: implement overloaded wrappers with templates
  * lfstack C++ API: implement overloaded wrappers with templates
  * wfstack: combine C++ API cds_wfs_stack_cast with overloading
  * lfstack: combine C++ API cds_lfs_stack_cast with overloading
  * fix: test_build tap plan
  * Test C++ build of list head init
  * Fix order of initializers in CDS_LIST_HEAD_INIT
  * unit tests: test wfcqueue, wfstack, lfstack empty check functions in C++
  * wfcqueue: implement C++ API based on function overloading
  * wfstack: implement C++ API based on function overloading
  * lfstack: implement C++ API based on function overloading
  * Fix tap.h: remove extra semicolon in pass/fail macros
  * Add C++ build tests
  * Build and run regression and unit tests as C++ programs
  * Add --enable-Werror configure switch
  * Add `urcu_posix_assert()` as `assert()` replacement
  * Rename `urcu_assert()` to `urcu_assert_debug()`
  * cleanup: spelling fixes in comments
  * Make temporary variable in _rcu_dereference non-const
  * (tls-ie2) Fix: x86 and s390: uatomic __hp() macro C++ support
  * Fix: x86 and s390: uatomic __hp() macro clang support
  * Fix: x86 and s390 uatomic: __hp() macro warning with gcc 11

(From OE-Core rev: fdf6a7f1da7b23a1bbb51198f5702d925e68bf1a)

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>
2023-02-19 07:47:53 +00:00
Wang Mingyu
65e56b9862 dtc: upgrade 1.6.1 -> 1.7.0
0001-fdtdump-fix-Werror-int-to-pointer-cast.patch
removed sinct it's included in 1.7.0

(From OE-Core rev: 3007669c903eecf8aa057add51c469bdb1337a38)

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>
2023-02-19 07:47:53 +00:00
Joshua Watt
ceb95cf9c2 classes/create-spdx-2.2: Report downloads as separate packages
Moves the downloaded items from SRC_URI into separate packages in the
recipe document. This is much better than the previous implementation
because:
 1) It can report multiple download locations in SRC_URI, instead of
    just the first one reported.
 2) It prevents the assumption that the source files listed in the
    recipe are the exact file from the source URL; in particular, files
    that come from file:// SRC_URI entries, and source files that have
    been patched were problematic, since these aren't from the upstream
    source.
 3) It allows the checksums to be specified

(From OE-Core rev: 1dd4369b3638637a2cbba2a3c37c6b6f4df335cd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:47:53 +00:00
Martin Jansa
c980c93c5d insane.bbclass: use 4 spaces for indentation
* this block was using just 3

(From OE-Core rev: 4578f2237cb694473eb54ff85af342ee94c9f19d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:47:53 +00:00
Martin Jansa
34c454c99a python3-numpy: upgrade to 1.24.2
* remove patch applied upstream

* FWIW: this version still fails to build with DEBUG_BUILD AND gcc-13 as
  shown in:
  http://errors.yoctoproject.org/Errors/Details/689841/

In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/immintrin.h:57,
                 from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:14:
In function '_mm512_mask_prefetch_i64scatter_pd',
    inlined from 'main' at TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:23:5:
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512pfintrin.h:180:3: error: 'base' may be used uninitialized [-Werror=maybe-uninitialized]
  180 |   __builtin_ia32_scatterpfqpd (__mask, (__v8di) __index, __addr, __scale,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  181 |                                __hint);
      |                                ~~~~~~~
<built-in>: In function 'main':
<built-in>: note: by argument 3 of type 'const void *' to '__builtin_ia32_scatterpfqpd' declared here
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/numpy-1.24.1/numpy/distutils/checks/cpu_avx512_knl.c:18:9: note: 'base' declared here
   18 |     int base[128];
      |         ^~~~

In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/immintrin.h:53,
                 from numpy/core/src/umath/simd.inc.src:25:
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512fintrin.h: In function 'AVX512F_square_CFLOAT':
TOPDIR/tmp-glibc/work/core2-64-oe-linux/python3-numpy/1.24.1-r0/recipe-sysroot-native/usr/lib/x86_64-oe-linux/gcc/x86_64-oe-linux/13.0.1/include/avx512fintrin.h:314:1: error: inlining failed in call to 'always_inline' '_mm512_setzero_ps': target specific option mismatch
  314 | _mm512_setzero_ps (void)
      | ^~~~~~~~~~~~~~~~~
numpy/core/src/umath/simd.inc.src:977:20: note: called from here
  977 |     @vtype@ zeros = _mm512_setzero_@vsuffix@();
      |                    ^~~~~~~~~~~~~~~~~~~
numpy/core/src/umath/simd.inc.src:596:1: error: inlining failed in call to 'always_inline' 'avx512_get_full_load_mask_ps': target specific option mismatch
  596 | avx512_get_full_load_mask_ps(void)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

It will be probably resolved in next release from 1.25 as whole simd.inc.src was removed in:
640e85017a
but this PR https://github.com/numpy/numpy/pull/21056 wasn't backported
to maintenance/1.24.x and probably isn't worth backporting now as
neither DEBUG_BUILD is enabled by default nor gcc-13 merged in oe-core,
and the changes don't backport cleanly.

(From OE-Core rev: 8596678667797971559aed962b1c204266032186)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:47:53 +00:00
Ross Burton
aa2839b49c libcgroup: clean up musl DEPENDS
libcgroup uses fts_* functions, but these are not implemented in musl so
we depend on the fts recipe and force a link to libfts.

However since 3.0.0 libcgroup will automatically look for fts_open in
both libc and libfts[1], so this can be simplified to just a conditional
DEPENDS.

[1] 27ba904355

(From OE-Core rev: 59be1d5a7e78c6fe6bf01e523439f91871be9718)

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>
2023-02-19 07:47:53 +00:00
Narpat Mali
990b7923ea libseccomp: fix for the ptest result format
The output of libseccomp ptest should follow a unified format as
per this https://wiki.yoctoproject.org/wiki/Ptest

Replaced the test results SUCCESS, FAILURE & SKIPPPED with PASS,
FAIL & SKIP and printing the ptest result with the below format
result: testname

(From OE-Core rev: 30d025a8641cfcce5412b5f021478777620b55f1)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:47:53 +00:00
Ulrich Ölmann
aa7c92e2b0 kernel-yocto: fix kernel-meta data detection
Fixes: 7ef7af5c03ba ("kernel-yocto: restore kernel-meta data detection for SRC_URI elements")
(From OE-Core rev: c77754f23e3fb49a62602a6c6a04d5525d1cf457)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:47:53 +00:00
Richard Purdie
7017752717 poky.conf: Update SANITY_TESTED_DISTROS to match autobuilder
The autobuilder workers change over time, update the sanity testing list
to match the current autobuilder workers OS list.

(From meta-yocto rev: e1b515ec9d5c6b1b21d27db1ec413088398d538b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:02:04 +00:00
Pedro Baptista
445caa139c bitbake: action.py: add topdir in bblayers_conf path for remove-layer
By including the full path to bblayers.conf the remove-layer
command can be executed from any location, not only from the
build directory.

(Bitbake rev: 25cb4e17e8a4c0310df018b9df184b0155b267eb)

Signed-off-by: Pedro Baptista <pedro.miguel.baptista@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:02:04 +00:00
Pedro Baptista
5630cb5ccd bitbake: action.py: add topdir in bblayers_conf path for add-layer
By including the full path to bblayers.conf the add-layer
command can be executed from any location, not only from the
build directory.

(Bitbake rev: 77aa230bf2a053fc0941723a6abbc798ebe53a19)

Signed-off-by: Pedro Baptista <pedro.miguel.baptista@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:02:04 +00:00
Ross Burton
77f91746dc bitbake: fetch2/wget: clean up netrc usage
Assigning a return value which is potentially None to a tuple and
catching TypeError is pretty ugly.  Rewrite the code to explicitly check
the value for clarity.

(Bitbake rev: f4ebb27616ac2df27c29a6052b1526a4c48db607)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:02:04 +00:00
Richard Purdie
d976eb3d52 bitbake: data: Evaluate the value of export/unexport/network flags
Currently the export/unexport/network flags are acted on only by presence
or lack of in the data store. This is deliberate due to performance reasons
since a given recipe shell task might export ~80-90 variables and this means
expanding flags for every one of them.

This does catch users unaware since values which expand to nothing don't work
e.g. ${@""} and setting values to "0" wouldn't work either.

The downside to this patch is slow down in parsing speed of around 4%.

The network flag is easier to change and doesn't affect performance, it was
made to operate the same as export/unexport for consitency reasons.

(Bitbake rev: 3d96c07f9fd4ba1a84826811d14bb4e98ad58846)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:02:04 +00:00
Petr Kubizňák
6d5c1129ae graphene: remove introspection from PACKAGECONFIG
Assignment of "introspection" as default PACKAGECONFIG value does not
reflect gobject-introspection being globally enabled or disabled.
As a result, graphene compilation used to fail when g-i was disabled.

Use standard means to enable or disable introspection based on machine
and distro features, as implemented by gobject-introspection class.

(From OE-Core rev: a5e22ba9d7b82126c53ad373fa59267c870f7d6b)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:01:01 +00:00
Tim Orling
9f2def3811 python3-cryptography{-vectors}: 39.0.0 -> 39.0.1
https://cryptography.io/en/latest/changelog/#v39-0-1

39.0.1 - 2023-02-07
* SECURITY ISSUE - Fixed a bug where Cipher.update_into accepted Python
  buffer protocol objects, but allowed immutable buffers. CVE-2023-23931

* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.8.

CVE: CVE-2023-23931

(From OE-Core rev: b2883bb86d8d0f7929b3c7a40f603010fbe153a4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:01:01 +00:00
Tim Orling
f0c9b19a3d python3-typing-extensions: upgrade 4.4.0 -> 4.5.0
https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-450-february-14-2023

Release 4.5.0 (February 14, 2023)

* Runtime support for PEP 702, adding typing_extensions.deprecated. Patch
  by Jelle Zijlstra.
* Add better default value for TypeVar default parameter, PEP 696. Enables
  runtime check if None was passed as default. Patch by Marc Mueller (@cdce8p).
* The @typing_extensions.override decorator now sets the .__override__
  attribute. Patch by Steven Troxler.
* Fix get_type_hints() on cross-module inherited TypedDict in 3.9 and 3.10.
  Patch by Carl Meyer.
* Add frozen_default parameter on dataclass_transform. Patch by Erik De Bonte.

(From OE-Core rev: d3f0a9b620a930e9f48bf9f0d76f82ca6560887a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:01:01 +00:00
Tim Orling
80a3cd2e92 python3-hypothesis: upgrade 6.66.0 -> 6.68.1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-68-1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-68-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-67-1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-67-0

(From OE-Core rev: 5ff9dc47f639a6360603cd3ed840e6782e18d86b)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:01:01 +00:00
Ross Burton
6041d190ea cml1: remove redundant addtask
The configure task is added by base.bbclass, no need to do it again.

(From OE-Core rev: 2d7897bcab2b70d850bfe02ded42b20eb695eda8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:01:01 +00:00
Ross Burton
163aa6f149 lib/buildstats: handle tasks that never finished
If a task is aborted the buildstats file isn't complete, so calculate
when the build finished and use that as a end time.

(From OE-Core rev: 23ebaec476dc46aebe5997f025661137f3e341bd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:01:01 +00:00
Khem Raj
6807f36447 elfutils: Backport fix for DW_TAG_unspecified_type handling
Re-enable funcretval tests

(From OE-Core rev: af1f63182fc5a4dd74678fa86815b8ad45f58fc5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:01:01 +00:00
Alexis Lothoré
abf2776641 oeqa/selftest/resulttooltests: fix minor typo
(From OE-Core rev: 80cfa56d133bd3abbb1f37272607d8e15ce70861)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:01:01 +00:00
Richard Purdie
57c38ab6d2 libssh2: Clean up ptest patch/coverage
Martin Jansa spotted patchreview.py reports Malformed Upstream-Status in a
patch in this recipe. The patch is not being applied since there is no ptest
override.

The test in question was also disabled due to an issue with new versions of
openssh.

Add a workaround for the broken test, enable it, drop the broken patch.

(From OE-Core rev: e9f2cc084638ce9cb5339df611e473c30f0e40b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:01:01 +00:00
Bruce Ashfield
bdf854311c lttng-modules: fix for kernel 6.2+
Backporting a patching from the 2.13.x stable branch of lttng
to fix the build against kernel 6.2+.

(From OE-Core rev: 3aed7dfe5ff6f52497dcffa58bc2f06cf709ea18)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 18:01:01 +00:00
Richard Purdie
ca4721c64a bitbake: cookerdata: Remove incorrect SystemExit usage
Calling SystemExit doesn't work well with server/client usage since the string
isn't printed to the right place. Use bb.fatal() instead which prints the right
log output and raises and handled exception which then shows correctly on the
UI.

(Bitbake rev: aaefb43b41a0d9b16a59643136268eb6e5d48cd2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 15:10:02 +00:00
Alexander Kanavin
d369a45ae7 meta/conf: move default configuration templates into meta/conf/templates/default
This sets the ground for standardizing (and enforcing) the location of
configuration templates: let's start with the default one.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-16 17:11:11 +00:00
Bruce Ashfield
44311c454d yocto-bsps: remove 5.19 bbappend
5.19 has been dropped from oe-core, so we drop our bbappend to match.

(From meta-yocto rev: 44388fff6fd356c9ca97ab4677fdfe371dba3506)

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>
2023-02-15 10:21:35 +00:00
Denys Zagorui
ad5f0a2fe4 kernel-devsrc: powerpc: add missed dependency for modules_prepare
There is an issue during 'make modules_prepare' execution for PPC_85xx:

arch/powerpc/kernel/asm-offsets.c:58:10: fatal error: head_booke.h: No such file or directory
   58 | #include "head_booke.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.build:118: arch/powerpc/kernel/asm-offsets.s] Error 1

asm-offests.c has dependency on head_booke.h so add it to kernel-devsrc package

(From OE-Core rev: 46705c47428a8d909518a0ed29dd2051f6321e2f)

Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:35 +00:00
Markus Volk
491a323d08 graphene: add a PACKAGECONFIG for arm_neon
Not all arm platforms support neon and runtime detection for this feature is
currently not reliable.
Disable neon support by default on ARM-32 platforms because of the
following upstream bug: https://github.com/ebassi/graphene/issues/215

Enable neon for aarch64 by default

(From OE-Core rev: 72778f6a647f47926c6ba1b77f0984999a22e44a)

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>
2023-02-15 10:21:35 +00:00
Xiangyu Chen
45d3072792 dhcpcd: fix dhcpcd start failure on qemuppc64
Backport patch to fix dhcpcd start failed on qemuppc64.

(From OE-Core rev: a31d658198566de12cdd1aad18776b8da8065787)

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>
2023-02-15 10:21:35 +00:00
Saul Wold
4f1a0855af create-spdx-2.2: Add support for custom Annotations
This change adds a new variable to track which recipe variables
are added as SPDX Annotations.

Usage: add SPDX_CUSTOM_ANNOTATION_VARS = <some recipe variable>

The recipe spdx json will contain an annotation stanza that looks
something like this:

     "annotations": [
        {
          "annotationDate": "2023-02-13T19:44:20Z",
          "annotationType": "OTHER",
          "annotator": "Tool: oe-spdx-creator - 1.0",
          "comment": "CUSTOM_VARIABLE=some value or string"
        },

(From OE-Core rev: 33ced8338f0facb412b5f24cf9df4a84226a2a94)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:35 +00:00
Khem Raj
af5e8ae3a2 gstreamer1.0-plugins-good: Fix build with musl
musl's definition of ioctl() API is different from glibc's and gst has
built upon definition from glibc which was being warned about but now
compilers can check signatures of funciton pointers, means it becomes an
error with clang16+

(From OE-Core rev: 840d55a4bf8e908e2b2841496232ffa7c00799e4)

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>
2023-02-15 10:21:35 +00:00
Khem Raj
0e8fcf8b51 stress-ng: Add missing header files for clock_adjtime
(From OE-Core rev: 216e5b0e450c7b3f6f096c2892256e1bc1ec4781)

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>
2023-02-15 10:21:35 +00:00
Khem Raj
02100e6b20 unfs3: Add missing header files
These enable builds with additional warnings as errors

(From OE-Core rev: 2a04a5d5b732107316e0dd22fd59bf67b2e3572d)

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>
2023-02-15 10:21:35 +00:00
Dmitry Baryshkov
95bc76cfdb linux-firmware: add yamato fw files to qcom-adreno-a2xx package
Newest linux-firmware release got firmware for Adreno A200. Add these
two files to the ${PN}-qcom-adreno-a2xx package. As these files are
licensed under a separate BSD-3-Clause license, add separate license
package too.

(From OE-Core rev: 56e1b2b06ef7f22d4ac5899046f650ae8ec0d547)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:35 +00:00
Dmitry Baryshkov
86b2e26e9f linux-firmware: properly set license for all Qualcomm firmware
It is not enough to depend on the ${PN}-qcom-license package. Set
LICENSE variable for all the qcom packages to point to the proper
license.

(From OE-Core rev: 9dc41e18dc138a7cce920f8e4c85eb3130c0d553)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:35 +00:00
Wang Mingyu
78947f8736 libx11: 1.8.3 -> 1.8.4
(From OE-Core rev: 70db960e2fcc91125585eb38f3e35d2a48b8ea7a)

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>
2023-02-15 10:21:35 +00:00
Wang Mingyu
b91779afad xwayland: upgrade 22.1.7 -> 22.1.8
(From OE-Core rev: e0ca374267cce807d12d706564989900fe61bd97)

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>
2023-02-15 10:21:35 +00:00
Wang Mingyu
88dc00f891 xkeyboard-config: upgrade 2.37 -> 2.38
(From OE-Core rev: 31264150780a159f7b4d43cd5b144f9f5444621c)

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>
2023-02-15 10:21:35 +00:00
Wang Mingyu
bcc1a39451 python3-zipp: upgrade 3.12.0 -> 3.13.0
Changelog:
==========
 In tests, add a fallback when func_timeout isn't available.
 gh-101566: In CompleteDirs, override ZipFile.getinfo to supply a ZipInfo for implied dirs.

(From OE-Core rev: 733a0fa6ebe4eb451f3cbf60a9a866cfddab0072)

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>
2023-02-15 10:21:35 +00:00
Wang Mingyu
efb298b83a python3-sphinx-rtd-theme: upgrade 1.1.1 -> 1.2.0
Changelog:
==========
 docutils 0.18 is supported. (#1381)
 Sphinx 6 support added
 Added sphinxcontrib-jquery as a dependency (#1385 #1421)
 Python 3.11 is officially supported and tested. (#1395)
 Python 3.4 and 3.5 are officially not supported (#1395)
 Automatically use sphinxcontrib-jquery in Sphinx 6+ (#1399)
 Use new context vars logo_url, favicon_url and root_doc when available (#1405)
 Translations updated: French, Hungarian, Croatian
 Translations added: Danish, Chinese (Taiwan)

(From OE-Core rev: 5633e0cc14bab83906bc0fb6a54cea3247b97278)

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>
2023-02-15 10:21:35 +00:00
Wang Mingyu
4c8b59b5e5 openssh: upgrade 9.1p1 -> 9.2p1
(From OE-Core rev: 845334cb22708e7a88701aa0a1bc496a67f2b5d5)

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>
2023-02-15 10:21:35 +00:00
Wang Mingyu
7edabcd0b5 lighttpd: upgrade 1.4.68 -> 1.4.69
fix-missing-test.patch
removed since it's included in new verion.

(From OE-Core rev: b88ffd2c41d99099d444e9a05b6d1b84090160a0)

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>
2023-02-15 10:21:34 +00:00
Wang Mingyu
b2a1c6b8e4 libsdl2: upgrade 2.26.2 -> 2.26.3
License-Update: Copyright year updated to 2023.

(From OE-Core rev: 81a08ae4d89f15ab48ed84c1f8bdced7229e02ad)

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>
2023-02-15 10:21:34 +00:00
Wang Mingyu
b531ca5e3a libjpeg-turbo: upgrade 2.1.5 -> 2.1.5.1
Changelog:
==========
1. The SIMD dispatchers in libjpeg-turbo 2.1.4 and prior stored the list of
supported SIMD instruction sets in a global variable, which caused an innocuous
race condition whereby the variable could have been initialized multiple times
if 'jpeg_start_*compress()' was called simultaneously in multiple threads.
libjpeg-turbo 2.1.5 included an undocumented attempt to fix this race condition
by making the SIMD support variable thread-local.  However, that caused another
issue whereby, if 'jpeg_start_*compress()' was called in one thread and
'jpeg_read_*()' or 'jpeg_write_*()' was called in a second thread, the SIMD
support variable was never initialized in the second thread.  On x86 systems,
this led the second thread to incorrectly assume that AVX2 instructions were
always available, and when it attempted to use those instructions on older x86
CPUs that do not support them, an illegal instruction error occurred.  The SIMD
dispatchers now ensure that the SIMD support variable is initialized before
dispatching based on its value.

(From OE-Core rev: 009a1b0390d791d614b8d4a1407e7479c261f60d)

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>
2023-02-15 10:21:34 +00:00
Wang Mingyu
54d98143da libdrm: upgrade 2.4.114 -> 2.4.115
(From OE-Core rev: 01160dfd71013b0fe03ccc90dd0432d29279bc99)

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>
2023-02-15 10:21:34 +00:00
Kai Kang
84cf612032 webkitgtk: 2.38.3 -> 2.38.4
Update webkitgtk from 2.38.3 to 2.38.4.
* remove 0001-When-building-introspection-files-do-not-quote-CFLAG.patch
  which has been merged in upstream

What’s new in the WebKitGTK 2.38.4 release?[1]
* Improve GStreamer multimedia playback across the board with improved
  codec selection logic, better handling of latency, and improving frame
  discard to avoid audio/video desynchronization, among other fixes.
* Disable HLS media playback by default, which makes web sites use MSE
  instead. If needed WEBKIT_GST_ENABLE_HLS_SUPPORT=1 can be set in the
  environment to enable it back.
* Disable threaded rendering in GTK4 builds by default, as it was
  causing crashes.
* Fix MediaSession API not showing artwork images.
* Fix MediaSession MPRIS usage when running inside a Flatpak sandbox.
* Fix input element controls to correctly scale when applying a zoom
  factor different than the default.
* Fix leakage of Web processes in certain situations.
* Fix the injected bundle not being found when running inside a sandbox.
* Fix the build with ENABLE_INTROSPECTION when cross-compiling.
* FIx the build with ENABLE_WEBGL disabled.
* Fix the build with GStreamer-based WebRTC enabled.
* Fix the build with USE_GTK4 enabled.
* Fix several crashes and rendering issues.

[1]: https://webkitgtk.org/2023/02/02/webkitgtk2.38.4-released.html

(From OE-Core rev: a535ea38cb386f88afdfb086b07c047826368e9c)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Mateusz Marciniec
c9273b8f2f sstatesig: Improve output hash calculation
Symbolic links to the files are included during the output hash
calculation but symlinks to the directories are missed.
So if the new symlink to a directory was the only change made,
then the output hash won't change,
and the Hash Equivalence server may change unihash.
In the next run bitbake may use an older package from sstate-cache.

To fix this followlinks=True flag could be set for os.walk
but it can lead to infinite recursion if link points
to a parent directory of itself.
Also, all files from a directory to which symlink points
would be included in depsig file.
Therefore another solution was applied, I added code that will loop
through directories and process those that are symlinks.

(From OE-Core rev: ee729163f31f26b1462a47e1e53f7a0f9de9b464)

Signed-off-by: Mateusz Marciniec <mateuszmar2@gmail.com>
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Saul Wold
7c97bfbed4 busybox: Fix depmod patch
The original patch was actually allowing .debug modules
though which was in-correct. This change blocks the
parsing of .debug modules (which is correct). As noted in
[YOCTO #15022] this should address the empty modules.dep
when using the BusyBox depmod.

(From OE-Core rev: 339c3c3abe8d405cfe7b3f34db9b3547bcaaf878)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Alexander Kanavin
adbb395e7a mesa: update 22.3.3 -> 22.3.5
(From OE-Core rev: c7f623a9ef6809db60a792b0e2bd1f41c421a8b3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Alexander Kanavin
4e07f56dce gstreamer1.0: update 1.20.5 -> 1.22.0
Drop xingmux license snippet from plugins-ugly as it moved to plugins-good;
the license was LGPL in any case:
d132592423/subprojects/gst-plugins-good/tests/check/elements/xingmux.c

videoconvert/videoscale plgins were merged into one.

(From OE-Core rev: fb2d28e0315ece6180c87c7047587673024a09f7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Alexander Kanavin
64e6bfbff6 vim: update 9.0.1211 -> 9.0.1293 to resolve open CVEs
(From OE-Core rev: 6d77dbe499ee362b6e28902f1efcf52b961037a5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Alexander Kanavin
34157b4b1a go-cross-canadian: use gcc-crosssdk, not gcc-native
The recipe was building native go against build host headers and libraries,
and then installing it as a nativesdk item, which is entirely incorrect. This has
been working by coincidence (go generally uses C and C libraries lightly)
but with go 1.20 this turned into hard breakage.

Also nativesdk sysroot was being passed in incorrectly.

(From OE-Core rev: 9212704a0e6ba79c3a3c4d85fc132e0ab6de1747)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Alexander Kanavin
19b53dc47f go: update 1.19.4 -> 1.20
No longer package go-runtime-staticdev into sdk packagegroup,
as go-runtime 1.20 doesn't build the static bits anymore
(possibly can be enabled via build config, if proven necessary).

(From OE-Core rev: e8ab9d303a6fca3806097f1fd360efe8f8ae0c1d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Alexander Kanavin
4322056708 scripts/oe-setup-layers: print a note about submodules if present
(From OE-Core rev: 7f16c1c0229110c242f2e064d612d0d35823bf8d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Alexander Kanavin
314944eaab bblayers/makesetup: skip git repos that are submodules
(From OE-Core rev: d8bc9cd4ca8ae268a61024f8ac5083a2bbdc432f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Adrian Freihofer
ac60e31af3 bblayers/setupwriters/oe-setup-layers: create dir if not exists
Without this patch:

$ bitbake-layers create-layers-setup /home/adrian/temp/poky-clone
NOTE: Starting bitbake server...
Traceback (most recent call last):
  File "/home/adrian/projects/poky/bitbake/lib/bb/process.py", line 169, in run
    pipe = Popen(cmd, **options)
  File "/home/adrian/projects/poky/bitbake/lib/bb/process.py", line 73, in __init__
    subprocess.Popen.__init__(self, *args, **options)
  File "/usr/lib64/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib64/python3.10/subprocess.py", line 1847, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/home/adrian/temp/poky-clone'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/adrian/projects/poky/bitbake/bin/bitbake-layers", line 95, in <module>
    ret = main()
  File "/home/adrian/projects/poky/bitbake/bin/bitbake-layers", line 88, in main
    return args.func(args)
  File "/home/adrian/projects/poky/meta/lib/bblayers/makesetup.py", line 90, in do_make_setup
    p.do_write(self, args)
  File "/home/adrian/projects/poky/meta/lib/bblayers/setupwriters/oe-setup-layers.py", line 36, in do_write
    repos = parent.make_repo_config(args.destdir, args.include_layer_repo)
  File "/home/adrian/projects/poky/meta/lib/bblayers/makesetup.py", line 55, in make_repo_config
    destdir_repo = self._get_repo_path(destdir)
  File "/home/adrian/projects/poky/meta/lib/bblayers/makesetup.py", line 30, in _get_repo_path
    repo_path, _ = bb.process.run('git rev-parse --show-toplevel', cwd=layer_path)
  File "/home/adrian/projects/poky/bitbake/lib/bb/process.py", line 172, in run
    raise NotFoundError(cmd)
bb.process.NotFoundError: Execution of 'git rev-parse --show-toplevel' failed: command not found

with this patch:

$ bitbake-layers create-layers-setup /home/adrian/temp/poky-clone
NOTE: Starting bitbake server...
NOTE: Created /home/adrian/temp/poky-clone/setup-layers.json
NOTE: Created /home/adrian/temp/poky-clone/setup-layers

(From OE-Core rev: 2da12ccada46443d58dd8fab463156fa763b84cc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Pavel Zhukov
7f6a17a19c wic: Fix usage of fstype=none in wic
This allows to specify partition with fstype=none in the wks file
to have partition created but without following mkfs. The none fstype
is in the list already but the usage is not documented.

Example;
part /data --ondisk mmcblk0 --fstype=none  --align 4096 --fixed-size 512

will create a partition, filesystem may be created manualy on the host
or target and data will be preserved if the device is reflashed using
same wks. Works with bmaptool and probably does not work with dd.
Use case is persistent filesystem/data between reflashing of the image.

(From OE-Core rev: 351cb64da37aa43113e5192605d04436652aa3b8)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Federico Pellegrin
87f82469fc curl: fix dependencies when building with ldap/ldaps
openldap is added as a dependency so the build will not fail,
as otherwise ldap headers are not found during configure phase

Note: due to upstream bug (now fixed) building LDAP/LDAPS support
with minimal configurations can sometimes not work, see details at:
https://github.com/curl/curl/pull/10445

(From OE-Core rev: a999f62f5692687a5557f7a50c7c768c50f3d7d3)

Signed-off-by: Federico Pellegrin <fede@evolware.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Kai Kang
8d8f4b733d xserver-xorg: 21.1.6 -> 21.1.7
According to the ANNOUNCE of xorg-server 21.1.7[1]:

This release contains the fix for CVE-2023-0494 in today's security
advisory: https://lists.x.org/archives/xorg-announce/2023-February/003320.html
It also fixes a second possible OOB access during EnqueueEvent and a
crasher caused by ResourceClientBits not correctly honouring the
MaxClients value in the configuration file.

Finally, a bunch of Xquartz updates including the ability to correctly detect
ssh-tunneled clients as remote.

[1]: https://lists.x.org/archives/xorg-announce/2023-February/003321.html

(From OE-Core rev: 60737bee6466e206d8f3c751910dfce00b60d703)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Joshua Watt
8b39d1a7cb classes/create-sdpx-2.2: Remove image SPDX and index from deploydir
Per feedback from users, remove the top level image SPDX file and the
JSON index file from DEPLOYDIR. Having these files here is confusing to
end users because these files are not very useful by themselves, and
having them in DEPLOYDIR makes it unclear which they should be using.

(From OE-Core rev: 4e081802ecb352e0a300a98c924354f8393e4163)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Joshua Watt
2a04347b7a classes/populate_sdk_base: Append cleandirs
Append to cleandirs in do_populate_sdk so that other classes
(specifically, create-spdx-2.2) can add additional directories

(From OE-Core rev: 5e6f74b1910a6ddd359b037b975ba29406e1651b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Chee Yang Lee
8edbf98894 tar: Fix CVE-2022-48303
(From OE-Core rev: 4573a584397f197fbc9170abec3c590ea36667f7)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Bruce Ashfield
2c5d73a947 linux-yocto/5.19: drop recipes
5.19 is no longer getting upstream -stable support, and we've replaced
it with 6.1 as the latest (and default) version. Removing the recipes
to make this clear.

Released branches will still get bugfixes as appropriate.

(From OE-Core rev: c21586a46061af7e00fd30f4eb2b7ca2c74d9fc7)

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>
2023-02-15 10:21:34 +00:00
Michael Opdenacker
35d919672a ref-manual: document Rust classes
(From yocto-docs rev: 3f3f0ad23f31fb5bb7b550dbe18bbedb1449b3ca)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 11:03:36 +00:00
Michael Opdenacker
4681a9e6ce ref-manual: improve "devtool check-upgrade-status" explanations
- Fix broken link to a .bb file
- Clarify the explanations

(From yocto-docs rev: 937ef39cb4d04da388b1945d741820089daa2780)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 11:03:36 +00:00
Michael Opdenacker
1ea54b0db3 bsp-guide: fix broken git URLs and missing word
(From yocto-docs rev: 0d746a5665eb23ba12ff79d331fa3aaccf15c136)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 11:03:36 +00:00
Michael Opdenacker
5b02cfb3e7 manuals: replace unnecessary uses of 'yocto_docs' by internal references
These :yocto_docs: references were making external references
to another section of the manual, using the https://docs.yoctoproject.org
website. It's actually better to use internal references (:doc: for an
entire document, and :ref: for a specific section, as they will cause
an error in Sphinx if one day they are no longer valid.

(From yocto-docs rev: 0beff9dea986a2ea4b496180b29a99490416eeeb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 11:03:36 +00:00
Michael Opdenacker
76eae50370 profile-manual: update WireShark hyperlinks
(From yocto-docs rev: abade2a744cd653f2f1ad90582a25caa96643a4e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 11:03:36 +00:00
Michael Opdenacker
00591a06ce ref-manual: variables.rst: fix broken hyperlink
(From yocto-docs rev: 048db4183ff314e1c6b51be4dc10f0dbc2aa8401)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 11:03:36 +00:00
Lee Chee Yang
f59eda358d migration-guides: add release-notes for 4.0.7
(From yocto-docs rev: 524be3370a2286861eac76981c23e6c3e0c95cbc)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Takayasu Ito <ito@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 11:03:36 +00:00
Ulrich Ölmann
ba0be66d39 dev-manual: fix old override syntax
(From yocto-docs rev: d578d6e09466dee26d30ccef5fdb3ce9b0d350f7)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 11:03:36 +00:00
Richard Leitner
d792b4f721 ref-manual: variables: FIT_KERNEL_COMP_ALG: add lzo
OE-Core rev f1257d61b76d027d4ece734439993b6bf4e48907 introduced support
for using lzo as compression algorithm for fitImage contained kernel
images.
This patch adds the corresponding documentation to FIT_KERNEL_COMP_ALG
and FIT_KERNEL_COMP_ALG_EXTENSION.

(From yocto-docs rev: aba0ab326ea72ff10492e73b452b51d1beaa50d6)

Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 11:03:36 +00:00
Michael Opdenacker
004b65c88b migration-guides/migration-4.2.rst: fix minor issues
- Underline fix
- Spacing fixes in bullet lists. Our standard
  is to use two spaces after "-", and a bullet
  list is supposed to be preceded by an empty line
  to be recognized.

(From yocto-docs rev: f3c5e92b28fff1fb7cb7884e5757e05124f04805)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 11:03:36 +00:00
Mikko Rapeli
9437c73905 oeqa qemurunner.py: try to avoid reading one character at a time
Read from serial console with a small delay to bundle data to e.g.
full lines. Reading one character at a time is not needed and causes
busy looping.

(From OE-Core rev: 0049f6757f6f956fb4cc77b3df6a672c20b53cf4)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 09:25:44 +00:00
Mikko Rapeli
18bcccc8f8 oeqa qemurunner.py: add timeout to QMP calls
When a qemu machine hangs, the QMP calls can hang for ever
too, and when this happens any failing test commands from ssh
runner may be followed by dump_monitor() calls which
then also hang. Hangs followed by hangs.

Use runqemutime at setup and run_monitor() specific timeout
for later calls.

(From OE-Core rev: 3a07bdf77dc6ecbf4c620b051dd032abaaf1e4ff)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 09:25:44 +00:00
Mikko Rapeli
d61df4b220 oeqa qemurunner: read more data at a time from serial
Use a short sleep to bundle serial console reads so that
we are not reading one character at a time which reduces busy
looping.

(From OE-Core rev: cafe65d8cf7544edbd387f7f5f6d77c64c6b18fa)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 09:25:44 +00:00
Mikko Rapeli
49da864246 oeqa dump.py: add error counter and stop after 5 failures
If test target qemu machine hangs completely, dump_target() calls
over serial console are taking a long time to time out, possibly
for every failing ssh command execution and a lot of test cases,
and same with dump_monitor().

Instead of trying for ever, count errors and after 5 stop trying
to dump_target() and dump_monitor() completely.

These help to end testing earlier when a test target is completely
deadlocked and all ssh, serial and QMP communication with it are
failing.

(From OE-Core rev: d9ad0a055abba983c6cee1dca4d2f0a8a3c48782)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 09:25:44 +00:00
Mikko Rapeli
a0ccfba547 oeqa ssh.py: add connection keep alive options to ssh client
Configure ssh client to test that connection with server is up.
If the server does not respond within a minute then the connection,
target machine or sshd daemon are stuck and it's better to exit
the command execution with errors.

Some tests can execute a long time without returning stdout/stderror
data and it's difficult to adjust timers for those cases if
connection to target machine or the target machine itself hangs
and output is not expected in minutes or even hours.

(From OE-Core rev: ba68ff04c5786eca7cd8dd44056705867dea8ac4)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 09:25:44 +00:00
Mikko Rapeli
487cb16119 oeqa ssh.py: move output prints to new line
The output from is garbled otherwise and it's not
easy to remove debug output form real command output on target.

(From OE-Core rev: 917a70cbc43ac1c70c477b220c4115735457ef04)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 09:25:44 +00:00
Yi Zhao
863d2bcf0e glibc: unify wordsize.h between arm and aarch64
There is a redundant change in
0016-wordsize.h-Unify-the-header-between-arm-and-aarch64.patch that
causes wordsize.h to be different in arm and aarch64. This causes the
build error when enable multilib:

Error: Transaction test error:
  file /usr/include/bits/wordsize.h conflicts between attempted installs of lib32-libc6-dev-2.37-r0.armv7vet2hf_vfp and libc6-dev-2.37-r0.cortexa57

(From OE-Core rev: 303bb3b735da434eb135ee857c2c49c55da61918)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 09:25:44 +00:00
yanxk
456a61c0f8 cpio: Add ptest support
Add ptest function for oss 'cpio'.

Tis test takes less than 1 second with kvm enabled, so it is a fast test.

autotest files would contain TMPDIR, they are removed from script files
atconfig and atlocal.

(From OE-Core rev: 9661e76aa1ea89b3dcc24a4d69fa7e6161873d7f)

Signed-off-by: yanxk <yanxk.fnst@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 09:25:44 +00:00
Peter Kjellerstedt
8a1e91934e devshell: Do not add scripts/git-intercept to PATH
The use of scripts/git-intercept was introduced in commit 3266c327df
(install/devshell: Introduce git intercept script due to fakeroot
issues) and later reverted in commit af27c81eaf (scripts: Make git
intercept global).

(From OE-Core rev: f6c260c8e2a33e282a35afc99de4ef8cc1791b08)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 09:25:44 +00:00
George Kelly
aa6cd06a9f bitbake: fetch2: Add NODE_EXTRA_CA_CERTS to export list
If you are behind a corporate proxy, the npm fetcher uses
the proxy IP address already passed in the list of exports.
However, it will error if the proxy injects its own root
CA certificate. Thus, the NODE_EXTRA_CA_CERTS environment
variable must be passed so the user can include their
company's root CA as a trusted CA inside node's
certificate store.

(Bitbake rev: 5daecc25a59ce5bf6c31f5085e6caa7cb543517e)

Signed-off-by: George Kelly <george.kelly1097@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 10:00:31 +00:00
Khem Raj
e911d154ce lttng-tools: Update LFS64 patch with upstream feedback
See https://review.lttng.org/c/lttng-tools/+/9268

(From OE-Core rev: 515ce47f62d34daababb65d206bdae8c4e1e548f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Jan Luebbe
0f1af550ef systemd: add PACKAGECONFIG for pstore
pstore is used to collect crash logs in the journal after a crash. As it
needs a correctly configured kernel, it's not always enabled. Add a
PACKAGECONFIG to enable it when needed.

(From OE-Core rev: 350d8677c4f7b6ff7604bff6b2f4ab7f1b9ec422)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Chen Qi
4e7394ffef ffmpeg: fix configure failure on noexec /tmp host
The configure scripts uses /tmp to execute some generated files.
If /tmp is noexec, then we meet the following error.

  | Unable to create and execute files in /tmp.  Set the TMPDIR environment
  | variable to another directory and make sure that it is not mounted noexec.
  | Sanity test failed.

(From OE-Core rev: 6099b88c4decb285fd3519d5565909c15d935030)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
3e2ef40f40 python3-pathspec: upgrade 0.10.3 -> 0.11.0
(From OE-Core rev: 7d7821cdb98570b5a2ad82fbb1b81a435159412c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
5ecb64f893 libgit2: upgrade 1.5.0 -> 1.5.1
(From OE-Core rev: f59486310cf33c586671a16cf52862c19c3c4c31)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
eefbbe5d93 stress-ng: upgrade 0.15.02 -> 0.15.03
(From OE-Core rev: b62843c91eb3c9cd79c62ce2e2b16c717cbbd9a0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
050f571035 texinfo: upgrade 7.0.1 -> 7.0.2
(From OE-Core rev: 5f7a5387a4340fcf5b79a9201a538ea039249afc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
7770bfcc80 diffoscope: upgrade 230 -> 234
(From OE-Core rev: a86d9629f95a1445740462e7466679fef6ab2f3f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
5e509494df sudo: upgrade 1.9.12p1 -> 1.9.12p2
(From OE-Core rev: 5a3f5f4f607f5e06af772287109b68579154fb2f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
47a8192617 libinput: upgrade 1.22.0 -> 1.22.1
(From OE-Core rev: e60282399da3441aabf367a900d98722d37b310d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
fe7fcc983a linux-firmware: upgrade 20221214 -> 20230117
License-Update: additional firmwares, copyright years

(From OE-Core rev: fdb8c12fc71b4a985372f5d02ce59a1402c14c4a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
abc6c7fc1a ltp: upgrade 20220930 -> 20230127
(From OE-Core rev: 536be6a0041a8a5add8ef7f7195d3bee677246c3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
0f27bd7615 piglit: upgrade to latest revision
(From OE-Core rev: 00ed55611965fb5e305f51c21270f0bc1b60cbe4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
44d6a427c4 sysstat: upgrade 12.6.1 -> 12.6.2
(From OE-Core rev: 059b930a54ce85eddf06c49f36ec575eb5479cf5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
d1625bcdff shaderc: upgrade 2022.4 -> 2023.2
(From OE-Core rev: 286a71e04a40a340e55b49a2d3c92e80567a4e29)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
73419d5a92 dpkg: upgrade 1.21.18 -> 1.21.19
(From OE-Core rev: ee2e6df77028288cb7b6aecbf75e4426ec4edb41)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
3f836755ce puzzles: upgrade to latest revision
License-Update: copyright years

(From OE-Core rev: dda7af8d8dd882baf8395c554229622e8f8c0e03)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
d70605836b llvm: upgrade 15.0.6 -> 15.0.7
(From OE-Core rev: 7438f9a9efaf0826f1be13acbc51f0a1134cf175)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
090ae55e59 python3-dtschema: upgrade 2022.12 -> 2023.1
(From OE-Core rev: 30fcfefe66b4e7b48eeb80997e68e7dadfb1c94f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
4f9417f592 python3-pycryptodome: upgrade 3.16.0 -> 3.17
(From OE-Core rev: f1bcadd3ab11f6b64d21805ba299391c9711e3ba)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
b95d1edb79 pkgconf: upgrade 1.9.3 -> 1.9.4
(From OE-Core rev: ea19dd90b367eda92aa01bc5131d126ed6d22280)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
80e1f5a8a4 libjpeg-turbo: upgrade 2.1.4 -> 2.1.5
(From OE-Core rev: f779689c2c766b609be31222d71110c1a15145a8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
819c5611ed bind: upgrade 9.18.10 -> 9.18.11
License-update: copyright years

(From OE-Core rev: 63e8a8952c3d1b3b5c481be6bba52a3f4d65648e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
33ad198346 python3-pycryptodomex: upgrade 3.16.0 -> 3.17
(From OE-Core rev: b9d8e8a39c0c0f3fb9fb07c4d0f25eb4e7c941a9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
d81967c623 mpg123: upgrade 1.31.1 -> 1.31.2
(From OE-Core rev: 2e365f600a8b4ee161bdfabd39ac323ec7205cce)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
3c1501a539 ncurses: upgrade 6.3+20220423 -> 6.4
(From OE-Core rev: b0d653b443c68b8d254e52790da76496e8f16a7b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
afd2d02bfc fontconfig: upgrade 2.14.1 -> 2.14.2
License-update: remove fccache.c as all licenses are collected in COPYING.

fcache.c used to contain a public domain notice of md5
implementation in the middle of itself, but that too has moved
to COPYING.

(From OE-Core rev: 1a4b8736a8c6317b47156ec3d81776793a97939b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
665b76e383 rng-tools: upgrade 6.15 -> 6.16
Adjust dependencies to match what is optional and what is not.

(From OE-Core rev: 42a42fe0ded83ffc6268f4db972f5c9e549f62a1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
6e4407b6f3 libxpm: upgrade 3.5.14 -> 3.5.15
License-update: additional copyright holders

Disable reading compressed files as that requires compress/uncompress executables.

(From OE-Core rev: 7de40846346861bd91d409403a778130fb813819)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
768fced491 spirv-headers: upgrade 1.3.236.0 -> 1.3.239.0
(From OE-Core rev: e3c74be51399071db4004d18b6cac71f58650a10)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
fe91d459fb glslang: upgrade 1.3.236.0 -> 1.3.239.0
(From OE-Core rev: 7277bb4ca59a8f8e8bf1225578a9ad513c5239ba)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
387f83abe1 spirv-tools: upgrade 1.3.236.0 -> 1.3.239.0
(From OE-Core rev: 14182524c1f78111788f69c8efc2b5f324554bcd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
8363e13b40 vulkan-tools: upgrade 1.3.236.0 -> 1.3.239.0
(From OE-Core rev: 8fa8e5b2de041b8e437fe8f36f6b051148580e3c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
4bb073f289 vulkan-loader: upgrade 1.3.236.0 -> 1.3.239.0
(From OE-Core rev: a5f58a0eb8688b550fe33ec33389af29b348d037)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
eb0839d986 vulkan-headers: upgrade 1.3.236.0 -> 1.3.239.0
/usr/share/vulkan/registry/stripAPI.py is a python script,
so add that to RDEPENDS.

(From OE-Core rev: 1d9963cff2cad7bdcd406f4ce5f89317a4ab8cae)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
8d9f63edc1 igt-gpu-tools: upgrade 1.26 -> 1.27.1
/usr/bin/code_cov_parse_info is written in perl, so that's a new RDEPENDS.

(From OE-Core rev: 31e5e37987e43ce2691a00763538d6061ceadf28)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
aef302222a lsof: upgrade 4.96.5 -> 4.98.0
License-update: switch to a dedicated license file; the license terms are the same.

(From OE-Core rev: b505414862f80bc835ebba005a76c4428a657478)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
7573d38c01 lighttpd: upgrade 1.4.67 -> 1.4.68
Rename options where appropriate. pcre option supports pcre2 now, so convert to that.

(From OE-Core rev: 7da38c6bdce5692b1c0b24c7d7694123b5329588)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
eef933b7de python3-setuptools: update 65.7.0 -> 67.2.0
Remove patch as file deleted upstream.

(From OE-Core rev: c335d0673167164aa7c519450f63151e4492e3eb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
1663f59b57 cmake: upgrade 3.25.1 -> 3.25.2
(From OE-Core rev: 890cc2184384a6f4daf9d22390bd825f7c1bf6c7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
2f97fb7ebc systemd: update 252.4 -> 252.5
(From OE-Core rev: b44b7a0d7baa3ed5c71d2f873aa095cff6234c6b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
a1b9397036 glib-2.0: upgrade 2.74.4 -> 2.74.5
(From OE-Core rev: b973a2e283c5430caa98a603b42d9edf48e70f41)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
90c7540083 apr-util: update 1.6.1 -> 1.6.3
Drop backport.

(From OE-Core rev: dca707f9fecc805503e17f6db3e4c88069ac0125)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
bc40185f16 apr: update 1.7.0 -> 1.7.2
Dropped patches have all been merged, addressed separately or are backports.

(From OE-Core rev: 3ffae93f24bb1e3954b232099153fd059cfd7daf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
a6b1a24bc7 rt-tests: update 2.4 -> 2.5
(From OE-Core rev: 167564cf420be9e218c74ec3541a27c9c6cb2898)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
6036baf811 lttng-tools: update 2.13.8 -> 2.13.9
Drop determinism.patch as issue resolved upstream via linked ticket.

(From OE-Core rev: cd9e72a390efb778a6278e2e6c9604ab29d6feb9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
372be4753e xf86-video-vmware: update 13.3.0 -> 13.4.0
Remove 0002-add-option-for-vmwgfx.patch; the original reason has been long resolved:

    Our Mesa doesn't yet ship the XA Gallium state tracker that the VMWGFX
    sub-driver needs, so just disable vmwgfx.

(From OE-Core rev: 04ee687c93b305275d4675133d125448af011d54)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
c4f80179ca mc: update 4.8.28 -> 4.8.29
(From OE-Core rev: 46701b356d5d0e5ebe1aa7544a02b28a0fb0c035)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
e0ea87498d diffutils: update 3.8 -> 3.9
Drop patch as issue fixed upstream.

(From OE-Core rev: e5ec5de7217de28bccf3243496df6b41ca8a1d0b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
1ab438d7d3 python3-pip: update 22.3.1 -> 23.0
License-Update: formatting, pep517 replaced by pyproject_hooks with same license.

(From OE-Core rev: 3f17ba75954bb71f0b8a19f007ebd0344d3faf74)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
c09f2bf51b ifupdown: update 0.8.39 -> 0.8.41
Do not apply patch conditionally, there is no need for that,
and conditional patches are problematic with upgrades and devtool.

(From OE-Core rev: 689e5c83cabe07dd60fdb3856c102c99fc3cbd7d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Ulrich Ölmann
184308335e update-alternatives: fix typos
(From OE-Core rev: d3ca05b072c152b76a86edaaddebabdef312ea95)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Mauro Queiros
50bfef5358 image.bbclass: print all QA functions exceptions
For the QA checks in `image.bbclass`, all exceptions
other than `oe.utils.ImageQAFailed` always print the
following generic message:
"Image QA function func_name failed"

This can be very misleading, as it may hide
python syntax errors and other kind of issues that are
hard to detect without more explicit error messages.

This change makes sure that the error message of all
exceptions are displayed.

Before this change:
 "Image QA function func_name failed"

After this change:
 "Image QA function func_name failed: f-string: empty expression not allowed (<string>, line 13)"

(From OE-Core rev: 3d85b30d8704d38b86f5b006748cebc74bd2a4fa)

Signed-off-by: Mauro Queiros <maurofrqueiros@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Wang Mingyu
d49d6fe004 msmtp: upgrade 1.8.22 -> 1.8.23
The msmtpq script was updated.

(From OE-Core rev: 2f9c297528bd5ded9b760e7fdfc913d23babcbae)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Wang Mingyu
9b5648ad17 btrfs-tools: upgrade 6.1.2 -> 6.1.3
Changelog:
=========
* fi mkswapfile: fix setting size
* mkfs: check zoned support of libblkid
* check: improve error messages for mismatched references
* other:
   * pass CFLAGS to static build
   * documentation updates

(From OE-Core rev: bed7aa5e947744ee8d1d53de7f3fbfe2d3be7033)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Mikko Rapeli
75b70b6257 oeqa context.py: fix --target-ip comment to include ssh port number
Providing ssh port number is supported too with
"--target-ip 192.168.0.10:22".

(From OE-Core rev: 637919b9df0abc06da5b2f9b389cf25376bd6b7c)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Ulrich Ölmann
95e9a652bf lsof: fix old override syntax
(From OE-Core rev: 052f767f85eddab9b6e5d78268d2732f4a65d446)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Ulrich Ölmann
6aef6d8ccf recipe_sanity: fix old override syntax
(From OE-Core rev: 18eeea6fcd8ade49390a978134f51646da2f7764)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Michael Halstead
b61e0002c1 uninative: Upgrade to 3.9 to include glibc 2.37
Update uninative to work with the new glibc 2.37.

(From OE-Core rev: 360971a6ba562fa0b29bd062b96ede2d3a47fa2e)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Pavel Zhukov
daddc695fc bitbake.conf: Add mercurial to HOSTTOOLS_NONFATAL
(From OE-Core rev: 8cf72a195961081d83ec049021c3a9bdf920fa57)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Harald Seiler
0800b8fff1 bootchart2: Fix usrmerge support
bootchart2 introduced a variable EARLY_PREFIX for supporting systems
with usrmerge [1].  Right now, the recipe here is sidestepping this
feature and trying to replicate it by overwriting other variables and
even patching the sources.  This wasn't enough, however, as there are
still problems:  For example, some setup code in the bootchart-collector
fails because it expects EARLY_PREFIX to be used [2].

Cleanup the recipe to set EARLY_PREFIX and remove the other workarounds.

[1]: 56a638ace1
[2]: 3d2136d033/collector/collector.c (L670-L672)

Fixes: 4157600d31 ("bootchart2: switch to add patch from change source in do_install")
(From OE-Core rev: 7031bc65b10040877392ed774a0cdddef85c12e0)

Signed-off-by: Harald Seiler <hws@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Markus Volk
30dccfb1b0 ell: update 0.55 -> 0.56
Needed by iwd 2.3

(From OE-Core rev: 8f5af6de0d4e72d4efa5be8f85de62214acf4ae8)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Tim Orling
4577e76df8 python3-sphinx: upgrade 6.0.0 -> 6.1.3
License-Update: Update copyright years

https://www.sphinx-doc.org/en/master/changes.html#release-6-1-3-released-jan-10-2023
https://www.sphinx-doc.org/en/master/changes.html#release-6-1-2-released-jan-07-2023
https://www.sphinx-doc.org/en/master/changes.html#release-6-1-1-released-jan-05-2023
https://www.sphinx-doc.org/en/master/changes.html#release-6-1-0-released-jan-05-2023
https://www.sphinx-doc.org/en/master/changes.html#release-6-0-1-released-jan-05-2023

(From OE-Core rev: a899974bfd4dd62ae8e89ab5bfc493d8ee706186)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Markus Volk
2cc05cd5b3 mesa: add PACKAGECONFIG for video-codecs
'mesa' no longer provides support for it by default because these codecs are
patent encumbered.

Hide the build behind the commercial flag

(From OE-Core rev: 8a928ca5279b6836df9ae1cf9d878c3ee0fa63eb)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:00 +00:00
Richard Purdie
c00e3de18f valgrind: Workaround glibc upgrade
The glibc upgrade regresses one of the valgrind tests. Disable it
until we can resolve that.

(From OE-Core rev: 6c979f3941d047670e3ce1c86815b12706254d50)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-05 20:47:30 +00:00
Khem Raj
df58350c79 glibc: Upgrade to 2.37 release
Details are here [1] and summary of changes is here [2]

[1] https://sourceware.org/glibc/wiki/Release/2.37
[2] https://sourceware.org/pipermail/libc-announce/2023/000035.html

(From OE-Core rev: 1bba40755c8432bc654d1faa209727a6d68d9ba5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-05 20:47:30 +00:00
Etienne Cordonnier
edb60ef6fd bitbake: siggen: Fix inefficient string concatenation
As discussed in https://stackoverflow.com/a/4435752/1710392 , CPython
has an optimization for statements in the form "a = a + b" or "a += b".
It seems that this line does not get optimized, because it has a form a = a + b + c:
data = data + "./" + f.split("/./")[1]

For that reason, it does a copy of data for each iteration, potentially copying megabytes
of data for each iteration.

Changing this line causes SignatureGeneratorBasic::get_taskhash to take 0.06 seconds
instead of 45 seconds on my test setup where SRC_URI points to a big directory.

Note that PEP8 recommends explicitely not to use this optimization which is specific to CPython:
"do not rely on CPython’s efficient implementation of in-place string concatenation for statements in the form a += b or a = a + b"

However, the PEP8 recommended form using "join()" also does not avoid the copy and takes 45 seconds in my test setup:
data = ''.join((data, "./", f.split("/./")[1]))

I have changed the other lines to also use += for consistency only, however those were in the form a = a + b
and were optimized already.

Co-authored-by: JJ Robertson <jrobertson@snap.com>
(Bitbake rev: 195750f2ca355e29d51219c58ecb2c1d83692717)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:03:15 +00:00
Michael Opdenacker
de41e1737b bitbake: bitbake-user-manual: show how use BB_LOGCONFIG to log warnings
(Bitbake rev: 22be2dbd8e70322239f70e53ace2a552425e3665)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:03:15 +00:00
Pedro Baptista
940cee8422 bitbake: bblayers/query: Adjust show-layers output layout
Increase the `ljust` value for each column in show-layers
output. This improves readability  when long layer paths are
included

(Bitbake rev: a56cd53e0e67a368acace9dab184bd94b9b67b1b)

Signed-off-by: Pedro Baptista <pedro.miguel.baptista@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:03:15 +00:00
Pedro Baptista
9724df2861 bitbake: bblayers/query: Replace layer directory name with layer name for show-layers
Replace the layer directory name with the name from BBFILE_COLLECTIONS
which is useful when assigning a LAYERDEPENDS value

(Bitbake rev: 517cc3f5aee2a7d6362ce0202d4ee709a5378096)

Signed-off-by: Pedro Baptista <pedro.miguel.baptista@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:03:15 +00:00
Richard Purdie
8e035db1e5 oeqa/selftest/locales: Add test for disabled binary locale generation
Similarly to the recently added test for binary generated locales, add
a version to test on target locale generation. This was broken but should
be fixed now so we can add the test sharing code from the previous test.

(From OE-Core rev: 50a29c167eb9fe9fa96aa53a379ae7597cefd1cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Richard Purdie
1d8e6b0f98 libc-locale: Fix on target locale generation
If on target locale generation is used, it fails at first boot showing
errors about a missing directory. Ensure the directory exists.

(From OE-Core rev: f2844c9f1bbb729562063d96a3d1cc9d44dafa0a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Richard Purdie
3ff392fb58 perf: Enable debug/source packaging
This was disabled in 2014[1] due to an error message which as far
as I can tell, no longer occurs.

Having debug information and source files present will make debugging
reproducibility issues much easier so remove this line as it appears
no longer needed.

Fix up a few files which have buildpaths in them to avoid QA warnings
and reproducubility issues.

[1] OE-Core revision c1b5a262c0201faf2c6bf545d6acb32dfe383ba3

(From OE-Core rev: 95983108121c8b96f5659d110498bf2afc6189d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Arnout Vandecappelle
7f670cf2d9 python3-pytest: Remove dependency on python3-toml
Since version 7.2.0 [1], pytest uses the "batteries included" tomllib
module for parsing pyproject.toml configuration files [2]. It is
therefore no longer necessary to have python3-toml in RDEPENDS.

[1] https://docs.pytest.org/en/latest/changelog.html#pytest-7-2-0-2022-10-23
[2] https://github.com/pytest-dev/pytest/pull/9741

(From OE-Core rev: c84214ac5a55c5256843365b0108d1392282fced)

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Khem Raj
fb0b2cf772 scons.bbclass: Make MAXLINELENGTH overridable
older scons do not support MAXLINELENGTH and some packages still may be
using older scons, these recipes can clear SCONS_MAXLINELENGTH in them
and get going. Set

SCONS_MAXLINELENGTH = ""

in such recipes.

(From OE-Core rev: 34de57d12c0a752f66c962d29e5335c1035db066)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Xiaotian Wu
0890c01d11 uboot: add a loongarch64 entry
(From OE-Core rev: dca95206962a30a92297f943509be1d7b2d0b541)

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Xiaotian Wu
a9eeffbf36 loongarch: disable seccomp from default feature
(From OE-Core rev: e9177bfc647ffd8d0346154c2673562e3585c7ef)

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Xiaotian Wu
2f26104ebc binutils: disable gold on loongarch64
(From OE-Core rev: ea2c3952e28b191459ff6020ba0c6104ab33ee1c)

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Xiaotian Wu
f3889273f5 linux: add loongarch64 support
(From OE-Core rev: 103993845bb8efa3a17df4585b248d775795ac4f)

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Xiaotian Wu
324b03e15f base: add support for loongarch64
(From OE-Core rev: 759baaceb4dd623d5da12ba0d01540fa080154ba)

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
69b8b7ef1b python3-urllib3: upgrade 1.26.13 -> 1.26.14
https://github.com/urllib3/urllib3/blob/1.26.14/CHANGES.rst#12614-2023-01-11

1.26.14 (2023-01-11)
    Fixed parsing of port 0 (zero) returning None, instead of 0. (#2850)
    Removed deprecated getheaders() calls in contrib module.

(From OE-Core rev: 55ab1bf20e6893088acb6460e9004dac8e205559)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
5cba8c7e74 python3-wcwidth: upgrade 0.2.5 -> 0.2.6
https://github.com/jquast/wcwidth#history

0.2.6 2023-01-14
  * Updated tables to include Unicode Specification 14.0.0 and 15.0.0.
  * Changed developer tools to use pip-compile, and to use jinja2
    templates for code generation in bin/update-tables.py to prepare
    for possible compiler optimization release.

(From OE-Core rev: 0c09ede1fad284b8efd3b6ff3102d8dbb7efb5f4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
2df069c725 python3-pyopenssl: upgrade 22.1.0 -> 23.0.0
https://www.pyopenssl.org/en/23.0.0/changelog.html

23.0.0 (2023-01-01)

Changes:
    Add OpenSSL.SSL.X509StoreFlags.PARTIAL_CHAIN constant to allow for users
    to perform certificate verification on partial certificate chains. #1166

    cryptography maximum version has been increased to 39.0.x.

(From OE-Core rev: 7fbe1365ad8e0562974d171a1d71e28313bc80ea)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
db641f8ef9 python3-sphinxcontrib-htmlhelp: 2.0.0 -> 2.0.1
* inherit python_setuptools_build_meta

https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/blob/master/CHANGES

Release 2.0.1 (2023-01-31)
==========================

* Drop support for Python 3.7 and lower
* Fix deprecation warnings from Sphinx 6.1

(From OE-Core rev: 18dc8d7ab54b96070b38c9ed96ea5ccdbe882572)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
be78ee165c python3-sphinxcontrib-applehelp: 1.0.3 -> 1.0.4
* Tarball name changed so we can drop custom PYPI_PACKAGE
* Switched back from flit to setuptools
* inherit python_setuptools_build_meta instead of python3_flit_core

https://github.com/sphinx-doc/sphinxcontrib-applehelp/commits/1.0.4

(From OE-Core rev: 9dfff4c89e75435cc08338059e89ee6e421d4513)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
f82d12e552 python3-requests: upgrade 2.28.1 -> 2.28.2
https://requests.readthedocs.io/en/latest/community/updates/#release-history

2.28.2 (2023-01-12)

Dependencies
    Requests now supports charset_normalizer 3.x. (#6261)

Bugfixes
    Updated MissingSchema exception to suggest https scheme rather than
    http. (#6188)

(From OE-Core rev: 09a0a940197fc9c4fdd717aec8cd87b3db1345bb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
139a9b3a46 python3-zipp: upgrade 3.11.0 -> 3.12.0
https://github.com/jaraco/zipp/blob/main/CHANGES.rst#v3120

v3.12.0
    gh-101144: Honor encoding as positional parameter to Path.open() and
               Path.read_text().

(From OE-Core rev: c9d4362f1bebe220615c79288404f194a444326d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
11651cc445 python3-pytz: upgrade 2022.7 -> 2022.7.1
https://github.com/stub42/pytz/commits/release_2022.7.1

(From OE-Core rev: bc67be63a5af3f86df412b23f8e25017d4ffaf32)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
ca68fc1544 python3-iniconfig: upgrade 1.1.1 -> 2.0.0
* Switch to hatchling build-backend
* inherit python_hatchling instead of python_setuptools_build_meta
* DEPENDS on python3-hatch-vcs-native instead of python3-setuptools-scm-native

2.0.0
======

* add support for Python 3.7-3.11
* drop support for Python 2.6-3.6
* add encoding argument defaulting to utf-8
* inline and clarify type annotations
* move parsing code from inline to extra file
* add typing overloads for helper methods

.. note::

  major release due to the major changes in python versions supported
  + changes in packaging the api is expected to be compatible

(From OE-Core rev: 93a5c6a8a07bb8204337e6e0797bc67cf0ab6160)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
7aeaa14558 python3-poetry-core: upgrade 1.4.0 -> 1.5.0
* Drop deterministic.patch; merged https://github.com/python-poetry/poetry-core/pull/545
* Drop vendored pyparsing LICENSE; no longer vendored

https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md#150---2023-01-27

(From OE-Core rev: 32921155acf776c91ee2fb002660b419512f0932)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
e958163345 python3-hypothesis: upgrade 6.62.0 -> 6.66.0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-66-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-65-2
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-65-1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-65-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-64-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-63-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-62-1

(From OE-Core rev: 7f251b86c56cdfb2f6f95ecc6e3c8c3db75686b0)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:10 +00:00
Tim Orling
94ac339b91 python3-pytest: upgrade 7.2.0 -> 7.2.1
https://docs.pytest.org/en/stable/changelog.html#pytest-7-2-1-2023-01-13

pytest 7.2.1 (2023-01-13)

Bug Fixes
    #10452: Fix ‘importlib.abc.TraversableResources’ deprecation warning in
            Python 3.12.
    #10457: If a test is skipped from inside a fixture, the test summary now
            shows the test location instead of the fixture location.
    #10506: Fix bug where sometimes pytest would use the file system root
            directory as rootdir on Windows.
    #10607: Fix a race condition when creating junitxml reports, which could
            occur when multiple instances of pytest execute in parallel.
    #10641: Fix a race condition when creating or updating the stepwise
            plugin’s cache, which could occur when multiple xdist worker
            nodes try to simultaneously update the stepwise plugin’s cache.

(From OE-Core rev: f5e3d3104b441d7e2586d5450390a829ef91a5a4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:09 +00:00
Tim Orling
d663b2b57b libtest-needs-perl: upgrade 0.002009 -> 0.002010
0.002010 - 2023-01-22
  - split main test into three separate scripts
  - avoid outputting multiple plans if used with no_plan

(From OE-Core rev: 25cbcfe53fc921d856586c76b563016b8756374e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 17:02:09 +00:00
Richard Purdie
063bdffc04 perf: Fix 6.1 kernel reproducibility issue
The pmu-events.c file is generated by a python script making os.scandir()
calls. The return value is "order on disk" which can cary between machines.

Add in a sed to fix the perf source to sort this data which makes
the pmu-events.c file deterministic.

We should try and upstream this change but we'll need to sed for varying
kernel versions. We should also try and get the perf source being added
to the perf-devsrc package so when failures like this occur, diffoscope
is much more helpful!

(From OE-Core rev: d2c27ae5c0d06363d2f0a2a8eb4e8e492df58444)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-03 16:52:15 +00:00
Alejandro Hernandez Samaniego
61c35514cf testimage: Fix error message to reflect new syntax
(From OE-Core rev: ec73d19d78e8f30ff9b817490c23bcdf8ea47c86)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 10:27:30 +00:00
Tobias Hagelborn
4b85b09213 sstate.bbclass: Fetch non-existing local .sig files if needed
For the case of a global shared state cache and a local sstate cache
with a mix of signed and un-signed entries, there is a case where
a .sig is missing locally, but may exist in the global sstate cache.

For this case, do not just fail sstate fetch, but rather backfill
the .sig file from the global sstate cache.

If this case is detected, re-run the fetch operation to get the
global .sig file (if it exists).

(From OE-Core rev: d5ea1a5396bf9fd4303cae46bc0e042be8de8d67)

Signed-off-by: Tobias Hagelborn <tobias.hagelborn@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 10:27:30 +00:00
Alex Kiernan
c79127dcb1 rust: Add update_snapshot task to generate rust-snapshot.inc
Everything we need for `rust-snapshot.inc` exists in `src/stage0.json`,
so just read that to generate it.

(From OE-Core rev: a07008da8b02165d271a457e4c215f35cb15b94c)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 10:27:30 +00:00
Martin Jansa
96c1056229 xinetd: move xconv.pl script to separate package
* most xinetd users probably don't need this nowadays and it
  pulls perl into the images

(From OE-Core rev: 00078ec396ff53aae71037ce7d9950afbf744454)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 10:27:30 +00:00
Louis Rannou
912977a373 oeqa/selftest/locales: Add selftest for locale generation/presence
[YOCTO #9070]

Add a new selftest to validate locale generation. This selftest builds a
complete target with GLIBC_GENERATE_LOCALES, IMAGE_LINGUAS,
ENABLE_BINARY_LOCALE_GENERATION set.

(From OE-Core rev: 53258fd810bea6475af9f908f7b712a13a02b628)

Signed-off-by: Louis Rannou <lrannou@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:52:52 +00:00
Ravineet Singh
a08c791bae gnutls: add ptest support
Add gnutls unit-tests into ptest. Only self-contained
tests (no external file system dependencies) are included.

Some tests have been put in a disallow list in the run-ptest;
these tests either require additional files (certificates) or
environment setup prior to being run, via wrapper shell script.
As autotools packages are built out-of-tree, it is cumbersome
to add additional files. With regards to tests requiring wrapper
scripts, it is possible to add logic to run these tests under
run-ptests but that will require more effort to maintain, hence
skipped.

Verified via:
$ runqemu qemux86-64 kvm nographic serial qemuparams='-m 4096 -smp 32'
root@qemux86-64:~# ptest-runner gnutls
START: ptest-runner
BEGIN: /usr/lib64/gnutls/ptest
PASS: aead-cipher-vec
PASS: alerts
PASS: anti_replay
...
gnutls test summary:
--------------------
total: 375
pass : 364
fail : 0
skip : 11

DURATION: 184
END: /usr/lib64/gnutls/ptest
2023-02-01T13:55
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 6061df3084b991ba4a54a3dca5dadda97e2364ac)

Signed-off-by: Ravineet Singh <ravineet.a.singh@est.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:51:00 +00:00
Richard Purdie
729c16b00e python3-markupsafe: upgrade 2.1.1 -> 2.1.2
(From OE-Core rev: 4fe7ecb620ae5d1c94bdc6e17e86e318213fc0ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
Changqing Li
b2b53798f3 apt: fix do_package_qa failure
bitbake nativesdk-apt failed with error:
ERROR: nativesdk-apt-2.4.5-r0 do_package_qa: QA Issue: nativesdk-apt installs files in /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/var/volatile, but it is expected to be empty [empty-dirs]

an empty dir apt is installed under /var/log/, fix the failure
by removing the empty dir apt as what we have done for target.
apt will create it when it does not exist.

(From OE-Core rev: 5b035a59d7915da784f1e6678ee130f30d7ceb8a)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
Martin Jansa
94149c4f37 meta: remove True option to getVar and getVarFlag calls (again)
* True is default since 2016 and most layers were already updated
  not to pass this parameter where not necessary, e.g. oe-core was
  updated couple times, first in:
  https://git.openembedded.org/openembedded-core/commit/?id=7c552996597faaee2fbee185b250c0ee30ea3b5f

  Updated with the same regexp as later oe-core update:
  https://git.openembedded.org/openembedded-core/commit/?id=9f551d588693328e4d99d33be94f26684eafcaba

  with small modification to replace not only d.getVar, but also data.getVar as in e.g.:
  e.data.getVar('ERR_REPORT_USERNAME', True)

  and for getVarFlag:
  sed -e 's|\(d\.getVarFlag \?\)( \?\([^,()]*, \?[^,()]*\), \?True)|\1(\2)|g' \
      -i $(git grep -E 'getVarFlag ?\( ?([^,()]*), ?([^,()]*), ?True\)' \
          | cut -d':' -f1 \
          | sort -u)

(From OE-Core rev: 26c74fd10614582e177437608908eb43688ab510)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
Bruce Ashfield
8c36e1557f linux-yocto/5.15: update to v5.15.91
Updating  to the latest korg -stable release that comprises
the following commits:

    9cf4111cdf94 Linux 5.15.91
    14cc13e433e1 perf/x86/amd: fix potential integer overflow on shift of a int
    033636b32258 netfilter: conntrack: unify established states for SCTP paths
    0b08201158f1 x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL
    b57740036792 block: fix and cleanup bio_check_ro
    1d152437e46f kbuild: Allow kernel installation packaging to override pkg-config
    a1964688582d cpufreq: governor: Use kobject release() method to free dbs_data
    7c513ced0dec cpufreq: Move to_gov_attr_set() to cpufreq.h
    cf7a08622d2b Revert "Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode"
    53c5d61198c1 tools: gpio: fix -c option of gpio-event-mon
    a7d1a303ff0f treewide: fix up files incorrectly marked executable
    046fe53907c5 net: mdio-mux-meson-g12a: force internal PHY off on mux switch
    86bdccde7842 net/tg3: resolve deadlock in tg3_reset_task() during EEH
    4364bf79d829 thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()
    e69c3a0d9d3d net: mctp: mark socks as dead on unhash, prevent re-add
    954cc215cd7a net: ravb: Fix possible hang if RIS2_QFF1 happen
    0f7218bf0a00 net: ravb: Fix lack of register setting after system resumed for Gen3
    3db4ca2938eb ravb: Rename "no_ptp_cfg_active" and "ptp_cfg_active" variables
    621f296f11cf gpio: mxc: Unlock on error path in mxc_flip_edge()
    071a8392869f nvme: fix passthrough csi check
    614471b7f7cd riscv/kprobe: Fix instruction simulation of JALR
    3391bd42351b sctp: fail if no bound addresses can be used for a given scope
    b0784860e145 net/sched: sch_taprio: do not schedule in taprio_reset()
    d2d3ab1b1de3 netrom: Fix use-after-free of a listening socket.
    9df5ab02c65e netfilter: conntrack: fix vtag checks for ABORT/SHUTDOWN_COMPLETE
    ca3cf947760d ipv4: prevent potential spectre v1 gadget in fib_metrics_match()
    d50e7348b44f ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
    ead06e3449f2 netlink: annotate data races around sk_state
    c4eb423c6b9b netlink: annotate data races around dst_portid and dst_group
    fac9b69a9370 netlink: annotate data races around nlk->portid
    8a13595600f7 netfilter: nft_set_rbtree: skip elements in transaction from garbage collection
    2bf1435fa19d netfilter: nft_set_rbtree: Switch to node list walk for overlap detection
    e481654426b6 drm/i915/selftest: fix intel_selftest_modify_policy argument types
    66689a72ba73 net: fix UaF in netns ops registration error path
    41b74e95f297 netlink: prevent potential spectre v1 gadgets
    2f29d780bd69 i2c: designware: use casting of u64 in clock multiplication to avoid overflow
    b03f7ed9af6e scsi: ufs: core: Fix devfreq deadlocks
    858d7e9218e1 net: mana: Fix IRQ name - add PCI and queue number
    bff5243bd326 EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info
    5eedf4568d34 EDAC/device: Respect any driver-supplied workqueue polling value
    4b7dfd0a6811 ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment
    7807871f28f8 ipv6: fix reachability confirmation with proxy_ndp
    f9a22f6fa187 thermal: intel: int340x: Protect trip temperature from concurrent updates
    036093c08d83 KVM: arm64: GICv4.1: Fix race with doorbell on VPE activation/deactivation
    c56683c0623e KVM: x86/vmx: Do not skip segment attributes if unusable bit is set
    e91308e63710 ovl: fail on invalid uid/gid mapping at copy up
    33a9657d67a4 ksmbd: limit pdu length size according to connection status
    8d83a758ee21 ksmbd: downgrade ndr version error message to debug
    87a7f38a9058 ksmbd: do not sign response to session request for guest login
    4210c3555db4 ksmbd: add max connections parameter
    cc6742b160fa ksmbd: add smbd max io size parameter
    3c8a5648a591 i2c: mv64xxx: Add atomic_xfer method to driver
    e619ab4fb3e9 i2c: mv64xxx: Remove shutdown method from driver
    4b83bc6f87ee cifs: Fix oops due to uncleared server->smbd_conn in reconnect
    89042d3d8542 ftrace/scripts: Update the instructions for ftrace-bisect.sh
    592ba7116fa6 trace_events_hist: add check for return value of 'create_hist_field'
    b0af180514ed tracing: Make sure trace_printk() can output as soon as it can be used
    91135d723388 module: Don't wait for GOING modules
    85ee9919add9 KVM: SVM: fix tsc scaling cache logic
    f0227eca972c scsi: hpsa: Fix allocation size for scsi_host_alloc()
    e5af9a458a13 drm/amdgpu: complete gfxoff allow signal during suspend without delay
    62b9e9f92109 Bluetooth: hci_sync: cancel cmd_timer if hci_open failed
    21998acd31fb exit: Use READ_ONCE() for all oops/warn limit reads
    e82b1598eb2c docs: Fix path paste-o for /sys/kernel/warn_count
    1c51698ad6f6 panic: Expose "warn_count" to sysfs
    0691ddae56cd panic: Introduce warn_limit
    7b98914a6c26 panic: Consolidate open-coded panic_on_warn checks
    fc636b136272 exit: Allow oops_limit to be disabled
    339f8a8e5211 exit: Expose "oops_count" to sysfs
    f80fb0001f11 exit: Put an upper limit on how often we can oops
    2857ce7f475f panic: Separate sysctl logic from CONFIG_SMP
    e156d4dcb036 ia64: make IA64_MCA_RECOVERY bool instead of tristate
    9024f772248e csky: Fix function name in csky_alignment() and die()
    2ea497d153da h8300: Fix build errors from do_exit() to make_task_dead() transition
    a452ca0228bb hexagon: Fix function name in die()
    3b39f47474a2 objtool: Add a missing comma to avoid string concatenation
    39a26d872178 exit: Add and use make_task_dead.
    b5c1acaa43b6 kasan: no need to unset panic_on_warn in end_report()
    b5c967dc6822 ubsan: no need to unset panic_on_warn in ubsan_epilogue()
    e4cd2100324e panic: unset panic_on_warn inside panic()
    191f1f1f6a42 kernel/panic: move panic sysctls to its own file
    654f6e851271 sysctl: add a new register_sysctl_init() interface
    3aa991cde94b fs: reiserfs: remove useless new_opts in reiserfs_remount
    d830531f8fff x86: ACPI: cstate: Optimize C3 entry on AMD CPUs
    1f5476223100 drm/i915: Remove unused variable
    6e1012709320 Revert "selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID"
    619ee31b9641 drm/i915: Allow switching away via vga-switcheroo if uninitialized
    ea435ba9eb85 firmware: coreboot: Check size of table entry and use flex-array
    a4e70bcf2e87 lockref: stop doing cpu_relax in the cmpxchg loop
    b0ee61f5eeab platform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK
    e8d2f7f56691 platform/x86: touchscreen_dmi: Add info for the CSL Panther Tab HD
    2e0a8bacbe1d r8152: add vendor/device ID pair for Microsoft Devkit
    d4b717e34dac scsi: hisi_sas: Set a port invalid only if there are no devices attached when refreshing port id
    e15750aa28a6 KVM: s390: interrupt: use READ_ONCE() before cmpxchg()
    9300c65207f3 spi: spidev: remove debug messages that access spidev->spi without locking
    48ff5d381298 ASoC: fsl-asoc-card: Fix naming of AC'97 CODEC widgets
    5001ffb31d63 ASoC: fsl_ssi: Rename AC'97 streams to avoid collisions with AC'97 CODEC
    b76120e20683 cpufreq: armada-37xx: stop using 0 as NULL pointer
    eda26fa8560d perf/x86/intel/uncore: Add Emerald Rapids
    544f9d4e9d8a perf/x86/msr: Add Emerald Rapids
    b1eb964d785f s390: expicitly align _edata and _end symbols on page boundary
    fb45ec279b00 s390/debug: add _ASM_S390_ prefix to header guard
    cd488abed97e drm: Add orientation quirk for Lenovo ideapad D330-10IGL
    ff7ab370b855 net: usb: cdc_ether: add support for Thales Cinterion PLS62-W modem
    d6935084e444 ASoC: fsl_micfil: Correct the number of steps on SX controls
    ac07316b2d57 cpufreq: Add SM6375 to cpufreq-dt-platdev blocklist
    f0e6dcae1491 kcsan: test: don't put the expect array on the stack
    c51c0b37543a cpufreq: Add Tegra234 to cpufreq-dt-platdev blocklist
    28e4e8ca9e95 scsi: iscsi: Fix multiple iSCSI session unbind events sent to userspace
    14b1df2004fe tcp: fix rate_app_limited to default to 1
    120b8e527e07 net: stmmac: enable all safety features by default
    a7d736cc3c6c thermal: core: call put_device() only after device_register() fails
    ed08f958e481 thermal/core: fix error code in __thermal_cooling_device_register()
    108a6f91e276 thermal: Validate new state in cur_state_store()
    bd0ea77edf46 thermal/core: Rename 'trips' to 'num_trips'
    521c6ebd4f6e thermal/core: Remove duplicate information when an error occurs
    6504afa2632a net: dsa: microchip: ksz9477: port map correction in ALU table entry register
    18346db1854a selftests/net: toeplitz: fix race on tpacket_v3 block close
    caa28c7c83e3 driver core: Fix test_async_probe_init saves device in wrong array
    89c62cee5d4d w1: fix WARNING after calling w1_process()
    3d0eafe413a7 w1: fix deadloop in __w1_remove_master_device()
    7701a4bd45c1 device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()
    ed0d8f731e0b ptdma: pt_core_execute_cmd() should use spinlock
    29e9c67bf327 octeontx2-pf: Fix the use of GFP_KERNEL in atomic context on rt
    03bff5819ad3 tcp: avoid the lookup process failing to get sk in ehash table
    5bd69d2ea897 nvme-pci: fix timeout request state check
    39178dfe8677 drm/amd/display: fix issues with driver unload
    9a5a537e1444 phy: phy-can-transceiver: Skip warning if no "max-bitrate"
    4095065b59bc dmaengine: xilinx_dma: call of_node_put() when breaking out of for_each_child_of_node()
    5bd3c1c1bce1 cifs: fix potential deadlock in cache_refresh_path()
    1a2a47b85cab HID: betop: check shape of output reports
    b2a730974373 l2tp: prevent lockdep issue in l2tp_tunnel_register()
    edf0e509cedd virtio-net: correctly enable callback during start_xmit
    d3401c7624ec net: macb: fix PTP TX timestamp failure due to packet padding
    71c601965532 dmaengine: Fix double increment of client_count in dma_chan_get()
    1e7919f0b156 drm/panfrost: fix GENERIC_ATOMIC64 dependency
    a1b3e50e2140 net: mlx5: eliminate anonymous module_init & module_exit
    09e3fb6f53bc net/mlx5: E-switch, Fix setting of reserved fields on MODIFY_SCHEDULING_ELEMENT
    01a6e108101f net: ipa: disable ipa interrupt during suspend
    98aec50ff7f6 Bluetooth: Fix possible deadlock in rfcomm_sk_state_change
    0e59f60b74cd usb: gadget: f_fs: Ensure ep0req is dequeued before free_request
    ae8e136bcaae usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait
    f25cd2b731d7 HID: revert CHERRY_MOUSE_000C quirk
    39483511fd59 pinctrl: rockchip: fix mux route data for rk3568
    1dae88a0b4df net: stmmac: fix invalid call to mdiobus_get_phy()
    6716838bf801 HID: check empty report_list in bigben_probe()
    2b4956825436 HID: check empty report_list in hid_validate_values()
    ad67de330d83 net: mdio: validate parameter addr in mdiobus_get_phy()
    486912937933 net: usb: sr9700: Handle negative len
    2827c4eb429d octeontx2-pf: Avoid use of GFP_KERNEL in atomic context
    77e8ed776cdb l2tp: close all race conditions in l2tp_tunnel_register()
    af22d2c0b47f l2tp: convert l2tp_tunnel_list to idr
    22c7d45ca3d7 l2tp: Don't sleep and disable BH under writer-side sk_callback_lock
    87d9205d9a57 l2tp: Serialize access to sk_user_data with sk_callback_lock
    c53acbf2facf net/sched: sch_taprio: fix possible use-after-free
    40516d042b65 net: stmmac: Fix queue statistics reading
    620aa67f8059 pinctrl: rockchip: fix reading pull type on rk3568
    ddca674af1ba pinctrl/rockchip: add error handling for pull/drive register getters
    259ab8fb8c7e pinctrl/rockchip: Use temporary variable for struct device
    8cbf932c5c40 wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oid
    f792d26e5ce7 gpio: mxc: Always set GPIOs used as interrupt source to INPUT mode
    8335f877efe7 gpio: mxc: Protect GPIO irqchip RMW with bgpio spinlock
    fb4fb3d267c9 gpio: use raw spinlock for gpio chip shadowed data
    52e3eebfe670 sch_htb: Avoid grafting on htb_destroy_class_offload when destroying htb
    8232e5a84d25 net: enetc: avoid deadlock in enetc_tx_onestep_tstamp()
    95347e41cac6 net: wan: Add checks for NULL for utdm in undo_uhdlc_init and unmap_si_regs
    7f129927feaf net: nfc: Fix use-after-free in local_cleanup()
    397aaac88469 phy: rockchip-inno-usb2: Fix missing clk_disable_unprepare() in rockchip_usb2phy_power_on()
    01bdcc73dbe7 bpf: Fix pointer-leak due to insufficient speculative store bypass mitigation
    261e2f12b653 amd-xgbe: Delay AN timeout during KR training
    a8cf4af5441f amd-xgbe: TX Flow Ctrl Registers are h/w ver dependent
    8e897cb67421 ARM: dts: at91: sam9x60: fix the ddr clock for sam9x60
    0a27dcd53430 NFSD: fix use-after-free in nfsd4_ssc_setup_dul()
    24af570c99b4 phy: ti: fix Kconfig warning and operator precedence
    631fc3668539 arm64: dts: qcom: msm8992-libra: Fix the memory map
    dda20ffec8fb arm64: dts: qcom: msm8992-libra: Add CPU regulators
    37ba5e929349 arm64: dts: qcom: msm8992: Don't use sfpb mutex
    bab87524f6d4 PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe()
    b7a479c76481 affs: initialize fsdata in affs_truncate()
    623d1116898e IB/hfi1: Remove user expected buffer invalidate race
    47d5fc0dcd57 IB/hfi1: Immediately remove invalid memory from hardware
    85caef2cfd1d IB/hfi1: Fix expected receive setup error exit issues
    cb193984d424 IB/hfi1: Reserve user expected TIDs
    891ddfae39f1 IB/hfi1: Reject a zero-length user expected buffer
    362c9489720b RDMA/core: Fix ib block iterator counter overflow
    e26c571c3b0d tomoyo: fix broken dependency on *.conf.default
    7dfe83ecc341 firmware: arm_scmi: Harden shared memory access in fetch_notification
    a653dbb70cce firmware: arm_scmi: Harden shared memory access in fetch_response
    caffa7fed139 EDAC/highbank: Fix memory leak in highbank_mc_probe()
    95de286200b2 reset: uniphier-glue: Fix possible null-ptr-deref
    4773a8cf9a53 reset: uniphier-glue: Use reset_control_bulk API
    7b33accc8ff9 soc: imx8m: Fix incorrect check for of_clk_get_by_name()
    f07427f8d9c6 arm64: dts: imx8mm-venice-gw7901: fix USB2 controller OC polarity
    c4cb73febe35 HID: intel_ish-hid: Add check for ishtp_dma_tx_map
    25f97c9883bf ARM: imx: add missing of_node_put()
    3e9d79ded9d6 arm64: dts: imx8mm-beacon: Fix ecspi2 pinmux
    538135076191 ARM: dts: imx6qdl-gw560x: Remove incorrect 'uart-has-rtscts'
    0e4bba1656a4 ARM: dts: imx7d-pico: Use 'clock-frequency'
    108cf4c6d510 ARM: dts: imx6ul-pico-dwarf: Use 'clock-frequency'
    207c9e64edba arm64: dts: imx8mp-phycore-som: Remove invalid PMIC property
    7ce380fe7574 dmaengine: ti: k3-udma: Do conditional decrement of UDMA_CHAN_RT_PEER_BCNT_REG
    edba9b7a7037 memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe()
    e66f6949da63 memory: atmel-sdramc: Fix missing clk_disable_unprepare in atmel_ramc_probe()
    eda11ab55614 memory: tegra: Remove clients SID override programming
    aabd5ba7e9b0 Linux 5.15.90
    4b6f8263e931 io_uring/rw: remove leftover debug statement
    b10acfcd61b2 io_uring/rw: ensure kiocb_end_write() is always called
    124fb13cc757 io_uring: fix double poll leak on repolling
    e944f1e37b97 io_uring: Clean up a false-positive warning from GCC 9.3.0
    940e8922c1f5 mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma
    e83cc8a780e6 soc: qcom: apr: Make qcom,protection-domain optional again
    982c8b1e95c0 Revert "wifi: mac80211: fix memory leak in ieee80211_if_add()"
    40a4797e08ec block: mq-deadline: Rename deadline_is_seq_writes()
    3abf10b4c473 net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work()
    1aab00aa4192 net/ulp: use consistent error code when blocking ULP
    2e4c95a404f3 io_uring/net: fix fast_iov assignment in io_setup_async_msg()
    311b298a3337 io_uring: io_kiocb_update_pos() should not touch file for non -1 offset
    487a086595b5 tracing: Use alignof__(struct {type b;}) instead of offsetof()
    430443f8565e x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN
    f114717dfa74 Revert "drm/amdgpu: make display pinning more flexible (v2)"
    7a993c1be595 efi: rt-wrapper: Add missing include
    de2af657cab9 arm64: efi: Execute runtime services from a dedicated stack
    9cca110cf8bb fs/ntfs3: Fix attr_punch_hole() null pointer derenference
    d4d112e5c458 drm/amdgpu: drop experimental flag on aldebaran
    c82fa690da7c drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix
    88c33752248e drm/amd/display: Calculate output_color_space after pixel encoding adjustment
    87e605b16111 drm/amd/display: Fix set scaling doesn's work
    8687b8cdc3a3 drm/i915/display: Check source height is > 0
    5d961791663d drm/i915: re-disable RC6p on Sandy Bridge
    e9a7ec188b26 mei: me: add meteor lake point M DID
    eb0421d90f91 gsmi: fix null-deref in gsmi_get_variable
    b8d99cda526b serial: atmel: fix incorrect baudrate setup
    b85498385afc serial: amba-pl011: fix high priority character transmission in rs486 mode
    0f150134dd79 dmaengine: idxd: Let probe fail when workqueue cannot be enabled
    1e8c127c2e81 dmaengine: tegra210-adma: fix global intr clear
    473e2281f712 dmaengine: lgm: Move DT parsing after initialization
    73337724cbd8 serial: pch_uart: Pass correct sg to dma_unmap_sg()
    4307a41cbc44 dt-bindings: phy: g12a-usb3-pcie-phy: fix compatible string documentation
    c9d55f564a69 dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation
    78aa45bb7a42 usb-storage: apply IGNORE_UAS only for HIKSEMI MD202 on RTL9210
    a69c8dfb85b4 usb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate()
    1ab67e87b178 usb: gadget: g_webcam: Send color matching descriptor per frame
    b08167d8f07c usb: typec: altmodes/displayport: Fix pin assignment calculation
    7fb1322e7a8c usb: typec: altmodes/displayport: Add pin assignment helper
    59f9ee379640 usb: typec: tcpm: Fix altmode re-registration causes sysfs create fail
    a1c8a5c2f8aa usb: host: ehci-fsl: Fix module alias
    f073d10cd5a7 usb: cdns3: remove fetched trb from cache before dequeuing
    73f4bde9730f USB: serial: cp210x: add SCALANCE LPE-9000 device id
    a2e075f40122 USB: gadgetfs: Fix race between mounting and unmounting
    2da67bff29ab tty: fix possible null-ptr-defer in spk_ttyio_release
    cb53a3366eb2 tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer
    f322dd2e4a1c staging: mt7621-dts: change some node hex addresses to lower case
    6508788b2c3b bpf: restore the ebpf program ID for BPF_AUDIT_UNLOAD and PERF_BPF_EVENT_PROG_UNLOAD
    7b122c33bd31 riscv: dts: sifive: fu740: fix size of pcie 32bit memory
    701f9c3da692 thunderbolt: Use correct function to calculate maximum USB3 link rate
    5b1b03a3d3e4 cifs: do not include page data when checking signature
    64287cd456a2 btrfs: fix race between quota rescan and disable leading to NULL pointer deref
    f2e0e1615d65 btrfs: do not abort transaction on failure to write log tree when syncing log
    f653abe6195c mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting
    9881436f01ce mmc: sunxi-mmc: Fix clock refcount imbalance during unbind
    33bd0db750fc ACPI: PRM: Check whether EFI runtime is available
    87e1ee6058e5 comedi: adv_pci1760: Fix PWM instruction handling
    b5d24a8e4a61 usb: core: hub: disable autosuspend for TI TUSB8041
    61a0890cb95a misc: fastrpc: Fix use-after-free race condition for maps
    1b7b7bb400dd misc: fastrpc: Don't remove map on creater_process and device_release
    e7e41fcf909f USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100
    f3de34d90d90 staging: vchiq_arm: fix enum vchiq_status return types
    16d09c4bc99b USB: serial: option: add Quectel EM05CN modem
    34d769f0c607 USB: serial: option: add Quectel EM05CN (SG) modem
    768d56ed2411 USB: serial: option: add Quectel EC200U modem
    829916f069a7 USB: serial: option: add Quectel EM05-G (RS) modem
    eb8808f769c6 USB: serial: option: add Quectel EM05-G (CS) modem
    6e0430db195e USB: serial: option: add Quectel EM05-G (GR) modem
    f01aefe374d3 prlimit: do_prlimit needs to have a speculation check
    418e2c756d65 xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables
    10cb7d53be5f usb: acpi: add helper to check port lpm capability using acpi _DSM
    1818e2a97dab xhci: Add a flag to disable USB3 lpm on a xhci root port level.
    8911ff796336 xhci: Add update_hub_device override for PCI xHCI hosts
    c462ac871f49 xhci: Fix null pointer dereference when host dies
    f39c813af0b6 usb: xhci: Check endpoint is valid before dereferencing it
    0f175cebc46c xhci-pci: set the dma max_seg_size
    89a410dbd0f1 io_uring/rw: defer fsnotify calls to task context
    05d69b372b3b io_uring: do not recalculate ppos unnecessarily
    ff8a070253d9 io_uring: update kiocb->ki_pos at execution time
    b7958caf415b io_uring: remove duplicated calls to io_kiocb_ppos
    86e2d6901a37 io_uring: ensure that cached task references are always put on exit
    30b90689344b io_uring: fix async accept on O_NONBLOCK sockets
    a79b13f24967 io_uring: allow re-poll if we made progress
    3c1a3d02690f io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)
    390b8816317f io_uring: add flag for disabling provided buffer recycling
    9b7b0f2116d5 io_uring: ensure recv and recvmsg handle MSG_WAITALL correctly
    cdc68e714d0b io_uring: improve send/recv error handling
    ccf06b5a981c io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups
    77baf39227c0 eventfd: provide a eventfd_signal_mask() helper
    a2d8ff00a7b0 eventpoll: add EPOLL_URING_WAKE poll wakeup flag
    a9aa4aa7a5b2 io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL
    bd9a23a4bb8a hugetlb: unshare some PMDs when splitting VMAs
    393d9e3ed10c drm/amd: Delay removal of the firmware framebuffer
    865e244e06c7 drm/amdgpu: disable runtime pm on several sienna cichlid cards(v2)
    560373fb1e9a ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform
    26264260a80b ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
    1026756321bd efi: fix userspace infinite retry read efivars after EFI runtime services page fault
    45627a1a6450 nilfs2: fix general protection fault in nilfs_btree_insert()
    350d66d9e730 zonefs: Detect append writes at invalid locations
    5054d001ffaf Add exception protection processing for vd in axi_chan_handle_err function
    a12fd43bd175 wifi: mac80211: sdata can be NULL during AMPDU start
    f96a6c009ed9 wifi: brcmfmac: fix regression for Broadcom PCIe wifi devices
    908d1742b6e6 Bluetooth: hci_qca: Fix driver shutdown on closed serdev
    7530fbc05ff5 fbdev: omapfb: avoid stack overflow warning
    e1df7f0b27c2 perf/x86/rapl: Treat Tigerlake like Icelake
    2c129e868992 f2fs: let's avoid panic if extent_tree is not created
    58bac7440251 x86/asm: Fix an assembler warning with current binutils
    fdb4a70bb768 btrfs: always report error in run_one_delayed_ref()
    f641067ea2af RDMA/srp: Move large values to a new enum for gcc13
    793f8ac21874 r8169: move rtl_wol_enable_rx() and rtl_prepare_power_down()
    dc072762f900 net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats
    308d24d87599 vduse: Validate vq_num in vduse_validate_config()
    8e1eb926a093 virtio_pci: modify ENOENT to EINVAL
    64a6f3689d0d tools/virtio: initialize spinlocks in vring_test.c
    95fc28a8e921 selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID
    d4a9d2944f2e pNFS/filelayout: Fix coalescing test for single DS
    6a3319af6b36 btrfs: fix trace event name typo for FLUSH_DELAYED_REFS

(From OE-Core rev: 60c0f2100303bce62711c05efe9c8b775a804045)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
Bruce Ashfield
5a53270f3e linux-yocto/6.1: update to v6.1.9
Updating  to the latest korg -stable release that comprises
the following commits:

    68a95455c153 Linux 6.1.9
    432ddb5765c4 amdgpu: fix build on non-DCN platforms.
    a4d01fb87ece perf/x86/amd: fix potential integer overflow on shift of a int
    dc1ccb4c0f85 netfilter: conntrack: unify established states for SCTP paths
    70654f995054 dt-bindings: i2c: renesas,rzv2m: Fix SoC specific string
    137f1b47da5f x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL
    9291e7f6f940 dt-bindings: riscv: fix single letter canonical order
    709f785b6201 dt-bindings: riscv: fix underscore requirement for multi-letter extensions
    b96903b7fc8c acpi: Fix suspend with Xen PV
    2d4c140e9a60 x86/sev: Add SEV-SNP guest feature negotiation support
    dd017697feb1 Input: i8042 - add Clevo PCX0DX to i8042 quirk table
    6816478c0db1 Revert "Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode"
    e1275a6b2d99 Revert "mm/compaction: fix set skip in fast_find_migrateblock"
    2fd712538d68 Fix up more non-executable files marked executable
    ff66e15a4e97 tools: gpio: fix -c option of gpio-event-mon
    d88695e7cc85 treewide: fix up files incorrectly marked executable
    fe10ce3041b6 block: ublk: move ublk_chr_class destroying after devices are removed
    f81be7edb780 Partially revert "perf/arm-cmn: Optimise DTC counter accesses"
    37f21dc8a489 net: mdio-mux-meson-g12a: force internal PHY off on mux switch
    a4bbf0311755 tsnep: Fix TX queue stop/wake for multiple queues
    994087b56e95 net/tg3: resolve deadlock in tg3_reset_task() during EEH
    2d449b8dd373 riscv: Move call to init_cpu_topology() to later initialization stage
    76d130250a25 thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()
    a8f2ee10718f net: mctp: mark socks as dead on unhash, prevent re-add
    6a524787965f net: mctp: hold key reference when looking up a general key
    2f87a60e9b4e net: mctp: move expiry timer delete to unhash
    d0cdcc3da926 net: mctp: add an explicit reference from a mctp_sk_key to sock
    d46d7516cba3 net: ravb: Fix possible hang if RIS2_QFF1 happen
    4fd88b8d6e04 net: ravb: Fix lack of register setting after system resumed for Gen3
    fc482705cb84 gpio: ep93xx: Fix port F hwirq numbers in handler
    699378c56b1d gpio: mxc: Unlock on error path in mxc_flip_edge()
    b51e3f5e86d8 nvme: fix passthrough csi check
    f4c8fc775fcb riscv/kprobe: Fix instruction simulation of JALR
    9f08bb650078 sctp: fail if no bound addresses can be used for a given scope
    61a214dcda51 net/sched: sch_taprio: do not schedule in taprio_reset()
    250cec4b26a5 tracing/osnoise: Use built-in RCU list checking
    91c7ca226a24 ACPI: video: Fix apple gmux detection
    bd100f492c7e platform/x86: apple-gmux: Add apple_gmux_detect() helper
    4e1f8efbd719 platform/x86: apple-gmux: Move port defines to apple-gmux.h
    8f7f8079ed93 platform/x86: asus-wmi: Fix kbd_dock_devid tablet-switch reporting
    51e394c6f81a netrom: Fix use-after-free of a listening socket.
    ecf1d4250ff4 netfilter: conntrack: fix vtag checks for ABORT/SHUTDOWN_COMPLETE
    f0907d08bac7 net: ethernet: adi: adin1110: Fix multicast offloading
    118e95ce5fa0 net: dsa: microchip: fix probe of I2C-connected KSZ8563
    f9753ebd61be ipv4: prevent potential spectre v1 gadget in fib_metrics_match()
    6850fe301d01 ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
    da553c7ca82f netlink: annotate data races around sk_state
    13edec44a5f5 netlink: annotate data races around dst_portid and dst_group
    b181c31fe893 netlink: annotate data races around nlk->portid
    44d6de3b4f26 netfilter: nft_set_rbtree: skip elements in transaction from garbage collection
    318cb24a4c3f netfilter: nft_set_rbtree: Switch to node list walk for overlap detection
    6f81f0a952cd ACPI: video: Add backlight=native DMI quirk for Asus U46E
    aa9483b94547 ACPI: video: Add backlight=native DMI quirk for HP EliteBook 8460p
    ed796e0916a8 ACPI: video: Add backlight=native DMI quirk for HP Pavilion g6-1d80nr
    2e3539d34b8e drm/i915/selftest: fix intel_selftest_modify_policy argument types
    048c82c0b3bd nvme-fc: fix initialization order
    74673597c100 nvme: consolidate setting the tagset flags
    3130e38b0b29 nvme: simplify transport specific device attribute handling
    554484a34e98 net: fec: Use page_pool_put_full_page when freeing rx buffers
    12075708f2e7 net: fix UaF in netns ops registration error path
    992e4ff7116a netlink: prevent potential spectre v1 gadgets
    122d3a0ee454 iavf: schedule watchdog immediately when changing primary MAC
    aa17cf8af776 iavf: fix temporary deadlock and failure to set MAC address
    0bdc4b4ba720 drm/i915: Fix a memory leak with reused mmap_offset
    67444f8ca31c drm/drm_vma_manager: Add drm_vma_node_allow_once()
    e8267867fd1a i2c: designware: Fix unbalanced suspended flag
    9f36aae9e80e i2c: designware: use casting of u64 in clock multiplication to avoid overflow
    5e6618e28b33 io_uring: always prep_async for drain requests
    3238146fcf26 net: mana: Fix IRQ name - add PCI and queue number
    1ce29f7444df io_uring: inline __io_req_complete_put()
    85224a3f89cf io_uring: remove io_req_tw_post_queue
    65aeb34c0f2d io_uring: use io_req_task_complete() in timeout
    0c4d95ad2160 io_uring: hold locks for io_req_complete_failed
    6dbb84c7c2e1 io_uring: inline __io_req_complete_post()
    bfd4d1884065 io_uring: inline io_req_task_work_add()
    af8e87f72f9e drm/amdgpu/display/mst: update mst_mgr relevant variable when long HPD
    be6bf2321343 drm/amdgpu/display/mst: limit payload to be updated one by one
    5891a419031d drm/amdgpu/display/mst: Fix mst_state->pbn_div and slot count assignments
    60cd9bb28b97 drm/amdgpu: remove unconditional trap enable on add gfx11 queues
    076f7a8798f5 drm/amd/pm: add missing AllowIHInterrupt message mapping for SMU13.0.0
    335ef7d0777c drm/display/dp_mst: Correct the kref of port.
    4516ccd5e154 platform/x86: thinkpad_acpi: Fix profile modes on Intel platforms
    6f0351d0c311 EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info
    77a92cc82665 EDAC/device: Respect any driver-supplied workqueue polling value
    00ba539393bf ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment
    a914e1132f01 ipv6: fix reachability confirmation with proxy_ndp
    95cf086772c5 regulator: dt-bindings: samsung,s2mps14: add lost samsung,ext-control-gpios
    19df0f77b3d1 thermal: intel: int340x: Protect trip temperature from concurrent updates
    8294b4a88921 riscv: fix -Wundef warning for CONFIG_RISCV_BOOT_SPINWAIT
    ea77e9b9fb53 scsi: ufs: core: Fix devfreq deadlocks
    97856a9d776d KVM: arm64: GICv4.1: Fix race with doorbell on VPE activation/deactivation
    b0487b40305b KVM: x86/vmx: Do not skip segment attributes if unusable bit is set
    121d87eb5817 io_uring/net: cache provided buffer group value for multishot receives
    42fea1c35254 ovl: fail on invalid uid/gid mapping at copy up
    caa0ea92503f ovl: fix tmpfile leak
    f03face5fda6 ksmbd: limit pdu length size according to connection status
    dcb69eb91c84 ksmbd: downgrade ndr version error message to debug
    eb563dce3d16 ksmbd: do not sign response to session request for guest login
    d5d7847e57ac ksmbd: add max connections parameter
    5109607a4ece cifs: Fix oops due to uncleared server->smbd_conn in reconnect
    f9575ea163ad ftrace/scripts: Update the instructions for ftrace-bisect.sh
    b4e7e81b4fdf trace_events_hist: add check for return value of 'create_hist_field'
    198c83963f63 tracing: Make sure trace_printk() can output as soon as it can be used
    e5ae9b5a652f ftrace: Export ftrace_free_filter() to modules
    14f4d81f647b module: Don't wait for GOING modules
    c00c20e3e351 nfsd: don't free files unconditionally in __nfsd_file_cache_purge
    6eb0fc92eeee kvm/vfio: Fix potential deadlock on vfio group_lock
    eced3d368f63 scsi: hpsa: Fix allocation size for scsi_host_alloc()
    4ba7d17f2b3b vfio/type1: Respect IOMMU reserved regions in vfio_test_domain_fgsp()
    b811432fc56f sched/uclamp: Fix a uninitialized variable warnings
    390eb5433eff sched/fair: Check if prev_cpu has highest spare cap in feec()
    63cccc92768d wifi: mac80211: Fix iTXQ AMPDU fragmentation handling
    7b8fe53d2a1d wifi: mac80211: Proper mark iTXQs for resumption
    c932501bc232 io_uring/msg_ring: fix remote queue to disabled ring
    3964b0c2e843 drm/amdgpu: complete gfxoff allow signal during suspend without delay
    2c8fb41ed0e6 drm/i915: Allow alternate fixed modes always for eDP
    7fa092a05791 drm/i915: Allow panel fixed modes to have differing sync polarities
    83b15fe00a45 Bluetooth: hci_sync: cancel cmd_timer if hci_open failed
    cc2a13ec84a5 arm64: efi: Account for the EFI runtime stack in stack unwinder
    cf1f38ef9567 arm64: efi: Avoid workqueue to check whether EFI runtime is live
    119a34527ed8 arm64: efi: Recover from synchronous exceptions occurring in firmware
    0bfa2249ca06 Revert "selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID"
    c19bd0d89720 btrfs: zoned: enable metadata over-commit for non-ZNS setup
    5f366b36a83b firmware: coreboot: Check size of table entry and use flex-array
    f594afe49946 ata: pata_cs5535: Don't build on UML
    448e5fbbf9b7 lockref: stop doing cpu_relax in the cmpxchg loop
    47da87959390 platform/x86: simatic-ipc: add another model
    4bfccc9b1300 platform/x86: simatic-ipc: correct name of a model
    e7f4e976d39e platform/x86: asus-wmi: Ignore fan on E410MA
    71dfaccf2094 platform/x86: asus-wmi: Add quirk wmi_ignore_fan
    63e3ff2e9ee4 platform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK
    790aefa09e39 platform/x86: asus-nb-wmi: Add alternate mapping for KEY_CAMERA
    9527a8613960 platform/x86: touchscreen_dmi: Add info for the CSL Panther Tab HD
    564756d5ad9a r8152: add vendor/device ID pair for Microsoft Devkit
    b886ccb190f0 scsi: hisi_sas: Set a port invalid only if there are no devices attached when refreshing port id
    223dddc8807b scsi: hisi_sas: Use abort task set to reset SAS disks when discovered
    3e711bb4409a KVM: s390: interrupt: use READ_ONCE() before cmpxchg()
    75d8a514ceec spi: spidev: remove debug messages that access spidev->spi without locking
    893d45394dbe cifs: fix potential memory leaks in session setup
    ca6263dc22ac drm/amdkfd: Fix NULL pointer error for GC 11.0.1 on mGPU
    92af2d3b57a1 drm/amdkfd: Add sync after creating vram bo
    df675d4cf0e3 ACPI: resource: Skip IRQ override on Asus Expertbook B2402CBA
    c6cf20e747ed ASoC: fsl-asoc-card: Fix naming of AC'97 CODEC widgets
    39c315fe6e59 ASoC: fsl_ssi: Rename AC'97 streams to avoid collisions with AC'97 CODEC
    74ed6ee3704c cpufreq: armada-37xx: stop using 0 as NULL pointer
    141fe35cb13e tools/nolibc: prevent gcc from making memset() loop over itself
    f3b7893078ca tools/nolibc: fix missing includes causing build issues at -O0
    338ec07a14cd tools/nolibc: Fix S_ISxxx macros
    99dd3449279b nolibc: fix fd_set type
    0333c339781f perf/x86/intel/uncore: Add Emerald Rapids
    a29933719f6b perf/x86/msr: Add Emerald Rapids
    c5ed0fe3eb55 perf/x86/msr: Add Meteor Lake support
    be839afcdf64 perf/x86/cstate: Add Meteor Lake support
    b91ec58ffb8a xen/pvcalls: free active map buffer on pvcalls_front_free_map
    25714807b1fd s390: expicitly align _edata and _end symbols on page boundary
    a524f623daae s390/debug: add _ASM_S390_ prefix to header guard
    68f5d286aa3d drm: Add orientation quirk for Lenovo ideapad D330-10IGL
    748f31ba3ec6 net: usb: cdc_ether: add support for Thales Cinterion PLS62-W modem
    c6fb430d3303 drm/msm/a6xx: Avoid gx gbit halt during rpm suspend
    7daafbd2d934 ASoC: fsl_micfil: Correct the number of steps on SX controls
    0d792453213f cpufreq: Add SM6375 to cpufreq-dt-platdev blocklist
    d5cb15095a93 kcsan: test: don't put the expect array on the stack
    fd14d29bb698 ASoC: support machine driver with max98360
    f48c6b680e74 ASoC: amd: yc: Add ASUS M5402RA into DMI table
    a0e83ab31144 ASoC: mediatek: mt8186: Add machine support for max98357a
    80590863884a ASoC: mediatek: mt8186: support rt5682s_max98360
    297b3d44bbc7 cpufreq: Add Tegra234 to cpufreq-dt-platdev blocklist
    7d596bbc66a5 cpufreq: CPPC: Add u64 casts to avoid overflowing
    528bd2aa1e7b spi: cadence: Fix busy cycles calculation
    1a5ead77c9ce ASoC: amd: yc: Add Razer Blade 14 2022 into DMI table
    c658a6d5501d ASoC: SOF: Add FW state to debugfs
    4e491a1373a7 ASoC: SOF: pm: Always tear down pipelines before DSP suspend
    7af7cb349c45 ASoC: SOF: pm: Set target state earlier
    c9f0e54a2576 scsi: iscsi: Fix multiple iSCSI session unbind events sent to userspace
    dc706d778746 tcp: fix rate_app_limited to default to 1
    cefa85480ac9 bnxt: Do not read past the end of test names
    aebf7e62708b net: stmmac: enable all safety features by default
    2846a7412f62 thermal: core: call put_device() only after device_register() fails
    d4dbbbbb2449 thermal/core: fix error code in __thermal_cooling_device_register()
    80bb3b901abe thermal: Validate new state in cur_state_store()
    3896f78b2203 net: dsa: microchip: ksz9477: port map correction in ALU table entry register
    248f6a70eac1 selftests/net: toeplitz: fix race on tpacket_v3 block close
    c80475214850 driver core: Fix test_async_probe_init saves device in wrong array
    cfc7462ff824 w1: fix WARNING after calling w1_process()
    8bc7d8706737 w1: fix deadloop in __w1_remove_master_device()
    e75485fc589e device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()
    13ba563c2c80 ptdma: pt_core_execute_cmd() should use spinlock
    0c5213ce6e72 usb: dwc3: fix extcon dependency
    6df50d94697d tcp: avoid the lookup process failing to get sk in ehash table
    4888f9fc03fc nvme-pci: fix timeout request state check
    58bdab02b225 net: sched: gred: prevent races when adding offloads to stats
    b0b029ee04ef drm/amd/display: fix issues with driver unload
    8f4764c0d478 phy: phy-can-transceiver: Skip warning if no "max-bitrate"
    567128076d55 dmaengine: tegra: Fix memory leak in terminate_all()
    f7a57ef457ad dmaengine: xilinx_dma: call of_node_put() when breaking out of for_each_child_of_node()
    a8a518ff3be5 cifs: fix potential deadlock in cache_refresh_path()
    d5fb544b4ce5 drm/i915/selftests: Unwind hugepages to drop wakeref on error
    07bc32e53c7b HID: betop: check shape of output reports
    b717cf5a6bd8 l2tp: prevent lockdep issue in l2tp_tunnel_register()
    c81fcd4e49e0 virtio-net: correctly enable callback during start_xmit
    74a76b80177f net: macb: fix PTP TX timestamp failure due to packet padding
    142d644fd2cc dmaengine: Fix double increment of client_count in dma_chan_get()
    f5e58b546cbe drm/panfrost: fix GENERIC_ATOMIC64 dependency
    459b413821ef net: mlx5: eliminate anonymous module_init & module_exit
    d0453c63d38e net/mlx5: E-switch, Fix switchdev mode after devlink reload
    a03b6ef0f6db net/mlx5e: Set decap action based on attr for sample
    ad2732630ff6 net/mlx5e: QoS, Fix wrongfully setting parent_element_id on MODIFY_SCHEDULING_ELEMENT
    0680225a559a net/mlx5: E-switch, Fix setting of reserved fields on MODIFY_SCHEDULING_ELEMENT
    d8da8d96ff1d net/mlx5e: Avoid false lock dependency warning on tc_ht even more
    e401ecbc3780 net: ipa: disable ipa interrupt during suspend
    17511bd84871 Bluetooth: Fix possible deadlock in rfcomm_sk_state_change
    9a7c3befef40 Bluetooth: hci_event: Fix Invalid wait context
    2539cbc625c5 Bluetooth: ISO: Fix possible circular locking dependency
    c524f9561c65 Bluetooth: ISO: Avoid circular locking dependency
    8ac6043bd3e5 Bluetooth: hci_sync: fix memory leak in hci_update_adv_data()
    f51a825b9f73 Bluetooth: hci_conn: Fix memory leaks
    ed818fd8c531 Bluetooth: Fix a buffer overflow in mgmt_mesh_add()
    5d947222e4e4 netfilter: conntrack: handle tcp challenge acks during connection reuse
    bb03899b9ba3 usb: gadget: f_fs: Ensure ep0req is dequeued before free_request
    6aee197b7fbc usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait
    3d7f77e55da3 usb: ucsi: Ensure connector delayed work items are flushed
    94fa550b9564 block/rnbd-clt: fix wrong max ID in ida_alloc_max
    1c6c30cdcf61 HID: revert CHERRY_MOUSE_000C quirk
    076a9ebfccc3 ARM: dts: stm32: Fix qspi pinctrl phandle for stm32mp151a-prtt1l
    d0c5f5caf031 ARM: dts: stm32: Fix qspi pinctrl phandle for stm32mp157c-emstamp-argon
    1c50efa1cd27 ARM: dts: stm32: Fix qspi pinctrl phandle for stm32mp15xx-dhcom-som
    e482dc20a73c ARM: dts: stm32: Fix qspi pinctrl phandle for stm32mp15xx-dhcor-som
    249f0149768a pinctrl: rockchip: fix mux route data for rk3568
    5bd6174693aa net: stmmac: fix invalid call to mdiobus_get_phy()
    09003f12f5fe HID: check empty report_list in bigben_probe()
    cdcdc0531a51 HID: check empty report_list in hid_validate_values()
    7879626296e6 net: mdio: validate parameter addr in mdiobus_get_phy()
    8327104c28c0 net: usb: sr9700: Handle negative len
    cef0845b6dcf l2tp: close all race conditions in l2tp_tunnel_register()
    bf47eb2cc58c l2tp: convert l2tp_tunnel_list to idr
    d3b2d2820a00 net/sched: sch_taprio: fix possible use-after-free
    12dd32ab623f net: stmmac: Fix queue statistics reading
    5a7205560755 pinctrl: rockchip: fix reading pull type on rk3568
    7794efa358bc wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oid
    56e3e8da1efb gpio: mxc: Always set GPIOs used as interrupt source to INPUT mode
    4141fdfd7847 gpio: mxc: Protect GPIO irqchip RMW with bgpio spinlock
    d314d0c3de79 sch_htb: Avoid grafting on htb_destroy_class_offload when destroying htb
    96a88e3ab62f net: lan966x: add missing fwnode_handle_put() for ports node
    e893dced1a18 net: enetc: avoid deadlock in enetc_tx_onestep_tstamp()
    d807a7544a70 net: wan: Add checks for NULL for utdm in undo_uhdlc_init and unmap_si_regs
    d3605282ec35 net: nfc: Fix use-after-free in local_cleanup()
    5d48e5cbb1cd phy: rockchip-inno-usb2: Fix missing clk_disable_unprepare() in rockchip_usb2phy_power_on()
    c921fe22178d drm/vc4: bo: Fix unused variable warning
    b0c89ef02556 bpf: Fix pointer-leak due to insufficient speculative store bypass mitigation
    797bbdc7c30d amd-xgbe: Delay AN timeout during KR training
    15d45a435e09 amd-xgbe: TX Flow Ctrl Registers are h/w ver dependent
    084e6764dc3e bpf: hash map, avoid deadlock with suitable hash mask
    d838b5c99bce phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()
    be960b061b89 drm/vc4: bo: Fix drmm_mutex_init memory hog
    86e1955b28d9 ARM: dts: at91: sam9x60: fix the ddr clock for sam9x60
    32d5eb95f8f0 NFSD: fix use-after-free in nfsd4_ssc_setup_dul()
    8103d53f25ec drm/msm/gpu: Fix potential double-free
    ba4ca7d2dd85 phy: ti: fix Kconfig warning and operator precedence
    758803e20260 kbuild: fix 'make modules' error when CONFIG_DEBUG_INFO_BTF_MODULES=y
    80bb370bce77 kbuild: export top-level LDFLAGS_vmlinux only to scripts/Makefile.vmlinux
    a504db9a140c arm64: dts: qcom: msm8992-libra: Fix the memory map
    dd95362789c7 arm64: dts: qcom: msm8992: Don't use sfpb mutex
    ad5daeb648ec PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe()
    964f121334cd affs: initialize fsdata in affs_truncate()
    c37e769f2707 IB/hfi1: Remove user expected buffer invalidate race
    648cc5f41482 IB/hfi1: Immediately remove invalid memory from hardware
    dffa4afa98e7 IB/hfi1: Fix expected receive setup error exit issues
    39edbe1b549a IB/hfi1: Reserve user expected TIDs
    3304cb63f4dc IB/hfi1: Reject a zero-length user expected buffer
    43811d07ea64 RDMA/core: Fix ib block iterator counter overflow
    e73f5dd9b322 arm64: dts: marvell: AC5/AC5X: Fix address for UART1
    7b28a8920844 erofs: fix kvcalloc() misuse with __GFP_NOFAIL
    d7c71f93cfac RDMA/rxe: Prevent faulty rkey generation
    7ca8aa835464 RDMA/rxe: Fix inaccurate constants in rxe_type_info
    78cfe7bfe5d1 tomoyo: fix broken dependency on *.conf.default
    c2c3a71200c0 HID: amd_sfh: Fix warning unwind goto
    fa5ee1bec7c7 interconnect: qcom: msm8996: Fix regmap max_register values
    8086bd330a28 interconnect: qcom: msm8996: Provide UFS clocks to A2NoC
    5362263b0c2f firmware: arm_scmi: Fix virtio channels cleanup on shutdown
    d807aff1910c firmware: arm_scmi: Harden shared memory access in fetch_notification
    3463203d1096 firmware: arm_scmi: Harden shared memory access in fetch_response
    b7863ef8a8f0 EDAC/highbank: Fix memory leak in highbank_mc_probe()
    633bad3dc81c reset: uniphier-glue: Fix possible null-ptr-deref
    00b433d5664a reset: ti-sci: honor TI_SCI_PROTOCOL setting when not COMPILE_TEST
    9eea16953ec1 soc: imx8m: Fix incorrect check for of_clk_get_by_name()
    c47e53679af1 arm64: dts: imx8mm-venice-gw7901: fix USB2 controller OC polarity
    9a65e90179ba HID: intel_ish-hid: Add check for ishtp_dma_tx_map
    bd04fcc35d37 arm64: dts: imx8mp-evk: pcie0-refclk cosmetic cleanup
    4df82eb50e3b arm64: dts: imx8mp: Fix power-domain typo
    3a999c07a644 arm64: dts: imx8mp: Fix missing GPC Interrupt
    2876069cbdc3 soc: imx: imx8mp-blk-ctrl: don't set power device name
    e92f205c71d9 ARM: imx: add missing of_node_put()
    504b06e529f1 arm64: dts: imx93-11x11-evk: correct clock and strobe pad setting
    767a2c8e7354 arm64: dts: verdin-imx8mm: fix dev board audio playback
    f20a2afec502 arm64: dts: imx8mm-beacon: Fix ecspi2 pinmux
    0cd7df5204e7 arm64: dts: verdin-imx8mm: fix dahlia audio playback
    57e8959f1018 ARM: dts: imx6qdl-gw560x: Remove incorrect 'uart-has-rtscts'
    02badccd1fcf ARM: dts: imx7d-pico: Use 'clock-frequency'
    79ed997b7146 ARM: dts: imx6ul-pico-dwarf: Use 'clock-frequency'
    7eef6180815c arm64: dts: imx8mp-phycore-som: Remove invalid PMIC property
    02ef93c4dfb4 soc: imx: imx8mp-blk-ctrl: enable global pixclk with HDMI_TX_PHY PD
    8aa234b1a492 dmaengine: ti: k3-udma: Do conditional decrement of UDMA_CHAN_RT_PEER_BCNT_REG
    1ec709691008 dmaengine: qcom: gpi: Set link_rx bit on GO TRE for rx operation
    7b91820fd753 arm64: dts: qcom: sc8280xp: fix primary USB-DP PHY reset
    7003e0ea1418 memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe()
    4c69fce6e537 memory: atmel-sdramc: Fix missing clk_disable_unprepare in atmel_ramc_probe()
    e665b934695a memory: tegra: Remove clients SID override programming
    93f875a8526a Linux 6.1.8
    ebb677d21945 soc: qcom: apr: Make qcom,protection-domain optional again
    effecd8d116d Revert "wifi: mac80211: fix memory leak in ieee80211_if_add()"
    fa6357de7c5e block: mq-deadline: Rename deadline_is_seq_writes()
    5a69eccf5638 net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work()
    659518e013d6 octeontx2-pf: Fix the use of GFP_KERNEL in atomic context on rt
    ddb98087bd2a net/ulp: use consistent error code when blocking ULP
    1eb57b87f106 octeontx2-pf: Avoid use of GFP_KERNEL in atomic context
    6da17ac15e35 drm/amdgpu: correct MEC number for gfx11 APUs
    40a66b6ca478 drm/amdgpu: add tmz support for GC IP v11.0.4
    a63bd0539bf3 drm/amdgpu: add tmz support for GC 11.0.1
    a74805429d38 drm/amdgpu: enable GFX Clock Gating control for GC IP v11.0.4
    834a91425865 drm/amdgpu: enable GFX Power Gating for GC IP v11.0.4
    09af1ee53ced drm/amdgpu: enable GFX IP v11.0.4 CG support
    8cbe04b2e0a1 drm/amdgpu: enable PSP IP v13.0.11 support
    11ffb9933730 drm/amdgpu/discovery: enable nbio support for NBIO v7.7.1
    703011b41c4f drm/amdgpu/pm: use the specific mailbox registers only for SMU IP v13.0.4
    fe4d9fb3326e drm/amdgpu/soc21: add mode2 asic reset for SMU IP v13.0.11
    c776433afefd drm/amdgpu/pm: add GFXOFF control IP version check for SMU IP v13.0.11
    6ed56b86918d drm/amdgpu: add smu 13 support for smu 13.0.11
    bb856053b7d7 drm/amdgpu/pm: enable swsmu for SMU IP v13.0.11
    3ed03b0b42c4 drm/amdgpu/discovery: add PSP IP v13.0.11 support
    7d1e2273f21f drm/amdgpu: add gmc v11 support for GC 11.0.4
    ea8f7acc35e2 drm/amdgpu: add gfx support for GC 11.0.4
    09157e804d9e drm/amdgpu/discovery: set the APU flag for GC 11.0.4
    333814dd71d8 drm/amdgpu: set GC 11.0.4 family
    2ecc26293852 drm/amdgpu/discovery: enable mes support for GC v11.0.4
    db4fa3b2d7d4 drm/amdgpu/discovery: enable gfx v11 for GC 11.0.4
    907d5b697d85 drm/amdgpu/discovery: enable gmc v11 for GC 11.0.4
    708509058b79 drm/amdgpu/discovery: enable soc21 common for GC 11.0.4
    2705a9548594 x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN
    a18417e27ed8 exit: Use READ_ONCE() for all oops/warn limit reads
    3f38c2170714 docs: Fix path paste-o for /sys/kernel/warn_count
    72c93f9897e9 panic: Expose "warn_count" to sysfs
    f53b6dda4d9b panic: Introduce warn_limit
    13aa82f00727 panic: Consolidate open-coded panic_on_warn checks
    e0738725bbf6 exit: Allow oops_limit to be disabled
    46cacd7913c8 exit: Expose "oops_count" to sysfs
    767997ef5dc0 exit: Put an upper limit on how often we can oops
    acc767cc70ce panic: Separate sysctl logic from CONFIG_SMP
    72b0e5faa514 efi: rt-wrapper: Add missing include
    f75a91c82dc8 arm64: efi: Execute runtime services from a dedicated stack
    ff3b1a624380 fs/ntfs3: Fix attr_punch_hole() null pointer derenference
    b542cb024a5d cifs: reduce roundtrips on create/qinfo requests
    bf9261e4536f drm/amd/display: disable S/G display on DCN 3.1.4
    3ad10fc4ad37 drm/amd/display: disable S/G display on DCN 3.1.5
    b105b79ea050 drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix
    87e84d0ff97c drm/amd/display: Calculate output_color_space after pixel encoding adjustment
    032cebdff71e drm/amd/display: Fix set scaling doesn's work
    92c39d699592 drm/i915: Remove unused variable
    4397bcbd729d drm/i915: Allow switching away via vga-switcheroo if uninitialized
    597747eb58a7 drm/i915/display: Check source height is > 0
    38a9b17d3b58 drm/i915: re-disable RC6p on Sandy Bridge
    8dabe4e0daa9 drm/amdgpu: Correct the power calcultion for Renior/Cezanne.
    d693fdf73eb2 drm/amdgpu: allow multipipe policy on ASICs with one MEC
    af4a3c274a92 drm/amdgpu: fix amdgpu_job_free_resources v2
    cfb7a66c99ad ARM: omap1: fix !ARCH_OMAP1_ANY link failures
    4cc5622b2e9a ARM: dts: qcom: apq8084-ifc6540: fix overriding SDHCI
    548ea9dd5e01 VMCI: Use threaded irqs instead of tasklets
    32b39dccd69b mei: me: add meteor lake point M DID
    a63171d0979c mei: bus: fix unlink on bus in error path
    6646d769fdb0 gsmi: fix null-deref in gsmi_get_variable
    1c5aaff754f3 serial: exar: Add support for Sealevel 7xxxC serial cards
    13efa6b1a304 serial: atmel: fix incorrect baudrate setup
    ab47d385da12 serial: amba-pl011: fix high priority character transmission in rs486 mode
    e7c07deaa193 dmaengine: idxd: Do not call DMX TX callbacks during workqueue disable
    b9e8e3fcfec6 dmaengine: idxd: Prevent use after free on completion memory
    99dc4520b74e dmaengine: idxd: Let probe fail when workqueue cannot be enabled
    8802fea8dd7f dmaengine: tegra210-adma: fix global intr clear
    16848cad1a48 dmaengine: lgm: Move DT parsing after initialization
    16b18ee00c40 serial: pch_uart: Pass correct sg to dma_unmap_sg()
    caf81ca977b3 dt-bindings: phy: g12a-usb3-pcie-phy: fix compatible string documentation
    f1288e054995 dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation
    1f1007d1301b arm64: dts: imx8mp: correct usb clocks
    2cab24bd8f43 usb-storage: apply IGNORE_UAS only for HIKSEMI MD202 on RTL9210
    09e4507ec8ef usb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate()
    96abcf7230d7 USB: gadget: Add ID numbers to configfs-gadget driver names
    f9c8c6b34d5d usb: gadget: g_webcam: Send color matching descriptor per frame
    184cfc6afb55 usb: typec: altmodes/displayport: Fix pin assignment calculation
    632b223797a9 usb: typec: altmodes/displayport: Add pin assignment helper
    9a027eeb9860 usb: typec: tcpm: Fix altmode re-registration causes sysfs create fail
    421492f229f0 usb: musb: fix error return code in omap2430_probe()
    b3fdc02c6123 usb: host: ehci-fsl: Fix module alias
    34f207ed1c10 usb: cdns3: remove fetched trb from cache before dequeuing
    feb7840e57ca USB: serial: cp210x: add SCALANCE LPE-9000 device id
    616fd34d0170 USB: gadgetfs: Fix race between mounting and unmounting
    f59549814a64 selftests: mptcp: userspace: validate v4-v6 subflows mix
    f44ce132016f mptcp: netlink: respect v4/v6-only sockets
    1423c12b4f0c mptcp: explicitly specify sock family at subflow creation time
    36fc7317cdb1 io_uring/poll: don't reissue in case of poll race on multishot request
    66144d830f59 pktcdvd: check for NULL returna fter calling bio_split_to_limits()
    64152e05a4de tty: fix possible null-ptr-defer in spk_ttyio_release
    fd524ca7fe45 tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer
    8de08b0c44ae bpf: restore the ebpf program ID for BPF_AUDIT_UNLOAD and PERF_BPF_EVENT_PROG_UNLOAD
    ea41602d3b2f riscv: dts: sifive: fu740: fix size of pcie 32bit memory
    d1b531efcb8e thunderbolt: Do not call PM runtime functions in tb_retimer_scan()
    16b4b0f8e5a0 thunderbolt: Do not report errors if on-board retimers are found
    15a2e23fd585 thunderbolt: Use correct function to calculate maximum USB3 link rate
    627ae8c6271e thunderbolt: Disable XDomain lane 1 only in software connection manager
    d048df8baf90 cifs: do not include page data when checking signature
    1004fc90f0d7 btrfs: fix race between quota rescan and disable leading to NULL pointer deref
    8af00fc7b670 btrfs: fix invalid leaf access due to inline extent during lseek
    bb2c2e62539f btrfs: qgroup: do not warn on record without old_roots populated
    34fe5b527e68 btrfs: do not abort transaction on failure to update log root
    23ffd7fc231a btrfs: do not abort transaction on failure to write log tree when syncing log
    076fb040d447 btrfs: add missing setup of log for full commit at add_conflicting_inode()
    f4c0df59e01a btrfs: fix directory logging due to race with concurrent index key deletion
    168492decbb6 btrfs: fix missing error handling when logging directory items
    6ec841132994 btrfs: add extra error messages to cover non-ENOMEM errors from device_add_list()
    f2f52dd4f50f mm/MADV_COLLAPSE: don't expand collapse when vm_end is past requested end
    bcde505af166 mm/userfaultfd: enable writenotify while userfaultfd-wp is enabled for a VMA
    3b8ede66658c mm/hugetlb: pre-allocate pgtable pages for uffd wr-protects
    8d6a675cd744 mm/hugetlb: fix uffd-wp handling for migration entries in hugetlb_change_protection()
    6062c992e912 mm/hugetlb: fix PTE marker handling in hugetlb_change_protection()
    33b161041471 mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting
    b7465be89040 mmc: sunxi-mmc: Fix clock refcount imbalance during unbind
    7a106e8a1cdb ACPI: PRM: Check whether EFI runtime is available
    580a2a541273 comedi: adv_pci1760: Fix PWM instruction handling
    6a1594a780e7 usb: core: hub: disable autosuspend for TI TUSB8041
    079c78c68714 misc: fastrpc: Fix use-after-free race condition for maps
    35ddd482345c misc: fastrpc: Don't remove map on creater_process and device_release
    a50c5c25b6e7 misc: fastrpc: Fix use-after-free and race in fastrpc_map_find
    bab5687f4d1b usb: misc: onboard_hub: Move 'attach' work to the driver
    cbb0da62573c usb: misc: onboard_hub: Invert driver registration order
    aa5b95982f45 USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100
    5d6ecc63abb4 staging: vchiq_arm: fix enum vchiq_status return types
    32117ec83932 USB: serial: option: add Quectel EM05CN modem
    2c163640ed73 USB: serial: option: add Quectel EM05CN (SG) modem
    5fd46948fd51 USB: serial: option: add Quectel EC200U modem
    1048bc1b852d USB: serial: option: add Quectel EM05-G (RS) modem
    1e39e0b47ce6 USB: serial: option: add Quectel EM05-G (CS) modem
    4173c542195c USB: serial: option: add Quectel EM05-G (GR) modem
    91185568c99d prlimit: do_prlimit needs to have a speculation check
    08bf23c33979 xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables
    b7904d20157c usb: acpi: add helper to check port lpm capability using acpi _DSM
    8c36de093546 xhci: Add a flag to disable USB3 lpm on a xhci root port level.
    60c1eb013e1e xhci: Add update_hub_device override for PCI xHCI hosts
    ea2ee5e9991c xhci: Fix null pointer dereference when host dies
    08864dc14a68 usb: xhci: Check endpoint is valid before dereferencing it
    0a8a71c4cb7d xhci-pci: set the dma max_seg_size
    806e5ac71d34 Revert "serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler"
    2b5412ca6fd3 serial: stm32: Merge hard IRQ and threaded IRQ handling into single IRQ handler
    48b94e49980b mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma
    63f71b860901 hugetlb: unshare some PMDs when splitting VMAs
    1cb76f566949 mm/shmem: restore SHMEM_HUGE_DENY precedence over MADV_COLLAPSE
    0bf463939c09 nilfs2: fix general protection fault in nilfs_btree_insert()
    d3317baa34e9 zonefs: Detect append writes at invalid locations
    87615c0e5351 LoongArch: Add HWCAP_LOONGARCH_CPUCFG to elf_hwcap
    51a7ad5b60ef Add exception protection processing for vd in axi_chan_handle_err function
    6d114116da1b proc: fix PIE proc-empty-vm, proc-pid-vm tests
    e733121383c0 nommu: fix split_vma() map_count error
    6447569f4fce nommu: fix do_munmap() error path
    1442d51026c5 nommu: fix memory leak in do_mmap() error path
    a57c981d9f24 wifi: mac80211: fix initialization of rx->link and rx->link_sta
    c838df8461a6 wifi: mac80211: sdata can be NULL during AMPDU start
    b8d1d53bef5e wifi: mac80211: reset multiple BSSID options in stop_ap()
    10644c9828c8 wifi: mac80211: fix MLO + AP_VLAN check
    1590cee5342e wifi: brcmfmac: fix regression for Broadcom PCIe wifi devices
    ea3ebda47dd5 Bluetooth: hci_qca: Fix driver shutdown on closed serdev
    3b062a48b0de Bluetooth: hci_sync: Fix use HCI_OP_LE_READ_BUFFER_SIZE_V2
    4e18618ced3b fbdev: omapfb: avoid stack overflow warning
    b019db2fcf09 of: fdt: Honor CONFIG_CMDLINE* even without /chosen node, take 2
    3848b6b2a696 perf/x86/rapl: Add support for Intel Emerald Rapids
    f5f3c924f4fd perf/x86/rapl: Add support for Intel Meteor Lake
    6fb614c68406 memblock tests: Fix compilation error.
    060266625604 cifs: fix race in assemble_neg_contexts()
    66c8b7b6e4bd perf/x86/rapl: Treat Tigerlake like Icelake
    1c38cdc747f0 f2fs: let's avoid panic if extent_tree is not created
    8ca718778b77 x86/asm: Fix an assembler warning with current binutils
    853ffa1511b0 btrfs: always report error in run_one_delayed_ref()
    5744ba445c9a selftests: net: fix cmsg_so_mark.sh test hang
    307e8d9eef65 RDMA/srp: Move large values to a new enum for gcc13
    6c27fc157479 bpf: keep a reference to the mm, in case the task is dead.
    af0bedfbcb81 r8169: fix dmar pte write access is not set error
    315a779c838d r8169: move rtl_wol_enable_rx() and rtl_prepare_power_down()
    27b510785068 net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats
    11891c80f1a9 vdpa_sim_net: should not drop the multicast/broadcast packet
    c6c6af90101f vduse: Validate vq_num in vduse_validate_config()
    ab23a6dbfc72 virtio_pci: modify ENOENT to EINVAL
    af3fca732e9a vdpa/mlx5: Avoid overwriting CVQ iotlb
    909b96557b38 vdpa/mlx5: Avoid using reslock in event_handler
    6dbffca77f12 vdpa/mlx5: Return error on vlan ctrl commands if not supported
    dc6466fcdefe tools/virtio: initialize spinlocks in vring_test.c
    a65644cef5db net: ethernet: marvell: octeontx2: Fix uninitialized variable warning
    2e5d5c4ae77d selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID
    16e7fb3cc305 pNFS/filelayout: Fix coalescing test for single DS
    77043645aa6c wifi: iwlwifi: fw: skip PPAG for JF
    d1607059375d btrfs: fix trace event name typo for FLUSH_DELAYED_REFS
    34762a3d6a85 dma-buf: fix dma_buf_export init order v2

(From OE-Core rev: 13b7e9a13488fc66564f11871699a71b9f895fad)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
Bruce Ashfield
885dd2abcc linux-yocto/6.1: cfg: remove depreciated configs
Integrating the following commit(s) to linux-yocto/.:

    dcb315fe731 media/media-usb-tv: remove tm6000 config
    45a27304655 media/media-pci-capture: remove deprecated configs

(From OE-Core rev: 977b95b6f4bbb51776a0d573839370756d8117e8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
Bruce Ashfield
c112613967 linux-yocto/5.15: update to v5.15.89
Updating  to the latest korg -stable release that comprises
the following commits:

    3bcc86eb3ed9 Linux 5.15.89
    37c18ef49ec3 pinctrl: amd: Add dynamic debugging for active GPIOs
    a5841b81adfa Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"
    7ec9a45fc4ee block: handle bio_split_to_limits() NULL return
    ba86db02d408 io_uring/io-wq: only free worker if it was allocated for creation
    bb135bcc9499 io_uring/io-wq: free worker if task_work creation is canceled
    63c2fa09b856 scsi: mpt3sas: Remove scsi_dma_map() error messages
    e2ea55564229 efi: fix NULL-deref in init error path
    94b6cf84db42 arm64: cmpxchg_double*: hazard against entire exchange variable
    3891fa4982b9 arm64: atomics: remove LL/SC trampolines
    61e86339af2a arm64: atomics: format whitespace consistently
    ed4629d1e968 io_uring: lock overflowing for IOPOLL
    fbf501514182 KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID
    ee16841134be Documentation: KVM: add API issues section
    b8f3b3cffb4a mm: Always release pages to the buddy allocator in memblock_free_late().
    d2dc110deabe platform/surface: aggregator: Add missing call to ssam_request_sync_free()
    cfd5978411ed igc: Fix PPS delta between two synchronized end-points
    0bf52601ced1 perf build: Properly guard libbpf includes
    205f35eee7be net/mlx5e: Don't support encap rules with gbp option
    0526fc9330fe net/mlx5: Fix ptp max frequency adjustment range
    9e2c38827cdc net/sched: act_mpls: Fix warning during failed attribute validation
    e3bb44beafde tools/nolibc: fix the O_* fcntl/open macro definitions for riscv
    1e6ec75bb3b5 tools/nolibc: restore mips branch ordering in the _start block
    bd0431a66c39 tools/nolibc: Remove .global _start from the entry point code
    a77c54f5b50c tools/nolibc/arch: mark the _start symbol as weak
    da51e086d154 tools/nolibc/arch: split arch-specific code into individual files
    8591e788bea3 tools/nolibc/types: split syscall-specific definitions into their own files
    4fceecdeaa8a tools/nolibc/std: move the standard type definitions to std.h
    1792136f228e tools/nolibc: use pselect6 on RISCV
    487386a49e01 tools/nolibc: x86-64: Use `mov $60,%eax` instead of `mov $60,%rax`
    27af4f2260cd tools/nolibc: x86: Remove `r8`, `r9` and `r10` from the clobber list
    a60b24192b1f af_unix: selftest: Fix the size of the parameter to connect()
    39ae73e58111 nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
    f6003784b1f6 hvc/xen: lock console list traversal
    79c58b74244d octeontx2-af: Fix LMAC config in cgx_lmac_rx_tx_enable
    303d06288122 tipc: fix unexpected link reset due to discovery messages
    e79d0f97cc6e ALSA: usb-audio: Relax hw constraints for implicit fb sync
    c9557906bd3b ALSA: usb-audio: Make sure to stop endpoints before closing EPs
    83e758105bc8 ASoC: wm8904: fix wrong outputs volume after power reactivation
    7c26d218729b scsi: ufs: core: WLUN suspend SSU/enter hibern8 fail recovery
    513fdf0b8e20 scsi: ufs: Stop using the clock scaling lock in the error handler
    13259b60b71b scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
    470f6a9175f1 regulator: da9211: Use irq handler when ready
    24107ad469df x86/resctrl: Fix task CLOSID/RMID update race
    cd3da505fb35 EDAC/device: Fix period calculation in edac_device_reset_delay_period()
    ab0d02c53a60 x86/boot: Avoid using Intel mnemonics in AT&T syntax asm
    a90d339f1f66 powerpc/imc-pmu: Fix use of mutex in IRQs disabled section
    511cf17b2447 netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
    b22faa21b623 sched/core: Fix use-after-free bug in dup_user_cpus_ptr()
    d766ccadbe85 iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
    c929a230c844 iommu/iova: Fix alloc iova overflows issue
    4b51aa263ae4 usb: ulpi: defer ulpi_register on ulpi_read_id timeout
    9a8bf443f6a2 bus: mhi: host: Fix race between channel preparation and M0 event
    456e3794e08a ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
    4c93422a54cd ixgbe: fix pci device refcount leak
    e97da5d97a97 platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe
    f3b1e04daf86 dt-bindings: msm/dsi: Don't require vcca-supply on 14nm PHY
    52a5f596c6cc dt-bindings: msm/dsi: Don't require vdds-supply on 10nm PHY
    984ad875db80 drm/msm/dp: do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer
    92ae83665e9e platform/x86: ideapad-laptop: Add Legion 5 15ARH05 DMI id to set_fn_lock_led_list[]
    e38b5f81dfa8 dt-bindings: msm: dsi-phy-28nm: Add missing qcom, dsi-phy-regulator-ldo-mode
    bb32ab40cb7f dt-bindings: msm: dsi-controller-main: Fix description of core clock
    3fb8d10beef9 dt-bindings: msm: dsi-controller-main: Fix power-domain constraint
    dc5b651cad66 drm/msm/adreno: Make adreno quirks not overwrite each other
    757d665ee1fe dt-bindings: msm: dsi-controller-main: Fix operating-points-v2 constraint
    c90cf47d309a platform/x86: dell-privacy: Fix SW_CAMERA_LENS_COVER reporting
    25b5f693bc2d platform/surface: aggregator: Ignore command messages not intended for us
    ee7b8ce2cc28 platform/x86: dell-privacy: Only register SW_CAMERA_LENS_COVER if present
    e0072068adaf cifs: Fix uninitialized memory read for smb311 posix symlink create
    f3495b5e9e68 net/mlx5e: Set action fwd flag when parsing tc action goto
    1a8431cc202a drm/i915/gt: Reset twice
    011ecdbcd520 drm/virtio: Fix GEM handle creation UAF
    798dfeeae33d s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
    a400593eb373 s390/cpum_sf: add READ_ONCE() semantics to compare and swap loops
    d4fa65960a9d ASoC: qcom: lpass-cpu: Fix fallback SD line index handling
    8400b91c11db s390/kexec: fix ipl report address for kdump
    c07e0babd1df perf auxtrace: Fix address filter duplicate symbol selection
    e81d82da619a net: stmmac: add aux timestamps fifo clearance wait
    44167b74a8a3 docs: Fix the docs build with Sphinx 6.0
    24176bf2a145 efi: tpm: Avoid READ_ONCE() for accessing the event log
    01b966b14c6e selftests: kvm: Fix a compile error in selftests/kvm/rseq_test.c
    c773ebe11c39 KVM: arm64: nvhe: Fix build with profile optimization
    c1d6a72fc810 KVM: arm64: Fix S1PTW handling on RO memslots
    e04e6cd8830f ALSA: hda/realtek: Enable mute/micmute LEDs on HP Spectre x360 13-aw0xxx
    b983c9a9714e ALSA: hda/realtek - Turn on power early
    9ab3696881ca ALSA: control-led: use strscpy in set_led_id()
    a8acfe2c6fb9 netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits
    90bb4f8f399f Linux 5.15.88
    cbd3e6d5e516 ALSA: hda - Enable headset mic on another Dell laptop with ALC3254
    b98dee474642 ALSA: hda/hdmi: Add a HP device 0x8715 to force connect list
    26350c21bc5e ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
    dadd0dcaa67d net/ulp: prevent ULP without clone op from entering the LISTEN status
    04941c1d5bb5 net: sched: disallow noqueue for qdisc classes
    068b51219362 serial: fixup backport of "serial: Deassert Transmit Enable on probe in driver-specific way"
    46aa1557581f selftests/vm/pkeys: Add a regression test for setting PKRU through ptrace
    3c1940c54922 x86/fpu: Emulate XRSTOR's behavior if the xfeatures PKRU bit is not set
    3f1c81426a9f x86/fpu: Allow PKRU to be (once again) written by ptrace.
    b29773d6b0bb x86/fpu: Add a pkru argument to copy_uabi_to_xstate()
    9813c5fc22bc x86/fpu: Add a pkru argument to copy_uabi_from_kernel_to_xstate().
    fea26e83a196 x86/fpu: Take task_struct* in copy_sigframe_from_user_to_xstate()
    d4d152017e1d parisc: Align parisc MADV_XXX constants with all other architectures

(From OE-Core rev: 6398ae4f5c5d07500ffdf0ae1bc0ecf80b63dbca)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
Bruce Ashfield
1f6588bc00 linux-yocto/6.1: update to v6.1.7
Updating  to the latest korg -stable release that comprises
the following commits:

    21e996306a6a Linux 6.1.7
    046c9972dd40 pinctrl: amd: Add dynamic debugging for active GPIOs
    86cd9d9ebda6 Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"
    73a630b359c8 block: handle bio_split_to_limits() NULL return
    e62e6258ab14 io_uring/io-wq: only free worker if it was allocated for creation
    0a14c3ded80c io_uring/io-wq: free worker if task_work creation is canceled
    3925336af00f drm/i915: Fix CFI violations in gt_sysfs
    c06015ebc436 io_uring/poll: attempt request issue after racy poll wakeup
    7fc3990dad04 io_uring: lock overflowing for IOPOLL
    adc96d30f650 efi: fix NULL-deref in init error path
    a474d4ad59cd ALSA: usb-audio: Fix possible NULL pointer dereference in snd_usb_pcm_has_fixed_rate()
    394416282129 platform/x86/amd: Fix refcount leak in amd_pmc_probe
    50b3cdf8239b platform/surface: aggregator: Add missing call to ssam_request_sync_free()
    de76fc134f74 bnxt: make sure we return pages to the pool
    4fe577ad7b29 net: hns3: fix wrong use of rss size during VF rss config
    c2258d55935c net: lan966x: check for ptp to be enabled in lan966x_ptp_deinit()
    bbc17e883cba igc: Fix PPS delta between two synchronized end-points
    8c3dc300617c perf kmem: Support field "node" in evsel__process_alloc_event() coping with recent tracepoint restructuring
    4e81a8a47dc6 perf kmem: Support legacy tracepoints
    d4bc9f017f31 perf build: Properly guard libbpf includes
    c8ca0ad10df0 octeontx2-pf: Fix resource leakage in VF driver unbind
    0daf5f4a1eef selftests/net: l2_tos_ttl_inherit.sh: Ensure environment cleanup on failure.
    2440f74a9967 selftests/net: l2_tos_ttl_inherit.sh: Run tests in their own netns.
    1621f9a53948 selftests/net: l2_tos_ttl_inherit.sh: Set IPv6 addresses with "nodad".
    514d9c6a3921 net/mlx5e: Fix macsec possible null dereference when updating MAC security entity (SecY)
    9be4e25bdc1f net/mlx5e: Fix macsec ssci attribute handling in offload path
    e02190787f11 net/mlx5e: Don't support encap rules with gbp option
    f594f740c352 net/mlx5: Fix ptp max frequency adjustment range
    0fa15a13670d net/mlx5e: IPoIB, Fix child PKEY interface stats on rx path
    5844a46f09f7 net/mlx5e: IPoIB, Block PKEY interfaces with less rx queues than parent
    b5f108e202b7 net/mlx5e: IPoIB, Block queue count configuration when sub interfaces are present
    798604a1bd6e net/mlx5e: Verify dev is present for fix features ndo
    ddf458641a51 net/mlx5: Fix command stats access after free
    1f232fb61913 net/mlx5e: TC, Keep mod hdr actions after mod hdr alloc
    39124c14af45 net/mlx5: check attr pointer validity before dereferencing it
    7697de4ad708 Revert "r8169: disable detection of chip version 36"
    8a97b544b98e net/sched: act_mpls: Fix warning during failed attribute validation
    7ac9578e45b2 drm/vmwgfx: Remove rcu locks from user resources
    a3be7e2afc43 drm/vmwgfx: Remove vmwgfx_hashtab
    7f3d691dedfe drm/vmwgfx: Refactor ttm reference object hashtable to use linux/hashtable.
    e98d62090b6d drm/vmwgfx: Refactor resource validation hashtable to use linux/hashtable implementation.
    c00e42f1c9f1 drm/vmwgfx: Remove ttm object hashtable
    8557e0e42e02 drm/vmwgfx: Refactor resource manager's hashtable to use linux/hashtable implementation.
    2f3313c55544 drm/vmwgfx: Write the driver id registers
    96a987318855 ice: Add check for kzalloc
    500ca1da9d08 ice: Fix potential memory leak in ice_gnss_tty_write()
    f2faf0699af7 drm/amdgpu: Fix potential NULL dereference
    cd57d5e5e28e tools/nolibc: fix the O_* fcntl/open macro definitions for riscv
    91fa2bd35280 tools/nolibc: restore mips branch ordering in the _start block
    c878ac66db42 ASoC: qcom: Fix building APQ8016 machine driver without SOUNDWIRE
    31a997c40a8a af_unix: selftest: Fix the size of the parameter to connect()
    0b1605e45c36 gro: take care of DODGY packets
    df9cddce8f99 gro: avoid checking for a failed search
    8998db5021a2 nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
    7bed0d49ca35 hvc/xen: lock console list traversal
    92b0051217f2 sched/core: Fix arch_scale_freq_tick() on tickless systems
    d995fadd7f09 octeontx2-af: Fix LMAC config in cgx_lmac_rx_tx_enable
    973acfdfe90c nfsd: fix handling of cached open files in nfsd4_open codepath
    0aba4dd7f269 nfsd: rework refcounting in filecache
    65469b10522f NFSD: Add an nfsd_file_fsync tracepoint
    4ec7a0f277d0 nfsd: reorganize filecache.c
    d7a6c190012a nfsd: remove the pages_flushed statistic from filecache
    1c36dc563e1c NFSD: Add an NFSD_FILE_GC flag to enable nfsd_file garbage collection
    7e4d3d500458 NFSD: Revert "NFSD: NFSv4 CLOSE should release an nfsd_file immediately"
    90d5095b76f4 NFSD: Pass the target nfsd_file to nfsd_commit()
    5ac01865a2b9 tipc: fix unexpected link reset due to discovery messages
    34aed3646e82 stmmac: dwmac-mediatek: remove the dwmac_fix_mac_speed
    0d81b8e86e75 ALSA: usb-audio: Relax hw constraints for implicit fb sync
    254328ba4cd3 ALSA: usb-audio: Make sure to stop endpoints before closing EPs
    fc78cb85abd0 mtd: cfi: allow building spi-intel standalone
    6e4131245240 mtd: parsers: scpart: fix __udivdi3 undefined on mips
    c5d032482c23 ASoC: wm8904: fix wrong outputs volume after power reactivation
    c6fa1de83fd8 drm/msm/dpu: Fix memory leak in msm_mdss_parse_data_bus_icc_path
    7928737dd149 drm/msm/dpu: Fix some kernel-doc comments
    fba1b23befd8 ASoC: Intel: sof-nau8825: fix module alias overflow
    bc9b113d3c88 ASoC: Intel: sof_nau8825: support rt1015p speaker amplifier
    c8eb7ac95a1e ASoC: Intel: fix sof-nau8825 link failure
    bf5838132d1e scsi: ufs: core: WLUN suspend SSU/enter hibern8 fail recovery
    9bfa3a615037 scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
    87c71e88f6a6 scsi: storvsc: Fix swiotlb bounce buffer leak in confidential VM
    ad1336274f73 regulator: da9211: Use irq handler when ready
    07ac5db2d840 x86/resctrl: Fix event counts regression in reused RMIDs
    d01c6557478b x86/resctrl: Fix task CLOSID/RMID update race
    c1c59538337a x86/pat: Fix pat_x_mtrr_type() for MTRR disabled case
    1dc8c5574cc2 EDAC/device: Fix period calculation in edac_device_reset_delay_period()
    b43d52eeca7d x86/boot: Avoid using Intel mnemonics in AT&T syntax asm
    424bcb570cb3 powerpc/imc-pmu: Fix use of mutex in IRQs disabled section
    213b22abdf8f selftests: netfilter: fix transaction test script timeout handling
    e88865876d47 netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
    7b5cc7fd1789 sched/core: Fix use-after-free bug in dup_user_cpus_ptr()
    bad1a2194485 iommu/arm-smmu: Report IOMMU_CAP_CACHE_COHERENCY even betterer
    a1b9c7b1978a iommu/arm-smmu: Don't unregister on shutdown
    abebd865a896 iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
    ead3e6c79479 iommu/arm-smmu-v3: Don't unregister on shutdown
    61cbf790e732 iommu/iova: Fix alloc iova overflows issue
    68a6f7dbf8a4 mm: Always release pages to the buddy allocator in memblock_free_late().
    309278736f35 drm/amdgpu: enable VCN DPG for GC IP v11.0.4
    e30be0ada6e2 drm/amdgpu: Enable pg/cg flags on GC11_0_4 for VCN
    6ef4543f1f3b drm/amdgpu: add soc21 common ip block support for GC 11.0.4
    d90de26bdc97 drm/amd/pm: enable GPO dynamic control support for SMU13.0.7
    d167ce6c47db drm/amd/pm: enable GPO dynamic control support for SMU13.0.0
    5e594dbf6e76 drm/amd/pm: Enable bad memory page/channel recording support for smu v13_0_0
    e59d46eed1d9 drm/amd/pm: enable mode1 reset on smu_v13_0_10
    9bd180b6f9d0 usb: ulpi: defer ulpi_register on ulpi_read_id timeout
    5c855bcc7306 drm/i915/gt: Cleanup partial engine discovery failures
    5e4194d89ffe iavf/iavf_main: actually log ->src mask when talking about it
    0afa5f073658 ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
    c49996c6aa03 ixgbe: fix pci device refcount leak
    fb8534b7960f platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe
    0f21e225ff48 dt-bindings: msm/dsi: Don't require vcca-supply on 14nm PHY
    3c0d5bb904a2 dt-bindings: msm/dsi: Don't require vdds-supply on 10nm PHY
    b7dcbca46db3 drm/msm/dp: do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer
    4b5d9c95b437 platform/x86: ideapad-laptop: Add Legion 5 15ARH05 DMI id to set_fn_lock_led_list[]
    21e5eca0ac90 arm64/mm: fix incorrect file_map_count for invalid pmd
    06f8be16be51 arm64: ptrace: Use ARM64_SME to guard the SME register enumerations
    a9a6715272a7 dt-bindings: msm: dsi-phy-28nm: Add missing qcom, dsi-phy-regulator-ldo-mode
    a006aaffd78f arm64/mm: add pud_user_exec() check in pud_user_accessible_page()
    05458ee3ff82 arm64/signal: Always accept SVE signal frames on SME only systems
    4b855673cf3d dt-bindings: msm: dsi-controller-main: Fix description of core clock
    b5affe7e0b3a dt-bindings: msm: dsi-controller-main: Fix power-domain constraint
    4fa6b43ba44b arm64/signal: Always allocate SVE signal frames on SME only systems
    b72bd13bc500 drm/msm/adreno: Make adreno quirks not overwrite each other
    d0f52562b891 firmware/psci: Don't register with debugfs if PSCI isn't available
    a30aafcfba8f firmware/psci: Fix MEM_PROTECT_RANGE function numbers
    b107b08c41b3 drm/msm: another fix for the headless Adreno GPU
    96ec2f82aea0 dt-bindings: msm: dsi-controller-main: Fix operating-points-v2 constraint
    dfa4ff480fe6 platform/x86: dell-privacy: Fix SW_CAMERA_LENS_COVER reporting
    0e082105895c platform/x86: asus-wmi: Don't load fan curves without fan
    127bf1d6bfe3 platform/x86: thinkpad_acpi: Fix profile mode display in AMT mode
    c7acfd933d96 platform/x86: int3472/discrete: Ensure the clk/power enable pins are in output mode
    7221c2a7be64 platform/surface: aggregator: Ignore command messages not intended for us
    3a79bad87616 platform/x86: dell-privacy: Only register SW_CAMERA_LENS_COVER if present
    1f4a9408024e ACPI: video: Allow selecting NVidia-WMI-EC or Apple GMUX backlight from the cmdline
    462ed8a2beba ASoC: rt9120: Make dev PM runtime bind AsoC component PM
    617401df4605 io_uring/fdinfo: include locked hash table in fdinfo output
    f0f326dc9794 cifs: fix double free on failed kerberos auth
    888c060bc327 cifs: do not query ifaces on smb1 mounts
    d54a3ef8b8bd cifs: fix file info setting in cifs_open_file()
    5a574327d1c5 cifs: fix file info setting in cifs_query_path_info()
    d4b7ff9edebc cifs: Fix uninitialized memory read for smb311 posix symlink create
    f905e03c8ff6 Revert "drm/amdgpu: Revert "drm/amdgpu: getting fan speed pwm for vega10 properly""
    69a75087cd1f drm/amd/display: move remaining FPU code to dml folder
    363781f72d46 drm/amd/pm: add the missing mapping for PPT feature on SMU13.0.0 and 13.0.7
    b435f68e415c drm/amd/pm: correct the reference clock for fan speed(rpm) calculation
    9196eb7c52e5 drm/amdgpu: Fixed bug on error when unloading amdgpu
    dcfeba477b3e drm/amd: Delay removal of the firmware framebuffer
    b696c627b3f5 drm/i915: Fix potential context UAFs
    8874730ecefe drm/i915: Reserve enough fence slot for i915_vma_unbind_async
    4009502c091c drm/i915/gt: Reset twice
    42526442fe3e drm: Optimize drm buddy top-down allocation method
    b8e6fc445990 drm/amd/pm/smu13: BACO is supported when it's in BACO state
    adc48e5e408a drm/virtio: Fix GEM handle creation UAF
    b6ac9ded42ae s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
    45a584f139e8 s390/cpum_sf: add READ_ONCE() semantics to compare and swap loops
    ba518c5b6429 cpufreq: amd-pstate: fix kernel hang issue while amd-pstate unregistering
    80a82f6eb3b7 elfcore: Add a cprm parameter to elf_core_extra_{phdrs,data_size}
    5fc5cdee8ef2 ASoC: qcom: lpass-cpu: Fix fallback SD line index handling
    20fa7855af45 brcmfmac: Prefer DT board type over DMI board type
    ab4b5a2154bc s390/kexec: fix ipl report address for kdump
    90e585b6ab23 perf auxtrace: Fix address filter duplicate symbol selection
    2da1ba6f56f6 net: stmmac: add aux timestamps fifo clearance wait
    0bb6742bf81a ACPI: Fix selecting wrong ACPI fwnode for the iGPU on some Dell laptops
    8f282a84f31c arm64: cmpxchg_double*: hazard against entire exchange variable
    f5731a792486 arm64: mte: Avoid the racy walk of the vma list during core dump
    87b3a402bbc5 arm64: mte: Fix double-freeing of the temporary tag storage during coredump
    4ad6c0635416 io_uring/poll: add hash if ready poll request can't complete inline
    78c8b66a697a docs: Fix the docs build with Sphinx 6.0
    e2cee489f24f efi: tpm: Avoid READ_ONCE() for accessing the event log
    5b66b27b9dee efi: fix userspace infinite retry read efivars after EFI runtime services page fault
    9a1195c58432 KVM: arm64: Fix S1PTW handling on RO memslots
    d778e68faa6a KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID
    82972d60f46f ALSA: hda/realtek: Enable mute/micmute LEDs on HP Spectre x360 13-aw0xxx
    779c7c7ea8e0 ALSA: hda/realtek - Turn on power early
    e1e0a181aea3 ALSA: usb-audio: Always initialize fixed_rate in snd_usb_find_implicit_fb_sync_format()
    e59e115d67d6 ALSA: control-led: use strscpy in set_led_id()
    303a04b6562e Revert "ALSA: usb-audio: Drop superfluous interface setup at parsing"
    76ef74d4a379 netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits
    38f3ee12661f Linux 6.1.6
    cb9b3951d636 ALSA: hda: cs35l41: Check runtime suspend capability at runtime_idle
    a6d58eff4f83 ALSA: hda - Enable headset mic on another Dell laptop with ALC3254
    8107550bfe11 ALSA: hda: cs35l41: Don't return -EINVAL from system suspend/resume
    57f6bea5218c ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform
    0e19738afc84 ALSA: hda/hdmi: Add a HP device 0x8715 to force connect list
    d6ad4bd1d896 ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
    e8988e878af6 net: sched: disallow noqueue for qdisc classes
    cd2e80a3ac70 gcc: disable -Warray-bounds for gcc-11 too
    8cc0e63ba86c Revert "SUNRPC: Use RMW bitops in single-threaded hot paths"
    29fbaa434c22 selftests/vm/pkeys: Add a regression test for setting PKRU through ptrace
    d2602da3da87 x86/fpu: Emulate XRSTOR's behavior if the xfeatures PKRU bit is not set
    587478470b0a x86/fpu: Allow PKRU to be (once again) written by ptrace.
    bfa72faf69e8 x86/fpu: Add a pkru argument to copy_uabi_to_xstate()
    a442736b704d x86/fpu: Add a pkru argument to copy_uabi_from_kernel_to_xstate().
    f28418b06f6b x86/fpu: Take task_struct* in copy_sigframe_from_user_to_xstate()
    763b92568726 parisc: Align parisc MADV_XXX constants with all other architectures

(From OE-Core rev: 18aaa6ae51d1e1d51a7eeeebf011adccc727efc0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 09:50:02 +00:00
Peter Kjellerstedt
72bcdc3755 poky.conf: Switch to post release name/version
(From meta-yocto rev: b586654a4f0cd782de833106aff96b613b70b62b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:55 +00:00
Mingli Yu
7e36861eb3 glslang: branch rename master -> main
Branch name is changed from master to main.

(From OE-Core rev: 65ee4c1067ee5d73c198eed8ed2f1c9a60d5df96)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Ross Burton
c24a83ed4a httpserver: add error handler that write to the logger
(From OE-Core rev: a4bcca3123685f410fc99e5cc23f2b8f39fd0a63)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Ross Burton
f6a1c8c309 oeqa/utils/httpserver: connect up the request logging
Call logger.info() in the log_message handler so that we get request
logging, and hopefully even error messages.

Create a child logger to be neat and compartmentalise the logging.

Add a __main__ entrypoint so this class can be exercised outside of oeqa.

Remove unused traceback import.

(From OE-Core rev: 8fc939d942cec1662ca386b87c63f167bb10fd05)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Ross Burton
d8ec2bbc77 sdkext/cases/devtool: pass a logger to HTTPService
Pass our logger to the HTTPService instance so we can see the requests
and any errors.

(From OE-Core rev: 3485df2ff61143aac03d92300b7bac4e5d6b2427)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Vivek Kumbhar
61f27971a9 openssl: fix CVE-2022-3996 double locking leads to denial of service
(From OE-Core rev: c20b7b864dc6726a2ed4a40cf5a30661ad28c6e0)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Ross Burton
8b4d0c8cb8 git: ignore CVE-2022-41953
This is specific to Git-for-Windows.

(From OE-Core rev: c8849af809e0213d43e18e5d01067eeeb61b330d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Ross Burton
1a9437920a git: upgrade to 2.39.1
This fixes CVE-2022-41903 and CVE-2022-23521.

(From OE-Core rev: 8395d2512c5335635fff3ce2043ac71fe1948c42)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Alexander Kanavin
7388cb224e oeqa/qemurunner: do not use Popen.poll() when terminating runqemu with a signal
This does not actually guarantee that the child runqemu process has completely exited:
poll() may return prematurely while the SIGTERM handler in runqemu is still running.
This thwarts the rest of the processing, and may terminate the handler before
it completes.

Use Popen.communicate() instead: this is what python documentation recommends as well:
https://docs.python.org/3/library/subprocess.html#subprocess.Popen.communicate

(From OE-Core rev: cd3e55606c427287f37585c5d7cde936471e52f4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-01 14:05:15 +00:00
Khem Raj
da95831d91 scons: Pass MAXLINELENGTH to scons invocation
This helps in overcoming a problem when using scons with ccache enabled.
When commands get longer, then it resorts to using response files to do
the operations e.g. @/tmp/tmp96j6icra.lnk when this response file is
inboked by compiler it works ok, however, this does not when ccache is
used to invoke the complilation. We see errors e.g.

ccache @/tmp/tmppsyij_0v.lnk
ccache: error: execute_noreturn of @/tmp/tmppsyij_0v.lnk failed: No such file or directory

Using MAXLINELENGTH setting ensures that we can use ARG_MAX to extend
the length of commandline and hence avoid using response files. This
issue is also reported in mongodb [1]

[1] https://jira.mongodb.org/browse/SERVER-38389

(From OE-Core rev: 29558f6218f4676b459f2c78f82d245339d51c8c)

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>
2023-01-31 17:11:07 +00:00
Khem Raj
e45fb1ff01 nghttp2: Disable python bindings
python bindings need cython to build, moreover they have been removed
from future releases upstream nghttp2 [1]

This ensures consistent builds as it does not need cython which was
being used from build host if it is installed. With some distros e.g.
archlinux it caused conflicts with python from python-native

[1] b4cb3b0090

(From OE-Core rev: ce59be9d48fa679ad54b70368d8a76daadbe88ba)

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>
2023-01-31 17:11:07 +00:00
Alex Kiernan
a10ec437b1 rust: Upgrade 1.66.1 -> 1.67.0
Disable ZStd to avoid needing libzstd in llvm (mirrors zlib disable).
Generate complete list of rust-snapshot artefacts from src/stage0.json.
Drop clippy-driver reproducibility change as the code is gone from
upstream.

Release notes:
  https://releases.rs/docs/1.67.0/

License-Update: Unicode-TOU text added (already in our license string)
(From OE-Core rev: 4900e0c5cb8a092a1d77d4f26249afa59b241da6)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-31 17:11:07 +00:00
Markus Volk
4360f7e2c1 libtiff: add PACKAGECONFIG for libdeflate and zstd
The main reason for this is an issue with latest libtiff update that causes
gtk4-native configure to fail in finding libtiff (while it just builds
fine for target).
By comparing libtiff-4.pc for native and target it turned out, that
it links for native with zstd and libdeflate. Probably because those libs
were found on my host system.

Adding PACKAGECONFIGS for the libs prevents us from taking them from the host.

(From OE-Core rev: ca2e2035b9d81a230a1a63f51b1300418e9b9ca6)

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>
2023-01-31 17:11:06 +00:00
Khem Raj
d119ac532f busybox: Make provisions to disable sha256/sha1 accelaration on x86
busybox 1.36 has an ongoing regression on musl/i386 [1] we see same on
glibc systems too.
therefore avoid the affected code by disabling sha256/sha1 sum accelaration
meanwhile

CONFIG_SHA256_HWACCEL and CONFIG_SHA1_HWACCEL are enabled by default

[1] http://lists.busybox.net/pipermail/busybox/2023-January/090078.html

(From OE-Core rev: 22f639d61127f4b82a79008c5305e44e090a3680)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-31 17:11:06 +00:00
Andrej Valek
86598c849c busybox: 1.35.0 -> 1.36.0
- update to next (un)stable version 1.36.0
- refresh defconfig
 - disable new applets (tree, tsort, seedrng)
 - use hw-accel for sha1/256 sums when available
- remove and refresh already merged patches

(From OE-Core rev: 2e9989a8f8b5b93476e551475df010add32aac31)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
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>
2023-01-31 17:11:06 +00:00
Richard Purdie
29afbb5e14 scripts/bitbake-prserv-tool: Fix to work with memres bitbake
Deleting data files whilst bitbake is running isn't a great idea.

Make sure memory resident bitbake is stopped if present and make
the file deletions a little more specific and safer too while we're
here.

Note: The cache directory layout is different on older releases (some
are split level) so this won't be a direct backport to some.

(From OE-Core rev: fa3f1f67abae1d90bede2e98bf7293603fd1307c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-29 19:24:22 +00:00
Alejandro Hernandez Samaniego
f3ad36d15c newlib: Upgrade 4.2.0 -> 4.3.0
- Rebased fix-rs6000-crt0.patch
- Patch fix_makefile_include_arm_h.patch is no longer required, the newlib
  header dependency has been fixed upstream at 26f9cfd7
- LICENSE checksum change due to:
  - Adding SPDX identifier
  - Deleted Phoenix Systems from License and updated each licenses
  numbers accordingly.
- Add a dummy limits.h header, to make the improved preprocessor
  checks happy during configure.
- Add a patch for libgloss to maintain current behavior of TCLIBC=newlib
  by making libgloss DEPEND on newlib and use its installed headers.
- Switch to git fetcher to simplify fetching the sources and avoid future
  issues due to the way newlib release snapshots were being published.

(From OE-Core rev: 1c9cbb27dfe37ca4574c4285fb03ce394dee5ed1)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-29 19:24:22 +00:00
Ross Burton
fa4cd1a7a2 Revert "cve-update-db-native: show IP on failure"
The bug this was intended to find has been resolved, so we don't need
this extra noise in the logs.

This reverts commit bd1edfa3d5.

(From OE-Core rev: 54ae53ef3e4ad51fc9a01155588b62f29c994742)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-29 19:24:22 +00:00
Richard Purdie
8c5faadf6c bitbake.conf: Inject a dash into PN for BB_HASH_CODEPARSER_VALS
We've had a couple of reports of recipes expecting to be able to call
split("-") on PN. There isn't any real harm in adding a dash to the dummy
PN value to avoid these errors.

(From OE-Core rev: 10e140d98790ce28b440b8e8697a4311658fe4df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-29 19:24:22 +00:00
Richard Purdie
5bd43a58a7 make-mod-scripts: Ensure kernel build output is deterministic
The definitions in linux-kernel-base are needed to ensure the generated headers
are consistent. This was a small step that was missing from the previous
changes to linux-kernel-base as both kernel-devsrc and make-mod-scripts
need this information defined consistently.

(From OE-Core rev: 0d79d4883f924cef0d0ba361506ad75d441b9721)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-29 10:50:42 +00:00
Armin Kuster
0c37cdbf5b lttng-modules: Fix for 5.10.163 kernel version
(From OE-Core rev: 4ad1f430abe1e7706b43b36405f036fa23a4e6fd)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-28 00:07:08 +00:00
Khem Raj
6830aa2a3e gdb: Define alignof using _Alignof when using C11 or newer
(From OE-Core rev: 131c753e000bf3c8814823d36d18e82f4dee26f2)

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>
2023-01-28 00:07:08 +00:00
Alexander Kanavin
d58a8a153c gdk-pixbuf: do not use tools from gdk-pixbuf-native when building tests
The patch that allows to do so has not been accepted upstream, and wasn't correctly
working as it was running a native executable (gdk-pixbuf-query-loaders) with target .so plugins.

On the other hand, out of 20+ (currently 23) tests only three require
running binaries at build time to produce special test-specific input data:

cve-2015-4491
pixbuf-pixdata
pixbuf-resource

So let's simply omit these from the build: this can be done with a far
less invasive patch which has a chance of being accepted upstream.

gdk-pixbuf-print-mime-types is no longer installed
(the replaced patch was doing that).

(From OE-Core rev: 0d926508e75095eb446699b612729d0243eacc91)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-28 00:07:08 +00:00
Khem Raj
d6f97cf271 webkitgtk: Fix build with gcc 13
(From OE-Core rev: b040cd0409802265b371e886b08bdc6801f2d386)

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>
2023-01-28 00:07:08 +00:00
Khem Raj
3e854407bb valgrind: Include missing <cstdint>
(From OE-Core rev: 01698350086cce9ca21cd31f615a6eb49fabe6dc)

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>
2023-01-28 00:07:08 +00:00
Richard Purdie
5e249ec855 build-appliance: Fix merge error
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:51:00 +00:00
Richard Purdie
f765c58311 build-appliance-image: Update to master head revision
(From OE-Core rev: 493f2d163718d78560a2b3ad5d3c0fb34caae8c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:29:12 +00:00
Bruce Ashfield
a5507f383c poky/poky-tiny: bump preferred version to 6.1
5.19 will be removed shortly, bumping the preferred versions for
poky/poky-tiny to 6.1. The -alt config remains on 5.15.

(From meta-yocto rev: 535ef93ef68af20b06effb0dd899895a192bb412)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:23:07 +00:00
Bruce Ashfield
24d0d20633 conf/qemu: bump preferred kernel version to 6.1
6.1 has been soaking for a while now, so it is time to bump the
default qemu version to 6.1 and prepare to remove 5.19.

(From OE-Core rev: 91c1f7d4eb9ec5ad683c798812395df3a56747ba)

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>
2023-01-26 22:22:53 +00:00
Xiangyu Chen
6d31c38c08 qemuppc64: set the qemuppc64 nfs r/wsize mount options to 524288
On master oe, build a qemuppc64 with systemd as default init, when we
use nfs bootup, the kernel might panic due to missing symbol in dynamic
libraries as below:

  hid-generic 0003:0627:0001.0003: input: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:01.0-3/input0
  /sbin/init: /lib64/libm.so.6: version `XZ_5.0' not found (required by /usr/lib64/libkmod.so.2)
  Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
  CPU: 0 PID: 1 Comm: init Not tainted 5.15.78-yocto-standard #1
  Call Trace:
  [c000000007443ba0] [c0000000009538d0] dump_stack_lvl+0x74/0xa8 (unreliable)
  [c000000007443be0] [c000000000103524] panic+0x170/0x3cc
  [c000000007443c80] [c00000000010cf64] do_exit+0xb44/0xb50
  [c000000007443d50] [c00000000010d040] do_group_exit+0x60/0xd0
  [c000000007443d90] [c00000000010d0d4] sys_exit_group+0x24/0x30
  [c000000007443db0] [c00000000002cfd4] system_call_exception+0x194/0x2f0
  [c000000007443e10] [c00000000000c2cc] system_call_common+0xec/0x250
  --- interrupt: c00 at 0x7fff9ed9e840
  NIP:  00007fff9ed9e840 LR: 00007fff9ed7da20 CTR: 0000000000000000
  REGS: c000000007443e80 TRAP: 0c00   Not tainted (5.15.78-yocto-standard)
  MSR:  800000000280f033 <SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE>  CR: 24022442  XER: 00000000

One or more of the libraries systemd depends on failed to load due to
unresolved symbols/functions.  This was intermittent - with a failure
rate estimated between 5% and 30%.

After checking the code, this issue happens on gcc 12, kirkstone is using
gcc 11 works well, with both using the exact same v5.15.84 kernel commit.

There is a kernel fix from upstream [1], they changed the rsize / wsize
to a multiple of PAGE_SIZE, when we applied this patch, the qemuppc64's
default r/wsize went from 4096 to 524288.But the qemuppc64 doesn't have
its own linux-yocto kernel branch, so apply this change might cause
regression with other platforms which share branch with qemuppc64.

So, we added an extra option for nfs rootfs, and set the qemuppc64 default
r/w size to 524288 to line up with the kernel fix[1].

Yocto did a similar thing in the distant past[2] - prior to boot-arg
adjustments existing - by allowing a Kconfig to set the defaults on
nfsboot, in order to work around hardware limitations.

Reference:
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=940261a195080cf
[2] https://git.yoctoproject.org/linux-yocto-4.1/commit/?h=standard/base&id=a96cfd98add95

(From OE-Core rev: 14a81556ff1be326647e654424c8f1bf9d0db912)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:22:53 +00:00
Xiangyu Chen
6bc30dd4a7 runqemu: add process of option QB_NFSROOTFS_EXTRA_OPT
This extra options to be appended to the nfs rootfs options in kernel
boot arg.

Example config with qemuppc64 in machine config:

add r/w size in the nfs rootfs extra option:
QB_NFSROOTFS_EXTRA_OPT = "wsize=524288,rsize=524288"

re-build and runqemu with nfs again, we can observe the kernel command
line added our defined value in QB_NFSROOTFS_EXTRA_OPT:

Kernel command line: root=/dev/nfs nfsroot=10.0.2.2:/home/xchen5/testing/build/tmp-glibc/deploy/images/qemuppc64/testnfs,nfsvers=3,port=3049,tcp,mountport=3048,wsize=524288,rsize=524288 rw  mem=256M ip=dhcp console=hvc0 console=hvc0 nohugevmalloc

(From OE-Core rev: 43a97f5bf3f90c5c1fd603f7dca2b3db2c0e3040)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:22:53 +00:00
Xiangyu Chen
45f278ed23 qemuboot.bbclass: add QB_NFSROOTFS_EXTRA_OPT for nfs rootfs extra option
This extra options to be appended to the nfs rootfs options in kernel boot arg.

(From OE-Core rev: a255a7f350b558445f4f6c29f60e77c33883b08a)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:22:53 +00:00
Pawel Zalewski
3061fd5cef classes/fs-uuid: Fix command output decoding issue
The default return value from subprocess.check_output is an encoded byte.
The applied fix will decode the value to a string.

(From OE-Core rev: 046769fa952a511865c416b80d10af6287147fb7)

Signed-off-by: Pawel Zalewski <pzalewski@thegoodpenguin.co.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:22:53 +00:00
Richard Purdie
23737c8ac7 kernel/linux-kernel-base: Fix kernel build artefact determinism issues
With the 6.1 kernel we've seen reproducibility/determinism issues where the kernel
seems to rebuild headers referencing the hostname or local user. kernel-devsrc
building after the kernel seemed to trigger it in some cases.

Moving the definitions to the bbclass used by all the kernel recipe code including
kernel-devsrc seems to be the best way to ensure this doesn't happen.

(From OE-Core rev: 60681baa97daf4f3856453c34d6be08b6771a81b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 22:20:32 +00:00
Markus Volk
7323bb0ee1 gtk4: add PACKAGECONFIG for cloudproviders
- Add missing cups runtime dependency

(From OE-Core rev: b5ab0d1795e68c29a2b69f99a6b46b920e879ec7)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Jan Luebbe
ec87495016 p11-kit: add native to BBCLASSEXTEND
This recipe is needed to build softhsm (in meta-oe) in with p11-kit
support, which is useful when multiple PKCS#11 modules need to be used.

(From OE-Core rev: 4942a42d5a071b283fe49047dcb4fee2c96422e8)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Peter Kjellerstedt
bcc22368c9 cargo-update-recipe-crates.bbclass: Mark the update_crates task as nostamp
If having devtool modified a recipe and then updated the crate versions,
e.g., by doing a git bisect, running the update_crates task needs to
always update the .inc file even if the bitbake metadata has not
changed.

(From OE-Core rev: 137d290ac1f7516a509fc9d264489e51c3004d5d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Fabio Estevam
06cfab132f u-boot: Update Upstream-Status
The patch to fix the tools-only_defconfig error has landed in
U-Boot upstream.

Update the Upstream-Status accordingly.

(From OE-Core rev: f0facfbebcc5e4d74f70740c920df4c7c0824086)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Ross Burton
22c5cffbab buildtools-tarball: set pkg-config search path
The buildtools-tarball includes a native sysroot with .pc files, and
in the case of buildtools-extended-tarball a pkg-config binary too.

If we're using the host pkg-config then it doesn't know to search in the
native sysroot.  If we're using our pkg-config then it searches in the
build-time prefix and not the actual SDK installation location.

Neither of these are correct, so set PKG_CONFIG_LIBDIR to search:
- The native sysroot
- The host pkg-config's default search path, if present
- Falling back to /usr/lib/pkgconfig, if not

In an ideal world this would be handled by the generic toolchain script,
but that is slightly more involved.

[ YOCTO #15007 ]

(From OE-Core rev: 8f768a3f4c7ff477e994d60800e5a1b83891615a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Alexander Kanavin
c757e85fa9 vulkan-samples: branch rename master -> main
(From OE-Core rev: 74bf535ca5cbcfb38c18775ece863d53dd216008)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Richard Purdie
c0981c9622 wic/efi-bootdisk.wks: Fix for 6.1 kernel versions
oe-selftest efibootpartition.GenericEFITest.test_boot_efi was failing for 6.1 kernels with:

| ERROR: _exec_cmd: export PATH=[...] mcopy -i [...]/rootfs_boot.1.vfat -s [...]/rootfs1/* ::/ returned '1' instead of 0
| output: Disk full

I believe we hit a file boundary size and having "0" overhead in the image meant
the files couldn't be installed. Allow a small amount of overhead to avoid
the error.

(From OE-Core rev: 16e0b8a8fc36f5525b1801888851958f0dbe84c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Richard Purdie
7d28e83399 oeqa/selftest/devtool: Fix for linux 6.1 versions onwards
In recent kernel versions the string "Linux" moved to a header,
'include/linux/uts.h' instead of init/version.c. Allow the test
to work with both situations.

(From OE-Core rev: c15c59c88d229e35eeac1ed948c84168633e7cb1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Changqing Li
3d8b241cf2 cmake-native: use internal cmcurl library
This commit is for breaking circular dependency in following condition:
After enabling PACKAGECONFIG nghttp2 for curl, the dependency chain is:
curl-native -> nghttp2-native -> cmake-native -> curl-native.
So change to use internal cmcurl library to fix this. And as using
system curl library before, disable nghttp2 and use system openssl
library for cmcurl.

(From OE-Core rev: f9a5f9fdb69bb61242dc65ed83704f727491ecca)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:57:48 +00:00
Ross Burton
b1ec98f71f bitbake: bb/utils: include SSL certificate paths in export_proxies
bb.utils.export_proxies() is a poor-man's alternative for the
environment setup code in bb/fetch2, but it's used in several places
where recipes want to download manually (such as cve-update-db-native).

Notably, export_proxies() doesn't pass on the SSL certificate paths from
the original environment, so if SSL_CERT_FILE needs to be set (for
example, in a buildtools environment) then proxies work but SSL doesn't.

In an ideal world export_proxies and the same logic in fetch2 would
merge, but until then we can add the SSL_CERT_ variables and duplicate
the basic logic: check the datastore first and then the original
environment for variables.

Also remove the return value as nothing ever checked it.

[ YOCTO #15000 ]

(Bitbake rev: c19035e8e71c419c5688a86bfc9c946c96f638e8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:50:31 +00:00
Richard Purdie
557aab2158 bitbake: cache/codeparser: Switch to a new BB_CACHEDIR variable for cache location
Currently the codeparser cache is set from CACHE, which is typically in
bitbake.conf which means we can't read/write any cache until it is found/read.
We may well have python expressions to parse before that happens.
The net result is suboptimal functioning of the codeparser cache since it will
often be invalidated by data that is never written.

This patch changes the codeparser and filechecksum caches to use BB_CACHE as
their setting and defaults it to ${TOPDIR}/cache.

The patch doesn't change where the "persistent" data such as prserver and
hash-equiavalance resides (PERSISTENT_DIR) or where the metadata parsing
cache resists (still currently CACHE). I've left those for a later patch.

The patch does ensure data parsed by the core datastore parsing calls is
written back since this is now much more useful after this change.

(Bitbake rev: ee89ade5b5a4cf9c53f336d8b800e06fbe436628)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:50:31 +00:00
Tim Orling
95f4795660 bitbake: toaster: update fixtures
* Update to latest langdale 4.1.2 and kirkstone 4.0.6
* Re-instate dunfell and update to 3.1.22
  - drop comments about bitbake crash

(Bitbake rev: f90c45df5cf4640e0714fde13e311db3327f9fd4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:50:31 +00:00
Paulo Neves
f98bf56074 bitbake: bitbake-getvar: Add a quiet command line argument
bitbake-getvar does not have a way to silence bitbake
server's logger and that makes the tool hard to use for
text processing. This is especially true when one wants to
get a bitbake value to be piped to some other utility and
instead we get uncontrolled logging messages or warnings
together with bitbake's variable value.

Example without quiet:
bitbake-getvar --value MACHINE
NOTE: Starting bitbake server...
qemux86-64

With quiet:
bitbake-getvar --value MACHINE --quiet
qemux86-64

(Bitbake rev: af354e975d0b4c26d0e91e3c82946b093bc11b45)

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:50:31 +00:00
Richard Purdie
29d98c77f2 conf/sdk/x86-64: Set march specifically
This is really no change since it is currently the default in gcc but
making it explicit matches the other SDKMACHINE configs and means if gcc
ever changes, or we switch compilers, the flag is present. It also makes
it clear from the config which tuning is in use.

(From OE-Core rev: 21c012659a36835837b21b7a2bf1f12428aa16a4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:06:57 +00:00
Richard Purdie
57d2aa9ffb native: Implement BBCLASSEXTEND PACKAGES_DYNAMIC handling
Recipes that use native BBCLASSEXTEND and set PACKAGES_DYNAMIC will
currently see PREFERRED_PROVIDER warnings. Some recipes work around this
but lets fix the core code to handle remapping PACKAGES_DYNAMIC correctly
so the workarounds aren't necessary any more.

(From OE-Core rev: e74b416231610ce3962e5b7bc21bd382579802ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:06:57 +00:00
Richard Purdie
fb10e3b83b bitbake.conf: Add METADATA_REVISION to BB_HASH_CODEPARSER_VALS
This stops the codeparser cache changing ever time a new commit is
added to the main repository.

(From OE-Core rev: f77b9f983395c648fddc96f0d6c8ebd6d52056d4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:06:57 +00:00
Khem Raj
ba31e10df4 binutils: Package libsframe
libsframe is newly added in binutils 2.40

(From OE-Core rev: 7b93d5ae806b680dd53dee68616ae5971b1fa054)

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>
2023-01-26 21:06:57 +00:00
Khem Raj
918ba17f58 binutils: Upgrade to 2.40 release
(From OE-Core rev: ae2b71ca2c73111a21845c2e1329ff973558991a)

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>
2023-01-26 21:06:57 +00:00
Khem Raj
1afadc7e09 elfutils: Remove funcretval test from run-native-test.sh for now
(From OE-Core rev: 7fb57ccc85dc18e4228357bf56ae4b1adbd2d4fc)

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>
2023-01-26 21:06:57 +00:00
Khem Raj
d02bad4ab0 systemd: Add another fix for using XSI strerror_r
This makes systemd continue to work on musl

(From OE-Core rev: c76dae4d937728e8687c03b58ec720a2d3d496ed)

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>
2023-01-26 21:06:57 +00:00
Yoann Congal
ff47bf6ed9 sanity: Fix small typos
* reproducibile -> reproducible
* distrubution -> distribution
* Joined lines gone awry
* and and -> and

(From OE-Core rev: 60196e7512e97c2509256403dad5c8a23dce32fc)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:06:57 +00:00
Khem Raj
fca0bea0e4 ruby: Update the patch status
It has been submitted to github as requested by ruby ml

(From OE-Core rev: 2e21de700540fc2703fe39b93bf3894a4eb6d1d8)

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>
2023-01-26 21:06:57 +00:00
Niko Mauno
1125b85e79 Fix missing leading whitespace with ':append'
Mitigate occurences where ':append' operator is used and leading
whitespace character is obviously missing, risking inadvertent
string concatenation.

(From OE-Core rev: fcd340ec53ff8352b8cae0eb351810072b025a08)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 21:06:57 +00:00
Lee Chee Yang
372960044f migration-guides: add release-notes for 4.1.2
(From yocto-docs rev: 2a98cebea5238bcea46abfdb6b3981e615161b8d)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-25 15:12:48 +00:00
Luca Ceresoli
bfd8573b6e manuals: fix typo in the MLPREFIX description
(From yocto-docs rev: 71535ccea091f130e94339072e3c579661dbf3d8)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-25 15:12:48 +00:00
Michael Opdenacker
ce7b98d363 ref-manual: initial documentation for go and go-mod classes
This addresses [YOCTO #14582]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-25 15:12:48 +00:00
Fabio Estevam
383e97f896 u-boot: Upgrade to 2023.01
Upgrade to U-Boot 2023.01.

Remove the two patches that are now upstream:

e67f34f778ba ("riscv: support building double-float modules")
1dde977518f1 ("riscv: Fix build against binutils 2.38")

And add a patch that fixes u-boot-tools build.

(From OE-Core rev: ec69f295552d6dd4de755bb4562a007158cf660e)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-25 14:32:03 +00:00
Michael Opdenacker
4022115a71 meta/classes-global: remove package_tar.bbclass
Remove package_tar.bbclass, which is no longer in use in oe-core
and meta-oe, and which the document reports as broken and unsupported.

(From OE-Core rev: 90ce19122802a16e6067f3a2ce3447acf1070fe5)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-25 14:32:03 +00:00
Mikko Rapeli
5e0c1faa64 kmod: enable openssl support by default
linux-yocto kernel adds openssl-native dependency by default even
when module signing is still optional. kmod should enable
openssl support too. This helps see details of signed kernel
modules and debug issues with module signing. For small systems
this can still be disabled.

modinfo output shows bad signing info when kernel signing is enabled
but openssl support is missing from kmod:

root@qemux86-64:~# dmesg|grep 509
[    0.750905] ACPI: PCI: Interrupt link LNKG configured for IRQ 11
[    0.950039] Asymmetric key parser 'x509' registered
[    1.241727] Loading compiled-in X.509 certificates
[    1.267863] Loaded X.509 cert 'Build time autogenerated kernel key: 48bcd79439f61aaf8fc19ec0882439d64db73820'
root@qemux86-64:~# lsmod
Module                  Size  Used by
sch_fq_codel           20480  1
root@qemux86-64:~# modinfo sch_fq_codel
filename:       /lib/modules/5.19.9-yocto-standard/kernel/net/sched/sch_fq_codel.ko
description:    Fair Queue CoDel discipline
license:        GPL
author:         Eric Dumazet
depends:
retpoline:      Y
intree:         Y
name:           sch_fq_codel
vermagic:       5.19.9-yocto-standard SMP preempt mod_unload
sig_id:         PKCS#7
signer:
sig_key:
sig_hashalgo:   unknown
signature:

modinfo with openssl enabled in kmod:

root@qemux86-64:~# modinfo sch_fq_codel
filename:       /lib/modules/5.19.9-yocto-standard/kernel/net/sched/sch_fq_codel.ko
description:    Fair Queue CoDel discipline
license:        GPL
author:         Eric Dumazet
depends:
retpoline:      Y
intree:         Y
name:           sch_fq_codel
vermagic:       5.19.9-yocto-standard SMP preempt mod_unload
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        07:9A:C4:36:96:98:6E:5B:73:CF:C8:40:A6:57:D9:03:5E:27:8D:25
sig_hashalgo:   sha512
signature:      21:4D:F0:E2:E0:7C:8E:31:A0:96:12:68:06:0D:FA:0D:E2:17:45:64:
                51:94:7E:B0:97:DD:EB:59:89:CA:1A:C3:10:E7:7C:4D:5D:F0:5D:B6:
                2A:61:D3:BF:89:7A:0D:CD:A2:39:57:1B:C6:B5:7D:C1:DB:6F:D9:36:
                29:7A:07:18:F5:22:9F:9A:33:4D:38:BC:79:C8:51:8B:82:0F:B4:09:
                08:37:52:11:98:50:7E:19:28:0F:13:2E:03:A5:E8:F8:D9:E7:DF:61:
                18:AC:22:FE:96:BD:D0:55:96:9E:C9:1C:15:C9:0B:9A:5A:FD:D0:C0:
                8F:41:12:5B:EA:4B:E5:5D:4D:EA:D5:2E:E5:80:D4:51:CC:63:97:F3:
                4B:39:CC:B6:A1:83:F5:EF:2F:A1:22:CD:CA:BC:DB:82:C0:E4:AB:13:
                5D:C5:F3:BC:B7:3E:B4:16:BF:87:1D:AC:69:43:1F:78:2A:5F:E2:63:
                52:A2:DA:FC:F9:C0:BA:D8:1A:FE:58:4E:6A:D8:DE:BE:F8:F6:C2:59:
                CE:F5:0A:A0:15:A3:01:BC:B6:70:36:4E:5F:D6:9B:B0:DE:93:15:3E:
                35:37:38:D9:01:2B:72:2F:D3:74:A4:AD:F4:5F:52:74:44:E1:C9:D3:
                A9:87:BC:93:58:8A:82:DB:14:6F:E0:4D:AF:8E:B5:3D:92:20:8B:4A:
                04:54:6C:21:F1:76:DF:08:A9:0A:A5:D5:D0:17:CA:98:B5:F4:9F:F6:
                9C:8F:DA:09:C2:37:FB:36:23:D1:25:27:4C:DB:9B:43:19:EB:55:1C:
                DA:32:04:A5:B1:97:F7:A3:3B:82:55:FD:BD:6D:90:BB:61:E6:D3:93:
                42:CB:FD:4A:1B:3E:03:43:7D:E3:85:32:91:45:C9:B4:CD:DC:B7:07:
                37:58:8A:4A:49:5F:F7:26:41:E1:BB:A1:64:B5:86:00:17:9D:D7:81:
                31:BA:DC:BF:04:CC:11:55:B1:C6:24:83:43:33:34:2D:BF:00:74:26:
                6A:EC:56:90:C7:1B:C2:78:5C:7F:25:2D:78:BD:C5:D9:7D:69:6A:32:
                5D:EF:48:6C:21:64:47:2A:FE:34:3C:58:8D:9E:D7:42:76:BE:89:84:
                8D:62:9D:62:DE:7C:88:C4:5F:AA:13:20:6B:90:53:16:4E:06:EE:8A:
                DE:F7:EA:F8:92:03:7D:84:B7:0C:9F:A0:52:B7:5E:21:BF:37:6A:C9:
                34:6D:69:1E:4A:CC:48:F2:0A:6C:B8:AD:83:C0:8F:76:CC:43:0E:29:
                17:A9:22:F3:0B:59:A9:87:24:AD:84:CD:EE:E2:C3:93:F7:A8:11:ED:
                9A:CC:DA:7F:9D:73:06:5C:A7:1A:6A:54

(From OE-Core rev: d6a62eb68641239985a1f8cf9cf4528a07fd0b99)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-25 14:32:03 +00:00
Khem Raj
71e301efc4 vulkan-samples: Include missing header cstdint for uint32_t
(From OE-Core rev: 47f6a75960b3af2be7f45fd06e2fb73549b6933b)

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>
2023-01-24 22:06:51 +00:00
Khem Raj
0da624001a apt: add missing <cstdint> for uint16_t
(From OE-Core rev: 8c46ded67df2d830c8bbf5f7b82d75db81d797e2)

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>
2023-01-24 22:06:51 +00:00
Khem Raj
a597c99fd4 harfbuzz: Add missing <cstdio> and <cstdlib> includes
(From OE-Core rev: b49b9338667894ac3e45a3cd0c4db2d2db4d9053)

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>
2023-01-24 22:06:51 +00:00
Markus Volk
2725d99b79 gtk+3: add PACKAGECONFIG for libcloudservice and tracker; fix cups backend
Add options to enable support for libcloudprovider and tracker

If the cups backend is enabled, the mandatory file backend gets disabled and
thus configure fails. Fix it by not defining the print-backend and just include cups
as a dependency. Additionally add it as a runtime dependency.

Now, if cups gets enabled, it should include the following print-backends
by default: cups,lpr,file

(From OE-Core rev: 5ac88d032968f4d005a61fc34f7e3e6e55426ccd)

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>
2023-01-24 22:06:51 +00:00
Khem Raj
b0e00ca9bd stress-ng: Robustify test-float test
Latest compilers are able to figure out that whole code can be optmized
away when CFLAGS has -O2 or more agressive optimizations. In order to
ensure the test is doing the right thing, make the variables global so
compiler is not able to optimize it away.

This fixes build on x86 especially when using clang compiler

(From OE-Core rev: e9c4017982a5556580d24e72e74c4d5a879ff11c)

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>
2023-01-24 22:06:51 +00:00
Ross Burton
d2066f99d0 ppp: backport fix for CVE-2022-4603
(From OE-Core rev: d5d787b44b102e3a69e28948326e39f83fc1d98d)

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>
2023-01-24 22:06:51 +00:00
Richard Purdie
55e666aaae pseudo: Update to include logic fix
The logic in the previous commit was reversed, update to fix it.

(From OE-Core rev: fe7bf50a86ef6954763d2d46ad751afb9d736f76)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Richard Purdie
3be00ad905 bitbake.conf: Add BB_HASH_CODEPARSER_VALS
Add an initial value for the new bitbake BB_HASH_CODEPARSER_VALS support,
which optimises the codeparser cache's size and stops it growing at every
parse.

(From OE-Core rev: 7c15e03dd30abe43d784f41e3c04c96a7bbb0d62)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Khem Raj
5a1980490c elfutils: Fix build with libcurl >= 7.87
(From OE-Core rev: 3916c5f3cb0f2e0ff349ea266197e31ddceb12d2)

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>
2023-01-24 22:06:51 +00:00
Tim Orling
48f90f7ab2 python3-cryptography{-vectors}: 38.0.4 -> 39.0.0
* python3-cryptography-crates.inc: update for 39.0.0
* python3-cryptography-vectors: upgrade 38.0.4 -> 39.0.0

Highlights from Changelog:
https://cryptography.io/en/latest/changelog/#v39-0-0

39.0.0 - 2023-01-01

* BACKWARDS INCOMPATIBLE: Support for OpenSSL 1.1.0 has been removed.
  Users on older version of OpenSSL will need to upgrade.

* BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.5. The new
  minimum LibreSSL version is 3.5.0. Going forward our policy is to
  support versions of LibreSSL that are available in versions of OpenBSD
  that are still receiving security support.

* BACKWARDS INCOMPATIBLE: Removed the encode_point and from_encoded_point
  methods on EllipticCurvePublicNumbers, which had been deprecated for
  several years. public_bytes() and from_encoded_point() should be used
  instead.

* BACKWARDS INCOMPATIBLE: Support for using MD5 or SHA1 in
  CertificateBuilder, other X.509 builders, and PKCS7 has been removed.

* ANNOUNCEMENT: The next version of cryptography (40.0) will change the
  way we link OpenSSL. This will only impact users who build cryptography
  from source (i.e., not from a wheel), and specify their own version of
  OpenSSL. For those users, the CFLAGS, LDFLAGS, INCLUDE, LIB, and
  CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS environment variables will no longer
  be respected.

(From OE-Core rev: 904574c49c51f1862c6b888a3e5889bd972df42d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Khem Raj
74dc3d1bd9 libusb1: Strip trailing whitespaces
(From OE-Core rev: 2b24ffade16fc23ddb77e26d8967c26d62f4ed6d)

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>
2023-01-24 22:06:51 +00:00
Khem Raj
ee2f74bf52 libusb1: Link with latomic only if compiler has no atomic builtins
This makes build use compiler to decide from where to get atomics
instead of assuming that it should always come from libatomic, helps
sharing build artifacts with OSes which may not have libatomic installed
because it is not required on those hosts.

(From OE-Core rev: a026d9afcbe07a8324ca951ba3439373dcb3771c)

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>
2023-01-24 22:06:51 +00:00
Peter Kjellerstedt
8339c19719 librsvg: Only enable the Vala bindings if GObject Introspection is enabled
This avoids the following error:

  configure: error: Vala bindings require GObject Introspection

(From OE-Core rev: 31daea70b18b2b2266bf94063b655aaf142a6166)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Richard Purdie
e3ada9938c native: Drop special variable handling
Back when it was merged in https://git.yoctoproject.org/poky/commit/?id=c4257ed8b1040a5a0e9a95846d81961741239116
it appeared special handling in setVar was necessary. Likely due to
other fixes and improvements it no longer appears to be. The results of
"bitbake world -g" before and after this change are identical for oe-core
and meta-openembedded. Therefore drop the "parsing=True" special parameter to
setVar() meaning overrides can now be cleared.

This means that something like:

DEPENDS:append = " bash"

now functions as expected, adding bash to the target recipe and bash-native to
the native BBCLASSEXTENDED version.

Without this change, it would add bash to the native version as well as
bash-native which is clearly incorrect.

[YOCTO #15010]

(From OE-Core rev: 99a5105f7b5303cd36077b5910c662a865c1782c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Ross Burton
6574b44406 quilt: use upstreamed faildiff.test fix
(From OE-Core rev: 50b81a263187af4452d3b99967bffd01c6ddb476)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Khem Raj
22fbee4f12 ruby: Use C11 _Alignof to define ALIGN_OF when possible
(From OE-Core rev: 5f01957c596673604516df42008b91551915967f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Khem Raj
1c42439dca libtirpc: Check if file exists before operating on it
In some cases (e.g. mingw) this file may not be installed

(From OE-Core rev: 547f3a13ee9268bbdd439c96108ba1fe9ab78873)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Khem Raj
02081ada4c lttng-tools: Switch to alternative upstream submitted patch
(From OE-Core rev: b055ca4b25dc6bfd617497f995b42b362020473e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Markus Volk
a78842a19a gptfdisk: add follow-up patch to fix with current popt
sgdisk still segfaults for some tasks (e.g 'sgdisk -v', 'sgdisk -V')

Add a follow-up patch that fixes the issue. It was taken from Archlinux

(From OE-Core rev: b2f3f8ced22da68eecd7689cc09e28f70100bd56)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Ross Burton
7d968ddf80 spirv-headers/spirv-tools: set correct branch name
As of last week, the SPIRV repositories have renamed their master
branches to main:

https://github.com/KhronosGroup/SPIRV-Headers/issues/313

We could set branch=main, but the commits we're using are also on
release branches so use those instead.

(From OE-Core rev: 2957da09f13607ac00ddd4a87ec9ad0014326507)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Luca Boccassi
144226a5ca systemd: add PACKAGECONFIG to select default compression format
If multiple compression libraries are enabled, the format to use for
compression is chosen implicitly, so if you want to compress with e.g.
lz4 you cannot enable zstd, so you cannot read zstd-compressed journal
files. This PACKAGECONFIGs allow to enable all compression formats for
reading, but to choose a specific one for writing.

(From OE-Core rev: bec1e2628e7accf2eff07193ae5ea14eb443ae37)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Tim Orling
4d1675beac bitbake: bitbake: fix deprecated threading.Thread.setDaemon
Deprecated in Python 3.10:
https://docs.python.org/3/whatsnew/3.10.html#deprecated
https://github.com/python/cpython/pull/25174

Fixes warnings like:

...bitbake/lib/bb/ui/uievent.py:68: DeprecationWarning: setDaemon() is
deprecated, set the daemon attribute instead
  self.t.setDaemon(True)

(Bitbake rev: 323f6ce27a1bfd7159e72f29684674ff495dedee)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 21:59:44 +00:00
Richard Purdie
ea12b673cf bitbake: data_smart: Small optimisation to _findVar()
Some users of _findVar don't need the override data and even
getVarFlag doesn't need it in some common cases (parsing=True).

Rearrange the code as the current overridedata approach doesn't need
to be in the _findVar code anyway. This removes some search overhead
from a critical path.

(Bitbake rev: fcb64e1138a20eb19560af3fc5d1fa748cc9cf34)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 21:59:44 +00:00
Richard Purdie
663c259ffa bitbake: data: Add support for new BB_HASH_CODEPARSER_VALS for cache optimisation
Currently the codeparser cache ends up being extended for every parse run
since there are values in the functions such as the result of os.getpid()
from LOGFIFO in OE-Core.

Digging into that issue, there are also lots of similar but different
functions being parsed where the change might just be a path to WORKDIR,
a change in PN or PV or something like DATE/TIME.

There is no reason we have to use these changing values when computing the
dependenies of the functions. Even with a small tweak like:

BB_HASH_CODEPARSER_VALS = "LOGFIFO=/ T=/ WORKDIR=/ DATE=1234 TIME=1234 PV=0.0-1 PN=nopn"

the cache is reduced from ~4.6MB, increasing by ~300kb for every parse run
to around 1.3MB and remaining static for oe-core and meta-oe. In my local
build, admittedly heavily experimented with, the cache had grown to 120MB.

The benefits of doing this are:

 * faster load time for bitbake since the cache is smaller to read from disk
   and load into memory
 * being able to skip saving the cache upon shutdown
 * lower memory footprint for bitbake
 * faster codeparser data lookups (since there is less data to search)

We only use these special values when passing code fragments to the codeparser
to parse so the real variable values should otherwise be used in the hash data.

The overall effect of this change, combined with others to avoid saving unchanged
cache files can be ~2s on a ~16s parse on my local system and results in a more
responsive feeling bitbake. It also allows parsing performance to be investigated
more consistently.

(Bitbake rev: f24bbaaddb36f479a59a958e7fc90ef454c19473)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 21:59:44 +00:00
Richard Purdie
72072db004 bitbake: cooker: Fix parsing race around cache handling
When draining the result queue from the parsing processes, cache objects
can be created even if they are then immediately destroyed. The reset
in the sync code needs to happen after any objects have been created.

Change the ordering to fix this. This ordering has caused various
cache errors, particularly when interrupting parsing with Ctrl+C.

(Bitbake rev: f45a94e6720dacf7f51ac147c115a6f608769093)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 21:59:44 +00:00
Richard Purdie
4a94cf21c5 bitbake: cache: Only write files if we have data
By writing the cache files only if there is data to write, we can save a
bit of time.

(Bitbake rev: abeff1f80bb1c690b92d535d472dff9df7a56067)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 21:59:44 +00:00
Richard Purdie
ae1da8b75c bitbake: cooker: Fix siggen recipe cache race issue
We need to reset the cache before the start() call which starts the
parsing processs, tweak the code to ensure this is the case.

(Bitbake rev: 4712d6237df5d2188238294fbdb9f107b068a3a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 21:59:44 +00:00
Richard Purdie
18d2c489f0 bitbake: server/process: Fix lockfile contents check bug
We need to check against the first line of the file, fix the typo.

(Bitbake rev: 4abc598fb01d426394f4222dfc752e620a8e1b7b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 21:59:44 +00:00
Richard Purdie
316d66b4c4 poky: Set INIT_MANAGER by a separate variable
Currently INIT_MANAGER cannot be overridden from local.conf. This is
complicated by the use of overrides in the various poky distro configs.
That is necessary, so use a separate variable to indirectly set the value
meaning local.conf can still override the result.

(From meta-yocto rev: da23d0c3edad0f5ee4cc4916276e214e8d53aad0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 21:57:39 +00:00
Richard Purdie
3c3fd6a65e insane: Improve patch warning/error handling
Currently, whilst patch errors or warnings are shown, the errors don't stop builds.
The configuration isn't very configurable from WARN_QA and ERROR_QA either.

This patch:
 * Uses the standard mechanisms to handle the patch fuzz warnings/errors
 * Makes Upstream-Status checking configurable from WARN/ERROR_QA
 * Allows that checking to be used with non-core layers
 * Makes patch-fuzz an error by default

(From OE-Core rev: 76a685bfcf927593eac67157762a53259089ea8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-21 07:46:38 +00:00
Pavel Zhukov
f962c586fc bitbake: fetch2/tests: Add parameter to recipe_uri
While the parameter is not required it allows testing of possible
regression in fetcher code when parameter specified and mirrors are
used.

(Bitbake rev: 1a21918049091a6d77426dbf8868ffdc14ba1003)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-20 17:49:26 +00:00
Xiangyu Chen
05fac8d648 numactl: skip test case when target platform doesn't have 2 CPU node
when current test platform doesn't have 2 or more CPU node, the test
case would report FAIL, according to numa test script and numademo
code, when return code=77 should be skip test, so using SKIP instead
of FAIL in test script.

(From OE-Core rev: fd0a82400d419bce8605a9445db9b20b8ddc01a7)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-20 16:40:47 +00:00
Khem Raj
cbb8a79bc9 mdadm: Define alignof using _Alignof when using C11 or newer
(From OE-Core rev: 18f1f2775ef0690802b44a6094383db48c712c19)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-20 16:40:47 +00:00
Richard Purdie
96e64b78d9 pseudo: Switch back to the master branch
OE is the main user of pseudo and we've had the changes in the oe-core branch
around long enough that we're going to run with them. Swicth back to directly
using the master branch.

(From OE-Core rev: 16bce7aa85ef6b77fc9117aa22f81f15e4c8d8fc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Luca: re-add 'branch' parameter to fix "does not set any branch parameter" warning]
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-20 16:40:47 +00:00
Richard Purdie
45c7a5e2ac pseudo: Update to pull in linux-libc-headers race fix
Update to pull in:

    pseudo.c: Avoid patch mismatch errors for NAMELESS file entries

    In rare cases we see failures, often in linux-libc-headers for things like:

    |   INSTALL /XXX/linux-libc-headers/6.1-r0/image/usr/include
    | abort()ing pseudo client by server request. See https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.

    Pseudo log:
    path mismatch [2 links]: ino 46662476 db 'NAMELESS FILE' req '/XXX/linux-libc-headers/6.1-r0/image/usr'.
    Setup complete, sending SIGUSR1 to pid 3630890.

    Whilst this doesn't easily reproduce, the issue is that multiple different processes are
    likely working on the directory and the creation in pseudo might not match accesses
    made by other processes.

    Ultimately, the "NAMELESS FILE" is harmless and pseudo will reconcile things
    so rather than error out, we should ignore this case.

(From OE-Core rev: 4f30a1a74828e105cbe69677b3fbe5623f371543)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-20 16:40:47 +00:00
Khem Raj
47c84dc29a musl-obstack: Update to 1.2.3
Switch to void-linux github handle, void-linux is the upstream anyway this brings

(From OE-Core rev: af810235ffb8e9553cf5e807ed3b88ed6575d211)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-20 16:40:47 +00:00
Khem Raj
351243a0ca vulkan-samples: Drop using u8string_view
Its deprecated in upstream fmt as well. Moreover it helps compile with
latest compiler

(From OE-Core rev: 01ef766ada47cd845643c632160e1808fa237d1c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-20 16:40:47 +00:00
Khem Raj
7aadc3e227 python3-numpy: Define _ALIGN using _Alignof when using C11 or newer
(From OE-Core rev: ceb09d1def7d0f6daa5c2216e9876874ac8261dd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-20 16:40:47 +00:00
Chuck Wolber
b57d4de337 scripts/oe-setup-layers: Make efficiently idempotent
The effect of subsequent setup-layers executions is now either a NOOP
or the minimal set of changes required to ensure layers precisely match
the JSON configuration.

This change allows setup-layers to be incorporated into a team's
configuration management strategy. In particular, the configuration
JSON manages a "pinning policy" that documents the oversight of sources
of change (a requirement for embedded development in highly regulated
industries).

One model for this strategy would work as follows. Team level policy is
developed to regularly review upstream commits that occur between the
current upstream HEAD and the previously pinned revision. The JSON
configuration is periodically updated after a review, test, and approval
process. In the rare instance that an upstream change is considered
problematic, the bbappend mechanism can be used to make relevant
changes in the team's project repository. This approach also requires
that team developers regularly run the project repository copy of
setup-layers. This is most easily accomplished by including setup-layers
in a wrapper script that all team developers use to interact with the
bitbake tool suite (e.g. "bb bitbake foo-image"). Project level policy
and oversight is effectively "contained" within this wrapper script,
thereby reducing a significant source of human error.

Left unstated, but acknowledged here, are a number of nuances required
to successfully implement the above strategy.  The details are out of
scope for this explanation. What should be clear is that a larger
configuration management strategy can now benefit from the utility
provided by setup-layers.

Note: Neither the above configuration management strategy example nor
the change itself is intended to alter the original intent to use
"bitbake-layers create-layers-setup destdir" to keep pace with upstream
activity for those who wish to use it that way.

(From OE-Core rev: da2e01cacd98715318a5307fe0618dbca0cf1fe7)

Signed-off-by: Chuck Wolber <chuck.wolber@boeing.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Randy MacLeod
f3d4ee6477 vim: upgrade 9.0.0947 -> 9.0.1211
Includes fixes for:
   https://nvd.nist.gov/vuln/detail/CVE-2023-0049
   https://nvd.nist.gov/vuln/detail/CVE-2023-0051
   https://nvd.nist.gov/vuln/detail/CVE-2023-0054
   https://nvd.nist.gov/vuln/detail/CVE-2023-0288

(From OE-Core rev: 1c51068c78d12ee02789a6dbecf5e7e91d141af5)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
He Zhe
f53a8fb958 lttng-modules: update 2.13.7 -> 2.13.8
Drop backported 0001-fix-mm-slab_common-drop-kmem_alloc-avoid-dereferenci.patch
0009-Rename-genhd-wrapper-to-blkdev.patch is present only on the master branch
and not on 2.13 branch, so keep it in the recipe.

(From OE-Core rev: 5b04d4cea291b8d816a3a8d880004506fbf2b390)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Chen Qi
8321a268af rpm: do not export MAGIC in SDK
This MAGIC variable is used by libmagic (file), and should
be exported by the file recipe.

As the rpm recipe has 'file' in its DEPENDS, its sub-packages
which links to libmagic will be automatically added the 'file'
runtime dependency. More specifically, it's the rpm-build package.
So in case components in nativesdk-rpm-build package uses libmagic,
the nativesdk-file package will be installed and the MAGIC var
will be exported.

(From OE-Core rev: 6e2147ab1d0f3aad2dfe8180a3896c9c9bcfdac8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Chen Qi
b5ef95f6b1 file: export MAGIC in SDK
Previously, a wrapper is used for file, which adds '--magic-file'
option to it. But other components might use libmagic and in such
case, if there's no MAGIC environent variable set correctly, things
do not work. For example, rpmbuild makes use of libmagic and it
requries MAGIC to be set correctly.

(From OE-Core rev: 47db876d09d9a4394048579c21d0b394450ce681)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Martin Jansa
1949009c53 mesa: update submitted patch with backported version
* this version was merged to main in:
  267dd1f4d5
  and cherry-picked to staging/23.0 as well in:
  54cfb552ab

  and as a bonus it doesn't break the build with DEBUG_BUILD
  for newer toolchain, so we can apply it for target build as well, see:
  https://lists.openembedded.org/g/openembedded-core/message/169002
  https://lists.openembedded.org/g/openembedded-core/message/170930

(From OE-Core rev: fa8826a325cf18f22ea7a282a29c83f7c5819adb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Bruce Ashfield
a5292fd2db linux-yocto/5.15: update to v5.15.87
Updating  to the latest korg -stable release that comprises
the following commits:

    d57287729e22 Linux 5.15.87
    24186c682288 drm/mgag200: Fix PLL setup for G200_SE_A rev >=4
    e326ee018a24 io_uring: Fix unsigned 'res' comparison with zero in io_fixup_rw_res()
    b2b6eefab43d efi: random: combine bootloader provided RNG seed with RNG protocol output
    99c0759495a0 mbcache: Avoid nesting of cache->c_list_lock under bit locks
    d50d6c193adb net: hns3: fix return value check bug of rx copybreak
    d4e6a13eb9a3 btrfs: make thaw time super block check to also verify checksum
    70a1dccd0e58 selftests: set the BUILD variable to absolute path
    58fef3ebc83c ext4: don't allow journal inode to have encrypt flag
    bd5dc96fea4e mptcp: use proper req destructor for IPv6
    78bd6ab52c03 mptcp: dedicated request sock for subflow in v6
    6e9c1aef3e32 Revert "ACPI: PM: Add support for upcoming AMD uPEP HID AMDI007"
    e32f867b37da ksmbd: check nt_len to be at least CIFS_ENCPWD_SIZE in ksmbd_decode_ntlmssp_auth_blob
    4136f1ac1ecd ksmbd: fix infinite loop in ksmbd_conn_handler_loop()
    f10defb0be6a hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling
    48d9e2e6de01 hfs/hfsplus: use WARN_ON for sanity check
    f5a9bbf962e2 drm/i915/gvt: fix vgpu debugfs clean in remove
    ae9a61511736 drm/i915/gvt: fix gvt debugfs destroy
    eb3e943a3243 riscv, kprobes: Stricter c.jr/c.jalr decoding
    620a229f576a riscv: uaccess: fix type of 0 variable on error in get_user()
    8e05a993f8aa thermal: int340x: Add missing attribute for data rate base
    c3222fd28225 io_uring: fix CQ waiting timeout handling
    b7b9bc93055d block: don't allow splitting of a REQ_NOWAIT bio
    e1358c878711 fbdev: matroxfb: G200eW: Increase max memory from 1 MB to 16 MB
    682a7d064f35 nfsd: fix handling of readdir in v4root vs. mount upcall timeout
    cb42aa7b5f72 x86/bugs: Flush IBP in ib_prctl_set()
    554a880a1fff x86/kexec: Fix double-free of elf header buffer
    264241a61045 btrfs: check superblock to ensure the fs was not modified at thaw time
    69f4bda5f4e6 nvme: also return I/O command effects from nvme_command_effects
    a6a4b057cd47 nvmet: use NVME_CMD_EFFECTS_CSUPP instead of open coding it
    f9309dcaa9c0 io_uring: check for valid register opcode earlier
    4df413d46960 nvme: fix multipath crash caused by flush request when blktrace is enabled
    03ce7921285e ASoC: Intel: bytcr_rt5640: Add quirk for the Advantech MICA-071 tablet
    0dca7375e2b9 udf: Fix extension of the last extent in the file
    dc1bc903970b caif: fix memory leak in cfctrl_linkup_request()
    bce3680b48d2 drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()
    da6a3653b82c perf stat: Fix handling of --for-each-cgroup with --bpf-counters to match non BPF mode
    11cd4ec6359d usb: rndis_host: Secure rndis_query check against int overflow
    6ea5273c71dd octeontx2-pf: Fix lmtst ID used in aura free
    4e5f2c74cbbf drivers/net/bonding/bond_3ad: return when there's no aggregator
    8414983c2e64 fs/ntfs3: don't hold ni_lock when calling truncate_setsize()
    a23e8376e613 drm/imx: ipuv3-plane: Fix overlay plane width
    a8f7fd322f56 perf tools: Fix resources leak in perf_data__open_dir()
    a1e1521b4639 netfilter: ipset: Rework long task execution when adding/deleting entries
    6f19a3848367 netfilter: ipset: fix hash:net,port,net hang with /0 subnet
    774d259749d7 net: sparx5: Fix reading of the MAC address
    04dc4003e5df net: sched: cbq: dont intepret cls results when asked to drop
    f02327a4877a net: sched: atm: dont intepret cls results when asked to drop
    95da1882ce93 gpio: sifive: Fix refcount leak in sifive_gpio_probe
    da9c9883ec96 ceph: switch to vfs_inode_has_locks() to fix file lock bug
    54e72ce5f1d7 filelock: new helper: vfs_inode_has_locks
    f34b03ce3a86 drm/meson: Reduce the FIFO lines held when AFBC is not used
    05a8410b0fce RDMA/mlx5: Fix validation of max_rd_atomic caps for DC
    8d89870d6375 RDMA/mlx5: Fix mlx5_ib_get_hw_stats when used for device
    4d112f001612 net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe
    e5fbeb3d16b4 net: ena: Update NUMA TPH hint register upon NUMA node update
    7840b93cfd4c net: ena: Set default value for RX interrupt moderation
    d09b7a9d2f34 net: ena: Fix rx_copybreak value update
    0e7ad9b006d7 net: ena: Use bitmask to indicate packet redirection
    5d4964984b99 net: ena: Account for the number of processed bytes in XDP
    f17d9aec07de net: ena: Don't register memory info on XDP exchange
    a4aa727ad0b2 net: ena: Fix toeplitz initial hash value
    0bec17f1ce31 net: amd-xgbe: add missed tasklet_kill
    cb2f74685f76 net/mlx5e: Fix hw mtu initializing at XDP SQ allocation
    6c72abb78b01 net/mlx5e: Always clear dest encap in neigh-update-del
    b36783bc11d1 net/mlx5e: TC, Refactor mlx5e_tc_add_flow_mod_hdr() to get flow attr
    f8c10eeba31b net/mlx5e: IPoIB, Don't allow CQE compression to be turned on by default
    7227bbb7c140 net/mlx5: Avoid recovery in probe flows
    9369b9afa8b0 net/mlx5: Add forgotten cleanup calls into mlx5_init_once() error path
    d966f2ee4b8e net/mlx5: E-Switch, properly handle ingress tagged packets on VST
    6a37a01aba5d vdpa_sim: fix vringh initialization in vdpasim_queue_ready()
    e3462410c36d vhost: fix range used in translate_desc()
    13871f60ec2f vringh: fix range used in iotlb_translate()
    e05d4c8c287a vhost/vsock: Fix error handling in vhost_vsock_init()
    586e6fd7d581 vdpa_sim: fix possible memory leak in vdpasim_net_init() and vdpasim_blk_init()
    b63bc2db244c nfc: Fix potential resource leaks
    945e58bdaf6f net: dsa: mv88e6xxx: depend on PTP conditionally
    95df720e64a6 qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure
    6c55953e232e net: sched: fix memory leak in tcindex_set_parms
    d14a4b24d58e net: hns3: fix VF promisc mode not update when mac table full
    7ed205b9478d net: hns3: fix miss L3E checking for rx packet
    47868cb77f8f net: hns3: extract macro to simplify ring stats update code
    7457c5a7761a net: hns3: refactor hns3_nic_reuse_page()
    4a6e9fb534c5 net: hns3: add interrupts re-initialization while doing VF FLR
    5e48ed805c4f nfsd: shut down the NFSv4 state objects before the filecache
    7e2825f5fb84 veth: Fix race with AF_XDP exposing old or uninitialized descriptors
    ac95cdafaca8 netfilter: nf_tables: honor set timeout and garbage collection updates
    49677ea1513e vmxnet3: correctly report csum_level for encapsulated packet
    9d30cb442156 netfilter: nf_tables: perform type checking for existing sets
    c3bfb7784a09 netfilter: nf_tables: add function to create set stateful expressions
    996cd779c2a4 netfilter: nf_tables: consolidate set description
    4f1105ee72d8 drm/panfrost: Fix GEM handle creation ref-counting
    df493f676fb0 bpf: pull before calling skb_postpull_rcsum()
    d7e817e689b1 btrfs: fix an error handling path in btrfs_defrag_leaves()
    4d69cdba2c27 SUNRPC: ensure the matching upcall is in-flight upon downcall
    af0265dfeffa drm/i915/migrate: fix length calculation
    8b25a526a5e9 drm/i915/migrate: fix offset calculation
    a3d1e6f9b678 drm/i915/migrate: don't check the scratch page
    5bc0b2fda4b4 ext4: fix deadlock due to mbcache entry corruption
    a6e4094faf3c mbcache: automatically delete entries from cache on freeing
    187254912971 ext4: correct inconsistent error msg in nojournal mode
    761f88f82e0f ext4: goto right label 'failed_mount3a'
    eb16602140f0 ravb: Fix "failed to switch device to config mode" message during unbind
    4216995dbd93 perf probe: Fix to get the DW_AT_decl_file and DW_AT_call_file as unsinged data
    d8bbbf2b52b2 perf probe: Use dwarf_attr_integrate as generic DWARF attr accessor
    b131b5f1361e media: s5p-mfc: Fix in register read and write for H264
    ff27800c0a6d media: s5p-mfc: Clear workbit to handle error condition
    4653ba32adcd media: s5p-mfc: Fix to handle reference queue during finishing
    1bd7283dc0be x86/MCE/AMD: Clear DFR errors found in THR handler
    5ddcd349d9af x86/mce: Get rid of msr_ops
    b8e7ed42bc3c btrfs: fix extent map use-after-free when handling missing device in read_one_chunk
    9c3beebd21f3 btrfs: move missing device handling in a dedicate function
    7528b21cebe0 btrfs: replace strncpy() with strscpy()
    4cef44525f4f phy: qcom-qmp-combo: fix out-of-bounds clock access
    855edc4ec64c ARM: renumber bits related to _TIF_WORK_MASK
    18f28f13301d ext4: fix off-by-one errors in fast-commit block filling
    b205332b6b87 ext4: fix unaligned memory access in ext4_fc_reserve_space()
    9c197dcbacc4 ext4: add missing validation of fast-commit record lengths
    6220ec405571 ext4: don't set up encryption key during jbd2 transaction
    6482d42baff5 ext4: disable fast-commit of encrypted dir operations
    6969367c1500 ext4: fix potential out of bound read in ext4_fc_replay_scan()
    818175ae3bd2 ext4: factor out ext4_fc_get_tl()
    ffd84d0bc5dc ext4: introduce EXT4_FC_TAG_BASE_LEN helper
    37914e029bec ext4: use ext4_debug() instead of jbd_debug()
    b0ed9a032e52 ext4: remove unused enum EXT4_FC_COMMIT_FAILED
    394514ddf90e tracing: Fix issue of missing one synthetic field
    5234dd5d205b block: mq-deadline: Fix dd_finish_request() for zoned devices
    78623b10fc9f drm/amdgpu: make display pinning more flexible (v2)
    6363da2c854a drm/amdgpu: handle polaris10/11 overlap asics (v2)
    2771c7a0eedc ext4: allocate extended attribute value in vmalloc area
    e995ff918e66 ext4: avoid unaccounted block allocation when expanding inode
    877247222a0c ext4: initialize quota before expanding inode in setproject ioctl
    322cf639b0b7 ext4: fix inode leak in ext4_xattr_inode_create() on an error path
    6380a93b57db ext4: fix kernel BUG in 'ext4_write_inline_data_end()'
    dc3bbc9753f4 ext4: avoid BUG_ON when creating xattrs
    844c40555297 ext4: fix error code return to user-space in ext4_get_branch()
    b870b28e29f6 ext4: fix corruption when online resizing a 1K bigalloc fs
    d440d6427a5e ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline
    def7a39091e6 ext4: init quota for 'old.inode' in 'ext4_rename'
    3c31d8d3ad95 ext4: fix uninititialized value in 'ext4_evict_inode'
    871800770d7f ext4: fix leaking uninitialized memory in fast-commit journal
    d480a49c15c4 ext4: fix bug_on in __es_tree_search caused by bad boot loader inode
    91009e361e8c ext4: check and assert if marking an no_delete evicting inode dirty
    820eacbc4e4f ext4: fix reserved cluster accounting in __es_remove_extent()
    0dcbf4dc3d54 ext4: fix bug_on in __es_tree_search caused by bad quota inode
    06a20a68bb6d ext4: add helper to check quota inums
    f7e6b5548f91 ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode
    205ac16628ac ext4: fix undefined behavior in bit shift for ext4_check_flag_values
    cf0e0817b0f9 ext4: fix use-after-free in ext4_orphan_cleanup
    970bfd7a4188 fs: ext4: initialize fsdata in pagecache_write()
    744bbde378a5 ext4: remove trailing newline from ext4_msg() message
    7192afa5e4bf ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop
    0d041b7251c1 ext4: silence the warning when evicting inode with dioread_nolock
    af4ceb00ebea drm/ingenic: Fix missing platform_driver_unregister() call in ingenic_drm_init()
    c919e1154b8c drm/i915/dsi: fix VBT send packet port selection for dual link DSI
    6948e570f54f drm/vmwgfx: Validate the box size for the snooped cursor
    5594fde1ef53 drm/connector: send hotplug uevent on connector cleanup
    317ebe61a6d4 device_cgroup: Roll back to original exceptions after copy failure
    ac838c663ba1 parisc: led: Fix potential null-ptr-deref in start_task()
    2c1881f0816a remoteproc: core: Do pm_relax when in RPROC_OFFLINE state
    9b615f957ca7 iommu/amd: Fix ivrs_acpihid cmdline parsing code
    35b792179b10 phy: qcom-qmp-combo: fix sc8180x reset
    dfd05a133556 driver core: Fix bus_type.match() error handling in __driver_attach()
    44618a339741 crypto: ccp - Add support for TEE for PCI ID 0x14CA
    c55507a94bc6 crypto: n2 - add missing hash statesize
    48307506964e riscv: mm: notify remote harts about mmu cache updates
    16b6d9525da6 riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
    657b440a270c PCI/sysfs: Fix double free in error path
    67fd41bbb0f5 PCI: Fix pci_device_is_present() for VFs by checking PF
    bfce073089cb ipmi: fix use after free in _ipmi_destroy_user()
    3b4984035c40 ima: Fix a potential NULL pointer access in ima_restore_measurement_list
    a843699f1665 mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()
    24f4649cd8fc ipmi: fix long wait in unload when IPMI disconnect
    fa6bbb4894b9 ipu3-imgu: Fix NULL pointer dereference in imgu_subdev_set_selection()
    cdb208b090f3 ASoC: jz4740-i2s: Handle independent FIFO flush bits
    2d0d083d8ae6 wifi: wilc1000: sdio: fix module autoloading
    2e4a088804c1 efi: Add iMac Pro 2017 to uefi skip cert quirk
    c49fb9b760d3 md/bitmap: Fix bitmap chunk size overflow issues
    94fe975d54ab block: mq-deadline: Do not break sequential write streams to zoned HDDs
    8e91679f7bd2 rtc: ds1347: fix value written to century register
    5eb8296d73da cifs: fix missing display of three mount options
    cfa9f66f9172 cifs: fix confusing debug message
    8b45a3b19a2e media: dvb-core: Fix UAF due to refcount races at releasing
    acf984a3718c media: dvb-core: Fix double free in dvb_register_device()
    5fac317bee18 ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmod
    ce50c6124580 staging: media: tegra-video: fix device_node use after free
    6b16758215f6 staging: media: tegra-video: fix chan->mipi value on error
    4f5de49d8c52 tracing: Fix infinite loop in tracing_read_pipe on overflowed print_trace_line
    17becbc4dd67 tracing/probes: Handle system names with hyphens
    2442e655a693 tracing/hist: Fix wrong return value in parse_action_params()
    2a81ff5ce893 tracing: Fix complicated dependency of CONFIG_TRACER_MAX_TRACE
    fe8c35c6ffa2 tracing: Fix race where eprobes can be called before the event
    eb20f6ed3733 x86/kprobes: Fix optprobe optimization check with CONFIG_RETHUNK
    3e0fbc06db12 x86/kprobes: Fix kprobes instruction boudary check with CONFIG_RETHUNK
    6268a0704b97 ftrace/x86: Add back ftrace_expected for ftrace bug reports
    c95cf30dd447 x86/microcode/intel: Do not retry microcode reloading on the APs
    f8fe2f41784b KVM: nVMX: Properly expose ENABLE_USR_WAIT_PAUSE control to L1
    ca3483d71bd5 KVM: nVMX: Inject #GP, not #UD, if "generic" VMXON CR0/CR4 check fails
    2c73b349fd78 KVM: VMX: Resume guest immediately when injecting #GP on ECREATE
    4a19f48bee09 of/kexec: Fix reading 32-bit "linux,initrd-{start,end}" values
    7eddcdb09f62 perf/core: Call LSM hook after copying perf_event_attr
    15697f653399 tracing/hist: Fix out-of-bound write on 'action_data.var_ref_idx'
    fd52b86a7248 dm cache: set needs_check flag after aborting metadata
    d2a0b298ebf8 dm cache: Fix UAF in destroy()
    856edd0e92f3 dm clone: Fix UAF in clone_dtr()
    9215b25f2e10 dm integrity: Fix UAF in dm_integrity_dtr()
    34cd15d83b72 dm thin: Fix UAF in run_timer_softirq()
    ac362c40e3e9 dm thin: resume even if in FAIL mode
    4b710e8481ad dm thin: Use last transaction's pmd->root when commit failed
    f8c26c33fef5 dm thin: Fix ABBA deadlock between shrink_slab and dm_pool_abort_metadata
    28d307f380df dm cache: Fix ABBA deadlock between shrink_slab and dm_cache_metadata_abort
    a9e89a567f48 mptcp: remove MPTCP 'ifdef' in TCP SYN cookies
    13b9fd0dee93 mptcp: mark ops structures as ro_after_init
    b2120ed7fd75 fs: dlm: retry accept() until -EAGAIN or error returns
    5b4478615f70 fs: dlm: fix sock release if listen fails
    b7ede8a63dd9 ALSA: hda/realtek: Apply dual codec fixup for Dell Latitude laptops
    dbd1f301915f ALSA: patch_realtek: Fix Dell Inspiron Plus 16
    8fb4c98f20df cpufreq: Init completion before kobject_init_and_add()
    876c6ab96782 PM/devfreq: governor: Add a private governor_data for governor
    0e945ea733ea selftests: Use optional USERCFLAGS and USERLDFLAGS
    31697c5953ff arm64: dts: qcom: sdm850-lenovo-yoga-c630: correct I2C12 pins drive strength
    163049866030 ARM: ux500: do not directly dereference __iomem
    99590f29b2b7 btrfs: fix resolving backrefs for inline extent followed by prealloc
    1f9cf4daf2d3 mmc: sdhci-sprd: Disable CLK_AUTO when the clock is less than 400K
    58d53ff30a00 arm64: dts: qcom: sdm845-db845c: correct SPI2 pins drive strength
    a777b90a0575 perf/x86/intel/uncore: Clear attr_update properly
    ca77ac238c1e perf/x86/intel/uncore: Disable I/O stacks to PMU mapping on ICX-D
    df06e7777cf9 jbd2: use the correct print format
    8e75b1dd4b16 ktest.pl minconfig: Unset configs instead of just removing them
    55e5e8b44561 kest.pl: Fix grub2 menu handling for rebooting
    823fed7c400f soc: qcom: Select REMAP_MMIO for LLCC driver
    8dabeeb1ff89 media: stv0288: use explicitly signed char
    d167ebea9086 net/af_packet: make sure to pull mac header
    9ff46c36df2e net/af_packet: add VLAN support for AF_PACKET SOCK_RAW GSO
    cd0f597c8aa8 rcu-tasks: Simplify trc_read_check_handler() atomic operations
    593ca696687c ASoC/SoundWire: dai: expand 'stream' concept beyond SoundWire
    a7874dac6ba6 ASoC: Intel/SOF: use set_stream() instead of set_tdm_slots() for HDAudio
    ae4f70b2fed4 kcsan: Instrument memcpy/memset/memmove with newer Clang
    d01fa993eb7f SUNRPC: Don't leak netobj memory when gss_read_proxy_verf() fails
    43135fb09812 tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak
    986cd9a9b954 tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
    638cd298dfeb tpm: acpi: Call acpi_put_table() to fix memory leak
    d58289fc77f8 mmc: vub300: fix warning - do not call blocking ops when !TASK_RUNNING
    7eb57bc92f1b f2fs: allow to read node block after shutdown
    acc13987fdea f2fs: should put a page when checking the summary info
    35d8a89862e6 mm, compaction: fix fast_isolate_around() to stay within boundaries
    91bd504128a5 md: fix a crash in mempool_free
    29328fbce56c mfd: mt6360: Add bounds checking in Regmap read/write call-backs
    c24cc476acd8 pnode: terminate at peers of source
    0c9118e381ff ALSA: line6: fix stack overflow in line6_midi_transmit
    ac4b4fdf3262 ALSA: line6: correct midi status byte when receiving data from podxt
    83c44f0ebfd0 ovl: Use ovl mounter's fsuid and fsgid in ovl_link()
    fcb94283e014 binfmt: Fix error return code in load_elf_fdpic_binary()
    ed9947277b2d hfsplus: fix bug causing custom uid and gid being unable to be assigned with mount
    76d52b54127c pstore/zone: Use GFP_ATOMIC to allocate zone buffer
    74b0a2fcc31a pstore: Properly assign mem_type property
    d25aac3489af HID: plantronics: Additional PIDs for double volume key presses quirk
    9d4294545c1d HID: multitouch: fix Asus ExpertBook P2 P2451FA trackpoint
    7280fdb80bf0 powerpc/rtas: avoid scheduling in rtas_os_term()
    d8939315b734 powerpc/rtas: avoid device tree lookups in rtas_os_term()
    23a249b1185c objtool: Fix SEGFAULT
    ed686e7a26dd fs/ntfs3: Fix slab-out-of-bounds in r_page
    dd34665cb004 fs/ntfs3: Delete duplicate condition in ntfs_read_mft()
    a9847a11b683 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_fill_super()
    abd2ee2cf42f fs/ntfs3: Use __GFP_NOWARN allocation at wnd_init()
    d7ce7bb6881a fs/ntfs3: Validate index root when initialize NTFS security
    f29676cc3a46 soundwire: dmi-quirks: add quirk variant for LAPBC710 NUC15
    9c8471a17f1f fs/ntfs3: Fix slab-out-of-bounds read in run_unpack
    3a52f1786772 fs/ntfs3: Validate resident attribute name
    3cd9e5b41b83 fs/ntfs3: Validate buffer length while parsing index
    c878a915bcb9 fs/ntfs3: Validate attribute name offset
    f62506f5e45a fs/ntfs3: Add null pointer check for inode operations
    2dd9ccfb06bc fs/ntfs3: Fix memory leak on ntfs_fill_super() error path
    ea6b3598406c fs/ntfs3: Add null pointer check to attr_load_runs_vcn
    de5e0955248f fs/ntfs3: Validate data run offset
    d4489ba8fb80 fs/ntfs3: Add overflow check for attribute size
    af7a195deae3 fs/ntfs3: Validate BOOT record_size
    8e228ac90c39 nvmet: don't defer passthrough commands with trivial effects to the workqueue
    f068a7315a9e nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
    576502f25f79 ata: ahci: Fix PCS quirk application for suspend
    7949b0df3dd9 block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
    ff3d9ab51cd5 ACPI: resource: do IRQ override on Lenovo 14ALC7
    698a0813ce69 ACPI: resource: do IRQ override on XMG Core 15
    a9ac7633bbe5 ACPI: resource: do IRQ override on LENOVO IdeaPad
    5fe31f29501c ACPI: resource: Skip IRQ override on Asus Vivobook K3402ZA/K3502ZA
    4c5fee0d883a nvme-pci: fix page size checks
    9141144b37f3 nvme-pci: fix mempool alloc size
    f17cf8fa2c9d nvme-pci: fix doorbell buffer value endianness
    ead99ec669b5 Revert "selftests/bpf: Add test for unstable CT lookup API"
    bf0543b93740 cifs: fix oops during encryption
    56f6de394f0f usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init
    90ffbb727c51 Linux 5.15.86
    3082f8705e82 pwm: tegra: Fix 32 bit build
    caa40d1f8524 mfd: qcom_rpm: Use devm_of_platform_populate() to simplify code
    408dbaa06578 extcon: usbc-tusb320: Call the Type-C IRQ handler only if a port is registered
    2471a44769b5 media: dvbdev: fix refcnt bug
    579fb0a3320b media: dvbdev: fix build warning due to comments
    1115e77c4fdd net: stmmac: fix errno when create_singlethread_workqueue() fails
    d3871af13aa0 scsi: qla2xxx: Fix crash when I/O abort times out
    50f993da9450 btrfs: do not BUG_ON() on ENOMEM when dropping extent items for a range
    1c65d50315db ovl: fix use inode directly in rcu-walk mode
    88ec6d11052d fbdev: fbcon: release buffer when fbcon_do_set_font() failed
    ca8bcb348aa8 gcov: add support for checksum field
    f36d8c865150 floppy: Fix memory leak in do_floppy_init()
    4193a6745b83 regulator: core: fix deadlock on regulator enable
    ce5d0ef1cf56 iio: adc128s052: add proper .data members in adc128_of_match table
    aec1058f2a92 iio: adc: ad_sigma_delta: do not use internal iio_dev lock
    dc6afd6070f3 iio: fix memory leak in iio_device_register_eventset()
    38c257ee6a5a reiserfs: Add missing calls to reiserfs_security_free()
    8a4236456a3a security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6
    1cabce56626a 9p: set req refcount to zero to avoid uninitialized usage
    dd2157a98f92 loop: Fix the max_loop commandline argument treatment when it is set to 0
    fd03bd4c7b0a HID: mcp2221: don't connect hidraw
    6c886be1ff76 HID: wacom: Ensure bootloader PID is usable in hidraw mode
    4d640eb1129d xhci: Prevent infinite loop in transaction errors recovery for streams
    936c5f96c896 usb: dwc3: core: defer probe on ulpi_read_id timeout
    e6bf6c40225a usb: dwc3: Fix race between dwc3_set_mode and __dwc3_set_mode
    0e883f3bc897 arm64: dts: qcom: sm8250: fix USB-DP PHY registers
    ffb14aac2658 usb: xhci-mtk: fix leakage of shared hcd when fail to set wakeup irq
    fcacd970e011 usb: cdnsp: fix lack of ZLP for ep0
    bcac79df0838 ALSA: hda/hdmi: Add HP Device 0x8711 to force connect list
    50c23a110779 ALSA: hda/realtek: Add quirk for Lenovo TianYi510Pro-14IOB
    76574b34657e ALSA: usb-audio: add the quirk for KT0206 device
    9e787dab98b6 ima: Simplify ima_lsm_copy_rule
    2cd365029c23 pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXES
    2068d41a3de9 afs: Fix lost servers_outstanding count
    0def8af038c1 perf debug: Set debug_peo_args and redirect_to_stderr variable to correct values in perf_quiet_option()
    41cccae10e10 pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversion
    8877df8135b7 LoadPin: Ignore the "contents" argument of the LSM hooks
    584202b0f1a1 drm/i915/display: Don't disable DDI/Transcoder when setting phy test pattern
    b253e075b13d ASoC: rt5670: Remove unbalanced pm_runtime_put()
    59f797a913dc ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume()
    132844d92fed ASoC: wm8994: Fix potential deadlock
    82f7c814edda ASoC: mediatek: mt8183: fix refcount leak in mt8183_mt6358_ts3a227_max98357_dev_probe()
    e5d6bf3e5ad0 ASoC: rockchip: pdm: Add missing clk_disable_unprepare() in rockchip_pdm_runtime_resume()
    85eb5c952b7f ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
    9ff07316cad2 ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()
    7643909cf06d ASoC: Intel: Skylake: Fix driver hang during shutdown
    33ff0f9f9cb5 ALSA: hda: add snd_hdac_stop_streams() helper
    78649a624dfa ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c
    98b0f50fec38 hwmon: (jc42) Fix missing unlock on error in jc42_write()
    5e6923350830 KVM: selftests: Fix build regression by using accessor function
    6215904fe295 tools/include: Add _RET_IP_ and math definitions to kernel.h
    c8853267289c orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init()
    39529b79b023 orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()
    a075c21ee026 drm/sti: Fix return type of sti_{dvo,hda,hdmi}_connector_mode_valid()
    f3c14b99f33a drm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid()
    9a8862820cbf hugetlbfs: fix null-ptr-deref in hugetlbfs_parse_param()
    4f6b206998c5 scsi: elx: libefc: Fix second parameter type in state callbacks
    23f0e9f86303 scsi: ufs: Reduce the START STOP UNIT timeout
    2cf66428a254 scsi: lpfc: Fix hard lockup when reading the rx_monitor from debugfs
    2b3e3ecdb402 crypto: hisilicon/hpre - fix resource leak in remove process
    adf6a00859d0 clk: st: Fix memory leak in st_of_quadfs_setup()
    6c8aee0c8fcc media: si470x: Fix use-after-free in si470x_int_in_callback()
    58b6496a745f mmc: renesas_sdhi: better reset from HS400 mode
    c33c904124c4 mmc: f-sdh30: Add quirks for broken timeout clock capability
    69346de0eb95 wifi: mt76: do not run mt76u_status_worker if the device is not running
    feb847e6591e regulator: core: fix use_count leakage when handling boot-on
    474e70bd90cf libbpf: Avoid enum forward-declarations in public API in C++ mode
    62095428690c drm/amd/display: Use the largest vready_offset in pipe group
    eff45bfbc25a blk-mq: fix possible memleak when register 'hctx' failed
    d0af6220bb1e media: dvb-usb: fix memory leak in dvb_usb_adapter_init()
    88a6f8a72d16 media: dvbdev: adopts refcnt to avoid UAF
    438cd29fec3e media: dvb-frontends: fix leak of memory fw
    a96841f5aa45 ethtool: avoiding integer overflow in ethtool_phys_id()
    b327c68ace71 bpf: Prevent decl_tag from being referenced in func_proto arg
    4b8f3b939266 ppp: associate skb with a device at tx
    5d5a481a7fd0 mrp: introduce active flags to prevent UAF when applicant uninit
    222cc0435698 ipv6/sit: use DEV_STATS_INC() to avoid data-races
    8a3b0237107a net: add atomic_long_t to net_device_stats fields
    58dd11f62427 drm/amd/display: fix array index out of bound error in bios parser
    a3cc41e05e8a md/raid1: stop mdx_raid1 thread when raid1 array run failed
    b621d17fe8b0 drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()
    5afac74f153b drm/mediatek: Fix return type of mtk_hdmi_bridge_mode_valid()
    072508e99dad drm/sti: Use drm_mode_copy()
    673a3e019908 drm/rockchip: Use drm_mode_copy()
    b9b07900d249 drm/msm: Use drm_mode_copy()
    5ad774fb823c s390/lcs: Fix return type of lcs_start_xmit()
    dfbf0122ea1b s390/netiucv: Fix return type of netiucv_tx()
    8131d1880c09 s390/ctcm: Fix return type of ctc{mp,}m_tx()
    f9084e9930db drm/amdgpu: Fix type of second parameter in odn_edit_dpm_table() callback
    b74580d6184e drm/amdgpu: Fix type of second parameter in trans_msg() callback
    314f7092b277 igb: Do not free q_vector unless new one was allocated
    0b12d2aa264b wifi: brcmfmac: Fix potential shift-out-of-bounds in brcmf_fw_alloc_request()
    19bb9e98e103 hamradio: baycom_epp: Fix return type of baycom_send_packet()
    a413ebb6049e net: ethernet: ti: Fix return type of netcp_ndo_start_xmit()
    5d3f4478d22b bpf: make sure skb->len != 0 when redirecting to a tunneling device
    be2803dd29bd qed (gcc13): use u16 for fid to be big enough
    a8bc0ac43833 Revert "drm/amd/display: Limit max DSC target bpp for specific monitors"
    cc8deb82cca5 drm/amd/display: prevent memory leak
    49dd0e8029e8 ipmi: fix memleak when unload ipmi driver
    68871c005f3c ASoC: codecs: rt298: Add quirk for KBL-R RVP platform
    3eca9697c2f3 wifi: ar5523: Fix use-after-free on ar5523_cmd() timed out
    c319196a0e34 wifi: ath9k: verify the expected usb_endpoints are present
    10c4b63d09a5 brcmfmac: return error when getting invalid max_flowrings from dongle
    ad31bc146f0e media: imx-jpeg: Disable useless interrupt to avoid kernel panic
    6e1a6880e1e9 drm/etnaviv: add missing quirks for GC300
    367296925c76 hfs: fix OOB Read in __hfs_brec_find
    ebe16676e1dc acct: fix potential integer overflow in encode_comp_t()
    8b6ef451b570 nilfs2: fix shift-out-of-bounds due to too large exponent of block size
    b47f5c579c81 nilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset()
    5777432ebaaf ACPICA: Fix error code path in acpi_ds_call_control_method()
    10b87da8fae7 fs: jfs: fix shift-out-of-bounds in dbDiscardAG
    5059ea84a8a8 jfs: Fix fortify moan in symlink
    e7a6a53c8714 udf: Avoid double brelse() in udf_rename()
    0536f76a2bca fs: jfs: fix shift-out-of-bounds in dbAllocAG
    88cea1676a09 binfmt_misc: fix shift-out-of-bounds in check_special_flags
    cadb938a5e50 x86/hyperv: Remove unregister syscore call from Hyper-V cleanup
    659747f6f610 video: hyperv_fb: Avoid taking busy spinlock on panic path
    9d05c20b0ac9 arm64: make is_ttbrX_addr() noinstr-safe
    98a5b1265a36 rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state()
    d238f94b2b61 HID: amd_sfh: Add missing check for dma_alloc_coherent
    9da204cd67c4 net: stream: purge sk_error_queue in sk_stream_kill_queues()
    f47426250fc0 myri10ge: Fix an error handling path in myri10ge_probe()
    1ec0a7d5b020 rxrpc: Fix missing unlock in rxrpc_do_sendmsg()
    5478eb7adcc5 net_sched: reject TCF_EM_SIMPLE case for complex ematch module
    4f05d8e2fb3a mailbox: zynq-ipi: fix error handling while device_register() fails
    550f403e4604 mailbox: arm_mhuv2: Fix return value check in mhuv2_probe()
    28604a960c90 mailbox: mpfs: read the system controller's status
    8fb773eed490 skbuff: Account for tail adjustment during pull operations
    dc0f38957aa2 arm64: dts: mt8183: Fix Mali GPU clock
    790b396f6bde soc: mediatek: pm-domains: Fix the power glitch issue
    0133615a0600 openvswitch: Fix flow lookup to use unmasked key
    04e454bd97e2 selftests: devlink: fix the fd redirect in dummy_reporter_test
    d52646a46c4d rtc: mxc_v2: Add missing clk_disable_unprepare()
    ac95c4e35fb2 igc: Set Qbv start_time and end_time to end_time if not being configured in GCL
    af599851388e igc: Lift TAPRIO schedule restriction
    4d50d640eda4 igc: recalculate Qbv end_time by considering cycle time
    1ef941695715 igc: allow BaseTime 0 enrollment for Qbv
    c0df8e7ba6aa igc: Add checking for basetime less than zero
    5b46b53f45f9 igc: Use strict cycles for Qbv scheduling
    fd7d02943659 igc: Enhance Qbv scheduling by using first flag bit
    9b5b50329e2e r6040: Fix kmemleak in probe and remove
    1b428ba31b91 unix: Fix race in SOCK_SEQPACKET's unix_dgram_sendmsg()
    aae9c24ebd90 nfc: pn533: Clear nfc_target before being used
    bcf2c1dc5358 net: enetc: avoid buffer leaks on xdp_do_redirect() failure
    f463a1295c4f selftests/bpf: Add test for unstable CT lookup API
    094f3d9314d6 block, bfq: fix possible uaf for 'bfqq->bic'
    cf48cb8debb2 mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    560735375165 mISDN: hfcpci: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    ada4022f4891 mISDN: hfcsusb: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    0578f9929fd3 net: macsec: fix net device access prior to holding a lock
    a472f069ced8 nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure
    f8f1d037d63d rtc: pcf85063: fix pcf85063_clkout_control
    35a174552bde rtc: pic32: Move devm_rtc_allocate_device earlier in pic32_rtc_probe()
    eea105c4e4b6 rtc: st-lpc: Add missing clk_disable_unprepare in st_rtc_probe()
    74248b556006 netfilter: flowtable: really fix NAT IPv6 offload
    5c940632cabf mfd: pm8008: Fix return value check in pm8008_probe()
    ec10848e2638 mfd: pm8008: Remove driver data structure pm8008_data
    38959417d350 mfd: qcom_rpm: Fix an error handling path in qcom_rpm_probe()
    b95ae3543e51 mfd: bd957x: Fix Kconfig dependency on REGMAP_IRQ
    615d3c8a469d powerpc/pseries/eeh: use correct API for error log size
    68de42e00821 powerpc/eeh: Drop redundant spinlock initialization
    2b157b4b13b4 remoteproc: qcom: q6v5: Fix missing clk_disable_unprepare() in q6v5_wcss_qcs404_power_on()
    4b191533f57f remoteproc: qcom_q6v5_pas: Fix missing of_node_put() in adsp_alloc_memory_region()
    d7628ebca817 remoteproc: qcom_q6v5_pas: detach power domains on remove
    fdf47f462ad0 remoteproc: qcom_q6v5_pas: disable wakeup on probe fail or remove
    098ebb9089c4 remoteproc: qcom: q6v5: Fix potential null-ptr-deref in q6v5_wcss_init_mmio()
    131c0a3ead78 remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()
    4507c6a67234 pwm: mediatek: always use bus clock for PWM on MT7622
    4fbbb14f0ea4 pwm: mtk-disp: Fix the parameters calculated by the enabled flag of disp_pwm
    eec59807a26b pwm: sifive: Call pwm_sifive_update_clock() while mutex is held
    37ea9a6c417f iommu/sun50i: Remove IOMMU_DOMAIN_IDENTITY
    8de2c29db68b selftests/powerpc: Fix resource leaks
    dd49c5031e85 powerpc/hv-gpci: Fix hv_gpci event list
    65d3469f3b91 powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe()
    cf03db289640 powerpc/perf: callchain validate kernel stack pointer bounds
    5de190224445 powerpc/xive: add missing iounmap() in error path in xive_spapr_populate_irq_data()
    b31e9647f1a2 powerpc/xmon: Fix -Wswitch-unreachable warning in bpt_cmds
    6a310e8db540 cxl: Fix refcount leak in cxl_calc_capp_routing
    0accd460dc7b powerpc/52xx: Fix a resource leak in an error handling path
    be2b9b1a60b7 macintosh/macio-adb: check the return value of ioremap()
    19ded60b40e8 macintosh: fix possible memory leak in macio_add_one_device()
    e42b543d0805 iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe()
    6e501b3fd7a2 iommu/amd: Fix pci device refcount leak in ppr_notifier()
    9383921e8b21 rtc: pcf85063: Fix reading alarm
    b66aa7b30608 rtc: snvs: Allow a time difference on clock register read
    7a6cc22eab18 rtc: cmos: Disable ACPI RTC event on removal
    689f757f0ab0 rtc: cmos: Rename ACPI-related functions
    1c74bbecdabc rtc: cmos: Eliminate forward declarations of some functions
    3a439a2cab30 rtc: cmos: Call rtc_wake_setup() from cmos_do_probe()
    9febdff75cef rtc: cmos: Call cmos_wake_setup() from cmos_do_probe()
    d9324fb3eed7 rtc: cmos: fix build on non-ACPI platforms
    fe46b9303e32 rtc: cmos: Fix wake alarm breakage
    60c6e563a843 rtc: cmos: Fix event handler registration ordering issue
    d3aa0834691f rtc: rtc-cmos: Do not check ACPI_FADT_LOW_POWER_S0
    6e98a93c7500 dmaengine: idxd: Fix crc_val field for completion record
    ab53749c32db fs/ntfs3: Fix slab-out-of-bounds read in ntfs_trim_fs
    1ba0968b3341 pwm: tegra: Improve required rate calculation
    c160505c9b57 include/uapi/linux/swab: Fix potentially missing __always_inline
    59463193b0dc phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices
    ae00848e5569 iommu/rockchip: fix permission bits in page table entries v2
    a7f6ad2c4251 iommu/sun50i: Fix flush size
    38ccb9b469c2 iommu/sun50i: Fix R/W permission check
    ae4ab47a0bcd iommu/sun50i: Consider all fault sources for reset
    84fee3ce8216 iommu/sun50i: Fix reset release
    6f9fe31a4823 fs/ntfs3: Harden against integer overflows
    30f20ceb87f7 overflow: Implement size_t saturating arithmetic helpers
    4b51f27d4448 fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst()
    28f345bec785 RDMA/siw: Fix pointer cast warning
    01d925e2a556 perf stat: Do not delay the workload with --delay
    a273f1dd5d97 perf stat: Refactor __run_perf_stat() common code
    d21534ab4fd7 power: supply: fix null pointer dereferencing in power_supply_get_battery_info
    d4898d8de620 power: supply: ab8500: Fix error handling in ab8500_charger_init()
    30b191798fda HSI: omap_ssi_core: Fix error handling in ssi_init()
    a72fe8eb5555 power: supply: z2_battery: Fix possible memleak in z2_batt_probe()
    5ba0e8fa150c perf symbol: correction while adjusting symbol
    a34027b63d8c perf trace: Handle failure when trace point folder is missed
    60aeacce64a9 perf trace: Use macro RAW_SYSCALL_ARGS_NUM to replace number
    e4700f62dc83 perf trace: Return error if a system call doesn't exist
    870ad0917d83 power: supply: fix residue sysfs file in error handle route of __power_supply_register()
    1c2b9c810076 HSI: omap_ssi_core: fix possible memory leak in ssi_probe()
    c5f729d3d61d HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()
    ea37831f8332 fbdev: uvesafb: Fixes an error handling path in uvesafb_probe()
    5bcae36b58f6 fbdev: uvesafb: don't build on UML
    07c1a3c2df5e fbdev: geode: don't build on UML
    ace8312b5d7d fbdev: ep93xx-fb: Add missing clk_disable_unprepare in ep93xxfb_probe()
    04946113fb57 fbdev: vermilion: decrease reference count in error path
    fc0d5034fa9b fbdev: via: Fix error in via_core_init()
    98272463338c fbdev: pm2fb: fix missing pci_disable_device()
    3aa4205134ac fbdev: ssd1307fb: Drop optional dependency
    4958316a6d19 thermal/drivers/qcom/lmh: Fix irq handler return value
    ad72205ac6d2 thermal/drivers/qcom/temp-alarm: Fix inaccurate warning for gen2
    37fb4e13d221 thermal/drivers/imx8mm_thermal: Validate temperature range
    95c18f4a3c99 samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()
    31c1b5d3000c ksmbd: Fix resource leak in ksmbd_session_rpc_open()
    a44102d36a7a tracing/hist: Fix issue of losting command info in error_log
    8308ccfcbd2b usb: storage: Add check for kcalloc
    96c12fd0ec74 i2c: ismt: Fix an out-of-bounds bug in ismt_access()
    821280094399 i2c: mux: reg: check return value after calling platform_get_resource()
    46d8f63bb815 gpiolib: protect the GPIO device against being dropped while in use by user-space
    333a271dfd6b gpiolib: make struct comments into real kernel docs
    7c755a2d6df5 gpiolib: cdev: fix NULL-pointer dereferences
    b0a26e199964 gpiolib: Get rid of redundant 'else'
    4bc217b25ea8 vme: Fix error not catched in fake_init()
    31bfe024a957 staging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor()
    b0aaec894a90 staging: rtl8192u: Fix use after free in ieee80211_rx()
    ed4580c3f8e4 i2c: pxa-pci: fix missing pci_disable_device() on error in ce4100_i2c_probe
    28dc61cc49c6 chardev: fix error handling in cdev_device_add()
    43bfc7c2402a mcb: mcb-parse: fix error handing in chameleon_parse_gdd()
    f3686e5e8de0 drivers: mcb: fix resource leak in mcb_probe()
    9d4a0aca8a75 usb: gadget: f_hid: fix refcount leak on error path
    d3136b79705c usb: gadget: f_hid: fix f_hidg lifetime vs cdev
    a41c2bba7f28 usb: roles: fix of node refcount leak in usb_role_switch_is_parent()
    18b9202188a4 coresight: trbe: remove cpuhp instance node before remove cpuhp state
    e854a4ab388a counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update
    39a156715fb7 iio: adis: add '__adis_enable_irq()' implementation
    3a2dde8e5d6f iio:imu:adis: Move exports into IIO_ADISLIB namespace
    3c2e13025b54 iio: adis: stylistic changes
    de3e358912ec iio: adis: handle devices that cannot unmask the drdy pin
    994243de7a61 iio: temperature: ltc2983: make bulk write buffer DMA-safe
    22511eefa61d cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter()
    e5021bbf11b0 cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter()
    b308fdedef09 firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()
    d5c8f9003a28 misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_os
    848c45964ded misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
    37a13b274e45 ocxl: fix pci device refcount leak when calling get_function_0()
    3299983a6bf6 misc: ocxl: fix possible name leak in ocxl_file_register_afu()
    357379d504c0 test_firmware: fix memory leak in test_firmware_init()
    07d547d74244 serial: sunsab: Fix error handling in sunsab_init()
    919e745fdd0d serial: altera_uart: fix locking in polling mode
    e1c4f18214e3 tty: serial: altera_uart_{r,t}x_chars() need only uart_port
    b133b45ba607 tty: serial: clean up stop-tx part in altera_uart_tx_chars()
    6f7d82380fbe serial: pch: Fix PCI device refcount leak in pch_request_dma()
    0dfc7dfe5b6e serial: stm32: move dma_request_chan() before clk_prepare_enable()
    926b0967f781 serial: pl011: Do not clear RX FIFO & RX interrupt in unthrottle.
    d71a611fca19 serial: amba-pl011: avoid SBSA UART accessing DMACR register
    f46f9d2e1664 extcon: usbc-tusb320: Update state on probe even if no IRQ pending
    ac067e75c4c2 extcon: usbc-tusb320: Add USB TYPE-C support
    9280761167f0 extcon: usbc-tusb320: Factor out extcon into dedicated functions
    05aa8ff22d4a usb: typec: Factor out non-PD fwnode properties
    31e9c2751035 extcon: usbc-tusb320: Add support for TUSB320L
    b9c8820d91e9 extcon: usbc-tusb320: Add support for mode setting and reset
    4524599a6a29 usb: typec: tipd: Fix spurious fwnode_handle_put in error path
    b0d86eacc849 usb: typec: tipd: Cleanup resources if devm_tps6598_psy_register fails
    ba75be6f0d9d usb: typec: tcpci: fix of node refcount leak in tcpci_register_port()
    154d5713a241 usb: typec: Check for ops->exit instead of ops->enter in altmode_exit
    1f5661388f43 staging: vme_user: Fix possible UAF in tsi148_dma_list_add
    a3c4bc261605 usb: fotg210-udc: Fix ages old endianness issues
    5e87d412219e uio: uio_dmem_genirq: Fix deadlock between irq config and handling
    79a4bdb6b992 uio: uio_dmem_genirq: Fix missing unlock in irq configuration
    3f22a273ef7c vfio: platform: Do not pass return buffer to ACPI _RST method
    417ef049e3fd class: fix possible memory leak in __class_register()
    f76824ab2bac serial: 8250_bcm7271: Fix error handling in brcmuart_init()
    6b4424efcfaa serial: tegra: Read DMA status before terminating
    a0ead7e8da84 drivers: dio: fix possible memory leak in dio_init()
    e8985caf0589 RISC-V: Align the shadow stack
    ca48174a7643 IB/IPoIB: Fix queue count inconsistency for PKEY child interfaces
    82bd423ed977 hwrng: geode - Fix PCI device refcount leak
    2b79a5e56077 hwrng: amd - Fix PCI device refcount leak
    42cbff35f475 crypto: img-hash - Fix variable dereferenced before check 'hdev->req'
    b9634f99b6d4 RDMA/hns: Fix error code of CMD
    b06bb747ce1f RDMA/hns: Fix page size cap from firmware
    4c05c7cf2581 RDMA/hns: Fix PBL page MTR find
    fa267c419216 RDMA/hns: Fix AH attr queried by query_qp
    e27fb26e75cf orangefs: Fix sysfs not cleanup when dev init failed
    3e9c395ef2d5 PCI: mt7621: Add sentinel to quirks table
    bcc65c2e2a06 PCI: mt7621: Rename mt7621_pci_ to mt7621_pcie_
    0a7eab1cc436 RDMA/srp: Fix error return code in srp_parse_options()
    63011001792c RDMA/hfi1: Fix error return code in parse_platform_config()
    339ca035af43 riscv/mm: add arch hook arch_clear_hugepage_flags
    20d363dcd6dc crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe()
    815b65d714f8 crypto: amlogic - Remove kcalloc without check
    af71199291db RDMA/nldev: Fix failure to send large messages
    bb895786a49d f2fs: avoid victim selection from previous victim section
    655e955debde RDMA/nldev: Add checks for nla_nest_start() in fill_stat_counter_qps()
    1895e908b3ae scsi: snic: Fix possible UAF in snic_tgt_create()
    09a60f908d8b scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails
    e59da172059f scsi: ipr: Fix WARNING in ipr_init()
    c444f58fdad6 scsi: scsi_debug: Fix possible name leak in sdebug_add_host_helper()
    4e4968dfb5fa scsi: fcoe: Fix possible name leak when device_register() fails
    0f5006d7d13b scsi: scsi_debug: Fix a warning in resp_report_zones()
    2432719b1afc scsi: scsi_debug: Fix a warning in resp_verify()
    038359eeccff scsi: efct: Fix possible memleak in efct_device_init()
    23053a792647 scsi: hpsa: Fix possible memory leak in hpsa_add_sas_device()
    2ab6d5927c7b scsi: hpsa: Fix error handling in hpsa_add_sas_host()
    6a92129c8f99 scsi: mpt3sas: Fix possible resource leaks in mpt3sas_transport_port_add()
    26c0f7e1ac92 padata: Fix list iterator in padata_do_serial()
    17afa98bccec padata: Always leave BHs disabled when running ->parallel()
    221afb2a1b8d crypto: tcrypt - Fix multibuffer skcipher speed test mem leak
    bfe10a1d9fbc scsi: hpsa: Fix possible memory leak in hpsa_init_one()
    38ef0c0b0973 dt-bindings: visconti-pcie: Fix interrupts array max constraints
    83aad8111bcf dt-bindings: imx6q-pcie: Fix clock names for imx6sx and imx8mq
    f64f08b9e6fb RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed
    35f9cd060e68 RDMA/hns: fix memory leak in hns_roce_alloc_mr()
    6d5220a553de crypto: ccree - Make cc_debugfs_global_fini() available for module init function
    2e9cf3e78311 RDMA/hfi: Decrease PCI device reference count in error path
    7f476d639c89 PCI: Check for alloc failure in pci_request_irq()
    49bc2be89759 RDMA/hns: Fix ext_sge num error when post send
    0e6160d79db7 RDMA/hns: Repacing 'dseg_len' by macros in fill_ext_sge_inl_data()
    e5ea48788ed6 crypto: hisilicon/qm - add missing pci_dev_put() in q_num_set()
    442caec12f4f crypto: cryptd - Use request context instead of stack for sub-request
    ab677729fc5c crypto: ccree - Remove debugfs when platform_driver_register failed
    0328ca389a80 scsi: scsi_debug: Fix a warning in resp_write_scat()
    1ba8ecb66432 RDMA/siw: Set defined status for work completion with undefined status
    6e757005ba49 RDMA/nldev: Return "-EAGAIN" if the cm_id isn't from expected port
    f981c697b2f9 RDMA/core: Make sure "ib_port" is valid when access sysfs node
    13586753ae55 RDMA/restrack: Release MR restrack when delete
    6e78ca677fa2 PCI: vmd: Disable MSI remapping after suspend
    47e31b86edff IB/mad: Don't call to function that might sleep while in atomic context
    f8d8fbd3b6d6 RDMA/siw: Fix immediate work request flush to completion queue
    2a26849d793b scsi: qla2xxx: Fix set-but-not-used variable warnings
    799ed3755951 RDMA/irdma: Report the correct link speed
    d40d1b1c61a4 f2fs: fix to destroy sbi->post_read_wq in error path of f2fs_fill_super()
    847f725006e3 f2fs: fix normal discard process
    865bb7b5a7de f2fs: fix to invalidate dcc->f2fs_issue_discard in error path
    5f509fa740b1 apparmor: Fix memleak in alloc_ns()
    46f3cb83e480 crypto: rockchip - rework by using crypto_engine
    3ed0548d395f crypto: rockchip - remove non-aligned handling
    5562009f5f88 crypto: rockchip - better handle cipher key
    26f397135606 crypto: rockchip - add fallback for ahash
    34fe54af3cf5 crypto: rockchip - add fallback for cipher
    314217591ec6 crypto: rockchip - do not store mode globally
    853cd97d2bc1 crypto: rockchip - do not do custom power management
    d5100272e478 f2fs: Fix the race condition of resize flag between resizefs
    db72c5dffcba PCI: pci-epf-test: Register notifier if only core_init_notifier is enabled
    26ffeff67b9a RDMA/core: Fix order of nldev_exit call
    a00a7ac25114 PCI: dwc: Fix n_fts[] array overrun
    10ae636115b5 apparmor: Use pointer to struct aa_label for lbs_cred
    8d50ccfbe27b scsi: core: Fix a race between scsi_done() and scsi_timeout()
    9bdf3a59b3dd crypto: nitrox - avoid double free on error path in nitrox_sriov_init()
    7efc0d39ee06 crypto: sun8i-ss - use dma_addr instead u32
    aaef0bdd7ad2 crypto: hisilicon/qm - fix missing destroy qp_idr
    d567776ae289 apparmor: Fix abi check to include v8 abi
    bc9d2cbbdcd3 apparmor: fix lockdep warning when removing a namespace
    775a37ffa9f4 apparmor: fix a memleak in multi_transaction_new()
    09f30f394e83 net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
    86664b865239 i40e: Fix the inability to attach XDP program on downed interface
    0abd337acdd2 stmmac: fix potential division by 0
    93a4a0455871 Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()
    8d6bbe5241e7 Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()
    804de4e24a5a Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave()
    1030c3aeeef9 Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave()
    9fcb5b367e6c Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave()
    14cc94a59852 Bluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave()
    06467130d521 Bluetooth: btusb: don't call kfree_skb() under spin_lock_irqsave()
    e52b7d460a30 Bluetooth: btintel: Fix missing free skb in btintel_setup_combined()
    f7c9de3bcfcd Bluetooth: MGMT: Fix error report for ADD_EXT_ADV_PARAMS
    2addf3cb6381 sctp: sysctl: make extra pointers netns aware
    21296a52caa6 ntb_netdev: Use dev_kfree_skb_any() in interrupt context
    0fff763f110f net: lan9303: Fix read error execution path
    882bad40a008 can: tcan4x5x: Fix use of register error status mask
    d50092f662ec can: m_can: Call the RAM init directly from m_can_chip_config
    55064642aac1 can: tcan4x5x: Remove invalid write in clear_interrupts
    641eef876657 net: amd-xgbe: Check only the minimum speed for active/passive cables
    60b35e28dc2a net: amd-xgbe: Fix logic around active and passive cables
    d436bf39f47b af_unix: call proto_unregister() in the error path in af_unix_init()
    ee9d03bf8907 net: amd: lance: don't call dev_kfree_skb() under spin_lock_irqsave()
    6f1c4c01cc9b hamradio: don't call dev_kfree_skb() under spin_lock_irqsave()
    eb2c6a6e8f75 net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave()
    ef08e1082c45 net: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave()
    2786ef4066d9 net: apple: bmac: don't call dev_kfree_skb() under spin_lock_irqsave()
    d81314e2dded net: apple: mace: don't call dev_kfree_skb() under spin_lock_irqsave()
    9a6544343bba net/tunnel: wait until all sk_user_data reader finish before releasing the sock
    998b4e54f517 net: farsync: Fix kmemleak when rmmods farsync
    71605c690621 ethernet: s2io: don't call dev_kfree_skb() under spin_lock_irqsave()
    ce1b3a41e796 of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()
    8399b9893548 drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
    96e50897029f net: stmmac: fix possible memory leak in stmmac_dvr_probe()
    ecaf934e4412 net: stmmac: selftests: fix potential memleak in stmmac_test_arpoffload()
    e1359bc90a49 net: defxx: Fix missing err handling in dfx_init()
    c65603abc389 net: vmw_vsock: vmci: Check memcpy_from_msg()
    9de42116fc45 clk: socfpga: Fix memory leak in socfpga_gate_init()
    e515881adeb1 bpf: Do not zero-extend kfunc return values
    ce61a877c79f blktrace: Fix output non-blktrace event when blk_classic option enabled
    f2ae56fa0b61 wifi: brcmfmac: Fix error return code in brcmf_sdio_download_firmware()
    23060daf3759 wifi: rtl8xxxu: Fix the channel width reporting
    6d0e00334e31 wifi: rtl8xxxu: Add __packed to struct rtl8723bu_c2h
    e69d38065080 spi: spi-gpio: Don't set MOSI as an input if not 3WIRE mode
    4e501a31af8e clk: samsung: Fix memory leak in _samsung_clk_register_pll()
    441c05485cf1 media: coda: Add check for kmalloc
    b99872178e74 media: coda: Add check for dcoda_iram_alloc
    fbf081ebe268 media: c8sectpfe: Add of_node_put() when breaking out of loop
    2a7330d8200e regulator: qcom-labibb: Fix missing of_node_put() in qcom_labibb_regulator_probe()
    ecf1b317a86b mmc: core: Normalize the error handling branch in sd_read_ext_regs()
    7fecca429e6e memstick/ms_block: Add check for alloc_ordered_workqueue
    b77ced3fce5c memstick: ms_block: Add error handling support for add_disk()
    ae00eb67792b mmc: renesas_sdhi: alway populate SCC pointer
    88fa6a4e39c1 mmc: mmci: fix return value check of mmc_add_host()
    29c3690969e7 mmc: wbsd: fix return value check of mmc_add_host()
    0959cc1685eb mmc: via-sdmmc: fix return value check of mmc_add_host()
    e0cfe7aa41f3 mmc: meson-gx: fix return value check of mmc_add_host()
    62005dfcc396 mmc: omap_hsmmc: fix return value check of mmc_add_host()
    1925472dec31 mmc: atmel-mci: fix return value check of mmc_add_host()
    58c3a8d0f1ab mmc: wmt-sdmmc: fix return value check of mmc_add_host()
    afc898019e7b mmc: vub300: fix return value check of mmc_add_host()
    6444079767b6 mmc: toshsd: fix return value check of mmc_add_host()
    df683201c7ff mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()
    30dc645461df mmc: rtsx_pci: fix return value check of mmc_add_host()
    bc7e8744f581 mmc: pxamci: fix return value check of mmc_add_host()
    2d496050ded8 mmc: mxcmmc: fix return value check of mmc_add_host()
    f0502fe86a2d mmc: moxart: fix return value check of mmc_add_host()
    29c5b4da41f3 mmc: alcor: fix return value check of mmc_add_host()
    52e0d8a8dda3 riscv, bpf: Emit fixed-length instructions for BPF_PSEUDO_FUNC
    0de70ed675fa NFSv4.x: Fail client initialisation if state manager thread can't run
    7055c878a0ec SUNRPC: Fix missing release socket in rpc_sockname()
    79d4cd40da5a xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()
    cba633b24a98 ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt
    9018550d96df media: saa7164: fix missing pci_disable_device()
    2df1e2a6ec52 ALSA: pcm: Set missing stop_operating flag at undoing trigger start
    a443c55d96de bpf, sockmap: fix race in sock_map_free()
    5229b9033713 hwmon: (jc42) Restore the min/max/critical temperatures on resume
    785f5c732ab8 hwmon: (jc42) Convert register access and caching to regmap/regcache
    c4c64d8abd65 regulator: core: fix resource leak in regulator_register()
    07f82dca1122 configfs: fix possible memory leak in configfs_create_dir()
    21a061772b08 hsr: Synchronize sequence number updates.
    a82f5b2e0864 hsr: Synchronize sending frames to have always incremented outgoing seq nr.
    bb3b40cd6ae5 hsr: Disable netpoll.
    8e148d981bcc hsr: Avoid double remove of a node.
    9387cbf7f7fd hsr: Add a rcu-read lock to hsr_forward_skb().
    a051e10bfc69 clk: qcom: clk-krait: fix wrong div2 functions
    8275c7465d9e clk: qcom: lpass-sc7180: Fix pm_runtime usage
    91657ec4d0e5 regulator: core: fix module refcount leak in set_supply()
    66976a3be9bc wifi: mt76: fix coverity overrun-call in mt76_get_txpower()
    a21e3f6f414b wifi: mt76: mt7921: fix reporting of TX AGGR histogram
    c8659018b630 mt76: stop the radar detector after leaving dfs channel
    ae19622e7ff8 wifi: cfg80211: Fix not unregister reg_pdev when load_builtin_regdb_keys() fails
    2e32f1299814 wifi: mac80211: fix memory leak in ieee80211_if_add()
    f58888434d75 spi: spidev: mask SPI_CS_HIGH in SPI_IOC_RD_MODE
    b6d27d9250e7 bonding: uninitialized variable in bond_miimon_inspect()
    7201e4f4f52e bpf, sockmap: Fix data loss caused by using apply_bytes on ingress redirect
    6105ed3598e1 bpf, sockmap: Fix missing BPF_F_INGRESS flag when using apply_bytes
    8786bde11a4f bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data
    a222f992ce5b Input: wistron_btns - disable on UML
    d78649c21bbb netfilter: conntrack: set icmpv6 redirects as RELATED
    09fe3b139268 ASoC: pcm512x: Fix PM disable depth imbalance in pcm512x_probe
    8876793e56ec drm/amdkfd: Fix memory leakage
    8f2d2badf8ca drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()
    88c6e0995c04 drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()
    0af0ff9fc00d drm/amd/pm/smu11: BACO is supported when it's in BACO state
    27e7cf595d4a ASoC: mediatek: mt8173: Enable IRQ when pdata is ready
    905e5653756a ASoC: mediatek: mt8173: Fix debugfs registration for components
    d8e32f1bf1a9 wifi: iwlwifi: mvm: fix double free on tx path.
    d0bb44775c44 ALSA: asihpi: fix missing pci_disable_device()
    f12377abac15 NFS: Fix an Oops in nfs_d_automount()
    9a96aff53c21 NFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturn
    c6aca4c7ba8f NFSv4: Fix a credential leak in _nfs4_discover_trunking()
    7f6607c88426 NFSv4.2: Fix initialisation of struct nfs4_label
    51899eefd1a6 NFSv4.2: Fix a memory stomp in decode_attr_security_label
    34dffc77ddf6 NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding
    d926611c89ac ASoC: mediatek: mtk-btcvsd: Add checks for write and read of mtk_btcvsd_snd
    f243ff92d6d3 ASoC: dt-bindings: wcd9335: fix reset line polarity in example
    41d7b8291c6d drm/tegra: Add missing clk_disable_unprepare() in tegra_dc_probe()
    2376d7fa08bb media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC
    210fcf64be4d media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()
    b223cc15f922 media: dvb-core: Fix ignored return value in dvb_register_frontend()
    825a8af31d6b pinctrl: pinconf-generic: add missing of_node_put()
    eedc698d6610 clk: imx8mn: fix imx8mn_enet_phy_sels clocks list
    f86a432604c3 clk: imx8mn: fix imx8mn_sai2_sels clocks list
    5e98c3a34503 clk: imx: replace osc_hdmi with dummy
    9453e097b862 clk: imx8mn: rename vpu_pll to m7_alt_pll
    bffc80bac8c5 media: imon: fix a race condition in send_packet()
    9c9ff35d6869 media: vimc: Fix wrong function called when vimc_init() fails
    f849c116d320 ASoC: qcom: Add checks for devm_kcalloc
    16437645dd97 drbd: destroy workqueue when drbd device was freed
    cdaf45415c1e drbd: remove call to memset before free device/resource/connection
    f35981083cb3 mtd: maps: pxa2xx-flash: fix memory leak in probe
    87c750affd88 bonding: fix link recovery in mode 2 when updelay is nonzero
    02105f0b3021 drm/amdgpu: fix pci device refcount leak
    5b0a1f1247cd clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
    27aac5c01246 regulator: core: use kfree_const() to free space conditionally
    a69b1faa9b14 ALSA: seq: fix undefined behavior in bit shift for SNDRV_SEQ_FILTER_USE_EVENT
    9c0f3617ba31 ALSA: pcm: fix undefined behavior in bit shift for SNDRV_PCM_RATE_KNOT
    6159424e2dd9 pinctrl: k210: call of_node_put()
    18a973fcb190 HID: hid-sensor-custom: set fixed size for custom attributes
    0fc4280dbec3 bpf: Move skb->len == 0 checks into __bpf_redirect
    8dbcb4c284bc mtd: spi-nor: Fix the number of bytes for the dummy cycles
    58e1a0ef5255 mtd: spi-nor: hide jedec_id sysfs attribute if not present
    348d95e39fec inet: add READ_ONCE(sk->sk_bound_dev_if) in inet_csk_bind_conflict()
    4451bef1a3dd media: videobuf-dma-contig: use dma_mmap_coherent
    b2781a862608 media: platform: exynos4-is: Fix error handling in fimc_md_init()
    7cf71bbe5d2e media: solo6x10: fix possible memory leak in solo_sysfs_init()
    c290aa527fd8 media: vidtv: Fix use-after-free in vidtv_bridge_dvb_init()
    648f3031025a Input: elants_i2c - properly handle the reset GPIO when power is off
    e0d3e46ac666 mtd: lpddr2_nvm: Fix possible null-ptr-deref
    ab4e42f51931 drm/msm/a6xx: Fix speed-bin detection vs probe-defer
    fea795f7c7cf wifi: ath10k: Fix return value in ath10k_pci_init()
    77482c4dd4a0 block: clear ->slave_dir when dropping the main slave_dir reference
    62251948e2e7 ima: Fix misuse of dereference of pointer in template_desc_init_fields()
    29d6c69ba4b9 integrity: Fix memory leakage in keyring allocation error path
    8e6df9571744 drm/fourcc: Fix vsub/hsub for Q410 and Q401
    ec1727f89ecd drm/fourcc: Add packed 10bit YUV 4:2:0 format
    f72608b8dd08 regulator: qcom-rpmh: Fix PMR735a S3 regulator spec
    63d011ad0505 nvme: return err on nvme_init_non_mdts_limits fail
    f289a38df0da amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()
    cda1895f3b7f regulator: core: fix unbalanced of node refcount in regulator_dev_lookup()
    1a5aaa5736eb nvmet: only allocate a single slab for bvecs
    cb3033a43263 libbpf: Fix uninitialized warning in btf_dump_dump_type_data
    83baa509396a ASoC: pxa: fix null-pointer dereference in filter()
    a06ba0f7f859 drm/mediatek: Modify dpi power on/off sequence.
    6d25bc637081 drm/radeon: Add the missed acpi_put_table() to fix memory leak
    4cf11e9d3144 bfq: fix waker_bfqq inconsistency crash
    55e822212e78 rxrpc: Fix ack.bufferSize to be 0 when generating an ack
    5ef8bf0df14d net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write()
    d1c44928bb3c media: camss: Clean up received buffers on failed start of streaming
    3b4b4df3f8d8 wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control port
    9e1440c858e6 Input: joystick - fix Kconfig warning for JOYSTICK_ADC
    71212d731848 mtd: Fix device name leak when register device failed in add_mtd_device()
    106311677b27 clk: qcom: gcc-sm8250: Use retention mode for USB GDSCs
    322c7415e77e bpf: propagate precision across all frames, not just the last one
    07c286c10a9c bpf: Check the other end of slot_type for STACK_SPILL
    fdbc363bc1d0 bpf: propagate precision in ALU/ALU64 operations
    b29e46610cfe media: platform: exynos4-is: fix return value check in fimc_md_probe()
    ab54081a2843 media: vivid: fix compose size exceed boundary
    3c58c83c6fc8 bpf: Fix slot type check in check_stack_write_var_off
    cffa75198ca1 drm/msm/hdmi: use devres helper for runtime PM management
    58d002b72e0a drm/msm/hdmi: drop unused GPIO support
    2d4bc60693c4 ima: Handle -ESTALE returned by ima_filter_rule_match()
    13fc167e1645 drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure
    c20672cfa097 spi: Update reference to struct spi_controller
    2858d038c5d3 clk: renesas: r9a06g032: Repair grave increment error
    f6ed73db3903 drm/rockchip: lvds: fix PM usage counter unbalance in poweron
    13fab6322b9f can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming
    4e55d61e87f2 can: kvaser_usb: Add struct kvaser_usb_busparams
    fcfd4df200ff can: kvaser_usb_leaf: Fix bogus restart events
    51f07da38bae can: kvaser_usb_leaf: Fix wrong CAN state after stopping
    647c26887b5b can: kvaser_usb_leaf: Fix improved state not being reported
    9676d65a4ad3 can: kvaser_usb: make use of units.h in assignment of frequency
    c76110856281 can: kvaser_usb_leaf: Set Warning state even without bus errors
    a60bf9d81473 can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT
    8aae6bddc1d3 can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event
    972270be2452 can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device
    e9e0d9945fd1 can: kvaser_usb: do not increase tx statistics when sending error message frames
    e39bce64e58e libbpf: Btf dedup identical struct test needs check for nested structs/arrays
    d4419f93e214 media: exynos4-is: don't rely on the v4l2_async_subdev internals
    8741792d8274 soreuseport: Fix socket selection for SO_INCOMING_CPU.
    094f56192c56 venus: pm_helpers: Fix error check in vcodec_domains_get()
    3c793a9ad9d3 media: i2c: ad5820: Fix error path
    07611f9e44e1 media: adv748x: afe: Select input port when initializing AFE
    aa81257dbf3b media: coda: jpeg: Add check for kmalloc
    9a402adc9f5e media: v4l2-ctrls: Fix off-by-one error in integer menu control check
    1caed03305b5 drm/amdgpu/powerplay/psm: Fix memory leak in power state init
    f66a8770832e ipmi: kcs: Poll OBF briefly to reduce OBE latency
    983320199e33 ata: libata: fix NCQ autosense logic
    a9caf71aeb48 ata: add/use ata_taskfile::{error|status} fields
    3483c3fb4877 ata: libata: move ata_{port,link,dev}_dbg to standard pr_XXX() macros
    67061355776e libbpf: Fix null-pointer dereference in find_prog_by_sec_insn()
    a733bf10198e libbpf: Fix use-after-free in btf_dump_name_dups
    b5ec2a04fed3 drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge
    6d40a49d0559 wifi: rtl8xxxu: Fix reading the vendor of combo chips
    355f16f756aa wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()
    d856f7574bcc wifi: ath9k: hif_usb: fix memory leak of urbs in ath9k_hif_usb_dealloc_tx_urbs()
    12229a2523f0 platform/mellanox: mlxbf-pmc: Fix event typo
    a0d93aac54ce rapidio: devices: fix missing put_device in mport_cdev_open
    7af9cb8cbb81 hfs: Fix OOB Write in hfs_asc2mac
    90962b3b1c3b relay: fix type mismatch when allocating memory in relay_create_buf()
    0d60b11f8fce eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD
    2f5cc7fd73fd rapidio: fix possible UAF when kfifo_alloc() fails
    337b68da6856 fs: sysv: Fix sysv_nblocks() returns wrong value
    95d42a8d3d4a lockd: set other missing fields when unlocking files
    318229b4d35b MIPS: OCTEON: warn only once if deprecated link status is being used
    5e6d37a93a38 MIPS: BCM63xx: Add check for NULL for clk in clk_enable
    50af0ba3e163 platform/x86: intel_scu_ipc: fix possible name leak in __intel_scu_ipc_register()
    3cf81501356c platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()
    0ceadb5a3e45 platform/chrome: cros_ec_typec: zero out stale pointers
    49c98b568881 platform/chrome: cros_ec_typec: Cleanup switch handle return paths
    b55ef8508ac4 PM: runtime: Do not call __rpm_callback() from rpm_idle()
    0bf874183b32 xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource()
    70966d6b0f59 x86/xen: Fix memory leak in xen_init_lock_cpu()
    23aef94eea71 x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()
    03ab1c5c2f0b uprobes/x86: Allow to probe a NOP instruction with 0x66 prefix
    6fde666278f9 ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()
    9cabd5f4f1ba clocksource/drivers/timer-ti-dm: Fix missing clk_disable_unprepare in dmtimer_systimer_init_clock()
    b73c76c3c445 cpu/hotplug: Do not bail-out in DYING/STARTING sections
    6eb1802184df cpu/hotplug: Make target_store() a nop when target == state
    cd130e2676dd futex: Resend potentially swallowed owner death notification
    fd8a10d44c11 futex: Move to kernel/futex/
    156144bd18c3 mips: ralink: mt7621: do not use kzalloc too early
    186d59bb6a54 mips: ralink: mt7621: soc queries and tests as functions
    8348da01e5c6 mips: ralink: mt7621: define MT7621_SYSC_BASE with __iomem
    0f8e6fe09cfa clocksource/drivers/sh_cmt: Access registers according to spec
    a47de2fd3f88 rapidio: rio: fix possible name leak in rio_register_mport()
    ec3f04f74f50 rapidio: fix possible name leaks when rio_add_device() fails
    4662d8e6ab20 debugfs: fix error when writing negative value to atomic_t debugfs file
    7e8e8cc13625 lib/notifier-error-inject: fix error when writing -errno to debugfs file
    39b5e6130b73 libfs: add DEFINE_SIMPLE_ATTRIBUTE_SIGNED for signed value
    19c202e6e55c cpufreq: amd_freq_sensitivity: Add missing pci_dev_put()
    93e3c803383a genirq/irqdesc: Don't try to remove non-existing sysfs files
    435cc7d18c96 nfsd: don't call nfsd_file_put from client states seqfile display
    5030d4d2bf8b NFSD: Finish converting the NFSv2 GETACL result encoder
    e498675e0684 SUNRPC: Return true/false (not 1/0) from bool functions
    3e255dc21031 EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()
    740efb64ca5e irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init()
    77b99b483f82 irqchip: gic-pm: Use pm_runtime_resume_and_get() in gic_probe()
    5139cbc0c6e4 thermal: core: fix some possible name leaks in error paths
    cab345f9d519 platform/chrome: cros_usbpd_notify: Fix error handling in cros_usbpd_notify_init()
    0358bc7cc21a perf/x86/intel/uncore: Fix reference count leak in __uncore_imc_init_box()
    433bd587dca5 perf/x86/intel/uncore: Fix reference count leak in snr_uncore_mmio_map()
    3485f1975180 perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()
    0021ef7dc612 perf/x86/intel/uncore: Fix reference count leak in sad_cfg_iio_topology()
    c12b314bb23d PNP: fix name memory leak in pnp_alloc_dev()
    f1c7a6af710c selftests/efivarfs: Add checking of the test return value
    46be3ee1cab9 MIPS: vpe-cmp: fix possible memory leak while module exiting
    e820a8192ff6 MIPS: vpe-mt: fix possible memory leak while module exiting
    61d68cf2ba79 ocfs2: fix memory leak in ocfs2_stack_glue_init()
    e83b47580a07 lib/fonts: fix undefined behavior in bit shift for get_default_font
    0df7d9ab6bce proc: fixup uptime selftest
    07b8659b8e5b timerqueue: Use rb_entry_safe() in timerqueue_getnext()
    413b18866b40 platform/x86: huawei-wmi: fix return value calculation
    4b469322830d lib/debugobjects: fix stat count and optimize debug_objects_mem_init
    f790dfe81629 perf: Fix possible memleak in pmu_dev_alloc()
    418d21c0df5b selftests/ftrace: event_triggers: wait longer for test_event_enable
    4ea765b10624 cpufreq: qcom-hw: Fix memory leak in qcom_cpufreq_hw_read_lut()
    c52d9c25d95c fs: don't audit the capability check in simple_xattr_list()
    e4d0d13b46c6 PM: hibernate: Fix mistake in kerneldoc comment
    1f62b8e50dd2 x86/sgx: Reduce delay and interference of enclave release
    f5b88170f09c alpha: fix syscall entry in !AUDUT_SYSCALL case
    a819ba80b99c alpha: fix TIF_NOTIFY_SIGNAL handling
    eb2a732ef451 cpuidle: dt: Return the correct numbers of parsed idle states
    3af4f5cb8ae7 sched/uclamp: Make asym_fits_capacity() use util_fits_cpu()
    23cb580e0c6b sched/core: Introduce sched_asym_cpucap_active()
    41c2dba3885e sched/fair: Removed useless update of p->recent_used_cpu
    55ffeab089aa sched/uclamp: Make select_idle_capacity() use util_fits_cpu()
    4639bfbb83bd sched/uclamp: Make task_fits_capacity() use util_fits_cpu()
    309e50cbfefc sched/uclamp: Fix relationship between uclamp and migration margin
    54a766e19681 sched/fair: Cleanup task_util and capacity type
    26bffaf6784a ovl: remove privs in ovl_fallocate()
    5dc34f9aaaf4 ovl: remove privs in ovl_copyfile()
    9636e70ee2d3 ovl: use ovl_copy_{real,upper}attr() wrappers
    a54843833caf ovl: store lower path in ovl_inode
    163c5bbe7d2f tpm/tpm_crb: Fix error message in __crb_relinquish_locality()
    fe880e9df97a tpm/tpm_ftpm_tee: Fix error handling in ftpm_mod_init()
    ebc73c4f2662 pstore: Avoid kcore oops by vmap()ing with VM_IOREMAP
    d4dcde11bff2 ARM: mmp: fix timer_read delay
    95916147dcc7 pstore/ram: Fix error return code in ramoops_probe()
    a31a647a3d10 seccomp: Move copy_seccomp() to no failure path.
    b8b76b8da66d arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC
    820a5ccca7c3 ARM: dts: turris-omnia: Add switch port 6 node
    b311f8e9f503 ARM: dts: turris-omnia: Add ethernet aliases
    48ebdd06c93c ARM: dts: armada-39x: Fix assigned-addresses for every PCIe Root Port
    f27dd04e44d8 ARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port
    1e53c63da8df ARM: dts: armada-375: Fix assigned-addresses for every PCIe Root Port
    3af1a73e9e30 ARM: dts: armada-xp: Fix assigned-addresses for every PCIe Root Port
    e4ed8133c46d ARM: dts: armada-370: Fix assigned-addresses for every PCIe Root Port
    b335b6344ee1 ARM: dts: dove: Fix assigned-addresses for every PCIe Root Port
    5b3415e68336 arm64: dts: mediatek: mt6797: Fix 26M oscillator unit name
    93f5e6649619 arm64: dts: mediatek: pumpkin-common: Fix devicetree warnings
    debd938e21cd arm64: dts: mt2712-evb: Fix usb vbus regulators unit names
    b2c6397754f1 arm64: dts: mt2712-evb: Fix vproc fixed regulators unit names
    96c972f83593 arm64: dts: mt2712e: Fix unit address for pinctrl node
    2cd1391c28e8 arm64: dts: mt2712e: Fix unit_address_vs_reg warning for oscillators
    39877a3636cd arm64: dts: mt6779: Fix devicetree build warnings
    af431ce47ef0 ARM: dts: nuvoton: Remove bogus unit addresses from fixed-partition nodes
    0a616049ec03 arm64: dts: ti: k3-j721e-main: Drop dma-coherent in crypto node
    22a740824af8 arm64: dts: ti: k3-am65-main: Drop dma-coherent in crypto node
    b131304fe722 perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()
    b99fbe8d949a perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()
    9285b623bbe1 perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init()
    e6318a7e19f5 arm64: mm: kfence: only handle translation faults
    46ddfb9d1e46 arm64: Treat ESR_ELx as a 64-bit register
    681e3401286b soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe
    6eca7a2535eb soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe
    972f8fc0651e soc: ti: knav_qmss_queue: Use pm_runtime_resume_and_get instead of pm_runtime_get_sync
    fe53048f2adb arm: dts: spear600: Fix clcd interrupt
    75baeec4642f arm64: dts: qcom: sm6125: fix SDHCI CQE reg names
    0f9ac041911d soc: qcom: apr: Add check for idr_alloc and of_property_read_string_index
    6855dd02c55d soc: qcom: apr: make code more reuseable
    c9fb81a8355c arm64: dts: qcom: sm8250: drop bogus DP PHY clock
    53ffa5746415 arm64: dts: qcom: sm8350: fix UFS PHY registers
    d5a6bbd7a231 arm64: dts: qcom: sm8250: fix UFS PHY registers
    3a52ff845f12 arm64: dts: qcom: sm8150: fix UFS PHY registers
    800f8165e0ca arm64: dts: qcom: Correct QMP PHY child node name
    ee136f275bad soc: qcom: llcc: make irq truly optional
    aa7ffd41749b arm64: dts: qcom: sm8250: correct LPASS pin pull down
    f94bacc616f2 arm64: dts: qcom: pm660: Use unique ADC5_VCOIN address in node name
    d5bf1197817d drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static
    4707d5daf842 ARM: dts: stm32: Fix AV96 WLAN regulator gpio property
    33647d7a467d ARM: dts: stm32: Drop stm32mp15xc.dtsi from Avenger96
    9f271a866071 objtool, kcsan: Add volatile read/write instrumentation to whitelist
    51fe2dcba805 arm64: dts: qcom: msm8916: Drop MSS fallback compatible
    a9fff3524f2a arm64: dts: qcom: sdm845-cheza: fix AP suspend pin bias
    6487f48ea359 arm64: dts: qcom: sdm630: fix UART1 pin bias
    6c0c9c545857 ARM: dts: qcom: apq8064: fix coresight compatible
    0f9b088d68ba arm64: dts: qcom: msm8996: fix GPU OPP table
    270683fc7b3c arm64: dts: qcom: msm8996: fix supported-hw in cpufreq OPP tables
    5c5a62891434 arm64: dts: qcom: msm8996: Add MSM8996 Pro support
    3f14048ee419 arm64: dts: qcom: sm8250-sony-xperia-edo: fix touchscreen bias-disable
    89f79f8d7f30 arm64: dts: qcom: ipq6018-cp01-c1: use BLSPI1 pins
    9db5992e72ed usb: musb: remove extra check in musb_gadget_vbus_draw
    adc063a491a7 drm/amd/display: Manually adjust strobe for DCN303
    5827ddaf4534 Linux 5.15.85
    e22dbadac8d4 net: loopback: use NET_NAME_PREDICTABLE for name_assign_type
    314e7a7836c7 selftests: net: Use "grep -E" instead of "egrep"
    19a78143961a Bluetooth: L2CAP: Fix u8 overflow
    f692abf13940 HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirk
    5325a884e2c3 usb: dwc3: pci: Update PCIe device ID for USB3 controller on CPU sub-system for Raptor Lake
    367e1e3399db igb: Initialize mailbox message for VF reset
    a301742b35bc xhci: Apply XHCI_RESET_TO_DEFAULT quirk to ADL-N
    5e959f0c4c57 USB: serial: f81534: fix division by zero on line-speed change
    68fbe268d2cb USB: serial: f81232: fix division by zero on line-speed change
    3ec7f24b8bb8 USB: serial: cp210x: add Kamstrup RF sniffer PIDs
    2b092fab2340 USB: serial: option: add Quectel EM05-G modem
    6b41a35b41f7 usb: gadget: uvc: Prevent buffer overflow in setup handler
    828112571c92 udf: Fix extending file within last block
    df1a2596c775 udf: Do not bother looking for prealloc extents if i_lenExtents matches i_size
    63dbbd8f1499 udf: Fix preallocation discarding at indirect extent boundary
    79a97f08ae5d udf: Discard preallocation before extending file with a hole

(From OE-Core rev: 716a30060d8c1be02d9711204b5b001e71d7d890)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Bruce Ashfield
bb170acce6 linux-yocto/6.1: update to v6.1.5
Updating  to the latest korg -stable release that comprises
the following commits:

    90ca7a874a90 Linux 6.1.5
    177055b94fb5 wifi: ath11k: Send PME message during wakeup from D3cold
    15f818d4b682 efi: random: combine bootloader provided RNG seed with RNG protocol output
    0c84b7de2658 drm/i915/dsi: fix MIPI_BKLT_EN_1 native GPIO index
    c7229577d93d drm/i915/dsi: add support for ICL+ native MIPI GPIO sequence
    5e7d97dbae25 ksmbd: check nt_len to be at least CIFS_ENCPWD_SIZE in ksmbd_decode_ntlmssp_auth_blob
    ad678f30ac0d ksmbd: send proper error response in smb2_tree_connect()
    4cd431722018 ksmbd: fix infinite loop in ksmbd_conn_handler_loop()
    53e9d6851b56 btrfs: handle case when repair happens with dev-replace
    d179f9d27f1e drm/amd/display: Uninitialized variables causing 4k60 UCLK to stay at DPM1 and not DPM0
    4ac1437d64ef drm/amd/display: Add check for DET fetch latency hiding for dcn32
    bff553de2c37 virtio_blk: Fix signedness bug in virtblk_prep_rq()
    569b4f8fb02e virtio-blk: use a helper to handle request queuing errors
    44c0e07e3972 drm/i915/gvt: fix vgpu debugfs clean in remove
    fe340500baf8 drm/i915/gvt: fix gvt debugfs destroy
    306888b1246b drm/amdkfd: Fix kernel warning during topology setup
    c7041ec41036 drm/plane-helper: Add the missing declaration of drm_atomic_state
    c4849f18185f of/fdt: run soc memory setup when early_init_dt_scan_memory fails
    a33220faead6 riscv, kprobes: Stricter c.jr/c.jalr decoding
    36fd385ae2ca riscv: uaccess: fix type of 0 variable on error in get_user()
    7f56c4fa299a thermal: int340x: Add missing attribute for data rate base
    8b258a31c2e8 vhost_vdpa: fix the crash in unmap a large memory
    ed2d0e160ce4 tpm: Allow system suspend to continue when TPM suspend fails
    e595dcd987d0 io_uring: fix CQ waiting timeout handling
    91d129519985 io_uring: pin context while queueing deferred tw
    6d47e0f6a535 block: don't allow splitting of a REQ_NOWAIT bio
    39a20c4354be net: dsa: tag_qca: fix wrong MGMT_DATA2 size
    ec6022235670 net: dsa: qca8k: fix wrong length value for mgmt eth packet
    49d901dce4b9 Revert "net: dsa: qca8k: cache lo and hi for mdio write"
    d54f66bc9c37 Revert "drm/amd/display: Enable Freesync Video Mode by default"
    7f656fff955c bpf: Fix panic due to wrong pageattr of im->image
    a3fb152c2f17 fbdev: matroxfb: G200eW: Increase max memory from 1 MB to 16 MB
    421fd5c9e0ae nfsd: fix handling of readdir in v4root vs. mount upcall timeout
    e8377f0456fb x86/bugs: Flush IBP in ib_prctl_set()
    5bd3c7abeb69 x86/kexec: Fix double-free of elf header buffer
    2dfc2347776e ASoC: SOF: Intel: pci-tgl: unblock S5 entry if DMA stop has failed"
    f6631b9b4f91 nvme: also return I/O command effects from nvme_command_effects
    27eab31ed71f nvmet: use NVME_CMD_EFFECTS_CSUPP instead of open coding it
    84cc257e1888 kunit: alloc_string_stream_fragment error handling bug fix
    8b2de5212661 io_uring: check for valid register opcode earlier
    9c152189a7e8 ACPI: video: Don't enable fallback path for creating ACPI backlight by default
    adaf41b56803 drm/amd/display: Report to ACPI video if no panels were found
    0ba8892d86ad ACPI: video: Allow GPU drivers to report no panels
    183c2aaef40a nvme: fix multipath crash caused by flush request when blktrace is enabled
    a288e98adc02 io_uring/cancel: re-grab ctx mutex after finishing wait
    a02c07b61989 drm/amdkfd: Fix double release compute pasid
    9d74d1f52e16 drm/amdkfd: Fix kfd_process_device_init_vm error handling
    8ba7c55e112f drm/amdgpu: Fix size validation for non-exclusive domains (v4)
    b48f8c9a81be ASoC: SOF: mediatek: initialize panic_info to zero
    ee887708e25e ASoC: Intel: bytcr_rt5640: Add quirk for the Advantech MICA-071 tablet
    30f3e4afe09a 9p/client: fix data race on req->status
    f6e548529bb9 ASoC: SOF: Revert: "core: unregister clients and machine drivers in .shutdown"
    45917be9f0af hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling
    f190519b07c7 usb: dwc3: xilinx: include linux/gpio/consumer.h
    2d1dbb030ca8 udf: Fix extension of the last extent in the file
    3ad47c8aa564 caif: fix memory leak in cfctrl_linkup_request()
    7d242f4a0c83 net/ulp: prevent ULP without clone op from entering the LISTEN status
    50c81b35df01 qed: allow sleep in qed_mcp_trace_dump()
    4e0c2961e53d ublk: honor IO_URING_F_NONBLOCK for handling control command
    1022519da69d drm/i915/gvt: fix double free bug in split_2MB_gtt_entry
    20a07570c166 drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()
    c776df09f469 perf stat: Fix handling of --for-each-cgroup with --bpf-counters to match non BPF mode
    36caf0281b91 perf stat: Fix handling of unsupported cgroup events when using BPF counters
    75b9086028ce perf lock contention: Fix core dump related to not finding the "__sched_text_end" symbol on s/390
    a713602807f3 usb: rndis_host: Secure rndis_query check against int overflow
    667ce030bdfb octeontx2-pf: Fix lmtst ID used in aura free
    faecbaf1ffcd drivers/net/bonding/bond_3ad: return when there's no aggregator
    73fee7e1e5ea fs/ntfs3: don't hold ni_lock when calling truncate_setsize()
    71f9fd5bcf09 drm/imx: ipuv3-plane: Fix overlay plane width
    2bb8016d4bb0 perf tools: Fix resources leak in perf_data__open_dir()
    466655ddac0c drm/virtio: Fix memory leak in virtio_gpu_object_create()
    8964cc36ba01 netfilter: ipset: Rework long task execution when adding/deleting entries
    080b56c66aca netfilter: ipset: fix hash:net,port,net hang with /0 subnet
    2bab138b44f0 net: sparx5: Fix reading of the MAC address
    5896f5581068 vxlan: Fix memory leaks in error path
    dc46e39b727f net: sched: cbq: dont intepret cls results when asked to drop
    85655c63877a net: sched: atm: dont intepret cls results when asked to drop
    9a402a210798 gpio: sifive: Fix refcount leak in sifive_gpio_probe
    589886147edf ceph: switch to vfs_inode_has_locks() to fix file lock bug
    516fac1e0749 filelock: new helper: vfs_inode_has_locks
    b8e3dd2eba02 drm/meson: Reduce the FIFO lines held when AFBC is not used
    718d28ce581e selftests: net: return non-zero for failures reported in arp_ndisc_evict_nocarrier
    d87357c82ce3 selftests: net: fix cleanup_v6() for arp_ndisc_evict_nocarrier
    5f87d4dc581e RDMA/mlx5: Fix validation of max_rd_atomic caps for DC
    e597b003c736 RDMA/mlx5: Fix mlx5_ib_get_hw_stats when used for device
    2892b358c896 gpio: pca953x: avoid to use uninitialized value pinctrl
    ee84d37a5f08 net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe
    191c4b94c18b net: ena: Update NUMA TPH hint register upon NUMA node update
    eff3be564b50 net: ena: Set default value for RX interrupt moderation
    2474a8ed1ef3 net: ena: Fix rx_copybreak value update
    5a5084e947b1 net: ena: Use bitmask to indicate packet redirection
    7d82fbedaecb net: ena: Account for the number of processed bytes in XDP
    c7304c752a20 net: ena: Don't register memory info on XDP exchange
    1ee3d84b0d6b net: ena: Fix toeplitz initial hash value
    aafd7d5ecc14 net: amd-xgbe: add missed tasklet_kill
    1f7331675545 net: hns3: refine the handling for VF heartbeat
    01ca3695f19a tcp: Add TIME_WAIT sockets in bhash2.
    a1f2920a051f bpf: Always use maximal size for copy_array()
    8f1b8b313350 net/mlx5: Lag, fix failure to cancel delayed bond work
    c1103a607134 net/mlx5e: Set geneve_tlv_option_0_exist when matching on geneve option
    cacda6f9757f net/mlx5e: Fix hw mtu initializing at XDP SQ allocation
    c6e6fb424031 net/mlx5e: Always clear dest encap in neigh-update-del
    7d88b67d6bec net/mlx5e: CT: Fix ct debugfs folder name
    38e1a340f741 net/mlx5e: Fix RX reporter for XSK RQs
    53d051e2a235 net/mlx5e: IPoIB, Don't allow CQE compression to be turned on by default
    2799cbdedb60 net/mlx5: Fix RoCE setting at HCA level
    e639bc695f05 net/mlx5: Avoid recovery in probe flows
    95a327eaebe2 net/mlx5: Fix io_eq_size and event_eq_size params validation
    3c29ad4f2cc5 net/mlx5: Add forgotten cleanup calls into mlx5_init_once() error path
    8aa897595bab net/mlx5: E-Switch, properly handle ingress tagged packets on VST
    16b22e27fba6 vdpasim: fix memory leak when freeing IOTLBs
    6ccc891f36d0 vdpa/vp_vdpa: fix kfree a wrong pointer in vp_vdpa_remove
    0871df190fe6 virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()
    c72123cd79dd vdpa_sim: fix vringh initialization in vdpasim_queue_ready()
    a2907867e2c8 vhost-vdpa: fix an iotlb memory leak
    8b31aa969a2d vhost: fix range used in translate_desc()
    909fb8fbd46b vringh: fix range used in iotlb_translate()
    9bc360aa816f vhost/vsock: Fix error handling in vhost_vsock_init()
    337c24d817e2 vdpa_sim: fix possible memory leak in vdpasim_net_init() and vdpasim_blk_init()
    adc6cd16b418 vdpa/mlx5: Fix wrong mac address deletion
    392814d4cf9a vdpa/mlx5: Fix rule forwarding VLAN to TIR
    179e6d7213f1 bnxt_en: Fix HDS and jumbo thresholds for RX packets
    c9542e0d3ec1 bnxt_en: Fix first buffer size calculations for XDP multi-buffer
    57e2176bac59 bnxt_en: Fix XDP RX path
    9bf7939f91af bnxt_en: Simplify bnxt_xdp_buff_init()
    b32f6bef2485 nfc: Fix potential resource leaks
    bb50c43f7789 net: dsa: mv88e6xxx: depend on PTP conditionally
    a2a694e6edbd qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure
    facc4405e8b7 net: sched: fix memory leak in tcindex_set_parms
    e0b6178773cf net: hns3: fix VF promisc mode not update when mac table full
    fc7f6dca10b2 net: hns3: fix miss L3E checking for rx packet
    55d10ed4b507 net: hns3: add interrupts re-initialization while doing VF FLR
    d91be3d42c4a nfsd: shut down the NFSv4 state objects before the filecache
    6003a74bd473 veth: Fix race with AF_XDP exposing old or uninitialized descriptors
    62c84d0abe6f net: lan966x: Fix configuration of the PCS
    a96c5c6e67f8 bonding: fix lockdep splat in bond_miimon_commit()
    f03ecaeca499 netfilter: nf_tables: honor set timeout and garbage collection updates
    dda2d04863b5 mptcp: fix lockdep false positive
    dfe522e4cdfb mptcp: fix deadlock in fastopen error path
    c312bcd28254 vmxnet3: correctly report csum_level for encapsulated packet
    acce57c9b6a2 net: vrf: determine the dst using the original ifindex for multicast
    3dfffe6214fa ice: xsk: do not use xdp_return_frame() on tx_buf->raw_buf
    4052919880db netfilter: nf_tables: perform type checking for existing sets
    59c8f9a23614 netfilter: nf_tables: add function to create set stateful expressions
    4fba3958a9b9 netfilter: nf_tables: consolidate set description
    ba3d2c2380e7 drm/panfrost: Fix GEM handle creation ref-counting
    321635c70352 bpf: pull before calling skb_postpull_rcsum()
    35dab092c295 wifi: ath9k: use proper statements in conditionals
    3e8dee13f3d1 SUNRPC: ensure the matching upcall is in-flight upon downcall
    e92536de04e4 btrfs: fix an error handling path in btrfs_defrag_leaves()
    667347e338cb phy: qcom-qmp-combo: fix broken power on
    53be6d939bf2 perf probe: Fix to get the DW_AT_decl_file and DW_AT_call_file as unsinged data
    8dba3cdb3d5f perf probe: Use dwarf_attr_integrate as generic DWARF attr accessor
    def94d5966f6 btrfs: fix compat_ro checks against remount
    427a36cf819b btrfs: fix off-by-one in delalloc search during lseek
    acbf70d7f9cd usb: dwc3: gadget: Ignore End Transfer delay on teardown
    94d0e33c5f52 cifs: refcount only the selected iface during interface update
    76f1ff02e23e cifs: fix interface count calculation during refresh
    0af9640736a6 btrfs: replace strncpy() with strscpy()
    7578a7c0f296 ARM: renumber bits related to _TIF_WORK_MASK
    2cb8e624295f Linux 6.1.4
    54b6a040f380 drm/amd/pm: correct the fan speed retrieving in PWM for some SMU13 asics
    0b865bcd7a08 drm/amd/pm: bump SMU13.0.0 driver_if header to version 0x34
    789c4804d7ae drm/amd/pm: add missing SMU13.0.7 mm_dpm feature mapping
    1cfd678e2f07 drm/amd/pm: add missing SMU13.0.0 mm_dpm feature mapping
    6e6d577cd90b drm/i915/migrate: Account for the reserved_space
    ea62bd769994 drm/i915: improve the catch-all evict to handle lock contention
    52beaa0938ad drm/amdgpu: make display pinning more flexible (v2)
    9724e6950ef9 drm/amdgpu: handle polaris10/11 overlap asics (v2)
    3038224f5617 drm/amd/display: Add DCN314 display SG Support
    218f8fe66824 drm/i915/ttm: consider CCS for backup objects
    f06a3cff1b4e ext4: allocate extended attribute value in vmalloc area
    56ecd5509fdc ext4: avoid unaccounted block allocation when expanding inode
    0f860f71b617 ext4: initialize quota before expanding inode in setproject ioctl
    70e5b46beba6 ext4: fix inode leak in ext4_xattr_inode_create() on an error path
    74ba28197161 ext4: fix kernel BUG in 'ext4_write_inline_data_end()'
    cc1538c693d2 ext4: fix deadlock due to mbcache entry corruption
    52cdfab923db ext4: avoid BUG_ON when creating xattrs
    1008bbaadca6 ext4: fix corrupt backup group descriptors after online resize
    627dd452889d ext4: dont return EINVAL from GETFSUUID when reporting UUID length
    a77f3bdb03d0 ext4: fix bad checksum after online resize
    dad6a26adb5a ext4: fix error code return to user-space in ext4_get_branch()
    c99932c83074 ext4: fix corruption when online resizing a 1K bigalloc fs
    81b915181c63 ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline
    b753b0be45ae ext4: don't fail GETFSUUID when the caller provides a long buffer
    13271fbbe85d ext4: init quota for 'old.inode' in 'ext4_rename'
    9f966e021c20 ext4: fix uninititialized value in 'ext4_evict_inode'
    5439ad45c0d0 ext4: fix off-by-one errors in fast-commit block filling
    18e66ed75d87 ext4: fix unaligned memory access in ext4_fc_reserve_space()
    d1c97077fa60 ext4: add missing validation of fast-commit record lengths
    1ba993208bcf ext4: don't set up encryption key during jbd2 transaction
    7c1fb65e8ce8 ext4: fix leaking uninitialized memory in fast-commit journal
    08d5c8445d15 ext4: disable fast-commit of encrypted dir operations
    bcc5057e1781 ext4: don't allow journal inode to have encrypt flag
    a125c8806b7d ext4: fix bug_on in __es_tree_search caused by bad boot loader inode
    f1ec687ebd1b ext4: check and assert if marking an no_delete evicting inode dirty
    15adfbb2d161 ext4: journal_path mount options should follow links
    5e1d519af52f ext4: fix reserved cluster accounting in __es_remove_extent()
    1daff79463d7 ext4: fix bug_on in __es_tree_search caused by bad quota inode
    7720e1e43315 ext4: add helper to check quota inums
    488a5c2bf754 ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode
    7753d6657873 ext4: fix undefined behavior in bit shift for ext4_check_flag_values
    7908b8a541b1 ext4: fix use-after-free in ext4_orphan_cleanup
    a73f2b2e3853 fs: ext4: initialize fsdata in pagecache_write()
    35840a486cff ext4: correct inconsistent error msg in nojournal mode
    39364b354f0e ext4: remove trailing newline from ext4_msg() message
    248feff7deda ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop
    b085fb43feed ext4: silence the warning when evicting inode with dioread_nolock
    12cfb0c1c27e drm/etnaviv: reap idle mapping if it doesn't match the softpin address
    babd82f10749 drm/ingenic: Fix missing platform_driver_unregister() call in ingenic_drm_init()
    556a7e74af59 drm/i915/dsi: fix VBT send packet port selection for dual link DSI
    84bcb7d09aaa drm/etnaviv: move idle mapping reaping into separate function
    3650c063f22d drm/mgag200: Fix PLL setup for G200_SE_A rev >=4
    622d527decaa drm/vmwgfx: Validate the box size for the snooped cursor
    d988f0bcf579 drm/connector: send hotplug uevent on connector cleanup
    35fe1c238437 device_cgroup: Roll back to original exceptions after copy failure
    4def68cc15f3 parisc: Drop PMD_SHIFT from calculation in pgtable.h
    790aba4492d6 parisc: Drop duplicate kgdb_pdc console
    d97a584e350d parisc: Add missing FORCE prerequisites in Makefile
    553bc5890ed9 parisc: Fix locking in pdc_iodc_print() firmware call
    6bbba171235e parisc: Drop locking in pdc console code
    67c98fec87ed parisc: led: Fix potential null-ptr-deref in start_task()
    dc88a50bc339 remoteproc: imx_rproc: Correct i.MX93 DRAM mapping
    e2e8d55f044e remoteproc: core: Do pm_relax when in RPROC_OFFLINE state
    b9693304b713 remoteproc: imx_dsp_rproc: Add mutex protection for workqueue
    17183187dc86 hugetlb: really allocate vma lock for all sharable vmas
    ee29001a637f test_kprobes: Fix implicit declaration error of test_kprobes
    7e8834776c37 iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options
    808948f4922f iommu/amd: Fix ivrs_acpihid cmdline parsing code
    fdbbb4058319 phy: qcom-qmp-combo: fix sc8180x reset
    1066b58cc02d phy: qcom-qmp-combo: fix sdm845 reset
    0a1129c4b445 bus: mhi: host: Fix race between channel preparation and M0 event
    878d15dd43bc driver core: Fix bus_type.match() error handling in __driver_attach()
    cced6678325b crypto: ccp - Add support for TEE for PCI ID 0x14CA
    b70acb182f45 crypto: n2 - add missing hash statesize
    85292a29689a riscv: mm: notify remote harts about mmu cache updates
    00777a099574 riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
    cdea2da67875 RISC-V: kexec: Fix memory leak of elf header buffer
    abbb887da774 riscv: Fixup compile error with !MMU
    dc387c34d8dd RISC-V: kexec: Fix memory leak of fdt buffer
    b33528863d07 PCI/sysfs: Fix double free in error path
    518573988a2f PCI: Fix pci_device_is_present() for VFs by checking PF
    06bc122d9b5f crypto: ccree,hisilicon - Fix dependencies to correct algorithm
    d93b6a8a34e1 um: virt-pci: Avoid GCC non-NULL warning
    f375bcf69f58 ima: Fix memory leak in __ima_inode_hash()
    59b6c0ea1a8d mtd: spi-nor: gigadevice: gd25q256: replace gd25q256_default_init with gd25q256_post_bfpt
    1fc9b20a7688 ipmi: fix use after free in _ipmi_destroy_user()
    3ac71fd8ffa1 ima: Fix a potential NULL pointer access in ima_restore_measurement_list
    9944a141e5ea mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()
    9c476590feff ipmi: fix long wait in unload when IPMI disconnect
    5038ee677606 ipu3-imgu: Fix NULL pointer dereference in imgu_subdev_set_selection()
    9526c179b9cb ASoC: jz4740-i2s: Handle independent FIFO flush bits
    360ef3bcf730 wifi: wilc1000: sdio: fix module autoloading
    19d5b47b0e09 efi: Add iMac Pro 2017 to uefi skip cert quirk
    aa4c785566ef md/bitmap: Fix bitmap chunk size overflow issues
    ab87d6f26e40 block: mq-deadline: Do not break sequential write streams to zoned HDDs
    b0544dd860b3 block: mq-deadline: Fix dd_finish_request() for zoned devices
    51c107f91bf1 drm/amdgpu: fix mmhub register base coding error
    08c83264e690 rtc: ds1347: fix value written to century register
    135b9ed45347 ravb: Fix "failed to switch device to config mode" message during unbind
    f22532d6bbaf cifs: set correct status of tcon ipc when reconnecting
    a37d718a0e0b cifs: set correct ipc status after initial tree connect
    2d8cbc14707a cifs: set correct tcon status after initial tree connect
    66d65a6fba33 cifs: fix missing display of three mount options
    e9f7a3bbaa5c cifs: fix confusing debug message
    530ca64b4462 media: dvb-core: Fix UAF due to refcount races at releasing
    123eddf92a11 media: dvb-core: Fix double free in dvb_register_device()
    94d23f8b7840 ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmod
    2833221e0b0f arm64: dts: mediatek: mt8195-demo: fix the memory size of node secmon
    0fd003d3c708 staging: media: tegra-video: fix device_node use after free
    1fae2197adbe staging: media: tegra-video: fix chan->mipi value on error
    26c57afef2b6 tracing: Fix infinite loop in tracing_read_pipe on overflowed print_trace_line
    2d31d84d4eb8 tracing: Fix issue of missing one synthetic field
    5d067ad7e2e2 tracing/probes: Handle system names with hyphens
    eac893885695 tracing/hist: Fix wrong return value in parse_action_params()
    cb8dce806598 tracing: Fix complicated dependency of CONFIG_TRACER_MAX_TRACE
    938791ad58a3 powerpc/ftrace: fix syscall tracing on PPC64_ELF_ABI_V1
    43f7cd89b584 tracing: Fix race where eprobes can be called before the event
    c9449d762f0e x86/kprobes: Fix optprobe optimization check with CONFIG_RETHUNK
    85932e3882e2 x86/kprobes: Fix kprobes instruction boudary check with CONFIG_RETHUNK
    3dabe6c5f3e9 ftrace/x86: Add back ftrace_expected for ftrace bug reports
    db10ca17bbe2 x86/microcode/intel: Do not retry microcode reloading on the APs
    891a644b0cbd KVM: nVMX: Properly expose ENABLE_USR_WAIT_PAUSE control to L1
    59cc9627be25 KVM: x86: fix APICv/x2AVIC disabled when vm reboot by itself
    04066fcbf18e KVM: nVMX: Inject #GP, not #UD, if "generic" VMXON CR0/CR4 check fails
    c877c99ee5c0 KVM: VMX: Resume guest immediately when injecting #GP on ECREATE
    2d627fbb5026 ima: Fix hash dependency to correct algorithm
    8a6cd16af71e of/kexec: Fix reading 32-bit "linux,initrd-{start,end}" values
    aa3e7a48e921 xtensa: add __umulsidi3 helper
    9dd6b35e2bcd perf/core: Call LSM hook after copying perf_event_attr
    04241956ce88 tracing/hist: Fix out-of-bound write on 'action_data.var_ref_idx'
    1d408dabdba9 PCI/DOE: Fix maximum data object length miscalculation
    97e28deab8bf ata: ahci: fix enum constants for gcc-13
    a7e060c3ea34 dm cache: set needs_check flag after aborting metadata
    6a3e412c2ab1 dm cache: Fix UAF in destroy()
    9e113cd4f61f dm clone: Fix UAF in clone_dtr()
    b6c93cd61afa dm integrity: Fix UAF in dm_integrity_dtr()
    d9971fa4d8bd dm thin: Fix UAF in run_timer_softirq()
    82976ba6deb1 dm thin: resume even if in FAIL mode
    b91f481300e3 dm thin: Use last transaction's pmd->root when commit failed
    cdf7a39bcc42 dm thin: Fix ABBA deadlock between shrink_slab and dm_pool_abort_metadata
    f74b7c5a85e2 dm cache: Fix ABBA deadlock between shrink_slab and dm_cache_metadata_abort
    1922ea6b0ae2 mptcp: use proper req destructor for IPv6
    d3901b9004a0 mptcp: dedicated request sock for subflow in v6
    01a301520685 mptcp: remove MPTCP 'ifdef' in TCP SYN cookies
    993aad51b6ce mptcp: netlink: fix some error return code
    5a52012ff8b0 fs: dlm: retry accept() until -EAGAIN or error returns
    9e72fec62f31 fs: dlm: fix sock release if listen fails
    bb641476f581 ALSA: usb-audio: Add new quirk FIXED_RATE for JBL Quantum810 Wireless
    9e456d460f1b HID: Ignore HP Envy x360 eu0009nv stylus battery
    ca4c62ec488b platform/x86: x86-android-tablets: Add Advantech MICA-071 extra button
    c693355b9735 platform/x86: x86-android-tablets: Add Lenovo Yoga Tab 3 (YT3-X90F) charger + fuel-gauge data
    5a2798eda1a8 platform/x86: x86-android-tablets: Add Medion Lifetab S10346 data
    838e48fa1b1b ALSA: hda/cirrus: Add extra 10 ms delay to allow PLL settle and lock.
    c455aa7cc9cf platform/x86: intel-uncore-freq: add Emerald Rapids support
    009ac0049dc3 platform/x86: ideapad-laptop: Stop writing VPCCMD_W_TOUCHPAD at probe time
    bda3399b5abb platform/x86: ideapad-laptop: Send KEY_TOUCHPAD_TOGGLE on some models
    f5820b413962 platform/x86: ideapad-laptop: Only toggle ps2 aux port on/off on select models
    2380e9493538 platform/x86: ideapad-laptop: Do not send KEY_TOUCHPAD* events on probe / resume
    c234ccc68afe platform/x86: ideapad-laptop: Refactor ideapad_sync_touchpad_state()
    8af3d02aae3e ACPI: video: Prefer native over vendor
    923c1922bdbe ACPI: video: Simplify __acpi_video_get_backlight_type()
    33c25c314683 platform/x86: ideapad-laptop: support for more special keys in WMI
    32755a5da122 platform/x86: ideapad-laptop: Add new _CFG bit numbers for future use
    317499df9d70 platform/x86: ideapad-laptop: Revert "check for touchpad support in _CFG"
    f48a74ccb519 platform/x86: thinkpad_acpi: Fix max_brightness of thinklight
    3ff594fb490f ALSA: hda/realtek: Apply dual codec fixup for Dell Latitude laptops
    ed32831a17e5 ALSA: patch_realtek: Fix Dell Inspiron Plus 16
    7ac7830af689 bpf: Resolve fext program type when checking map compatibility
    f845a9d33b4e media: s5p-mfc: Fix in register read and write for H264
    bd1b72f0c39a media: s5p-mfc: Clear workbit to handle error condition
    bff2698aab6f media: s5p-mfc: Fix to handle reference queue during finishing
    67ffc6dc3002 ext2: unbugger ext2_empty_dir()
    e7c0c943ed67 cpufreq: Init completion before kobject_init_and_add()
    5052a96b2104 PM/devfreq: governor: Add a private governor_data for governor
    6088d8783f7b random: add helpers for random numbers with given floor or range
    ef3ad7f447a2 x86/MCE/AMD: Clear DFR errors found in THR handler
    9edfbb64ca2b selftests: Use optional USERCFLAGS and USERLDFLAGS
    ea27cc32450e EDAC/mc_sysfs: Increase legacy channel support to 12
    b8b9b0b857b9 cxl/region: Fix missing probe failure
    833cdf903d2e arm64: dts: qcom: sdm850-lenovo-yoga-c630: correct I2C12 pins drive strength
    38f99d0b0284 x86/fpu/xstate: Fix XSTATE_WARN_ON() to emit relevant diagnostics
    346ac4a116cb random: use rejection sampling for uniform bounded random integers
    0f9327484c6f arm64: dts: qcom: sdm850-samsung-w737: correct I2C12 pins drive strength
    bacb7e1d42f4 ARM: ux500: do not directly dereference __iomem
    a94b90ac1f25 btrfs: fix resolving backrefs for inline extent followed by prealloc
    169a4cf46882 btrfs: fix extent map use-after-free when handling missing device in read_one_chunk
    712b0938166a btrfs: fix uninitialized parent in insert_state
    ed00567b170f drm/amd/pm: correct SMU13.0.0 pstate profiling clock settings
    9d455cb89dc5 drm/amd/pm: update SMU13.0.0 reported maximum shader clock
    9ebb4f4eab19 phy: qcom-qmp-combo: fix out-of-bounds clock access
    39eeec3130a1 mmc: sdhci-sprd: Disable CLK_AUTO when the clock is less than 400K
    51b84cfd24ee arm64: dts: qcom: sc8280xp: fix UFS reference clocks
    b70d118a6cdc arm64: dts: qcom: sdm845-db845c: correct SPI2 pins drive strength
    f42462b9cabf perf/x86/intel/uncore: Clear attr_update properly
    254f17db4352 perf/x86/intel/uncore: Disable I/O stacks to PMU mapping on ICX-D
    192db0943fad jbd2: use the correct print format
    14a6e5330a96 ktest.pl minconfig: Unset configs instead of just removing them
    178d7cf89191 kest.pl: Fix grub2 menu handling for rebooting
    ca6536972ea5 soc: qcom: Select REMAP_MMIO for ICC_BWMON driver
    70e71f0dc86f soc: qcom: Select REMAP_MMIO for LLCC driver
    50950c0176f6 arm64: Prohibit instrumentation on arch_stack_walk()
    15e7433e1dc2 arm64: dts: qcom: sc8280xp: fix UFS DMA coherency
    189c499376d5 cxl/region: Fix memdev reuse check
    fab465599001 media: stv0288: use explicitly signed char
    a354a9e3fc3b drm/amdgpu: skip mes self test after s0i3 resume for MES IP v11.0
    33a3b7fad827 drm/amdgpu: skip MES for S0ix as well since it's part of GFX

(From OE-Core rev: 8c3ebfa63a662b178435c7f44aea1a5b8ca97af3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Bruce Ashfield
d7375e2108 linux-yocto/6.1: qemuriscv32: Enable CONFIG_NONPORTABLE
Integrating the following commit(s) to linux-yocto/.:

    30825f43170 qemuriscv32: Enable CONFIG_NONPORTABLE

    [

       Allow configurations that result in non-portable kernels, this is
       required for rv32 kernels starting 6.0+ see [1]

       [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=44c1e84a38a0

       Signed-off-by: Khem Raj <raj.khem@gmail.com>
    ]

(From OE-Core rev: f0bcb44933823218392e19edec87c71c759d182d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Bruce Ashfield
a83a5ae60d linux-yocto/6.1: edgerouter: Replace OCTEON_USB with USB_OCTEON_HCD
The OCTEON_USB has been converted into USB_OCTEON_HCD by mainline
commit 9dbdac024d4d ("staging: octeon-usb: move driver out of staging").
So adjust the BSP cfg according to that change.

(From OE-Core rev: 9cb4fe59779219817f919b823943db98f5497bb0)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Thomas Roos
40eedd67f1 devtool: fix devtool finish when gitmodules file is empty
When a .gitmodules file exists but is empty then devtool finish fails.
Add an additional check for this.

[YOCTO #14999]

(From OE-Core rev: b4f0f7c4934bade9e4d4a1086f9d8b29d8e9ad45)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Ovidiu Panait
aab9a3c697 webkitgtk: fix perl-native dependency
Currently, perl-native is missing from DEPENDS for webkitgtk even though
perlnative bbclass is inherited. This happens because the DEPENDS variable is
reassigned right after perlnative class is inherited:

inherit perlnative (DEPENDS += "perl-native")
...
DEPENDS = " \
            ..."

Adjust the DEPENDS line to use += in order to fix this.

(From OE-Core rev: a207c8f42f809340e0794cd326cb5c45e32d7d56)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Jermain Horsman
14a852c273 cve-check: write the cve manifest to IMGDEPLOYDIR
When building an image cve_check_write_rootfs_manifest() would sometimes fail
with a FileNotFoundError when writing the manifest.cve due to the parent
directory (DEPLOY_DIR_IMAGE) not (yet) existing.

The image task will provide the manifest in the deploy directory afterwards,
so other recipes depending on the manifest being in DEPLOY_DIR_IMAGE should
continue to function properly.

(From OE-Core rev: 00fb2aae22ce0d7ff5f3f8766fa770eeb4e73483)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Khem Raj
59d7bc14ef cpio: Fix gnulib alignof implementation on clang
Backport needed patches

(From OE-Core rev: 49d328f2c696360759f00507b8fd5089b2f03e7c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Khem Raj
787c77dd5c opkg: Define alignof using _Alignof when using C11 or newer
(From OE-Core rev: 582a09b54d6b78706f8834a4f616d4ea97feceb3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Khem Raj
307aea25a5 m4: Define alignof_slot using _Alignof when using C11 or newer
(From OE-Core rev: 6ab48834cfe852f7bc9a0fe412ff80de216f8247)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:27 +00:00
Khem Raj
376d0fdd0e dbus: Use Alignof when using C11 or newer standard
Fixes an UB found with with clang

(From OE-Core rev: e1f2d23f1049222fd5aab6189710e89a550ba911)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:27 +00:00
Khem Raj
4d5e40bf77 libxcb: Fixed c2x standard undefined behaviour
(From OE-Core rev: bf2263f163956d58fa951eb099c021efe5e16ae2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:27 +00:00
Tom Hochstein
376a27c932 gstreamer1.0-plugins-good: Fix libsoup runtime dependency
The runtime dependency on libsoup set via PACKAGECONFIG does not work.
The problem is the dependency is placed on the main package, but the
soup package has no dependency on the main package.

I considered modifying the call to do_split_packages from
gstreamer1.0-plugins-packaging.inc, changing extra_depends from '' to
None:

```
    extra_depends  -- extra runtime dependencies (RDEPENDS) to be set for
                      all packages. The default value of None causes a
                      dependency on the main package (${PN}) - if you do
                      not want this, pass '' for this parameter.
```

However, the problem with this solution is that it does add the runtime
dependency to _all_ such split packages.

So, fix the problem with an explicit runtime dependency.

(From OE-Core rev: 56c4559788d3d87ceed965aedd03d461df5999aa)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:27 +00:00
Vincent Davis Jr
daf42dbe78 mesa: allow mesa (gbm) to compile without backend
Commit introduces a patch that allows for gbm to
be built with an empty backend. There are situation
where mesa-gl is the preferred provider for virtual/libgbm,
virtual/libgl, virtual/mesa, etc... But the x11 DISTRO_FEATURE
isn't included this leads to build errors such as

| /../../../ld: src/gbm/libgbm.so.1.0.0.p/main_backend.c.o: in function
`find_backend':
| backend.c:(.text.find_backend+0xa4): undefined reference to
`gbm_dri_backend'
| /../../../ld:
src/gbm/libgbm.so.1.0.0.p/main_backend.c.o:(.data.rel.ro.builtin_backends+0x4):
undefined reference to `gbm_dri_backend'
| collect2: error: ld returned 1 exit status

Add patch to bypass compilation issue by excluding gbm dri backend.

https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20447
842ca28465

Commit also includes the use of TARGET_CFLAGS variable in mesa-gl recipe
to fix bellow compilation bug.

/../recipe-sysroot/usr/include/xf86drm.h:40:10: fatal error: drm.h: No such file or directory
|    40 | #include <drm.h>

(From OE-Core rev: 00a662c5e28235fb64348aab4ce9aeb5e7f95d06)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:27 +00:00
Pavel Zhukov
2ac1235b9b bitbake: fetch2/tests: Add test for Mercurial
Basic test for mercurial functionality including PREMIRRORONLY with
disabled network

(Bitbake rev: c0e349a5fc92e9c90afc53800c7e83495393ff79)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:27 +00:00
Pavel Zhukov
e82805663f bitbake: fetch2: kill parameters in uri_find_decoded
Fixes:
  File "/bitbake/./lib/bb/fetch2/__init__.py", line 446, in uri_replace
    if uri_decoded[loc][k] != uri_find_decoded[loc][k]:
KeyError: 'module'

(Bitbake rev: 80421abd5bf3f1f751219c050fa93970cf1f2088)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:27 +00:00
Khem Raj
288cc5b879 gperf: Make the code C++17 compliant
Fixes
| ../../gperf-3.1/lib/getline.cc:58:7: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
|       register int c = getc (stream);
|       ^~~~~~~~~

(From OE-Core rev: dd137feabdad2e7a2b3d107c703aad577a2e79c7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Khem Raj
b622f7f8f0 unfs3: Fix implicit function declarations of fix_dir_times()
(From OE-Core rev: fbc971f09f9c0db97e7a649b243e44c391d20cd6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Khem Raj
db2cf93abc vulkan-samples: Update to the tip of trunk
Drop backported patches

(From OE-Core rev: bfbbade9a993fe1f39f41b81708a8a92e45b65f1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Khem Raj
de4432ba8b groff: Drop use of register storage class
Backport a patch to make it work with c17 standard

(From OE-Core rev: c209d8768dfbbbf4b9003a4fbb335d76b276e1a8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Khem Raj
be0cb1a711 cpio: Do not use _Noreturn in gnulib
Backport a gnulib patch

(From OE-Core rev: 1baf1f2b5baaced3affe036e104e20e33c1c5016)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
7205f011a3 xz: upgrade 5.4.0 -> 5.4.1
Changelog:
==========
* liblzma:
    - Fixed the return value of lzma_microlzma_encoder() if the
      LZMA options lc/lp/pb are invalid. Invalid lc/lp/pb options
      made the function return LZMA_STREAM_END without encoding
      anything instead of returning LZMA_OPTIONS_ERROR.
    - Windows / Visual Studio: Workaround a possible compiler bug
      when targeting 32-bit x86 and compiling the CLMUL version of
      the CRC64 code. The CLMUL code isn't enabled by the Windows
      project files but it is in the CMake-based builds.

* Build systems:
    - Windows-specific CMake changes:
        * Don't try to enable CLMUL CRC64 code if _mm_set_epi64x()
          isn't available. This fixes CMake-based build with Visual
          Studio 2013.
        * Created a workaround for a build failure with windres
          from GNU binutils. It is used only when the C compiler
          is GCC (not Clang). The workaround is incompatible
          with llvm-windres, resulting in "XZx20Utils" instead
          of "XZ Utils" in the resource file, but without the
          workaround llvm-windres works correctly. See the
          comment in CMakeLists.txt for details.
        * Included the resource files in the xz and xzdec build
          rules. Building the command line tools is still
          experimental but possible with MinGW-w64.
    - Visual Studio: Added stream_decoder_mt.c to the project
      files. Now the threaded decompressor lzma_stream_decoder_mt()
      gets built. CMake-based build wasn't affected.
    - Updated windows/INSTALL-MSVC.txt to mention that CMake-based
      build is now the preferred method with Visual Studio. The
      project files will probably be removed after 5.4.x releases.
    - Changes to #defines in config.h:
        * HAVE_DECL_CLOCK_MONOTONIC was replaced by
          HAVE_CLOCK_MONOTONIC. The old macro was always defined
          in configure-generated config.h to either 0 or 1. The
          new macro is defined (to 1) only if the declaration of
          CLOCK_MONOTONIC is available. This matches the way most
          other config.h macros work and makes things simpler with
          other build systems.
        * HAVE_DECL_PROGRAM_INVOCATION_NAME was replaced by
          HAVE_PROGRAM_INVOCATION_NAME for the same reason.
* Tests:
    - Fixed test script compatibility with ancient /bin/sh
      versions. Now the five test_compress_* tests should
      no longer fail on Solaris 10.
    - Added and refactored a few tests.

* Translations:
    - Updated the Catalan and Esperanto translations.
    - Added Korean and Ukrainian man page translations.

(From OE-Core rev: bf829fec65b5f5047a4139ede8c4c2982ba81f1c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
92be70bc5b stress-ng: upgrade 0.15.01 -> 0.15.02
(From OE-Core rev: 5a055084e17b8b0847c32b0793da83bd8b9f07cb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
80a7809e24 python3-pygments: upgrade 2.13.0 -> 2.14.0
Changelog:
==========
- Added lexers:

  * Arturo (#2259)
  * GAP session (#2211)
  * Fift (#2249)
  * func (#2232)
  * Jsonnet (#2239)
  * Minecraft schema (#2276)
  * MIPS (#2228)
  * Phix (#2222)
  * Portugol (#2300)
  * TL-b (#2247)
  * World of Warcraft TOC format (#2244, #2245)
  * Wren (#2271)

- Updated lexers:

  * Abap: Update keywords (#2281)
  * Alloy: Update for Alloy 6 (#1963)
  * C family (C, C++ and many others):

    - Fix an issue where a chunk would be wrongly recognized as a function
      definition due to braces in comments (#2210)
    - Improve parantheses handling for function definitions (#2207, #2208)

  * C#: Fix number and operator recognition (#2256, #2257)
  * CSound: Updated builtins (#2268)
  * F#: Add ".fsx" file extension (#2282)
  * gas (GNU assembler): recognize braces as punctuation (#2230)
  * HTTP: Add 'CONNECT' keyword (#2242)
  * Inform 6: Fix lexing of properties and doubles (#2214)
  * INI: Allow comments that are not their own line (#2217, #2161)
  * Java properties: Fix issue with whitespace-delimited keys, support
    comments starting with '!' and escapes, no longer support undocumented
    ';' and '//' comments (#2241)
  * LilyPond: Improve heuristics, add "\maxima" duration (#2283)
  * LLVM: Add opaque pointer type (#2269)
  * Macaulay2: Update keywords (#2305)
  * Minecraft-related lexers (SNB and Minecraft function) moved to
    "pygments.lexers.minecraft" (#2276)
  * Nim: General improvements (#1970)
  * Nix: Fix single quotes inside indented strings (#2289)
  * Objective J: Fix catastrophic backtracking (#2225)
  * NASM: Add support for SSE/AVX/AVX-512 registers as well as 'rel'
    and 'abs' address operators (#2212)
  * Powershell:

    - Add "local:" keyword (#2254)
    - Allow continuations without markers (#2262, #2263)

  * Solidity: Add boolean operators (#2292)
  * Spice: Add "enum" keyword and fix a bug regarding binary,
    hexadecimal and octal number tokens (#2227)
  * YAML: Accept colons in key names (#2277)

- Fix 'make mapfiles' when Pygments is not installed in editable mode
  (#2223)

- Support more filetypes and compression types in 'autopygmentize' (#2219)
- Merge consecutive tokens in Autohotkey, Clay (#2248)
- Add ".nasm" as a recognized file type for NASM (#2280)
- Add "*Spec.hs" as a recognized file type for "HSpec" (#2308)
- Add "*.pyi" (for typing stub files) as a recognized file type for
  Python (#2331)
- The HTML lexer no longer emits empty spans for whitespace (#2304)
- Fix "IRCFormatter" inserting linenumbers incorrectly (#2270)

(From OE-Core rev: 5ef9d667776b8078169f8b940da8cd1da1df9f22)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
7cb0a37030 python3-pbr: upgrade 5.11.0 -> 5.11.1
Changelog
=========
* Run PBR integration on Ubuntu Focal too
* Remove numpy dependencies
* Tie recursion calls to Dist object, not module
* Update tox.ini to work with tox 4

(From OE-Core rev: bcea96e95cb483710647fe9b604d320aca470ad5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
757d322339 python3-packaging: upgrade 22.0 -> 23.0
Changelog:
==========
 Allow "extra" to be None in the marker environment (:issue:'650')
 Refactor tags._generic_api to use EXT_SUFFIX (:issue:'607')
 Correctly handle trailing whitespace on URL requirements (:issue:'642')
 Fix typing for specifiers.BaseSpecifier.filter() (:issue:'643')
 Use stable Python 3.11 in tests (:issue:'641')
 Correctly handle non-normalised specifiers in requirements (:issue:'634')
 Move to src/ layout (:issue:'626')
 Remove __about__ file, in favour of keeping constants in __init__ (:issue:'626')

(From OE-Core rev: 9f34a926ef1bfb17119d71a0229e475a58a33df7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
0b3377d0c7 python3-importlib-metadata: upgrade 5.2.0 -> 6.0.0
Changelog:
===========
* #419: Declared "Distribution" as an abstract class, enforcing
  definition of abstract methods in instantiated subclasses. It's no
  longer possible to instantiate a "Distribution" or any subclasses
  unless they define the abstract methods.

(From OE-Core rev: 864fd15f05f3e9e795d272239be30db4a19c9ceb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
e8027e35fc python3-hypothesis: upgrade 6.61.0 -> 6.62.0
Changelog:
we now support @example(...).xfail(), with the same (optional) condition, reason, and raises arguments as pytest.mark.xfail().

(From OE-Core rev: 31c0a609e2af33a7734337ebb9e2377556506fdc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
3182c3862d python3-hatchling: upgrade 1.12.1 -> 1.12.2
Changelog:
===========
Add macos-max-compat option to the wheel target that is enabled by default to
support the latest version 22.0 of the packaging library

(From OE-Core rev: bbd64ef85cae2440de4d0554c2cb4115a2fbfc14)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
2e39ec3e6e python3-dbusmock: upgrade 0.28.6 -> 0.28.7
Changelog:
==========
 blue5-obex template: Fix OBEX PullAll
 power_profiles template: Fix Actions property type
 README: Explain container tests and how to debug them

(From OE-Core rev: 44165fb25e83be6c7952de25c2b07b1442727088)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
034223db3b python3-cython: upgrade 0.29.32 -> 0.29.33
Changelog:
==========
Features added
--------------
* The "cythonize" and "cython" commands have a new option "-M" / "--depfile"
  to generate ".dep" dependency files for the compilation unit.  This can be used
  by external build tools to track these dependencies.
  The "cythonize" option was already available in Cython :ref:'0.29.27'.

Bugs fixed
----------
* "const" fused types could not be used with memory views.
  Patch by Thomas Vincent.  (Github issue :issue:'1772')
* "wstr" usage was removed in Python 3.12 and later (PEP-623).
  (Github issue :issue:'5145')
* A type check assertion for Cython functions failed in debug Python builds.
  (Github issue :issue:'5031')
* Fixed various compiler warnings.
  Patches by Lisandro Dalcin et al.  (Github issues :issue:'4948', :issue:'5086')
* Fixed error when calculating complex powers of negative numbers.
  (Github issue :issue:'5014')
* Corrected a small mis-formatting of exception messages on Python 2.
  (Github issue :issue:'5018')
* The "PyUnicode_AsUTF8AndSize()" C-API function was missing from the CPython declarations.
  (Github issue :issue:'5163')
* A performance problem in the compiler was resolved when nesting conditional expressions.
  (Github issue :issue:'5197')
* Test suite problems with recent NumPy and CPython versions were resolved.
  (Github issues :issue:'5183', :issue:'5190')

Other changes
-------------
* The undocumented, untested and apparently useless syntax
  "from somemodule cimport class/struct/union somename" was deprecated
  in anticipation of its removal in Cython 3.  The type
  modifier is not needed here and a plain "cimport" of the name will do.
  (Github issue :issue:'4905')
* Properly disable generation of descriptor docstrings on PyPy since they cause crashes.
  It was previously disabled, but only accidentally via a typo.
  Patch by Matti Picus.  (Github issue :issue:'5083')
* The "cpow" directive of Cython 3.0 is available as a no-op.
  (Github issue :issue:'5016')

(From OE-Core rev: 4c5b05d92d691447d493ce87f32f4af907410c39)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
e5f159c0e3 patchelf: upgrade 0.17.0 -> 0.17.2
8d2cb4f9ab8d564904c292099a022ffb3cccd52d.patch
included in 0.17.2

Changelog:
===========
 Also pass STRIP to the tests
 Fix Out-of-bounds read in the function modifySoname
 Split segment size fix

(From OE-Core rev: ae8319a6ce5af747a1882bd67384286fef75474a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
3ac509bc51 python3-setuptools: upgrade 65.6.3 -> 65.7.0
Changelog:
=========
* #3594: Added "htmlcov" to FlatLayoutModuleFinder.DEFAULT_EXCLUDE -- by :user:'demianbrecht'
* #3667: Added a human-readable error description when ".egg-info" directory is not writeable -- by :user:'droodev'
* #3713: Fixed incomplete "getattr" statement that caused problems when accessing
  undefined attribute.

(From OE-Core rev: 1f3602a771c4f68dc5d052a9099d20f5741414d2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
462fe87d05 python3-alabaster: upgrade 0.7.12 -> 0.7.13
Changelog:
https://github.com/bitprophet/alabaster/blob/main/docs/changelog.rst

License-Update: Copyright year updated to 2020.

(From OE-Core rev: 4f03db8b70f429436143d6f36b746bdf99fb3d55)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
b1fb0b9429 gi-docgen: upgrade 2022.2 -> 2023.1
(From OE-Core rev: fc348ca2f42da5beb382802a5d3b3dd794cecb38)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
163f885313 ed: upgrade 1.18 -> 1.19
Changelog:
==========
 * main_loop.c (exec_command): Fix commands 'e', 'E'; they did set
   the 'modified' flag if file not found. (Reported by Harry Graf).
   (main_loop): Print script error line to stdout instead of stderr.
 * Change long name of option '-s' to '--script'.
   (Suggested by Andrew L. Moore).
 * Assign short name '-q' to options '--quiet' and '--silent'.
 * main.c (show_strerror) Use '!quiet' to enable diagnostics.
 * Do not process file names for backslash escapes.
   (Suggested by Andrew L. Moore).
 * ed.texi: Document 0 as starting point for searches '0;/RE/'.
   Document how to achieve the effect of ex style '!' filtering.

License-Update: Copyright year updated to 2023.

(From OE-Core rev: 5cf8e3fe7cc020cd3d7cd4e2a9b6364947a875f7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
35d8cb1cce dpkg: upgrade 1.21.17 -> 1.21.18
Changelog:
==========
 * Perl modules:
    - Dpkg::BuildFlags: Fix strip method to always work with duplicates.
  * Documentation:
    - man: Add a note to dpkg-fsys-usrunmess(8) about Debian support.
  * Code internals:
    - libdpkg: Move compression level max bound check from dpkg-deb.
    - libdpkg: Switch dpkg_lzma_strerror() to use struct io_lzma.
    - libdpkg: Split compression filter operation tracking from its status.
    - libdpkg: Generalize compression stream action handling.
    - libdpkg: Abstract compression stream status tracking.
    - libdpkg: Add zstd support for .deb archives. Closes: #892664
  * Build system:
    - Update .mailmap mappings.
  * Packaging:
    - Update copyright years.
  * Test suite:
    - Add dpkg-deb build and extract tests.

(From OE-Core rev: 22666e97b100b44bea85ede144ab6b4e0a2f7006)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
e55677116b man-db: upgrade 2.11.1 -> 2.11.2
Changelog:
=========
Fixes:
------
 * Fix compile and test failures when 'troff' is not 'groff'.
 * Fix segfault in typical uses of 'man' when 'nroff' is not installed.
 * Fix crash in 'mandb' when processing stray cats.

Improvements:
-------------
 * Check for stray cats even if no manual pages in a given manpath were
   changed.

(From OE-Core rev: f6ddfaac9e4957abfe9f1c8d336b4fd7b52a80f5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
2498587c31 libwebp: upgrade 1.2.4 -> 1.3.0
Changelog:
==========
* add libsharpyuv, which exposes -sharp_yuv/config.use_sharp_yuv
  functionality to other libraries; libwebp now depends on this library
* major updates to the container and lossless bitstream docs (#448, #546,
  #551)
* miscellaneous warning, bug & build fixes (#576, #583, #584)

(From OE-Core rev: e6d50bba6e9e629e292984d54baf62c81407c976)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
34bf4f92bb libpcap: upgrade 1.10.2 -> 1.10.3
Changelog:
============
Source code:
   Sort the PUBHDR variable in Makefile.in in "ls" order.
   Fix typo in comment in pflog.h.
   Remove two no-longer-present files from .gitignore.
   Update code and comments for handling failure to set promiscuous
     mode based on new information.
Building and testing:
   install: Fixed not to install the non-public pcap-util.h header.
   pcap-config: add a --version flag.
   Makefile.in: Add some missing files in the distclean target.

(From OE-Core rev: 5b651a929223d1965136bd97c22b89ca86b5b9c5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
b14bc29e78 btrfs-tools: upgrade 6.1 -> 6.1.2
Changelog:
 revert libbtrfs changes to v6.0.2, fix remaining build problems

(From OE-Core rev: a7165d4e2d3a015584cd0a0872337bb84c65412a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Alex Kiernan
7692ed049d rust: Remove CARGO_VERSION
CARGO_VERSION isn't broken out in rust/src/stage0.json, there's only one
snapshot version, so just use that.

(From OE-Core rev: 9b0f88642570383b09de94238fe1a8ef5119fb47)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 12:23:41 +00:00
Alex Kiernan
afd2d15923 rust: Upgrade 1.66.0 -> 1.66.1
Changes:
  Added validation of SSH host keys for git URLs in Cargo (CVE-2022-46176)

(From OE-Core rev: 3d31afc5666eda95032d0be47ff815859550a65f)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 12:23:41 +00:00
Alexander Kanavin
5dba0314f7 python3-sphinxcontrib-applehelp: update 1.0.2 -> 1.0.3
Convert to flit, adjust pypi name.

(From OE-Core rev: 3f050df4b143048a132005595d68abf5b51b5091)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 08:49:08 +00:00
Alexander Kanavin
55cd394916 webkitgtk: submit a patch upstream
(From OE-Core rev: 02a698d8b02dc0f762bd82ee0686d2bf3df13316)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 08:49:08 +00:00
Alexander Kanavin
256173b024 mesa: update 22.2.3 -> 22.3.3
gallium-xvmc option removed upstream

Remove 0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch
as upstream code no longer uses these definitions.

(From OE-Core rev: 3bf4341ef6a681574a1c6f393bf241f412e26eac)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 08:49:08 +00:00
Alexander Kanavin
e6715606f3 man-pages: upgrade 6.01 -> 6.02
License-Update: readme rewritten, set of licenses provided explicitly.

(From OE-Core rev: e24660ad939c40766a34e2d998da3df998576210)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 08:49:08 +00:00
Alexander Kanavin
820aafd674 ethtool: upgrade 6.0 -> 6.1
(From OE-Core rev: f0090883eb66a636f9737cb1a09eee5dbea27883)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 08:49:08 +00:00
Khem Raj
cfe1272230 libglu: Remove deprecated register in C++17
(From OE-Core rev: 93287c629e889d8026f76a42646bbe4529a7523f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 08:49:08 +00:00
Khem Raj
8790d0bdbd createrepo-c: Include missing rpm/rpmstring.h
(From OE-Core rev: b122f4ab5d8750dd64814da0ae7c9035b7620e4c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 08:49:08 +00:00
Michael Opdenacker
384743c897 rust-bin.bbclass: remove unused class
(From OE-Core rev: 693e6bf7936f446c18b5db4d33605a88cb843cd4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 08:49:08 +00:00
Ross Burton
ca8dcdbfab quilt: fix intermittent failure in faildiff.test
This test assumes that if a child process writes one line to stderr and
then another line to stdout, and stderr is redirected to stdout, that
the order the lines will be read is stable.

This isn't the case and occasionally the lines will be read in a
different order.  Change the test to ignore line ordering.

[ YOCTO #14469 ]

(From OE-Core rev: 1ddbe4d2bd8d8da10dac8a054f130fcd1d242219)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 08:49:08 +00:00
Ross Burton
61bb4d8e75 quilt: rewrite ptest glue
The ptest glue was overly complex. Not as many files are needed to be
installed if we tell it to use the system's quilt tools, there's no
need for a custom Makefile just to set some environment variables, and
/usr/bin/ed doesn't appear to be used at all.

(From OE-Core rev: 9a287b456347a2be44bff6f9e547795018fb729d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 08:49:08 +00:00
Richard Purdie
11698e027d bitbake: server/process: Improve lockfile handling at exit
If memory resident bitbake is active and the build directory is renamed upon
build completion, several bad things can happen:

* the old build directory could be re-created to contain a lockfile
  leaving an empty directory behind
* a lockfile for a new build could be found and attempt to be locked

This patch avoids creating an empty directory (not perfectly, but should
work in the majority of cases - an empty directory is cosmetic).

It also now compares the lock file contents to it's own pid and
just exits if it doesn't match, it is clearly then belonging to some
new process.

This will be combined with bitbake shutdown calls on the autobuilder to
ensure "saved" build directories, or build directories being deleted by
clobberdir don't do strange things.

(Bitbake rev: b986eac18b6a8bf633f5ef15f32f68de4c86173b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-14 14:33:00 +00:00
Ross Burton
bd1edfa3d5 cve-update-db-native: show IP on failure
We get random SSL failures when fetching the CVE database, and it's
notable that the NVD server is behind a DNS round-robin or geographically
diverse servers.

On a hunch that there is one misconfigured server, dump the IP that we
connected to.

(From OE-Core rev: 91f46d431dc8f40e8c6475c800bb61cb08b82b0a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-14 00:14:27 +00:00
Kevin Hao
2e33c422a4 meta-yocto-bsp: Update the default kernel to 6.1
Create the corresponding 6.1 bbappend and also update the default
kernel to 6.1 for all the boards.

(From meta-yocto rev: 7494f08fa1c85611a1dce3444a2737ef06fc8fdf)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13 17:34:08 +00:00
Yoann Congal
e1a661e3d2 bitbake: persist_data: Handle sqlite error when cachefile path is too long
Sqlite can't open the cachefile when its path is too long (>= 505 char by
my tests).

We do have a path length check in sanity.bbclass but this code is called
before sanity checks.

Treat the error in the exception instead of checking before hand in case
sqlite eventually fixes this.

Fixes [YOCTO #12374]

(Bitbake rev: bf681d173263cd42ffc143655f61abe0573fd83c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13 17:34:08 +00:00
Quentin Schulz
79edc06213 packagegroup-core-boot: make init-ifupdown package a recommendation
init-ifupdown provides an /etc/network/interfaces, which disables
interface management with networkmanager for example. If a network
manager (such as networkmanager) is provided, there may not be a need
for network related init scripts provided by init-ifupdown, so let's
make it a recommendation so it can be easily removed in image recipes
via the NO_RECOMMENDATIONS/BAD_RECOMMENDATIONS mechanism.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: 719d1b74bfa85af47e0478ee57fb7855988e44ae)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13 17:32:46 +00:00
Alexander Kanavin
c7cbde198b selftest/virgl: use pkg-config from the host
The check needs to report dri location on the host machine,
so pkg-config binary needs to be capable of finding the needed
dri.pc file on the host, and therefore needs to know where
host .pc files are located.

This may not be the case when using pkg-config from buildtools,
so this forces usage of host pkg-config.

runqemu already does the same PATH tweak, so this simply brings
the two in sync.

(From OE-Core rev: f0521f8a3ba7e15482756529ee7b0a95b3d53e7d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13 17:32:46 +00:00
Ross Burton
cb96e0e3ec python3-picobuild: remove
We've moved to using python3-build, so this can be removed.

(From OE-Core rev: 4ea299e16a37eac3f65ed4b2e5891e8adaad95d5)

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>
2023-01-13 17:32:46 +00:00
Ross Burton
adedac2b33 python_pep517: use python3-build, not picobuild
Now that the bootstrap sequence for pypa/build is just
python3-packaging, and python3-pyproject-hooks, we can use build instead
of picobuild.

The only change visible outside of this class is that the variable
PEP517_PICOBUILD_OPTS is now PEP517_BUILD_OPTS, but I'm only aware of one
recipe that used that variable.

(From OE-Core rev: 202c2e3c9481a8841af2556862a76e27d703246d)

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>
2023-01-13 17:32:46 +00:00
Ross Burton
1faf47e9e6 python3-build: add 0.10.0
This is the PEP517 build frontend blessed by the Python Packaging
Authority, and now that Python 3.11 has been released and enough
packages have ported to flit, it can be used without a huge bootstraping
problem.

(From OE-Core rev: 00254501b9b024032032c9fb068d957de4ef7dde)

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>
2023-01-13 17:32:46 +00:00
Ross Burton
6725ff75da python3-pyproject-hooks: add new recipe
This used to be known as python3-pep517 and is a key library used to
build modern Python code.

It is currently vendored into python3-picobuild but I plan to remove
that.

(From OE-Core rev: 877c4d5e4cd5ceb71d2ecfdc35a625f50752bec0)

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>
2023-01-13 17:32:46 +00:00
Benoît Mauduit
4c8d17088f lib/oe/reproducible: Use git log without gpg signature
Previously, if "showSignature" is present in user gitconfig, parsing
of the timestamp will fail.

Ideally we should replace this command with a git plumbing command.

(From OE-Core rev: 3bd6f78f79b3d3e87d8db1e11f58d8021f929843)

Signed-off-by: Benoît Mauduit <bmauduit@beneth.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13 17:32:46 +00:00
Peter Marko
486791b3ac iproute2: separate routel and add python dependency
This script was migrated from shell to python3 in recent versions.

(From OE-Core rev: 63c89b726e9a2c844168ffeddfaf0c778abfd131)

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>
2023-01-13 17:32:46 +00:00
Michael Opdenacker
0ce159991d .gitignore: ignore files generated by Toaster
When Toaster is run as documented on
https://docs.yoctoproject.org/toaster-manual/setup-and-use.html

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-01-12 23:09:52 +00:00
Saul Wold
59603bd6df at: Change when files are copied
The create_spdx code relies on patched code, if files are changed
or added during the do_configure phase they will be missed by the
create_spdx process. So we need to ensure files modifications/additions
happen in the do_patch phase.

(From OE-Core rev: 227c46fe48b64de7574f7b6b407b8c13be71b392)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:59 +00:00
Ross Burton
0cd69599e3 curl: don't enable debug builds
In oe-core 27824261 --enable-debug was added to the configure arguments
to turn on debugging symbols.  However, enabling debug mode does more
than turn on debugging symbols and introduces some codepaths that can be
controlled with environment variables.  Bluntly, the curl maintainer
says that --enable-debug should not be used in production:

https://curl.se/mail/lib-2023-01/0039.html

I did a build and verified that the curl-dbg package doesn't massively
shrink, so the debug symbols are still being built.

Remove the debug options and hide them behind a PACKAGECONFIG, with a
comment that it should not be used in production.

(From OE-Core rev: 3ed3b2ffeeaa5d888f77dd30cb8cd81d3275398a)

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>
2023-01-12 23:08:59 +00:00
Luca Boccassi
3cef25ba0f systemd: ship pcrphase/measure tools and units in systemd-extra-utils
New tooling related to signed TPM policies introduced in v252

(From OE-Core rev: 76f1e8c9f8306ed0f0db42dd7a3c7efce82108ce)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:59 +00:00
Luca Boccassi
ac8bfb9288 systemd: refresh patch to remove fuzz introduced by rebase on v252
(From OE-Core rev: 603f2768c00b8abd27056379fd941b99f88c4aab)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:59 +00:00
Jan Kircher
b1a12a5bbd toolchain-scripts: compatibility with unbound variable protection
Fixed an error when Bash's unbound variable protection is enabled (set -u) and variable "LD_LIBRARY_PATH" does not exist.

(From OE-Core rev: 85685370b0ad93291cda59fb091a15eeecf5e0d5)

Signed-off-by: Jan Kircher <openembedded@hetsh.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:59 +00:00
Chen Qi
c48d92e080 libseccomp: fix typo in DESCRIPTION
Fix typo in DESCRIPTION: and -> an.

(From OE-Core rev: 349e63045298054f9454025d793c67284fce750b)

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>
2023-01-12 23:08:59 +00:00
Chen Qi
cf1353821d dhcpcd: backport two patches to fix runtime error
In case of nodistro, dhcpcd gives us 'Bad system call'
error and exits. This is because there are syscalls that
should be allowed but not in privsep. Backport two patches
to fix this issue.

(From OE-Core rev: f1e6a0c16d6685096ec9313301aa431e73d02c07)

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>
2023-01-12 23:08:59 +00:00
leimaohui
1eecbff25d libpng: Enable NEON for aarch64 to enensure consistency with arm32.
NEON is enabled for aarch64 by default, so, to ensure consistency with
arm32, reference to libpng-1.6.38/configure, added
enable_hardware_optimizations option for aarch64.

(From OE-Core rev: 12e68d5824849fa20f0e3fe8fc1921da111bb6fb)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:59 +00:00
Charlie Johnston
8b24649b86 opkg: ensure opkg uses private gpg.conf when applying keys.
Currently, the opkg-key utility calls gpg with --no-options,
which uses /dev/null as the configuration file. This means
any configurations in /etc/opkg/gpg/gpg.conf were being
ignored. This change applies a patch to remove the
--no-options flag.

(From OE-Core rev: 3699096f3214e77fe4aa1daebe85308d02940f2f)

Signed-off-by: Charlie Johnston <charlie.johnston@ni.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:59 +00:00
Wang Mingyu
8f5df1a446 virglrenderer: upgrade 0.10.3 -> 0.10.4
0001-Replace-lseek64-with-lseek.patch
removed since it's included in 0.10.4

(From OE-Core rev: 9150a20880c08a32b71a1307cb55829a8f35f4c1)

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>
2023-01-12 23:08:59 +00:00
Wang Mingyu
2c6d12ec3a rxvt-unicode: upgrade 9.30 -> 9.31
Changelog:
===========
- implement a fix for CVE-2022-4170 (reported and analyzed by David Leadbeater).
  While present in version 9.30, it should not be exploitable. It is exploitable
  in versions 9.25 and 9.26, at least, and allows anybody controlling output to
  the terminal to execute arbitrary code in the urxvt process.
- the background extension no longer requires off focus fading support
  to be compiled in.
- the confirm-paste extension now offers a choice betwene pasting the original
  or a sanitized version, and also frees up memory used to store the paste text
  immediately.
- fix compiling without frills.
- fix rewrapMode: never.
- fix regression that caused urxvt to no longer emit responses
  to OSC color queries other than OSC 4 ones.
- fix regression that caused urxvt to no longer process OSC 705.
- restore CENTURY to be 1900 to "improve" year parsing in urclock (or at
  least go back to the old interpretation) (based on an analysis
  by Tommy Pettersson).
- exec_async (used e.g. by the matcher extension to spawn processes) now
  sets the URXVT_EXT_WINDOWID variable to the window id of the terminal.
- implement -fps option/refreshRate resource to change the default 60 Hz
  maximum refresh limiter. I always wanted an fps option, but had to
  wait for a user requesting it.
- new clickthrough extension.
- perl now also requires Xext.
- X region and shape extension functionality has been exposed to perl
  extensions.
- RENDER extension no longer depends on ENABLE_XIM_ONTHESPOT.

(From OE-Core rev: 9caf2cbd7dd82e72d0a04052fc93435f62e249ce)

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>
2023-01-12 23:08:59 +00:00
Wang Mingyu
e2e9cfc7ce dpkg: upgrade 1.21.13 -> 1.21.17
(From OE-Core rev: 9a5603fc0777400dd15d1853b2389604488ad2f6)

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>
2023-01-12 23:08:59 +00:00
Wang Mingyu
3a4b9c845f mpfr: upgrade 4.1.1 -> 4.2.0
Changelog:
==========
- The "fondue savoyarde" release.
- Binary compatible with MPFR 4.0.* and 4.1.*, though some minor changes in
  the behavior of the formatted output functions may be visible, regarded
  as underspecified behavior or bug fixes (see below).
- New functions mpfr_cosu, mpfr_sinu, mpfr_tanu, mpfr_acosu, mpfr_asinu,
  mpfr_atanu and mpfr_atan2u.
- New functions mpfr_cospi, mpfr_sinpi, mpfr_tanpi, mpfr_acospi, mpfr_asinpi,
  mpfr_atanpi and mpfr_atan2pi.
- New functions mpfr_log2p1, mpfr_log10p1, mpfr_exp2m1, mpfr_exp10m1 and
  mpfr_compound_si.
- New functions mpfr_fmod_ui, mpfr_powr, mpfr_pown, mpfr_pow_uj, mpfr_pow_sj
  and mpfr_rootn_si (mpfr_pown is actually a macro defined as an alias for
  mpfr_pow_sj).
- Bug fixes.
  In particular, for the formatted output functions (mpfr_printf, etc.),
  the case where the precision consists only of a period has been fixed
  to be like ".0" as specified in the ISO C standard, and the manual has
  been corrected and clarified.
  The macros of the custom interface have also been fixed: they now behave
  like functions (except a minor limitation for mpfr_custom_init_set).

(From OE-Core rev: 7df43a56b0146ac2a73f7bb97aeac8f11629878f)

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>
2023-01-12 23:08:59 +00:00
Wang Mingyu
c91cc96a1a libxkbcommon: upgrade 1.4.1 -> 1.5.0
Changelog:
==========
- Add 'xkb_context' flag 'XKB_CONTEXT_NO_SECURE_GETENV' and 'rxkb_context' flag
  'RXKB_CONTEXT_NO_SECURE_GETENV'.

  xkbcommon uses 'getenv_secure()' to obtain environment variables. This flag
  makes xkbcommon use 'getenv()' instead.

  This is useful for some clients that have relatively benign capabilities set,
  like CAP_SYS_NICE, that also want to use e.g. the XKB configuration from the
  environment and user configs in XDG_CONFIG_HOME.

  Contributed by Ronan Pigott.

- Fix crash in 'xkbcli interactive-wayland' under a compositor which supports
  new versions of the xdg-shell protocol.

  Contributed by Jan Alexander Steffens (heftig).

- Fix some MSVC build issues.

- Fix some issues when including xkbcommon as a meson subproject.

- meson>=0.51 is now required.

- New API:
  XKB_CONTEXT_NO_SECURE_GETENV
  RXKB_CONTEXT_NO_SECURE_GETENV

(From OE-Core rev: 3aff7e09bacdc53896e5149f494846ef95c78408)

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>
2023-01-12 23:08:59 +00:00
Wang Mingyu
114adb666e libva-utils: upgrade 2.17.0 -> 2.17.1
Changelog:
==========
* fix: Fix possible memory leak
* fix: fix coding issues of array size and function return types

(From OE-Core rev: 908ed0b40f743cdaf32a8e6492edad2477c1f4be)

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>
2023-01-12 23:08:59 +00:00
Wang Mingyu
e69b92a6e0 libsdl2: upgrade 2.26.1 -> 2.26.2
(From OE-Core rev: 22e08be8010f7fca0bbaf39459589b284a2e75c6)

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>
2023-01-12 23:08:59 +00:00
Alejandro Hernandez Samaniego
293ae7b98b oe-selftest: Add baremetal toolchain test
(From OE-Core rev: 1f3487dcd9eeaa18eec1103d2861849597335de1)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:59 +00:00
Alejandro Hernandez Samaniego
6bcbbd9ee3 baremetal-helloworld: Move from skeleton to recipes-extended matching what rust-hello-world is doing
(From OE-Core rev: 13916de0145f83bb28323f0a6bde5c3d503c1319)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:58 +00:00
Alejandro Hernandez Samaniego
1149b4fbb6 baremetal-helloworld: Enable x86 and x86-64 ports
- The qemux86 port for helloworld-baremetal builds in the standard way, however,
  it uses NASM syntax for the startup code, hence we include a dependency to
  nasm-native, QEMU forces us to use an ELF file rather than a bin file to boot
  from this architecture using the -kernel parameter.

- QEMU refuses to boot using the -kernel parameter for files containing an ELF64
  header [1], instead, it requires a multiboot2 compatible image.

  We could create an image that contains a multiboot2 header by piggybacking
  into grub2-native, specifically grub-mkrescue, but it requires some extra
  runtime dependencies (xorriso which is currently part of meta-oe), and assumes
  a grub installation exists on the host.

  Due to host contamination and dependency complications, we dont rely on grub2,
  but rather do this process manually instead, the x86-64 port contains a stage1
  bootloader, stage2 bootloader and a 64 bit baremetal app (multiboot2
  compatible), booting into real (16 bit), protected (32 bit) and long (64 bit)
  modes, eventually running the helloworld-baremetal app. This is the reason why
  we need the code changes to use a separate Makefile, and create an image
  specifically for qemux86-64.

$ runqemu nographic
Booting from ROM..
Hello OpenEmbedded on x86!

$ runqemu nographic
Starting Stage 1 Bootloader
Loading Stage 2 Bootloader
Stage 2 Loaded.
Jumping to Stage2 Bootloader
In Stage 2
Done

Hello OpenEmbedded on x86-64!

[1] https://gitlab.com/qemu-project/qemu/-/blob/v7.2.0/hw/i386/multiboot.c#L199

(From OE-Core rev: 1dffd81b2991f90ab95cb36d8ff7626efd21434f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:58 +00:00
Martin Jansa
dca9b920e0 tune-x86-64-v3.inc: set QEMU_EXTRAOPTIONS like other tune-* files
* use Skylake-Client to match QB_CPU_KVM as changed in:
  https://git.openembedded.org/openembedded-core/commit/?id=6f2af1e5d1537b4d31e14946292bf58f0fd76fc9

* explicitly set -cpu instead of letting qemu to choose based
  on host cpu

* check=false is still useful as e.g. on on AMD Threadripper 3970X:
  orc/0.4.33-r0 $ PSEUDO_UNLOAD=1 qemu-x86_64 -r 3.2.0 -cpu Skylake-Client  -L recipe-sysroot -E LD_LIBRARY_PATH=recipe-sysroot//usr/lib:recipe-sysroot//lib
  orc/0.4.33-r0/build/meson-private/sanitycheckc_cross.exe
  qemu-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
  qemu-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
  qemu-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
  qemu-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.hle [bit 4]
  qemu-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.invpcid [bit 10]
  qemu-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11]
  qemu-x86_64: warning: TCG doesn't support requested feature: CPUID.07H:EBX.rdseed [bit 18]
  qemu-x86_64: warning: TCG doesn't support requested feature: CPUID.80000001H:ECX.3dnowprefetch [bit 8]
  qemu-x86_64: warning: TCG doesn't support requested feature: CPUID.0DH:EAX.xsavec [bit 1]

* if this still doesn't work for you on your host, you might need to downgrade
  DEFAULTTUNE to e.g. corei7-64 (all all the way back to core2-64), for
  more details see:
  https://www.openembedded.org/pipermail/openembedded-core/2018-April/150178.html

* the leading space shouldn't be needed, I've kept it for consistency
  with other QEMU_EXTRAOPTIONS

(From OE-Core rev: d1a52559670921389a66a4c26d37481d6611042a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:58 +00:00
Khem Raj
ce46662692 site/common-musl: Set ac_cv_sys_file_offset_bits default to 64
off_t is always 64bit on musl regardless of 32bit or 64bit
architectures. autoconf has AC_SYS_LARGEFILE to detect correct off_t
size but it only work with glibc since it defines feature macros
_FILE_OFFSET_BITS=64 and _LARGEFILE_SOURCE but these macros are
not used on musl headers.

(From OE-Core rev: 09b3e8417d362b75f3b43a5a97b47700f97bf643)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:58 +00:00
Markus Volk
8962d3a4ce librsvg: enable vapi build
Otherwise gnome-chess will fail like this:

| error: Package `librsvg-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories
| Compilation failed: 1 error(s), 0 warning(s)

(From OE-Core rev: ed814eff90677f894d9eb480d8d4389c64a35820)

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>
2023-01-12 23:08:58 +00:00
Alex Kiernan
cc9244ca70 rust: Merge all rustc-source patches into rust-source.inc
With the dim-sum approach to patching we had the same patch applied in
many places, but not all, so that there were no guarantees that we were
actually building agaginst the same thing in all recipes.

(From OE-Core rev: 550c273f38d8e6d2d431908023e213c6b018d7ed)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:58 +00:00
Markus Volk
d2410b591f gcr3: update 3.40.0 -> 3.41.1
- remove unneded backport patches
 - partly import the patch to fix ssh_agent option from gcr4 recipe
 - convert from gtk-doc to gi-docgen

gcr 3.41.1:
- meson: Fix unknown kw argument in gnome.generate_gir [GNOME/gcr!68]
- gcr: Add G_SPAWN_CLOEXEC_PIPES flag to all the g_spawn commands
- docs: Port from gtk-doc to gi-docgen [GNOME/gcr!76]
- Unbreak build without systemd [GNOME/gcr!75]
- Several CI fixes
- Updated translations

gcr 3.41.0:
- Port ssh-agent from gnome-keyring [GNOME/gcr!67]
- build: Fix parallel build failure due to missing marshal dependency [GNOME/gcr!68]
- Fix warnings by dropping `volatile` for g_once_init_inter locations [GNOME/gcr!69]
- tests: More robust against GTask unref race condition [GNOME/gcr!72,GNOME/gcr#84]
- Updated translations

(From OE-Core rev: 9d66a3e9b9908592050ad706a950d76b6499a49e)

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>
2023-01-12 23:08:58 +00:00
Anton Antonov
755ee95a45 rust: Do not use default compiler flags defined in CC crate
Rust crates build dependecy C libraries using "CC" crate.
This crate adds some default compiler parameters depending on target arch.
For some targets these parameters conflict with the parameters defined by OE.

Warnings/errors like this can be seen in the case:

cc1: error: switch '-mcpu=cortex-a15' conflicts with switch '-march=armv7-a+fp' [-Werror]

Lets use only the OE parameters by exporting CRATE_CC_NO_DEFAULTS.
https://github.com/rust-lang/cc-rs#external-configuration-via-environment-variables

This patch fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=14947

(From OE-Core rev: 0c07089bdf7e0d7d8f37552db0bcd75f860979d9)

Signed-off-by: Anton Antonov <Anton.Antonov@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:58 +00:00
Peter Kjellerstedt
d5668a7fd4 recipes, classes: Avoid adding extra whitespace to PACKAGESPLITFUNCS
This is a follow-up to commit 846ff49465 to remove the extra whitespace
that is no longer needed after converting :append and :prepend to += and
=+.

(From OE-Core rev: 5a38be49e451c9f9d973b10a33c3972507f7b18a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:58 +00:00
Sandeep Gundlupet Raju
8b77cb3a82 kernel-fitimage: Allow user to select dtb when multiple dtb exists
Allow user to select the default DTB for FIT image when multiple
dtb's exists.

From machine.conf or local.conf user can specify the default dtb
for FIT image as shown below.

FIT_CONF_DEFAULT_DTB = "board-default.dtb"

Also fallback to avaialable dtb when FIT_CONF_DEFAULT_DTB doesn't
exits or empty.

(From OE-Core rev: 160f2c58d68a049a87ddc7aedb2055152ac6ff4e)

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:51 +00:00
Sandeep Gundlupet Raju
e6cb132072 kernel-fitimage: Adjust order of dtb/dtbo files
The dtb files must be before the dtbo files, otherwise the overlays may
not be applied correctly.

From Bruce Ashfield:

  We can split between dtbs and dtbos, they just need to be sorted
  for reproducibility reasons.

  Of course, this was only working by luck previously (before the
  sort), since it has always been gathering dtbs and dtbo's with
  find, depending on filesystem ordering for the order in the
  fitimage).

(From OE-Core rev: bcb3c0272f6ab846c3232548df1e1182bcc67486)

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:51 +00:00
Petr Kubizňák
f2df3e0681 harfbuzz: remove bindir only if it exists
In some scenarios (e.g. when "glib" removed from PACKAGECONFIG),
"${D}${bindir}" might not exist which caused `rmdir` to fail.

(From OE-Core rev: 21261072cbe0056e85550a0710de142fab8943e4)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:50 +00:00
Markus Volk
0eb87dcfdf gtk4: update 4.8.2 -> 4.8.3
Overview of Changes in 4.8.3, 12-22-2022
========================================

* GtkText:
 - Claim gestures more selectively
 - Prevent unexpected notify::direction emissions

* Accessibility:
 - Remember if we don't find the a11y bus

* DND:
 - Prefer file:// urls over other protocols

* GtkMountOperation:
 - Work on Wayland

* GtkListView:
 - Cancel rubberband if not handling drag

* Wayland:
 - Fix button masks

* Windows:
 - Fix resizes with native decorations

* X11:
 - Fix some ordering problems with surface destruction

* Translation updates
 Abkhazian
 Basque
 Dutch
 Hungarian
 Interlingue
 Georgian
 Persian
 Russian
 Spanish
 Turkish

(From OE-Core rev: 4a34adad4efbb442aebf25c42d897339c293ef0f)

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>
2023-01-12 23:08:50 +00:00
Mingli Yu
fe05487ba6 gcr: add opengl to REQUIRED_DISTRO_FEATURES
Fixes:
  $ bitbake gcr
  ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/oe-core/meta/recipes-gnome/gcr/gcr_4.0.0.bb DEPENDS on or otherwise requires it)
gtk4 was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
  ERROR: Required build target 'gcr' has no buildable providers.
  Missing or unbuildable dependency chain was: ['gcr', 'gtk4']

(From OE-Core rev: 47b0bf034796b6f159110dae363fe11eab3eab08)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12 23:08:50 +00:00
Richard Purdie
e26e0b92e8 bitbake: server/process: Move heartbeat to idle thread
Rather than risk the heartbeat event code locking up the server control
socket, handle it in the 'idle' thread with the other work. The aim
is to remove it as a possible issue with some ongoing hangs.

(Bitbake rev: 0f9a0c7853b181817bf01863a26da21412376294)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 23:16:31 +00:00
Yoann Congal
29cfebf4e0 bitbake: main: Move --buildfile help at the end of "Execution" group
Often, '--buildfile/-b' is used to mean "Do not execute anything but
this recipe", so it make sense to have it in the "Execution control
options" group.

Fixes [YOCTO #12018].

(Original suggestion by Ross Burton)

(Bitbake rev: 412a6d8701a92efe4dd6db8ec713c0013f7db64d)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 23:14:48 +00:00
Richard Purdie
51f7321141 bitbake: cooker: Fix exit handling issues
The shutdown() call should definitely not be waiting for idle, since we
expect execution and events to continue even after setting either shutdown
state. This was causing the UI to appear to hang at Ctrl+C interrupts.

Also ensure that if we reset cooker, we stop any active parser processes
since these currently appear to be being left behind.

(Bitbake rev: 4f73c2eb12ee074f3b7d4717380649f6ca8f3def)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 23:14:48 +00:00
Richard Purdie
3a439f94ab bitbake: knotty: Improve shutdown handling
There are three levels of shutdown, the initial "wait for current tasks",
then "stop current tasks" and "exit now". Change the code so that we don't
instantly exit after "stop current tasks" but allow the events to come
through from the server first. The new shutdown level allows that to then
be broken out of too.

(Bitbake rev: af38345b91cfc8a6bb5c38f5753255e7635bfe2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 23:14:48 +00:00
Richard Purdie
92c0dba456 bitbake: tinfoil: Don't wait for events indefinitely
If for some reason the bitbake server dies, we shouldn't loop indefinitely
waiting for events within tinfoil. Add a ping test and exit if things
have somehow failed.

(Bitbake rev: 32da768ae67cfe0b2d154ce4667a7cfdfa5bf4b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 23:14:48 +00:00
Richard Purdie
3d67b6c60f qemux86-64: Reduce tuning to core2-64
Effectively revert "qemux86-64: build for x86-64-v3 (2013 Haswell and later) rather than Core 2 from 2006"
(commit 6f2af1e5d1537b4d31e14946292bf58f0fd76fc9)

Much as I'd love us to use the latest tuning, we do have some autobuilder
hardware which isn't ready for this yet which breaks KVM and some qemu
user mode usage as there appear to be TCG bugs too. I suspect we're not
the only ones with such hardware.

Drop the tune back to core2-64, anyone can easily customise it
themselves if they need it. We can revisit this in a year or two
as we should be ready then. It has beena  good test of the rest of the
support which all seems ready.

I'd have preferred to use corei7-64 but that causes
runqemu.RunqemuTests.test_boot_machine_iso to hang.

Leave the newer tune file inclusion so people can change tunes
more easily.

(From OE-Core rev: 369b1dfa28b1791d45f068acc765190defecd460)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 11:03:34 +00:00
Michael Halstead
4595a8bc62 uninative: Upgrade to 3.8.1 to include libgcc
Including libgcc solves issues with libpthread.

(From OE-Core rev: 36eb46589fb01374d4738a2c376386c68d06aa83)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 10:58:36 +00:00
Ross Burton
585b2f6a94 elfutils: disable deprecation errors in all builds, not just native
The curl-related deprecation errors affect all builds not just native,
so set CFLAGS instead of BUILD_CFLAGS.

(From OE-Core rev: 64ddce0cdbda4efe65f59a04ecb999e9fd3f82a4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 10:58:36 +00:00
Ross Burton
6ae68314b6 oeqa/selftest/debuginfod: improve testcase
Primarily, before running the debuginfod-find tool, check that the
debuginfod server has finished sweeping the deploy directory.  If we
make the request too soon then there's a rare chance that we run the
client before it has scanned the right packages, and the log gets
swamped with warnings from sqlite due to a race.

Also:
- unset DEBUGINFOD_URLS so the debuginfod doesn't proxy to an upstream
  server provided by the host distro
- Lower concurrency to reduce system load and handle systems with lower
  maximum open file counts but lots of cores (as the concurrency means
  cores*2*2 open files)
- Set the refresh times to 0 so we never rescan during the test
- Only scan the packages for the format which the image is using
- Log the commands that are being invoked

(From OE-Core rev: d65729748253eaa640333198ca8aec05946cb9e8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 10:58:36 +00:00
Richard Purdie
8e7e050bce uninative: Ensure uninative is enabled in all cases for BuildStarted event
Recent changes in bitbake mean the datastore is not always reset between
ConfigParsed and BuildStarted. This means in a fresh buiild, with memory
resident bitbake active, uninative may end up disabled.

Update the code so the enable code is always run at BuildStarted if
needed.

(From OE-Core rev: db743cc78fe5172bb4a4dac9c1dad4f5aa9e1491)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 10:58:36 +00:00
Richard Purdie
165e8b563d bitbake: process/cooker/command: Fix currentAsyncCommand locking/races
currentAsyncCommand currently doesn't have any locking and we have
a conflict in "idle" conditions since the idle functions count needs
to be zero *and* there needs to be no active command.

Move the changes/checks of currentAsyncCommand to within the lock
and then we can add it to the condition for idle, simplifying some
of the code.

(Bitbake rev: b5215887d2f8ea3f28f1ebda721bd5b8f93ec7f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 10:58:36 +00:00
Richard Purdie
4e4f040a73 bitbake: cooker/command: Drop async command handler indirection via cooker
Indirecting the async command handler via cooker is confusing and no
longer needed. Drop it to make things slightly clearer.

(Bitbake rev: 4a41a7d0594e6a84a67b9de70a505858aebcd84a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-11 10:58:36 +00:00
Richard Purdie
44e148d616 patchelf: Add fix submitted upstream for uninative segfaults
The new uninative tarball is segfaulting in quilt (the underlying
patch binary). We see errors in dmesg like:

(patch): Uhuuh, elf segment at 0000000000400000 requested but the memory is mapped already

This patch submitted to patchelf upstream looks like an appropriate fix
for that.

(From OE-Core rev: cccd4bcaf381c2729adc000381bd89906003e72a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-10 14:18:36 +00:00
Yoann Congal
654380885a bitbake: Group and reorder options in bitbake help
Fixes [YOCTO #12018].

Also, I have included some small fixes:
* added a '.' at the end of sentence where it was missing
* split some long lines

(Bitbake rev: 9257c48c3e36daaecb5e15da22d0bed24865f02c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:21:01 +00:00
Bruce Ashfield
fc7d7a04d3 linux-yocto/5.15: update to v5.15.80
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    71e496bd3382 Linux 5.15.80
    b63ddb3ba61e ntfs: check overflow when iterating ATTR_RECORDs
    ab6a1bb17e3c ntfs: fix out-of-bounds read in ntfs_attr_find()
    5330c423b862 ntfs: fix use-after-free in ntfs_attr_find()
    43bbadb7e463 net/9p: use a dedicated spinlock for trans_fd
    9357fca9dad7 mm: fs: initialize fsdata passed to write_begin/write_end interface
    b334ab4c3347 wifi: wext: use flex array destination for memcpy()
    0e07032b4b47 9p/trans_fd: always use O_NONBLOCK read/write
    7c7b7476b56e gfs2: Switch from strlcpy to strscpy
    28275a7c84d2 gfs2: Check sb_bsize_shift after reading superblock
    a4f1a01b2e81 9p: trans_fd/p9_conn_cancel: drop client lock earlier
    f7b0e95071bb kcm: close race conditions on sk_receive_queue
    27d706b0d394 kcm: avoid potential race in kcm_tx_work
    b49026d9c86f tcp: cdg: allow tcp_cdg_release() to be called multiple times
    e41cbf98df22 macvlan: enforce a consistent minimal mtu
    d5f7f6e63fed Input: i8042 - fix leaking of platform device on module removal
    c49cc2c059b5 kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case
    71beab7119d0 scsi: scsi_debug: Fix possible UAF in sdebug_add_host_helper()
    a636772988ba scsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus()
    cb7893c85ea8 net: use struct_group to copy ip/ipv6 header addresses
    9b8c0c88f414 tracing: Fix warning on variable 'struct trace_array'
    73cf0ff9a393 ring-buffer: Include dropped pages in counting dirty patches
    35c60b4e8ca7 perf: Improve missing SIGTRAP checking
    2ac6276864de serial: 8250_lpss: Use 16B DMA burst with Elkhart Lake
    b1a27b2aad93 nvme: ensure subsystem reset is single threaded
    bccece3c3331 nvme: restrict management ioctls to admin
    8cddb0d96b9c perf/x86/intel/pt: Fix sampling using single range output
    8e2f33c59837 misc/vmw_vmci: fix an infoleak in vmci_host_do_receive_datagram()
    9a72a46cb01d docs: update mediator contact information in CoC doc
    a99a547658e5 mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()
    4a1b6f7839d3 mmc: sdhci-pci-o2micro: fix card detect fail issue caused by CD# debounce timeout
    fd285d421563 mmc: core: properly select voltage range without power cycle
    8a9bae5f1b53 firmware: coreboot: Register bus in module init
    052d0e79efe5 iommu/vt-d: Set SRE bit only when hardware has SRS cap
    c31a792a825a iommu/vt-d: Preset Access bit for IOVA in FL non-leaf paging entries
    11edbdee4399 scsi: zfcp: Fix double free of FSF request when qdio send fails
    fdf87b5b3087 net: phy: marvell: add sleep time after enabling the loopback bit
    9648d760edf4 maccess: Fix writing offset in case of fault in strncpy_from_kernel_nofault()
    fdd57c20d440 Input: iforce - invert valid length check when fetching device IDs
    0cafb719bed5 serial: 8250_lpss: Configure DMA also w/o DMA filter
    59f6596697f1 serial: 8250: Flush DMA Rx on RLSI
    118b52c2ae08 serial: 8250: Fall back to non-DMA Rx if IIR_RDI occurs
    6ffce7a92ef5 dm ioctl: fix misbehavior if list_versions races with module loading
    2b104973f7fd iio: pressure: ms5611: changed hardcoded SPI speed to value limited
    1678d4abb2dc iio: adc: mp2629: fix potential array out of bound access
    bd22c232ead9 iio: adc: mp2629: fix wrong comparison of channel
    656f67061366 iio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init()
    1bf8c0aff8fb iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()
    afc0aea70261 usb: typec: mux: Enter safe mode only when pins need to be reconfigured
    8236628a549d usb: cdns3: host: fix endless superspeed hub port reset
    ead83b0db81f usb: chipidea: fix deadlock in ci_otg_del_timer
    cc9e6d8c55c9 usb: add NO_LPM quirk for Realforce 87U Keyboard
    70eca1d261b2 USB: serial: option: add Fibocom FM160 0x0111 composition
    1b6a54885c40 USB: serial: option: add u-blox LARA-L6 modem
    b0467d0059bc USB: serial: option: add u-blox LARA-R6 00B modem
    95688a8a5735 USB: serial: option: remove old LARA-R6 PID
    53dee78ea382 USB: serial: option: add Sierra Wireless EM9191
    e7764e88e6c4 USB: bcma: Make GPIO explicitly optional
    a190a83db284 speakup: fix a segfault caused by switching consoles
    b3c6edbee48e slimbus: stream: correct presence rate frequencies
    6b35ac831555 slimbus: qcom-ngd: Fix build error when CONFIG_SLIM_QCOM_NGD_CTRL=y && CONFIG_QCOM_RPROC_COMMON=m
    0f847462fea1 Revert "usb: dwc3: disable USB core PHY management"
    23ad214a8665 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
    a36b505749c6 ALSA: hda/realtek: fix speakers for Samsung Galaxy Book Pro
    02b94885b2fd ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()
    7176d6f3adb9 drm/amd/display: Add HUBP surface flip interrupt handler
    e57daa750369 tracing: kprobe: Fix potential null-ptr-deref on trace_array in kprobe_event_gen_test_exit()
    3a41c0f2a5c3 tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit()
    7291dec4f2d1 tracing: Fix race where eprobes can be called before the event
    6517b97134f7 tracing: Fix wild-memory-access in register_synth_event()
    07ba4f0603ab tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event()
    8b318f3032bf tracing/ring-buffer: Have polling block on watermark
    2c21ee020ce4 tracing: Fix memory leak in tracing_read_pipe()
    00f74b1a98a2 ring_buffer: Do not deactivate non-existant pages
    1bea037a1abb ftrace: Fix null pointer dereference in ftrace_add_mod()
    fadfcf39fbcd ftrace: Optimize the allocation for mcount entries
    5c5f2642898f ftrace: Fix the possible incorrect kernel message
    2ab249416244 cifs: add check for returning value of SMB2_set_info_init
    5783abda58d6 net: thunderbolt: Fix error handling in tbnet_init()
    80e590aeb132 net: microchip: sparx5: Fix potential null-ptr-deref in sparx_stats_init() and sparx5_start()
    4a55aec1425f cifs: Fix wrong return value checking when GETFLAGS
    c8baf1fc248b net/x25: Fix skb leak in x25_lapb_receive_frame()
    af4b57fa6bd0 net: ag71xx: call phylink_disconnect_phy if ag71xx_hw_enable() fail in ag71xx_open()
    61404a182eb5 cifs: add check for returning value of SMB2_close_init
    d3233f4bf3dd platform/surface: aggregator: Do not check for repeated unsequenced packets
    69691714035b platform/x86/intel: pmc: Don't unconditionally attach Intel PMC when virtualized
    7d93417d5964 drbd: use after free in drbd_create_device()
    fc16a2c81a3e bridge: switchdev: Fix memory leaks when changing VLAN protocol
    3d90a668c4bc net: hns3: fix setting incorrect phy link ksettings for firmware in resetting process
    3f7b2ef8fe92 net: ena: Fix error handling in ena_init()
    2540eea1bdc3 net: ionic: Fix error handling in ionic_init_module()
    c08c13cb13fa xen/pcpu: fix possible memory leak in register_pcpu()
    97009f07f217 net: dsa: make dsa_master_ioctl() see through port_hwtstamp_get() shims
    88da008e5e2f net: mhi: Fix memory leak in mhi_net_dellink()
    8f839715d032 bnxt_en: Remove debugfs when pci_register_driver failed
    b88713d92bd3 net: caif: fix double disconnect client in chnl_net_open()
    6d2403416089 net: macvlan: Use built-in RCU list checking
    596230471da3 mISDN: fix misuse of put_device() in mISDN_register_device()
    07a6a8cf1712 net: liquidio: release resources when liquidio driver open failed
    19feb6cf4136 soc: imx8m: Enable OCOTP clock before reading the register
    8c54d706d829 net: stmmac: ensure tx function is not running in stmmac_xdp_release()
    6219f46c2b9d net: hinic: Fix error handling in hinic_module_init()
    7a05e3929668 mISDN: fix possible memory leak in mISDN_dsp_element_register()
    0ee6455c9cfa net: bgmac: Drop free_netdev() from bgmac_enet_remove()
    7ff4fa179e4e bpf: Initialize same number of free nodes for each pcpu_freelist
    12f178cf05f3 MIPS: Loongson64: Add WARN_ON on kexec related kmalloc failed
    a4d6e024bea2 MIPS: fix duplicate definitions for exported symbols
    44142b652a28 nfp: change eeprom length to max length enumerators
    f23058dc2398 ata: libata-transport: fix error handling in ata_tdev_add()
    67b219314628 ata: libata-transport: fix error handling in ata_tlink_add()
    e7bb1b7a7bf2 ata: libata-transport: fix error handling in ata_tport_add()
    377ff82c33c0 ata: libata-transport: fix double ata_host_put() in ata_tport_add()
    494df0b0efe8 arm64: dts: imx8mn: Fix NAND controller size-cells
    7178d568f7cc arm64: dts: imx8mm: Fix NAND controller size-cells
    8ccf18c82a0a ARM: dts: imx7: Fix NAND controller size-cells
    e884a6c2d49a drm: Fix potential null-ptr-deref in drm_vblank_destroy_worker()
    07e56de8766f drm/drv: Fix potential memory leak in drm_dev_init()
    45c300613bee drm/panel: simple: set bpc field for logic technologies displays
    779f3f9e0cdc drm/vc4: kms: Fix IS_ERR() vs NULL check for vc4_kms
    97e5b508e961 pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map
    9a77b8557fdb parport_pc: Avoid FIFO port location truncation
    5d03c2911c52 siox: fix possible memory leak in siox_device_add()
    530e987a0226 arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro
    d4944497827a bpf: Fix memory leaks in __check_func_call
    25521fd2e217 block: sed-opal: kmalloc the cmd/resp buffers
    2f21d653c648 scsi: scsi_transport_sas: Fix error handling in sas_phy_add()
    7cd28bc410d2 pinctrl: rockchip: list all pins in a possible mux route for PX30
    ab79b8dbe21e ASoC: soc-utils: Remove __exit for snd_soc_util_exit()
    eaa8edd86514 bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()
    33cabe04d2c8 tty: n_gsm: fix sleep-in-atomic-context bug in gsm_control_send
    ae22294e213a serial: imx: Add missing .thaw_noirq hook
    26db1cd5191e serial: 8250: omap: Flush PM QOS work on remove
    e0db709a58bd serial: 8250: omap: Fix unpaired pm_runtime_put_sync() in omap8250_remove()
    83b6d4d6da67 serial: 8250_omap: remove wait loop from Errata i202 workaround
    76db05ab7092 serial: 8250: omap: Fix missing PM runtime calls for omap8250_set_mctrl()
    2aee616a6b11 ARM: at91: pm: avoid soft resetting AC DLL
    188546c78006 ASoC: tas2764: Fix set_tdm_slot in case of single slot
    5782896daf65 ASoC: tas2770: Fix set_tdm_slot in case of single slot
    34eee4189bce ASoC: core: Fix use-after-free in snd_soc_exit()
    aa6f8aecbbf2 ARM: dts: at91: sama7g5: fix signal name of pin PB2
    487fff700f5f spi: stm32: Print summary 'callbacks suppressed' message
    2cec2f65c1e7 arm64: dts: qcom: sm8350-hdk: Specify which LDO modes are allowed
    44dbe66bb3ea arm64: dts: qcom: sm8250-xperia-edo: Specify which LDO modes are allowed
    8b2eae7def2b arm64: dts: qcom: sm8150-xperia-kumano: Specify which LDO modes are allowed
    c8e76eeea77c arm64: dts: qcom: sa8155p-adp: Specify which LDO modes are allowed
    30571f28bb35 hugetlbfs: don't delete error page from pagecache
    14ddbb83c342 KVM: x86/pmu: Do not speculatively query Intel GP PMCs that don't exist yet
    a9b964ed7cf9 spi: intel: Use correct mask for flash and protected regions
    f4eb68642ed3 mtd: spi-nor: intel-spi: Disable write protection only if asked
    156d0c823c59 ASoC: codecs: jz4725b: Fix spelling mistake "Sourc" -> "Source", "Routee" -> "Route"
    5907ff9f2c8f x86/cpu: Add several Intel server CPU model numbers
    41e37d04e397 Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm
    b02a025dd188 btrfs: remove pointless and double ulist frees in error paths of qgroup tests
    1c366c206ff2 drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid
    1c8ded1b3879 i2c: i801: add lis3lv02d's I2C address for Vostro 5568
    b432581f19a0 i2c: tegra: Allocate DMA memory for DMA engine
    7b0ae4c7b918 firmware: arm_scmi: Cleanup the core driver removal callback
    1a8a2fef273d ACPI: x86: Add another system to quirk list for forcing StorageD3Enable
    8a03a4a5cf6d NFSv4: Retry LOCK on OLD_STATEID during delegation return
    49ca2227c47b btrfs: raid56: properly handle the error when unable to find the missing stripe
    0f7bd3a2dfe1 RDMA/efa: Add EFA 0xefa2 PCI ID
    a42d4363e78f ACPI: scan: Add LATT2021 to acpi_ignore_dep_ids[]
    004decd41b32 drm/amd/display: Remove wrong pipe control lock
    7779efbb99bf ASoC: rt1308-sdw: add the default value of some registers
    ef1e4ed85814 selftests/intel_pstate: fix build for ARCH=x86_64
    dfd3cc1ef3e2 selftests/futex: fix build for clang
    648467236c12 ASoC: Intel: sof_sdw: add quirk variant for LAPBC710 NUC15
    64ee750c29da ASoC: codecs: jz4725b: fix capture selector naming
    150b74cd0625 ASoC: codecs: jz4725b: use right control for Capture Volume
    5352d8b31572 ASoC: codecs: jz4725b: fix reported volume for Master ctl
    85134577a7f2 ASoC: codecs: jz4725b: add missed Line In power control bit
    5e61dffb16dc spi: intel: Fix the offset to get the 64K erase opcode
    c697cb2e6663 ASoC: wm8962: Add an event handler for TEMP_HP and TEMP_SPK
    569085124d75 ASoC: rt1019: Fix the TDM settings
    4160a515c75b ASoC: mt6660: Keep the pm_runtime enables before component stuff in mt6660_i2c_probe
    2963ec4535a1 ASoC: wm8997: Revert "ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe"
    30a2f9479c21 ASoC: wm5110: Revert "ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe"
    3bf6da38a292 ASoC: wm5102: Revert "ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe"
    94fa250ea55c mm: shmem: don't truncate page if memory failure happens
    003fa195911d mm: hwpoison: handle non-anonymous THP correctly
    a62b1bc603a1 mm: hwpoison: refactor refcount check handling
    3df0eeae4d9a Linux 5.15.79
    599b24eedf2a x86/cpu: Restore AMD's DE_CFG MSR after resume
    9132fa043f96 net: tun: call napi_schedule_prep() to ensure we own a napi
    1dea25e25acd drm/amdkfd: Migrate in CPU page fault use current mm
    a1c303fbd4dd marvell: octeontx2: build error: unknown type name 'u64'
    d948b228343a dmaengine: at_hdmac: Check return code of dma_async_device_register
    c556ecf32a07 dmaengine: at_hdmac: Fix impossible condition
    8a941ff34e53 dmaengine: at_hdmac: Don't allow CPU to reorder channel enable
    53831f7a13c3 dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors
    14f5462e4a00 dmaengine: at_hdmac: Fix descriptor handling when issuing it to hardware
    5482403228be dmaengine: at_hdmac: Fix concurrency over the active list
    82ca19414faa dmaengine: at_hdmac: Free the memset buf without holding the chan lock
    8fd36e069d65 dmaengine: at_hdmac: Fix concurrency over descriptor
    1ee012d452b1 dmaengine: at_hdmac: Fix concurrency problems by removing atc_complete_all()
    90c1b07406f0 dmaengine: at_hdmac: Protect atchan->status with the channel lock
    b5ee1fe06ad7 dmaengine: at_hdmac: Do not call the complete callback on device_terminate_all
    9bbf5df0fc8c dmaengine: at_hdmac: Fix premature completion of desc in issue_pending
    f7d1aaa90319 dmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending
    e9777b4efcce dmaengine: at_hdmac: Don't start transactions at tx_submit level
    4e28674a0ecd dmaengine: at_hdmac: Fix at_lli struct definition
    49eba53137f5 cert host tools: Stop complaining about deprecated OpenSSL functions
    69e86c6268d5 can: j1939: j1939_send_one(): fix missing CAN header initialization
    81fc8f90b885 mm/shmem: use page_mapping() to detect page cache for uffd continue
    e91451af11f9 mm/memremap.c: map FS_DAX device memory as decrypted
    48998c1773a4 mm/damon/dbgfs: check if rm_contexts input is for a real context
    c736ed854160 udf: Fix a slab-out-of-bounds write bug in udf_find_entry()
    2e87eddf5736 mms: sdhci-esdhc-imx: Fix SDHCI_RESET_ALL for CQHCI
    91c38504e589 btrfs: zoned: initialize device's zone info for seeding
    432c30ba3f56 btrfs: selftests: fix wrong error check in btrfs_free_dummy_root()
    c9fe4719c662 btrfs: fix match incorrectly in dev_args_match_device
    f96fd3693631 wifi: ath11k: avoid deadlock during regulatory update in ath11k_regd_update()
    8e2b576caf91 platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi
    cb3ab0e1e074 drm/amdgpu: disable BACO on special BEIGE_GOBY card
    dc066a78500a drm/i915/dmabuf: fix sg_table handling in map_dma_buf
    afbd1188382a nilfs2: fix use-after-free bug of ns_writer on remount
    abc082aac0d9 nilfs2: fix deadlock in nilfs_count_free_blocks()
    589da2288197 ata: libata-scsi: fix SYNCHRONIZE CACHE (16) command failure
    51ae4579a5d5 vmlinux.lds.h: Fix placement of '.data..decrypted' section
    1f8e08ab3269 ALSA: usb-audio: Add DSD support for Accuphase DAC-60
    c2451f62b2bd ALSA: usb-audio: Add quirk entry for M-Audio Micro
    031d1480a0f4 ALSA: usb-audio: Yet more regression for for the delayed card registration
    574f51e4aa40 ALSA: hda/realtek: Add Positivo C6300 model quirk
    7140d7aaf93d ALSA: hda: fix potential memleak in 'add_widget_node'
    f6d7a487aabd ALSA: hda/ca0132: add quirk for EVGA Z390 DARK
    1ccd55b3901b ALSA: hda/hdmi - enable runtime pm for more AMD display audio
    29100c674208 mmc: sdhci-esdhc-imx: use the correct host caps for MMC_CAP_8_BIT_DATA
    3dce99e2eb06 mmc: sdhci-tegra: Fix SDHCI_RESET_ALL for CQHCI
    9d6bd33e6aeb mmc: sdhci_am654: Fix SDHCI_RESET_ALL for CQHCI
    ad01f16ca90c mmc: sdhci-of-arasan: Fix SDHCI_RESET_ALL for CQHCI
    1aa78c1d013c mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI
    c198524a99cb MIPS: jump_label: Fix compat branch range check
    9713ceffa40a arm64: efi: Fix handling of misaligned runtime regions and drop warning
    518e49f0590d riscv: fix reserved memory setup
    d07c3d7491b4 riscv: vdso: fix build with llvm
    cc36c7fa5d93 riscv: process: fix kernel info leakage
    a8d67367ab33 net: macvlan: fix memory leaks of macvlan_common_newlink
    7b194dd32b13 ethernet: tundra: free irq when alloc ring failed in tsi108_open()
    7de10342fe14 net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open()
    88e1dd2d9291 ethernet: s2io: disable napi when start nic failed in s2io_card_up()
    3652f1f8d3ea net: atlantic: macsec: clear encryption keys from the stack
    fca3b0a1fd3e net: phy: mscc: macsec: clear encryption keys when freeing a flow
    60a0af8813fd stmmac: dwmac-loongson: fix missing of_node_put() while module exiting
    ee4a9bd2c7f4 stmmac: dwmac-loongson: fix missing pci_disable_device() in loongson_dwmac_probe()
    4a8770eebc39 stmmac: dwmac-loongson: fix missing pci_disable_msi() while module exiting
    83196d8dc5a8 cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open()
    49d8a6e24a34 mctp: Fix an error handling path in mctp_init()
    29961d2332a5 stmmac: intel: Update PCH PTP clock rate from 200MHz to 204.8MHz
    8604bebc5c32 stmmac: intel: Enable 2.5Gbps for Intel AlderLake-S
    7dec6dae2b61 net: cxgb3_main: disable napi when bind qsets failed in cxgb_up()
    960f9d30def3 net: cpsw: disable napi in cpsw_ndo_open()
    1360778fdb6f net/mlx5e: E-Switch, Fix comparing termination table instance
    f13e9ebd2925 net/mlx5: Allow async trigger completion execution on single CPU systems
    48b73b46a5b0 net/mlx5: Bridge, verify LAG state when adding bond to bridge
    13b1ea861e8a net: wwan: iosm: fix memory leak in ipc_pcie_read_bios_cfg
    7e4dcacb4dd6 net: nixge: disable napi when enable interrupts failed in nixge_open()
    409731df6310 net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
    77ff31cba9a6 netfilter: Cleanup nft_net->module_list from nf_tables_exit_net()
    e62cb1c093d6 netfilter: nfnetlink: fix potential dead lock in nfnetlink_rcv_msg()
    0bd20318da08 perf tools: Add the include/perf/ directory to .gitignore
    a733671e388c perf stat: Fix printing os->prefix in CSV metrics output
    c36e9e2c4aff drivers: net: xgene: disable napi when register irq failed in xgene_enet_open()
    4689bd3a1b23 net: lapbether: fix issue of invalid opcode in lapbeth_open()
    1dd27541aa2b dmaengine: ti: k3-udma-glue: fix memory leak when register device fail
    992e966caf57 dmaengine: mv_xor_v2: Fix a resource leak in mv_xor_v2_remove()
    9766af75ba5a dmaengine: pxa_dma: use platform_get_irq_optional
    301caa06091a tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_header
    6a264203dbdb net: broadcom: Fix BCMGENET Kconfig
    e7871b9a21ae net: stmmac: dwmac-meson8b: fix meson8b_devm_clk_prepare_enable()
    261178a1c262 can: af_can: fix NULL pointer dereference in can_rx_register()
    2acb2779b147 ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network
    13ecaa6832fb tcp: prohibit TCP_REPAIR_OPTIONS if data was already sent
    bc79cb9fb006 drm/vc4: Fix missing platform_unregister_drivers() call in vc4_drm_register()
    2845bc9070ce net: wwan: mhi: fix memory leak in mhi_mbim_dellink
    2ce2348c2858 net: wwan: iosm: fix memory leak in ipc_wwan_dellink
    7b6bc50f65e9 hamradio: fix issue of dev reference count leakage in bpq_device_event()
    f59adebb8c28 net: lapbether: fix issue of dev reference count leakage in lapbeth_device_event()
    119407dc329a KVM: s390: pv: don't allow userspace to set the clock under PV
    500bcd3a99ea phy: ralink: mt7621-pci: add sentinel to quirks table
    151dc8087b56 capabilities: fix undefined behavior in bit shift for CAP_TO_MASK
    435c7ddfd510 net: fman: Unregister ethernet device on removal
    3a504d6d96ea bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer
    ac257c43fa61 bnxt_en: Fix possible crash in bnxt_hwrm_set_coal()
    d7569302a7a5 net: tun: Fix memory leaks of napi_get_frags
    430d1f4964dd octeontx2-pf: NIX TX overwrites SQ_CTX_HW_S[SQ_INT]
    ec0db81883b4 octeontx2-pf: Use hardware register for CQE count
    b89a0d8859ae macsec: clear encryption keys from the stack after setting up offload
    eeba7f07a0cb macsec: fix detection of RXSCs when toggling offloading
    3070a880eb03 macsec: fix secy->n_rx_sc accounting
    e957555a3694 macsec: delete new rxsc when offload fails
    ad25a115f508 net: gso: fix panic on frag_list with mixed head alloc types
    466ce46f251d bpf: Fix wrong reg type conversion in release_reference()
    35d8130f2ad0 bpf: Add helper macro bpf_for_each_reg_in_vstate
    61274498fbf8 bpf, sock_map: Move cancel_work_sync() out of sock lock
    32b5dd03beeb bpf: Fix sockmap calling sleepable function in teardown path
    e9915581899c bpf, sockmap: Fix sk->sk_forward_alloc warn_on in sk_stream_kill_queues
    5ad95d71344b HID: hyperv: fix possible memory leak in mousevsc_probe()
    6dcdd1b68b7f bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE
    2fc902245c82 wifi: mac80211: Set TWT Information Frame Disabled bit as 1
    95adbd2ac8de bpf, sockmap: Fix the sk->sk_forward_alloc warning of sk_stream_kill_queues
    06615967d488 bpf, verifier: Fix memory leak in array reallocation for stack state
    4335a82c4f7b soundwire: qcom: check for outanding writes before doing a read
    ae4dad2e5374 soundwire: qcom: reinit broadcast completion
    38c9fa2cc6bf wifi: cfg80211: fix memory leak in query_regdb_file()
    2c6ba0a7872b wifi: cfg80211: silence a sparse RCU warning
    921738c280ab phy: stm32: fix an error code in probe
    fa722006f762 hwspinlock: qcom: correct MMIO max register for newer SoCs
    3c1bb6187e56 drm/amdkfd: Fix NULL pointer dereference in svm_migrate_to_ram()
    b1f852277171 drm/amdkfd: handle CPU fault on COW mapping
    36770c045aba drm/amdkfd: avoid recursive lock in migrations back to RAM
    93a5de7e8843 fuse: fix readdir cache race
    1920cf94545a thunderbolt: Add DP OUT resource when DP tunnel is discovered
    47dbf2496990 thunderbolt: Tear down existing tunnels when resuming from hibernate

(From meta-yocto rev: b4c77418a7ed86ac7b3d4ab76f4b4c02a22b09d6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:44 +00:00
Bruce Ashfield
49ce0e1d88 yocto-bsps/5.15: update to v5.15.78
Bumping the reference BSPs to the latest 5.15 in linux-yocto, which
picks up the following commits:

    509a32764e1a Linux 5.15.78
    7038af4ce951 wifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker()
    b66617cc3c2f drm/i915/sdvo: Setup DDC fully before output init
    73d52322c4af drm/i915/sdvo: Filter out invalid outputs more sensibly
    2219b6aad345 drm/rockchip: dsi: Force synchronous probe
    dd955eb4e616 drm/rockchip: dsi: Clean up 'usage_mode' when failing to attach
    cfa8a89af9f2 cifs: fix regression in very old smb1 mounts
    3189de0ac310 ext4,f2fs: fix readahead of verity data
    a663e6ab17a2 tee: Fix tee_shm_register() for kernel TEE drivers
    d46db722a0af KVM: x86: emulator: update the emulation mode after CR0 write
    942aec252b23 KVM: x86: emulator: update the emulation mode after rsm
    9df4bb7b3863 KVM: x86: emulator: introduce emulator_recalc_and_set_mode
    311f1e51a290 KVM: x86: emulator: em_sysexit should update ctxt->mode
    37a03de2d0c5 KVM: arm64: Fix bad dereference on MTE-enabled systems
    167dca5e210b KVM: VMX: fully disable SGX if SECONDARY_EXEC_ENCLS_EXITING unavailable
    19c2b2ffbeec KVM: x86: Mask off reserved bits in CPUID.8000001FH
    553fd40d3bf7 KVM: x86: Mask off reserved bits in CPUID.80000001H
    006366b96c16 KVM: x86: Mask off reserved bits in CPUID.80000008H
    fc796fd861fa KVM: x86: Mask off reserved bits in CPUID.8000001AH
    ef7716398a78 KVM: x86: Mask off reserved bits in CPUID.80000006H
    a88998446b6d x86/syscall: Include asm/ptrace.h in syscall_wrapper header
    999cff2b6ce3 ext4: fix BUG_ON() when directory entry has invalid rec_len
    0a43c015e981 ext4: fix warning in 'ext4_da_release_space'
    ada82803a773 parisc: Avoid printing the hardware path twice
    081ff43a7786 parisc: Export iosapic_serial_irq() symbol for serial port driver
    5daf985dd0f3 parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
    425fe99771bf perf/x86/intel: Fix pebs event constraints for SPR
    4613a450172e perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]
    7de3fe6a1354 perf/x86/intel: Fix pebs event constraints for ICL
    71d6c33fe223 arm64: entry: avoid kprobe recursion
    52be536155f5 efi: random: Use 'ACPI reclaim' memory for random seed
    83b5ec7ee82d efi: random: reduce seed size to 32 bytes
    0417f70b8588 fuse: add file_modified() to fallocate
    2de8eec8afb7 capabilities: fix potential memleak on error path from vfs_getxattr_alloc()
    bd07f8067b35 tracing/histogram: Update document for KEYS_MAX size
    27b4406f9c35 tools/nolibc/string: Fix memcmp() implementation
    b5074df412bf ring-buffer: Check for NULL cpu_buffer in ring_buffer_wake_waiters()
    85f3caa95579 kprobe: reverse kp->flags when arm_kprobe failed
    d1b6a8e3414a tracing: kprobe: Fix memory leak in test_gen_kprobe/kretprobe_cmd()
    828577e0baaf tcp/udp: Make early_demux back namespacified.
    88561a66777e ftrace: Fix use-after-free for dynamic ftrace_ops
    450d7480705e btrfs: fix type of parameter generation in btrfs_get_dentry
    007058eb8292 btrfs: fix tree mod log mishandling of reallocated nodes
    336fdd295c14 btrfs: fix lost file sync on direct IO write with nowait and dsync iocb
    cff805b1518f fscrypt: fix keyring memory leak on mount failure
    e6f4fd85ef1e fscrypt: stop using keyrings subsystem for fscrypt_master_key
    3975affcf55f af_unix: Fix memory leaks of the whole sk due to OOB skb.
    4302806dbfea block, bfq: protect 'bfqd->queued' by 'bfqd->lock'
    3e4697ffdfbb Bluetooth: L2CAP: Fix attempting to access uninitialized memory
    81035e1201e2 Bluetooth: L2CAP: Fix accepting connection request for invalid SPSM
    d78ccdce662e i2c: piix4: Fix adapter not be removed in piix4_remove()
    c76ff8ae113f arm64: dts: juno: Add thermal critical trip points
    7398435e616d firmware: arm_scmi: Fix devres allocation device in virtio transport
    3653cdc21b9e firmware: arm_scmi: Make Rx chan_setup fail on memory errors
    e514d67b2364 firmware: arm_scmi: Suppress the driver's bind attributes
    4e68c5da60cd block: Fix possible memory leak for rq_wb on add_disk failure
    bf822b6980a6 arm64: dts: ls208xa: specify clock frequencies for the MDIO controllers
    f2329886e567 arm64: dts: ls1088a: specify clock frequencies for the MDIO controllers
    33fcc55dbc5b arm64: dts: lx2160a: specify clock frequencies for the MDIO controllers
    f3429a1e4924 arm64: dts: imx8: correct clock order
    de2a83186ad3 ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset
    cb9ce8910a6f clk: qcom: Update the force mem core bit for GPU clocks
    bdc118249698 efi/tpm: Pass correct address to memblock_reserve
    3a4d6f165eac i2c: xiic: Add platform module alias
    62eea4014a9b drm/amdgpu: set vm_update_mode=0 as default for Sienna Cichlid in SRIOV case
    7a2547cac2e0 HID: saitek: add madcatz variant of MMO7 mouse device ID
    931c97a54cd1 scsi: core: Restrict legal sdev_state transitions via sysfs
    c50ec15725e0 ACPI: APEI: Fix integer overflow in ghes_estatus_pool_init()
    8ecd1db58b7a media: v4l: subdev: Fail graciously when getting try data for NULL state
    f96ad391d054 media: meson: vdec: fix possible refcount leak in vdec_probe()
    8b785cdcd3cb media: dvb-frontends/drxk: initialize err to 0
    73dfb6421338 media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE
    cbfa26936f31 media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE
    647c12c47ee0 media: rkisp1: Zero v4l2_subdev_format fields in when validating links
    abbeb8f7271b media: rkisp1: Use correct macro for gradient registers
    03b30e5a369d media: rkisp1: Initialize color space on resizer sink and source pads
    d58b6b665c88 media: rkisp1: Don't pass the quantization to rkisp1_csm_config()
    0e501fd0f38e s390/cio: fix out-of-bounds access on cio_ignore free
    c65cc569370c s390/cio: derive cdev information only for IO-subchannels
    c64be93f1e51 s390/boot: add secure boot trailer
    1cdaca8f00a7 s390/uaccess: add missing EX_TABLE entries to __clear_user()
    509cbbdec9d7 mtd: parsers: bcm47xxpart: Fix halfblock reads
    5b8797e9dbf7 mtd: parsers: bcm47xxpart: print correct offset on read error
    2f07635876bd fbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cards
    154934c74f97 video/fbdev/stifb: Implement the stifb_fillrect() function
    b524b41806e9 drm/msm/hdmi: fix IRQ lifetime
    c55dd6200131 drm/msm/hdmi: Remove spurious IRQF_ONESHOT flag
    d153d468c43d vsock: fix possible infinite sleep in vsock_connectible_wait_data()
    0ed71af4d017 ipv6: fix WARNING in ip6_route_net_exit_late()
    2b45d6d0c41c net, neigh: Fix null-ptr-deref in neigh_table_clear()
    61defd6450a9 net/smc: Fix possible leaked pernet namespace in smc_init()
    de889774273f stmmac: dwmac-loongson: fix invalid mdio_node
    535b78739ae7 ibmvnic: Free rwi on reset success
    985a88bf0b27 net: mdio: fix undefined behavior in bit shift for __mdiobus_register
    aa16cac06b75 Bluetooth: L2CAP: Fix memory leak in vhci_write
    a3a7b2ac64de Bluetooth: L2CAP: fix use-after-free in l2cap_conn_del()
    cf2719a21fdb Bluetooth: virtio_bt: Use skb_put to set length
    8278a87bb1ee Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu
    42d20d5e2457 netfilter: ipset: enforce documented limit to prevent allocating huge memory
    f46ea5fa3320 btrfs: fix ulist leaks in error paths of qgroup self tests
    222a3d533027 btrfs: fix inode list leak during backref walking at find_parent_nodes()
    6ba3479f9e96 btrfs: fix inode list leak during backref walking at resolve_indirect_refs()
    a80634f392af isdn: mISDN: netjet: fix wrong check of device registration
    029d5b7688a2 mISDN: fix possible memory leak in mISDN_register_device()
    3e2129c67dac rose: Fix NULL pointer dereference in rose_send_frame()
    06d7596d1872 ipvs: fix WARNING in ip_vs_app_net_cleanup()
    5ee2d6b726b0 ipvs: fix WARNING in __ip_vs_cleanup_batch()
    33e7783bc07e ipvs: use explicitly signed chars
    6044791b7be7 netfilter: nf_tables: release flow rule object from commit path
    1ffe7100411a netfilter: nf_tables: netlink notifier might race to release objects
    dcc79cf735b8 net: tun: fix bugs for oversize packet when napi frags enabled
    fc4b50adb400 net: sched: Fix use after free in red_enqueue()
    ab80025ea7ac ata: pata_legacy: fix pdc20230_set_piomode()
    dede9ba02705 net: fec: fix improper use of NETDEV_TX_BUSY
    5dfdac5e3f8d nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
    7486f5c90078 nfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send()
    3cba1f061bfe nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
    44bc1868a4f5 nfc: fdp: Fix potential memory leak in fdp_nci_send()
    4bef9a89f2f5 net: dsa: fall back to default tagger if we can't load the one from DT
    06f9e0b37f7e RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()
    6b3d5dcb1234 RDMA/core: Fix null-ptr-deref in ib_core_cleanup()
    9f555b1584fc net: dsa: Fix possible memory leaks in dsa_loop_init()
    24641993a7dc nfs4: Fix kmemleak when allocate slot failed
    0797c85433cc NFSv4.2: Fixup CLONE dest file size for zero-length count
    d59722d088a9 SUNRPC: Fix null-ptr-deref when xps sysfs alloc failed
    dea7ef05deea NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot
    7b1c2458dec1 NFSv4.1: Handle RECLAIM_COMPLETE trunking errors
    4ec017e30089 NFSv4: Fix a potential state reclaim deadlock
    e3e53c5af563 RDMA/hns: Disable local invalidate operation
    85ab79ac9413 RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx()
    be16cc7abdae RDMA/hns: Remove magic number
    ba95409d6b58 IB/hfi1: Correctly move list in sc_disable()
    484d9690370e RDMA/cma: Use output interface for net_dev check
    f7d9de8a0d33 KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTER
    b7b66f13ac09 KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()
    0c60fa7f5518 KVM: x86: Protect the unused bits in MSR exiting flags
    ad8e4868dd16 HID: playstation: add initial DualSense Edge controller support
    3a44ae4afaa5 mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page
    8576d7edeaa5 drm/amd/display: explicitly disable psr_feature_enable appropriately
    058b3a11f748 KVM: x86: Treat #DBs from the emulator as fault-like (code and DR7.GD=1)
    9ee32892c767 KVM: x86: Trace re-injected exceptions
    0c9c1306d6bd serial: ar933x: Deassert Transmit Enable on ->rs485_config()
    21d65b351691 scsi: lpfc: Rework MIB Rx Monitor debug info logic
    d70705e131d6 scsi: lpfc: Adjust CMF total bytes and rxmonitor
    9ebc6e8ad13b scsi: lpfc: Adjust bytes received vales during cmf timer interval
    793d8378b74a Linux 5.15.77
    1401e9336beb tcp/udp: Fix memory leak in ipv6_renew_options().
    b079d3775237 serial: Deassert Transmit Enable on probe in driver-specific way
    63f75fea3a72 serial: core: move RS485 configuration tasks from drivers into core
    0753069d4431 can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO receive
    17ff99e2240c can: rcar_canfd: fix channel specific IRQ handling for RZ/G2L
    aad798a0b39c scsi: sd: Revert "scsi: sd: Remove a local variable"
    52c2329147cf arm64: Add AMPERE1 to the Spectre-BHB affected list
    5397ea6a08a5 net: enetc: survive memory pressure without crashing
    885a454e97c4 kcm: do not sense pfmemalloc status in kcm_sendpage()
    92b4c5c3fa81 net: do not sense pfmemalloc status in skb_append_pagefrags()
    ae1b08592edf net/mlx5: Fix crash during sync firmware reset
    37ada47d019b net/mlx5: Update fw fatal reporter state on PCI handlers successful recover
    9e6523d06a09 net/mlx5: Print more info on pci error handlers
    ab3de780c176 net/mlx5: Fix possible use-after-free in async command interface
    8bbff203e306 net/mlx5e: Extend SKB room check to include PTP-SQ
    ee1c0ca1af7c net/mlx5e: Do not increment ESN when updating IPsec ESN state
    eefa97a7a001 netdevsim: remove dir in nsim_dev_debugfs_init() when creating ports dir failed
    c9589e18a60c net: broadcom: bcm4908_enet: update TX stats after actual transmission
    9711616a4908 net: broadcom: bcm4908enet: remove redundant variable bytes
    b317d53680b1 nh: fix scope used to find saddr when adding non gw nh
    2ad284ac8866 net: bcmsysport: Indicate MAC is in charge of PHY PM
    d1cfa71d5b68 net: ehea: fix possible memory leak in ehea_register_port()
    588bdd7ee48f openvswitch: switch from WARN to pr_warn
    9a1c1df9255b ALSA: aoa: Fix I2S device accounting
    e81d7826b8f4 ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()
    77a754fcfec1 net: ethernet: ave: Fix MAC to be in charge of PHY PM
    bc2518ec710e net: fec: limit register access on i.MX6UL
    f710deeea73a perf vendor events arm64: Fix incorrect Hisi hip08 L3 metrics
    eb59cb2fabd4 PM: domains: Fix handling of unavailable/disabled idle states
    bde7c2acef30 net: ksz884x: fix missing pci_disable_device() on error in pcidev_init()
    8927d90d56e4 i40e: Fix flow-type by setting GL_HASH_INSET registers
    c39de3ae5075 i40e: Fix VF hang when reset is triggered on another VF
    250bf8ab78f7 i40e: Fix ethtool rx-flow-hash setting for X722
    ad3f1d9bf162 ipv6: ensure sane device mtu in tunnels
    e2ec5bb78ca8 perf vendor events power10: Fix hv-24x7 metric events
    f9df388ed6ea media: vivid: set num_in/outputs to 0 if not supported
    4cc7d8d42047 media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'
    491c0959f01d media: v4l2-dv-timings: add sanity checks for blanking values
    0f83edbe4fe9 media: vivid: dev->bitmap_cap wasn't freed in all cases
    5b1fb2a28d0a media: vivid: s_fbuf: add more sanity checks
    3436e5633776 PM: hibernate: Allow hybrid sleep to work with s2idle
    3cc8c4088fae can: mcp251x: mcp251x_can_probe(): add missing unregister_candev() in error path
    a3e09eff32d8 can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path
    304a10161696 drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()
    2fe6b24ce299 net-memcg: avoid stalls when under memory pressure
    9b171fdcbf0e tcp: fix indefinite deferral of RTO with SACK reneging
    a85d39f14aa8 tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
    2437f3c5c6a6 tcp: minor optimization in tcp_add_backlog()
    ef27df75912d net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY
    a1e18acb0246 net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failed
    62086d1c4602 kcm: annotate data-races around kcm->rx_wait
    342d918cf9a4 kcm: annotate data-races around kcm->rx_psock
    6bb23225bb70 atlantic: fix deadlock at aq_nic_stop
    4e2cbc1f0e18 drm/i915/dp: Reset frl trained flag before restarting FRL training
    3d92ab0865f1 amd-xgbe: add the bit rate quirk for Molex cables
    75a6d1ebf8b7 amd-xgbe: fix the SFP compliance codes check for DAC cables
    98bada8fa0e3 x86/unwind/orc: Fix unreliable stack dump with gcov
    88e879c9f595 nfc: virtual_ncidev: Fix memory leak in virtual_nci_send()
    18c60b383df3 net: macb: Specify PHY PM management done by MAC
    95c22fc1e80e net: hinic: fix the issue of double release MBOX callback of VF
    6016d96a6adf net: hinic: fix the issue of CMDQ memory leaks
    e6765fe8de37 net: hinic: fix memory leak when reading function table
    62aa78a0c3e5 net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()
    1e0bee973ef6 net: netsec: fix error handling in netsec_register_mdio()
    7a939503fc32 tipc: fix a null-ptr-deref in tipc_topsrv_accept
    c638b520ba4b perf/x86/intel/lbr: Use setup_clear_cpu_cap() instead of clear_cpu_cap()
    4fdf6f978c6b ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()
    b68873690373 ASoC: qcom: lpass-cpu: Mark HDMI TX parity register as volatile
    eca851572df5 mtd: rawnand: intel: Add missing of_node_put() in ebu_nand_probe()
    08c246c7dfef arc: iounmap() arg is volatile
    739eac37ff9c sched/core: Fix comparison in sched_group_cookie_match()
    ca7b0a10287e perf: Fix missing SIGTRAPs
    eb77474a2a21 ASoC: qcom: lpass-cpu: mark HDMI TX registers as volatile
    9b6841ab7096 KVM: selftests: Fix number of pages for memory slot in memslot_modification_stress_test
    59de8738ed43 drm/msm: Fix return type of mdp4_lvds_connector_mode_valid
    a560aeac2f2d media: atomisp: prevent integer overflow in sh_css_set_black_frame()
    32f93e460861 media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation
    5a93a8288c57 net: ieee802154: fix error return code in dgram_bind()
    138a13d8f5c8 ethtool: eeprom: fix null-deref on genl_info in dump
    1c2b1d3bba2e mmc: block: Remove error check of hw_reset on reset
    0b0d169723f4 Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq"
    7a0fce24de60 Revert "scsi: lpfc: SLI path split: Refactor fast and slow paths to native SLI4"
    7a36c9de4324 Revert "scsi: lpfc: SLI path split: Refactor SCSI paths"
    eb8be2dbfbb4 Revert "scsi: lpfc: Fix locking for lpfc_sli_iocbq_lookup()"
    065bf71a8a53 Revert "scsi: lpfc: Fix element offset in __lpfc_sli_release_iocbq_s4()"
    97dc9076ea5e Revert "scsi: lpfc: Resolve some cleanup issues following SLI path refactoring"
    b32b766be44e s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()
    1ad7213fcf49 s390/futex: add missing EX_TABLE entry to __futex_atomic_op()
    ae9398e837b9 perf auxtrace: Fix address filter symbol name match for modules
    14009ada5712 ARC: mm: fix leakage of memory allocated for PTE
    eb9ed3343ca7 pinctrl: Ingenic: JZ4755 bug fixes
    94d2643df1e7 kernfs: fix use-after-free in __kernfs_remove
    f1204dfc4cd7 counter: microchip-tcb-capture: Handle Signal1 read and Synapse
    6fb0106c64ee mmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus
    73e3901e7029 mmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lake
    1e8cd93ae536 mmc: core: Fix kernel panic when remove non-standard SDIO card
    02e51e7cd1d3 mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIO
    4c365a0c21aa coresight: cti: Fix hang in cti_disable_hw()
    b32775e03969 drm/msm/dp: fix IRQ lifetime
    b48949ab451e drm/msm/hdmi: fix memory corruption with too many bridges
    9f035d1fb306 drm/msm/dsi: fix memory corruption with too many bridges
    986a89b3717e drm/amdgpu: disallow gfxoff until GC IP blocks complete s2idle resume
    a2f0934e6bdb scsi: qla2xxx: Use transport-defined speed mask for supported_speeds
    2b1a3172ee4d mac802154: Fix LQI recording
    46b4b1e11e52 exec: Copy oldsighand->action under spin-lock
    265b6fb780f5 fs/binfmt_elf: Fix memory leak in load_elf_binary()
    24030742a7b8 cpufreq: intel_pstate: hybrid: Use known scaling factor for P-cores
    3423a3417f4f cpufreq: intel_pstate: Read all MSRs on the target CPU
    cc6a7249842f fbdev: smscufx: Fix several use-after-free bugs
    1a8b22e3f394 iio: adxl372: Fix unsafe buffer attributes
    2f08cad21366 iio: temperature: ltc2983: allocate iio channels once
    1bfe97f49785 iio: light: tsl2583: Fix module unloading
    569709540e12 tools: iio: iio_utils: fix digit calculation
    c892a81c7424 xhci: Remove device endpoints from bandwidth list when freeing the device
    dfacb5c7f0a9 xhci-pci: Set runtime PM as default policy on all xHC 1.2 or later devices
    64058af657ba xhci: Add quirk to reset host back to default state at shutdown
    022f21e850e9 mtd: rawnand: marvell: Use correct logic for nand-keep-config
    f90897c0f634 usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller
    a0c54d5152d5 usb: bdc: change state when port disconnected
    e0fd70ab4815 usb: dwc3: gadget: Don't set IMI for no_interrupt
    ad538aea64dd usb: dwc3: gadget: Stop processing more requests on IMI
    f2f53be61714 usb: gadget: uvc: fix sg handling during video encode
    80ff4ef77737 usb: gadget: uvc: fix sg handling in error case
    555011f6b27b USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM
    311428871ba1 ALSA: rme9652: use explicitly signed char
    fa8b39c7ed82 ALSA: au88x0: use explicitly signed char
    8af82d330d5d ALSA: usb-audio: Add quirks for M-Audio Fast Track C400/600
    259cb4dee1bb ALSA: Use del_timer_sync() before freeing timer
    33ddee2b95ab can: kvaser_usb: Fix possible completions during init_completion
    86da269c7567 can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()
    ead049562758 NFSv4: Add an fattr allocation to _nfs4_discover_trunking()
    eb1fe9600b86 NFSv4: Fix free of uninitialized nfs4_label on referral lookup.
    4f5365f77018 Linux 5.15.76
    33fc9e26b7cb mm: /proc/pid/smaps_rollup: fix no vma's null-deref
    b9d8cbe90a0f mmc: core: Add SD card quirk for broken discard
    0ee2f0567a56 Makefile.debug: re-enable debug info for .S files
    117825e9bbb1 x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB
    0983205085fa ACPI: video: Force backlight native for more TongFang devices
    289b56715ba6 perf: Skip and warn on unknown format 'configN' attrs
    9d912a385368 mmc: sdhci-tegra: Use actual clock rate for SW tuning correction
    7aeda81191fd tracing: Do not free snapshot if tracer is on cmdline
    57252e7bd491 tracing: Simplify conditional compilation code in tracing_set_tracer()
    20bc6d23f7f6 ksmbd: fix incorrect handling of iterate_dir
    3c8cfcaa2d9a ksmbd: handle smb2 query dir request for OutputBufferLength that is too small
    8754fa5dbc6e arm64: mte: move register initialization to C
    ea7be82fd7e1 fs: dlm: fix invalid derefence of sb_lvbptr
    0365d6af75f9 iommu/vt-d: Clean up si_domain in the init_dmars() error path
    5c95d0c9d0eb iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()
    209740fd132e net: phy: dp83822: disable MDI crossover status change interrupt
    ce1234573d18 net: sched: fix race condition in qdisc_graft()
    91f8f5342bee net: hns: fix possible memory leak in hnae_ae_register()
    50c31fa95230 wwan_hwsim: fix possible memory leak in wwan_hwsim_dev_new()
    d2fc83a6b55e sfc: include vport_id in filter spec hash and equal()
    c2e1e59d59fa net: sched: sfb: fix null pointer access issue when sfb_init() fails
    34f2a4eedc8e net: sched: delete duplicate cleanup of backlog and qlen
    154f4c06d9db net: sched: cake: fix null pointer access issue when cake_init() fails
    5efed7578dd4 nvmet: fix workqueue MEM_RECLAIM flushing dependency
    2f2b84b02088 nvme-hwmon: kmalloc the NVME SMART log buffer
    66c56b232839 nvme-hwmon: consistently ignore errors from nvme_hwmon_init
    d77f6908f9ce netfilter: nf_tables: relax NFTA_SET_ELEM_KEY_END set flags requirements
    efa9dd7e679e ionic: catch NULL pointer issue on reconfig
    35ece858660e net: hsr: avoid possible NULL deref in skb_clone()
    e326df21da25 dm: remove unnecessary assignment statement in alloc_dev()
    847301f0ee1c cifs: Fix xid leak in cifs_ses_add_channel()
    8905d13b9ede cifs: Fix xid leak in cifs_flock()
    27cfd3afaab0 cifs: Fix xid leak in cifs_copy_file_range()
    593d877c39aa cifs: Fix xid leak in cifs_create()
    a8df9d0428c7 udp: Update reuse->has_conns under reuseport_lock.
    9749595feb33 scsi: lpfc: Fix memory leak in lpfc_create_port()
    b9122e0e0ea8 net: phylink: add mac_managed_pm in phylink_config structure
    412db9b06d3c net: phy: dp83867: Extend RX strap quirk for SGMII mode
    5ce613051994 net/atm: fix proc_mpc_write incorrect return value
    0eb17faedce7 sfc: Change VF mac via PF as first preference if available.
    0f58940ca3c1 HID: magicmouse: Do not set BTN_MOUSE on double report
    94a171c982b8 i40e: Fix DMA mappings leak
    dbc01c0a4e20 tipc: fix an information leak in tipc_topsrv_kern_subscr
    b294cad6f02e tipc: Fix recognition of trial period
    6161c364e378 ACPI: extlog: Handle multiple records
    40e5fceddfd5 drm/vc4: Add module dependency on hdmi-codec
    6c5041a10324 btrfs: fix processing of delayed tree block refs during backref walking
    af67578d565c btrfs: fix processing of delayed data refs during backref walking
    c439cafce8cf x86/topology: Fix duplicated core ID within a package
    d31f4bc22596 x86/topology: Fix multiple packages shown on a single-package system
    fcc96e89b3ff media: venus: dec: Handle the case where find_format fails
    b22b4823a0a5 media: mceusb: set timeout to at least timeout provided
    5265cc1202a3 media: ipu3-imgu: Fix NULL pointer dereference in active selection access
    1e4e71f9e197 KVM: arm64: vgic: Fix exit condition in scan_its_table()
    5bf2fda26a72 kvm: Add support for arch compat vm ioctls
    112a005d1ded mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages
    2d508b4e6536 drm/amdgpu: fix sdma doorbell init ordering on APUs
    b5606e3ab1f7 cpufreq: qcom: fix memory leak in error path
    d866f5982c15 x86/resctrl: Fix min_cbm_bits for AMD
    8fbe13de1cc7 ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
    5d6a037b3a94 ata: ahci-imx: Fix MODULE_ALIAS
    30cf0dee372b hwmon/coretemp: Handle large core ID value
    2f7171465f26 x86/microcode/AMD: Apply the patch early on every logical thread
    93d7e2b47a72 i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter
    14d260f94ff8 cpufreq: qcom: fix writes in read-only memory region
    3006766d247b selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()
    1b31cb0065e2 ocfs2: fix BUG when iput after ocfs2_mknod fails
    e469db818ec9 ocfs2: clear dinode links count in case of error
    ded9d535be0d btrfs: enhance unsupported compat RO flags handling
    537412c54712 perf/x86/intel/pt: Relax address filter validation
    8ddc58e0e312 arm64: errata: Remove AES hwcap for COMPAT tasks
    738515cf8bb4 usb: gadget: uvc: improve sg exit condition
    db11d8c72a5d usb: gadget: uvc: giveback vb2 buffer on req complete
    aee340dccf5a usb: gadget: uvc: rework uvcg_queue_next_buffer to uvcg_complete_buffer
    2f54ce7392d7 usb: gadget: uvc: use on returned header len in video_encode_isoc_sg
    d80db2f1450c usb: gadget: uvc: consistently use define for headerlen
    f9681a67503e arm64/mm: Consolidate TCR_EL1 fields
    5b20aacff7ad r8152: add PID for the Lenovo OneLink+ Dock
    bd8a595958a5 Linux 5.15.75
    b6e2c54be37d io-wq: Fix memory leak in worker creation
    7c359e28492f gcov: support GCC 12.1 and newer compilers
    8418c1672c1f thermal: intel_powerclamp: Use first online CPU as control_cpu
    55c824b62067 ext4: continue to expand file system when the target size doesn't reach
    0e63de6d7e4c lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5
    84cd0b20fada Kconfig.debug: add toolchain checks for DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT
    371aaf6b48f5 Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5
    e1591557e3a0 drm/amd/display: Fix build breakage with CONFIG_DEBUG_FS=n
    34f31a2b6679 net/ieee802154: don't warn zero-sized raw_sendmsg()
    de904d0fe1cb Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
    9c65eef9d6c9 net: ethernet: ti: davinci_mdio: fix build for mdio bitbang uses
    d7eadffce032 blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
    28787ff9fbea ALSA: usb-audio: Fix last interface check for registration
    b8989e95d74e net: ieee802154: return -EINVAL for unknown addr type
    0db2efb3bff8 mm: hugetlb: fix UAF in hugetlb_handle_userfault
    98aada6e2278 io_uring/rw: fix unexpected link breakage
    d6b7efc722a2 io_uring/rw: fix error'ed retry return values
    e857457c6f90 io_uring/rw: fix short rw error handling
    cd148d4e3183 io_uring: correct pinned_vm accounting
    813d8fe5d303 io_uring/af_unix: defer registered files gc to io_uring release
    c69a2324fc6b perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
    e81bf40b280b clk: bcm2835: Round UART input clock up
    da17cbb229af clk: bcm2835: Make peripheral PLLC critical
    20b8c456df58 usb: idmouse: fix an uninit-value in idmouse_open
    ec8adf767e1c nvmet-tcp: add bounds check on Transfer Tag
    1c6432884010 nvme: copy firmware_rev on each init
    b9b5560b342e ext2: Use kvmalloc() for group descriptor array
    8c067a3051cd scsi: tracing: Fix compile error in trace_array calls when TRACING is disabled
    39bef9c6a91b staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
    b4573a2bad3c staging: rtl8723bs: fix potential memory leak in rtw_init_drv_sw()
    eb24d93e3e01 Revert "usb: storage: Add quirk for Samsung Fit flash"
    3a38985d8bfd usb: dwc3: core: Enable GUCTL1 bit 10 for fixing termination error after resume bug
    9d4f84a15f9c arm64: dts: imx8mp: Add snps,gfladj-refclk-lpm-sel quirk to USB nodes
    3c84c7f592c4 usb: musb: Fix musb_gadget.c rxstate overflow bug
    fcd594da0b59 usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
    9e86dffd0b02 md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d
    f8e80792c1a8 eventfd: guard wake_up in eventfd fs calls as well
    c61786dc727d HID: roccat: Fix use-after-free in roccat_read()
    f7f425d61de9 soundwire: intel: fix error handling on dai registration issues
    093a5463aeec soundwire: cadence: Don't overwrite msg->buf during write commands
    1b4ed920b2ff bcache: fix set_at_max_writeback_rate() for multiple attached devices
    eecb5ccc84a1 ata: libahci_platform: Sanity check the DT child nodes number
    70b2adb1d698 blk-throttle: prevent overflow while calculating wait time
    ff8551d411f1 staging: vt6655: fix potential memory leak
    7c8bc374659d power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
    3d6946180734 iommu/arm-smmu-v3: Make default domain type of HiSilicon PTT device to identity
    c0d73be0af8c nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
    9d54de866062 scsi: 3w-9xxx: Avoid disabling device if failing to enable it
    d68da10b0cce dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow
    518a2a1cc361 usb: host: xhci-plat: suspend/resume clks for brcm
    f002aa7c0ac5 usb: host: xhci-plat: suspend and resume clocks
    6bcd745c87a0 clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
    5c32cbf6ccea media: platform: fix some double free in meson-ge2d and mtk-jpeg and s5p-mfc
    6f21976095c1 media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
    0a07b13af04d clk: zynqmp: Fix stack-out-of-bounds in strncpy`
    3680442cbaee ARM: 9242/1: kasan: Only map modules if CONFIG_KASAN_VMALLOC=n
    4a89c0befca7 btrfs: don't print information about space cache or tree every remount
    39a07058c762 btrfs: scrub: try to fix super block errors
    f3857dd7c03a btrfs: dump extra info if one free space cache has more bitmaps than it should
    d3c6d5be46de arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply
    82046b6a84e0 kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT
    35365417333d ARM: dts: imx6sx: add missing properties for sram
    602813650cbc ARM: dts: imx6sll: add missing properties for sram
    6a12e1e23cb1 ARM: dts: imx6sl: add missing properties for sram
    8c24dc621bb7 ARM: dts: imx6qp: add missing properties for sram
    47666b9a11a1 ARM: dts: imx6dl: add missing properties for sram
    19fe40c5185d ARM: dts: imx6q: add missing properties for sram
    9361ba779152 ARM: dts: imx7d-sdb: config the max pressure for tsc2046
    0f90671ff93f drm/amd/display: Remove interface for periodic interrupt 1
    88fd06740659 drm/dp: Don't rewrite link config when setting phy test pattern
    668806a8268b mmc: sdhci-msm: add compatible string check for sdm670
    587c7da87721 drm/meson: explicitly remove aggregate driver at module unload time
    d76ff04a72f9 drm/meson: reorder driver deinit sequence to fix use-after-free bug
    d894db35617f drm/amdgpu: fix initial connector audio value
    e3675f688d3b ASoC: SOF: pci: Change DMI match info to support all Chrome platforms
    f16e1b7b3968 platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
    39da49ffa2f3 platform/chrome: cros_ec: Notify the PM of wake events during resume
    74636047845c drm: panel-orientation-quirks: Add quirk for Anbernic Win600
    2810061452f9 drm/vc4: vec: Fix timings for VEC modes
    0506c4eae9a9 ALSA: usb-audio: Register card at the last interface
    39d7a81bbb7a drm: bridge: dw_hdmi: only trigger hotplug event on link change
    dfbed8c92eb8 udmabuf: Set ubuf->sg = NULL if the creation of sg table fails
    a47d92c74b1e drm/amd/display: fix overflow on MIN_I64 definition
    a29f7427041a gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_init()
    5ff7bec678ca drm/komeda: Fix handling of atomic commits in the atomic_commit_tail hook
    ca163e389f0a drm: Prevent drm_copy_field() to attempt copying a NULL pointer
    df5ac9392648 drm: Use size_t type for len variable in drm_copy_field()
    5ab84b1596b2 drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()
    b3179865cf7e r8152: Rate limit overflow messages
    d1e894f950ad Bluetooth: L2CAP: Fix user-after-free
    124b7c773271 net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory
    5b94d48898d9 hwmon: (sht4x) do not overflow clamping operation on 32-bit platforms
    a269c3e39087 wifi: rt2x00: correctly set BBP register 86 for MT7620
    b5e6ada5a5d6 wifi: rt2x00: set SoC wmac clock register
    357c89074ae6 wifi: rt2x00: set VGC gain for both chains of MT7620
    92e2e04da567 wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620
    4304b8e07579 wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620
    4a5eab200e43 can: bcm: check the result of can_send() in bcm_can_tx()
    3423a50fa018 Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
    3ac837cef1fb Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()
    af46b2b9b096 wifi: mt76: mt7921: reset msta->airtime_ac while clearing up hw value
    e33da263e965 regulator: core: Prevent integer underflow
    d58c8781c0d7 Bluetooth: btintel: Mark Intel controller to support LE_STATES quirk
    232d59eca07f wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
    37f15edba22d iavf: Fix race between iavf_close and iavf_reset_task
    03155680191e xfrm: Update ipcomp_scratches with NULL when freed
    716c526d666d thunderbolt: Add back Intel Falcon Ridge end-to-end flow control workaround
    b1b4144508ad wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()
    839f563c5dc5 x86/mce: Retrieve poison range from hardware
    1663629bc3ff tcp: annotate data-race around tcp_md5sig_pool_populated
    7b03296b4f7a openvswitch: Fix overreporting of drops in dropwatch
    ffd7a1dcae9a openvswitch: Fix double reporting of drops in dropwatch
    d449d00a8dce net: ethernet: ti: davinci_mdio: Add workaround for errata i2329
    624f03a027f2 ice: set tx_tstamps when creating new Tx rings via ethtool
    2e52d858de3a bpftool: Clear errno after libcap's checks
    75995ce1c926 wifi: brcmfmac: fix invalid address access when enabling SCAN log level
    83b94969751a NFSD: fix use-after-free on source server when doing inter-server copy
    118dc74b2bc0 NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data
    066b1302f2a9 x86/entry: Work around Clang __bdos() bug
    06c56c9d5da8 ACPI: x86: Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable
    6733222f2cc9 ARM: decompressor: Include .data.rel.ro.local
    561490843445 thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash
    139bbbd01114 powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
    a1387ae83e97 MIPS: BCM47XX: Cast memcmp() of function to (void *)
    c2790fede920 cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode
    30eca146c89d ACPI: tables: FPDT: Don't call acpi_os_map_memory() on invalid phys address
    5374638222d0 ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
    7ed95b080334 rcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()
    cf38a05eb1d0 rcu: Back off upon fill_page_cache_func() allocation failure
    3e2d8b89f031 rcu: Avoid triggering strict-GP irq-work when RCU is idle
    27d3e646dd83 fs: dlm: fix race in lowcomms
    b6b87460f4eb selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle
    497d736784e5 f2fs: fix to account FS_CP_DATA_IO correctly
    fb1dcc2a9e4b f2fs: fix race condition on setting FI_NO_EXTENT flag
    6ddbd411a00a ACPI: APEI: do not add task_work to kernel thread to avoid memory leak
    21f1ba52b88c thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id
    172c8a24fc83 crypto: cavium - prevent integer overflow loading firmware
    12acfa1059ad crypto: marvell/octeontx - prevent integer overflows
    c963ce2fa05d kbuild: rpm-pkg: fix breakage when V=1 is used
    059ce6b68b76 kbuild: remove the target in signal traps when interrupted
    1e9c23db31b6 tracing/osnoise: Fix possible recursive locking in stop_per_cpu_kthreads
    84795de93e1f tracing: kprobe: Make gen test module work in arm and riscv
    867fce09aa20 tracing: kprobe: Fix kprobe event gen test module on exit
    a9990f24adfe iommu/iova: Fix module config properly
    f0cac6cc02a9 cifs: return correct error in ->calc_signature()
    1f1ab76e2515 crypto: qat - fix DMA transfer direction
    393307b99aac crypto: inside-secure - Change swab to swab32
    93538944ab0b crypto: ccp - Release dma channels before dmaengine unrgister
    779a9930f3e1 crypto: akcipher - default implementation for setting a private key
    0c7043a5b5c3 iommu/omap: Fix buffer overflow in debugfs
    046803b74d51 cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset
    771d8aa02dac crypto: hisilicon/qm - fix missing put dfx access
    9bf3ec61a246 crypto: qat - fix default value of WDT timer
    3bfc220e5ce3 hwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()
    507128a0e32d cgroup: Honor caller's cgroup NS when resolving path
    8ffe511b7de7 hwrng: arm-smccc-trng - fix NO_ENTROPY handling
    272093471305 crypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr
    e0b4ebf59834 crypto: sahara - don't sleep when in softirq
    8484023b5763 powerpc/pseries/vas: Pass hw_cpu_id to node associativity HCALL
    7f536a8cb62d powerpc/kprobes: Fix null pointer reference in arch_prepare_kprobe()
    1f98f8f43541 powerpc: Fix SPE Power ISA properties for e500v1 platforms
    72c5b7110fba powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
    399afe92f640 x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition
    592b302d8bf6 powerpc: Fix fallocate and fadvise64_64 compat parameter combination
    61af84b3db81 powerpc/powernv: add missing of_node_put() in opal_export_attrs()
    5be9cb6c06fa powerpc/pci_dn: Add missing of_node_put()
    5a13d3f1af1c powerpc/sysdev/fsl_msi: Add missing of_node_put()
    b0c0490b3c57 powerpc/math_emu/efp: Include module.h
    93379dc92de0 powerpc/configs: Properly enable PAPR_SCM in pseries_defconfig
    25a4fb0e1a76 mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
    b8fcd9ab0f65 mailbox: mpfs: account for mbox offsets while sending
    ba2264359525 mailbox: mpfs: fix handling of the reg property
    fad007a315fe clk: ast2600: BCLK comes from EPLL
    3441076f83aa clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
    9209e6bab75d clk: imx: scu: fix memleak on platform_device_add() fails
    bdf72f2d649b clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
    e338131e980b clk: baikal-t1: Add SATA internal ref clock buffer
    35b766027580 clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent
    b2db8b2c5391 clk: baikal-t1: Fix invalid xGMAC PTP clock divider
    435a8a39c6ae clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD
    b0bc75fe6775 spmi: pmic-arb: correct duplicate APID to PPID mapping logic
    faabbb103d60 usb: mtu3: fix failed runtime suspend in host only mode
    57f66534a41a dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
    8aa96c5bc393 clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
    2dafc5afd9d6 mfd: sm501: Add check for platform_driver_register()
    d43d93dbd8aa mfd: fsl-imx25: Fix check for platform_get_irq() errors
    b940bb3c8154 mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
    0715005c483e mfd: lp8788: Fix an error handling path in lp8788_probe()
    aec1f073f91f mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
    53bfc1c3c751 mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
    2f921d62c236 fsi: core: Check error number after calling ida_simple_get
    041c79f6aefb RDMA/rxe: Fix resize_finish() in rxe_queue.c
    959d4ee095e9 clk: qcom: gcc-sm6115: Override default Alpha PLL regs
    8e556f557368 clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical
    a26b0658751b scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()
    e87fb1fcf88f scsi: iscsi: Run recv path from workqueue
    c2af03a7c1b5 scsi: iscsi: Add recv workqueue helpers
    d6aafc21bef1 scsi: iscsi: Rename iscsi_conn_queue_work()
    e45a1516d293 scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()
    6a54f769748b serial: 8250: Fix restoring termios speed after suspend
    a5dba0933834 firmware: google: Test spinlock on panic path to avoid lockups
    60d14575d0ba slimbus: qcom-ngd-ctrl: allow compile testing without QCOM_RPROC_COMMON
    f19e5b7df545 staging: vt6655: fix some erroneous memory clean-up loops
    433c33c554d7 phy: qualcomm: call clk_disable_unprepare in the error handling
    c4293def8860 tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown
    a91a3c2d8db8 serial: 8250: Toggle IER bits on only after irq has been set up
    6be8e565a4a6 drivers: serial: jsm: fix some leaks in probe
    1d05df7757f4 usb: gadget: function: fix dangling pnp_string in f_printer.c
    ed2c66b75280 xhci: Don't show warning for reinit on known broken suspend
    4d7d8f5cb284 IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers
    e221b4f16e9e RDMA/cm: Use SLID in the work completion as the DLID in responder side
    7a37c58ee72e md/raid5: Remove unnecessary bio_put() in raid5_read_one_chunk()
    b467d9460ec2 md/raid5: Ensure stripe_fill happens on non-read IO with journal
    5d8259c9d191 md: Replace snprintf with scnprintf
    9e92d5ca5424 mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
    058833dbeb8d ata: fix ata_id_has_dipm()
    dad910a6d4a5 ata: fix ata_id_has_ncq_autosense()
    21faddeff7bf ata: fix ata_id_has_devslp()
    204cc767dcb5 ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
    5c75d608fad5 RDMA/siw: Fix QP destroy to wait for all references dropped.
    308cd50f174c RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.
    e58a0b9100ba RDMA/srp: Fix srp_abort()
    dc9e4ef6b072 RDMA/irdma: Align AE id codes to correct flush code and event
    84ce1a8e36bb mtd: rawnand: fsl_elbc: Fix none ECC mode
    be424a7d5374 mtd: rawnand: intel: Remove undocumented compatible string
    445395900b64 mtd: rawnand: intel: Read the chip-select line from the correct OF node
    cbbf9cca47ac phy: phy-mtk-tphy: fix the phy type setting issue
    e4be7c9495c8 phy: amlogic: phy-meson-axg-mipi-pcie-analog: Hold reference returned by of_get_parent()
    88263152ff56 mtd: devices: docg3: check the return value of devm_ioremap() in the probe
    a0e4ac698891 clk: qcom: sm6115: Select QCOM_GDSC
    aecb632674b7 dyndbg: drop EXPORTed dynamic_debug_exec_queries
    0d4421f2cb54 dyndbg: let query-modname override actual module name
    0c0d9f38b087 dyndbg: fix module.dyndbg handling
    49d85932f7d2 dyndbg: fix static_branch manipulation
    7cb9b20941e1 dmaengine: hisilicon: Add multi-thread support for a DMA channel
    b88630d9aac0 dmaengine: hisilicon: Fix CQ head update
    e84aeeafe8b3 dmaengine: hisilicon: Disable channels when unregister hisi_dma
    b94605f5cb99 fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
    11bd8bbdf8f6 misc: ocxl: fix possible refcount leak in afu_ioctl()
    c23c5e184550 RDMA/rxe: Fix the error caused by qp->sk
    f2f405af70e6 RDMA/rxe: Fix "kernel NULL pointer dereference" error
    2ea7caa96846 media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
    23624abbc9c6 media: uvcvideo: Use entity get_cur in uvc_ctrl_set
    6c5da92103bd media: uvcvideo: Fix memory leak in uvc_gpio_parse
    4e2042f1adc7 media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()
    aeffca434426 tty: xilinx_uartps: Fix the ignore_status
    a8d772c7b853 media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop
    6225501072d3 HSI: omap_ssi_port: Fix dma_map_sg error check
    691f23a8475f HSI: omap_ssi: Fix refcount leak in ssi_probe
    d6e750535b46 clk: tegra20: Fix refcount leak in tegra20_clock_init
    e7a57fb92af5 clk: tegra: Fix refcount leak in tegra114_clock_init
    417ed4432b1b clk: tegra: Fix refcount leak in tegra210_clock_init
    ca5f338ef165 clk: sprd: Hold reference returned by of_get_parent()
    49343bdf95eb clk: berlin: Add of_node_put() for of_get_parent()
    857b719bede4 clk: qoriq: Hold reference returned by of_get_parent()
    a8cbce0305b2 clk: oxnas: Hold reference returned by of_get_parent()
    e0001a565c16 clk: meson: Hold reference returned by of_get_parent()
    e900ec4c4f74 usb: common: debug: Check non-standard control requests
    c11f48764c8b RDMA/mlx5: Don't compare mkey tags in DEVX indirect mkey
    cd35ad9a7d66 iio: magnetometer: yas530: Change data type of hard_offsets to signed
    23fafc2e2cf6 iio: ABI: Fix wrong format of differential capacitance channel ABI.
    8169da520e8f iio: inkern: fix return value in devm_of_iio_channel_get_by_name()
    504e8807fe5f iio: inkern: only release the device node when done with it
    b0d4fcc3ecb8 iio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume
    5db9b840ac88 iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq
    c5c63736d2a1 iio: adc: at91-sama5d2_adc: check return status for pressure and touch
    5f1654a0e520 iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX
    017cf3b0a628 ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
    6c93b683ceda arm64: ftrace: fix module PLTs with mcount
    bbf64eb10273 ext4: don't run ext4lazyinit for read-only filesystems
    7a00a2320752 ARM: Drop CMDLINE_* dependency on ATAGS
    2af04fe87ea5 ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
    2134214bc403 arm64: dts: ti: k3-j7200: fix main pinmux range
    7247a1d7a46a soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA
    4f7892f24281 ia64: export memory_add_physaddr_to_nid to fix cxl build error
    2ef01657b2d6 ARM: dts: kirkwood: lsxl: remove first ethernet port
    bf7caa3c5caf ARM: dts: kirkwood: lsxl: fix serial line
    42ce4c73a468 ARM: dts: turris-omnia: Fix mpp26 pin name and comment
    96d8f2b43e72 ARM: dts: imx6qdl-kontron-samx6i: hook up DDC i2c bus
    08ada28d1def soc: qcom: smem_state: Add refcounting for the 'state->of_node'
    96e0028debdd soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
    a29b6eb959bd locks: fix TOCTOU race when granting write lease
    7e053784c4c7 memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
    2680690f9ce4 memory: of: Fix refcount leak bug in of_get_ddr_timings()
    566b143aa511 memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
    10df962300c2 ALSA: hda/hdmi: Don't skip notification handling during PM operation
    cc756b79a5c9 ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe
    f9cb3bd55726 ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
    b7dda65fa875 ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
    b2bc9fc56a3e ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
    3c3ef19a8870 mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
    b14dc262274b ALSA: dmaengine: increment buffer pointer atomically
    f5f1f5ee5048 ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
    f910aca07625 ASoC: codecs: tx-macro: fix kcontrol put
    b47a37ad4a44 drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()
    bdf54d4b0074 drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()
    635e7700c5b4 drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx
    4f859884673d ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API
    64545b8a9690 mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
    3ba3814c00a4 drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()
    a5ce83e85d79 drm/omap: dss: Fix refcount leak bugs
    f5f599daa0bc drm/bochs: fix blanking
    928ac9fc1ace ALSA: hda: beep: Simplify keep-power-at-enable behavior
    fbb88a7c84c1 ASoC: rsnd: Add check for rsnd_mod_power_on
    4610e7a4111f drm/bridge: megachips: Fix a null pointer dereference bug
    079c550c57ff drm/amdgpu: add missing pci_disable_device() in amdgpu_pmops_runtime_resume()
    c12daccc9017 platform/chrome: cros_ec_typec: Correct alt mode index
    c317d2b8a430 platform/x86: msi-laptop: Fix resource cleanup
    0e21d41bc768 platform/x86: msi-laptop: Fix old-ec check for backlight registering
    6bc81c1b6313 ASoC: tas2764: Fix mute/unmute
    e644497c5361 ASoC: tas2764: Drop conflicting set_bias_level power setting
    35bd912ed6c0 ASoC: tas2764: Allow mono streams
    fd1d3b265784 platform/chrome: fix memory corruption in ioctl
    27bb672c0437 platform/chrome: fix double-free in chromeos_laptop_prepare()
    57dfb855bc9e ASoC: mt6359: fix tests for platform_get_irq() failure
    8a475a7732a5 drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()
    56d2233cf573 drm/dp_mst: fix drm_dp_dpcd_read return value checks
    fe6eb3d0c874 drm/bridge: parade-ps8640: Fix regulator supply order
    60630834fad3 drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling
    26c1b4cfe56f drm/mipi-dsi: Detach devices when removing the host
    652042135e08 drm/bridge: Avoid uninitialized variable warning
    f369fb4deed7 drm: bridge: adv7511: unregister cec i2c device after cec adapter
    20609125b8bd drm: bridge: adv7511: fix CEC power down control register offset
    a624161ebe0c net: mvpp2: fix mvpp2 debugfs leak
    7aef5082c56e once: add DO_ONCE_SLOW() for sleepable contexts
    77bfd26cbb61 net/ieee802154: reject zero-sized raw_sendmsg()
    dc4e9cd6d6a6 net: wwan: iosm: Call mutex_init before locking it
    0b6516a4e3eb bnx2x: fix potential memory leak in bnx2x_tpa_stop()
    30bfa5aa7228 net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
    f828333ca90f hwmon: (pmbus/mp2888) Fix sensors readouts for MPS Multi-phase mp2888 controller
    c91b922b4170 spi: Ensure that sg_table won't be used after being freed
    49d429760df7 tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited
    19d636b663e0 sctp: handle the error returned from sctp_auth_asoc_init_active_key
    7bfa18b05f38 mISDN: fix use-after-free bugs in l1oip timer handlers
    6f1991a940b9 eth: alx: take rtnl_lock on resume
    e28a4e7f0296 vhost/vsock: Use kvmalloc/kvfree for larger packets.
    5dbdd690ed83 wifi: rtl8xxxu: Fix AIFS written to REG_EDCA_*_PARAM
    432eecffcf1b spi: s3c64xx: Fix large transfers with DMA
    1454a26cb1ab netfilter: nft_fib: Fix for rpath check with VRF devices
    7d98b26684cb xfrm: Reinject transport-mode packets through workqueue
    397e880acf44 Bluetooth: hci_core: Fix not handling link timeouts propertly
    1331d3e1f9b5 i2c: mlxbf: support lock mechanism
    9233ab8198d8 skmsg: Schedule psock work if the cached skb exists on the psock
    44f1dc2e821d spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
    daa5239ea49f spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe
    6b941151865e x86/cpu: Include the header of init_ia32_feat_ctl()'s prototype
    3c27a1380798 x86/microcode/AMD: Track patch allocation size explicitly
    3e2b805a68ab wifi: ath11k: fix number of VHT beamformee spatial streams
    5a6827cdc258 netfilter: conntrack: revisit the gc initial rescheduling bias
    9c39ca418ba3 netfilter: conntrack: fix the gc rescheduling delay
    b8917dce2134 Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure
    c087c35292ea bpf: Ensure correct locking around vulnerable function find_vpid()
    a0f15af17b7d net: fs_enet: Fix wrong check in do_pd_setup
    ee7c5e814fb2 Bluetooth: RFCOMM: Fix possible deadlock on socket shutdown/release
    57d4f2f8a67b wifi: mt76: mt7915: do not check state before configuring implicit beamform
    dea9093f24d6 wifi: mt76: mt7615: add mt7615_mutex_acquire/release in mt7615_sta_set_decap_offload
    817e8b75ae06 wifi: mt76: sdio: fix transmitting packet hangs
    5dc095a37fbd wifi: rtl8xxxu: Remove copy-paste leftover in gen2_update_rate_mask
    9973f78c19f3 wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration
    5d9222c68022 bpf: btf: fix truncated last_member_type_id in btf_struct_resolve
    4ce47c5545d2 spi: meson-spicc: do not rely on busy flag in pow2 clk ops
    36c484bac9ed wifi: rtl8xxxu: Fix skb misuse in TX queue selection
    fefd2269e681 spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()
    e22f6499183d spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()
    37005a948677 selftests/xsk: Avoid use-after-free on ctx
    69995c64e50e wifi: rtw88: add missing destroy_workqueue() on error path in rtw_core_init()
    6f9484e969cb wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()
    d091771f511d Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend
    f91e25cfa553 bpf: Use this_cpu_{inc|dec|inc_return} for bpf_task_storage_busy
    0e1342510490 bpf: Propagate error from htab_lock_bucket() to userspace
    0b00c6130c1a bpf: Disable preemption when increasing per-cpu map_locked
    68ab7690332a xsk: Fix backpressure mechanism on Tx
    0559a6d96a99 x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
    e962e458bf96 spi: mt7621: Fix an error message in mt7621_spi_probe()
    0a16bbc8b030 bpftool: Fix a wrong type cast in btf_dumper_int
    6e8eadfa9bb1 wifi: mac80211: allow bw change during channel switch in mesh
    4ed5155043c9 bpf: Fix reference state management for synchronous callbacks
    3d0a101e7139 leds: lm3601x: Don't use mutex after it was destroyed
    54a3201f3c1f wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
    714536ff6f6c wifi: rtlwifi: 8192de: correct checking of IQK reload
    80a474502ef5 NFSD: Fix handling of oversized NFSv4 COMPOUND requests
    dc7f225090c2 NFSD: Protect against send buffer overflow in NFSv2 READDIR
    cedaf73c8bda SUNRPC: Fix svcxdr_init_encode's buflen calculation
    6b55707ff8b2 SUNRPC: Fix svcxdr_init_decode's end-of-buffer calculation
    aed881630557 nfsd: Fix a memory leak in an error handling path
    5c4b234c44cb objtool: Preserve special st_shndx indexes in elf_update_symbol
    425a2a9469d2 ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
    2647b20e043c ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()
    93296e7ab774 MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()
    993b13abde17 MIPS: SGI-IP27: Free some unused memory
    959855093f94 sh: machvec: Use char[] for section boundaries
    91fafd22f852 thermal: cpufreq_cooling: Check the policy first in cpufreq_cooling_register()
    81fb3ee298d5 ntfs3: rework xattr handlers and switch to POSIX ACL VFS helpers
    33d478eee2b5 userfaultfd: open userfaultfds with O_RDONLY
    10918ebecdc9 ima: fix blocking of security.ima xattrs of unsupported algorithms
    b7af9b8be891 selinux: use "grep -E" instead of "egrep"
    73b8218ef4aa smb3: must initialize two ACL struct fields to zero
    adf428ae46be drm/amd/display: Fix vblank refcount in vrr transition
    60a517452560 drm/i915: Fix watermark calculations for gen12+ CCS+CC modifier
    01bd3eaa5371 drm/i915: Fix watermark calculations for gen12+ MC CCS modifier
    20018a252f19 drm/i915: Fix watermark calculations for gen12+ RC CCS modifier
    861f085f81fd drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
    446d40e2a8cb drm/nouveau/kms/nv140-: Disable interlacing
    4dab0d27a421 staging: greybus: audio_helper: remove unused and wrong debugfs usage
    28eb4bdb23e2 KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS
    4f7b1e7d0f36 KVM: nVMX: Don't propagate vmcs12's PERF_GLOBAL_CTRL settings to vmcs02
    be1a6a61f1b3 KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"
    379de01906eb KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility
    e3e5baa36879 blk-wbt: call rq_qos_add() after wb_normal is initialized
    e8e0a6f4b8a2 media: cedrus: Fix endless loop in cedrus_h265_skip_bits()
    b76fac61c33f media: cedrus: Set the platform driver data earlier
    b19254eadab3 efi: libstub: drop pointless get_memory_map() call
    5cda4a11b490 thunderbolt: Explicitly enable lane adapter hotplug events at startup
    d9c79fbcbdb6 tracing: Fix reading strings from synthetic events
    b9ab154d22b8 tracing: Add "(fault)" name injection to kernel probes
    8ae88c4842c2 tracing: Move duplicate code of trace_kprobe/eprobe.c into header
    84f4be2093e1 tracing: Add ioctl() to force ring buffer waiters to wake up
    32eb54a986f4 tracing: Wake up waiters when tracing is disabled
    2475de2bc0de tracing: Wake up ring buffer waiters on closing of the file
    48272aa48d80 tracing: Disable interrupt or preemption before acquiring arch_spinlock_t
    d4ab9bc5f56e ring-buffer: Fix race between reset page and reading page
    be60f698c276 ring-buffer: Add ring_buffer_wake_waiters()
    5201dd81aef7 ring-buffer: Check pending waiters when doing wake ups as well
    bc6d4e9d6484 ring-buffer: Have the shortest_full queue be the shortest not longest
    e8d116738514 ring-buffer: Allow splice to read previous partially read pages
    fb96b7489fbd ftrace: Properly unset FTRACE_HASH_FL_MOD
    31dc1727c103 livepatch: fix race between fork and KLP transition
    36997b75bbb3 ext4: update 'state->fc_regions_size' after successful memory allocation
    417b0455a0b6 ext4: fix potential memory leak in ext4_fc_record_regions()
    9b5eb368a86f ext4: fix potential memory leak in ext4_fc_record_modified_inode()
    ef1607c99136 ext4: fix miss release buffer head in ext4_fc_write_inode
    d29fa1ab4e62 ext4: fix dir corruption when ext4_dx_add_entry() fails
    d12471b41674 ext4: place buffer head allocation before handle start
    46e5f470a144 ext4: ext4_read_bh_lock() should submit IO if the buffer isn't uptodate
    1f5e643b3829 ext4: don't increase iversion counter for ea_inodes
    dd366295d1ec ext4: fix check for block being out of directory size
    4a967fe8b043 ext4: make ext4_lazyinit_thread freezable
    533c60a0b97c ext4: fix null-ptr-deref in ext4_write_info
    d8e4af8314df ext4: avoid crash when inline data creation follows DIO write
    56fcd0788f0d jbd2: add miss release buffer head in fc_do_one_pass()
    d11d2ded2939 jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
    e7385c868ee0 jbd2: fix potential buffer head reference count leak
    d87fe290a533 jbd2: wake up journal waiters in FIFO order, not LIFO
    7434626c5eaa hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero
    095493833b18 hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZERO
    73687c53919f f2fs: fix to do sanity check on summary info
    ed854f10e6af f2fs: fix to do sanity check on destination blkaddr during recovery
    7f10357c9046 f2fs: increase the limit for reserve_root
    0035b84223de f2fs: flush pending checkpoints when freezing super
    ab4958975490 f2fs: complete checkpoints during remount
    0a408c6212c1 btrfs: set generation before calling btrfs_clean_tree_block in btrfs_init_new_buffer
    4b996a3014ef btrfs: fix race between quota enable and quota rescan ioctl
    0d9423034308 fs: record I_DIRTY_TIME even if inode already has I_DIRTY_INODE
    95a520b591c9 ksmbd: Fix user namespace mapping
    a19f316406ea ksmbd: Fix wrong return value and message length check in smb2_ioctl()
    39b685562825 ksmbd: fix endless loop when encryption for response fails
    2b0897e33682 fbdev: smscufx: Fix use-after-free in ufx_ops_open()
    aa7b2c927e4e pinctrl: rockchip: add pinmux_ops.gpio_set_direction callback
    5d97378b3626 gpio: rockchip: request GPIO mux to pinctrl when setting direction
    e0b1c16fdadd scsi: qedf: Populate sysfs attributes for vport
    1d567179f277 slimbus: qcom-ngd: cleanup in probe error path
    fa0aab2e45f0 slimbus: qcom-ngd: use correct error in message of pdr_add_lookup() failure
    ba2159df1806 powerpc/boot: Explicitly disable usage of SPE instructions
    9df2a9cdad5b powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain
    75d9de25a6f8 NFSD: Protect against send buffer overflow in NFSv3 READ
    2be9331ca606 NFSD: Protect against send buffer overflow in NFSv2 READ
    071a076fd1b7 NFSD: Protect against send buffer overflow in NFSv3 READDIR
    209a94c5192b serial: 8250: Request full 16550A feature probing for OxSemi PCIe devices
    63a3d75cf18c serial: 8250: Let drivers request full 16550A feature probing
    26e5c79e673c PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge
    7c16d0a4e6a4 xen/gntdev: Accommodate VMA splitting
    1cb73704cb47 xen/gntdev: Prevent leaking grants
    43bed0a13a5c mm/mmap: undo ->mmap() when arch_validate_flags() fails
    2b0072d33eb6 mm/damon: validate if the pmd entry is present before accessing
    91c4eb16e804 arm64: errata: Add Cortex-A55 to the repeat tlbi list
    fc0f921b7e6e drm/udl: Restore display mode on resume
    064093472524 drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()
    fb3910436be4 drm/virtio: Unlock reservations on virtio_gpu_object_shmem_init() error
    f122bcb34f1a drm/virtio: Check whether transferred 2D BO is shmem
    a95fb5d55af0 dmaengine: mxs: use platform_driver_register
    e7a3334e83f9 Revert "drm/amdgpu: use dirty framebuffer helper"
    4bdedc3b5341 nvme-pci: set min_align_mask before calculating max_hw_sectors
    32aa0b3f0c06 nvme-multipath: fix possible hang in live ns resize with ANA access
    9391cc3a787a nvmem: core: Fix memleak in nvmem_register()
    7efe61dc6aa4 UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
    81ab826a285d riscv: Pass -mno-relax only on lld < 15.0.0
    7780bb02a069 riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb
    c657b70e8074 riscv: Make VM_WRITE imply VM_READ
    3c3c4fa118a4 riscv: Allow PROT_WRITE-only mmap()
    af3aaee08df8 parisc: fbdev/stifb: Align graphics memory size to 4MB
    dc235db7b79a RISC-V: Make port I/O string accessors actually work
    8c487db000fd riscv: topology: fix default topology reporting
    d46c24f307fb arm64: topology: move store_cpu_topology() to shared code
    fcf0f6cbb653 regulator: qcom_rpm: Fix circular deferral regression
    78d81a8a8ce1 net: thunderbolt: Enable DMA paths only after rings are enabled
    3281e81ce90c hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API
    e1ab98ec2bc9 ASoC: wcd934x: fix order of Slimbus unprepare/disable
    a2140a9922d1 ASoC: wcd9335: fix order of Slimbus unprepare/disable
    d0507b36da9f platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure
    fcfeecca153d quota: Check next/prev free block number after reading from quota file
    17214cfab73b HID: multitouch: Add memory barriers
    219e4a0f9d68 fs: dlm: handle -EBUSY first in lock arg validation
    34ed22dd2860 fs: dlm: fix race between test_bit() and queue_work()
    7fa5304c4b5b i2c: designware: Fix handling of real but unexpected device interrupts
    f9effcefa8be mmc: sdhci-sprd: Fix minimum clock limit
    a4df91a88c3f can: kvaser_usb_leaf: Fix CAN state after restart
    0c28c2c0cfa2 can: kvaser_usb_leaf: Fix TX queue out of sync after restart
    b8c4f6345e0e can: kvaser_usb_leaf: Fix overread with an invalid command
    de4434d6823c can: kvaser_usb: Fix use of uninitialized completion
    354d768e315d usb: add quirks for Lenovo OneLink+ Dock
    103b459590e1 xhci: dbc: Fix memory leak in xhci_alloc_dbc()
    39f4c90b9995 iio: pressure: dps310: Reset chip after timeout
    bc493cd75466 iio: pressure: dps310: Refactor startup procedure
    5f6bfc1926bb iio: adc: ad7923: fix channel readings for some variants
    1be580ed8403 iio: ltc2497: Fix reading conversion results
    ef4018707df8 iio: dac: ad5593r: Fix i2c read protocol requirements
    60480291c1fc cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
    0d814a2199cf cifs: destage dirty pages before re-reading them for cache=none
    15993e9a9b12 hv_netvsc: Fix race between VF offering and VF association message from host
    f9dc33f23153 io_uring/net: don't update msg_name if not provided
    a1bd289c10ac mtd: rawnand: atmel: Unmap streaming DMA mappings
    3e4d2375d154 ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
    41e83faf036c ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
    c01f385c70db ALSA: hda/realtek: Correct pin configs for ASUS G533Z
    0d50e05ecc2c ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
    ec439b97d983 ALSA: usb-audio: Fix NULL dererence at error path
    0672215994e2 ALSA: usb-audio: Fix potential memory leaks
    550ca3082ebd ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
    45899fae65e5 ALSA: oss: Fix potential deadlock at unregistration
    5ca155aa79e9 Revert "fs: check FMODE_LSEEK to control internal pipe splicing"
    a3f2f5ac9d61 Linux 5.15.74
    de124365a7d2 wifi: mac80211: fix MBSSID parsing use-after-free
    7d998f6b7365 mac80211: fix memory leaks with element parsing
    fee48f3bdd75 mac80211: always allocate struct ieee802_11_elems
    630060f11756 mac80211: mlme: find auth challenge directly
    21df3a583e8e mac80211: move CRC into struct ieee802_11_elems
    864f2d3482f4 mac80211: mesh: clean up rx_bcn_presp API
    e5ebcbb4f967 misc: pci_endpoint_test: Fix pci_endpoint_test_{copy,write,read}() panic
    cb9defecf381 misc: pci_endpoint_test: Aggregate params checking for xfer
    2c657a0cbd48 Input: xpad - fix wireless 360 controller breaking after suspend
    db4db28fccb4 Input: xpad - add supported devices as contributed on github
    d15bb1f6dabe wifi: cfg80211: update hidden BSSes to avoid WARN_ON
    93a3a3255407 wifi: mac80211: fix crash in beacon protection for P2P-device
    fff244e9171b wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
    0a8ee682e4f9 wifi: cfg80211: avoid nontransmitted BSS list corruption
    bfe29873454f wifi: cfg80211: fix BSS refcounting bugs
    9e99ca59ed39 wifi: cfg80211: ensure length byte is present before access
    0a861bd25dad wifi: cfg80211/mac80211: reject bad MBSSID elements
    9a8ef2030510 wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()
    398e30b67092 random: use expired timer rather than wq for mixing fast pool
    984faa6fc759 random: avoid reading two cache lines on irq randomness
    a937c59863d7 Revert "crypto: qat - reduce size of mapped region"
    0e3ff69ee691 Revert "powerpc/rtas: Implement reentrant rtas call"
    e0295c43166b USB: serial: qcserial: add new usb-id for Dell branded EM7455
    76efb4897bc3 scsi: stex: Properly zero out the passthrough command structure
    5fbbe7e98e9b efi: Correct Macmini DMI match in uefi cert quirk
    8754dc846d03 ALSA: hda: Fix position reporting on Poulsbo
    14f143fb4268 random: clamp credited irq bits to maximum mixed
    be53fa6cf667 random: restore O_NONBLOCK support
    2f96da3fd18f ceph: don't truncate file in atomic_open
    c0c3d3d3ea41 nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
    44b1ee304bac nilfs2: fix leak of nilfs_root in case of writer thread creation failure
    cb602c2b654e nilfs2: fix use-after-free bug of struct nilfs_root
    1e512c65b4ad nilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level()
    17aac9b7af2b Linux 5.15.73
    f7b16f51753a Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 5"
    d8b1b64a070e rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
    d58eb80b723d USB: serial: ftdi_sio: fix 300 bps rate for SIO
    5ff80339cdc3 usb: mon: make mmapped memory read only
    278fefd29eea net/mlx5: Disable irq when locking lag_lock
    54f382d4b7f8 wifi: cfg80211: fix MCS divisor value
    0fa249414a6f mm/huge_memory: use pfn_to_online_page() in split_huge_pages_all()
    f1d6894159fc mm/huge_memory: minor cleanup for split_huge_pages_all
    7190afd4cd5f perf parse-events: Identify broken modifiers
    f6f740f6ca3b mmc: core: Terminate infinite loop in SD-UHS voltage switch
    9635e05e015a mmc: core: Replace with already defined values for readability
    f2af62d909ad drm/amd/display: skip audio setup when audio stream is enabled
    d444cfe6d047 drm/amd/display: update gamut remap if plane has changed
    4afcb53474ae drm/amd/display: Assume an LTTPR is always present on fixed_vs links
    5e76ff629a20 drm/amd/display: Fix double cursor on non-video RGB MPO
    e6590139ffa3 net: atlantic: fix potential memory leak in aq_ndev_close()
    005e368a61bc arch: um: Mark the stack non-executable to fix a binutils warning
    5f85191bedba um: Cleanup compiler warning in arch/x86/um/tls_32.c
    6827af886be8 um: Cleanup syscall_handler_t cast in syscalls_32.h
    f386b373e9f7 ALSA: hda/hdmi: Fix the converter reuse for the silent stream
    a36b2dc5c0da net: marvell: prestera: add support for for Aldrin2
    d2588ba1a338 net/ieee802154: fix uninit value bug in dgram_sendmsg
    1030659dac4e scsi: qedf: Fix a UAF bug in __qedf_probe()
    f7126aa3624c ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
    968299cd58b7 dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
    17f55255af4c dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property
    b2f275550136 dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling
    fd425b89d040 firmware: arm_scmi: Add SCMI PM driver remove routine
    e092fc3a2892 firmware: arm_scmi: Harden accesses to the sensor domains
    9f81dbb934fb firmware: arm_scmi: Improve checks in the info_get operations
    64b79e632869 fs: fix UAF/GPF bug in nilfs_mdt_destroy
    31bdba07f6b2 powerpc/64s/radix: don't need to broadcast IPI for radix pmd collapse flush
    46c22e7b094f mm: gup: fix the fast GUP race against THP collapse
    88ccea0a4458 xsk: Inherit need_wakeup flag for shared sockets
    f07fbefcea5b docs: update mediator information in CoC docs
    cf26ddb96b4f Makefile.extrawarn: Move -Wcast-function-type-strict to W=1
    c68173b2012b Linux 5.15.72
    713fa3e4591f drm/i915/gem: Really move i915_gem_context.link under ref protection
    a00ed4e5d5ee x86/alternative: Fix race in try_get_desc()
    c3d4b8970c0d KVM: x86: Hide IA32_PLATFORM_DCA_CAP[31:0] from the guest
    ab5c5787ab5e clk: iproc: Do not rely on node name for correct PLL setup
    e748a084b51c clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
    19f4e1636626 fs: split off setxattr_copy and do_setxattr function from setxattr
    a0e3719e030a vdpa/ifcvf: fix the calculation of queuepair
    4755d9d2c9b0 selftests: Fix the if conditions of in test_extra_filter()
    c83a7606aa65 net: phy: Don't WARN for PHY_UP state in mdio_bus_phy_resume()
    a8cd7e1bc7cd net: stmmac: power up/down serdes in stmmac_open/release
    67c00bcf4231 wifi: mac80211: fix regression with non-QoS drivers
    520e434a082d nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
    e9d7d809022e net/mlxbf_gige: Fix an IS_ERR() vs NULL bug in mlxbf_gige_mdio_probe
    8b1b908507ce cxgb4: fix missing unlock on ETHOFLD desc collect fail path
    e99c7a61d89e net: sched: act_ct: fix possible refcount leak in tcf_ct_init()
    815381aeff95 usbnet: Fix memory leak in usbnet_disconnect()
    af91321b7372 gpio: mvebu: Fix check for pwm support on non-A8K platforms
    f592ccddac68 Input: melfas_mip4 - fix return value check in mip4_probe()
    ff982b1f325d Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"
    bde7795794f4 drm/bridge: lt8912b: fix corrupted image output
    e103b0e83991 drm/bridge: lt8912b: set hdmi or dvi mode
    473f653a86ee drm/bridge: lt8912b: add vsync hsync
    6a12105d9d4f ASoC: tas2770: Reinit regcache on reset
    75ef73d7d2b3 arm64: dts: qcom: sm8350: fix UFS PHY serdes size
    5664dc84fc2e ASoC: imx-card: Fix refcount issue with of_node_put
    367403bc1cfe soc: sunxi: sram: Fix debugfs info for A64 SRAM C
    68d2f42cf4f6 soc: sunxi: sram: Fix probe function ordering issues
    2f82b5290078 soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()
    861adc2b2037 soc: sunxi: sram: Prevent the driver from being unbound
    8b07378ebe43 soc: sunxi: sram: Actually claim SRAM regions
    d50e0e2f3d94 ARM: dts: am5748: keep usb4_tm disabled
    c48e3db1df25 reset: imx7: Fix the iMX8MP PCIe PHY PERST support
    606229101290 ARM: dts: am33xx: Fix MMCHS0 dma properties
    bfe5dc2101ba swiotlb: max mapping size takes min align mask into account
    a6a3b6b11ac0 media: v4l2-compat-ioctl32.c: zero buffer passed to v4l2_compat_get_array_args()
    ab9d32844742 media: rkvdec: Disable H.264 error detection
    69379139ed78 media: dvb_vb2: fix possible out of bound access
    6287c9e00595 mm,hwpoison: check mm when killing accessing process
    f9aed3d8a029 mm: fix madivse_pageout mishandling on non-LRU page
    1299c1198878 mm/migrate_device.c: flush TLB while holding PTL
    e858f7ac7395 mm: fix dereferencing possible ERR_PTR
    d75ce115625e mm: prevent page_frag_alloc() from corrupting the memory
    23d17e2b04c7 mm/page_alloc: fix race condition between build_all_zonelists and page allocation
    fec2db7a434a mmc: hsq: Fix data stomping during mmc recovery
    4fef6e1fe07c mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
    4f75d0cacd65 libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
    dc248ddf41ea vduse: prevent uninitialized memory accesses
    ea774829699a drm/amdgpu: Add amdgpu suspend-resume code path under SRIOV
    25759a7bc1f4 drm/i915/gt: Restrict forced preemption to the active context
    e0f576335d05 Revert "firmware: arm_scmi: Add clock management to the SCMI power domain"
    5de02ab84aec net: mt7531: only do PLL once after the reset
    56e3f8d56299 mm/damon/dbgfs: fix memory leak when using debugfs_lookup()
    149da9e60b8c ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
    dc8cdb988453 ARM: dts: integrator: Tag PCI host with device_type
    aa5c3aa3f197 x86/sgx: Do not fail on incomplete sanitization on premature stop of ksgxd
    476c188b9dbe clk: ingenic-tcu: Properly enable registers before accessing timers
    d134b0f7a9b9 can: c_can: don't cache TX messages for C_CAN cores
    6fff203793cb Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address
    006a5085a3a8 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
    81e759d71a6b thunderbolt: Explicitly reset plug events delay back to USB4 spec value
    85a70a259916 usb: typec: ucsi: Remove incorrect warning
    ac12a04c8e08 uas: ignore UAS for Thinkplus chips
    528aba78ee01 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
    0a4e8f384e82 uas: add no-uas quirk for Hiksemi usb_disk
    8484a356cee8 cgroup: cgroup_get_from_id() must check the looked-up kn is a directory
    ae04dd5ef180 cgroup: reduce dependency on cgroup_mutex
    7a64e6dc6cb7 ALSA: hda/realtek: fix speakers and micmute on HP 855 G8
    6a3bee2ead9b ALSA: hda: Fix Nvidia dp infoframe
    f7392f93a2fb ALSA: hda: Fix hang at HD-audio codec unbinding due to refcount saturation
    de5deddfa7e7 ALSA: hda: Do disconnect jacks at codec unbind
    90c7e9b400c7 Linux 5.15.71
    214194610a18 ext4: use locality group preallocation for small closed files
    8a1ac4167dda ext4: avoid unnecessary spreading of allocations among groups
    fd8b82919549 ext4: make mballoc try target group first even with mb_optimize_scan
    21dada4ce19c ext4: limit the number of retries after discarding preallocations blocks
    be4df018c0be ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0
    90bc7b630c6c ext4: make directory inode spreading reflect flexbg size
    95d714d8ad3d devdax: Fix soft-reservation memory description
    27bf7a5d1198 NFSv4: Fixes for nfs4_inode_return_delegation()
    21b0301f2234 drm/amdgpu: don't register a dirty callback for non-atomic
    6eb08245da51 i2c: mlxbf: Fix frequency calculation
    dc2a0c587006 i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()
    621c6ab03ac3 i2c: mlxbf: incorrect base address passed during io write
    c242dbf2e36f i2c: imx: If pm_runtime_get_sync() returned 1 device access is possible
    c71ec39be45a workqueue: don't skip lockdep work dependency in cancel_work_sync()
    929ef155e1da fsdax: Fix infinite loop in dax_iomap_rw()
    9aac3819f099 drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
    1c26968caf18 drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage
    492db4ffcff3 drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule()
    9539cfc74493 drm/amd/display: Reduce number of arguments of dml31's CalculateWatermarksAndDRAMSpeedChangeSupport()
    a541c0111818 drm/amd/display: Limit user regamma to a valid value
    33b128f790b6 drm/amdgpu: use dirty framebuffer helper
    f76d6f309a68 drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
    e5ae504c8623 drm/gma500: Fix BUG: sleeping function called from invalid context errors
    e07d9154bb81 Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region
    5f270b61ee8b drm/amd/amdgpu: fixing read wrong pf2vf data in SRIOV
    d3a67c21b18f s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
    faf0e1b5d82b serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting
    0aada772fd16 serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting
    4c7e17270cab serial: Create uart_xmit_advance()
    4199425b1132 serial: fsl_lpuart: Reset prior to registration
    cc1504f6da2e KVM: x86/mmu: Fold rmap_recycle into rmap_add
    dddae48eabfb selftests: forwarding: add shebang for sch_red.sh
    08483e4c0c83 bnxt: prevent skb UAF after handing over to PTP worker
    f8162aed962b net: sched: fix possible refcount leak in tc_new_tfilter()
    bd29ca2b398c net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD
    ec3a6f4ffe55 bonding: fix NULL deref in bond_rr_gen_slave_id
    db145b8a04fc net/smc: Stop the CLC flow if no link to map buffers on
    5daef0042d2c drm/mediatek: dsi: Move mtk_dsi_stop() call back to mtk_dsi_poweroff()
    a08cba2f50d7 perf tools: Honor namespace when synthesizing build-ids
    1a83f39dc4e1 perf kcore_copy: Do not check /proc/modules is unchanged
    a3b923f449a3 perf jit: Include program header in ELF files
    39dc6ccdd5af perf stat: Fix BPF program section name
    c6d939639fe0 can: gs_usb: gs_can_open(): fix race dev->can.state condition
    e1676adedc17 net: sh_eth: Fix PHY state warning splat during system resume
    71200518bbbf net: ravb: Fix PHY state warning splat during system resume
    d5917b7af7ca netfilter: ebtables: fix memory leak when blob is malformed
    08d7524f366a netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()
    91aa52652f4b netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
    c721623efd09 net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs
    f58e43184226 net/sched: taprio: avoid disabling offload when it was never enabled
    510e703e4ed0 net: enetc: deny offload of tc-based TSN features on VF interfaces
    11eb9ed08856 net: enetc: move enetc_set_psfp() out of the common enetc_set_features()
    c60801e4e2b5 wireguard: netlink: avoid variable-sized memcpy on sockaddr
    3ebf690d1cde wireguard: ratelimiter: disable timings test by default
    c2dc533a7edb net: ipa: properly limit modem routing table use
    cbdab7d68f20 of: mdio: Add of_node_put() when breaking out of for_each_xx
    ca86577c10bc drm/hisilicon: Add depends on MMU
    68c4acee6328 drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled
    8547c7bfc061 sfc: fix null pointer dereference in efx_hard_start_xmit
    360910b88d14 sfc: fix TX channel offset when using legacy interrupts
    bc750d7127a9 i40e: Fix set max_tx_rate when it is lower than 1 Mbps
    53220b99059a i40e: Fix VF set max MTU size
    7249a653fe5f iavf: Fix set max MTU size with port VLAN and jumbo frames
    030e0688b6b2 mlxbf_gige: clear MDIO gateway lock after read
    93859f6878e7 iavf: Fix bad page state
    e1dbe8a62098 um: fix default console kernel parameter
    7400e2edfc9e MIPS: Loongson32: Fix PHY-mode being left unspecified
    abea65fa7713 MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko
    831cf63c043e drm/panel: simple: Fix innolux_g121i1_l01 bus_format
    408d5752b60f net: team: Unsync device addresses on ndo_stop
    f50265a4f3da net: bonding: Unsync device addresses on ndo_stop
    e6b277f7367e net: bonding: Share lacpdu_mcast_addr definition
    8b2ab46b6c63 scsi: mpt3sas: Fix return value check of dma_get_required_mask()
    89df49e561b4 scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts()
    5826a555f77c net: phy: aquantia: wait for the suspend/resume operations to finish
    4d2f1bc9067a net: core: fix flow symmetric hash
    8d06006c7eb7 ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header
    dae9d2abe25b iavf: Fix cached head and tail value for iavf_get_tx_pending
    34447d64b8d2 ice: Don't double unplug aux on peer initiated reset
    816eab147e5c netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
    dc33ffbc361e netfilter: nf_conntrack_irc: Tighten matching on DCC message
    0606c5d5fefd netfilter: nf_conntrack_sip: fix ct_sip_walk_headers
    0babb5bc85ee arm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma
    dd5a6c5a0875 dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get()
    1b0e46d970b4 arm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHz
    e352fea1d0fc drm/mediatek: dsi: Add atomic {destroy,duplicate}_state, reset callbacks
    43733b6c9fda arm64: dts: rockchip: Fix typo in lisense text for PX30.Core
    2929463a9eff arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob
    166a332463b5 firmware: arm_scmi: Fix the asynchronous reset requests
    1f08a1b26cfc firmware: arm_scmi: Harden accesses to the reset domains
    9ec5a534d77c xfs: validate inode fork size against fork format
    5caa3a127953 xfs: fix xfs_ifree() error handling to not leak perag ref
    9e7b231687fd xfs: reorder iunlink remove operation in xfs_ifree
    28c7ef86b21b vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment
    3c3edb82d67b arm64: topology: fix possible overflow in amu_fie_setup()
    2427a04bce86 KVM: x86: Inject #UD on emulated XSETBV if XSAVES isn't enabled
    61703b248be9 mm: slub: fix flush_cpu_slab()/__free_slab() invocations in task context.
    2d6e55e0c038 mm/slub: fix to return errno if kmalloc() fails
    71075d7d4632 net: mana: Add rmb after checking owner bits
    19aea370fd09 can: flexcan: flexcan_mailbox_read() fix return value for drop = true
    bf0197aea195 kasan: call kasan_malloc() from __kmalloc_*track_caller()
    c75288a4902b riscv: fix a nasty sigreturn bug...
    97da736cd11a gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
    9b26723e058f gpio: mockup: Fix potential resource leakage when register a chip
    18352095a0d5 gpio: mockup: fix NULL pointer dereference when removing debugfs
    2279e977405b wifi: mt76: fix reading current per-tid starting sequence number for aggregation
    b5bc5a274d54 efi: libstub: check Shim mode using MokSBStateRT
    ef43fee9f211 efi: x86: Wipe setup_data on pure EFI boot
    b173f1f8ef9e thunderbolt: Add support for Intel Maple Ridge single port controller
    65b13f951fe6 usb: dwc3: core: leave default DMA if the controller does not support 64-bit DMA
    7143f6cf58db media: flexcop-usb: fix endpoint type check
    d8a76a2e514f btrfs: fix hang during unmount when stopping a space reclaim worker
    46053262b5f5 btrfs: fix hang during unmount when stopping block group reclaim worker
    b02f86689a5a iommu/vt-d: Check correct capability for sagaw determination
    a963fe6d0eb6 ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop
    4b2fa20da623 ALSA: hda/realtek: Add quirk for ASUS GA503R laptop
    eb54e457c4ad ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack
    0898469913cd ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack
    c6a746b4fca5 ALSA: hda/realtek: Re-arrange quirk table entries
    41e974cd6ecb ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5570 laptop
    5421125bbda8 ALSA: hda/realtek: Add quirk for Huawei WRT-WX9
    84481d7a59a2 ALSA: hda: add Intel 5 Series / 3400 PCI DID
    04b5bd5702ab ALSA: hda/tegra: set depop delay for tegra
    e10425c5424b ALSA: core: Fix double-free at snd_card_new()
    10a8c5d7d393 Revert "ALSA: usb-audio: Split endpoint setups for hw_params and prepare"
    06c0204a6e80 USB: serial: option: add Quectel RM520N
    6cf9e8b7e67a USB: serial: option: add Quectel BG95 0x0203 composition
    369b008bbe36 USB: core: Fix RST error in hub.c
    d10d1e9d9f1e drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
    6eede01dfd0e Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio"
    c02431f43e12 Revert "usb: add quirks for Lenovo OneLink+ Dock"
    8de5e12f587b usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
    2db7a7176c45 usb: add quirks for Lenovo OneLink+ Dock
    a72eee6d905e usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop
    f79a57d4091f usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup()
    1a9923999459 usb: dwc3: gadget: Refactor pullup()
    7604a210acbb usb: dwc3: gadget: Prevent repeat pullup()
    a0b5d22b0448 usb: dwc3: Issue core soft reset before enabling run/stop
    8d583ba79cde usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind
    167b18f25b96 staging: r8188eu: Add Rosewill USB-N150 Nano to device tables
    add40eda8258 staging: r8188eu: Remove support for devices with 8188FU chipset (0bda:f179)
    55653c548612 drm/amdgpu: make sure to init common IP before gmc
    25a90a11036b drm/amdgpu: Separate vf2pf work item init from virt data exchange
    3e98e33d345e Linux 5.15.70
    21f948cab866 ALSA: hda/sigmatel: Fix unused variable warning for beep power change
    5db17805b6ba cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
    39b0235284c7 KVM: SEV: add cache flush to solve SEV cache incoherency issues
    d9bf46e74735 net: Find dst with sk's xfrm policy not ctl_sk
    ab5140c6ddd7 video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write
    9af7af862cb8 mksysmap: Fix the mismatch of 'L0' symbols in System.map
    2340f23c770d drm/panfrost: devfreq: set opp to the recommended one to configure regulator
    7e8df4920b2a MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping()
    af88da4c737a afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked
    2dd0ae85fb3c net: usb: qmi_wwan: add Quectel RM520N
    a5e949e088bc ALSA: hda/tegra: Align BDL entry to 4KB boundary
    3d25aaf71fe0 ALSA: hda/sigmatel: Keep power up while beep is enabled
    d582756bfc71 wifi: mac80211_hwsim: check length for virtio packets
    17898c3b578a rxrpc: Fix calc of resend age
    1bbcd88c3c99 rxrpc: Fix local destruction being repeated
    87cd4c02bdb1 scsi: lpfc: Return DID_TRANSPORT_DISRUPTED instead of DID_REQUEUE
    f08a320b4b60 regulator: pfuze100: Fix the global-out-of-bounds access in pfuze100_regulator_probe()
    80c7be217ba7 ASoC: nau8824: Fix semaphore unbalance at error paths
    f1d57c4c99c2 arm64: dts: juno: Add missing MHU secure-irq
    59b756da49bf video: fbdev: i740fb: Error out if 'pixclock' equals zero
    899f4160b140 binder: remove inaccurate mmap_assert_locked()
    8c2bbfb0ded3 drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega
    0a7d86f156fa drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega
    dcef16f64969 drm/amdgpu: Don't enable LTR if not supported
    710ebf8f1a08 tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa
    309e9f4a17cf parisc: Allow CONFIG_64BIT with ARCH=parisc
    9a72466fb61b cifs: always initialize struct msghdr smb_msg completely
    21c47a08f96a cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
    e1aad8c56090 cifs: revalidate mapping when doing direct writes
    b04e0208d025 of/device: Fix up of_dma_configure_id() stub
    8fd27239ca92 parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()
    5f285e4c47c3 block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowait
    f86092d12fbb drm/meson: Fix OSD1 RGB to YCbCr coefficient
    d38eb1f37538 drm/meson: Correct OSD1 global alpha value
    89cfddd416ba gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
    9a173db71a99 NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0
    cd358b2ee56f pinctrl: sunxi: Fix name for A100 R_PIO
    ca2b798e53d4 pinctrl: rockchip: Enhance support for IRQ_TYPE_EDGE_BOTH
    30fccb4fe449 pinctrl: qcom: sc8180x: Fix wrong pin numbers
    cbafdbb6f6ce pinctrl: qcom: sc8180x: Fix gpio_wakeirq_map
    ba6b9f7cc110 of: fdt: fix off-by-one error in unflatten_dt_nodes()
    c23065adf97f tty: serial: atmel: Preserve previous USART mode if RS485 disabled
    1d01d7beccba serial: atmel: remove redundant assignment in rs485_config
    f3450c33411b drm/tegra: vic: Fix build warning when CONFIG_PM=n
    820b689b4a7a Linux 5.15.69
    277674996dcf Input: goodix - add compatible string for GT1158
    b9b39f7332c5 RDMA/irdma: Use s/g array in post send only when its valid
    125c3ae8a936 usb: gadget: f_uac2: fix superspeed transfer
    fa7e0266c239 usb: gadget: f_uac2: clean up some inconsistent indenting
    07609e83c1b9 soc: fsl: select FSL_GUTS driver for DPIO
    3998dc50ebdc mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region()
    cd698131ef5d usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS
    6087747599ec platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes
    d4441b810bd8 perf/arm_pmu_platform: fix tests for platform_get_irq() failure
    55032fb14d4a net: dsa: hellcreek: Print warning only once
    985a5d3d491d drm/amd/amdgpu: skip ucode loading if ucode_size == 0
    a1347be8f0ff nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change()
    3d380f9d1e2b Input: iforce - add support for Boeder Force Feedback Wheel
    b9682878abee ieee802154: cc2520: add rc code in cc2520_tx()
    3a10e8edee2b gpio: mockup: remove gpio debugfs when remove device
    b4ebcd6d48bc tg3: Disable tg3 device on system reboot to avoid triggering AER
    f715188c23fa hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message
    a86c8d1b36a9 HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo
    2e3aeb48995a dt-bindings: iio: gyroscope: bosch,bmg160: correct number of pins
    1b80691d5115 drm/msm/rd: Fix FIFO-full deadlock
    a9687a2dc7e1 platform/surface: aggregator_registry: Add support for Surface Laptop Go 2
    49801d5f8b67 Input: goodix - add support for GT1158
    709edbac4c45 iommu/vt-d: Fix kdump kernels boot failure with scalable mode
    90f922646f57 tracefs: Only clobber mode/uid/gid on remount if asked
    3c90af5a773a tracing: hold caller_addr to hardirq_{enable,disable}_ip
    64840a4a2d8e task_stack, x86/cea: Force-inline stack helpers
    0b009e5fd146 x86/mm: Force-inline __phys_addr_nodebug()
    f9571a969973 lockdep: Fix -Wunused-parameter for _THIS_IP_
    dee782da3937 ARM: dts: at91: sama7g5ek: specify proper regulator output ranges
    424ac5929d0a ARM: dts: at91: fix low limit for CPU regulator
    8be25fa7cfd6 ARM: dts: imx6qdl-kontron-samx6i: fix spi-flash compatible
    78eb5e326a0e ARM: dts: imx: align SPI NOR node name with dtschema
    3bb12efc5e4d ACPI: resource: skip IRQ override on AMD Zen platforms
    a68a734b19af NFS: Fix WARN_ON due to unionization of nfs_inode.nrequests
    dd20085f2a88 Linux 5.15.68
    e04b25638aef ARM: at91: ddr: remove CONFIG_SOC_SAMA7 dependency
    154e72a4b381 perf machine: Use path__join() to compose a path instead of snprintf(dir, '/', filename)
    590b4f10e3a4 drm/bridge: display-connector: implement bus fmts callbacks
    e084c6ab37d2 arm64: errata: add detection for AMEVCNTR01 incrementing incorrectly
    4740910867ea iommu/vt-d: Correctly calculate sagaw value of IOMMU
    f9e792035a0b arm64/bti: Disable in kernel BTI when cross section thunks are broken
    a8a007c5b10f Revert "arm64: kasan: Revert "arm64: mte: reset the page tag in page->flags""
    7aa57d869e4a hwmon: (mr75203) enable polling for all VM channels
    5e0fddad7100 hwmon: (mr75203) fix multi-channel voltage reading
    948b7beb0073 hwmon: (mr75203) fix voltage equation for negative source input
    a02267ebb247 hwmon: (mr75203) update pvt->v_num and vm_num to the actual number of used sensors
    000f3353231e hwmon: (mr75203) fix VM sensor allocation when "intel,vm-map" not defined
    4b198c41d736 s390/boot: fix absolute zero lowcore corruption on boot
    a557ae094207 iommu/amd: use full 64-bit value in build_completion_wait()
    4f8d65884808 swiotlb: avoid potential left shift overflow
    df82f5ce4f50 i40e: Fix ADQ rate limiting for PF
    39d9de5872b6 i40e: Refactor tc mqprio checks
    657d9d8ac3e6 kbuild: disable header exports for UML in a straightforward way
    12202e0f74fd MIPS: loongson32: ls1c: Fix hang during startup
    166ae43f02fb ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion
    4643fbc79ded ASoC: mchp-spdiftx: remove references to mchp_i2s_caps
    30a455ac385e hwmon: (tps23861) fix byte order in resistance register
    159d35a87ec3 perf script: Fix Cannot print 'iregs' field for hybrid systems
    4519d4e32f98 sch_sfb: Also store skb len before calling child enqueue
    a600a9babad6 RDMA/irdma: Report RNR NAK generation in device caps
    3ca173b217f4 RDMA/irdma: Return correct WC error for bind operation failure
    c1872dfde6f7 RDMA/irdma: Report the correct max cqes from query device
    a1d7c8647c18 nvmet: fix mar and mor off-by-one errors
    a96b1d33ec71 tcp: fix early ETIMEDOUT after spurious non-SACK RTO
    8589bbfad2b4 nvme-tcp: fix regression that causes sporadic requests to time out
    13c80a6c1124 nvme-tcp: fix UAF when detecting digest errors
    8ddd001cef5e erofs: fix pcluster use-after-free on UP platforms
    5fbe35c94abc RDMA/mlx5: Set local port to one when accessing counters
    819110054b14 IB/core: Fix a nested dead lock as part of ODP flow
    55195563ec29 ipv6: sr: fix out-of-bounds read when setting HMAC data.
    4c4eda136410 RDMA/siw: Pass a pointer to virt_to_page()
    595e3616f8e0 xen-netback: only remove 'hotplug-status' when the vif is actually destroyed
    c3efe896f13b iavf: Detach device during reset task
    2ed94383f3a2 i40e: Fix kernel crash during module removal
    3e245b0e2168 ice: use bitmap_free instead of devm_kfree
    8527c9a6bf8e tcp: TX zerocopy should not sense pfmemalloc status
    cd5f1a69d0b6 net: introduce __skb_fill_page_desc_noacc
    7eb9bf4edd1c tipc: fix shift wrapping bug in map_get()
    1a889da60afc sch_sfb: Don't assume the skb is still around after enqueueing to child
    b0b35b455ece Revert "net: phy: meson-gxl: improve link-up behavior"
    2f6640b19edf afs: Use the operation issue time instead of the reply time for callbacks
    e28eb3519d5f rxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2()
    24a4e79d92e0 rxrpc: Fix ICMP/ICMP6 error handling
    59f1c62d91ca ALSA: usb-audio: Register card again for iface over delayed_register option
    4dc401ef8b23 ALSA: usb-audio: Inform the delayed registration more properly
    a8edd49c94b4 RDMA/srp: Set scmnd->result only when scmnd is not NULL
    451c9ce1e2fc netfilter: nf_conntrack_irc: Fix forged IP logic
    1ce55ec5cb7c netfilter: nf_tables: clean up hook list when offload flags check fails
    92837ac04779 netfilter: br_netfilter: Drop dst references before setting.
    940e58f2ccc0 ARM: dts: at91: sama5d2_icp: don't keep vdd_other enabled all the time
    86706fa90be6 ARM: dts: at91: sama5d27_wlsom1: don't keep ldo2 enabled all the time
    d6015c56f477 ARM: dts: at91: sama5d2_icp: specify proper regulator output ranges
    a8ab10c3f137 ARM: dts: at91: sama5d27_wlsom1: specify proper regulator output ranges
    6fbff44cba17 ARM: at91: pm: fix DDR recalibration when resuming from backup and self-refresh
    e11d08c825f2 ARM: at91: pm: fix self-refresh for sama7g5
    32dd0b22a5ba wifi: wilc1000: fix DMA on stack objects
    6f7aa1029f8e RDMA/hns: Fix wrong fixed value of qp->rq.wqe_shift
    c1796dd54259 RDMA/hns: Fix supported page size
    43245c77d9ef soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
    d3eb252d7636 RDMA/cma: Fix arguments order in net device validation
    e2ec1064a47d tee: fix compiler warning in tee_shm_register()
    eb53e84dc1ac regulator: core: Clean up on enable failure
    a53b30716c60 soc: imx: gpcv2: Assert reset before ungating clock
    83a7e5d2f14e ARM: dts: imx6qdl-kontron-samx6i: remove duplicated node
    ae8e70e31763 RDMA/rtrs-srv: Pass the correct number of entries for dma mapped SGL
    ad69caa47861 RDMA/rtrs-clt: Use the right sg_cnt after ib_dma_map_sg
    237f16395304 ASoC: qcom: sm8250: add missing module owner
    3bf4bf54069f cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock
    509e3456d363 cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree
    3b97deb4abf5 NFS: Fix another fsync() issue after a server reboot
    31b992b3c39b NFS: Save some space in the inode
    88d24e83a268 NFS: Further optimisations for 'ls -l'
    1dcc308898e7 scsi: lpfc: Add missing destroy_workqueue() in error path
    6229fa494a59 scsi: mpt3sas: Fix use-after-free warning
    d2ca79dd0b54 drm/i915: Implement WaEdpLinkRateDataReload
    ebf46da50beb nvmet: fix a use-after-free
    58acd2ebae03 drm/amd/display: fix memory leak when using debugfs_lookup()
    26e9a1ded892 sched/debug: fix dentry leak in update_sched_domain_debugfs
    94c84128adb1 debugfs: add debugfs_lookup_and_remove()
    8875d606761e kprobes: Prohibit probes in gate area
    5321908ef74f vfio/type1: Unpin zero pages
    7da1afa444a1 btrfs: zoned: set pseudo max append zone limit in zone emulation mode
    75082adeb414 tracing: Fix to check event_mutex is held while accessing trigger list
    98e8e67395cc ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()
    df5ec554e9e3 ALSA: usb-audio: Split endpoint setups for hw_params and prepare
    d1118465ae2e ALSA: aloop: Fix random zeros in capture data when using jiffies timer
    45814a53514e ALSA: emu10k1: Fix out of bounds access in snd_emu10k1_pcm_channel_alloc()
    8015ef9e8a0e ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC
    ad5ef763dbbe drm/amdgpu: mmVM_L2_CNTL3 register not initialized correctly
    fc5a2a9616f3 fbdev: chipsfb: Add missing pci_disable_device() in chipsfb_pci_init()
    c3abfd6ce2f3 fbdev: fbcon: Destroy mutex on freeing struct fb_info
    a7dff6f41e16 md: Flush workqueue md_rdev_misc_wq in md_alloc()
    0b7058067eb8 net/core/skbuff: Check the return value of skb_copy_bits()
    bd1b769564eb cpufreq: check only freq_table in __resolve_freq()
    e928cf258910 netfilter: conntrack: work around exceeded receive window
    29906311b351 arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_level
    27092358e9c6 parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines
    deb2c9c0770b parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()
    c63ff388e7d4 Revert "parisc: Show error if wrong 32/64-bit compiler is being used"
    c50189129374 scsi: ufs: core: Reduce the power mode change timeout
    5a7a5b2edac4 drm/radeon: add a force flush to delay work when radeon
    622a557b28b7 drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.
    c15c2c2c0896 drm/amdgpu: Move psp_xgmi_terminate call from amdgpu_xgmi_remove_device to psp_hw_fini
    1f574fbe9c2b drm/gem: Fix GEM handle release errors
    bbfd857abbd2 scsi: megaraid_sas: Fix double kfree()
    8179f0e08578 scsi: qla2xxx: Disable ATIO interrupt coalesce for quad port ISP27XX
    625c78e1ae35 Revert "mm: kmemleak: take a full lowmem check in kmemleak_*_phys()"
    7c6333411acf fs: only do a memory barrier for the first set_buffer_uptodate()
    44b402da7b24 wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd()
    dd291e070be0 efi: capsule-loader: Fix use-after-free in efi_capsule_write
    ee06f08139e7 efi: libstub: Disable struct randomization
    6427605fa781 net: wwan: iosm: remove pointless null check
    e1ad7a011591 Linux 5.15.67
    096e34b05a43 kbuild: fix up permissions on scripts/pahole-flags.sh
    bcecd2ee19ef Linux 5.15.66
    e1779c25e48b USB: serial: ch341: fix disabled rx timer on older devices
    e0923b4f38df USB: serial: ch341: fix lost character on LCR updates
    55d328924347 usb: dwc3: disable USB core PHY management
    121c6e37da76 usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup
    9d6a2d022010 usb: dwc3: fix PHY disable sequence
    b775fbf532dc kbuild: Add skip_encoding_btf_enum64 option to pahole
    0baced0e0938 kbuild: Unify options for BTF generation for vmlinux and modules
    309aea4b6b81 tty: n_gsm: add sanity check for gsm->receive in gsm_receive_buf()
    1787ec7dcc37 drm/i915: Skip wm/ddb readout for disabled pipes
    f9a0f49be767 drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirk
    301be8985e87 ALSA: seq: Fix data-race at module auto-loading
    9b7a07fcc5d4 ALSA: seq: oss: Fix data-race for max_midi_devs access
    b2c973b52f14 ALSA: hda/realtek: Add speaker AMP init for Samsung laptops with ALC298
    c5652d5d71cf net: mac802154: Fix a condition in the receive path
    4b9f3743a822 net: Use u64_stats_fetch_begin_irq() for stats fetch.
    57f1407ca166 ip: fix triggering of 'icmp redirect'
    5d20c6f932f2 wifi: mac80211: Fix UAF in ieee80211_scan_rx()
    552ba102a689 wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected
    253ec5fb8405 driver core: Don't probe devices after bus_type.match() probe deferral
    7da29a2cc514 usb: gadget: mass_storage: Fix cdrom data transfers on MAC-OS
    299f4f420f23 usb: xhci-mtk: fix bandwidth release issue
    27102b39b6d0 usb: xhci-mtk: relax TT periodic bandwidth allocation
    c548b99e1c37 USB: core: Prevent nested device-reset calls
    4e22a43ec717 s390: fix nospec table alignments
    047a4d0f7924 s390/hugetlb: fix prepare_hugepage_range() check for 2 GB hugepages
    efdfa236a085 usb-storage: Add ignore-residue quirk for NXP PN7462AU
    0f8b5d706dcd USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020)
    bf6e4243f80b usb: cdns3: fix incorrect handling TRB_SMM flag for ISOC transfer
    f1eb9e5d2f6e usb: cdns3: fix issue with rearming ISO OUT endpoint
    48917032c702 usb: dwc2: fix wrong order of phy_power_on and phy_init
    ea72b22a05ea usb: typec: tcpm: Return ENOTSUPP for power supply prop writes
    4be500c63911 usb: typec: intel_pmc_mux: Add new ACPI ID for Meteor Lake IOM device
    b201f6203197 usb: typec: altmodes/displayport: correct pin assignment for UFP receptacles
    577f84a6f120 USB: serial: option: add support for Cinterion MV32-WA/WB RmNet mode
    6415953963a9 USB: serial: option: add Quectel EM060K modem
    93c283a09959 USB: serial: option: add support for OPPO R11 diag port
    2bb1ad8c957d USB: serial: cp210x: add Decagon UCA device id
    3a6c5c5ab734 xhci: Add grace period after xHC start to prevent premature runtime suspend.
    75913c562f5b media: mceusb: Use new usb_control_msg_*() routines
    2c948dd68b9e usb: dwc3: pci: Add support for Intel Raptor Lake
    23987d01de44 thunderbolt: Use the actual buffer in tb_async_error()
    e31db376f6d1 xen-blkfront: Cache feature_persistent value before advertisement
    895a90ad7b3e xen-blkfront: Advertise feature-persistent as user requested
    3e8107d69fc3 xen-blkback: Advertise feature-persistent as user requested
    c235c4fc521f mm: pagewalk: Fix race between unmap and page walker
    763d77241d8f xen/grants: prevent integer overflow in gnttab_dma_alloc_pages()
    03b1870fbc5e KVM: x86: Mask off unsupported and unknown bits of IA32_ARCH_CAPABILITIES
    111a3586ed4a gpio: pca953x: Add mutex_lock for regcache sync in PM
    53196e037620 hwmon: (gpio-fan) Fix array out of bounds access
    7b8a284ffe7a clk: bcm: rpi: Add missing newline
    ff0b144d4b0a clk: bcm: rpi: Prevent out-of-bounds access
    e827a5f32a0d clk: bcm: rpi: Use correct order for the parameters of devm_kcalloc()
    237b4ef4c088 clk: bcm: rpi: Fix error handling of raspberrypi_fw_get_rate
    5ba6155d3b2f Input: rk805-pwrkey - fix module autoloading
    9766749a30f6 clk: core: Fix runtime PM sequence in clk_core_unprepare()
    c13b0be5ade0 Revert "clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops"
    519cd9c4b56e clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops
    0522550aeed4 drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"
    fec48eba4783 KVM: VMX: Heed the 'msr' argument in msr_write_intercepted()
    9e3c9efa7caf cifs: fix small mempool leak in SMB2_negotiate()
    81203ab7a6ef binder: fix alloc->vma_vm_mm null-ptr dereference
    c2a4b5dc8fa7 binder: fix UAF of ref->proc caused by race condition
    da3c6d0708e6 mmc: core: Fix inconsistent sd3_bus_mode at UHS-I SD voltage switch failure
    8bca22970e1c mmc: core: Fix UHS-I SD 1.8V workaround branch
    fc9b5b3f2ccc USB: serial: ftdi_sio: add Omron CS1W-CIF31 device id
    cf20c3533efc misc: fastrpc: fix memory corruption on open
    0e33b0f322fe misc: fastrpc: fix memory corruption on probe
    95ac9601feb5 iio: adc: mcp3911: use correct formula for AD conversion
    6e933a26e6a2 iio: ad7292: Prevent regulator double disable
    df1b53bc799d Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag
    9f185ca8e019 tty: serial: lpuart: disable flow control while waiting for the transmit engine to complete
    532b255af195 musb: fix USB_MUSB_TUSB6010 dependency
    2535431ae967 vt: Clear selection before changing the font
    a19846f0f45b powerpc: align syscall table for ppc32
    f12afb4b5db0 staging: r8188eu: add firmware dependency
    dc02aaf95001 staging: rtl8712: fix use after free bugs
    01fd7e12f8fb serial: fsl_lpuart: RS485 RTS polariy is inverse
    839ca7969fcf soundwire: qcom: fix device status array range
    fdc69b070071 net/smc: Remove redundant refcount increase
    6ce0d73b2fbd Revert "sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb"
    aca9d0acda9e tcp: annotate data-race around challenge_timestamp
    1c472d671d9c sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb
    55fb8c3baa80 kcm: fix strp_init() order and cleanup
    660df4411ef4 mlxbf_gige: compute MDIO period based on i1clk
    a4c08cbfbcf9 ethernet: rocker: fix sleep in atomic context bug in neigh_timer_handler
    a420d5872601 net/sched: fix netdevice reference leaks in attach_default_qdiscs()
    ce881ddbdc02 net: sched: tbf: don't call qdisc_put() while holding tree lock
    d6ec2f711c94 net: dsa: xrs700x: Use irqsave variant for u64 stats update
    ca54b2bfaab3 openvswitch: fix memory leak at failed datapath creation
    8eeba7ef4d1d net: smsc911x: Stop and start PHY during suspend and resume
    cc2b9170aa34 net: sparx5: fix handling uneven length packets in manual extraction
    5359524251d2 Revert "xhci: turn off port power in shutdown"
    ee19bbed4b03 wifi: cfg80211: debugfs: fix return type in ht40allow_map_read()
    20b2d5be85e9 ALSA: hda: intel-nhlt: Correct the handling of fmt_config flexible array
    59a711467e8d ALSA: hda: intel-nhlt: remove use of __func__ in dev_dbg
    7828b5d0080a drm/i915/display: avoid warnings when registering dual panel backlight
    630ab29120b5 drm/i915/backlight: extract backlight code to a separate file
    9f8558c5c642 ieee802154/adf7242: defer destroy_workqueue call
    222bd95c89b1 bpf, cgroup: Fix kernel BUG in purge_effective_progs
    1c518476ceb4 bpf: Restrict bpf_sys_bpf to CAP_PERFMON
    de22cba333d8 skmsg: Fix wrong last sg check in sk_msg_recvmsg()
    7497f9766f08 iio: adc: mcp3911: make use of the sign bit
    9e1f74294d53 platform/x86: pmc_atom: Fix SLP_TYPx bitfield mask
    1a785b435276 drm/msm/dsi: Fix number of regulators for SDM660
    ab8533946db7 drm/msm/dsi: Fix number of regulators for msm8996_dsi_cfg
    0a4f633548c4 drm/msm/dp: delete DP_RECOVERED_CLOCK_OUT_EN to fix tps4
    e8bd54b0664b drm/msm/dsi: fix the inconsistent indenting
    633c3b4c71bb Linux 5.15.65
    572b646c8d93 net: neigh: don't call kfree_skb() under spin_lock_irqsave()
    facf99bc3a95 net/af_packet: check len when min_header_len equals to 0
    591a98b823fb android: binder: fix lockdep check on clearing vma
    92dc4c1a8e58 btrfs: fix space cache corruption and potential double allocations
    55c7a9152734 kprobes: don't call disarm_kprobe() for disabled kprobes
    6a27997cf44e btrfs: tree-checker: check for overlapping extent items
    1b2a7ddeaa77 btrfs: fix lockdep splat with reloc root extent buffers
    98dfad7fb688 btrfs: move lockdep class helpers to locking.c
    a74fc94fb1a9 testing: selftests: nft_flowtable.sh: use random netns names
    1d8b5d251994 netfilter: conntrack: NF_CONNTRACK_PROCFS should no longer default to y
    85dd24ff77c1 drm/amd/display: avoid doing vm_init multiple time
    898467ac9bcb drm/amdgpu: Increase tlb flush timeout for sriov
    4df54c493e76 drm/amd/display: Fix pixel clock programming
    a89e753d5a9f drm/amd/pm: add missing ->fini_microcode interface for Sienna Cichlid
    a2ede313fbf0 ksmbd: don't remove dos attribute xattr on O_TRUNC open
    a7ada939712a s390/hypfs: avoid error message under KVM
    db6fa03d80ab neigh: fix possible DoS due to net iface start/stop loop
    857048ea1d28 ksmbd: return STATUS_BAD_NETWORK_NAME error status if share is not configured
    5ee30bcfdb32 drm/amd/display: clear optc underflow before turn off odm clock
    e407e04a93d7 drm/amd/display: For stereo keep "FLIP_ANY_FRAME"
    2cddd3d0b049 drm/amd/display: Fix HDMI VSIF V3 incorrect issue
    0c8abeceee0f drm/amd/display: Avoid MPC infinite loop
    061ffb1e419b ASoC: sh: rz-ssi: Improve error handling in rz_ssi_probe() error path
    d347d66b1972 fs/ntfs3: Fix work with fragmented xattr
    bf216c168f9e btrfs: fix warning during log replay when bumping inode link count
    985bbad18408 btrfs: add and use helper for unlinking inode during log replay
    968815211212 btrfs: remove no longer needed logic for replaying directory deletes
    7697ca60db06 btrfs: remove root argument from btrfs_unlink_inode()
    71beead997f5 mmc: sdhci-of-dwcmshc: Re-enable support for the BlueField-3 SoC
    68b6cbaa318e mmc: sdhci-of-dwcmshc: rename rk3568 to rk35xx
    c038e4094ba2 mmc: sdhci-of-dwcmshc: add reset call back for rockchip Socs
    d6a74ee2a7b2 mmc: mtk-sd: Clear interrupts when cqe off/disable
    4676773ea117 drm/i915/gt: Skip TLB invalidations once wedged
    f0582f5ac1ea HID: thrustmaster: Add sparco wheel and fix array length
    77f8e40a3cbb HID: asus: ROG NKey: Ignore portion of 0x5a report
    d74ce3ece402 HID: AMD_SFH: Add a DMI quirk entry for Chromebooks
    a569d41c5aba HID: add Lenovo Yoga C630 battery quirk
    b08469874a16 ALSA: usb-audio: Add quirk for LH Labs Geek Out HD Audio 1V5
    c18a209b56e3 mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse
    a75987714bd2 bpf: Don't redirect packets with invalid pkt_len
    e4ae97295984 ftrace: Fix NULL pointer dereference in is_ftrace_trampoline when ftrace is dead
    34c3dea11895 fbdev: fb_pm2fb: Avoid potential divide by zero error
    a5d1cb908131 net: fix refcount bug in sk_psock_get (2)
    dfd27a737283 HID: hidraw: fix memory leak in hidraw_release()
    f2f6e6752291 media: pvrusb2: fix memory leak in pvr_probe
    e658538c610c udmabuf: Set the DMA mask for the udmabuf device (v2)
    989560b6d9e0 HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report
    67216f47922d Revert "PCI/portdrv: Don't disable AER reporting in get_port_device_capability()"
    9e38a363dc63 Bluetooth: L2CAP: Fix build errors in some archs
    2e0ffef17308 kbuild: Fix include path in scripts/Makefile.modpost
    e9d7ca0c4640 io_uring: fix UAF due to missing POLLFREE handling
    182dc3aa5ae2 io_uring: fix wrong arm_poll error handling
    6c7259c83773 io_uring: fail links when poll fails
    c41e79a0c464 io_uring: bump poll refs to full 31-bits
    7524ec52caa8 io_uring: remove poll entry from list when canceling all
    95a004a223f8 io_uring: Remove unused function req_ref_put
    f770fba096a6 io_uring: poll rework
    8dc669632f0d io_uring: inline io_poll_complete
    20bbcc316314 io_uring: kill poll linking optimisation
    a85d7ac14f22 io_uring: move common poll bits
    040e58f51c0b io_uring: refactor poll update
    b850d6ddc788 io_uring: clean cqe filling functions
    5c0ea4c8e54b io_uring: correct fill events helpers types
    285e77dbb36f arm64: errata: Add Cortex-A510 to the repeat tlbi list
    da60ddd80d09 mm/hugetlb: avoid corrupting page->mapping in hugetlb_mcopy_atomic_pte
    e7a792dcd6a7 Drivers: hv: balloon: Support status report for larger page sizes
    2edbdfc89d9f crypto: lib - remove unneeded selection of XOR_BLOCKS
    6db913f5e449 firmware: tegra: bpmp: Do only aligned access to IPC memory area
    80d46e73e8d3 drm/vc4: hdmi: Depends on CONFIG_PM
    3d2d12fb7815 drm/vc4: hdmi: Rework power up
    8468ccbf4c44 ACPI: thermal: drop an always true check
    f8b07c05b699 drm/bridge: Add stubs for devm_drm_of_get_bridge when OF is disabled
    3ffb97fce282 mm: Force TLB flush for PFNMAP mappings before unlink_file_vma()
    1ded0ef2419e Linux 5.15.64
    4f672112f866 bpf: Don't use tnum_range on array range checking for poke descriptors
    cd2a50d0a097 scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq
    2c72bead9bc6 scsi: ufs: core: Enable link lost interrupt
    da86f80da31a perf stat: Clear evsel->reset_group for each stat run
    b5f5fee03d17 perf/x86/intel/ds: Fix precise store latency handling
    83bd6d121245 perf/x86/intel/uncore: Fix broken read_counter() for SNB IMC PMU
    a38e7ab46740 perf python: Fix build when PYTHON_CONFIG is user supplied
    77864ed6c6ce blk-mq: fix io hung due to missing commit_rqs
    4428d15cddd5 Documentation/ABI: Mention retbleed vulnerability info file for sysfs
    992d2fc2fe7f x86/nospec: Fix i386 RSB stuffing
    577d9c05cc48 binder_alloc: add missing mmap_lock calls when using the VMA
    1ed630bc530a arm64: Fix match_list for erratum 1286807 on Arm Cortex-A76
    af61a8f76039 mptcp: Fix crash due to tcp_tsorted_anchor was initialized before release skb
    661c01b2181d md: call __md_stop_writes in md_stop
    ee0c613bfe83 Revert "md-raid: destroy the bitmap after destroying the thread"
    0038f8593325 mm/hugetlb: fix hugetlb not supporting softdirty tracking
    6ee82524b0aa Revert "usbnet: smsc95xx: Forward PHY interrupts to PHY driver to avoid polling"
    7ae43647f499 Revert "usbnet: smsc95xx: Fix deadlock on runtime resume"
    295219ab7d62 io_uring: fix issue with io_write() not always undoing sb_start_write()
    f8aafb25ec38 riscv: traps: add missing prototype
    c2b7bae7c900 xen/privcmd: fix error exit of privcmd_ioctl_dm_op()
    0351fdbd8cb4 smb3: missing inode locks in punch hole
    3640cdccbe75 nouveau: explicitly wait on the fence in nouveau_bo_move_m2mf
    b490dfcbb921 ACPI: processor: Remove freq Qos request for all CPUs
    f1aedd2ffead Revert "memcg: cleanup racy sum avoidance code"
    ebd6f886aa24 fbdev: fbcon: Properly revert changes when vc_resize() failed
    8195e065abf3 s390: fix double free of GS and RI CBs on fork() failure
    16a12ee619e3 bootmem: remove the vmemmap pages from kmemleak in put_page_bootmem
    9227599cd987 s390/mm: do not trigger write fault when vma does not allow VM_WRITE
    ddcb0696136b mm/damon/dbgfs: avoid duplicate context directory creation
    95587037ea58 asm-generic: sections: refactor memory_intersects
    f96b9f7c1676 writeback: avoid use-after-free after removing device
    0455bef69028 loop: Check for overflow while configuring loop
    500195a109bc x86/nospec: Unwreck the RSB stuffing
    75fa6c733b85 x86/bugs: Add "unknown" reporting for MMIO Stale Data
    a7484eb9f3e0 x86/unwind/orc: Unwind ftrace trampolines with correct ORC entry
    1cdfef6cd296 perf/x86/lbr: Enable the branch type for the Arch LBR by default
    5f52402c7701 btrfs: fix possible memory leak in btrfs_get_dev_args_from_path()
    793505888d60 btrfs: check if root is readonly while setting security xattr
    2aa1a1cff81d btrfs: add info when mount fails due to stale replace target
    17343a515fa5 btrfs: replace: drop assert for suspended replace
    34cab3bba8ca btrfs: fix silent failure when deleting root reference
    50396e19d9d8 net: stmmac: work around sporadic tx issue on link-up
    48f4d54ccc4d ionic: VF initial random MAC address if no assigned mac
    bcbf1d959933 ionic: fix up issues with handling EAGAIN on FW cmds
    9a41433cc73b ionic: clear broken state on generation change
    8d2761dbfcb9 ionic: widen queue_lock use around lif init and deinit
    2bc769b8edb1 rxrpc: Fix locking in rxrpc's sendmsg
    0c3fd13b9c6d i40e: Fix incorrect address type for IPv6 flow rules
    bda3e3892434 ixgbe: stop resetting SYSTIME in ixgbe_ptp_start_cyclecounter
    cb9eaedd9fc0 net: Fix a data-race around sysctl_somaxconn.
    b340f83dafba net: Fix data-races around sysctl_devconf_inherit_init_net.
    181bae6dff66 net: Fix data-races around sysctl_fb_tunnels_only_for_init_net.
    ed14f10e13f6 net: Fix a data-race around netdev_budget_usecs.
    70564ad8d190 net: Fix data-races around sysctl_max_skb_frags.
    289f2f582667 mptcp: stop relying on tcp_tx_skb_cache
    a07f3af6393a tcp: expose the tcp_mark_push() and tcp_skb_entail() helpers
    2baeaef4dd73 net: Fix a data-race around netdev_budget.
    8e9e124aeb9c net: Fix a data-race around sysctl_net_busy_read.
    4e12829fd3b9 net: Fix a data-race around sysctl_net_busy_poll.
    f6b5be42ce4b net: Fix a data-race around sysctl_tstamp_allow_data.
    d39a02760bf2 net: Fix data-races around sysctl_optmem_max.
    0db9ce822f13 ratelimit: Fix data-races in ___ratelimit().
    cd755a7e4062 net: Fix data-races around netdev_tstamp_prequeue.
    4d2c808d0983 net: Fix data-races around netdev_max_backlog.
    572d4cdf907f net: Fix data-races around weight_p and dev_weight_[rt]x_bias.
    33372f2b6c6d net: Fix data-races around sysctl_[rw]mem_(max|default).
    8fbdec08dbf7 netfilter: flowtable: fix stuck flows on cleanup due to pending work
    eb6645a0f2ca netfilter: flowtable: add function to invoke garbage collection immediately
    51f192ae71c3 netfilter: nf_tables: disallow binding to already bound chain
    7196f4577f1c netfilter: nf_tables: disallow jump to implicit chain from set element
    4097749aec54 netfilter: nf_tables: upfront validation of data via nft_data_init()
    cc311eae1f30 netfilter: bitwise: improve error goto labels
    9bf98120a943 netfilter: nft_cmp: optimize comparison for 16-bytes
    c5ba86cde6bb netfilter: nf_tables: consolidate rule verdict trace call
    b6d601211ce4 netfilter: nft_tunnel: restrict it to netdev family
    530f4bb9ed58 netfilter: nft_osf: restrict osf to ipv4, ipv6 and inet families
    6d7ddee50395 netfilter: nf_tables: do not leave chain stats enabled on error
    cafe94e8d685 netfilter: nft_payload: do not truncate csum_offset and csum_type
    fbbecf068a3f netfilter: nft_payload: report ERANGE for too long offset and length
    fbaeb8046e7d netfilter: nf_tables: make table handle allocation per-netns friendly
    9f4b32890768 netfilter: nf_tables: disallow updates of implicit chain
    acca44ec232a bnxt_en: fix NQ resource accounting during vf creation on 57500 chips
    1b2c5428f773 netfilter: ebtables: reject blobs that don't provide all entry points
    7a5d10afeb1b net: ipvtap - add __init/__exit annotations to module init/exit funcs
    fec37fe2f278 bonding: 802.3ad: fix no transmission of LACPDUs
    aa108c97acf1 net: moxa: get rid of asymmetry in DMA mapping/unmapping
    c9dabd1f0410 net: phy: Don't WARN for PHY_READY state in mdio_bus_phy_resume()
    c4b38473b18e net: ipa: don't assume SMEM is page-aligned
    f7de12f247bb net/mlx5e: Fix wrong tc flag used when set hw-tc-offload off
    3f8608199640 net/mlx5e: Fix wrong application of the LRO state
    e161c24a92ef net/mlx5: Avoid false positive lockdep warning by adding lock_class_key
    0782959b92eb net/mlx5e: Properly disable vlan strip on non-UL reps
    fe76b3e67466 ice: xsk: prohibit usage of non-balanced queue id
    141b795ee39e ice: xsk: Force rings to be sized to power of 2
    9c34c33893db nfc: pn533: Fix use-after-free bugs caused by pn532_cmd_timeout
    2e8b65fda933 r8152: fix the RX FIFO settings when suspending
    59cfae681ffb r8152: fix the units of some registers for RTL8156A
    9cf85759e104 rose: check NULL rose_loopback_neigh->loopback
    e1ae035a5663 ntfs: fix acl handling
    d28f319043f0 mm/smaps: don't access young/dirty bit if pte unpresent
    28dccc4eaf98 SUNRPC: RPC level errors should set task->tk_rpc_status
    5626f9535611 NFSv4.2 fix problems with __nfs42_ssc_open
    519543a64650 NFS: Don't allocate nfs_fattr on the stack in __nfs42_ssc_open()
    84dc68c6140c Revert "net: macsec: update SCI upon MAC address change."
    c3f4f07a9eb1 net: use eth_hw_addr_set() instead of ether_addr_copy()
    770afc6e262b fs: require CAP_SYS_ADMIN in target namespace for idmapped mounts
    96f2758a6d02 xfrm: policy: fix metadata dst->dev xmit null pointer dereference
    103bd319c0fc af_key: Do not call xfrm_probe_algs in parallel
    4edd868acd23 xfrm: clone missing x->lastused in xfrm_do_migrate
    26ad2398fe49 xfrm: fix refcount leak in __xfrm_policy_check()
    044f8ff30e62 riscv: lib: uaccess: fix CSR_STATUS SR_SUM bit
    093cb743dcad riscv: lib: uaccess: fold fixups into body
    9de35edff035 btrfs: remove unnecessary parameter delalloc_start for writepage_delalloc()
    da7ad2ec580b btrfs: pass the dentry to btrfs_log_new_name() instead of the inode
    90b9e4892704 btrfs: put initial index value of a directory in a constant
    4438d54ce7a8 scsi: qla2xxx: edif: Fix dropped IKE message
    bcfe37c78854 scsi: qla2xxx: Fix response queue handler reading stale packets
    799e39edb0a8 drivers/base: fix userspace break from using bin_attributes for cpumap and cpulist
    75260fa268e1 Input: i8042 - add additional TUXEDO devices to i8042 quirk tables
    d6351dfe846c Input: i8042 - add TUXEDO devices to i8042 quirk tables
    e7d46453410d Input: i8042 - merge quirk tables
    0b0ee46bf65e Input: i8042 - move __initconst to fix code styling warning
    057238cdce45 btrfs: convert count_max_extents() to use fs_info->max_extent_size
    1aa262c1d056 btrfs: replace BTRFS_MAX_EXTENT_SIZE with fs_info->max_extent_size
    f675e3ae67e4 btrfs: zoned: revive max_zone_append_bytes
    1815305d8199 block: add bdev_max_segments() helper
    dd2ee2fd1fcb block: add a bdev_max_zone_append_sectors helper
    a50d9fde4616 x86/entry: Move CLD to the start of the idtentry macro
    108fb7e99bbf kernel/sys_ni: add compat entry for fadvise64_64
    7c83923031cd parisc: Fix exception handler for fldw and fstw instructions
    6efe7754e05d parisc: Make CONFIG_64BIT available for ARCH=parisc64 only
    f49fd5fe2399 cgroup: Fix race condition at rebind_subsystems()
    5c192867ae57 audit: fix potential double free on error path from fsnotify_add_inode_mark
    edd6e98a752c eth: sun: cassini: remove dead code
    b51ca7326d16 wifi: rtlwifi: remove always-true condition pointed out by GCC 12
    addc9003c2e8 Linux 5.15.63
    b92be74cb2da xfs: reject crazy array sizes being fed to XFS_IOC_GETBMAP*
    1350a4cdfbe6 xfs: revert "xfs: actually bump warning counts when we send warnings"
    12689d950d75 xfs: fix soft lockup via spinning in filestream ag selection loop
    bbc256bf904d xfs: fix overfilling of reserve pool
    90f414686bc4 xfs: always succeed at setting the reserve pool size
    07e17dcd03e0 xfs: remove infinite loop when reserving free block pool
    130b5965da3a xfs: reserve quota for target dir expansion when renaming files
    5e7f687ca727 xfs: reserve quota for dir expansion when linking/unlinking files
    139e6fc6e7a7 xfs: flush inodegc workqueue tasks before cancel
    d66d392c72a6 scsi: ufs: ufs-mediatek: Fix build error and type mismatch
    1a9f5411837a can: j1939: j1939_sk_queue_activate_next_locked(): replace WARN_ON_ONCE with netdev_warn_once()
    e7403632c015 MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0
    e740e787f066 video: fbdev: i740fb: Check the argument of i740_calc_vclk()
    0bdec5eed69c venus: pm_helpers: Fix warning in OPP during probe
    e3c9e9452a8e powerpc/64: Init jump labels before parse_early_param()
    ecdba236bc35 smb3: check xattr value length earlier
    3c201130cc81 f2fs: fix to do sanity check on segment type in build_sit_entries()
    5a01e45b925a f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page()
    3895d353f45a ALSA: control: Use deferred fasync helper
    409e6a799283 ALSA: timer: Use deferred fasync helper
    60110fd26623 ALSA: core: Add async signal helpers
    a5ec4cd45b52 powerpc/ioda/iommu/debugfs: Generate unique debugfs entries
    8641e0bbb5ef ovl: warn if trusted xattr creation fails
    0480540da5a2 powerpc/32: Don't always pass -mcpu=powerpc to the compiler
    3d5d2dc1dc08 powerpc/32: Set an IBAT covering up to _einittext during init
    6568e52b281c watchdog: export lockup_detector_reconfigure
    c5a8d0512018 RISC-V: Add fast call path of crash_kexec()
    64f94e6e1fab riscv: mmap with PROT_WRITE but no PROT_READ is invalid
    e751030eb844 riscv: dts: canaan: Add k210 topology information
    23069475daeb riscv: dts: sifive: Add fu740 topology information
    21d784398a04 ASoC: rsnd: care default case on rsnd_ssiu_busif_err_irq_ctrl()
    9774b96bce7d modules: Ensure natural alignment for .altinstructions and __bug_table sections
    2097c7835162 iommu/io-pgtable-arm-v7s: Add a quirk to allow pgtable PA up to 35bit
    7822d994eb95 mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start
    c983edb06239 vfio: Clear the caps->buf to NULL after free
    a1d8021d2130 KVM: PPC: Book3S HV: Fix "rm_exit" entry in debugfs timings
    17c32546166d tty: serial: Fix refcount leak bug in ucc_uart.c
    ce0432aa8944 lib/list_debug.c: Detect uninitialized lists
    72b850a2a996 ext4: avoid resizing to a partial cluster size
    0e734f91cb1c ext4: avoid remove directory when directory is corrupted
    d9b94c3ace54 drivers:md:fix a potential use-after-free bug
    a600ed25e3d9 nvmet-tcp: fix lockdep complaint on nvmet_tcp_wq flush during queue teardown
    e59ef9b07130 md: Notify sysfs sync_completed in md_reap_sync_thread()
    2dc9615abfbc phy: samsung: phy-exynos-pcie: sanitize init/power_on callbacks
    405ea6d70684 openrisc: io: Define iounmap argument as volatile
    d1fc64bf4526 dmaengine: sprd: Cleanup in .remove() after pm_runtime_get_sync() failed
    d0e2b8e36911 selftests/kprobe: Do not test for GRP/ without event failures
    3645ed60ac07 csky/kprobe: reclaim insn_slot on kprobe unregistration
    fda4bff43bcd RDMA/rxe: Limit the number of calls to each tasklet
    54aa6c49361b dmaengine: dw-axi-dmac: ignore interrupt if no descriptor
    af76e6fdcf92 dmaengine: dw-axi-dmac: do not print NULL LLI during error
    e799817b67b3 um: add "noreboot" command line option for PANIC_TIMEOUT=-1 setups
    405f655ee7f6 PCI/ACPI: Guard ARM64-specific mcfg_quirks
    addff638c417 cxl: Fix a memory leak in an error handling path
    5e24cd70355e pinctrl: intel: Check against matching data instead of ACPI companion
    67b5870a35bb mmc: tmio: avoid glitches when resetting
    0f5916516d86 habanalabs/gaudi: mask constant value before cast
    b09e5ab18c9f habanalabs/gaudi: fix shift out of bounds
    1693fe9ba2ef coresight: etm4x: avoid build failure with unrolled loops
    94aadba8d000 gadgetfs: ep_io - wait until IRQ finishes
    9c8e2e607270 scsi: lpfc: Fix possible memory leak when failing to issue CMF WQE
    b92506dc51f8 scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input
    0af01d2c5edd clk: qcom: clk-alpha-pll: fix clk_trion_pll_configure description
    25041029389b zram: do not lookup algorithm in backends table
    50de5045815e uacce: Handle parent device removal or parent driver module rmmod
    17d58499dc9c clk: qcom: ipq8074: dont disable gcc_sleep_clk_src
    348274a6bb7f vboxguest: Do not use devm for irq
    b9c31d4ae9be usb: dwc2: gadget: remove D+ pull-up while no vbus with usb-role-switch
    fbdbd61a36d8 usb: renesas: Fix refcount leak bug
    0fc62bbc9531 usb: host: ohci-ppc-of: Fix refcount leak bug
    4d6bab8d366a scsi: ufs: ufs-mediatek: Fix the timing of configuring device regulators
    35c3ec7d7a51 clk: ti: Stop using legacy clkctrl names for omap4 and 5
    00c274bc5bfa drm/meson: Fix overflow implicit truncation warnings
    b01d6bfdf2e4 irqchip/tegra: Fix overflow implicit truncation warnings
    49968090f921 PCI: aardvark: Fix reporting Slot capabilities on emulated bridge
    fb76cdd21662 usb: gadget: uvc: call uvc uvcg_warn on completed status instead of uvcg_info
    de6aa7abfebf usb: gadget: uvc: calculate the number of request depending on framesize
    8e142744f0e9 usb: cdns3: fix random warning message when driver load
    c3c1dbad3a2d usb: cdns3 fix use-after-free at workaround 2
    08c0a77b2aec platform/chrome: cros_ec_proto: don't show MKBP version if unsupported
    da56759a4a35 PCI: Add ACS quirk for Broadcom BCM5750x NICs
    6fc955b58acf HID: multitouch: new device class fix Lenovo X12 trackpad sticky
    57b5be2bd1e0 KVM: arm64: Reject 32bit user PSTATE on asymmetric systems
    cb332a666e3f KVM: arm64: Treat PMCR_EL1.LC as RES1 on asymmetric systems
    c682fb70a7df net: qrtr: start MHI channel after endpoit creation
    98e28de472ef drm/sun4i: dsi: Prevent underflow when computing packet sizes
    fe71d84c1a6c drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
    6ee1310f4d14 ASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf()
    3142b5f09e55 ASoC: SOF: Intel: hda: Define rom_status_reg in sof_intel_dsp_desc
    88db4a22d954 drm/imx/dcss: get rid of HPD warning message
    1c7e569c0ece tracing/eprobes: Fix reading of string fields
    830426469f77 gcc-plugins: Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file
    a2cafe242874 kbuild: fix the modules order between drivers and libs
    8ee44abe4cae igb: Add lock to avoid data race
    471295311960 stmmac: intel: Add a missing clk_disable_unprepare() call in intel_eth_pci_remove()
    334554aab154 fec: Fix timer capture timing in `fec_ptp_enable_pps()`
    c56e1fcb3091 i40e: Fix to stop tx_timeout recovery if GLOBR fails
    bd1fd0a02e9a regulator: pca9450: Remove restrictions for regulator-name
    09e512a659e4 i2c: imx: Make sure to unregister adapter on remove()
    b4ac11967e8c ice: Ignore EEXIST when setting promisc mode
    e84c6321f357 net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions()
    caa80c1f8316 net: dsa: don't warn in dsa_port_set_state_now() when driver doesn't support it
    b0672895d8be net: genl: fix error path memory leak in policy dumping
    232fab59a65a net: dsa: felix: fix ethtool 256-511 and 512-1023 TX packet counters
    29c5956061c9 net: dsa: microchip: ksz9477: fix fdb_dump last invalid entry
    ffb155944333 net: fix potential refcount leak in ndisc_router_discovery()
    c7118a579106 net: moxa: pass pdev instead of ndev to DMA functions
    a44a1a14211d mlxsw: spectrum: Clear PTP configuration after unregistering the netdevice
    dd236b62d25e net: dsa: mv88e6060: prevent crash on an unused port
    c0434f0e0586 net/sunrpc: fix potential memory leaks in rpc_sysfs_xprt_state_change()
    dd32ea395658 spi: meson-spicc: add local pow2 clock ops to preserve rate between messages
    1d9e75c3d8cd powerpc/pci: Fix get_phb_number() locking
    e58d1a96e93b netfilter: nf_tables: check NFT_SET_CONCAT flag if field_count is specified
    7ac21b920ee6 netfilter: nf_tables: disallow NFT_SET_ELEM_CATCHALL and NFT_SET_ELEM_INTERVAL_END
    0df32f45be40 netfilter: nf_tables: NFTA_SET_ELEM_KEY_END requires concat and interval flags
    46f64e6325ee netfilter: nf_tables: validate NFTA_SET_ELEM_OBJREF based on NFT_SET_OBJECT flag
    8a6775ede639 netfilter: nf_tables: really skip inactive sets when allocating name
    b59bee8b05b0 netfilter: nf_tables: possible module reference underflow in error path
    3be4d59808bb netfilter: nf_tables: disallow NFTA_SET_ELEM_KEY_END with NFT_SET_ELEM_INTERVAL_END flag
    81dcb3b80475 fs/ntfs3: uninitialized variable in ntfs_set_acl_ex()
    8a38a73cb406 netfilter: nf_tables: use READ_ONCE and WRITE_ONCE for shared generation id access
    cacdddfefe8d ASoC: codec: tlv320aic32x4: fix mono playback via I2S
    18b5a57e7d96 ASoC: tas2770: Fix handling of mute/unmute
    8eab21065492 ASoC: tas2770: Drop conflicting set_bias_level power setting
    0a63bc250cc1 ASoC: tas2770: Allow mono streams
    480bf1e299a4 ASoC: tas2770: Set correct FSYNC polarity
    b318b9dd2ac6 ASoC: SOF: debug: Fix potential buffer overflow by snprintf()
    743dc4377bba iavf: Fix reset error handling
    dab6b551f5ba iavf: Fix adminq error handling
    8af269e5bdf4 nios2: add force_successful_syscall_return()
    c9f78def8856 nios2: restarts apply only to the first sigframe we build...
    3bee7b77d917 nios2: fix syscall restart checks
    f794d1fe6e52 nios2: traced syscall does need to check the syscall number
    80cae5d810d2 nios2: don't leave NULLs in sys_call_table[]
    35d5fd70e8c8 nios2: page fault et.al. are *not* restartable syscalls...
    c293e8abc09e fs/ntfs3: Fix missing i_op in ntfs_read_mft
    efdcf4df7a36 fs/ntfs3: Do not change mode if ntfs_set_ea failed
    78e4aebc35b3 fs/ntfs3: Fix double free on remount
    8feb84857915 fs/ntfs3: Don't clear upper bits accidentally in log_replay()
    8e8e1a84dac7 fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr
    ecda80a345ca fs/ntfs3: Fix using uninitialized value n when calling indx_read
    69979b5e308f dpaa2-eth: trace the allocated address instead of page struct
    f39b424b4301 perf tests: Fix Track with sched_switch test for hybrid case
    5958ef867b9d perf parse-events: Fix segfault when event parser gets an error
    e8ab87549bbe perf probe: Fix an error handling path in 'parse_perf_probe_command()'
    51471b697303 geneve: fix TOS inheriting for ipv4
    a5d7ce086fe9 atm: idt77252: fix use-after-free bugs caused by tst_timer
    75b810104e40 xen/xenbus: fix return type in xenbus_file_read()
    d98b50d5b72d nfp: ethtool: fix the display error of `ethtool -m DEVNAME`
    5c21186c5f3a NTB: ntb_tool: uninitialized heap data in tool_fn_write()
    cffd1cefcdd7 tools build: Switch to new openssl API for test-libcrypto
    86ff5446b4da kbuild: dummy-tools: avoid tmpdir leak in dummy gcc
    f546faa216d0 ceph: don't leak snap_rwsem in handle_cap_grant
    3e7ee4dd1ea4 tools/vm/slabinfo: use alphabetic order when two values are equal
    d27e1834dee2 ceph: use correct index when encoding client supported features
    e49c17867c61 spi: dt-bindings: zynqmp-qspi: add missing 'required'
    b847ea541b1f spi: dt-bindings: cadence: add missing 'required'
    506fc3cab986 dt-bindings: clock: qcom,gcc-msm8996: add more GCC clock sources
    4e96aa5b46d4 dt-bindings: arm: qcom: fix MSM8994 boards compatibles
    5aa6548c0803 dt-bindings: arm: qcom: fix MSM8916 MTP compatibles
    e7a0e9ee5b12 dt-bindings: arm: qcom: fix Longcheer L8150 compatibles
    3632c642cacc dt-bindings: gpio: zynq: Add missing compatible strings
    52d8f48f85f7 vsock: Set socket state back to SS_UNCONNECTED in vsock_connect_timeout()
    e4c0428f8a6f vsock: Fix memory leak in vsock_connect()
    38b2ab9adf50 plip: avoid rcu debug splat
    133a08a3093b ipv6: do not use RT_TOS for IPv6 flowlabel
    5c9e5c44f89d mlx5: do not use RT_TOS for IPv6 flowlabel
    02b2b7372727 geneve: do not use RT_TOS for IPv6 flowlabel
    f150c1f84775 ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool
    06337b9c255d octeontx2-af: Fix key checking for source mac
    dc5be2d4f928 octeontx2-af: Fix mcam entry resource leak
    f9a36fa5367e octeontx2-af: suppress external profile loading warning
    e0fe6aa19a80 octeontx2-af: Apply tx nibble fixup always
    17c3ea739979 octeontx2-pf: Fix NIX_AF_TL3_TL2X_LINKX_CFG register configuration
    0a02159ae636 Input: exc3000 - fix return value check of wait_for_completion_timeout
    a4a945641aca pinctrl: qcom: sm8250: Fix PDC map
    fed2247253dc pinctrl: sunxi: Add I/O bias setting for H6 R-PIO
    be82dc052155 pinctrl: amd: Don't save/restore interrupt status and wake status bits
    c1c7a7c950e6 pinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxed
    9272265f2f76 pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
    79eb8e9e38f3 dt-bindings: arm: qcom: fix Alcatel OneTouch Idol 3 compatibles
    8b7bf35d301d selftests: forwarding: Fix failing tests with old libnet
    c506c9a97120 net: bgmac: Fix a BUG triggered by wrong bytes_compl
    eb2d9dc79f5f net: bcmgenet: Indicate MAC is in charge of PHY PM
    47ac7b2f6a1f net: phy: Warn about incorrect mdio_bus_phy_resume() state
    c4d09fd1e18b devlink: Fix use-after-free after a failed reload
    d3723eab1119 virtio_net: fix memory leak inside XPD_TX with mergeable
    9721e238c24c SUNRPC: Reinitialise the backchannel request buffers before reuse
    d3c262f584df SUNRPC: Fix xdr_encode_bool()
    63e921d4edb3 sunrpc: fix expiry of auth creds
    3f16630fa23b m68k: coldfire/device.c: protect FLEXCAN blocks
    422a02a77159 net: atlantic: fix aq_vec index out of range error
    98dc8fb08299 can: j1939: j1939_session_destroy(): fix memory leak of skbs
    890aba507802 can: mcp251x: Fix race condition on receive interrupt
    6648647599e0 bpf: Check the validity of max_rdwr_access for sock local storage map iterator
    03ca12e583f1 bpf: Acquire map uref in .init_seq_private for sock{map,hash} iterator
    e51b568ea2c8 bpf: Acquire map uref in .init_seq_private for sock local storage map iterator
    2f56304a0cf9 bpf: Acquire map uref in .init_seq_private for hash map iterator
    370805f0e72b bpf: Acquire map uref in .init_seq_private for array map iterator
    18a994e0661c bpf: Don't reinit map value in prealloc_lru_pop
    41fd6cc88aaf BPF: Fix potential bad pointer dereference in bpf_sys_bpf()
    a4cf3dadd1fa NFSv4/pnfs: Fix a use-after-free bug in open
    1e9fd95c27d8 NFSv4.1: RECLAIM_COMPLETE must handle EACCES
    281c6a47416b NFSv4: Fix races in the legacy idmapper upcall
    b32780cda567 NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctly
    0696115a3230 NFSv4.1: Don't decrease the value of seq_nr_highest_sent
    6aea903916c1 Documentation: ACPI: EINJ: Fix obsolete example
    bf7ebebce2c2 apparmor: Fix memleak in aa_simple_write_to_buffer()
    64103ea35773 apparmor: fix reference count leak in aa_pivotroot()
    c62f2f56e086 apparmor: fix overlapping attachment computation
    e89b95f91e63 apparmor: fix setting unconfined mode on a loaded profile
    3104c8a0dc5f apparmor: fix aa_label_asxprint return check
    a683a0d87a22 apparmor: Fix failed mount permission check error message
    31b35b689123 apparmor: fix absroot causing audited secids to begin with =
    017b0ea49262 apparmor: fix quiet_denied for file rules
    8bc5ed70ef58 can: ems_usb: fix clang's -Wunaligned-access warning
    43ae96645898 dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be optional
    2294f43a07ea ALSA: usb-audio: More comprehensive mixer map for ASUS ROG Zenith II
    2fb8f62ee335 tracing: Have filter accept "common_cpu" to be consistent
    dac2b60345ef tracing/probes: Have kprobes and uprobes use $COMM too
    b489aca082a2 tracing/eprobes: Have event probes be consistent with kprobes and uprobes
    a11ce7bfbdb7 tracing/eprobes: Do not hardcode $comm as a string
    ba53c21ce977 tracing/eprobes: Do not allow eprobes to use $stack, or % for regs
    0d7970e8702b tracing/perf: Fix double put of trace event when init fails
    14674e47ff49 x86/kprobes: Fix JNG/JNLE emulation
    860efae12788 cifs: Fix memory leak on the deferred close
    6379a9af7cfc btrfs: fix lost error handling when looking up extended ref on log replay
    7ac430e319e9 btrfs: reset RO counter on block group if we fail to relocate
    78f8c2370e3d btrfs: unset reloc control if transaction commit fails in prepare_to_relocate()
    d8fc9df94b88 mmc: meson-gx: Fix an error handling path in meson_mmc_probe()
    6c4541d6b881 mmc: pxamci: Fix an error handling path in pxamci_probe()
    8b7ed38c38e1 mmc: pxamci: Fix another error handling path in pxamci_probe()
    23179d5b7c39 ata: libata-eh: Add missing command name
    82a27c185544 drm/amd/display: Check correct bounds for stream encoder instances for DCN303
    76672cd326c1 drm/ttm: Fix dummy res NULL ptr deref bug
    016b71479f46 drm/nouveau: recognise GA103
    1b7e0482abd0 locking/atomic: Make test_and_*_bit() ordered on failure
    852f6a784a4b rds: add missing barrier to release_refill
    d26beb910904 x86/mm: Use proper mask when setting PUD mapping
    177bf3542009 KVM: Unconditionally get a ref to /dev/kvm module when creating a VM
    e9a6a3bd97c7 ALSA: hda/realtek: Add quirk for Clevo NS50PU, NS70PU
    5d396df4631a ALSA: info: Fix llseek return value when using callback
    a0a7e0b2b8b2 Linux 5.15.62
    2a9114b3ec6f btrfs: raid56: don't trust any cached sector in __raid56_parity_recover()
    0d9c713cc30f btrfs: only write the sectors in the vertical stripe which has data stripes
    3eb602ad6a94 x86/ftrace: Use alternative RET encoding
    543138c55518 x86/ibt,ftrace: Make function-graph play nice
    f6632763484c Revert "x86/ftrace: Use alternative RET encoding"
    cb69d4d6f709 ksmbd: fix heap-based overflow in set_ntacl_dacl()
    c76b216753c9 ksmbd: prevent out of bound read for SMB2_WRITE
    5430db94434f net_sched: cls_route: disallow handle of 0
    c12f0e6126ad tee: add overflow check in register_shm_helper()
    3746d62ecf1c io_uring: use original request task for inflight tracking
    374bf3fc1f53 Linux 5.15.61
    17bf429b913b scsi: lpfc: Resolve some cleanup issues following SLI path refactoring
    6e99860de6f4 scsi: lpfc: Fix element offset in __lpfc_sli_release_iocbq_s4()
    9a570069cdbb scsi: lpfc: Fix locking for lpfc_sli_iocbq_lookup()
    f27259515797 drm/bridge: Move devm_drm_of_get_bridge to bridge/panel.c
    2711bedab26c Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm regression
    449928869475 Revert "net: usb: ax88179_178a needs FLAG_SEND_ZLP"
    fa3040688d75 io_uring: mem-account pbuf buckets
    50446ac34545 drm/meson: Fix refcount leak in meson_encoder_hdmi_init
    a8278cf3f00d drm/msm: Fix dirtyfb refcounting
    3cfd07084b7e tracing/perf: Avoid -Warray-bounds warning for __rel_loc macro
    1889f4135fb2 drm/vc4: change vc4_dma_range_matches from a global to static
    3131a20eee20 net: phy: smsc: Disable Energy Detect Power-Down in interrupt mode
    a25f45ff8856 drm/bridge: tc358767: Fix (e)DP bridge endpoint parsing in dedicated function
    276e1cac8085 Revert "s390/smp: enforce lowcore protection on CPU restart"
    93d28e50cf72 Revert "mwifiex: fix sleep in atomic context bugs caused by dev_coredumpv"
    621b596b29e5 crypto: lib/blake2s - reduce stack frame usage in self test
    aa480f7d74b9 tcp: fix over estimation in sk_forced_mem_schedule()
    4db561ae4a90 mac80211: fix a memory leak where sta_info is not freed
    57bbb691a93b net_sched: cls_route: remove from list when handle is 0
    f467478d15fa tracing: Use a struct alignof to determine trace event field alignment
    5bafa7df79de powerpc: Fix eh field when calling lwarx on PPC32
    c98e956ef489 xen-blkfront: Apply 'feature_persistent' parameter when connect
    ef26b5d530d4 xen-blkback: Apply 'feature_persistent' parameter when connect
    7304be4c985d xen-blkback: fix persistent grants negotiation
    9e7dab7edabd tpm: eventlog: Fix section mismatch for DEBUG_SECTION_MISMATCH
    84075af9fb4a KEYS: asymmetric: enforce SM2 signature use pkey algo
    1be97463696c ext4: fix race when reusing xattr blocks
    470f0a5ef519 ext4: unindent codeblock in ext4_xattr_block_set()
    51877de35d21 ext4: use kmemdup() to replace kmalloc + memcpy
    0b885394fd00 ext4: remove EA inode entry from mbcache on inode eviction
    19dac09bd956 ext4: make sure ext4_append() always allocates new block
    ef6e69026d88 ext4: check if directory block is within i_size
    30dfb75e1f86 ext4: fix warning in ext4_iomap_begin as race between bmap and write
    9a080f8b085a ext4: correct the misjudgment in ext4_iget_extra_inode
    7dbba7916920 ext4: correct max_inline_xattr_value_size computing
    21f6bd5cbdab ext4: fix use-after-free in ext4_xattr_set_entry
    e6321fda51e5 ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h
    133b80d5582e ext4: fix extent status tree race in writeback error recovery path
    88bcc518e4ad ext4: update s_overhead_clusters in the superblock during an on-line resize
    3c0a5a0e1c66 tracing: Avoid -Warray-bounds warning for __rel_loc macro
    994dea8549f2 tracing: Add '__rel_loc' using trace event macros
    50235d9a1f1f dm raid: fix address sanitizer warning in raid_resume
    4c233811a495 dm raid: fix address sanitizer warning in raid_status
    34bef00a325a KVM: nVMX: Attempt to load PERF_GLOBAL_CTRL on nVMX xfer iff it exists
    e365c817beef KVM: VMX: Add helper to check if the guest PMU has PERF_GLOBAL_CTRL
    1eedac05b2f3 KVM: x86/pmu: Ignore pmu->global_ctrl check if vPMU doesn't support global_ctrl
    9f1a17222a8b KVM: VMX: Mark all PERF_GLOBAL_(OVF)_CTRL bits reserved if there's no vPMU
    81f723a006e7 KVM: x86/pmu: Introduce the ctrl_mask value for fixed counter
    0ceef1c56875 powerpc/powernv/kvm: Use darn for H_RANDOM on Power9
    0eeb7037a479 ACPI: CPPC: Do not prevent CPPC from working in the future
    2cc23122653f btrfs: properly flag filesystem with BTRFS_FEATURE_INCOMPAT_BIG_METADATA
    b5c541758650 btrfs: reset block group chunk force if we have to wait
    b367f125c80f btrfs: ensure pages are unlocked on cow_file_range() failure
    0b7f5d7a4d2a block: don't allow the same type rq_qos add more than once
    b055781dd947 block: remove the struct blk_queue_ctx forward declaration
    d2cbdbe22b5f locking/csd_lock: Change csdlock_debug from early_param to __setup
    96ba981f09a9 timekeeping: contribute wall clock to rng on time change
    6b841a891d28 ARM: remove some dead code
    7a7188df3eae net/9p: Initialize the iounit field during fid creation
    f83131a3071a dm thin: fix use-after-free crash in dm_sm_register_threshold_callback
    779fd8cb621e kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification
    9769bd964d54 dm writecache: set a default MAX_WRITEBACK_JOBS
    10bc71642fad tty: 8250: Add support for Brainboxes PX cards.
    6f47a7594bcf serial: 8250: Add proper clock handling for OxSemi PCIe devices
    96f2c1685b1c serial: 8250: Fold EndRun device support into OxSemi Tornado code
    b49c3b3a911d serial: 8250_pci: Replace dev_*() by pci_*() macros
    5baacb540c5a serial: 8250_pci: Refactor the loop in pci_ite887x_init()
    55e5487ae294 PCI: qcom: Power on PHY before IPQ8074 DBI register accesses
    c5d3873d3e1c PCI/AER: Iterate over error counters instead of error strings
    0b4c0003aeda iommu/vt-d: avoid invalid memory access via node_online(NUMA_NO_NODE)
    f2145a1bf7ab KVM: x86: Signal #GP, not -EPERM, on bad WRMSR(MCi_CTL/STATUS)
    1f71d1f7f491 KVM: set_msr_mce: Permit guests to ignore single-bit ECC errors
    925cc6d6ff8a intel_th: pci: Add Raptor Lake-S CPU support
    6d3c02fd9600 intel_th: pci: Add Raptor Lake-S PCH support
    df6faa9798eb intel_th: pci: Add Meteor Lake-P support
    2b5ef6430c21 scsi: lpfc: Remove extra atomic_inc on cmd_pending in queuecommand after VMID
    b4543dbea84c scsi: lpfc: SLI path split: Refactor SCSI paths
    c56cc7fefc31 scsi: lpfc: SLI path split: Refactor fast and slow paths to native SLI4
    1c5e670d6a5a scsi: lpfc: SLI path split: Refactor lpfc_iocbq
    eb36ec3039ce scsi: lpfc: Fix EEH support for NVMe I/O
    0c29e149b6bb firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
    b574d1e3e9a2 usbnet: smsc95xx: Fix deadlock on runtime resume
    eaf3a094d892 usbnet: smsc95xx: Forward PHY interrupts to PHY driver to avoid polling
    09201006dac9 usbnet: smsc95xx: Avoid link settings race on interrupt reception
    048872438876 usbnet: smsc95xx: Don't clear read-only PHY interrupt
    c232db672713 drm/vc4: drv: Adopt the dma configuration from the HVS or V3D component
    4a54c13786c5 drm/dp/mst: Read the extended DPCD capabilities during system resume
    3dd33a09f5dc crypto: blake2s - remove shash module
    f96a9815b466 drm/mediatek: Keep dsi as LP00 before dcs cmds transfer
    8aa68065a877 drm/mediatek: Allow commands to be sent during video mode
    1e0ca3d809c3 spmi: trace: fix stack-out-of-bound access in SPMI tracing functions
    8cbc36e7e37a __follow_mount_rcu(): verify that mount_lock remains unchanged
    60c981f4b787 Input: gscps2 - check return value of ioremap() in gscps2_probe()
    9e255ed238fc posix-cpu-timers: Cleanup CPU timers before freeing them during exec
    c9c965fa1974 SMB3: fix lease break timeout when multiple deferred close handles for the same file.
    c273671ae826 x86/olpc: fix 'logical not is only applied to the left hand side'
    1cbf3882cb37 x86/kprobes: Update kcb status flag after singlestepping
    7c91c8da431d ftrace/x86: Add back ftrace_expected assignment
    0b00cb428f74 x86/bugs: Enable STIBP for IBPB mitigated RETBleed
    15f67058a1ee scsi: qla2xxx: Fix losing FCP-2 targets during port perturbation tests
    6f1d5e6979c1 scsi: qla2xxx: Fix losing target when it reappears during delete
    420e449e21b9 scsi: qla2xxx: Fix losing FCP-2 targets on long port disable with I/Os
    3f1102898b7b scsi: qla2xxx: Wind down adapter after PCIe error
    3b38c7f0c6ac scsi: qla2xxx: Fix erroneous mailbox timeout after PCI error injection
    1209da5278eb scsi: qla2xxx: Fix excessive I/O error messages by default
    b7bae3886a30 scsi: qla2xxx: Fix crash due to stale SRB access around I/O timeouts
    a76a155851fc scsi: qla2xxx: Turn off multi-queue for 8G adapters
    505fb1cc4328 scsi: qla2xxx: Fix discovery issues in FC-AL topology
    27a7805a19a7 scsi: qla2xxx: Fix imbalance vha->vref_count
    781a7dabeac2 scsi: zfcp: Fix missing auto port scan and thus missing target ports
    f5183d66c4f4 scsi: ufs: core: Correct ufshcd_shutdown() flow
    ce50d94afcb8 video: fbdev: s3fb: Check the size of screen before memset_io()
    0701df594bc1 video: fbdev: arkfb: Check the size of screen before memset_io()
    4a3cef1eaced video: fbdev: vt8623fb: Check the size of screen before memset_io()
    fff6bb19d56c f2fs: do not allow to decompress files have FI_COMPRESS_RELEASED
    05244b62ae94 f2fs: allow compression for mmap files in compress_mode=user
    608d4c5f9f4d x86/entry: Build thunk_$(BITS) only if CONFIG_PREEMPTION=y
    748d2e9585ae sched/core: Do not requeue task on CPU excluded from cpus_mask
    dd960a0ddd43 sched: Remove the limitation of WF_ON_CPU on wakelist if wakee cpu is idle
    f9ab9bcf53b6 sched: Fix the check of nr_running at queue wakelist
    1584dc3da7b4 tools/thermal: Fix possible path truncations
    236c1502520b video: fbdev: arkfb: Fix a divide-by-zero bug in ark_set_pixclock()
    3bb94ff1e794 x86/numa: Use cpumask_available instead of hardcoded NULL check
    147f66d22f58 sched, cpuset: Fix dl_cpu_busy() panic due to empty cs->cpus_allowed
    e51b98166334 sched/deadline: Merge dl_task_can_attach() and dl_cpu_busy()
    8fb62a576178 scripts/faddr2line: Fix vmlinux detection on arm64
    7f060ad6cb86 genelf: Use HAVE_LIBCRYPTO_SUPPORT, not the never defined HAVE_LIBCRYPTO
    e1c355ec7df1 powerpc/pci: Fix PHB numbering when using opal-phbid
    31dad89b16ed x86/bus_lock: Don't assume the init value of DEBUGCTLMSR.BUS_LOCK_DETECT to be zero
    a1edb85e60fd kprobes: Forbid probing on trampoline and BPF code areas
    533a06858b01 perf symbol: Fail to read phdr workaround
    5eaa93caa63a powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address
    ea494e8a9852 powerpc/xive: Fix refcount leak in xive_get_max_prio
    69e9fa07b229 powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader
    74715fe0726c f2fs: fix to remove F2FS_COMPR_FL and tag F2FS_NOCOMP_FL at the same time
    9536d5451cf4 s390/smp: enforce lowcore protection on CPU restart
    70caac180f14 s390/maccess: rework absolute lowcore accessors
    ac0a3e2131bd s390/smp: cleanup control register update routines
    a002b8641254 s390/smp: cleanup target CPU callback starting
    9287df436294 s390/dump: fix os_info virtual vs physical address confusion
    cf0e42eb04c7 tty: serial: fsl_lpuart: correct the count of break characters
    ef0f4eeaba24 powerpc/pci: Prefer PCI domain assignment via DT 'linux,pci-domain' and alias
    df466a61f699 powerpc/iommu: Fix iommu_table_in_use for a small default DMA window case
    5414409ada0c powerpc/32: Do not allow selection of e5500 or e6500 CPUs on PPC32
    14965b8e2952 powerpc/32: Call mmu_mark_initmem_nx() regardless of data block mapping.
    96ead6679803 ASoC: mchp-spdifrx: disable end of block interrupt on failures
    8301c204db28 video: fbdev: sis: fix typos in SiS_GetModeID()
    29f06f1905c3 video: fbdev: amba-clcd: Fix refcount leak bugs
    f28764d10e9f watchdog: armada_37xx_wdt: check the return value of devm_ioremap() in armada_37xx_wdt_probe()
    84ddf527f907 watchdog: sp5100_tco: Fix a memory leak of EFCH MMIO resource
    27d0c621225d ASoC: audio-graph-card: Add of_node_put() in fail path
    642ebdd9579d fuse: Remove the control interface for virtio-fs
    509a5cb39019 ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp()
    2e1b17ec0423 ASoC: imx-card: use snd_pcm_format_t type for asrc_format
    8ea7f75b87fa ASoC: fsl_easrc: use snd_pcm_format_t type for sample_format
    78263868dbe5 ASoC: fsl-asoc-card: force cast the asrc_format type
    10961cbaea2a ASoC: fsl_asrc: force cast the asrc_format type
    b08c3473ee1e s390/zcore: fix race when reading from hardware system area
    f1415771f6a1 s390/crash: fix incorrect number of bytes to copy to user space
    2165fd2bae8a s390/maccess: fix semantics of memcpy_real() and its callers
    ceea1bc15310 s390/dump: fix old lowcore virtual vs physical address confusion
    3ea02fc5d488 perf tools: Fix dso_id inode generation comparison
    c7d4e6cdd14f iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop
    facd31bbc799 mfd: max77620: Fix refcount leak in max77620_initialise_fps
    a8aa2a76eec7 mfd: t7l66xb: Drop platform disable callback
    0386a985a802 remoteproc: sysmon: Wait for SSCTL service to come up
    48042b342eae remoteproc: qcom: pas: Check if coredump is enabled
    3336e7c0767f proc: fix a dentry lock race between release_task and lookup
    f28e4d214839 lib/smp_processor_id: fix imbalanced instrumentation_end() call
    74824db8b2fa kfifo: fix kfifo_to_user() return type
    ece6cfe62a10 rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge
    f543a9d19c29 MIPS: Fixed __debug_virt_addr_valid()
    8324649b0035 net: 9p: fix refcount leak in p9_read_work() error handling
    273c16d93f86 9p: Add client parameter to p9_req_put()
    3ac76cdab956 9p: Drop kref usage
    eb3eed52a77c 9p: fix a bunch of checkpatch warnings
    79f1a945bcaf iommu/exynos: Handle failed IOMMU device registration properly
    9a06340c9d95 serial: 8250_bcm7271: Save/restore RTS in suspend/resume
    3d69d86b3e9d ASoC: mt6359: Fix refcount leak bug
    1008e81163e8 swiotlb: fail map correctly with failed io_tlb_default_mem
    80f697b57f57 MIPS: vdso: Utilize __pa() for gic_pfn
    447e0f4be850 tty: n_gsm: fix missing corner cases in gsmld_poll()
    c94ea1a49eb8 tty: n_gsm: fix DM command
    fdcd4b065224 tty: n_gsm: fix wrong T1 retry count handling
    583cba5004f0 serial: 8250_fsl: Don't report FE, PE and OE twice
    79ed8856445b vfio/ccw: Do not change FSM state in subchannel event
    2ebb5a55d526 remoteproc: qcom: wcnss: Fix handling of IRQs
    fd3adcb84f7f ASoC: imx-card: Fix DSD/PDM mclk frequency
    7c69f70dc515 ASoC: qcom: Fix missing of_node_put() in asoc_qcom_lpass_cpu_platform_probe()
    e46bc8cacdb6 tty: n_gsm: fix resource allocation order in gsm_activate_mux()
    c9754e10f1a5 tty: n_gsm: fix race condition in gsmld_write()
    a7fa41552407 tty: n_gsm: fix packet re-transmission without open control channel
    ace28afbc63f tty: n_gsm: fix non flow control frames during mux flow off
    dd37f6573878 tty: n_gsm: fix missing timer to handle stalled links
    1018139cbb48 tty: n_gsm: fix wrong queuing behavior in gsm_dlci_data_output()
    dfa9b6d34aac tty: n_gsm: fix tty registration before control channel open
    3c8d5fdca881 tty: n_gsm: fix user open not possible at responder until initiator open
    794604fbd716 tty: n_gsm: Delete gsmtty open SABM frame when config requester
    76385916d093 ASoC: samsung: change gpiod_speaker_power and rx1950_audio from global to static variables
    87b1a9175f08 powerpc/perf: Optimize clearing the pending PMI and remove WARN_ON for PMI check in power_pmu_disable
    b01b18cd3d92 ASoC: samsung: h1940_uda1380: include proepr GPIO consumer header
    0dc1663e3fc2 remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init
    f0c151602f9b profiling: fix shift too large makes kernel panic
    49929f3ee8d3 selftests/livepatch: better synchronize test_klp_callbacks_busy
    cf112a52d758 remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init
    2a7d605d74a2 rpmsg: mtk_rpmsg: Fix circular locking dependency
    f061773b7b55 rpmsg: char: Add mutex protection for rpmsg_eptdev_open()
    c81935d0e056 ASoC: codecs: wcd9335: move gains from SX_TLV to S8_TLV
    a24bb7fe7bab ASoC: codecs: msm8916-wcd-digital: move gains from SX_TLV to S8_TLV
    372b49ba0775 serial: 8250_dw: Store LSR into lsr_saved_flags in dw8250_tx_wait_empty()
    ad7fd9f652bc serial: 8250: dma: Allow driver operations before starting DMA transfers
    f945b12e65c5 serial: 8250: Export ICR access helpers for internal use
    994f2edeeb21 ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe
    542861e5e2fa ASoC: codecs: da7210: add check for i2c_add_driver
    7dee72b1bcec ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe
    540c7b7385fb ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe
    349242e6445a ASoC: imx-audmux: Silence a clang warning
    d69244d0ff1e ASoC: samsung: Fix error handling in aries_audio_probe
    1065c3853258 ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe
    13741bb88a93 opp: Fix error check in dev_pm_opp_attach_genpd()
    0edd9f8d13a8 usb: cdns3: Don't use priv_dev uninitialized in cdns3_gadget_ep_enable()
    e62f79827784 jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal aborted
    5f9c70833ba6 ext4: recover csum seed of tmp_inode after migrating to extents
    b0e1268a8efd jbd2: fix outstanding credits assert in jbd2_journal_commit_transaction()
    70f70d54f06b block: ensure iov_iter advances for added pages
    a24f05f7ced7 block/bio: remove duplicate append pages code
    54e5b14c9b7f nvme: catch -ENODEV from nvme_revalidate_zones again
    a3f6aeba670e nvme: don't return an error from nvme_configure_metadata
    92a6233585dc nvme: disable namespace access for unsupported metadata
    52cd55a4fb2d nvme: define compat_ioctl again to unbreak 32-bit userspace.
    34552bf35f91 nvme: use command_id instead of req->tag in trace_nvme_complete_rq()
    87e7ba8b0b5b null_blk: fix ida error handling in null_add_dev()
    06f39bc5a7e9 block/rnbd-srv: Set keep_id to true after mutex_trylock
    2ceeb04252e6 RDMA/rxe: Fix error unwind in rxe_create_qp()
    bfb54ad9581d RDMA/rxe: Remove the is_user members of struct rxe_sq/rxe_rq/rxe_srq
    66c735c9a747 RDMA/rxe: Add memory barriers to kernel queues
    931990c820bb RDMA/mlx5: Add missing check for return value in get namespace flow
    0911cadd4f59 of/fdt: declared return type does not match actual return type
    128eeac87618 selftests: kvm: set rax before vmcall
    9fc8d3bee714 mm/mmap.c: fix missing call to vm_unacct_memory in mmap_region
    622ef885a89a android: binder: stop saving a pointer to the VMA
    e60d7e2462bf RDMA/srpt: Fix a use-after-free
    e7e853cdde17 RDMA/srpt: Introduce a reference count in struct srpt_device
    ca120c04bfa8 RDMA/srpt: Duplicate port name members
    28621b38ac57 platform/olpc: Fix uninitialized data in debugfs write
    e389e927e8f1 KVM: nVMX: Set UMIP bit CR4_FIXED1 MSR when emulating UMIP
    ee890b463398 mtd: spi-nor: fix spi_nor_spimem_setup_op() call in spi_nor_erase_{sector,chip}()
    bfa020146858 usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()
    477c95578c3a USB: serial: fix tty-port initialized comments
    2988443802fc HID: amd_sfh: Handle condition of "no sensors"
    0d265155501e PCI: tegra194: Fix link up retry sequence
    472db7de9ff5 PCI: tegra194: Fix Root Port interrupt handling
    e4adb10bc5c6 RDMA/rxe: For invalidate compare according to set keys in mr
    3695aa94d789 HID: alps: Declare U1_UNICORN_LEGACY support
    71fdd63bfdbc mmc: cavium-thunderx: Add of_node_put() when breaking out of loop
    209b5d06e989 mmc: cavium-octeon: Add of_node_put() when breaking out of loop
    022c8d3f45fc RDMA/rxe: Fix mw bind to allow any consumer key portion
    45382d69074a scripts/gdb: fix 'lx-dmesg' on 32 bits arch
    9227a870b8e2 scripts/gdb: lx-dmesg: read records individually
    3adcd80b5e10 dmaengine: imx-dma: Cast of_device_get_match_data() with (uintptr_t)
    118e05368e27 HID: amd_sfh: Add NULL check for hid device
    91443c669d28 HID: mcp2221: prevent a buffer overflow in mcp_smbus_write()
    eafb19c8fe04 gpio: gpiolib-of: Fix refcount bugs in of_mm_gpiochip_add_data()
    e25b828553ae RDMA/hfi1: fix potential memory leak in setup_base_ctxt()
    5870343eabea clk: qcom: gcc-msm8939: Fix weird field spacing in ftbl_gcc_camss_cci_clk
    c41664346aa6 iio: cros: Register FIFO callback after sensor is registered
    f6e26e1a5f60 RDMA/siw: Fix duplicated reported IW_CM_EVENT_CONNECT_REPLY event
    9fc44cfd1866 RDMA/hns: Fix incorrect clearing of interrupt status register
    7e647a8d5fc0 RDMA/qedr: Fix potential memory leak in __qedr_alloc_mr()
    f851d8097fd9 RDMA/rtrs-clt: Replace list_next_or_null_rr_rcu with an inline function
    527df029be34 RDMA/rtrs-clt: Rename rtrs_clt_sess to rtrs_clt_path
    bab17b761c89 RDMA/rtrs-srv: Rename rtrs_srv_sess to rtrs_srv_path
    f706fcd56858 RDMA/rtrs: Rename rtrs_sess to rtrs_path
    e44928f2db0f RDMA/rtrs: Do not allow sessname to contain special symbols / and .
    8b6dba78922d RDMA/rtrs: Introduce destroy_cq helper
    001f93b39ef7 RDMA/rtrs: Replace duplicate check with is_pollqueue helper
    9c663e73f556 RDMA/rtrs: Fix warning when use poll mode on client side.
    08ff62fff0b1 RDMA/rtrs-srv: Fix modinfo output for stringify
    b801e80e1162 RDMA/irdma: Fix setting of QP context err_rq_idx_valid field
    9f9ef6cb72a3 RDMA/irdma: Fix VLAN connection with wildcard address
    92520864ef9f RDMA/irdma: Fix a window for use-after-free
    62d610cfc16f um: random: Don't initialise hwrng struct with zero
    3bf1085657f8 interconnect: imx: fix max_node_id
    52537ea892a5 phy: stm32: fix error return in stm32_usbphyc_phy_init
    3f2989ed9570 eeprom: idt_89hpesx: uninitialized data in idt_dbgfs_csr_write()
    edd22e6ad249 usb: dwc3: qcom: fix missing optional irq warnings
    116540c1052e usb: dwc3: core: Do not perform GCTL_CORE_SOFTRESET during bootup
    92728470a952 usb: dwc3: core: Deprecate GCTL.CORESOFTRESET
    4070f3c83cd2 usb: aspeed-vhub: Fix refcount leak bug in ast_vhub_init_desc()
    120538461985 usb: gadget: udc: amd5536 depends on HAS_DMA
    7689427e238d xtensa: iss: fix handling error cases in iss_net_configure()
    758145c84fe1 xtensa: iss/network: provide release() callback
    c5641494cd7e scsi: smartpqi: Fix DMA direction for RAID requests
    80f876b26dab PCI: qcom: Set up rev 2.1.0 PARF_PHY before enabling clocks
    c968af565ca6 PCI/portdrv: Don't disable AER reporting in get_port_device_capability()
    81ea65c9aefe KVM: s390: pv: leak the topmost page table when destroy fails
    d795bbde3ff0 mmc: block: Add single read for 4k sector cards
    f8585cad6dea of: device: Fix missing of_node_put() in of_dma_set_restricted_buffer
    5325975c19e3 mmc: sdhci-of-at91: fix set_uhs_signaling rewriting of MC1R
    961d7d12080f memstick/ms_block: Fix a memory leak
    2b12af05848f memstick/ms_block: Fix some incorrect memory allocation
    125534d2591f mmc: renesas_sdhi: Get the reset handle early in the probe
    268afd446ace mmc: mxcmmc: Silence a clang warning
    352377cf7471 mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch
    e3a1eaea6631 staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callback
    2c254fe3c5fc binder: fix redefinition of seq_file attributes
    566887bad7ff intel_th: msu: Fix vmalloced buffers
    08ec393b1d30 intel_th: msu-sink: Potential dereference of null pointer
    9b5469573a27 intel_th: Fix a resource leak in an error handling path
    0b154b745d11 scsi: qla2xxx: Check correct variable in qla24xx_async_gffid()
    1a8cc2ed9547 PCI: endpoint: Don't stop controller when unbinding endpoint function
    5ab2782c944e dmaengine: sf-pdma: Add multithread support for a DMA channel
    ebea637e9f4b KVM: arm64: Don't return from void function
    250b46505175 soundwire: revisit driver bind/unbind and callbacks
    3abe387e759a soundwire: bus_type: fix remove and shutdown support
    06a949457a8d PCI: dwc: Always enable CDM check if "snps,enable-cdm-check" exists
    b03a8f1264ea PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors
    981f451f3708 PCI: dwc: Set INCREASE_REGION_SIZE flag based on limit address
    0f5e892c41b9 PCI: dwc: Disable outbound windows only for controllers using iATU
    68c2cda90522 PCI: dwc: Add unroll iATU space support to dw_pcie_disable_atu()
    dbbfb410a3dd PCI: dwc: Stop link on host_init errors and de-initialization
    44652154484e mm/mempolicy: fix get_nodes out of bound access
    0b9f2f2a0488 clk: qcom: clk-rcg2: Make sure to not write d=0 to the NMD register
    522e13ebbf48 clk: qcom: clk-rcg2: Fail Duty-Cycle configuration if MND divider is not enabled.
    433a22104012 clk: qcom: camcc-sm8250: Fix topology around titan_top power domain
    123c76fbc2dd clk: qcom: camcc-sdm845: Fix topology around titan_top power domain
    93ff4172b9b2 clk: qcom: ipq8074: set BRANCH_HALT_DELAY flag for UBI clocks
    fd60d861624d clk: qcom: ipq8074: fix NSS port frequency tables
    7616ebecd358 clk: qcom: ipq8074: SW workaround for UBI32 PLL lock
    6f74519efa6a clk: qcom: ipq8074: fix NSS core PLL-s
    3b4934a635d9 RDMA/rxe: Fix deadlock in rxe_do_local_ops()
    dac3ecbd1ab8 usb: host: xhci: use snprintf() in xhci_decode_trb()
    26b305f01d62 clk: qcom: gcc-msm8939: Point MM peripherals to system_mm_noc clock
    d605b4125e77 clk: qcom: gcc-msm8939: Add missing system_mm_noc_bfdcd_clk_src
    558b097f8cdb clk: qcom: gcc-msm8939: Fix bimc_ddr_clk_src rcgr base address
    0c787dfc2238 clk: qcom: gcc-msm8939: Add missing SYSTEM_MM_NOC_BFDCD_CLK_SRC
    9ed2640eb883 clk: qcom: clk-krait: unlock spin after mux completion
    733ab0c19bf1 driver core: fix potential deadlock in __driver_attach
    80169b136c89 misc: rtsx: Fix an error handling path in rtsx_pci_probe()
    30f44ddfdb49 clk: qcom: camcc-sm8250: Fix halt on boot by reducing driver's init level
    2e79153d2ce9 mtd: dataflash: Add SPI ID table
    7837281f83bc dmaengine: dw-edma: Fix eDMA Rd/Wr-channels and DMA-direction semantics
    3e541526aab6 scsi: iscsi: Fix session removal on shutdown
    ca8936581506 scsi: iscsi: Add helper to remove a session from the kernel
    49f7414a1982 scsi: iscsi: Allow iscsi_if_stop_conn() to be called from kernel
    a78b882c1a9f mwifiex: fix sleep in atomic context bugs caused by dev_coredumpv
    358fbfc1322b mwifiex: Ignore BTCOEX events from the 88W8897 firmware
    26cdeedbb616 KVM: Don't set Accessed/Dirty bits for ZERO_PAGE
    d56c5eac8476 mm/memremap: fix memunmap_pages() race with get_dev_pagemap()
    d18a9085654b memremap: remove support for external pgmap refcounts
    d1e0ceeec04a lib/test_hmm: avoid accessing uninitialized pages
    81b64a9da38f clk: mediatek: reset: Fix written reset bit offset
    31c1072e6b55 iio: accel: bma400: Reordering of header files
    363c82a63478 platform/chrome: cros_ec: Always expose last resume result
    95faac56051b iio: accel: bma400: Fix the scale min and max macro values
    17d7a36dcd46 scsi: qla2xxx: edif: Fix no logout on delete for N2N
    3db6a63bae5f scsi: qla2xxx: edif: Fix session thrash
    4c35b8eb3dc2 scsi: qla2xxx: edif: Tear down session if keys have been removed
    58277fa8333f scsi: qla2xxx: edif: Fix no login after app start
    1138e2da4244 scsi: qla2xxx: edif: Reduce disruption due to multiple app start
    cc5745f2ee40 scsi: qla2xxx: edif: Send LOGO for unexpected IKE message
    154bf040ba53 netfilter: xtables: Bring SPDX identifier back
    8cffaf09336b usb: xhci: tegra: Fix error check
    4240b6e0f3b3 usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()
    59026d5cc615 usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe
    c0a4b454486b usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe
    1e5ec5e90e77 fpga: altera-pr-ip: fix unsigned comparison with less than zero
    0675fe20da7f PCI: mediatek-gen3: Fix refcount leak in mtk_pcie_init_irq_domains()
    c99dca4ebc78 mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error path
    762475464982 mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset
    8ea607579d30 mtd: partitions: Fix refcount leak in parse_redboot_of
    1ef96afd4f5a mtd: sm_ftl: Fix deadlock caused by cancel_work_sync in sm_release
    8489a20ac481 HID: cp2112: prevent a buffer overflow in cp2112_xfer()
    879bcbbec3e0 PCI: tegra194: Fix PM error handling in tegra_pcie_config_ep()
    c0ad5c7e68d1 PCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains()
    ff1e7aea3ef7 phy: samsung: exynosautov9-ufs: correct TSRV register configurations
    7840dce7966a KVM: SVM: Stuff next_rip on emulated INT3 injection if NRIPS is supported
    2adc7032ec84 KVM: SVM: Unwind "speculative" RIP advancement if INTn injection "fails"
    473ba2ee7641 scsi: qla2xxx: edif: Fix n2n login retry for secure device
    fd2c194089eb scsi: qla2xxx: edif: Fix n2n discovery issue with secure target
    ba051e1fe739 scsi: qla2xxx: edif: Add retry for ELS passthrough
    703e1ccf6ff9 scsi: qla2xxx: edif: Synchronize NPIV deletion with authentication application
    d7d254cc1348 scsi: qla2xxx: edif: Fix inconsistent check of db_flags
    aa7269ee63ec scsi: qla2xxx: edif: Reduce connection thrash
    7b2fbfa4b2cd scsi: qla2xxx: edif: Fix potential stuck session in sa update
    bf890f1408b2 scsi: qla2xxx: edif: Reduce Initiator-Initiator thrashing
    beb5bba5dd13 of: check previous kernel's ima-kexec-buffer against memory bounds
    098b7e83b318 mtd: rawnand: meson: Fix a potential double free issue
    d5730780e9ea mtd: maps: Fix refcount leak in ap_flash_init
    4d67c8f74d80 mtd: maps: Fix refcount leak in of_flash_probe_versatile
    f74bd76a7524 clk: renesas: r9a06g032: Fix UART clkgrp bitsel
    36c27d813e75 HID: amd_sfh: Don't show client init failed as error when discovery fails
    c36369f7db87 wireguard: allowedips: don't corrupt stack when detecting overflow
    73ccc2b153a2 wireguard: ratelimiter: use hrtimer in selftest
    1618e0f1ed59 net: usb: make USB_RTL8153_ECM non user configurable
    8890bdb93ff5 dccp: put dccp_qpolicy_full() and dccp_qpolicy_push() in the same lock
    d4249d465da3 net: ionic: fix error check for vlan flags in ionic_set_nic_features()
    857f390dfdac net: rose: fix netdev reference changes
    bde545304f3d netdevsim: Avoid allocation warnings triggered from user space
    c9d901e17142 iavf: Fix 'tc qdisc show' listing too many queues
    d70ecd933042 iavf: Fix max_rate limiting
    f1974d3042d6 wifi: rtw88: check the return value of alloc_workqueue()
    f671cf48f383 netdevsim: fib: Fix reference count leak on route deletion failure
    51dd6d3beb7f net: allow unbound socket for packets in VRF when tcp_l3mdev_accept set
    8fd69d3df9f4 ipv6: add READ_ONCE(sk->sk_bound_dev_if) in INET6_MATCH()
    68bf74ec95c3 inet: add READ_ONCE(sk->sk_bound_dev_if) in INET_MATCH()
    c8b1baca99cf crypto: hisilicon/sec - fix auth key size error
    996be53de07b crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of
    0d11ab3db14b crypto: hisilicon/hpre - don't use GFP_KERNEL to alloc mem during softirq
    e5697a0a4529 net/mlx5: Adjust log_max_qp to be 18 at most
    2d800deb8766 net/mlx5e: Fix the value of MLX5E_MAX_RQ_NUM_MTTS
    2109cba576c5 net/mlx5e: Remove WARN_ON when trying to offload an unsupported TLS cipher/version
    22ae7f434f1f media: cedrus: hevc: Add check for invalid timestamp
    d7365590d15b wifi: libertas: Fix possible refcount leak in if_usb_probe()
    4a40af2b0b95 wifi: iwlwifi: mvm: fix double list_add at iwl_mvm_mac_wake_tx_queue
    689e5caf63e9 wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()`
    b50f5aa9f527 i2c: mux-gpmux: Add of_node_put() when breaking out of loop
    4fc616e25b66 i2c: cadence: Support PEC for SMBus block read
    aa6da8c32acb Bluetooth: hci_intel: Add check for platform_driver_register
    d1bedcd7947b can: pch_can: pch_can_error(): initialize errc before using it
    5793da4db3a9 can: error: specify the values of data[5..7] of CAN error frames
    3d70b6605a94 can: usb_8dev: do not report txerr and rxerr during bus-off
    bbe42d5dc486 can: kvaser_usb_leaf: do not report txerr and rxerr during bus-off
    0b328f9c7912 can: kvaser_usb_hydra: do not report txerr and rxerr during bus-off
    4b71a3c2a29c can: sun4i_can: do not report txerr and rxerr during bus-off
    dcfcd5fc999b can: hi311x: do not report txerr and rxerr during bus-off
    715ced011394 can: sja1000: do not report txerr and rxerr during bus-off
    b8c29e29059e can: rcar_can: do not report txerr and rxerr during bus-off
    ba0110c2dd03 can: pch_can: do not report txerr and rxerr during bus-off
    cbfcc7c4cc61 libbpf: fix an snprintf() overflow check
    ad3e3212492c selftests/bpf: fix a test for snprintf() overflow
    4388ea680346 wifi: p54: add missing parentheses in p54_flush()
    71fc0615c91e wifi: p54: Fix an error handling path in p54spi_probe()
    074e865b37da wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()
    05f3b437c962 media: staging: media: hantro: Fix typos
    6b593bcc6e6d media: hevc: Embedded indexes in RPS
    223b977c1cd4 media: hantro: Simplify postprocessor
    9d36596b5f71 media: hantro: postproc: Fix motion vector space size
    b1385d437e90 media: cedrus: h265: Fix flag name
    f29659bad1d5 fs: check FMODE_LSEEK to control internal pipe splicing
    c9a8a448e5e4 bpf: Fix subprog names in stack traces.
    8ff5be75ae31 selftests: timers: clocksource-switch: fix passing errors from child
    4d3481398287 selftests: timers: valid-adjtimex: build fix for newer toolchains
    070527cc3124 libbpf: Fix the name of a reused map
    273c11d9a900 tcp: make retransmitted SKB fit into the send window
    68f9f522ddf1 drm/exynos/exynos7_drm_decon: free resources when clk_set_parent() failed.
    293c53b7dbf9 skmsg: Fix invalid last sg check in sk_msg_recvmsg()
    c4ff3cef5d96 mediatek: mt76: eeprom: fix missing of_node_put() in mt76_find_power_limits_node()
    f646d94d7aec mediatek: mt76: mac80211: Fix missing of_node_put() in mt76_led_init()
    2837f4e90b13 mt76: mt7921: enlarge maximum VHT MPDU length to 11454
    6e83b10d8c7a mt76: mt7921: fix aggregation subframes setting to HE max
    0fb9387b8584 ieee80211: add EHT 1K aggregation definitions
    67cd6261d38a mt76: mt7615: do not update pm stats in case of error
    f1609c4f4a21 mt76: mt76x02u: fix possible memory leak in __mt76x02u_mcu_send_msg
    1a63d33006dc drm/msm/dpu: Fix for non-visible planes
    340bfec294d5 drm/msm: Avoid dirtyfb stalls on video mode displays (v2)
    7404d09455a0 media: platform: mtk-mdp: Fix mdp_ipi_comm structure alignment
    d6aee36c2f6f crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq
    aa495dfe7122 crypto: hisilicon/sec - don't sleep when in softirq
    f4e3a8c7e890 drm/msm/mdp5: Fix global state lock backoff
    693f31dc9156 net: hinic: avoid kernel hung in hinic_get_stats64()
    e850a4fc89b0 net: hinic: fix bug that ethtool get wrong stats
    8757ef67ce6b hinic: Use the bitmap API when applicable
    3052197b1175 drm: bridge: sii8620: fix possible off-by-one
    371331ede81d drm/mediatek: dpi: Only enable dpi after the bridge is enabled
    4f541100fb28 drm/mediatek: dpi: Remove output format of YUV
    23b1133bd33b drm/rockchip: Fix an error handling path rockchip_dp_probe()
    703d706b23ac drm/rockchip: vop: Don't crash for invalid duplicate_state()
    668fd740f8a6 selftests/xsk: Destroy BPF resources only when ctx refcount drops to 0
    1fc6ba6d0dae crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE
    8dc3b5d150b2 drm/vc4: hdmi: Correct HDMI timing registers for interlaced modes
    bbb4c0deae82 drm/vc4: hdmi: Fix timings for interlaced modes
    6ffe6a64ef24 drm/vc4: hdmi: Reset HDMI MISC_CONTROL register
    43d393e7cbb9 drm/vc4: hdmi: Avoid full hdmi audio fifo writes
    f30480775a6b drm/vc4: hdmi: Fix HPD GPIO detection
    07d7d4330403 drm/vc4: dsi: Add correct stop condition to vc4_dsi_encoder_disable iteration
    21febebc4fcc drm/vc4: dsi: Fix dsi0 interrupt support
    b096779a8276 drm/vc4: dsi: Register dsi0 as the correct vc4 encoder type
    fe6ebdb61559 drm/vc4: dsi: Correct pixel order for DSI0
    62b6d4308c2c drm/vc4: dsi: Correct DSI divider calculations
    80e2db799b38 drm/vc4: dsi: Release workaround buffer and DMA
    3d722c01d628 drm/vc4: Use of_device_get_match_data()
    c653b2c6a247 drm/vc4: dsi: Switch to devm_drm_of_get_bridge
    ed486d15084f drm/bridge: Add a function to abstract away panels
    b6fea72ea1aa drm/vc4: plane: Fix margin calculations for the right/bottom edges
    645b294e9bf7 drm/vc4: plane: Remove subpixel positioning check
    0597bcf77489 media: tw686x: Fix memory leak in tw686x_video_init
    ad1a66b40bf8 media: driver/nxp/imx-jpeg: fix a unexpected return value problem
    db01d107c21f media: v4l2-mem2mem: prevent pollerr when last_buffer_dequeued is set
    7ca91b2d870f media: hdpvr: fix error value returns in hdpvr_read
    3123ae6fdd40 drm/mcde: Fix refcount leak in mcde_dsi_bind
    375a6fdf7d54 media: imx-jpeg: Disable slot interrupt when frame done
    54f1c0606695 drm: bridge: adv7511: Add check for mipi_dsi_driver_register
    f831d2882c84 crypto: ccp - During shutdown, check SEV data pointer before using
    8f458e34a804 test_bpf: fix incorrect netdev features
    621595f771a6 rcutorture: Fix ksoftirqd boosting timing and iteration
    489b93ac63d2 rcutorture: Don't cpuhp_remove_state() if cpuhp_setup_state() failed
    5a6ff3e32a0c rcutorture: Warn on individual rcu_torture_init() error conditions
    e32f8c51a650 drm/radeon: fix incorrrect SPDX-License-Identifiers
    88b551561ded wifi: iwlegacy: 4965: fix potential off-by-one overflow in il4965_rs_fill_link_cmd()
    03ca957c5f7b ath9k: fix use-after-free in ath9k_hif_usb_rx_cb
    ebde990e2436 media: imx-jpeg: Implement drain using v4l2-mem2mem helpers
    9ae2d729de63 media: imx-jpeg: Align upwards buffer size
    88355f7b682b media: imx-jpeg: Support dynamic resolution change
    07888b84f370 media: imx-jpeg: Handle source change in a function
    8fcbb2e91e26 media: imx-jpeg: Identify and handle precision correctly
    24eef33c384e media: imx-jpeg: Refactor function mxc_jpeg_parse
    cab2a15969d0 media: imx-jpeg: Set V4L2_BUF_FLAG_LAST at eos
    5709766b078a media: imx-jpeg: use NV12M to represent non contiguous NV12
    cbc257317106 media: imx-jpeg: Add pm-runtime support for imx-jpeg
    c0d98e53e921 media: imx-jpeg: Leave a blank space before the configuration data
    2c784c14938a media: imx-jpeg: Correct some definition according specification
    33196a7ac6fa media: tw686x: Register the irq at the end of probe
    f61c0d97bdc8 media: atmel: atmel-sama7g5-isc: fix warning in configs without OF
    85c317a626b8 crypto: sun8i-ss - fix infinite loop in sun8i_ss_setup_ivs()
    35927d7509ab i2c: Fix a potential use after free
    8b4bba610f52 can: netlink: allow configuring of fixed data bit rates without need for do_set_data_bittiming callback
    d9bd6a965908 can: netlink: allow configuring of fixed bit rates without need for do_set_bittiming callback
    ab5a4e0cbfe3 net: fix sk_wmem_schedule() and sk_rmem_schedule() errors
    d806f3ae4b3c crypto: sun8i-ss - fix error codes in allocate_flows()
    b3cb6006857c crypto: sun8i-ss - do not allocate memory when handling hash requests
    aeecc92f5a68 drm: adv7511: override i2c address of cec before accessing it
    72893aadc001 drm/virtio: Fix NULL vs IS_ERR checking in virtio_gpu_object_shmem_init
    ff0087df198d drm/shmem-helper: Pass GEM shmem object in public interfaces
    4109ff9e7b95 drm/shmem-helper: Export dedicated wrappers for GEM object functions
    a3f82087b768 drm/shmem-helper: Unexport drm_gem_shmem_create_with_handle()
    39caef09666c virtio-gpu: fix a missing check to avoid NULL dereference
    c3a1cfd16445 i2c: mxs: Silence a clang warning
    73778e237003 i2c: npcm: Correct slave role behavior
    cdd51152a100 i2c: npcm: Remove own slave addresses 2:10
    a42f0c4c64fe drm/bridge: lt9611uxc: Cancel only driver's work
    275fed7142ff drm/meson: encoder_hdmi: Fix refcount leak in meson_encoder_hdmi_init
    e098989a9219 drm/meson: encoder_hdmi: switch to bridge DRM_BRIDGE_ATTACH_NO_CONNECTOR
    c901a385b7a1 drm/mediatek: Add pull-down MIPI operation in mtk_dsi_poweroff function
    87c251d960dc drm/mediatek: Separate poweron/poweroff from enable/disable and define new funcs
    2ec80289a7ff drm/mediatek: Modify dsi funcs to atomic operations
    deb603c5928e drm/radeon: fix potential buffer overflow in ni_set_mc_special_registers()
    166b0a6171ab ath11k: Fix incorrect debug_mask mappings
    2dc78843fe98 drm/mipi-dbi: align max_chunk to 2 in spi_transfer
    eaff3946a86f ath11k: fix netdev open race
    90b4ec83ef15 wifi: rtlwifi: fix error codes in rtl_debugfs_set_write_h2c()
    438ac9f4f7e4 drm/panel: Fix build error when CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=y && CONFIG_DRM_DISPLAY_HELPER=m
    c2af61bd0404 drm/st7735r: Fix module autoloading for Okaya RH128128T
    d2d2789fb956 ath10k: do not enforce interrupt trigger type
    037844355198 drm/bridge: tc358767: Move (e)DP bridge endpoint parsing into dedicated function
    3f4829cd4784 drm/dp: Export symbol / kerneldoc fixes for DP AUX bus
    0491709eb3a6 pwm: lpc18xx: Fix period handling
    3475e55bc54d pwm: lpc18xx-sct: Simplify driver by not using pwm_[gs]et_chip_data()
    d0c79cda85b6 pwm: lpc18xx-sct: Reduce number of devm memory allocations
    009b384092ba pwm: sifive: Shut down hardware only after pwmchip_remove() completed
    53d784838a38 pwm: sifive: Ensure the clk is enabled exactly once per running PWM
    5c86cf45f551 pwm: sifive: Simplify offset calculation for PWMCMP registers
    87efb79c5f9e dm: return early from dm_pr_call() if DM device is suspended
    f28d733c318e thermal/tools/tmon: Include pthread and time headers in tmon.h
    226935eabe33 selftests/seccomp: Fix compile warning when CC=clang
    7bc43ab2b90a x86/extable: Fix ex_handler_msr() print condition
    b3d3069a6fc8 nohz/full, sched/rt: Fix missed tick-reenabling bug in dequeue_task_rt()
    4125108ec842 drivers/perf: arm_spe: Fix consistency of SYS_PMSCR_EL1.CX
    9d2a0422dedc irqdomain: Report irq number for NOMAP domains
    a815cb1088e7 arm64: dts: qcom: qcs404: Fix incorrect USB2 PHYs assignment
    7c432710198e soc: qcom: Make QCOM_RPMPD depend on PM
    c9df8ff29009 regulator: of: Fix refcount leak bug in of_get_regulation_constraints()
    a638fa974512 dm writecache: count number of blocks discarded, not number of discard bios
    fc988f1ca265 dm writecache: count number of blocks written, not number of write bios
    3a2500b73a17 dm writecache: count number of blocks read, not number of read bios
    880c4513eb33 dm writecache: return void from functions
    764b8892d7da PM: domains: Ensure genpd_debugfs_dir exists before remove
    b4439abfd77e blktrace: Trace remapped requests correctly
    c1a21bf5d012 hwmon: (drivetemp) Add module alias
    415b4ce61308 spi: tegra20-slink: fix UAF in tegra_slink_remove()
    445fb9c19cf4 spi: Fix simplification of devm_spi_register_controller
    6d8e185bf9de blk-mq: don't create hctx debugfs dir until q->debugfs_dir is created
    1c350a597c2d erofs: avoid consecutive detection for Highmem memory
    a34982fd219e arm64: tegra: Fix SDMMC1 CD on P2888
    a7f751d4e830 arm64: tegra: Mark BPMP channels as no-memory-wc
    778b6531fe24 arm64: tegra: Update Tegra234 BPMP channel addresses
    09da10968581 arm64: tegra: Fixup SYSRAM references
    40d72c485a85 arm64: dts: mt7622: fix BPI-R64 WPS button
    759fa566f433 arm64: dts: qcom: sm8250: add missing PCIe PHY clock-cells
    650d2e76a317 arm64: dts: qcom: sm6125: Append -state suffix to pinctrl nodes
    7847ebb6fcec arm64: dts: qcom: sm6125: Move sdc2 pinctrl from seine-pdx201 to sm6125
    c24bbe45965d ACPI: VIOT: Fix ACS setup
    273a7fbb06d6 drivers/iio: Remove all strcpy() uses
    335852f7a976 ACPI: APEI: explicit init of HEST and GHES in apci_init()
    6dc72d0181b4 arm64: dts: qcom: msm8916: Fix typo in pronto remoteproc node
    1c84883e79a3 stack: Declare {randomize_,}kstack_offset to fix Sparse warnings
    4a020202c391 bus: hisi_lpc: fix missing platform_device_put() in hisi_lpc_acpi_probe()
    a0a9813f1e09 ARM: dts: qcom: pm8841: add required thermal-sensor-cells
    053543ac1d09 soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register
    84a928b44cb3 soc: qcom: ocmem: Fix refcount leak in of_get_ocmem
    e89261b18c4e ARM: dts: qcom-msm8974: fix irq type on blsp2_uart1
    c1fdcd13a610 ACPI: APEI: Fix _EINJ vs EFI_MEMORY_SP
    fc6dbc57f9d1 regulator: qcom_smd: Fix pm8916_pldo range
    179034fb108e cpufreq: zynq: Fix refcount leak in zynq_get_revision
    78ed18a5aa7f arm64: dts: qcom: sdm636-sony-xperia-ganges-mermaid: correct sdc2 pinconf
    0a8d15d85b19 arm64: dts: qcom: sdm630: fix gpu's interconnect path
    cd6bd95e9b02 arm64: dts: qcom: sdm630: fix the qusb2phy ref clock
    9f3b0a0b87e6 arm64: dts: qcom: sdm630: disable GPU by default
    1bf747824a8c ARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init
    230ad40a59c9 ARM: OMAP2+: Fix refcount leak in omapdss_init_of
    ddad68dd9742 ARM: dts: qcom: mdm9615: add missing PMIC GPIO reg
    925a0117ac68 block: fix infinite loop for invalid zone append
    9abd50506fe4 soc: fsl: guts: machine variable might be unset
    4d6f33865e21 arm64: dts: qcom: sc7180: Remove ipa_fw_mem node on trogdor
    e0067e6d5475 locking/lockdep: Fix lockdep_init_map_*() confusion
    5b418289b060 arm64: cpufeature: Allow different PMU versions in ID_DFR0_EL1
    c66b3b49fe03 arm64: select TRACE_IRQFLAGS_NMI_SUPPORT
    e94388f78e65 arm64: dts: mt8192: Fix idle-states entry-method
    2fe4c39aa379 arm64: dts: mt8192: Fix idle-states nodes naming scheme
    e50541493882 ARM: dts: ast2600-evb-a1: fix board compatible
    5f73deb9afa6 ARM: dts: ast2600-evb: fix board compatible
    6fa1cf1b92f0 ARM: dts: ast2500-evb: fix board compatible
    377a4c5cb7ab x86/pmem: Fix platform-device leak in error path
    5a73493f0d6a arm64: dts: renesas: Fix thermal-sensors on single-zone sensors
    f370fbbd3151 soc: amlogic: Fix refcount leak in meson-secure-pwrc.c
    cb119a1dd929 dt-bindings: iio: accel: Add DT binding doc for ADXL355
    7bbcbfbc314d scsi: hisi_sas: Use managed PCI functions
    c010048e3f71 soc: renesas: r8a779a0-sysc: Fix A2DP1 and A2CV[2357] PDR values
    e7e4f1cb915e ARM: dts: imx7d-colibri-emmc: add cpu1 supply
    4bd8bc5c77a0 ACPI: processor/idle: Annotate more functions to live in cpuidle section
    bc7f487395f2 ARM: bcm: Fix refcount leak in bcm_kona_smc_init
    1f4bc0604dff spi: spi-altera-dfl: Fix an error handling path
    ebbd1412ce4f arm64: dts: renesas: beacon: Fix regulator node names
    e21744c6a0d4 meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init
    a7c16b8966d4 ARM: findbit: fix overflowing offset
    0ff7f81559fa spi: spi-rspi: Fix PIO fallback on RZ platforms
    8e3407e0f5e1 powerpc/64s: Disable stack variable initialisation for prom_init
    e45491556e2a drm/amdgpu: Remove one duplicated ef removal
    abd3622f657e kasan: test: Silence GCC 12 warnings
    7363a69d8ca8 selinux: Add boundary check in put_entry()
    c877c5217145 selinux: fix memleak in security_read_state_kernel()
    2f0e18e0db42 PM: hibernate: defer device probing when resuming from hibernation
    d68601914e00 hwmon: (sht15) Fix wrong assumptions in device remove callback
    fb98663448cb hwmon: (dell-smm) Add Dell XPS 13 7390 to fan control whitelist
    c5a73bd9f11a firmware: tegra: Fix error check return value of debugfs_create_file()
    c53d904973cb ARM: shmobile: rcar-gen2: Increase refcount for new reference
    ef94e7897744 arm64: dts: allwinner: a64: orangepi-win: Fix LED node name
    3a4b3a0ff064 arm64: dts: qcom: ipq8074: fix NAND node name
    c0b8dcbaf37f ARM: dts: qcom: sdx55: Fix the IRQ trigger type for UART
    01d539d9f538 ACPI: LPSS: Fix missing check in register_device_clock()
    30abb8735892 ACPI: PM: save NVS memory for Lenovo G40-45
    f450635d781f ACPI: EC: Drop the EC_FLAGS_IGNORE_DSDT_GPE quirk
    730b9eb8fb88 ACPI: EC: Remove duplicate ThinkPad X1 Carbon 6th entry from DMI quirks
    75f23d72b6e0 ARM: OMAP2+: pdata-quirks: Fix refcount leak bug
    a89a865dc9f0 ARM: OMAP2+: display: Fix refcount leak bug
    b856645c1849 spi: synquacer: Add missing clk_disable_unprepare()
    cbfe9a2303c8 ARM: dts: ux500: Fix Gavini accelerometer mounting matrix
    e2d106b28460 ARM: dts: ux500: Fix Codina accelerometer mounting matrix
    ceafabd1d4ff ARM: dts: BCM5301X: Add DT for Meraki MR26
    0e4c38c795e7 ARM: dts: imx6ul: fix qspi node compatible
    95ba9c53999e ARM: dts: imx6ul: fix lcdif node compatible
    2db26fa7b9a1 ARM: dts: imx6ul: fix csi node compatible
    5357c3b24cfe ARM: dts: imx6ul: fix keypad compatible
    135155585647 ARM: dts: imx6ul: change operating-points to uint32-matrix
    ca367834a787 ARM: dts: imx6ul: add missing properties for sram
    8df06a275338 wait: Fix __wait_event_hrtimeout for RT/DL tasks
    f0d66189d161 irqchip/mips-gic: Check the return value of ioremap() in gic_of_init()
    f066e015821c sched/core: Always flush pending blk_plug
    f116c621dd1e genirq: GENERIC_IRQ_IPI depends on SMP
    00ffa95ed649 irqchip/mips-gic: Only register IPI domain when SMP is enabled
    f9842ec6839a genirq: Don't return error on missing optional irq_request_resources()
    079651c6cfdc sched/fair: Introduce SIS_UTIL to search idle CPU based on sum of util_avg
    96b18d3a1be0 ext2: Add more validity checks for inode counts
    add4bc9281e8 arm64: kasan: Revert "arm64: mte: reset the page tag in page->flags"
    cc69ef95988b arm64: fix oops in concurrently setting insn_emulation sysctls
    42eede3ae05b arm64: Do not forget syscall when starting a new thread.
    d1e812beae86 arch: make TRACE_IRQFLAGS_NMI_SUPPORT generic
    932b5e65245c x86: Handle idle=nomwait cmdline properly for x86_idle
    9ccb5d391c51 epoll: autoremove wakers even more aggressively
    8a2df34b5bf6 netfilter: nf_tables: fix null deref due to zeroed list head
    257b944464be netfilter: nf_tables: do not allow RULE_ID to refer to another chain
    915015130169 netfilter: nf_tables: do not allow CHAIN_ID to refer to another table
    faafd9286f13 netfilter: nf_tables: do not allow SET_ID to refer to another table
    5ea18ddc1703 usb: dwc3: gadget: fix high speed multiplier setting
    332a8c027aa3 usb: dwc3: gadget: refactor dwc3_repare_one_trb
    f0782cf2dce0 arm64: dts: uniphier: Fix USB interrupts for PXs3 SoC
    148a7fe3cdfc ARM: dts: uniphier: Fix USB interrupts for PXs2 SoC
    b76ea430e94f USB: HCD: Fix URB giveback issue in tasklet function
    269c917837c4 usb: typec: ucsi: Acknowledge the GET_ERROR_STATUS command completion
    b49b29ee113a coresight: Clear the connection field properly
    e41db8a9ce69 MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
    db68d474cf09 powerpc/powernv: Avoid crashing if rng is NULL
    552a29e47174 powerpc/ptdump: Fix display of RW pages on FSL_BOOK3E
    79da7a5f8f0b powerpc/fsl-pci: Fix Class Code of PCIe Root Port
    fdf759059164 PCI: Add defines for normal and subtractive PCI bridges
    ae6620a39748 ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr()
    74d64284538e media: [PATCH] pci: atomisp_cmd: fix three missing checks on list iterator
    ddc7fadd0504 mbcache: add functions to delete entry if unused
    1250557d3bf3 mbcache: don't reclaim used entries
    0f4d18cbea4a md-raid10: fix KASAN warning
    c5e4cdd44387 md-raid: destroy the bitmap after destroying the thread
    351ec3d68ce0 serial: mvebu-uart: uart2 error bits clearing
    ec8e701f9e20 fuse: ioctl: translate ENOSYS
    daa9cfb86221 fuse: limit nsec
    a54c509c32ad ksmbd: fix use-after-free bug in smb2_tree_disconect
    577619605556 ksmbd: prevent out of bound read for SMB2_TREE_CONNNECT
    dd4e4c811898 ksmbd: fix memory leak in smb2_handle_negotiate
    dead7f484a3b soundwire: qcom: Check device status before reading devid
    71bc3b75e941 scsi: qla2xxx: Zero undefined mailbox IN registers
    a659c7f8114d scsi: qla2xxx: Fix incorrect display of max frame size
    8c004b7dbb34 scsi: sg: Allow waiting for commands to complete on removed device
    fac589fb7646 iio: light: isl29028: Fix the warning in isl29028_remove()
    a76771da2156 iio: fix iio_format_avail_range() printing for none IIO_VAL_INT
    cac7ead0b3ab um: seed rng using host OS rng
    5d096e2dc20b um: Remove straying parenthesis
    2e88f5003399 mtd: rawnand: arasan: Update NAND bus clock instead of system clock
    2ffe64acf7d6 mtd: rawnand: arasan: Fix clock rate in NV-DDR
    89f3a8bbb4a7 btrfs: reject log replay if there is unsupported RO compat flag
    1f8ca9c40e62 bpf: Fix KASAN use-after-free Read in compute_effective_progs
    27f8f5219fe4 drm/amdgpu: fix check in fbdev init
    eb3c69c7c777 drm/amdgpu: Check BO's requested pinning domains against its preferred_domains
    f792acb67deb drm/nouveau/kms: Fix failure path for creating DP connectors
    67cb7be1561a drm/nouveau/acpi: Don't print error when we get -EINPROGRESS from pm_runtime
    f522c189e465 drm/nouveau: Don't pm_runtime_put_sync(), only pm_runtime_put_autosuspend()
    dcf37f58827e drm/nouveau: fix another off-by-one in nvbios_addr
    2806b02bac9c drm/hyperv-drm: Include framebuffer and EDID headers
    97049e69f5a8 drm/vc4: hdmi: Disable audio if dmas property is present but empty
    8589a83c0ae9 drm/shmem-helper: Add missing vunmap on error
    da2a1aa058ac drm/gem: Properly annotate WW context on drm_gem_lock_reservations() error
    3ef94852bb33 rtc: rx8025: fix 12/24 hour mode detection on RX-8035
    bb3b601f1414 RISC-V: Add modules to virtual kernel memory layout dump
    150573c60c02 RISC-V: Fixup schedule out issue in machine_crash_shutdown()
    111a049cacc6 RISC-V: Fixup get incorrect user mode PC for kernel mode regs
    22ae2fe45516 RISC-V: kexec: Fixup use of smp_processor_id() in preemptible context
    63fbab985a16 dt-bindings: riscv: fix SiFive l2-cache's cache-sets
    c71e000db853 riscv:uprobe fix SR_SPIE set/clear handling
    7df75cbd1bec parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode
    9b67131162dc parisc: Check the return value of ioremap() in lba_driver_probe()
    68949e725c39 parisc: Drop pa_swapper_pg_lock spinlock
    422421cbf39a parisc: Fix device names in /proc/iomem
    35ef2ee74d95 ovl: drop WARN_ON() dentry is NULL in ovl_encode_fh()
    f2a920daa780 crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak
    4228c037f88e fix short copy handling in copy_mc_pipe_to_iter()
    635fd8953e43 usbnet: Fix linkwatch use-after-free on disconnect
    d0d6186eae61 fbcon: Fix accelerated fbdev scrolling while logo is still shown
    c1e09ee98f3a fbcon: Fix boundary checks for fbcon=vc:n1-n2 parameters
    06d6eb948e53 thermal: sysfs: Fix cooling_device_stats_setup() error code path
    cd28cf0f69b4 fs: Add missing umask strip in vfs_tmpfile
    5efc5b3baf13 vfs: Check the truncate maximum size in inode_newsize_ok()
    446f123aa602 tty: vt: initialize unicode screen buffer
    6b8d61a9fd96 ALSA: hda/realtek: Add a quirk for HP OMEN 15 (8786) mute LED
    7ad08c1e18c7 ALSA: hda/realtek: Add quirk for another Asus K42JZ model
    5d5b2d1d3663 ALSA: hda/cirrus - support for iMac 12,1 model
    e4b337fb82bf ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model
    c840d626472e riscv: set default pm_power_off to NULL
    abedd69baf6e KVM: x86: revalidate steal time cache if MSR value changes
    77e26cdf5ced KVM: x86: do not report preemption if the steal time cache is stale
    69704ca43e08 KVM: x86: Tag kvm_mmu_x86_module_init() with __init
    439fcac3d0e0 KVM: nVMX: Always enable TSC scaling for L2 when it was enabled for L1
    14aebe952f86 KVM: x86: Set error code to segment selector on LLDT/LTR non-canonical #GP
    ccbf3f955ccd KVM: x86: Mark TSS busy during LTR emulation _after_ all fault checks
    2a117667f32f KVM: nVMX: Inject #UD if VMXON is attempted with incompatible CR0/CR4
    3868687afae1 KVM: nVMX: Account for KVM reserved CR4 bits in consistency checks
    76e6038cfa9b KVM: nVMX: Let userspace set nVMX MSR to any _host_ supported value
    9953f86a67e5 KVM: x86: Split kvm_is_valid_cr4() and export only the non-vendor bits
    aeb4c3e1c46f KVM: s390: pv: don't present the ecall interrupt twice
    6afe88fbb40e KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0
    1f27ca6534f3 KVM: nVMX: Snapshot pre-VM-Enter DEBUGCTL for !nested_run_pending case
    b69b7c1a0d21 KVM: nVMX: Snapshot pre-VM-Enter BNDCFGS for !nested_run_pending case
    5138b0f7cb5b HID: wacom: Don't register pad_input for touch switch
    c5ec7920b566 HID: wacom: Only report rotation for art pen
    109f0544a518 HID: hid-input: add Surface Go battery quirk
    e9ba81ee1cbd lockd: detect and reject lock arguments that overflow
    b437275e894b add barriers to buffer_uptodate and set_buffer_uptodate
    594f1b923813 wifi: mac80211_hwsim: use 32-bit skb cookie
    6b6ed18432ea wifi: mac80211_hwsim: add back erroneously removed cast
    879f766eaa31 wifi: mac80211_hwsim: fix race condition in pending packet
    14acf0290d2d ALSA: hda/realtek: Add quirk for HP Spectre x360 15-eb0xxx
    196d8d34de95 ALSA: hda/realtek: Add quirk for Clevo NV45PZ
    64ca7f50ad96 ALSA: bcd2000: Fix a UAF bug on the error path of probing
    30e8b553e029 ALSA: usb-audio: Add quirk for Behringer UMC202HD
    6a463eb6dfcc nfsd: eliminate the NFSD_FILE_BREAK_* flags
    8eedc616f327 NFSD: Clean up the show_nf_flags() macro
    94d0dd56f817 pNFS/flexfiles: Report RDMA connection errors to the server
    661714de2403 scsi: Revert "scsi: qla2xxx: Fix disk failure to rediscover"
    3593f251f973 Revert "pNFS: nfs3_set_ds_client should set NFS_CS_NOPING"
    b6c05de137c3 x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments
    4c7ee827da2c Makefile: link with -z noexecstack --no-warn-rwx-segments
    7217df812798 Linux 5.15.60
    5c5c77746ce1 x86/speculation: Add LFENCE to RSB fill sequence
    7fcd99e889c0 x86/speculation: Add RSB VM Exit protections
    c81d1bb58c88 macintosh/adb: fix oob read in do_adb_query() function
    d98cf2b40c20 Bluetooth: btusb: Add Realtek RTL8852C support ID 0x13D3:0x3586
    ee421ad8973b Bluetooth: btusb: Add Realtek RTL8852C support ID 0x13D3:0x3587
    59689a843bc9 Bluetooth: btusb: Add Realtek RTL8852C support ID 0x0CB8:0xC558
    b653eeaa8cf8 Bluetooth: btusb: Add Realtek RTL8852C support ID 0x04C5:0x1675
    d4f921efb4bf Bluetooth: btusb: Add Realtek RTL8852C support ID 0x04CA:0x4007
    04e3388eeb47 Bluetooth: btusb: Add support of IMC Networks PID 0x3568
    6a5ec48fb752 dt-bindings: bluetooth: broadcom: Add BCM4349B1 DT binding
    88e088e29487 Bluetooth: hci_bcm: Add DT compatible for CYW55572
    2aa38f0af306 Bluetooth: hci_bcm: Add BCM4349B1 variant
    37b385c78cd5 btrfs: zoned: fix critical section of relocation inode writeback
    5e04c8bf42d8 btrfs: zoned: prevent allocation from previous data relocation BG
    775871d4be0d arm64: set UXN on swapper page tables
    a619a0312099 KVM: x86/svm: add __GFP_ACCOUNT to __sev_dbg_{en,de}crypt_user()
    e423893fe320 selftests: KVM: Handle compiler optimizations in ucall
    bc2cee443c74 tools/kvm_stat: fix display of error when multiple processes are found
    9acd899d2feb KVM: selftests: Make hyperv_clock selftest more stable
    ad6fd99d5feb KVM: x86: do not set st->preempted when going back to user space
    92343314d34e KVM: x86: do not report a vCPU as preempted outside instruction boundaries
    3d4c28475ee3 crypto: arm64/poly1305 - fix a read out-of-bound
    397c2116cbe2 ACPI: APEI: Better fix to avoid spamming the console with old error logs
    e7170bcda613 ACPI: video: Shortening quirk list by identifying Clevo by board_name only
    3a5fab5c4505 ACPI: video: Force backlight native for some TongFang devices
    9894717519cc tools/vm/slabinfo: Handle files in debugfs
    7ad47f414b40 block: fix default IO priority handling again
    e889a4c440eb selftests/bpf: Check dst_port only on the client socket
    119debdb9f25 selftests/bpf: Extend verifier and bpf_sock tests for dst_port loads
    df9692b8a319 x86/speculation: Make all RETbleed mitigations 64-bit only
    d676d6149a2f Linux 5.15.59
    f0e42e43795d x86/bugs: Do not enable IBPB at firmware entry when IBPB is not available
    d10e819d13f7 locking/rwsem: Allow slowpath writer to ignore handoff bit if not set by first waiter
    66d31cef4806 docs/kernel-parameters: Update descriptions for "mitigations=" param with retbleed
    7bada8b0bdf1 EDAC/ghes: Set the DIMM label unconditionally
    30dc2effc74a ARM: 9216/1: Fix MAX_DMA_ADDRESS overflow
    86e83233dd01 page_alloc: fix invalid watermark check on a negative value
    51a772c34ea4 mm/hmm: fault non-owner device private entries
    350fcb5e7bbb ARM: crypto: comment out gcc warning that breaks clang builds
    e796e1fe20ec sctp: leave the err path free in sctp_stream_init to sctp_stream_free
    f7c2a9c5435a sfc: disable softirqs for ptp TX
    fe0e602f0502 perf symbol: Correct address for bss symbols
    871168abe6d8 virtio-net: fix the race between refill work and close
    91c11008aab0 netfilter: nf_queue: do not allow packet truncation below transport header offset
    be5cd347ba22 octeontx2-pf: cn10k: Fix egress ratelimit configuration
    3688939cd3e8 sctp: fix sleep in atomic context bug in timer handlers
    186fcdb68f42 i40e: Fix interface init with MSI interrupts (no MSI-X)
    4685f16b3a5d ipv4: Fix data-races around sysctl_fib_notify_on_flag_change.
    eaccca7a0bb8 tcp: Fix data-races around sysctl_tcp_reflect_tos.
    4cc070e0ef2d tcp: Fix a data-race around sysctl_tcp_comp_sack_nr.
    34c9977b4dca tcp: Fix a data-race around sysctl_tcp_comp_sack_slack_ns.
    6842c94de9d5 tcp: Fix a data-race around sysctl_tcp_comp_sack_delay_ns.
    618116a273b7 net: Fix data-races around sysctl_[rw]mem(_offset)?.
    a610feb170bf tcp: Fix data-races around sk_pacing_rate.
    b01b4f5b45ff net: mld: fix reference count leak in mld_{query | report}_work()
    5831ccf37a31 net: macsec: fix potential resource leak in macsec_add_rxsa() and macsec_add_txsa()
    2959a86a472f macsec: always read MACSEC_SA_ATTR_PN as a u64
    a706a40d42f4 macsec: limit replay window size with XPN
    6ad56d5c4f98 macsec: fix error message in macsec_add_rxsa and _txsa
    8991687d3bcf macsec: fix NULL deref in macsec_add_rxsa
    830582c16be1 Documentation: fix sctp_wmem in ip-sysctl.rst
    dac5644a823e tcp: Fix a data-race around sysctl_tcp_invalid_ratelimit.
    6f446677ebb3 tcp: Fix a data-race around sysctl_tcp_autocorking.
    bd07f2e70a4b tcp: Fix a data-race around sysctl_tcp_min_rtt_wlen.
    922ca9fd221b tcp: Fix a data-race around sysctl_tcp_min_tso_segs.
    777d18e65d09 net: sungem_phy: Add of_node_put() for reference returned by of_get_parent()
    40f4739bbd36 net: pcs: xpcs: propagate xpcs_read error to xpcs_get_state_c37_sgmii
    c721324afc58 igmp: Fix data-races around sysctl_igmp_qrv.
    ad6d6ae4a34c net/tls: Remove the context from the list in tls_device_down
    189e370b8250 ipv6/addrconf: fix a null-ptr-deref bug for ip6_ptr
    4845d3ef6445 net: ping6: Fix memleak in ipv6_renew_options().
    6a4a1c70e446 scsi: mpt3sas: Stop fw fault watchdog work item during system shutdown
    3d3e41069b65 scsi: core: Fix warning in scsi_alloc_sgtables()
    ff2932ac8ee1 tcp: Fix a data-race around sysctl_tcp_challenge_ack_limit.
    a88de75673e4 tcp: Fix a data-race around sysctl_tcp_limit_output_bytes.
    664a3311e671 tcp: Fix data-races around sysctl_tcp_moderate_rcvbuf.
    59e2332846d8 octeontx2-pf: Fix UDP/TCP src and dst port tc filters
    927c5cf0ba3e Revert "tcp: change pingpong threshold to 3"
    bdaf56e0df15 scsi: ufs: host: Hold reference returned by of_parse_phandle()
    7f0a36506809 ice: do not setup vlan for loopback VSI
    cef4c1d0fb48 ice: check (DD | EOF) bits on Rx descriptor rather than (EOP | RS)
    62e721dee8cc tcp: Fix data-races around sysctl_tcp_no_ssthresh_metrics_save.
    aa2ca5b5629d tcp: Fix a data-race around sysctl_tcp_nometrics_save.
    6e167ed68999 tcp: Fix a data-race around sysctl_tcp_frto.
    0d8fa3c2a442 tcp: Fix a data-race around sysctl_tcp_adv_win_scale.
    74753ec663d7 tcp: Fix a data-race around sysctl_tcp_app_win.
    807b028115eb tcp: Fix data-races around sysctl_tcp_dsack.
    c9c01dd38975 watch_queue: Fix missing locking in add_watch_to_object()
    093610f216d0 watch_queue: Fix missing rcu annotation
    11c1cc3f6e42 drm/simpledrm: Fix return type of simpledrm_simple_display_pipe_mode_valid()
    121c8993d4f3 nouveau/svm: Fix to migrate all requested pages
    8bd9747d3066 s390/archrandom: prevent CPACF trng invocations in interrupt context
    71f71150115a asm-generic: remove a broken and needless ifdef conditional
    dc124c849c72 hugetlb: fix memoryleak in hugetlb_mcopy_atomic_pte
    2722fb0f7028 mm: fix page leak with multiple threads mapping the same page
    70d0ce332d26 secretmem: fix unhandled fault in truncate
    3ef8040afce7 fs: sendfile handles O_NONBLOCK of out_fd
    518df26b5238 ntfs: fix use-after-free in ntfs_ucsncmp()
    46f6301fb4f1 Revert "ocfs2: mount shared volume without ha stack"
    f32d5615a78a Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_put
    7d8048d4e064 Linux 5.15.58
    c6e4817ab622 drm/amd/display: Fix wrong format specifier in amdgpu_dm.c
    198a6f40822e x86/entry_32: Fix segment exceptions
    ec9ec3bc08b1 drm/amdgpu: Off by one in dm_dmub_outbox1_low_irq()
    e4481000ac68 x86: drop bogus "cc" clobber from __try_cmpxchg_user_asm()
    9444462d6343 KVM: x86: fix typo in __try_cmpxchg_user causing non-atomicness
    b6c24afba608 x86/extable: Prefer local labels in .set directives
    f85a6046f771 drm/amd/display: invalid parameter check in dmub_hpd_callback
    760fe3203493 drm/amd/display: Don't lock connection_mutex for DMUB HPD
    d026ed6eda29 watch-queue: remove spurious double semicolon
    b34229f4b212 net: usb: ax88179_178a needs FLAG_SEND_ZLP
    b2d1e4cd558c tty: use new tty_insert_flip_string_and_push_buffer() in pty_write()
    816c301b6a73 tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()
    35545303454a tty: drop tty_schedule_flip()
    6219f5b54ad8 tty: the rest, stop using tty_schedule_flip()
    ea255921c4b5 tty: drivers/tty/, stop using tty_schedule_flip()
    ba3a8af8a21a watchqueue: make sure to serialize 'wqueue->defunct' properly
    49338b651f5a x86/alternative: Report missing return thunk details
    8842d5d70713 x86/amd: Use IBPB for firmware calls
    c2b484d784c8 drm/amd/display: Fix surface optimization regression on Carrizo
    958151194858 drm/amd/display: Optimize bandwidth on following fast update
    b3f16976b9ed drm/amd/display: Reset DMCUB before HW init
    4b4b1f8dfeb7 exfat: use updated exfat_chain directly during renaming
    000473ac997a Bluetooth: Fix bt_skb_sendmmsg not allocating partial chunks
    d01605a01f01 Bluetooth: SCO: Fix sco_send_frame returning skb->len
    5ae749f40d01 Bluetooth: Fix passing NULL to PTR_ERR
    367becefb8a1 Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg
    1864e820a5ac Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg
    cb7ed8c7fe5b Bluetooth: Add bt_skb_sendmmsg helper
    a4e8071be337 Bluetooth: Add bt_skb_sendmsg helper
    59f132fda50d um: virtio_uml: Fix broken device handling in time-travel
    38a28bb80f00 um: virtio_uml: Allow probing from devicetree
    d8413b16feee tracing: Fix return value of trace_pid_write()
    d9777061727b tracing: Place trace_pid_list logic into abstract functions
    6107b014163f tracing: Have event format check not flag %p* on __get_dynamic_array()
    621c1d8c1bd1 exfat: fix referencing wrong parent directory information after renaming
    72e0ec16f172 crypto: qat - re-enable registration of algorithms
    e7f979ed51f9 crypto: qat - add param check for DH
    4d6d2adce087 crypto: qat - add param check for RSA
    2488286d3e77 crypto: qat - remove dma_free_coherent() for DH
    6e8606e7ae40 crypto: qat - remove dma_free_coherent() for RSA
    a843925e0287 crypto: qat - fix memory leak in RSA
    ef5594895df2 crypto: qat - add backlog mechanism
    9cac903b6303 crypto: qat - refactor submission logic
    f576c7e01a6a crypto: qat - use pre-allocated buffers in datapath
    343cee3eafda crypto: qat - set to zero DH parameters before free
    c1f6637fe1c2 iwlwifi: fw: uefi: add missing include guards
    4448327b4173 mt76: fix use-after-free by removing a non-RCU wcid pointer
    829baf398f2c xhci: Set HCD flag to defer primary roothub registration
    813f4b49e81c xhci: dbc: Rename xhci_dbc_init and xhci_dbc_exit
    413c5f751f7c xhci: dbc: create and remove dbc structure in dbgtty driver.
    d7afb4a13f6c xhci: dbc: refactor xhci_dbc_init()
    d97c0667c1e6 KVM: x86: Use __try_cmpxchg_user() to emulate atomic accesses
    88eded8104d2 x86/futex: Remove .fixup usage
    6875d2425be8 x86/msr: Remove .fixup usage
    f637fbc7bda6 x86/extable: Extend extable functionality
    4bbc9a07e050 x86/entry_32: Remove .fixup usage
    e89d805e77f2 bitfield.h: Fix "type of reg too small for mask" test
    a86201c3ae79 x86/extable: Provide EX_TYPE_DEFAULT_MCE_SAFE and EX_TYPE_FAULT_MCE_SAFE
    3461326e1a9e x86/extable: Rework the exception table mechanics
    ad2d98ea72d2 x86/mce: Deduplicate exception handling
    3e6392ba3dce x86/extable: Get rid of redundant macros
    d3135da29e1a x86/extable: Tidy up redundant handler functions
    823424905d03 x86/uaccess: Implement macros for CMPXCHG on user addresses
    1062cfb47e56 dlm: fix pending remove if msg allocation fails
    765f802e0d25 x86/bugs: Warn when "ibrs" mitigation is selected on Enhanced IBRS parts
    46d5575df8a1 sched/deadline: Fix BUG_ON condition for deboosted tasks
    bc1fb3c53afd bpf: Make sure mac_header was set before using it
    8c5429a04ccd mm/mempolicy: fix uninit-value in mpol_rebind_policy()
    e91665fbbf3c KVM: Don't null dereference ops->destroy
    58466e053900 spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers
    cd9f96aa8f57 KVM: selftests: Fix target thread to be migrated in rseq_test
    e129e5486b98 gpio: gpio-xilinx: Fix integer overflow
    ce3731c61589 tcp: Fix data-races around sysctl_tcp_max_reordering.
    84cee470f77c tcp: Fix a data-race around sysctl_tcp_abort_on_overflow.
    46d05dab1b4f tcp: Fix a data-race around sysctl_tcp_rfc1337.
    d46d55e3f9f8 tcp: Fix a data-race around sysctl_tcp_stdurg.
    1a1aedbb7605 tcp: Fix a data-race around sysctl_tcp_retrans_collapse.
    41aeba4506f6 tcp: Fix data-races around sysctl_tcp_slow_start_after_idle.
    404c53ccdebd tcp: Fix a data-race around sysctl_tcp_thin_linear_timeouts.
    a31e2d0cb5cf tcp: Fix data-races around sysctl_tcp_recovery.
    5037ca9e4b16 tcp: Fix a data-race around sysctl_tcp_early_retrans.
    329de75b9e16 tcp: Fix data-races around sysctl knobs related to SYN option.
    3f2ac2d6511b udp: Fix a data-race around sysctl_udp_l3mdev_accept.
    95724fe897a4 ip: Fix data-races around sysctl_ip_prot_sock.
    36f5b86f309b ipv4: Fix data-races around sysctl_fib_multipath_hash_fields.
    21fb844bc1dc ipv4: Fix data-races around sysctl_fib_multipath_hash_policy.
    b8d345db03b4 ipv4: Fix a data-race around sysctl_fib_multipath_use_neigh.
    94e4b855e22b drm/imx/dcss: Add missing of_node_put() in fail path
    3d13bf301e06 net: dsa: vitesse-vsc73xx: silent spi_device_id warnings
    25e1d782c9c3 net: dsa: sja1105: silent spi_device_id warnings
    aba8ff847f4f be2net: Fix buffer overflow in be_get_module_eeprom
    caae64d3e91b gpio: pca953x: use the correct register address when regcache sync during init
    dfb4b67ff4df gpio: pca953x: use the correct range when do regmap sync
    9726ed46b9b7 gpio: pca953x: only use single read/write for No AI mode
    e6fc5472b850 net: stmmac: remove redunctant disable xPCS EEE call
    16f929a5e76f ixgbe: Add locking to prevent panic when setting sriov_numvfs to zero
    893ea2b35bb9 i40e: Fix erroneous adapter reinitialization during recovery process
    fad55088ad73 pinctrl: armada-37xx: use raw spinlocks for regmap to avoid invalid wait context
    9d674108fe76 pinctrl: armada-37xx: Convert to use dev_err_probe()
    47c9f6bfc234 pinctrl: armada-37xx: Make use of the devm_platform_ioremap_resource()
    2cbb16513176 pinctrl: armada-37xx: Use temporary variable for struct device
    2918419c0608 iavf: Fix handling of dummy receive descriptors
    a77a75a0e7f3 tcp: Fix data-races around sysctl_tcp_fastopen_blackhole_timeout.
    539d9ab79eba tcp: Fix data-races around sysctl_tcp_fastopen.
    3ae85dc62a02 tcp: Fix data-races around sysctl_max_syn_backlog.
    58d5ea71aaa6 tcp: Fix a data-race around sysctl_tcp_tw_reuse.
    80d4d0c46167 tcp: Fix a data-race around sysctl_tcp_notsent_lowat.
    e816f8024617 tcp: Fix data-races around some timeout sysctl knobs.
    f6ce6556958c tcp: Fix data-races around sysctl_tcp_reordering.
    fcf6c6d8aeff tcp: Fix data-races around sysctl_tcp_migrate_req.
    10a9ba97a404 tcp: Fix data-races around sysctl_tcp_syncookies.
    78522951d718 tcp: Fix data-races around sysctl_tcp_syn(ack)?_retries.
    906beda70c2f tcp: Fix data-races around keepalive sysctl knobs.
    849450279dfc igmp: Fix data-races around sysctl_igmp_max_msf.
    2a408a4f423e igmp: Fix a data-race around sysctl_igmp_max_memberships.
    260446eb8e55 igmp: Fix data-races around sysctl_igmp_llm_reports.
    2e8c8309329d net/tls: Fix race in TLS device down flow
    7c687a893f5c net: stmmac: fix dma queue left shift overflow issue
    34e98fce9a9b perf tests: Fix Convert perf time to TSC test for hybrid
    196c21deb08a i2c: cadence: Change large transfer count reset logic to be unconditional
    66b73ef38d80 i2c: mlxcpld: Fix register setting for 400KHz frequency
    b8e68fce6f0e net: ipv4: use kfree_skb_reason() in ip_rcv_finish_core()
    ad5a78ed1356 net: ipv4: use kfree_skb_reason() in ip_rcv_core()
    82cda9918473 net: netfilter: use kfree_drop_reason() for NF_DROP
    f3ed670ef850 net: skb_drop_reason: add document for drop reasons
    8ac90de3d137 net: socket: rename SKB_DROP_REASON_SOCKET_FILTER
    b7adefdae236 net: skb: use kfree_skb_reason() in __udp4_lib_rcv()
    1629144da383 net: skb: use kfree_skb_reason() in tcp_v4_rcv()
    5158e18225c0 net: skb: introduce kfree_skb_reason()
    88ec2ff42da3 net: dsa: microchip: ksz_common: Fix refcount leak bug
    212a5360ef40 mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times
    0156b402a5be mtd: rawnand: gpmi: validate controller clock rate
    f53c6ee5e7eb net: stmmac: fix unbalanced ptp clock issue in suspend/resume flow
    f784d232565b net: stmmac: fix pm runtime issue in stmmac_dvr_remove()
    e6b6f027e285 tcp: Fix a data-race around sysctl_tcp_probe_interval.
    f524c3e7f6cd tcp: Fix a data-race around sysctl_tcp_probe_threshold.
    cc36c37f5fe0 tcp: Fix a data-race around sysctl_tcp_mtu_probe_floor.
    0fc9357282df tcp: Fix data-races around sysctl_tcp_min_snd_mss.
    4d7dea651b7f tcp: Fix data-races around sysctl_tcp_base_mss.
    aabe9438fdfe tcp: Fix data-races around sysctl_tcp_mtu_probing.
    9ba9cd43b577 tcp: Fix data-races around sysctl_tcp_l3mdev_accept.
    b8e29f644583 tcp: sk->sk_bound_dev_if once in inet_request_bound_dev_if()
    bf3134feffe6 tcp/dccp: Fix a data-race around sysctl_tcp_fwmark_accept.
    dccf8a67f30e ip: Fix a data-race around sysctl_fwmark_reflect.
    87ceaa199a72 ip: Fix a data-race around sysctl_ip_autobind_reuse.
    4fdf9bdb2883 ip: Fix data-races around sysctl_ip_nonlocal_bind.
    351f81f7d718 ip: Fix data-races around sysctl_ip_fwd_update_priority.
    93fbc06da1d8 ip: Fix data-races around sysctl_ip_fwd_use_pmtu.
    01083e3f9868 ip: Fix data-races around sysctl_ip_no_pmtu_disc.
    e75b73081f1e igc: Reinstate IGC_REMOVED logic and implement it properly
    a4f7a9fbe24b Revert "e1000e: Fix possible HW unit hang after an s0ix exit"
    63aa107bce83 e1000e: Enable GPT clock before sending message to CSME
    98d81b2b154d nvme: fix block device naming collision
    321abf90c576 nvme: check for duplicate identifiers earlier
    dbedad96f416 scsi: ufs: core: Drop loglevel of WriteBoost message
    04ae8518745c scsi: megaraid: Clear READ queue map's nr_queues
    c7720f23bb93 drm/amd/display: Ignore First MST Sideband Message Return Error
    8bae037b0fb4 drm/amdgpu/display: add quirk handling for stutter mode
    e980e1d978e0 drm/amd/display: Fork thread to offload work of hpd_rx_irq
    54740bc4b182 drm/amd/display: Add option to defer works of hpd_rx_irq
    734d5ce02cb0 drm/amd/display: Support for DMUB HPD interrupt handling
    d1e0bbe08171 tcp: Fix data-races around sysctl_tcp_ecn.
    9cb4959493cd sysctl: move some boundary constants from sysctl.c to sysctl_vals
    e2b6c5f7ee95 mm/pagealloc: sysctl: change watermark_scale_factor max limit to 30%
    d2dba226acb9 net: tun: split run_ebpf_filter() and pskb_trim() into different "if statement"
    f52af853be7a ipv4/tcp: do not use per netns ctl sockets
    da3c256e2d0e perf/core: Fix data race between perf_event_set_output() and perf_mmap_close()
    44016a85419c pinctrl: ralink: Check for null return of devm_kcalloc
    e4e3187750f8 pinctrl: ralink: rename pinctrl-rt2880 to pinctrl-ralink
    d40def7cd05c pinctrl: ralink: rename MT7628(an) functions to MT76X8
    a4c5115140ed RDMA/irdma: Fix sleep from invalid context BUG
    03fd151bdff0 RDMA/irdma: Do not advertise 1GB page size for x722
    71ab83ac65e2 power/reset: arm-versatile: Fix refcount leak in versatile_reboot_probe
    c8e32bca0676 xfrm: xfrm_policy: fix a possible double xfrm_pols_put() in xfrm_bundle_lookup()
    1d3eeb199970 ip: Fix data-races around sysctl_ip_default_ttl.
    6bf450d92d0c r8152: fix a WOL issue
    44addae95ed7 xfs: prevent a WARN_ONCE() in xfs_ioc_attr_list()
    1da0b50ea071 xfs: fix perag reference leak on iteration race with growfs
    768bfde1cf3e xfs: terminate perag iteration reliably on agcount
    2991d51b42a3 xfs: rename the next_agno perag iteration variable
    4d6f22f6cc58 xfs: fold perag loop iteration logic into helper function
    67cb74213a52 xfs: fix maxlevels comparisons in the btree staging code
    cf719adb6fa9 mt76: mt7921: Fix the error handling path of mt7921_pci_probe()
    22b910a7a378 mt76: mt7921e: fix possible probe failure after reboot
    c3bcf1f959f6 mt76: mt7921: use physical addr to unify register access
    191c16f921ad Revert "mt76: mt7921e: fix possible probe failure after reboot"
    4666a6eb390c Revert "mt76: mt7921: Fix the error handling path of mt7921_pci_probe()"
    0cac1c84e1cc batman-adv: Use netif_rx_any_context() any.
    be56f007c414 serial: mvebu-uart: correctly report configured baudrate value
    92dcb50f7f09 PCI: hv: Fix interrupt mapping for multi-MSI
    2b77425d0ae4 PCI: hv: Reuse existing IRTE allocation in compose_msi_msg()
    35d24b115a40 PCI: hv: Fix hv_arch_irq_unmask() for multi-MSI
    5c676a214d63 PCI: hv: Fix multi-MSI to allow more than one MSI vector
    0791309aa0eb Revert "selftest/vm: verify mmap addr in mremap_test"
    cfd3a9be0ac4 Revert "selftest/vm: verify remap destination address in mremap_test"
    d7c4f9b8ed62 bus: mhi: host: pci_generic: add Telit FN990
    38b7bbe0ef1d bus: mhi: host: pci_generic: add Telit FN980 v1 hardware revision
    60e536b0a564 drm/ttm: fix locking in vmap/vunmap TTM GEM helpers
    0e66932a9dc9 lockdown: Fix kexec lockdown bypass with ima policy
    25ba5b824a72 mlxsw: spectrum_router: Fix IPv4 nexthop gateway indication
    73846553bcde riscv: add as-options for modules with assembly compontents
    aff42cea285f pinctrl: stm32: fix optional IRQ support to gpios
    a9e2d8e52e1c Linux 5.15.57
    b4296a7b863f x86: Use -mindirect-branch-cs-prefix for RETPOLINE builds
    06741ef8e7cc um: Add missing apply_returns()
    320fc994f0c8 x86/bugs: Remove apostrophe typo
    ac8edadc2b1e tools headers cpufeatures: Sync with the kernel sources
    1dd6c13b437c tools arch x86: Sync the msr-index.h copy with the kernel sources
    5f4e77cc9abf KVM: emulate: do not adjust size of fastop and setcc subroutines
    198685e58b13 x86/kvm: fix FASTOP_SIZE when return thunks are enabled
    554cf28b104d efi/x86: use naked RET on mixed mode call wrapper
    d0caa861a836 x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
    67040d1d922b x86/asm/32: Fix ANNOTATE_UNRET_SAFE use on 32-bit
    96907c5d3927 x86/xen: Fix initialisation in hypercall_page after rethunk
    86ccf19a91be x86/static_call: Serialize __static_call_fixup() properly
    73ad137d1146 x86/speculation: Disable RRSBA behavior
    db0128b8243f x86/kexec: Disable RET on kexec
    3653093b7bbf x86/bugs: Do not enable IBPB-on-entry when IBPB is not supported
    925340f99bdf x86/entry: Move PUSH_AND_CLEAR_REGS() back into error_entry
    2f8967e22322 x86/bugs: Add Cannon lake to RETBleed affected CPU list
    cc3011cdbe5f x86/retbleed: Add fine grained Kconfig knobs
    12a13570054f x86/cpu/amd: Enumerate BTC_NO
    d7a5c08b46b6 x86/common: Stamp out the stepping madness
    8d5cff499a6d x86/speculation: Fill RSB on vmexit for IBRS
    4207d7b645b8 KVM: VMX: Fix IBRS handling after vmexit
    0cbd5905c8f3 KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS
    5fde25284dfe KVM: VMX: Convert launched argument to flags
    852fe53040b9 KVM: VMX: Flatten __vmx_vcpu_run()
    c590fa2d2dac objtool: Re-add UNWIND_HINT_{SAVE_RESTORE}
    66b37dccbc25 x86/speculation: Remove x86_spec_ctrl_mask
    b55663e7521f x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit
    2069bd0e6f5b x86/speculation: Fix SPEC_CTRL write on SMT state change
    e898e28762f8 x86/speculation: Fix firmware entry SPEC_CTRL handling
    d427c1f83e8c x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n
    75d4fc2e965f x86/cpu/amd: Add Spectral Chicken
    dab72c3c32cc objtool: Add entry UNRET validation
    469d9b157017 x86/bugs: Do IBPB fallback check only once
    fd17a4254965 x86/bugs: Add retbleed=ibpb
    8894f699f187 x86/xen: Add UNTRAIN_RET
    87e6270183a4 x86/xen: Rename SYS* entry points
    e894b7817e08 objtool: Update Retpoline validation
    a1d912d7ac04 intel_idle: Disable IBRS during long idle
    e51769df6228 x86/bugs: Report Intel retbleed vulnerability
    b9349805e653 x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()
    347d0bf6b0c0 x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS
    e03415eeba78 x86/bugs: Optimize SPEC_CTRL MSR writes
    62b4db57eefe x86/entry: Add kernel IBRS implementation
    fac1b0007cec x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value
    b4e05ea71eda x86/bugs: Enable STIBP for JMP2RET
    89eba42632fc x86/bugs: Add AMD retbleed= boot parameter
    82e92fe936db x86/bugs: Report AMD retbleed vulnerability
    a9c0926fc754 x86: Add magic AMD return-thunk
    07f5c5e36236 objtool: Treat .text.__x86.* as noinstr
    1f068f9da743 x86/entry: Avoid very early RET
    1d61a2988612 x86: Use return-thunk in asm code
    6c45176bc2ae x86/sev: Avoid using __x86_return_thunk
    f3d9f990586c x86/vsyscall_emu/64: Don't use RET in vsyscall emulation
    5b43965d58ef x86/kvm: Fix SETcc emulation for return thunks
    0bfe8be824aa x86/bpf: Use alternative RET encoding
    e54fcb0812fa x86/ftrace: Use alternative RET encoding
    c1c80aabc7b9 x86,static_call: Use alternative RET encoding
    b0fb9784cf80 objtool: skip non-text sections when adding return-thunk sites
    1920e4be8a97 x86,objtool: Create .return_sites
    7bf553d9eebd x86: Undo return-thunk damage
    023a2b07d5c3 x86/retpoline: Use -mfunction-return
    bb81f3ac69f8 x86/retpoline: Swizzle retpoline thunk
    545b45c36a2f x86/retpoline: Cleanup some #ifdefery
    eee4f31fa2eb x86/cpufeatures: Move RETPOLINE flags to word 11
    ccb25d7db1a2 x86/kvm/vmx: Make noinstr clean
    2cd972ae337f x86/realmode: build with -D__DISABLE_EXPORTS
    6834878ace6e x86/entry: Remove skip_r11rcx
    40265bcd1bd3 objtool: Default ignore INT3 for unreachable
    32b2cd6060e7 bpf,x86: Respect X86_FEATURE_RETPOLINE*
    74b5a9f8edfe bpf,x86: Simplify computing label offsets
    1c2e7b40752a x86/alternative: Add debug prints to apply_retpolines()
    b93a0a740bca x86/alternative: Try inline spectre_v2=retpoline,amd
    a40925e2efd8 x86/alternative: Handle Jcc __x86_indirect_thunk_\reg
    86900f95fb06 x86/alternative: Implement .retpoline_sites support
    936c8fcb4995 x86/retpoline: Create a retpoline thunk array
    90ca76c83044 x86/retpoline: Move the retpoline thunk declarations to nospec-branch.h
    6a6fcb256301 x86/asm: Fixup odd GEN-for-each-reg.h usage
    71e578e1bd74 x86/asm: Fix register order
    18576e45b12a x86/retpoline: Remove unused replacement symbols
    655d4097039c objtool: Introduce CFI hash
    503882b5aeb6 objtool,x86: Replace alternatives with .retpoline_sites
    cad0e43a8c30 objtool: Shrink struct instruction
    c9fd00d8e622 objtool: Explicitly avoid self modifying code in .altinstr_replacement
    29e6b52efca1 objtool: Classify symbols
    1fd333eb3377 x86/entry: Don't call error_entry() for XENPV
    cac414684be9 x86/entry: Move PUSH_AND_CLEAR_REGS out of error_entry()
    19ac6c99a17e x86/entry: Switch the stack after error_entry() returns
    01bc8bd64c19 x86/traps: Use pt_regs directly in fixup_bad_iret()
    760adb59f621 Linux 5.15.56
    31f351eb534e drm/aperture: Run fbdev removal before internal helpers
    eac7fd3ca397 x86/pat: Fix x86_has_pat_wp()
    190ce5cdc55d serial: 8250: Fix PM usage_count for console handover
    2db3b95166f7 serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle
    8ef116a2a738 serial: stm32: Clear prev values before setting RTS delays
    10b27fa2d67c serial: 8250: fix return error code in serial8250_request_std_resource()
    57964a571025 vt: fix memory overlapping when deleting chars in the buffer
    8b07c2998720 tty: serial: samsung_tty: set dma burst_size to 1
    3cb692555a0b usb: dwc3: gadget: Fix event pending check
    ea42ef3ef678 usb: typec: add missing uevent when partner support PD
    aa96257867c0 USB: serial: ftdi_sio: add Belimo device ids
    ec0c62a23c50 signal handling: don't use BUG_ON() for debugging
    c01793517d8d nvme-pci: phison e16 has bogus namespace ids
    15ef4d686a58 ALSA: usb-audio: Add quirk for Fiero SC-01 (fw v1.0.0)
    df982f9d094d ALSA: usb-audio: Add quirk for Fiero SC-01
    9d90a21f0cb7 ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devices
    2483ba7afa59 Revert "can: xilinx_can: Limit CANFD brp to 2"
    bd87cf2ed609 ARM: dts: stm32: use the correct clock source for CEC on stm32mp151
    c0cba036bfe8 soc: ixp4xx/npe: Fix unused match warning
    26bb7afc027c x86: Clear .brk area at early boot
    ee1da3d59674 irqchip: or1k-pic: Undefine mask_ack for level triggered hardware
    9c9869c308a3 ASoC: madera: Fix event generation for rate controls
    66cc34f2e493 ASoC: madera: Fix event generation for OUT1 demux
    74ead64cbf0d ASoC: cs47l15: Fix event generation for low power mux control
    ab2f5e5f3ce1 ASoC: dapm: Initialise kcontrol data for mux/demux controls
    269be8b29073 ASoC: rt711-sdca: fix kernel NULL pointer dereference when IO error
    44975751bef0 ASoC: wm5110: Fix DRE control
    bc9067062600 ASoC: Intel: bytcr_wm5102: Fix GPIO related probe-ordering problem
    dd70da2a5816 ASoC: wcd938x: Fix event generation for some controls
    05708fb473ce ASoC: SOF: Intel: hda-loader: Clarify the cl_dsp_init() flow
    e71d0e1370b1 ASoC: codecs: rt700/rt711/rt711-sdca: initialize workqueues in probe
    07a606e1389a ASoC: rt7*-sdw: harden jack_detect_handler
    b054614dd3fd ASoC: rt711: fix calibrate mutex initialization
    f2556ce6b35a ASoC: Intel: sof_sdw: handle errors on card registration
    42664a97f2b5 ASoC: rt711-sdca-sdw: fix calibrate mutex initialization
    4e81b38d9426 ASoC: Realtek/Maxim SoundWire codecs: disable pm_runtime on remove
    3cb392b64304 pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
    0c6c7d57ed00 ASoC: ops: Fix off by one in range control validation
    204543581a2f net: sfp: fix memory leak in sfp_probe()
    7a2294c5f2e5 nvme: fix regression when disconnect a recovering ctrl
    1e4427aa2fc8 nvme-tcp: always fail a request when sending it failed
    8ab067462e09 NFC: nxp-nci: don't print header length mismatch on i2c error
    833ecd0eae76 net: tipc: fix possible refcount leak in tipc_sk_create()
    13d28e0c79cb fbdev: Disable sysfb device registration when removing conflicting FBs
    b952569e0316 firmware: sysfb: Add sysfb_disable() helper function
    2ef4c6d66f7d firmware: sysfb: Make sysfb_create_simplefb() return a pdev pointer
    f57c76104c74 platform/x86: hp-wmi: Ignore Sanitization Mode event
    57289b6601fe cpufreq: pmac32-cpufreq: Fix refcount leak bug
    06f818de1621 scsi: hisi_sas: Limit max hw sectors for v3 HW
    03a400a64050 netfilter: br_netfilter: do not skip all hooks with 0 priority
    bf5307924563 virtio_mmio: Restore guest page size on resume
    26d824d1316f virtio_mmio: Add missing PM calls to freeze/restore
    65d7a723fdda vduse: Tie vduse mgmtdev and its device
    b34dbeb2b0ec vdpa/mlx5: Initialize CVQ vringh only once
    10f2cd373e65 powerpc/xive/spapr: correct bitmap allocation size
    4e69750549b8 ksmbd: use SOCK_NONBLOCK type for kernel_accept()
    d300ced12889 btrfs: zoned: fix a leaked bioc in read_zone_info
    d2faf8ed1dc2 btrfs: rename btrfs_bio to btrfs_io_context
    a06248fa62ef mm: sysctl: fix missing numa_stat when !CONFIG_HUGETLB_PAGE
    204d12228697 ACPI: video: Fix acpi_video_handles_brightness_key_presses()
    724ec407f997 net/tls: Check for errors in tls_device_init
    a0706d7c1429 KVM: x86: Fully initialize 'struct kvm_lapic_irq' in kvm_pv_kick_cpu_op()
    58c90993933e net: atlantic: remove aq_nic_deinit() when resume
    9b1cb795a7ab net: atlantic: remove deep parameter on suspend/resume functions
    68e5f32f0de9 sfc: fix kernel panic when creating VF
    2d84fcb6e6f7 seg6: bpf: fix skb checksum in bpf_push_seg6_encap()
    15e8b6274c49 seg6: fix skb checksum in SRv6 End.B6 and End.B6.Encaps behaviors
    859081fb60e6 seg6: fix skb checksum evaluation in SRH encapsulation/insertion
    5464c8987ddf ceph: switch netfs read ops to use rreq->inode instead of rreq->mapping->host
    58d93e9d160c sfc: fix use after free when disabling sriov
    8c37e7a2000d drm/amd/pm: Prevent divide by zero
    cded1186f7e9 drm/amd/display: Only use depth 36 bpp linebuffers on DCN display engines.
    601ae26aa280 ima: Fix potential memory leak in ima_init_crypto()
    2340428c90d4 ima: force signature verification when CONFIG_KEXEC_SIG is configured
    f4bd3202a2b4 net: stmmac: fix leaks in probe
    4225a78eb4d7 net: ftgmac100: Hold reference returned by of_get_child_by_name()
    0d17723afea3 nexthop: Fix data-races around nexthop_compat_mode.
    6b26fb2fe227 ipv4: Fix data-races around sysctl_ip_dynaddr.
    8bcf7339f2cf tcp: Fix a data-race around sysctl_tcp_ecn_fallback.
    46e9c46203fd raw: Fix a data-race around sysctl_raw_l3mdev_accept.
    8d7a13654a98 icmp: Fix a data-race around sysctl_icmp_ratemask.
    7c1b6e453481 icmp: Fix a data-race around sysctl_icmp_ratelimit.
    de9490c32bc1 icmp: Fix a data-race around sysctl_icmp_errors_use_inbound_ifaddr.
    44021c2929cf icmp: Fix a data-race around sysctl_icmp_ignore_bogus_error_responses.
    cce955efa0ab icmp: Fix data-races around sysctl_icmp_echo_enable_probe.
    a716a3846c5f sysctl: Fix data-races in proc_dointvec_ms_jiffies().
    e58b02e44546 sysctl: Fix data-races in proc_dou8vec_minmax().
    3852f048be60 bnxt_en: Fix bnxt_refclk_read()
    0260a9aa5d5c bnxt_en: Fix bnxt_reinit_after_abort() code path
    a6cecaf058c4 drm/i915: Require the vm mutex for i915_vma_bind()
    60d1bb301ea5 drm/i915/uc: correctly track uc_fw init failure
    86062ca5edf1 drm/i915/gt: Serialize TLB invalidates with GT resets
    0ee5874dad61 drm/i915/gt: Serialize GRDOM access between multiple engine resets
    f8ba02531476 drm/i915/dg2: Add Wa_22011100796
    40c12fc52023 drm/i915/selftests: fix a couple IS_ERR() vs NULL tests
    af515a633942 tracing: Fix sleeping while atomic in kdb ftdump
    62a6a708f392 lockd: fix nlm_close_files
    9c3eef773cf4 lockd: set fl_owner when unlocking files
    1e92426e2b3a xen/gntdev: Ignore failure to unmap INVALID_GRANT_HANDLE
    f6e3ced9c60f drm/i915/gvt: IS_ERR() vs NULL bug in intel_gvt_update_reg_whitelist()
    5a4bb158f4c6 netfilter: nf_tables: replace BUG_ON by element length check
    b97aa619a3cb netfilter: nf_log: incorrect offset to network header
    dc2ec80bc949 arm64: dts: broadcom: bcm4908: Fix cpu node for smp boot
    1d49665a93b1 arm64: dts: broadcom: bcm4908: Fix timer node for BCM4906 SoC
    f0ccff1c89ba ARM: dts: sunxi: Fix SPI NOR campatible on Orange Pi Zero
    c0dd77cede0a ARM: dts: at91: sama5d2: Fix typo in i2s1 node
    9be8aac91960 ipv4: Fix a data-race around sysctl_fib_sync_mem.
    e2828e8c6058 icmp: Fix data-races around sysctl.
    07b0caf8aeb9 cipso: Fix data-races around sysctl.
    a5796154b56f net: Fix data-races around sysctl_mem.
    82d07170290d inetpeer: Fix data-races around sysctl.
    2dfff4b607c4 tcp: Fix a data-race around sysctl_tcp_max_orphans.
    67623d290d45 sysctl: Fix data races in proc_dointvec_jiffies().
    dcdf3c3c587a sysctl: Fix data races in proc_doulongvec_minmax().
    40e0477a7371 sysctl: Fix data races in proc_douintvec_minmax().
    32d7f8da8244 sysctl: Fix data races in proc_dointvec_minmax().
    d335db59f7fb sysctl: Fix data races in proc_douintvec().
    279bf2a909e6 sysctl: Fix data races in proc_dointvec().
    ad3014b0f6b2 net: ethernet: ti: am65-cpsw: Fix devlink port register sequence
    d5c315a78765 net: stmmac: dwc-qos: Disable split header for Tegra194
    750a5e2e5368 ASoC: Intel: Skylake: Correct the handling of fmt_config flexible array
    0d083ea282e5 ASoC: Intel: Skylake: Correct the ssp rate discovery in skl_get_ssp_clks()
    dfe3ce23217c ASoC: tas2764: Fix amp gain register offset & default
    a92e7564c540 ASoC: tas2764: Correct playback volume range
    1230d3e4b884 ASoC: tas2764: Fix and extend FSYNC polarity handling
    7dc0ae04c04e ASoC: tas2764: Add post reset delays
    9b9773cc55d8 ASoC: sgtl5000: Fix noise on shutdown/remove
    c8d5d8194093 ima: Fix a potential integer overflow in ima_appraise_measurement
    505114dda5bb drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()
    c6e1c5c0c19d net/mlx5e: Ring the TX doorbell on DMA errors
    663a06e96203 net/mlx5e: Fix capability check for updating vnic env counters
    3a5e734ec002 net/mlx5e: Fix enabling sriov while tc nic rules are offloaded
    5adcc5ded58a net/mlx5e: kTLS, Fix build time constant test in RX
    2ee2ef846fa3 net/mlx5e: kTLS, Fix build time constant test in TX
    ba27a912f99e ARM: 9210/1: Mark the FDT_FIXED sections as shareable
    443838e6ff0f ARM: 9209/1: Spectre-BHB: avoid pr_info() every time a CPU comes out of idle
    2bcb2e42a500 spi: amd: Limit max transfer and message size
    28ad09b0d7b1 ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count
    3bbe6437c1d5 reset: Fix devm bulk optional exclusive control getter
    d8124f111b67 xfs: drop async cache flushes from CIL commits.
    d4dab8b405c6 xfs: run callbacks before waking waiters in xlog_state_shutdown_callbacks
    88beb994eae1 xfs: don't include bnobt blocks when reserving free block pool
    ea22fcd0324d xfs: only run COW extent recovery when there are no live extents
    fb593531571c Revert "evm: Fix memleak in init_desc"
    d69f9ff4c8ab sh: convert nommu io{re,un}map() to static inline functions
    bb676a80c6eb nilfs2: fix incorrect masking of permission flags for symlinks
    ca58387e7ad1 fs/remap: constrain dedupe of EOF blocks
    1807d8867402 drm/panfrost: Fix shrinker list corruption by madvise IOCTL
    fbe7451a3ada drm/panfrost: Put mapping instead of shmem obj on panfrost_mmu_map_fault_addr() error
    531a140e269d btrfs: return -EAGAIN for NOWAIT dio reads/writes on compressed and inline extents
    54aee4e5ce8c cgroup: Use separate src/dst nodes when preloading css_sets for migration
    5a9df3101799 wifi: mac80211: fix queue selection for mesh/OCB interfaces
    2a098504d7a0 ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction
    a4f5e3a22fbd ARM: 9213/1: Print message about disabled Spectre workarounds only once
    6f497564bf6a ip: fix dflt addr selection for connected nexthop
    1eb4bea3af81 net: sock: tracing: Fix sock_exceed_buf_limit not to dereference stale pointer
    22eeff55679d tracing/histograms: Fix memory leak problem
    e4967d22882b mm: split huge PUD on wp_huge_pud fallback
    27056f20d753 mm: userfaultfd: fix UFFDIO_CONTINUE on fallocated shmem pages
    b856e5738b1c fix race between exit_itimers() and /proc/pid/timers
    b99174ac57fe xen/netback: avoid entering xenvif_rx_next_skb() with an empty rx queue
    9d3243d774f5 ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
    cd2731b3efe8 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc221
    dd9746cf6da3 ALSA: hda/realtek: fix mute/micmute LEDs for HP machines
    7d0c5005c580 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
    32fad77c4cd2 ALSA: hda/realtek: Fix headset mic for Acer SF313-51
    6744faa1d810 ALSA: hda/conexant: Apply quirk for another HP ProDesk 600 G3 model
    d60bb64d3263 ALSA: hda - Add fixup for Dell Latitidue E5430
    baefa2315cb1 Linux 5.15.55
    c80b15105a08 Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting"

(From meta-yocto rev: 1908a7d6eb84089251ad41e7a4c5568101e88a65)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:44 +00:00
Richard Purdie
786ef4df60 uninative-tarball: Add libgcc
We ship libpthread with uninative. when uninative is active we're seeing
failures like:

   libgcc_s.so.1 must be installed for pthread_cancel to work
   Aborted

which is since we don't have a libgcc that matches libpthread. Add libgcc
to avoid these errors.

(From OE-Core rev: a134a7186b2266378bc0b08c134e169a943eedde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Christian Eggers
06170c65ac boost: add url lib
Boost.URL is a library for manipulating Uniform Resource Identifiers
(URIs) and Locators (URLs).

(From OE-Core rev: 03daa9c96dbc06234348d0ab14631cec6ddf50d6)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Khem Raj
a51c87b6b4 tiff: Add packageconfig knob for webp
tiff-native otherwise falsely detects webp if its installed on build
host. This ensures deterministic behavior regardless of host.

(From OE-Core rev: 718c44f282310b2ca85877fed706460ccc1eebea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Khem Raj
8e95eae0d1 site/powerpc32-linux: Do not cache statvfs64 across glibc and musl
Newer version of musl does not expose LFS64 interfaces, therefore
caching this is not right thing to do across both glibc and musl
moreover we will enable largefile support on glibc too therefore caching
it here is redundant.

(From OE-Core rev: ae427b04b5259136aae46f9254445251499c12e8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Khem Raj
494be25ef2 mpg123: Enable largefile support
Disable lfs aliases since they are not needed when LFS is enabled

(From OE-Core rev: a999fe86f2ea34d1b7ba3958d5b54b89ab7a884f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Antonin Godard
836d67fcd6 busybox: rm temporary files if do_compile was interrupted
To avoid working with undeterministic config files, remove all the
temporary files to start from scratch.

(From OE-Core rev: 74cd440c4e3df0ed3b81cf5c60a3f92e0dd3fe6c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Antonin Godard
b65f684e26 busybox: always start do_compile with orig config files
When compiling busybox a second time (e.g. with `compile -f`), busybox
can use an altered autoconf.h file for compiling, which can ultimately
produces different and unwanted binaries.

This can produce errors like this one:

ERROR: busybox-1.35.0-r0 do_package: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:ptest_update_alternatives(d)
     0003:
File: '…/poky/meta/classes/ptest.bbclass', lineno: 100, function: ptest_update_alternatives
     0096:        for alt_name, alt_link, alt_target, _ in alternatives:
     0097:            # Some alternatives are for man pages,
     0098:            # check if the alternative is in PATH
     0099:            if os.path.dirname(alt_link) in bin_paths:
 *** 0100:                os.symlink(alt_target, os.path.join(ptest_bindir, alt_name))
     0101:}
     0102:
     0103:do_configure_ptest_base[dirs] = "${B}"
     0104:do_compile_ptest_base[dirs] = "${B}"
Exception: FileExistsError: [Errno 17] File exists: '/bin/busybox.suid' -> '…/busybox/1.35.0-r0/package/usr/lib/busybox/ptest/bin/login'

This happens because ALTERNATIVE:busybox contains `/bin/login` twice,
initially that's because `/bin/login` is present in both
busybox.links.suid and busybox.links.nosuid. The reason for that is
because of the altered autoconf.h.

Steps to reproduce above error:

<add ptest to distro configs>
bitbake busybox -c clean
bitbake busybox -c package -f
bitbake busybox -c compile -f
bitbake busybox -c package -f

This patch guards against potential bugs by:

- making a backup of .config and autoconf.h that have matching
  timestamps.
- make sure do_compile always starts with these files.
- restore .config and autoconf.h at the end of do_compile.

(From OE-Core rev: 6b4a0f063edcfe0a5a4f418842e86ac0c46d9cad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
e393f21735 linux-yocto/6.1: cfg: remove CONFIG_ARM_CRYPTO
This option is no longer required in 6.1+, so we grab the following
kernel-cache change:

    fa5b537b0e6 qemuarm: drop CONFIG_ARM_CRYPTO

(From OE-Core rev: 6bd8f0a916104bf650af931661a4f1b38a16d087)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
31480e65ba linux-yocto/6.1: update to v6.1.3
Updating  to the latest korg -stable release that comprises
the following commits:

    4adc0fbe03a6 Linux 6.1.3
    6a0ef7326e1e kcsan: Instrument memcpy/memset/memmove with newer Clang
    c9ded831e255 SUNRPC: Don't leak netobj memory when gss_read_proxy_verf() fails
    e60fa800a32a tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak
    b0785edaf649 tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
    bf31e3f8077a tpm: acpi: Call acpi_put_table() to fix memory leak
    ba2e7d07dd06 mmc: vub300: fix warning - do not call blocking ops when !TASK_RUNNING
    a35b4bcb4389 block: Do not reread partition table on exclusively open device
    01bb48573069 f2fs: allow to read node block after shutdown
    6028ec01c4f7 f2fs: should put a page when checking the summary info
    b3b3212725ed mm, compaction: fix fast_isolate_around() to stay within boundaries
    97ce99984be1 md: fix a crash in mempool_free
    e9d055b8dfca mfd: mt6360: Add bounds checking in Regmap read/write call-backs
    784a4f995ee2 pnode: terminate at peers of source
    f9aafff5448b ALSA: hda/hdmi: Static PCM mapping again with AMD HDMI codecs
    389d34c2a8b5 ALSA: line6: fix stack overflow in line6_midi_transmit
    e58d1d2eb31b ALSA: line6: correct midi status byte when receiving data from podxt
    bc2e0c5bb97c ovl: update ->f_iocb_flags when ovl_change_flags() modifies ->f_flags
    d84a696c86ac ovl: Use ovl mounter's fsuid and fsgid in ovl_link()
    703fd753a0ba binfmt: Fix error return code in load_elf_fdpic_binary()
    e6d180a35bc0 ACPI: x86: s2idle: Stop using AMD specific codepath for Rembrandt+
    577821f756cf ACPI: x86: s2idle: Force AMD GUID/_REV 2 on HP Elitebook 865
    0478b94c6f91 hfsplus: fix bug causing custom uid and gid being unable to be assigned with mount
    23ac2a31c54f pstore/zone: Use GFP_ATOMIC to allocate zone buffer
    5c3a4cdc5363 pstore: Properly assign mem_type property
    2cec280c4915 kmsan: include linux/vmalloc.h
    dace33a1896e kmsan: export kmsan_handle_urb
    0ce4cc6d269d mm/mempolicy: fix memory leak in set_mempolicy_home_node system call
    4d528dab403b mm, mremap: fix mremap() expanding vma with addr inside vma
    97e14ae08204 rtmutex: Add acquire semantics for rtmutex lock acquisition slow path
    09727bc32f67 futex: Fix futex_waitv() hrtimer debug object leak on kcalloc error
    c86c5cf67f38 HID: plantronics: Additional PIDs for double volume key presses quirk
    79f9b467b8b5 HID: multitouch: fix Asus ExpertBook P2 P2451FA trackpoint
    d465fa2a9add kprobes: kretprobe events missing on 2-core KVM guest
    650b69b17cfd NFSD: fix use-after-free in __nfs42_ssc_open()
    ba50fee6b41b rtc: msc313: Fix function prototype mismatch in msc313_rtc_probe()
    482d990a5dd1 powerpc/rtas: avoid scheduling in rtas_os_term()
    464d10e8d797 powerpc/rtas: avoid device tree lookups in rtas_os_term()
    85cc8a187f2d iommu/mediatek: Fix crash on isr after kexec()
    fcee8a2d4db4 objtool: Fix SEGFAULT
    6d076293e5bf fs/ntfs3: Fix slab-out-of-bounds in r_page
    4d744cee4ca1 fs/ntfs3: Delete duplicate condition in ntfs_read_mft()
    fd8aa71b6571 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_fill_super()
    590a6943a1d1 fs/ntfs3: Use __GFP_NOWARN allocation at wnd_init()
    d6379ce24296 fs/ntfs3: Validate index root when initialize NTFS security
    fe5c3915c373 phy: sun4i-usb: Add support for the H616 USB PHY
    1eacd1fd41b7 phy: sun4i-usb: Introduce port2 SIDDQ quirk
    0da27d8efcdb soundwire: dmi-quirks: add quirk variant for LAPBC710 NUC15
    d34485d40b6a fs/ntfs3: Fix slab-out-of-bounds read in run_unpack
    2f041a19f4eb fs/ntfs3: Validate resident attribute name
    3f6f75e8863f fs/ntfs3: Validate buffer length while parsing index
    b343c40bb7ff fs/ntfs3: Validate attribute name offset
    a7b23037b38b fs/ntfs3: Add null pointer check for inode operations
    2600c80ea7b3 fs/ntfs3: Fix memory leak on ntfs_fill_super() error path
    1621734cd304 fs/ntfs3: Add null pointer check to attr_load_runs_vcn
    9173b89c16a6 fs/ntfs3: Validate data run offset
    0bb9f93ba63a fs/ntfs3: Add overflow check for attribute size
    db91a9c59162 fs/ntfs3: Validate BOOT record_size
    2df487537c77 nvmet: don't defer passthrough commands with trivial effects to the workqueue
    a574e81b37c0 nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
    aa9732dae4bc ata: ahci: Fix PCS quirk application for suspend
    1ed959fef5b1 block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
    5fe70f9683f8 ACPI: video: Fix Apple GMUX backlight detection
    ba074330a487 ACPI: resource: Add Asus ExpertBook B2502 to Asus quirks
    33b7f0ef4aaf ACPI: resource: do IRQ override on Lenovo 14ALC7
    ee8ec50b9269 ACPI: resource: do IRQ override on XMG Core 15
    d1136b10944e nvme-pci: fix page size checks
    b1814724e0d7 nvme-pci: fix mempool alloc size
    a72f318c704e nvme-pci: fix doorbell buffer value endianness
    ff46a46b7a30 io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups
    3b2728881dcd eventfd: provide a eventfd_signal_mask() helper
    717ed90a6614 eventpoll: add EPOLL_URING_WAKE poll wakeup flag
    d6a980a0da6c Linux 6.1.2
    5f3d8993e095 pwm: tegra: Fix 32 bit build
    70c6f7025014 mfd: qcom_rpm: Use devm_of_platform_populate() to simplify code
    5c692f1ed39d drm/amd/display: revert Disable DRR actions during state commit
    e970e4ee3fc2 media: dvbdev: fix refcnt bug
    539479d00c51 media: dvbdev: fix build warning due to comments
    882056ef3384 net: stmmac: fix errno when create_singlethread_workqueue() fails
    69c2ad94fd0b io_uring: remove iopoll spinlock
    9b5d3f21f1ab io_uring: protect cq_timeouts with timeout_lock
    f9ef51a7055c io_uring/net: fix cleanup after recycle
    b87006265a16 io_uring/net: ensure compat import handlers clear free_iov
    e2c22a38fe29 io_uring: improve io_double_lock_ctx fail handling
    f6a5cada4ff6 io_uring: dont remove file from msg_ring reqs
    16225abb3cbc io_uring: add completion locking for iopoll
    3a6ee45e3ceb io_uring/net: introduce IORING_SEND_ZC_REPORT_USAGE flag
    215f9437dda0 blk-iolatency: Fix memory leak on add_disk() failures
    05382ed9142c scsi: qla2xxx: Fix crash when I/O abort times out
    5cfb9a60ed2d mm/gup: disallow FOLL_FORCE|FOLL_WRITE on hugetlb mappings
    1baf3370e2dc btrfs: do not BUG_ON() on ENOMEM when dropping extent items for a range
    ac551b1f500b ovl: fix use inode directly in rcu-walk mode
    a609bfc1e644 fbdev: fbcon: release buffer when fbcon_do_set_font() failed
    9c9e8be758c6 maple_tree: fix mas_spanning_rebalance() on insufficient data
    8034a1ad67b8 test_maple_tree: add test for mas_spanning_rebalance() on insufficient data
    b7334223cc7e gcov: add support for checksum field
    55b3c66a0d44 floppy: Fix memory leak in do_floppy_init()
    d01f65ac191e spi: fsl_spi: Don't change speed while chipselect is active
    9e977e2642a1 regulator: core: fix deadlock on regulator enable
    1665c3aa251f iio: addac: ad74413r: fix integer promotion bug in ad74413_get_input_current_offset()
    d04481ee5e15 iio: adc128s052: add proper .data members in adc128_of_match table
    49cfd1f61f44 iio: adc: ad_sigma_delta: do not use internal iio_dev lock
    a154b1c139fb iio: fix memory leak in iio_device_register_eventset()
    02ed209aa6f1 reiserfs: Add missing calls to reiserfs_security_free()
    21ca0bfa11bb security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6
    967fc34f297e 9p: set req refcount to zero to avoid uninitialized usage
    1f572877e0ea loop: Fix the max_loop commandline argument treatment when it is set to 0
    24117ea4303c HID: mcp2221: don't connect hidraw
    608c6aed7136 HID: wacom: Ensure bootloader PID is usable in hidraw mode
    c3c115368ef9 xhci: Prevent infinite loop in transaction errors recovery for streams
    2f3b51189f7a usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init
    2fd6ad7bc560 usb: dwc3: core: defer probe on ulpi_read_id timeout
    d2837c6a1dbc usb: dwc3: Fix race between dwc3_set_mode and __dwc3_set_mode
    1ba53c9c7995 clk: imx: imx8mp: add shared clk gate for usb suspend clk
    7579645760a4 dt-bindings: clocks: imx8mp: Add ID for usb suspend clock
    1a77a5bfe821 arm64: dts: qcom: sm8250: fix USB-DP PHY registers
    299f141f90cd arm64: dts: qcom: sm6350: fix USB-DP PHY registers
    c8e746384488 usb: xhci-mtk: fix leakage of shared hcd when fail to set wakeup irq
    dfbbc47d8672 usb: cdnsp: fix lack of ZLP for ep0
    5b7c3061067e HID: logitech-hidpp: Guard FF init code against non-USB devices
    d95d83041b87 ALSA: hda/hdmi: Add HP Device 0x8711 to force connect list
    05d30f4b6cbe ALSA: hda/realtek: Add quirk for Lenovo TianYi510Pro-14IOB
    80202ef4f7cc ALSA: usb-audio: add the quirk for KT0206 device
    67fd112b4b04 ALSA: usb-audio: Workaround for XRUN at prepare
    b669bd94a1c8 dt-bindings: input: iqs7222: Add support for IQS7222A v1.13+
    2ca347287d3f dt-bindings: input: iqs7222: Correct minimum slider size
    78e01a98860e dt-bindings: input: iqs7222: Reduce 'linux,code' to optional
    c8ab62f13d66 Input: iqs7222 - add support for IQS7222A v1.13+
    fa25c90ee9a7 Input: iqs7222 - report malformed properties
    201d1baa9a45 Input: iqs7222 - drop unused device node references
    26e69e719a2f ima: Simplify ima_lsm_copy_rule
    475add46170d pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXES
    810f2cfdfe4e cfi: Fix CFI failure with KASAN
    b4a59fd2e50b afs: Fix lost servers_outstanding count
    6c7b9d12578d perf test: Fix "all PMU test" to skip parametrized events
    a7a2d258101d MIPS: ralink: mt7621: avoid to init common ralink reset controller
    59871742b481 perf probe: Check -v and -q options in the right place
    5d098b5080cb perf tools: Make quiet mode consistent between tools
    01c4004e40b6 perf debug: Set debug_peo_args and redirect_to_stderr variable to correct values in perf_quiet_option()
    86777de67a85 drm/amd/pm: avoid large variable on kernel stack
    e84276c8dd88 pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversion
    d7d99f1a0af0 lkdtm: cfi: Make PAC test work with GCC 7 and 8
    2c5e64f0a8d3 LoadPin: Ignore the "contents" argument of the LSM hooks
    2d57269cabeb drm/i915/display: Don't disable DDI/Transcoder when setting phy test pattern
    7ed4007347b5 ASoC: rt5670: Remove unbalanced pm_runtime_put()
    0fe3a0cd2699 ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume()
    6df3ccb6aff0 ASoC: wm8994: Fix potential deadlock
    f64bb48f27fb ALSA: hda/hdmi: fix stream-id config keep-alive for rt suspend
    b4b2c4305cf4 ALSA: hda/hdmi: set default audio parameters for KAE silent-stream
    1cc133bee40f ALSA: hda/hdmi: fix i915 silent stream programming flow
    156b0c19c1a4 ASoC: mediatek: mt8183: fix refcount leak in mt8183_mt6358_ts3a227_max98357_dev_probe()
    bebbba710321 ASoC: rockchip: pdm: Add missing clk_disable_unprepare() in rockchip_pdm_runtime_resume()
    4cc8431ec77a ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
    a22cfbf78a87 ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()
    18a548fdecca ASoC: Intel: Skylake: Fix driver hang during shutdown
    390a1a98288a ASoC: sof_es8336: fix possible use-after-free in sof_es8336_remove()
    48c509f3f121 hwmon: (jc42) Fix missing unlock on error in jc42_write()
    0cd303aad220 orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init()
    224094902941 orangefs: Fix kmemleak in orangefs_sysfs_init()
    19be31668552 orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()
    3ecdca49ca49 scsi: target: iscsi: Fix a race condition between login_work and the login thread
    04371a75a584 drm/sti: Fix return type of sti_{dvo,hda,hdmi}_connector_mode_valid()
    23d2bed04159 drm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid()
    d1c8b86b4ab7 scsi: smartpqi: Correct device removal for multi-actuator devices
    41d8a934e2ea scsi: smartpqi: Add new controller PCI IDs
    f2207145693a hugetlbfs: fix null-ptr-deref in hugetlbfs_parse_param()
    74de6f6c8479 scsi: elx: libefc: Fix second parameter type in state callbacks
    cbb17d7087ce Revert "PCI: Clear PCI_STATUS when setting up device"
    fc521abb6ee4 crypto: hisilicon/qm - increase the memory of local variables
    fc80b877f1d0 scsi: ufs: Reduce the START STOP UNIT timeout
    39761417ea7b scsi: lpfc: Fix hard lockup when reading the rx_monitor from debugfs
    cb873c93a7ad crypto: hisilicon/hpre - fix resource leak in remove process
    65a1a20caf72 regulator: core: Fix resolve supply lookup issue
    077bff242c13 Bluetooth: Add quirk to disable MWS Transport Configuration
    9c89dcd53c64 Bluetooth: Add quirk to disable extended scanning
    619523c1ab53 Bluetooth: hci_bcm: Add CYW4373A0 support
    e070ef957b13 ice: synchronize the misc IRQ when tearing down Tx tracker
    b0f25ca1ff9b regulator: core: Use different devices for resource allocation and DT lookup
    f4731395d6db clk: st: Fix memory leak in st_of_quadfs_setup()
    92b0888398e4 media: si470x: Fix use-after-free in si470x_int_in_callback()
    43e5c20a8b44 mmc: sdhci-tegra: Issue CMD and DAT resets together
    11ca98a1ed04 mmc: renesas_sdhi: better reset from HS400 mode
    63604e820f15 mmc: renesas_sdhi: add quirk for broken register layout
    c490e8c3d500 mmc: f-sdh30: Add quirks for broken timeout clock capability
    55513864b418 nfs: fix possible null-ptr-deref when parsing param
    96521aa5bc76 selftests/bpf: Fix conflicts with built-in functions in bpf_iter_ksym
    a4fe51cd6894 hwmon: (nct6775) add ASUS CROSSHAIR VIII/TUF/ProArt B550M
    f5ac749a0b21 wifi: mt76: do not run mt76u_status_worker if the device is not running
    bc6c381df579 regulator: core: fix use_count leakage when handling boot-on
    66d2f118d7d7 libbpf: Avoid enum forward-declarations in public API in C++ mode
    ec58eae6c93a ASoC: amd: yc: Add Xiaomi Redmi Book Pro 14 2022 into DMI table
    62db9242c1ca drm/amd/display: Fix DTBCLK disable requests and SRC_SEL programming
    ec7475a20ceb drm/amd/display: Use the largest vready_offset in pipe group
    b9f8ed9b01c4 drm/amdgpu: Fix potential double free and null pointer dereference
    3759ae6600e4 ALSA: usb-audio: Add quirk for Tascam Model 12
    33e8a3f61814 blk-mq: fix possible memleak when register 'hctx' failed
    66d26ed30056 media: mediatek: vcodec: Can't set dst buffer to done when lat decode error
    93bbf2ed4281 media: dvb-usb: fix memory leak in dvb_usb_adapter_init()
    9945d05d6693 media: dvbdev: adopts refcnt to avoid UAF
    669fb90507db media: dvb-frontends: fix leak of memory fw
    f299f97a8e29 ethtool: avoiding integer overflow in ethtool_phys_id()
    e6d276dcc920 bpf: Prevent decl_tag from being referenced in func_proto arg
    8f4fb3844a0d bpf: Fix a BTF_ID_LIST bug with CONFIG_DEBUG_INFO_BTF not set
    a866d6fe65ba drm/amd/display: Fix display corruption w/ VSR enable
    ee678b1f52f9 ppp: associate skb with a device at tx
    ba5dd4d3a339 bpf/verifier: Use kmalloc_size_roundup() to match ksize() usage
    f51617c41da1 net: ethernet: mtk_eth_soc: drop packets to WDMA if the ring is full
    563e45fd5046 mrp: introduce active flags to prevent UAF when applicant uninit
    207501a98683 ipv6/sit: use DEV_STATS_INC() to avoid data-races
    9921d1b68c46 net: add atomic_long_t to net_device_stats fields
    1f116dfd114f nvme-auth: don't override ctrl keys before validation
    43a819c467a1 drm/amd/display: fix array index out of bound error in bios parser
    2ed52650a287 drm/amd/display: Workaround to increase phantom pipe vactive in pipesplit
    d26364596db8 md/raid1: stop mdx_raid1 thread when raid1 array run failed
    27e5d61a8e69 md/raid0, raid10: Don't set discard sectors for request queue
    99bef41f8e8d drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()
    302c0a8ed3bc drm/mediatek: Fix return type of mtk_hdmi_bridge_mode_valid()
    a29f8af3e45f drm/sti: Use drm_mode_copy()
    e398c0ad0c56 drm/rockchip: Use drm_mode_copy()
    b6ebe51e836e drm/msm: Use drm_mode_copy()
    cf0dcf0e8746 drm/amd/display: Disable DRR actions during state commit
    d5368e054eb8 drm/amd/display: Use min transition for SubVP into MPO
    cda74cdc280b s390/lcs: Fix return type of lcs_start_xmit()
    d034fa43af92 s390/netiucv: Fix return type of netiucv_tx()
    636f8534a772 s390/ctcm: Fix return type of ctc{mp,}m_tx()
    36217f676b55 drm/amdgpu: Fix type of second parameter in odn_edit_dpm_table() callback
    1cae33c8f995 drm/amdgpu: Fix type of second parameter in trans_msg() callback
    56483aecf6b2 igb: Do not free q_vector unless new one was allocated
    46675bdbbb5e HID: uclogic: Add support for XP-PEN Deco LW
    84bc0fe76182 HID: input: do not query XP-PEN Deco LW battery
    630ab215956e wifi: brcmfmac: Fix potential NULL pointer dereference in 'brcmf_c_preinit_dcmds()'
    ffb589963df1 wifi: brcmfmac: Fix potential shift-out-of-bounds in brcmf_fw_alloc_request()
    1adbbdce22aa hamradio: baycom_epp: Fix return type of baycom_send_packet()
    1e4953b826e1 net: ethernet: ti: Fix return type of netcp_ndo_start_xmit()
    f186303845a0 bpf: make sure skb->len != 0 when redirecting to a tunneling device
    ab576e2f1c5b drm/meson: Fix return type of meson_encoder_cvbs_mode_valid()
    7dccd53ec7dc qed (gcc13): use u16 for fid to be big enough
    a10e1530c424 wifi: ath11k: Fix qmi_msg_handler data structure initialization
    15e6830642e6 HID: apple: enable APPLE_ISO_TILDE_QUIRK for the keyboards of Macs with the T2 chip
    508cc67f9449 HID: apple: fix key translations where multiple quirks attempt to translate the same key
    8b3d6b029a55 blk-mq: avoid double ->queue_rq() because of early timeout
    6ec50ce315f4 drm/rockchip: use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
    22c4f8ef9c62 Revert "drm/amd/display: Limit max DSC target bpp for specific monitors"
    dd76b1c9f692 drm/edid: add a quirk for two LG monitors to get them to work on 10bpc
    2b7e54cdda3f drm/amd/display: prevent memory leak
    f97e6d4af8ea drm/amd/display: skip commit minimal transition state
    6cfa68c7d2ce bnx2: Use kmalloc_size_roundup() to match ksize() usage
    bde272c8758d openvswitch: Use kmalloc_size_roundup() to match ksize() usage
    79a124b588aa wifi: ath10k: Delay the unmapping of the buffer
    34cfc4f03274 ipmi: fix memleak when unload ipmi driver
    488c3ad53ac9 ASoC: Intel: avs: Add quirk for KBL-R RVP platform
    82f4b57e2624 ASoC: codecs: rt298: Add quirk for KBL-R RVP platform
    9aef34e1ae35 wifi: ar5523: Fix use-after-free on ar5523_cmd() timed out
    0b7e6d681e00 wifi: ath9k: verify the expected usb_endpoints are present
    200347eb3b26 brcmfmac: return error when getting invalid max_flowrings from dongle
    35591c246995 media: imx-jpeg: Disable useless interrupt to avoid kernel panic
    da4113e63f17 drm/etnaviv: add missing quirks for GC300
    bfc9d8f27f89 hfs: fix OOB Read in __hfs_brec_find
    96d66b7074cb ACPI: x86: Add skip i2c clients quirk for Medion Lifetab S10346
    ef7cf3c92382 btrfs: do not panic if we can't allocate a prealloc extent state
    a1f90b9a333c ACPI: x86: Add skip i2c clients quirk for Lenovo Yoga Tab 3 Pro (YT3-X90F)
    87c51832b7af x86/apic: Handle no CONFIG_X86_X2APIC on systems with x2APIC enabled by BIOS
    0aac6e60c464 acct: fix potential integer overflow in encode_comp_t()
    a16731fa1b96 nilfs2: fix shift-out-of-bounds due to too large exponent of block size
    62d11ec205ef nilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset()
    64958e12bb98 ACPI: video: Add force_native quirk for Sony Vaio VPCY11S1E
    218c556cded5 ACPI: video: Add force_vendor quirk for Sony Vaio PCG-FRV35
    c6b9b3200298 ACPI: video: Change Sony Vaio VPCEH3U1E quirk to force_native
    478412161af4 ACPI: video: Change GIGABYTE GB-BXBT-2807 quirk to force_none
    c547d7ee0455 thermal/core: Ensure that thermal device is registered in thermal_zone_get_temp
    799881db3e03 ACPICA: Fix error code path in acpi_ds_call_control_method()
    f72e95c2204f ACPI: EC: Add quirk for the HP Pavilion Gaming 15-cx0041ur
    b85f0e292f73 ACPI: processor: idle: Check acpi_fetch_acpi_dev() return value
    3d340b684dce fs: jfs: fix shift-out-of-bounds in dbDiscardAG
    ccb6bdf0b7b6 jfs: Fix fortify moan in symlink
    090bf49833c5 udf: Avoid double brelse() in udf_rename()
    67973caae78e fs: jfs: fix shift-out-of-bounds in dbAllocAG
    aaf8770746da arm64: dts: qcom: sm6350: Add apps_smmu with streamID to SDHCI 1/2 nodes
    a10ff5b8cf86 arm64: dts: qcom: sm8450: disable SDHCI SDR104/SDR50 on all boards
    a91123d4bda4 binfmt_misc: fix shift-out-of-bounds in check_special_flags
    46db95e714ac x86/hyperv: Remove unregister syscore call from Hyper-V cleanup
    16fed31153ce video: hyperv_fb: Avoid taking busy spinlock on panic path
    2e356d6de4c7 ARM: dts: aspeed: rainier,everest: Move reserved memory regions
    992469fb6ca0 arm64: make is_ttbrX_addr() noinstr-safe
    80a3e7ab477b rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state()
    1373e1b7206d net: fec: check the return value of build_skb()
    8a37cf11dc78 HID: amd_sfh: Add missing check for dma_alloc_coherent
    7b606804bbf0 mctp: Remove device type check at unregister
    96ea05df9ed5 net: dsa: microchip: remove IRQF_TRIGGER_FALLING in request_threaded_irq
    ae6fb31c0086 cifs: don't leak -ENOMEM in smb2_open_file()
    a37f6d5541b2 mctp: serial: Fix starting value for frame check sequence
    b458d349f875 net: stream: purge sk_error_queue in sk_stream_kill_queues()
    70c8fcab6bf2 myri10ge: Fix an error handling path in myri10ge_probe()
    7d88da597173 rxrpc: Fix missing unlock in rxrpc_do_sendmsg()
    233bfb28d0fa net_sched: reject TCF_EM_SIMPLE case for complex ematch module
    3fcf079958c0 mailbox: zynq-ipi: fix error handling while device_register() fails
    525e54789c2b mailbox: arm_mhuv2: Fix return value check in mhuv2_probe()
    cca61191a894 mailbox: mpfs: read the system controller's status
    331615d837f4 skbuff: Account for tail adjustment during pull operations
    ce321a1cd66b devlink: protect devlink dump by the instance lock
    2838f0736cf0 arm64: dts: mt8183: Fix Mali GPU clock
    6207862836ae soc: mediatek: pm-domains: Fix the power glitch issue
    32d5fa5bdcce openvswitch: Fix flow lookup to use unmasked key
    a02f965d828f selftests: devlink: fix the fd redirect in dummy_reporter_test
    6298cab4d80b devlink: hold region lock when flushing snapshots
    71e000446281 rtc: mxc_v2: Add missing clk_disable_unprepare()
    a7316d07f087 igc: Set Qbv start_time and end_time to end_time if not being configured in GCL
    4a3c071ff325 igc: recalculate Qbv end_time by considering cycle time
    e0d11cda89a2 igc: allow BaseTime 0 enrollment for Qbv
    3770bdee9640 igc: Add checking for basetime less than zero
    94a033ae7d77 igc: Use strict cycles for Qbv scheduling
    99dd830903d6 igc: Enhance Qbv scheduling by using first flag bit
    c13d65dca354 net: dsa: mv88e6xxx: avoid reg_lock deadlock in mv88e6xxx_setup_port()
    5944c25c67de r6040: Fix kmemleak in probe and remove
    1d033ec2d179 unix: Fix race in SOCK_SEQPACKET's unix_dgram_sendmsg()
    e491285b4d08 nfc: pn533: Clear nfc_target before being used
    306526331e7a net: enetc: avoid buffer leaks on xdp_do_redirect() failure
    a44053cf3b9c media: v4l2-ctrls-api.c: add back dropped ctrl->is_new = 1
    6a1504dd36cd bpf: prevent leak of lsm program after failed attach
    146891d1af80 selftests/bpf: Select CONFIG_FUNCTION_ERROR_INJECTION
    761564d93c82 block, bfq: fix possible uaf for 'bfqq->bic'
    27f94fc22305 mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    06fcc7543f30 mISDN: hfcpci: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    793f872866d6 mISDN: hfcsusb: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    b316841b6bdc bonding: do failover when high prio link up
    2d31c6ed4428 bonding: add missed __rcu annotation for curr_active_slave
    ba44c1fe8234 net: macsec: fix net device access prior to holding a lock
    d843ebd860c5 nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure
    f8059a2a2bdf iommu/mediatek: Fix forever loop in error handling
    8a1a38289583 rtc: pcf85063: fix pcf85063_clkout_control
    ed829c3b79b4 rtc: pic32: Move devm_rtc_allocate_device earlier in pic32_rtc_probe()
    abfa5dd91453 rtc: st-lpc: Add missing clk_disable_unprepare in st_rtc_probe()
    75b2692c90ce netfilter: flowtable: really fix NAT IPv6 offload
    7f47c91e465a mfd: pm8008: Fix return value check in pm8008_probe()
    b8d07df9ede9 mfd: qcom_rpm: Fix an error handling path in qcom_rpm_probe()
    e295ac85d618 mfd: bd957x: Fix Kconfig dependency on REGMAP_IRQ
    3bcc06c5fd48 mfd: axp20x: Do not sleep in the power off handler
    d387d36fcc54 dt-bindings: mfd: qcom,spmi-pmic: Drop PWM reg dependency
    0ab849944365 powerpc/pseries/eeh: use correct API for error log size
    bce7d8e9596d remoteproc: qcom: q6v5: Fix missing clk_disable_unprepare() in q6v5_wcss_qcs404_power_on()
    add474591d6e remoteproc: qcom_q6v5_pas: Fix missing of_node_put() in adsp_alloc_memory_region()
    f09a52e44263 remoteproc: qcom_q6v5_pas: detach power domains on remove
    4458ed2d9570 remoteproc: qcom_q6v5_pas: disable wakeup on probe fail or remove
    0903a87490a9 remoteproc: qcom: q6v5: Fix potential null-ptr-deref in q6v5_wcss_init_mmio()
    ec97e9a5c2f2 remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()
    b773e86fc196 RISC-V: KVM: Fix reg_val check in kvm_riscv_vcpu_set_reg_config()
    c786f2ac3010 pwm: mediatek: always use bus clock for PWM on MT7622
    24cc0c9b591a pwm: mtk-disp: Fix the parameters calculated by the enabled flag of disp_pwm
    0bdadab07430 pwm: sifive: Call pwm_sifive_update_clock() while mutex is held
    9a87b1562c37 iommu/sun50i: Remove IOMMU_DOMAIN_IDENTITY
    942218128976 iommu/mediatek: Validate number of phandles associated with "mediatek,larbs"
    8412e5dd24ff iommu/mediatek: Add error path for loop of mm_dts_parse
    21f56af86583 iommu/mediatek: Use component_match_add
    44d7712267d1 iommu/mediatek: Add platform_device_put for recovering the device refcnt
    b5dd27890c6d selftests/powerpc: Fix resource leaks
    01e3641b168c powerpc/hv-gpci: Fix hv_gpci event list
    983e28974755 powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe()
    5429722209ea powerpc/perf: callchain validate kernel stack pointer bounds
    e45e3aae8df8 powerpc: dts: turris1x.dts: Add channel labels for temperature sensor
    c909985dd0c0 kprobes: Fix check for probe enabled in kill_kprobe()
    03d7168103f3 powerpc/pseries: fix plpks_read_var() code for different consumers
    c156df808e11 powerpc/pseries: Return -EIO instead of -EINTR for H_ABORTED error
    1a7657adb06b powerpc/pseries: Fix the H_CALL error code in PLPKS driver
    b38e5a3c469e powerpc/pseries: fix the object owners enum value in plpks driver
    8240299519db powerpc/xive: add missing iounmap() in error path in xive_spapr_populate_irq_data()
    028631dd53a0 powerpc/xmon: Fix -Wswitch-unreachable warning in bpt_cmds
    2d7b6580384e cxl: Fix refcount leak in cxl_calc_capp_routing
    fb3ef6a5af4b powerpc/52xx: Fix a resource leak in an error handling path
    65572a13163f macintosh/macio-adb: check the return value of ioremap()
    76837e7f6b30 macintosh: fix possible memory leak in macio_add_one_device()
    de7eb5500979 iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe()
    b0637f4bd426 iommu/amd: Fix pci device refcount leak in ppr_notifier()
    26427454bebf iommu: Avoid races around device probe
    feca90441248 iommu/mediatek: Check return value after calling platform_get_resource()
    51a7fbc59845 rtc: pcf85063: Fix reading alarm
    6d4dacd4a91a rtc: snvs: Allow a time difference on clock register read
    421091ae0e27 rtc: cmos: Disable ACPI RTC event on removal
    93893e25d979 rtc: cmos: Rename ACPI-related functions
    fbf866b150df rtc: cmos: Eliminate forward declarations of some functions
    fd8b7f41a416 rtc: cmos: Call rtc_wake_setup() from cmos_do_probe()
    054d6b32c576 rtc: cmos: Call cmos_wake_setup() from cmos_do_probe()
    9ba808aec5a1 rtc: pcf2127: Convert to .probe_new()
    59457a0f079e rtc: class: Fix potential memleak in devm_rtc_allocate_device()
    6cb7ea142620 rtc: rzn1: Check return value in rzn1_rtc_probe
    9f2a53f143e8 dmaengine: idxd: Fix crc_val field for completion record
    f2e58e95273c fs/ntfs3: Fix slab-out-of-bounds read in ntfs_trim_fs
    cf66351484ad phy: qcom-qmp-pcie: Fix sm8450_qmp_gen4x2_pcie_pcs_tbl[] register names
    c5ca087f47de phy: qcom-qmp-pcie: Fix high latency with 4x2 PHY when ASPM is enabled
    5d39a1d9a243 phy: qcom-qmp-pcie: Support SM8450 PCIe1 PHY in EP mode
    e83821af6471 phy: qcom-qmp-pcie: support separate tables for EP mode
    d1945ec03ca6 phy: qcom-qmp-pcie: split pcs_misc init cfg for ipq8074 pcs table
    814cd5ca1c77 phy: qcom-qmp-pcie: split register tables into common and extra parts
    984f35f57f74 pwm: tegra: Ensure the clock rate is not less than needed
    49c8cc208464 pwm: tegra: Improve required rate calculation
    67edfd980731 include/uapi/linux/swab: Fix potentially missing __always_inline
    238a935ac0a7 phy: usb: Fix clock imbalance for suspend/resume
    d19f1664c843 phy: usb: Use slow clock for wake enabled suspend
    0bceef84f716 phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices
    c40b86861146 phy: qcom-qmp-usb: fix sc8280xp PCS_USB offset
    c91e4513bc18 dmaengine: idxd: Make read buffer sysfs attributes invisible for Intel IAA
    f2f10a2db278 iommu/rockchip: fix permission bits in page table entries v2
    92af3bbeb918 iommu/sun50i: Implement .iotlb_sync_map
    9b25137905c8 iommu/sun50i: Fix flush size
    3b95b7b0ddec iommu/sun50i: Fix R/W permission check
    5ad5a837c364 iommu/sun50i: Consider all fault sources for reset
    b4d8bf6c2a77 iommu/sun50i: Fix reset release
    9b5569846a34 iommu/s390: Fix duplicate domain attachments
    6792416576ff phy: qcom-qmp-usb: correct registers layout for IPQ8074 USB3 PHY
    655d02663482 phy: qcom-qmp-usb: drop start and pwrdn-ctrl abstraction
    f674ef5bf4e1 phy: qcom-qmp-usb: clean up status polling
    71c03e6a0525 phy: qcom-qmp-usb: drop power-down delay config
    71098933ea1b phy: qcom-qmp-usb: drop sc8280xp power-down delay
    c6f0977eaa19 phy: qcom-qmp-usb: clean up power-down handling
    d668d34df96a phy: qcom-qmp-pcie: fix ipq6018 initialisation
    73af0c169079 phy: qcom-qmp-pcie: fix ipq8074-gen3 initialisation
    abe9bf8c9501 phy: qcom-qmp-pcie: fix sc8180x initialisation
    0b2e4f939450 phy: qcom-qmp-pcie: replace power-down delay
    b52920f887e6 phy: qcom-qmp-pcie: drop power-down delay config
    aa51fd765fe5 remoteproc: core: Auto select rproc-virtio device id
    d53171d1d0e7 dmaengine: apple-admac: Allocate cache SRAM to channels
    cc743a1d832d dmaengine: idxd: Make max batch size attributes in sysfs invisible for Intel IAA
    0d0382b9c0d5 phy: qcom-qmp-pcie: drop bogus register update
    cd1e1735aeab phy: marvell: phy-mvebu-a3700-comphy: Reset COMPHY registers before USB 3.0 power on
    b259e31d150a fs/ntfs3: Harden against integer overflows
    95afb464c86c fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst()
    2246ac03dd59 RDMA/siw: Fix pointer cast warning
    54af75ddf3c6 perf stat: Do not delay the workload with --delay
    9f4c997cd123 ftrace: Allow WITH_ARGS flavour of graph tracer with shadow call stack
    616c17a2ef99 perf off_cpu: Fix a typo in BTF tracepoint name, it should be 'btf_trace_sched_switch'
    75f7820de933 leds: is31fl319x: Fix setting current limit for is31fl319{0,1,3}
    308eef3e16fd gfs2: Partially revert gfs2_inode_lookup change
    b8131efb89d9 power: supply: fix null pointer dereferencing in power_supply_get_battery_info
    301e40552833 perf branch: Fix interpretation of branch records
    64245114c072 power: supply: bq25890: Ensure pump_express_work is cancelled on remove
    81b0e5d5aa0c power: supply: bq25890: Convert to i2c's .probe_new()
    ebf085a725b6 power: supply: bq25890: Factor out regulator registration code
    7d1e3961725e power: supply: Fix refcount leak in rk817_charger_probe
    b866e8a0b7dc power: supply: ab8500: Fix error handling in ab8500_charger_init()
    42d976bd9766 HSI: omap_ssi_core: Fix error handling in ssi_init()
    5150b76aa2eb power: supply: cw2015: Fix potential null-ptr-deref in cw_bat_probe()
    be11e0951314 power: supply: z2_battery: Fix possible memleak in z2_batt_probe()
    38d35aae1b27 perf symbol: correction while adjusting symbol
    bc05eb64a10c perf trace: Handle failure when trace point folder is missed
    27e9c2ca24ce perf trace: Use macro RAW_SYSCALL_ARGS_NUM to replace number
    01673142a679 perf trace: Return error if a system call doesn't exist
    0fd13791feb6 watchdog: iTCO_wdt: Set NO_REBOOT if the watchdog is not already running
    a9b65ba1afcc power: supply: fix residue sysfs file in error handle route of __power_supply_register()
    fa80f145e543 HSI: omap_ssi_core: fix possible memory leak in ssi_probe()
    8159e2f8b60e HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()
    8a9c05d988cc perf stat: Move common code in print_metric_headers()
    1b2a63c33106 perf stat: Use evsel__is_hybrid() more
    6c8d5578180c perf tools: Fix "kernel lock contention analysis" test by not printing warnings in quiet mode
    380304391fa7 led: qcom-lpg: Fix sleeping in atomic
    7aca1cea8fcc fbdev: uvesafb: Fixes an error handling path in uvesafb_probe()
    5976889098e6 fbdev: uvesafb: don't build on UML
    e268a5792536 fbdev: geode: don't build on UML
    4c0d613d7999 fbdev: ep93xx-fb: Add missing clk_disable_unprepare in ep93xxfb_probe()
    1fb436db9c87 fbdev: vermilion: decrease reference count in error path
    e94ae434f659 fbdev: via: Fix error in via_core_init()
    85255669ce72 fbdev: pm2fb: fix missing pci_disable_device()
    3be1f7545369 fbdev: ssd1307fb: Drop optional dependency
    ba9550952f20 thermal/drivers/qcom/lmh: Fix irq handler return value
    f7f3721c78a2 thermal/drivers/qcom/temp-alarm: Fix inaccurate warning for gen2
    6ddc86823973 thermal/of: Fix memory leak on thermal_of_zone_register() failure
    8eeda6567cc4 thermal/drivers/k3_j72xx_bandgap: Fix the debug print message
    db9d0e74a663 thermal/drivers/imx8mm_thermal: Validate temperature range
    5cba61bcd2f7 samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()
    f9ed133381eb ksmbd: Fix resource leak in ksmbd_session_rpc_open()
    7f09fe9fc6ea tracing/hist: Fix issue of losting command info in error_log
    82d1211f673b usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe()
    94cca9c33941 usb: storage: Add check for kcalloc
    233348a04bec i2c: ismt: Fix an out-of-bounds bug in ismt_access()
    f7a440c89b6d i2c: mux: reg: check return value after calling platform_get_resource()
    86fdf151b9b8 gpiolib: protect the GPIO device against being dropped while in use by user-space
    ac6ce3cd7a3e gpiolib: cdev: fix NULL-pointer dereferences
    60ff9bd4ffc8 vme: Fix error not catched in fake_init()
    7155f549dbca staging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor()
    73df1172bbcc staging: rtl8192u: Fix use after free in ieee80211_rx()
    c8889afcd829 i2c: pxa-pci: fix missing pci_disable_device() on error in ce4100_i2c_probe
    ba090c6debb5 vfio/iova_bitmap: refactor iova_bitmap_set() to better handle page boundaries
    85a5660491b5 chardev: fix error handling in cdev_device_add()
    4a9f1a8b3af2 mcb: mcb-parse: fix error handing in chameleon_parse_gdd()
    0468a585710b drivers: mcb: fix resource leak in mcb_probe()
    216437dd64fc usb: gadget: f_hid: fix refcount leak on error path
    9e08b7f5fa00 usb: gadget: f_hid: fix f_hidg lifetime vs cdev
    6fe1adeabc2a usb: core: hcd: Fix return value check in usb_hcd_setup_local_mem()
    b3862858b678 usb: roles: fix of node refcount leak in usb_role_switch_is_parent()
    0a022b756f74 tracing/user_events: Fix call print_fmt leak
    e4b7d7297d37 coresight: cti: Fix null pointer error on CTI init before ETM
    3c18888bc0b5 coresight: trbe: remove cpuhp instance node before remove cpuhp state
    064bdc340526 counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update
    bc34896cd75a iio: adis: add '__adis_enable_irq()' implementation
    49ac222945d7 iio: temperature: ltc2983: make bulk write buffer DMA-safe
    2f5fd31b2f24 cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter()
    ab44c182353b cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter()
    71d2abab374f firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()
    4e947fc71bec misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_os
    ef843ee20576 misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
    40ff4c2335a9 ocxl: fix pci device refcount leak when calling get_function_0()
    2fce8b3583d1 misc: ocxl: fix possible name leak in ocxl_file_register_afu()
    6dd5fbd243f1 test_firmware: fix memory leak in test_firmware_init()
    a4b84c112d8e habanalabs: fix return value check in hl_fw_get_sec_attest_data()
    03dbb9e2e975 serial: sunsab: Fix error handling in sunsab_init()
    ca89c2eb36ed serial: altera_uart: fix locking in polling mode
    516614a371c2 serial: pch: Fix PCI device refcount leak in pch_request_dma()
    408f64a6de74 serial: stm32: move dma_request_chan() before clk_prepare_enable()
    898a162d5fc4 serial: pl011: Do not clear RX FIFO & RX interrupt in unthrottle.
    64bc5dbc3260 serial: amba-pl011: avoid SBSA UART accessing DMACR register
    99a58ac42d9b USB: gadget: Fix use-after-free during usb config switch
    5b38782cc358 extcon: usbc-tusb320: Update state on probe even if no IRQ pending
    22b60658a902 usb: musb: omap2430: Fix probe regression for missing resources
    20a945280d69 usb: typec: tipd: Fix typec_unregister_port error paths
    63fff60c0066 usb: typec: tipd: Fix spurious fwnode_handle_put in error path
    7bc33793042b usb: typec: tipd: Cleanup resources if devm_tps6598_psy_register fails
    5f125507d227 usb: typec: tcpci: fix of node refcount leak in tcpci_register_port()
    26937dcf067a usb: typec: Check for ops->exit instead of ops->enter in altmode_exit
    85db68fc901d staging: vme_user: Fix possible UAF in tsi148_dma_list_add
    71cfd25e2211 interconnect: qcom: sc7180: fix dropped const of qcom_icc_bcm
    bdfa9f57b2a2 usb: fotg210-udc: Fix ages old endianness issues
    b9dcd53356ea uio: uio_dmem_genirq: Fix deadlock between irq config and handling
    ee180e867ce4 uio: uio_dmem_genirq: Fix missing unlock in irq configuration
    31ef3d554d59 vfio/iova_bitmap: Fix PAGE_SIZE unaligned bitmaps
    f0865e4f2c82 vfio: platform: Do not pass return buffer to ACPI _RST method
    abaedb68a769 class: fix possible memory leak in __class_register()
    9494faf74f8d drivers: staging: r8188eu: Fix sleep-in-atomic-context bug in rtw_join_timeout_handler
    3d97c13a1152 serial: 8250_bcm7271: Fix error handling in brcmuart_init()
    bffec1abc074 serial: tegra: Read DMA status before terminating
    78fddc0ff971 drivers: dio: fix possible memory leak in dio_init()
    6392d71b4bf9 riscv: Fix P4D_SHIFT definition for 3-level page table mode
    dd203468f071 f2fs: fix iostat parameter for discard
    652b2cdb3007 RISC-V: Align the shadow stack
    ee0e9b2c4b9c IB/IPoIB: Fix queue count inconsistency for PKEY child interfaces
    19b7b85773b1 hwrng: geode - Fix PCI device refcount leak
    2e10ecd012ae hwrng: amd - Fix PCI device refcount leak
    84ebdb6b65ad crypto: img-hash - Fix variable dereferenced before check 'hdev->req'
    f2f2c6102ace riscv: Fix crash during early errata patching
    e395fdfec46d RISC-V: Fix MEMREMAP_WB for systems with Svpbmt
    eced7ec0cd89 RISC-V: Fix unannoted hardirqs-on in return to userspace slow-path
    9f4379692ace RDMA/hns: Fix XRC caps on HIP08
    9e711eafabf0 RDMA/hns: Fix error code of CMD
    d78e8b4c862d RDMA/hns: Fix page size cap from firmware
    aaa589124d4c RDMA/hns: Fix PBL page MTR find
    d3238c4d3a46 RDMA/hns: Fix AH attr queried by query_qp
    60549c5224cd RDMA/hns: Fix the gid problem caused by free mr
    bf0ad007e6cb orangefs: Fix sysfs not cleanup when dev init failed
    38c1d5d2f8ae PCI: vmd: Fix secondary bus reset for Intel bridges
    6c8319b90fe7 RDMA/srp: Fix error return code in srp_parse_options()
    8bc0ecf1c382 RDMA/hfi1: Fix error return code in parse_platform_config()
    de888c02ac32 RDMA: Disable IB HW for UML
    3829187387e4 riscv/mm: add arch hook arch_clear_hugepage_flags
    c19ca6553c2d crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe()
    22a59bb0aa5a crypto: amlogic - Remove kcalloc without check
    10ed78c85b52 crypto: qat - fix error return code in adf_probe
    c458c9d0ce97 RDMA/nldev: Fix failure to send large messages
    3ee8611a1d0d f2fs: avoid victim selection from previous victim section
    0807071c1b2b f2fs: fix to enable compress for newly created file if extension matches
    1f9d91ffc383 f2fs: set zstd compress level correctly
    65c73bc771d6 RDMA/nldev: Add checks for nla_nest_start() in fill_stat_counter_qps()
    02e0170c4da2 scsi: ufs: core: Fix the polling implementation
    4141cd9e8b33 scsi: snic: Fix possible UAF in snic_tgt_create()
    aef82d16be5a scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails
    4399a8632e5f scsi: ipr: Fix WARNING in ipr_init()
    bc31e6820424 scsi: scsi_debug: Fix possible name leak in sdebug_add_host_helper()
    cfa2f8098a6e scsi: fcoe: Fix possible name leak when device_register() fails
    8698f359f252 scsi: scsi_debug: Fix a warning in resp_report_zones()
    582b0a422642 scsi: scsi_debug: Fix a warning in resp_verify()
    c7e96168a8ca scsi: efct: Fix possible memleak in efct_device_init()
    c2e4692d019a scsi: hpsa: Fix possible memory leak in hpsa_add_sas_device()
    9aa5b09a5548 scsi: hpsa: Fix error handling in hpsa_add_sas_host()
    d17bca3ddfe5 scsi: mpt3sas: Fix possible resource leaks in mpt3sas_transport_port_add()
    8642c72b081e crypto: hisilicon/qm - fix 'QM_XEQ_DEPTH_CAP' mask value
    4841596b93f0 crypto: arm64/sm3 - fix possible crash with CFI enabled
    9c1b30d5c1f7 crypto: arm64/sm3 - add NEON assembly implementation
    23cf91c76489 crypto: x86/sm4 - fix crash with CFI enabled
    e6e4e281be90 crypto: x86/sm3 - fix possible crash with CFI enabled
    ae252643e884 crypto: x86/sha512 - fix possible crash with CFI enabled
    76994f26226e crypto: x86/sha256 - fix possible crash with CFI enabled
    f3b1021db697 crypto: x86/sha1 - fix possible crash with CFI enabled
    8d447b92c3e2 crypto: x86/aria - fix crash with CFI enabled
    5ab743151a62 crypto: x86/aegis128 - fix possible crash with CFI enabled
    ff28b8afb786 padata: Fix list iterator in padata_do_serial()
    6cfa9e60c0f8 padata: Always leave BHs disabled when running ->parallel()
    314398bc1014 crypto: tcrypt - Fix multibuffer skcipher speed test mem leak
    0aa7be66168b scsi: hpsa: Fix possible memory leak in hpsa_init_one()
    21d8b6bd3730 PCI: endpoint: pci-epf-vntb: Fix call pci_epc_mem_free_addr() in error path
    eef5d05cbbd6 dt-bindings: visconti-pcie: Fix interrupts array max constraints
    e75080f9b4ee dt-bindings: imx6q-pcie: Fix clock names for imx6sx and imx8mq
    821f9a18210f RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed
    fc2c43bf41c8 RDMA/hns: fix memory leak in hns_roce_alloc_mr()
    26cee0603af0 RDMA/irdma: Initialize net_type before checking it
    d9dbd4ca2646 crypto: ccree - Make cc_debugfs_global_fini() available for module init function
    ed8b5ff3b078 RDMA/hfi: Decrease PCI device reference count in error path
    76ca6756bf03 PCI: Check for alloc failure in pci_request_irq()
    c5a6776e44aa RDMA/hns: Fix incorrect sge nums calculation
    2b214368bc0c RDMA/hns: Fix ext_sge num error when post send
    06f73568f553 RDMA/rxe: Fix mr->map double free
    f98601f9abde crypto: hisilicon/qm - add missing pci_dev_put() in q_num_set()
    b5be6724f222 crypto: cryptd - Use request context instead of stack for sub-request
    677f01f396ae crypto: ccree - Remove debugfs when platform_driver_register failed
    953c81ffe384 scsi: scsi_debug: Fix a warning in resp_write_scat()
    70adec0c790f RDMA/irdma: Do not request 2-level PBLEs for CQ alloc
    b4502647c0b2 RDMA/irdma: Fix RQ completion opcode
    1df9f815553d RDMA/irdma: Fix inline for multiple SGE's
    3930245bc845 RDMA/siw: Set defined status for work completion with undefined status
    c1d5a12f930f RDMA/nldev: Return "-EAGAIN" if the cm_id isn't from expected port
    cd06d32a71fb RDMA/core: Make sure "ib_port" is valid when access sysfs node
    8731cb5c7820 RDMA/restrack: Release MR restrack when delete
    cf968790a08f f2fs: fix to avoid accessing uninitialized spinlock
    71bf3550b530 PCI: imx6: Initialize PHY before deasserting core reset
    5d2e13358243 PCI: vmd: Disable MSI remapping after suspend
    fa8a2f3be78e IB/mad: Don't call to function that might sleep while in atomic context
    f3d26a8589df RDMA/siw: Fix immediate work request flush to completion queue
    fdb9c354ac86 scsi: qla2xxx: Fix set-but-not-used variable warnings
    425c9bd06b7a RDMA/irdma: Report the correct link speed
    0b8578dc8477 f2fs: fix to destroy sbi->post_read_wq in error path of f2fs_fill_super()
    b4244ca341ea f2fs: fix the assign logic of iocb
    734e2cf3ee29 f2fs: allow to set compression for inlined file
    fa2e65c1b1c6 f2fs: fix normal discard process
    7e7db55d1e67 f2fs: fix gc mode when gc_urgent_high_remaining is 1
    ae6c960a82c5 f2fs: fix to invalidate dcc->f2fs_issue_discard in error path
    ed88147bfb4e fortify: Do not cast to "unsigned char"
    12695b4b76d4 apparmor: Fix memleak in alloc_ns()
    7417cc5151bc crypto: rockchip - rework by using crypto_engine
    f945afb80f1d crypto: rockchip - remove non-aligned handling
    89117da0102c crypto: rockchip - better handle cipher key
    2edab0edfef5 crypto: rockchip - add fallback for ahash
    ac798fd39e2a crypto: rockchip - add fallback for cipher
    d2ce2922fd39 crypto: rockchip - do not store mode globally
    2aecc5029fcc crypto: rockchip - do not do custom power management
    1550e871120e f2fs: Fix the race condition of resize flag between resizefs
    0ea2ba0d5b4f PCI: pci-epf-test: Register notifier if only core_init_notifier is enabled
    7123963c57ee RDMA/core: Fix order of nldev_exit call
    b5c7878b034c PCI: dwc: Fix n_fts[] array overrun
    756e412cfcac apparmor: Use pointer to struct aa_label for lbs_cred
    51a903281798 scsi: core: Fix a race between scsi_done() and scsi_timeout()
    7b5bc00a59ef crypto: tcrypt - fix return value for multiple subtests
    51592cf71682 crypto: nitrox - avoid double free on error path in nitrox_sriov_init()
    204fdddd4698 crypto: sun8i-ss - use dma_addr instead u32
    8a9db7913497 crypto: hisilicon/qm - re-enable communicate interrupt before notifying PF
    9a6fab168cbc crypto: hisilicon/qm - fix incorrect parameters usage
    f024bf13d4ff apparmor: Fix regression in stacking due to label flags
    72a5b5641cac apparmor: Fix abi check to include v8 abi
    053816fb455f apparmor: fix lockdep warning when removing a namespace
    3d27a436e294 apparmor: fix a memleak in multi_transaction_new()
    14ed46a13aba net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
    06b81b4e669a i40e: Fix the inability to attach XDP program on downed interface
    e0c54906cf67 stmmac: fix potential division by 0
    aff5bca3c2e5 octeontx2-af: cn10k: mcs: Fix a resource leak in the probe and remove functions
    e97a4ad295b0 Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()
    9114e7fa80ce Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()
    c1f213a8ccf3 Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave()
    866b20962954 Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave()
    91ed02b7977b Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave()
    08c847f1a163 Bluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave()
    d123f2b94b9e Bluetooth: btusb: don't call kfree_skb() under spin_lock_irqsave()
    8eefaa20568d Bluetooth: btintel: Fix missing free skb in btintel_setup_combined()
    09a3b0c9c7c6 Bluetooth: hci_conn: Fix crash on hci_create_cis_sync
    a65b09e3130b Bluetooth: Fix EALREADY and ELOOP cases in bt_status()
    72560759f6e0 Bluetooth: MGMT: Fix error report for ADD_EXT_ADV_PARAMS
    66324c5eb5ee Bluetooth: hci_core: fix error handling in hci_register_dev()
    b17b3203d479 sctp: sysctl: make extra pointers netns aware
    07e28a8f4502 ntb_netdev: Use dev_kfree_skb_any() in interrupt context
    4f9bcc999062 net: lan9303: Fix read error execution path
    a8846b339860 net: ethernet: ti: am65-cpsw: Fix PM runtime leakage in am65_cpsw_nuss_ndo_slave_open()
    512dc6796946 can: tcan4x5x: Fix use of register error status mask
    73a1f06a4b6f can: m_can: Call the RAM init directly from m_can_chip_config
    9f38ec243426 can: tcan4x5x: Remove invalid write in clear_interrupts
    8718e17e0fac net: amd-xgbe: Check only the minimum speed for active/passive cables
    7a7de9a6f198 net: amd-xgbe: Fix logic around active and passive cables
    99a75f34db5b af_unix: call proto_unregister() in the error path in af_unix_init()
    22dbe4a6ea37 net: setsockopt: fix IPV6_UNICAST_IF option for connected sockets
    7cc54e9ffcf5 net: amd: lance: don't call dev_kfree_skb() under spin_lock_irqsave()
    df7c78c3ab06 hamradio: don't call dev_kfree_skb() under spin_lock_irqsave()
    4bc76162596e net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave()
    2a979f087430 net: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave()
    9027ed144a1c net: apple: bmac: don't call dev_kfree_skb() under spin_lock_irqsave()
    6c0fba2b683d net: apple: mace: don't call dev_kfree_skb() under spin_lock_irqsave()
    588d0b8462f5 net/tunnel: wait until all sk_user_data reader finish before releasing the sock
    bb1715a6bfb0 net: farsync: Fix kmemleak when rmmods farsync
    5253d432dd36 ethernet: s2io: don't call dev_kfree_skb() under spin_lock_irqsave()
    71d88c7453ec of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()
    cbde8b3acbc8 ipvs: use u64_stats_t for the per-cpu counters
    dcae92a24955 drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
    446757787baf net: stmmac: fix possible memory leak in stmmac_dvr_probe()
    bfbc4f7f82da net: stmmac: selftests: fix potential memleak in stmmac_test_arpoffload()
    e6730e15df96 net: defxx: Fix missing err handling in dfx_init()
    6af94424012c net: vmw_vsock: vmci: Check memcpy_from_msg()
    bd72ab5e6fc1 clk: socfpga: Fix memory leak in socfpga_gate_init()
    8d64aca5e8f3 bpf: Do not zero-extend kfunc return values
    8682d0a6ee54 blktrace: Fix output non-blktrace event when blk_classic option enabled
    bbb2d35386c1 wifi: brcmfmac: Fix error return code in brcmf_sdio_download_firmware()
    36a2786145ef wifi: rtl8xxxu: Fix the channel width reporting
    8e2d450c4e5b wifi: rtl8xxxu: Add __packed to struct rtl8723bu_c2h
    9d0190d4722a spi: spi-gpio: Don't set MOSI as an input if not 3WIRE mode
    a35323218ff3 clk: samsung: Fix memory leak in _samsung_clk_register_pll()
    c93ecbb21b9a media: staging: stkwebcam: Restore MEDIA_{USB,CAMERA}_SUPPORT dependencies
    0209e70ad496 media: coda: Add check for kmalloc
    05f165ded4a7 media: coda: Add check for dcoda_iram_alloc
    ccb4e8de1e7e media: c8sectpfe: Add of_node_put() when breaking out of loop
    86e52c02e288 regulator: qcom-labibb: Fix missing of_node_put() in qcom_labibb_regulator_probe()
    83a9cd6e0a96 nvme: pass nr_maps explicitly to nvme_alloc_io_tag_set
    5aebe9ba130a mmc: core: Normalize the error handling branch in sd_read_ext_regs()
    1b3f0b02486b memstick/ms_block: Add check for alloc_ordered_workqueue
    d87d565fec52 mmc: renesas_sdhi: alway populate SCC pointer
    eb8431dc4b5a mmc: mmci: fix return value check of mmc_add_host()
    3697d9af93bf mmc: wbsd: fix return value check of mmc_add_host()
    ba91b413983a mmc: via-sdmmc: fix return value check of mmc_add_host()
    f5ce76aeddf0 mmc: meson-gx: fix return value check of mmc_add_host()
    4e1dc24bcfc8 mmc: omap_hsmmc: fix return value check of mmc_add_host()
    85946ceb0fac mmc: atmel-mci: fix return value check of mmc_add_host()
    9229e7a00f5b mmc: litex_mmc: ensure `host->irq == 0` if polling
    eb7a2d516d4f mmc: wmt-sdmmc: fix return value check of mmc_add_host()
    2044b2ea7794 mmc: vub300: fix return value check of mmc_add_host()
    bfd77b194c94 mmc: toshsd: fix return value check of mmc_add_host()
    a522e26a20a4 mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()
    ffa9b2a79e3e mmc: rtsx_pci: fix return value check of mmc_add_host()
    5a62cba13851 mmc: pxamci: fix return value check of mmc_add_host()
    d2ead18bc7cc mmc: mxcmmc: fix return value check of mmc_add_host()
    40aa73c70e8a mmc: moxart: fix return value check of mmc_add_host()
    60fafcf2fb7e mmc: alcor: fix return value check of mmc_add_host()
    774d97b5ed7c hwmon: (emc2305) fix pwm never being able to set lower
    4cf53e91f36a hwmon: (emc2305) fix unable to probe emc2301/2/3
    12e677201777 bpftool: Fix memory leak in do_build_table_cb
    adebac5995c9 riscv, bpf: Emit fixed-length instructions for BPF_PSEUDO_FUNC
    86c1f5d5f498 NFSv4.x: Fail client initialisation if state manager thread can't run
    a89715bc9523 NFS: Allow very small rsize & wsize again
    f6a174755c33 NFSv4.2: Set the correct size scratch buffer for decoding READ_PLUS
    05acc401bca3 SUNRPC: Fix missing release socket in rpc_sockname()
    17c49afc694e xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()
    aae4846e8e49 pinctrl: thunderbay: fix possible memory leak in thunderbay_build_functions()
    250eed7b9994 ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt
    0859b2e1d5fa media: ov5640: set correct default link frequency
    3872adf30623 media: saa7164: fix missing pci_disable_device()
    809b48cb2eee ALSA: pcm: Set missing stop_operating flag at undoing trigger start
    5c3568166129 bpf, sockmap: fix race in sock_map_free()
    9283a0f51173 bpf: Add dummy type reference to nf_conn___init to fix type deduplication
    204d0f668d0f hwmon: (jc42) Restore the min/max/critical temperatures on resume
    24186b599624 hwmon: (jc42) Convert register access and caching to regmap/regcache
    f86b2f216636 regulator: core: fix resource leak in regulator_register()
    c72eb6e6e49a configfs: fix possible memory leak in configfs_create_dir()
    d2576d29da71 hsr: Synchronize sequence number updates.
    b5259dcfa3e1 hsr: Synchronize sending frames to have always incremented outgoing seq nr.
    3b79aaa88bab hsr: Disable netpoll.
    1517be0aef6d hsr: Avoid double remove of a node.
    4d2f6c44fd85 hsr: Add a rcu-read lock to hsr_forward_skb().
    41d4bcc624cf Revert "net: hsr: use hlist_head instead of list_head for mac addresses"
    35a6ae235108 clk: qcom: clk-krait: fix wrong div2 functions
    3b317660e43f clk: qcom: lpass-sc7180: Fix pm_runtime usage
    607ccb7d3d35 clk: qcom: lpass-sc7280: Fix pm_runtime usage
    89f19d11aad8 regulator: core: fix module refcount leak in set_supply()
    2d4b9c7e81f3 mt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()
    d26fdb1ec5b7 wifi: mt76: do not send firmware FW_FEATURE_NON_DL region
    52f7e2392617 wifi: mt76: mt7921: Add missing __packed annotation of struct mt7921_clc
    eb9102556565 wifi: mt76: fix coverity overrun-call in mt76_get_txpower()
    f11c5a1926c9 wifi: mt76: mt7921: fix wrong power after multiple SAR set
    71e73d3ce2b8 wifi: mt76: mt7915: Fix chainmask calculation on mt7915 DBDC
    13b31708e54f wifi: mt76: mt7915: rework eeprom tx paths and streams init
    5e55a45d9196 wifi: mt76: mt7921: fix reporting of TX AGGR histogram
    6435fc52ef36 wifi: mt76: mt7915: fix reporting of TX AGGR histogram
    1d3ecd157294 wifi: mt76: mt7915: fix mt7915_mac_set_timing()
    c6cd8bacafc2 wifi: mt76: mt7921: fix antenna signal are way off in monitor mode
    ae99debcf6b8 wifi: cfg80211: Fix not unregister reg_pdev when load_builtin_regdb_keys() fails
    92c9732ce7eb wifi: mac80211: fix maybe-unused warning
    9a50a7f64243 wifi: mac80211: fix memory leak in ieee80211_if_add()
    687b6b37c094 wifi: nl80211: Add checks for nla_nest_start() in nl80211_send_iface()
    16984b61ef15 spi: spidev: mask SPI_CS_HIGH in SPI_IOC_RD_MODE
    58cf9f4b79ad bonding: uninitialized variable in bond_miimon_inspect()
    26a844a91ecb bpf, sockmap: Fix data loss caused by using apply_bytes on ingress redirect
    e45de3007ac5 bpf, sockmap: Fix missing BPF_F_INGRESS flag when using apply_bytes
    113236e8f49f bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data
    ff0d392a4255 Input: wistron_btns - disable on UML
    ce7de847f19e netfilter: conntrack: set icmpv6 redirects as RELATED
    f0f1982ddfb4 clk: visconti: Fix memory leak in visconti_register_pll()
    4fa98de4f8c8 ASoC: pcm512x: Fix PM disable depth imbalance in pcm512x_probe
    7c852e8f93f0 drm/i915/bios: fix a memory leak in generate_lfp_data_ptrs
    c65564790048 drm/amdkfd: Fix memory leakage
    a8b54ad7106c drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()
    a6cffe54064a drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()
    dba7d8572224 amdgpu/nv.c: Corrected typo in the video capabilities resolution
    dd574ff7a7f2 drm/amd/pm/smu11: BACO is supported when it's in BACO state
    95569b7285dc clk: mediatek: fix dependency of MT7986 ADC clocks
    77c6b6be7e80 ASoC: mediatek: mt8173: Enable IRQ when pdata is ready
    3a2ecd1ec140 wifi: iwlwifi: mvm: fix double free on tx path.
    f52cf83c18cf wifi: rtl8xxxu: Fix use after rcu_read_unlock in rtl8xxxu_bss_info_changed
    fce7e4627364 wifi: plfxlc: fix potential memory leak in __lf_x_usb_enable_rx()
    98dbd1329b4a ALSA: asihpi: fix missing pci_disable_device()
    6f3d56783fbe NFS: Fix an Oops in nfs_d_automount()
    0393e0316cdd NFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturn
    b247a9828f66 NFSv4: Fix a credential leak in _nfs4_discover_trunking()
    43fe5686d4a4 NFSv4.2: Fix initialisation of struct nfs4_label
    7c6975209d98 NFSv4.2: Fix a memory stomp in decode_attr_security_label
    4711196ada6b NFSv4.2: Always decode the security label
    860b951e92c3 NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding
    b88b4035b218 drm/msm/mdp5: fix reading hw revision on db410c platform
    deed9567aae0 ASoC: mediatek: mtk-btcvsd: Add checks for write and read of mtk_btcvsd_snd
    9d997d67e501 ASoC: dt-bindings: wcd9335: fix reset line polarity in example
    a5d99bf9cf77 drm/tegra: Add missing clk_disable_unprepare() in tegra_dc_probe()
    6a27110802eb media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC
    2e6203ef474b media: mediatek: vcodec: Core thread depends on core_list
    c703b86a4972 media: mediatek: vcodec: Setting lat buf to lat_list when lat decode error
    43a4ae7b7879 media: mediatek: vcodec: Fix h264 set lat buffer error
    fd975256eb26 media: mediatek: vcodec: Fix getting NULL pointer for dst buffer
    c9411d57c1de media: amphion: lock and check m2m_ctx in event handler
    c0c1903e8733 media: amphion: cancel vpu before release instance
    1ca1405d52c8 media: amphion: try to wakeup vpu core to avoid failure
    5100ab6744e7 media: sun8i-a83t-mipi-csi2: Register async subdev with no sensor attached
    65b3232f9e91 media: sun6i-mipi-csi2: Register async subdev with no sensor attached
    6c1c8499cdb6 media: sun8i-a83t-mipi-csi2: Require both pads to be connected for streaming
    daf248d2d6a5 media: sun6i-mipi-csi2: Require both pads to be connected for streaming
    b1898793777f x86/boot: Skip realmode init code when running as Xen PV guest
    6b60cf73a931 media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()
    ed4293a07c1c media: dvb-core: Fix ignored return value in dvb_register_frontend()
    5e2fa5132995 pinctrl: pinconf-generic: add missing of_node_put()
    d998e985232a clk: imx8mn: fix imx8mn_enet_phy_sels clocks list
    a03b59a0c83d clk: imx8mn: fix imx8mn_sai2_sels clocks list
    4b7b740009fa clk: imx: rename video_pll1 to video_pll
    90b4de668466 clk: imx: replace osc_hdmi with dummy
    99bd07dc8519 clk: imx8mn: rename vpu_pll to m7_alt_pll
    d6ebcae042ce media: mt9p031: Drop bogus v4l2_subdev_get_try_crop() call from mt9p031_init_cfg()
    0f5250e1de5f media: imx: imx7-media-csi: Clear BIT_MIPI_DOUBLE_CMPNT for <16b formats
    3f8b24ab0d00 media: imon: fix a race condition in send_packet()
    f38df8984ef1 media: vimc: Fix wrong function called when vimc_init() fails
    841315c1db6b ASoC: mediatek: mt8186: Correct I2S shared clocks
    5827a5656d5a ASoC: qcom: cleanup and fix dependency of QCOM_COMMON
    b1e4f92dd0c1 ASoC: qcom: Add checks for devm_kcalloc
    a999525c7b69 drbd: destroy workqueue when drbd device was freed
    6c4c5d5e4a0d drbd: remove call to memset before free device/resource/connection
    a1b061cafdbc mtd: maps: pxa2xx-flash: fix memory leak in probe
    616dc895d982 mtd: core: Fix refcount error in del_mtd_device()
    95e90bcc934f clk: microchip: check for null return of devm_kzalloc()
    d87f58c25447 bonding: fix link recovery in mode 2 when updelay is nonzero
    e1abb71ed774 selftests/bpf: Mount debugfs in setns_by_fd
    4074774f55d4 selftests/bpf: Make sure zero-len skbs aren't redirectable
    cbd17cb4df07 drm/i915/guc: make default_lists const data
    d7352b410471 drm/amdgpu: fix pci device refcount leak
    f2ffb8653ea8 clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
    55e44791a547 regulator: core: use kfree_const() to free space conditionally
    83ddd4cc8f25 ALSA: seq: fix undefined behavior in bit shift for SNDRV_SEQ_FILTER_USE_EVENT
    2b951e13bd17 ALSA: pcm: fix undefined behavior in bit shift for SNDRV_PCM_RATE_KNOT
    bfa34e24ced6 ASoC: Intel: avs: Lock substream before snd_pcm_stop()
    51618c1d77af ASoC: Intel: Skylake: Fix Kconfig dependency
    1dc70897f1ac wifi: rtw89: fix physts IE page check
    60dcaf068f42 pinctrl: k210: call of_node_put()
    66d362f16d46 clk: imx: imxrt1050: fix IMXRT1050_CLK_LCDIF_APB offsets
    258730e8f68f HID: hid-sensor-custom: set fixed size for custom attributes
    21f15d8ffdb4 bpf: Move skb->len == 0 checks into __bpf_redirect
    92f30b33df3d clk: imx93: correct enet clock
    a1981f67d57e clk: imx93: unmap anatop base in error handling path
    1372f4f6fcb1 HID: i2c: let RMI devices decide what constitutes wakeup event
    3751ba4aec0b bpf: Pin the start cgroup in cgroup_iter_seq_init()
    b7c906977301 clk: imx93: correct the flexspi1 clock setting
    c536932b6a2a mtd: spi-nor: Fix the number of bytes for the dummy cycles
    58701a96062f mtd: spi-nor: hide jedec_id sysfs attribute if not present
    d24fd986ae9d net: Return errno in sk->sk_prot->get_port().
    073b50de84cb udp: Clean up some functions.
    53fc231277da net: ethernet: mtk_eth_soc: fix RSTCTRL_PPE{0,1} definitions
    7d4af96be535 media: videobuf-dma-contig: use dma_mmap_coherent
    d72bff7e6cc3 media: amphion: Fix error handling in vpu_driver_init()
    abc73b6739a1 media: platform: exynos4-is: Fix error handling in fimc_md_init()
    9416861170ba media: solo6x10: fix possible memory leak in solo_sysfs_init()
    8a204a0b4a0d media: vidtv: Fix use-after-free in vidtv_bridge_dvb_init()
    48c489fafa46 media: amphion: apply vb2_queue_error instead of setting manually
    e9fbed19ad17 media: amphion: add lock around vdec_g_fmt
    2bf8461ee33c net: ethernet: mtk_eth_soc: do not overwrite mtu configuration running reset routine
    38e2a92cd174 ASoC: amd: acp: Fix possible UAF in acp_dma_open
    917e58a84e85 Input: elants_i2c - properly handle the reset GPIO when power is off
    c4cc41e94d83 mtd: lpddr2_nvm: Fix possible null-ptr-deref
    fee1df5a5835 drm/msm/a6xx: Fix speed-bin detection vs probe-defer
    73b7f8a820d2 wifi: ath10k: Fix return value in ath10k_pci_init()
    4448a8dd1e7c selftests/bpf: fix memory leak of lsm_cgroup
    773bfda35c95 dm: track per-add_disk holder relations in DM
    ce65ef11d37e dm: make sure create and remove dm device won't race with open and close table
    365c351efd4a dm: cleanup close_table_device
    3a3742f6b0a2 dm: cleanup open_table_device
    475bdd75447a block: clear ->slave_dir when dropping the main slave_dir reference
    d2845542a953 ima: Fix misuse of dereference of pointer in template_desc_init_fields()
    c591c48842f0 integrity: Fix memory leakage in keyring allocation error path
    accc7993a780 ALSA: memalloc: Allocate more contiguous pages for fallback case
    0a730f51b02a drm/fourcc: Fix vsub/hsub for Q410 and Q401
    8cf1235a49a3 regulator: qcom-rpmh: Fix PMR735a S3 regulator spec
    a428dcc4a421 wifi: rtw89: Fix some error handling path in rtw89_core_sta_assoc()
    18ef9434379b nvme: return err on nvme_init_non_mdts_limits fail
    8084bd0a64e2 amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()
    2f98469c3141 regulator: core: fix unbalanced of node refcount in regulator_dev_lookup()
    3b97e1e894ec nvmet: only allocate a single slab for bvecs
    21b92cf41952 ASoC: pxa: fix null-pointer dereference in filter()
    83a583a36982 drm/mediatek: Modify dpi power on/off sequence.
    8c39a6157c45 selftests/bpf: Fix incorrect ASSERT in the tcp_hdr_options test
    6bbbe4948d46 selftests/bpf: Fix xdp_synproxy compilation failure in 32-bit arch
    69d51c26ea83 ASoC: codecs: wsa883x: use correct header file
    66fdbc0f2445 ASoC: codecs: wsa883x: Use proper shutdown GPIO polarity
    7a779e84b3c4 module: Fix NULL vs IS_ERR checking for module_get_next_page
    0183b7c49cfd wifi: iwlwifi: mei: fix potential NULL-ptr deref after clone
    57f6784d8831 wifi: iwlwifi: mei: avoid blocking sap messages handling due to rtnl lock
    a29e442ee110 wifi: iwlwifi: mei: fix tx DHCP packet for devices with new Tx API
    9829f3a5ae4b wifi: iwlwifi: mei: don't send SAP commands if AMT is disabled
    39138cee7ab9 wifi: iwlwifi: mei: make sure ownership confirmed message is sent
    61dd45b01b20 pinctrl: mediatek: fix the pinconf register offset of some pins
    afe3309dedec dt-bindings: pinctrl: update uart/mmc bindings for MT7986 SoC
    9e203e437310 drm/radeon: Add the missed acpi_put_table() to fix memory leak
    0544ea57f999 bfq: fix waker_bfqq inconsistency crash
    0c57b39033e0 drbd: use blk_queue_max_discard_sectors helper
    961db32e52f4 regmap-irq: Use the new num_config_regs property in regmap_add_irq_chip_fwnode
    2bba26652613 drm: rcar-du: Drop leftovers dependencies from Kconfig
    7f8811ed9853 wifi: rtw89: use u32_encode_bits() to fill MAC quota value
    fb9277b1c82c drm: lcdif: Set and enable FIFO Panic threshold
    735d1820a6b1 rxrpc: Fix ack.bufferSize to be 0 when generating an ack
    5697a0d4a7e1 net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write()
    3c1aac9cef5f virt/sev-guest: Add a MODULE_ALIAS
    91426b258392 clk: renesas: r8a779f0: Fix SCIF parent clocks
    697fc4dfcb6e clk: renesas: r8a779f0: Fix HSCIF parent clocks
    3eb954aac208 media: camss: Do not attach an already attached power domain on MSM8916 platform
    24df4fa3e795 media: camss: Clean up received buffers on failed start of streaming
    c6e31be0f72c wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control port
    7503bb76a141 Input: joystick - fix Kconfig warning for JOYSTICK_ADC
    26c304a3f136 mtd: core: fix possible resource leak in init_mtd()
    bcabe1dc2a34 mtd: Fix device name leak when register device failed in add_mtd_device()
    386cb647b8fb clk: qcom: gcc-sm8250: Use retention mode for USB GDSCs
    c4809c3dd342 clk: qcom: dispcc-sm6350: Add CLK_OPS_PARENT_ENABLE to pixel&byte src
    ab6bfd335cf1 clk: qcom: gcc-ipq806x: use parent_data for the last remaining entry
    ddbed3b583ac bpf: propagate precision across all frames, not just the last one
    3a59f8bef663 bpf: propagate precision in ALU/ALU64 operations
    fac1282fc80a media: platform: exynos4-is: fix return value check in fimc_md_probe()
    2f558c5208b0 media: vivid: fix compose size exceed boundary
    40356e4c885b media: rkvdec: Add required padding
    926893538b71 media: platform: mtk-mdp3: fix error handling in mdp_probe()
    ef9170c00e1a media: platform: mtk-mdp3: fix error handling about components clock_on
    ab49175a5a88 media: platform: mtk-mdp3: fix error handling in mdp_cmdq_send()
    12b7733807b6 drm/msm/dsi: Prevent signed BPG offsets from bleeding into adjacent bits
    043b1493deae drm/msm/dsi: Disallow 8 BPC DSC configuration for alternative BPC values
    0a323c2aa127 drm/msm/dsi: Account for DSC's bits_per_pixel having 4 fractional bits
    8a80ad33dbd2 drm/msm/dsi: Migrate to drm_dsc_compute_rc_parameters()
    9929c46ccca8 drm/msm/dsi: Appropriately set dsc->mux_word_size based on bpc
    275b1d41f9b2 drm/msm/dsi: Reuse earlier computed dsc->slice_chunk_size
    f5bf0e54c47c drm/msm/dsi: Use DIV_ROUND_UP instead of conditional increment on modulo
    f0282e1d5749 drm/msm/dsi: Remove repeated calculation of slice_per_intf
    36e8894c5676 drm/msm/dsi: Remove useless math in DSC calculations
    4235be829c9e drm/msm/dpu1: Account for DSC's bits_per_pixel having 4 fractional bits
    fae22b0b5b4b bpf: Fix slot type check in check_stack_write_var_off
    ebe6c699ee26 bpf: Clobber stack slot when writing over spilled PTR_TO_BTF_ID
    e7a3542f44fd drm/msm/hdmi: use devres helper for runtime PM management
    8008f1691c15 ima: Handle -ESTALE returned by ima_filter_rule_match()
    e9a22f40f347 drm/msm/mdp5: stop overriding drvdata
    6528971fdce0 drm/ttm: fix undefined behavior in bit shift for TTM_TT_FLAG_PRIV_POPULATED
    465611e81258 drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure
    8b39120d4d9c spi: Update reference to struct spi_controller
    18f36c3eed39 drm/panel/panel-sitronix-st7701: Fix RTNI calculation
    f3ba0b7a4794 drm: lcdif: change burst size to 256B
    521dc068ef5d clk: renesas: r9a06g032: Repair grave increment error
    bd449cadc8db drm/i915/dgfx: Grab wakeref at i915_ttm_unmap_virtual
    6039c79ea54f drm/i915: Encapsulate lmem rpm stuff in intel_runtime_pm
    37ec70c44ec9 drm/i915: Refactor ttm ghost obj detection
    ed52edf44432 drm/i915: Handle all GTs on driver (un)load paths
    12a9b4c4ebd9 drm/rockchip: lvds: fix PM usage counter unbalance in poweron
    2734b3eb7210 drm/amd/display: wait for vblank during pipe programming
    f87cd02c3b65 dw9768: Enable low-power probe on ACPI
    64f61e18286b drm/i915/guc: Fix GuC error capture sizing estimation and reporting
    2fb13ac78aa9 drm/i915/guc: Add error-capture init warnings when needed
    fe9f9b9d06d3 ASoC: dt-bindings: rt5682: Set sound-dai-cells to 1
    0b708cb7f03d clk: renesas: r8a779a0: Fix SD0H clock name
    fb0425321947 clk: renesas: r8a779f0: Fix SD0H clock name
    a8e14234ac26 can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming
    70e91ddbe3b1 can: kvaser_usb: Add struct kvaser_usb_busparams
    87669964867a can: kvaser_usb_leaf: Fix bogus restart events
    e66e75eed961 can: kvaser_usb_leaf: Fix wrong CAN state after stopping
    1eef65b79fce can: kvaser_usb_leaf: Fix improved state not being reported
    6354011aa53c can: kvaser_usb_leaf: Set Warning state even without bus errors
    10081f449a06 can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT
    368ee61e7b13 can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event
    2a07780ad2ff can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device
    8543ac492366 libbpf: Btf dedup identical struct test needs check for nested structs/arrays
    5d68a8c82759 media: exynos4-is: don't rely on the v4l2_async_subdev internals
    3a54b7286893 media: i2c: ov5648: Free V4L2 fwnode data on unbind
    91a8528694a1 soreuseport: Fix socket selection for SO_INCOMING_CPU.
    a5514f2f83a1 venus: pm_helpers: Fix error check in vcodec_domains_get()
    0a132a42b77f media: i2c: ad5820: Fix error path
    436873067841 media: i2c: hi846: Fix memory leak in hi846_parse_dt()
    5459eaca151d drm/i915: Fix compute pre-emption w/a to apply to compute engines
    72b414661dc1 drm/i915/guc: Limit scheduling properties to avoid overflow
    ad8eb8ed0d39 media: mediatek: vcodec: fix h264 cavlc bitstream fail
    246f266634f5 media: cedrus: hevc: Fix offset adjustments
    563d50ec220f media: v4l2-ioctl.c: Unify YCbCr/YUV terms in format descriptions
    5d1a2d2a1183 media: adv748x: afe: Select input port when initializing AFE
    fc6579f00506 media: amphion: reset instance if it's aborted before codec header parsed
    e7d1e0b75264 media: coda: jpeg: Add check for kmalloc
    b9d1093140e2 media: v4l2-ctrls: Fix off-by-one error in integer menu control check
    a7e8439e297e Input: iqs7222 - protect against undefined slider size
    172d4d640750 drm/bridge: it6505: Initialize AUX channel in it6505_i2c_probe
    782175a60176 selftests/bpf: fix missing BPF object files
    05d55bbd8d27 samples/bpf: Fix MAC address swapping in xdp2_kern
    818b68651cde samples/bpf: Fix map iteration in xdp1_user
    22d569b3d1a0 net: ethernet: adi: adin1110: Fix SPI transfers
    1c65f8f98148 drm/amdgpu/powerplay/psm: Fix memory leak in power state init
    9ccd11718d76 drm/amdgpu: Revert "drm/amdgpu: getting fan speed pwm for vega10 properly"
    3265e0f2f85a ipmi: kcs: Poll OBF briefly to reduce OBE latency
    0bad12fee5ae ASoC: Intel: avs: Fix potential RX buffer overflow
    b793142e7d6f ASoC: Intel: avs: Fix DMA mask assignment
    e02b42f3fc56 pinctrl: ocelot: add missing destroy_workqueue() in error path in ocelot_pinctrl_probe()
    55442d2f2cfa ata: libata: fix NCQ autosense logic
    76b014f2f595 drm: lcdif: Switch to limited range for RGB to YUV conversion
    ecb0f3d7dd13 libbpf: Fix null-pointer dereference in find_prog_by_sec_insn()
    e0f5361d95aa libbpf: Deal with section with no data gracefully
    622ff59742fe libbpf: Use elf_getshdrnum() instead of e_shnum
    3c48bbf4264f selftest/bpf: Fix error usage of ASSERT_OK in xdp_adjust_tail.c
    bec359a2a48f selftests/bpf: Fix error failure of case test_xdp_adjust_tail_grow
    661e952bc9ef selftest/bpf: Fix memory leak in kprobe_multi_test
    d7dc8fad67fa selftests/bpf: Fix memory leak caused by not destroying skeleton
    13866e924a57 libbpf: Fix memory leak in parse_usdt_arg()
    fbe08093fb23 libbpf: Fix use-after-free in btf_dump_name_dups
    e4ebe4eb7ef5 drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge
    edf05f091cc7 wifi: ath11k: fix firmware assert during bandwidth change for peer sta
    d161b3de52dd wifi: rtl8xxxu: Fix reading the vendor of combo chips
    71fc0ad671a6 wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()
    08aa0537ec8c wifi: ath9k: hif_usb: fix memory leak of urbs in ath9k_hif_usb_dealloc_tx_urbs()
    588f2f9c7df6 drm/atomic-helper: Don't allocate new plane state in CRTC check
    daf8163bd9ca wifi: mac80211: fix ifdef symbol name
    8f8e5ca4e038 wifi: mac80211: check link ID in auth/assoc continuation
    bb7743955a92 wifi: mac80211: mlme: fix null-ptr deref on failed assoc
    cd5d16539330 wifi: fix multi-link element subelement iteration
    49cafaad0ba5 selftests/bpf: Add missing bpf_iter_vma_offset__destroy call
    cd58eb4338ce platform/mellanox: mlxbf-pmc: Fix event typo
    28dad915abe4 ipc: fix memory leak in init_mqueue_fs()
    b59624258598 rapidio: devices: fix missing put_device in mport_cdev_open
    88579c158e02 hfs: Fix OOB Write in hfs_asc2mac
    caaa3b42a204 relay: fix type mismatch when allocating memory in relay_create_buf()
    ab2f429240b8 eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD
    cb87af2c19c0 rapidio: fix possible UAF when kfifo_alloc() fails
    c8d1f3d1b25b fs: sysv: Fix sysv_nblocks() returns wrong value
    b6dccca21b1f NFSD: pass range end to vfs_fsync_range() instead of count
    82474db85bab nfsd: return error if nfs4_setacl fails
    d7aa9f777831 lockd: set other missing fields when unlocking files
    5c8e13a2b66a MIPS: OCTEON: warn only once if deprecated link status is being used
    412bd425cc35 MIPS: BCM63xx: Add check for NULL for clk in clk_enable
    dc7224749484 platform/x86: intel_scu_ipc: fix possible name leak in __intel_scu_ipc_register()
    87426ce3bd57 platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()
    6613f36a2fa5 platform/chrome: cros_ec_typec: zero out stale pointers
    40c73b2ea961 erofs: validate the extent length for uncompressed pclusters
    373b6f350aec erofs: fix missing unmap if z_erofs_get_extent_compressedlen() fails
    618e712b99c7 erofs: Fix pcluster memleak when its block address is zero
    18067e262416 erofs: check the uniqueness of fsid in shared domain in advance
    6a5061dd651c PM: runtime: Do not call __rpm_callback() from rpm_idle()
    4da411086f5a xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource()
    b44457b83a03 x86/xen: Fix memory leak in xen_init_lock_cpu()
    f698f88f042c x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()
    daea9a0647df uprobes/x86: Allow to probe a NOP instruction with 0x66 prefix
    01f2c2052ea5 ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()
    404b4b9770d8 clocksource/drivers/timer-ti-dm: Fix missing clk_disable_unprepare in dmtimer_systimer_init_clock()
    6b0a5f9e153e clocksource/drivers/timer-ti-dm: Fix warning for omap_timer_match
    685c4ec6c8d0 cpu/hotplug: Do not bail-out in DYING/STARTING sections
    4070e9cf7220 cpu/hotplug: Make target_store() a nop when target == state
    a1e49256c786 futex: Resend potentially swallowed owner death notification
    fba0ec3a25ee clocksource/drivers/sh_cmt: Access registers according to spec
    9abba4aa6087 rapidio: rio: fix possible name leak in rio_register_mport()
    85fbf58b15c0 rapidio: fix possible name leaks when rio_add_device() fails
    50ab0ca3aff4 ocfs2: fix memory leak in ocfs2_mount_volume()
    92425441949e debugfs: fix error when writing negative value to atomic_t debugfs file
    93148085cb70 lib/notifier-error-inject: fix error when writing -errno to debugfs file
    79be3d5f2ef1 libfs: add DEFINE_SIMPLE_ATTRIBUTE_SIGNED for signed value
    52116d130bcb cpufreq: amd_freq_sensitivity: Add missing pci_dev_put()
    6eda351971be genirq/irqdesc: Don't try to remove non-existing sysfs files
    23ac79e755df nfsd: don't call nfsd_file_put from client states seqfile display
    b04556ef19ed NFSD: Finish converting the NFSv3 GETACL result encoder
    2b825efb0577 NFSD: Finish converting the NFSv2 GETACL result encoder
    f29c2f57cdf7 EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()
    6a9592cd3482 irqchip/loongson-liointc: Fix improper error handling in liointc_init()
    773c9d7f127f irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init()
    12f45dc266f8 irqchip: gic-pm: Use pm_runtime_resume_and_get() in gic_probe()
    9e04d2548a02 irqchip/loongson-pch-pic: Fix translate callback for DT path
    e0d8b51bbe84 thermal: core: fix some possible name leaks in error paths
    751f12696d79 platform/chrome: cros_usbpd_notify: Fix error handling in cros_usbpd_notify_init()
    254d2d322721 perf/x86/intel/uncore: Fix reference count leak in __uncore_imc_init_box()
    dc7f07bc1ebb perf/x86/intel/uncore: Fix reference count leak in snr_uncore_mmio_map()
    bd66877c0b3b perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()
    a7be6b849b53 perf/x86/intel/uncore: Fix reference count leak in sad_cfg_iio_topology()
    c00901e98b1e ACPI: pfr_update: use ACPI_FREE() to free acpi_object
    ae3075b54fa8 ACPI: pfr_telemetry: use ACPI_FREE() to free acpi_object
    f0d5624fbe37 mailbox: pcc: Reset pcc_chan_count to zero in case of PCC probe failure
    290dd73b943c PNP: fix name memory leak in pnp_alloc_dev()
    fb7f50d9b87a selftests/efivarfs: Add checking of the test return value
    faf8fd9f576a MIPS: vpe-cmp: fix possible memory leak while module exiting
    ab3d47c1fd02 MIPS: vpe-mt: fix possible memory leak while module exiting
    205f5e984d30 cpufreq: qcom-hw: Fix the frequency returned by cpufreq_driver->get()
    a753ee510365 selftests: cgroup: fix unsigned comparison with less than zero
    0b2128b70849 ocfs2: fix memory leak in ocfs2_stack_glue_init()
    890d91b31f48 lib/fonts: fix undefined behavior in bit shift for get_default_font
    b457907d5067 proc: fixup uptime selftest
    21bec0ebb854 timerqueue: Use rb_entry_safe() in timerqueue_getnext()
    790c52369e5d platform/x86: huawei-wmi: fix return value calculation
    51b2ea9e4e53 lib/debugobjects: fix stat count and optimize debug_objects_mem_init
    e9b4dc13d32c perf: Fix possible memleak in pmu_dev_alloc()
    619dd807f993 selftests/ftrace: event_triggers: wait longer for test_event_enable
    14addeebbb0f ACPI: irq: Fix some kernel-doc issues
    bb1878d741ff x86/split_lock: Add sysctl to control the misery mode
    242e23be8f31 cpufreq: qcom-hw: Fix memory leak in qcom_cpufreq_hw_read_lut()
    cfea50b0e597 fs: don't audit the capability check in simple_xattr_list()
    574b10475d69 PM: hibernate: Fix mistake in kerneldoc comment
    fa90769d3f25 x86/sgx: Reduce delay and interference of enclave release
    44de1adb2484 sched/psi: Fix possible missing or delayed pending event
    3878f601e14c alpha: fix syscall entry in !AUDUT_SYSCALL case
    84fe26b06f82 alpha: fix TIF_NOTIFY_SIGNAL handling
    dc0da257ebaf cpuidle: dt: Return the correct numbers of parsed idle states
    e7c542d2cfae sched/uclamp: Cater for uclamp in find_energy_efficient_cpu()'s early exit condition
    cbd8c040409c sched/uclamp: Make cpu_overutilized() use util_fits_cpu()
    324ce6e2c603 sched/uclamp: Make asym_fits_capacity() use util_fits_cpu()
    3b9c1559de8c sched/uclamp: Make select_idle_capacity() use util_fits_cpu()
    75ba48621b33 sched/uclamp: Fix fits_capacity() check in feec()
    d355960543a7 sched/uclamp: Make task_fits_capacity() use util_fits_cpu()
    0ef8dac24646 sched/uclamp: Fix relationship between uclamp and migration margin
    7e4831539706 ovl: remove privs in ovl_fallocate()
    155428ea2026 ovl: remove privs in ovl_copyfile()
    82855e986453 tpm/tpm_crb: Fix error message in __crb_relinquish_locality()
    60eb1529a300 tpm/tpm_ftpm_tee: Fix error handling in ftpm_mod_init()
    1abbeab55631 tpm: Add flag to use default cancellation policy
    05ab9752f975 tpm: tis_i2c: Fix sanity check interrupt enable mask
    63f089c0365e arch: arm64: apple: t8103: Use standard "iommu" node name
    2f82381d0681 pstore: Avoid kcore oops by vmap()ing with VM_IOREMAP
    3c6dfce2c76c ARM: mmp: fix timer_read delay
    65f1ff9011f1 pstore/ram: Fix error return code in ramoops_probe()
    5b81f0c6c60e seccomp: Move copy_seccomp() to no failure path.
    ef400e41a85a drivers/perf: hisi: Fix some event id for hisi-pcie-pmu
    5daa0a727c83 soc: apple: rtkit: Stop casting function pointer signatures
    868d9310c460 soc: apple: sart: Stop casting function pointer signatures
    d20a0234f0d8 arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC
    a1b28c36ec20 ARM: dts: turris-omnia: Add switch port 6 node
    88b5d11a6d98 ARM: dts: turris-omnia: Add ethernet aliases
    1a8b127d7b15 ARM: dts: armada-39x: Fix assigned-addresses for every PCIe Root Port
    18d8e15a53c6 ARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port
    8f4cd6481bbb ARM: dts: armada-375: Fix assigned-addresses for every PCIe Root Port
    0e23b6a16af3 ARM: dts: armada-xp: Fix assigned-addresses for every PCIe Root Port
    aa67f198dc81 ARM: dts: armada-370: Fix assigned-addresses for every PCIe Root Port
    714ae279ac9c ARM: dts: dove: Fix assigned-addresses for every PCIe Root Port
    2460aca3c425 arm64: dts: mt7986: move wed_pcie node
    b2429741cb42 arm64: tegra: Fix non-prefetchable aperture of PCIe C3 controller
    75a0e121937d arm64: tegra: Fix Prefetchable aperture ranges of Tegra234 PCIe controllers
    29ca6ffb0840 arm64: dts: mediatek: mt6797: Fix 26M oscillator unit name
    e435f8959aad arm64: dts: mediatek: pumpkin-common: Fix devicetree warnings
    81d0b66f185d arm64: dts: mt2712-evb: Fix usb vbus regulators unit names
    bb225f227cb2 arm64: dts: mt2712-evb: Fix vproc fixed regulators unit names
    e547c30e963f arm64: dts: mt2712e: Fix unit address for pinctrl node
    cb9bb1895b43 arm64: dts: mt2712e: Fix unit_address_vs_reg warning for oscillators
    5e5190363463 arm64: dts: mt6779: Fix devicetree build warnings
    39ce535c4bf1 arm64: dts: mt7896a: Fix unit_address_vs_reg warning for oscillator
    ffd7eb587315 arm64: dts: mediatek: mt8195: Fix CPUs capacity-dmips-mhz
    121fa4e630dc ARM: dts: nuvoton: Remove bogus unit addresses from fixed-partition nodes
    3aa5508359f3 riscv: dts: microchip: remove pcie node from the sev kit
    d31b758ee777 arm64: dts: ti: k3-j721s2: Fix the interrupt ranges property for main & wkup gpio intr
    2b2c143237f3 arm64: dts: ti: k3-j7200-mcu-wakeup: Drop dma-coherent in crypto node
    dc7d896b7d50 arm64: dts: ti: k3-j721e-main: Drop dma-coherent in crypto node
    0e2de8570880 arm64: dts: ti: k3-am65-main: Drop dma-coherent in crypto node
    582babe17ea8 perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()
    adf7c3bbcc81 perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()
    7772f4de9341 drivers: perf: marvell_cn10k: Fix hotplug callback leak in tad_pmu_init()
    0823732f0aa0 perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init()
    7f7634d72def arm64: mm: kfence: only handle translation faults
    afafeb0cf5b1 soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe
    01c972a33cae soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe
    5e9e8ee71319 riscv: dts: microchip: fix the icicle's #pwm-cells
    d9d93b6cd047 arm: dts: spear600: Fix clcd interrupt
    9c113e3add61 arm64: dts: qcom: sc7280: Mark all Qualcomm reference boards as LTE
    7d6370223db6 soc/tegra: cbb: Check firewall before enabling error reporting
    b75d11a62bb3 soc/tegra: cbb: Add checks for potential out of bound errors
    d8ed37219e27 soc/tegra: cbb: Update slave maps for Tegra234
    6ede06dde331 soc/tegra: cbb: Use correct master_id mask for CBB NOC in Tegra194
    61eb9624e764 arm64: dts: mt7986: fix trng node name
    5e1a9c98c116 soc: sifive: ccache: fix missing of_node_put() in sifive_ccache_init()
    0883dc428c95 soc: sifive: ccache: fix missing free_irq() in error path in sifive_ccache_init()
    7ea9128d1a91 soc: sifive: ccache: fix missing iounmap() in error path in sifive_ccache_init()
    48ad27467b00 dt-bindings: pwm: fix microchip corePWM's pwm-cells
    d12b10a78396 arm64: dts: renesas: r9a09g011: Fix I2C SoC specific strings
    68093e2e7a41 arm64: dts: renesas: r9a09g011: Fix unit address format error
    4bc03f485add arm64: dts: renesas: r8a779f0: Fix SCIF "brg_int" clock
    e4d95cd9fb15 arm64: dts: renesas: r8a779f0: Fix HSCIF "brg_int" clock
    8a894fab2d26 arm64: dts: qcom: sm6125: fix SDHCI CQE reg names
    2454706d2645 arm64: dts: qcom: pm6350: Include header for KEY_POWER
    492480a9453e soc: qcom: apr: Add check for idr_alloc and of_property_read_string_index
    a51d57fd6f37 arm64: dts: qcom: sm6350: drop bogus DP PHY clock
    8ab46b95bff6 arm64: dts: qcom: sm8250: drop bogus DP PHY clock
    564a8e6ef47b arm64: dts: qcom: sc7280: fix codec reset line polarity for CRD 1.0/2.0
    efabb772e4bb arm64: dts: qcom: sc7280: fix codec reset line polarity for CRD 3.0/3.1
    c05e7b9c5474 arm64: dts: qcom: sm8250-mtp: fix reset line polarity
    07fe2707eac4 arm64: dts: qcom: msm8996: fix sound card reset line polarity
    4b5f25ae1ba5 arm64: dts: qcom: sm8450: fix UFS PHY registers
    b9002a984c98 arm64: dts: qcom: sm8350: fix UFS PHY registers
    1d488fcb63d3 arm64: dts: qcom: sm8250: fix UFS PHY registers
    b2b777270c94 arm64: dts: qcom: sm8150: fix UFS PHY registers
    e89e8e0648f2 soc: qcom: llcc: make irq truly optional
    91724983c7fd arm64: dts: qcom: sc7180-trogdor-homestar: fully configure secondary I2S pins
    aceaa757137c arm64: dts: qcom: sm8250: correct LPASS pin pull down
    77777664ccdd arm64: dts: qcom: pm660: Use unique ADC5_VCOIN address in node name
    9d043ee0de80 riscv: dts: microchip: fix memory node unit address for icicle
    0eb788089ddb firmware: ti_sci: Fix polled mode during system suspend
    f024ba5e05ab drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static
    10ee1f7a0fa0 ARM: dts: stm32: Fix AV96 WLAN regulator gpio property
    0d7d7d9ccf6d ARM: dts: stm32: Drop stm32mp15xc.dtsi from Avenger96
    1c1e7514cf3e objtool, kcsan: Add volatile read/write instrumentation to whitelist
    f3107fca5491 memory: renesas-rpc-if: Clear HS bit during hardware initialization
    85c570c3b33d arm64: dts: fsd: fix drive strength values as per FSD HW UM
    c6c98b75a5db arm64: dts: fsd: fix drive strength macros as per FSD HW UM
    6d2f8d9c14d5 arm64: dts: qcom: msm8916: Drop MSS fallback compatible
    29e76d127ab1 arm64: dts: qcom: sdm845-cheza: fix AP suspend pin bias
    0094e48d90d5 arm64: dts: qcom: sdm630: fix UART1 pin bias
    40713b3e902a ARM: dts: qcom: apq8064: fix coresight compatible
    56a0ab80c095 arm64: dts: qcom: msm8996: fix GPU OPP table
    fa6d1956270c arm64: dts: qcom: msm8996: fix supported-hw in cpufreq OPP tables
    830c07c7d8dd arm64: dts: qcom: msm8996: Add MSM8996 Pro support
    03cb7d4dacb3 arm64: dts: qcom: sdm845-xiaomi-polaris: fix codec pin conf name
    fbba08a9209f arm64: dts: qcom: sm8250-sony-xperia-edo: fix touchscreen bias-disable
    97e197f5c483 arm64: dts: qcom: ipq6018-cp01-c1: use BLSPI1 pins
    4d37ecb21de4 arm64: dts: renesas: r8a779g0: Fix HSCIF0 "brg_int" clock
    7913fc303d12 usb: musb: remove extra check in musb_gadget_vbus_draw
    e72fab11d350 MIPS: DTS: CI20: fix reset line polarity of the ethernet controller

(From OE-Core rev: 8840b4a4754dce42f0de008af0f03cdfb6eaf9ec)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
d283bed5ea linux-yocto/5.19: powerpc: Fix reschedule bug in KUAP-unlocked user copy
Integrating the following commit(s) to linux-yocto/5.19:

    84f2f8e7a625 powerpc: Fix reschedule bug in KUAP-unlocked user copy

(From OE-Core rev: 438b3523625807e2deca1797ce20649531270676)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
50d8d8e92b linux-yocto/5.15: powerpc: Fix reschedule bug in KUAP-unlocked user copy
Integrating the following commit(s) to linux-yocto/5.15:

    f100c753aa1f powerpc: Fix reschedule bug in KUAP-unlocked user copy

(From OE-Core rev: b457e6976e9e64a737517f9d9142ab290cdce214)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
fdae4cc099 linux-yocto/6.1: update to v6.1.1
Updating  to the latest korg -stable release that comprises
the following commits:

    ebdb69c5b054 Linux 6.1.1
    1d1a710c1983 KEYS: encrypted: fix key instantiation with user-provided data
    e8d16a54842d cifs: fix oops during encryption
    4e453324803d usb: dwc3: pci: Update PCIe device ID for USB3 controller on CPU sub-system for Raptor Lake
    9222912924fc usb: typec: ucsi: Resume in separate work
    c383c7c35c7b igb: Initialize mailbox message for VF reset
    52d5896ba2a4 staging: r8188eu: fix led register settings
    c9cacc0ab1ea xhci: Apply XHCI_RESET_TO_DEFAULT quirk to ADL-N
    c0d91ec1a16a ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
    c0815ea08548 USB: serial: f81534: fix division by zero on line-speed change
    3c8b21ee1404 USB: serial: f81232: fix division by zero on line-speed change
    736f626ea8b8 USB: serial: cp210x: add Kamstrup RF sniffer PIDs
    0b63d587c0d2 USB: serial: option: add Quectel EM05-G modem
    d1a92bb8d697 usb: gadget: uvc: Prevent buffer overflow in setup handler
    2cd2e9322726 udf: Fix extending file within last block
    1cd3e9297d44 udf: Do not bother looking for prealloc extents if i_lenExtents matches i_size
    12a88f572d6d udf: Fix preallocation discarding at indirect extent boundary
    e6b01f6a0e77 udf: Discard preallocation before extending file with a hole
    fb9b502cf911 irqchip/ls-extirq: Fix endianness detection
    18301e16ea55 mips: ralink: mt7621: do not use kzalloc too early
    ee11da28a62e mips: ralink: mt7621: soc queries and tests as functions
    a1d9199ba485 mips: ralink: mt7621: define MT7621_SYSC_BASE with __iomem
    a4997bae1b5b PCI: mt7621: Add sentinel to quirks table
    76c6303530eb libbpf: Fix uninitialized warning in btf_dump_dump_type_data
    96c5043a4d64 x86/vdso: Conditionally export __vdso_sgx_enter_enclave()

(From OE-Core rev: 253360891b8be1b6574f8bf237ce178b42174ee5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
bfa36def7b linux-yocto/5.15: update to v5.15.84
Updating  to the latest korg -stable release that comprises
the following commits:

    d68f50bfb00f Linux 5.15.84
    972707bae3d7 net: fec: properly guard irq coalesce setup
    289721fe0993 ASoC: ops: Correct bounds check for second channel on SX controls
    de0866b94a64 nvme-pci: clear the prp2 field when not used
    8bffa95ac19f perf: Fix perf_pending_task() UaF
    825bd2af4227 ASoC: cs42l51: Correct PGA Volume minimum value
    91582b3a1ab2 net: fec: don't reset irq coalesce settings to defaults on "ip link up"
    c772dab247f1 can: mcba_usb: Fix termination command argument
    aa822de7de3b can: sja1000: fix size of OCR_MODE_MASK define
    09e08740d78c pinctrl: meditatek: Startup with the IRQs disabled
    172a95026f06 libbpf: Use page size as max_entries when probing ring buffer map
    cf611d786796 ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx()
    a74b88e17025 ASoC: fsl_micfil: explicitly clear CHnF flags
    afac1e7d78eb ASoC: fsl_micfil: explicitly clear software reset bit
    9d933af8fef3 nfp: fix use-after-free in area_cache_get()
    e1a4f5880d00 vfs: fix copy_file_range() averts filesystem freeze protection
    86e28ed25b00 x86/vdso: Conditionally export __vdso_sgx_enter_enclave()
    fd6d66840b42 Linux 5.15.83
    f895511de9d2 io_uring: Fix a null-ptr-deref in io_tctx_exit_cb()
    f435c66d2336 io_uring: move to separate directory
    d9e1e5d8a74c block: move CONFIG_BLOCK guard to top Makefile
    e5c0bc4ff5b0 can: esd_usb: Allow REC and TEC to return to zero
    db6343a5b0d9 s390/qeth: fix use-after-free in hsci
    a56c1cebe4a0 s390/qeth: fix various format strings
    a6dba316c93e macsec: add missing attribute validation for offload
    40500f1f4745 net: mvneta: Fix an out of bounds check
    b9274dbe3999 net: thunderbolt: fix memory leak in tbnet_open()
    7390c70bd431 ipv6: avoid use-after-free in ip6_fragment()
    1beb475892f7 net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()
    b08412a9cf26 net: phy: mxl-gpy: fix version reporting
    dec5abd91abc xen/netback: fix build warning
    54d830e24247 dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove()
    c7adcbd0fd3f ethernet: aeroflex: fix potential skb leak in greth_init_rings()
    d962d42d6376 tipc: call tipc_lxc_xmit without holding node_read_lock
    f3b5dda26cd0 net: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions()
    5dab6fa068d7 ipv4: Fix incorrect route flushing when table ID 0 is used
    ac566bd5770f ipv4: Fix incorrect route flushing when source address is deleted
    af4ccae4b704 tipc: Fix potential OOB in tipc_link_proto_rcv()
    b8ce0e6f9f88 net: hisilicon: Fix potential use-after-free in hix5hd2_rx()
    16854177745a net: mdio: fix unbalanced fwnode reference count in mdio_device_release()
    6f4798ac9c9e net: hisilicon: Fix potential use-after-free in hisi_femac_rx()
    114e65a22189 net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq
    51c04945756a net: microchip: sparx5: Fix missing destroy_workqueue of mact_queue
    99eec0a766f9 ip_gre: do not report erspan version on GRE interface
    2891957853f2 net: stmmac: fix "snps,axi-config" node property parsing
    5cb8f1a784fd gpio/rockchip: fix refcount leak in rockchip_gpiolib_register()
    b8c2f0392d1d nvme initialize core quirks before calling nvme_init_subsystem
    908b2da426fe NFC: nci: Bounds check struct nfc_target arrays
    d841cc156304 i40e: Disallow ip4 and ip6 l4_4_bytes
    625a13850b31 i40e: Fix for VF MAC address 0
    5538794dbd42 i40e: Fix not setting default xps_cpus after reset
    a6b30598fec8 net: mvneta: Prevent out of bounds read in mvneta_config_rss()
    e6e897d4fe2f xen-netfront: Fix NULL sring after live migration
    eefd8953a748 octeontx2-pf: Fix potential memory leak in otx2_init_tc()
    f88acaed07b1 net: mdiobus: fix double put fwnode in the error path
    cc62d76928e0 net: mdiobus: fwnode_mdiobus_register_phy() rework error handling
    ea113b570eee net: encx24j600: Fix invalid logic in reading of MISTAT register
    8aae746d065c net: encx24j600: Add parentheses to fix precedence
    a110287ef4a4 mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()
    e046421bed5a selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload
    4fa8988a36d5 net: dsa: sja1105: Check return value
    b35be171dfe6 net: dsa: hellcreek: Check return value
    a4c342e645d6 net: dsa: ksz: Check return value
    edf7284a9829 Bluetooth: Fix not cleanup led when bt_init fails
    3322193949ac Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn()
    6c88c764e0c4 vmxnet3: use correct intrConf reference when using extended queues
    5ad0d85757f8 vmxnet3: correctly report encapsulated LRO packet
    5c014eb0ed6c af_unix: Get user_ns from in_skb in unix_diag_get_exact().
    807a01a32979 drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420
    eb96fd3983b2 net: broadcom: Add PTP_1588_CLOCK_OPTIONAL dependency for BCMGENET under ARCH_BCM2835
    16eb678bca8e igb: Allocate MSI-X vector when testing
    34c6367c946c e1000e: Fix TX dispatch condition
    4271515f189b gpio: amd8111: Fix PCI device reference count leak
    d57b60e9b355 drm/bridge: ti-sn65dsi86: Fix output polarity setting bug
    f8b29656013c netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark
    246bcd05ba6c ca8210: Fix crash by zero initializing data
    80dad8df5fc2 ieee802154: cc2520: Fix error return code in cc2520_hw_init()
    dd9dcfb85c65 drm/vmwgfx: Fix race issue calling pin_user_pages
    7b09ba9036b2 netfilter: nft_set_pipapo: Actually validate intervals in fields after the first one
    6daaa84b6214 gpiolib: fix memory leak in gpiochip_setup_dev()
    1a1075d37108 gpiolib: check the 'ngpios' property in core gpiolib code
    70c5515c1c30 gpiolib: improve coding style for local variables
    3b714f25fc59 clk: Fix pointer casting to prevent oops in devm_clk_release()
    c142cba37de2 can: af_can: fix NULL pointer dereference in can_rcv_filter
    104bb1f67e3c HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10
    f755d11c55b2 HID: core: fix shift-out-of-bounds in hid_report_raw_event
    2d4b310c32d4 HID: hid-lg4ff: Add check for empty lbuf
    5e8021ae0865 HID: usbhid: Add ALWAYS_POLL quirk for some mice
    5e88c6f4aaa7 net: dsa: sja1105: avoid out of bounds access in sja1105_init_l2_policing()
    1074fefce9cc drm/shmem-helper: Avoid vm_open error paths
    83e3da8bb92f drm/shmem-helper: Remove errant put in error path
    249011f4c3b8 drm/amdgpu/sdma_v4_0: turn off SDMA ring buffer in the s2idle suspend
    1e4fe9a1546f drm/vmwgfx: Don't use screen objects when SEV is active
    f6550976fe22 KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field
    fe50a9bbeb1f net: mana: Fix race on per-CQ variable napi work_done
    a49894a5ac36 Bluetooth: Fix crash when replugging CSR fake controllers
    1dee2b504771 Bluetooth: btusb: Add debug message for CSR controllers
    3ac29732a2ff mm/gup: fix gup_pud_range() for dax
    aad8bbd17a1d memcg: fix possible use-after-free in memcg_write_event_control()
    6fb8bc29bfa8 media: v4l2-dv-timings.c: fix too strict blanking sanity checks
    a4c575541eeb Revert "ARM: dts: imx7: Fix NAND controller size-cells"
    28abc1145924 soundwire: intel: Initialize clock stop timeout
    22d800b378e4 media: videobuf2-core: take mmap_lock in vb2_get_unmapped_area()
    5d0fa6fc8899 xen/netback: don't call kfree_skb() with interrupts disabled
    4422241ceffc xen/netback: do some code cleanup
    0fe29bd92594 xen/netback: Ensure protocol headers don't fall in the non-linear area
    f01677be31d1 drm/bridge: anx7625: Fix edid_read break case in sp_tx_edid_read()
    ee2536830b16 cifs: fix use-after-free caused by invalid pointer `hostname`
    dc62f05f666c rtc: cmos: avoid UIP when reading alarm time
    48ea4199af85 rtc: cmos: avoid UIP when writing alarm time
    3f52afc6ed93 rtc: mc146818-lib: extract mc146818_avoid_UIP
    1a3f8c6cd29d mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
    79ad784c9d21 mm/khugepaged: fix GUP-fast interaction by sending IPI
    d15cd6de0123 mm/khugepaged: take the right locks for page table retraction
    26f084e55466 net: usb: qmi_wwan: add u-blox 0x1342 composition
    029a7f1c5d70 9p/xen: check logical size for buffer size
    b398832893c8 usb: dwc3: gadget: Disable GUSB2PHYCFG.SUSPHY for End Transfer
    e70a5724400a fbcon: Use kzalloc() in fbcon_prepare_logo()
    fd3768597d2a regulator: twl6030: fix get status of twl6032 regulators
    9f74b9aa8d58 ASoC: soc-pcm: Add NULL check in BE reparenting
    dae93f4168c4 btrfs: send: avoid unaligned encoded writes when attempting to clone range
    f54e1edf579d selftests/net: Find nettest in current directory
    fccd454129f6 ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event
    542a563bb751 regulator: slg51000: Wait after asserting CS pin
    3d1b5fde360e 9p/fd: Use P9_HDRSZ for header size
    fe2d44e86e96 ASoC: rt711-sdca: fix the latency time of clock stop prepare state machine transitions
    e945f3d809ed ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk3188
    c3b818c91a11 spi: mediatek: Fix DEVAPC Violation at KO Remove
    d9f0107be1a9 ASoC: wm8962: Wait for updated value of WM8962_CLOCKING1 register
    7ae0262748e5 ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation
    d81c62e3121f ARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernels
    66717ad03b80 fs: use acquire ordering in __fget_light()
    1222e2364ac7 ARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name
    996fb29b06b6 arm64: dts: rockchip: fix ir-receiver node names
    752138ef89e8 ARM: dts: rockchip: fix ir-receiver node names
    8045971e40cd arm: dts: rockchip: remove clock-frequency from rtc
    5e9fb8013ac9 arm: dts: rockchip: fix node name for hym8563 rtc
    2ed7137e911a arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series
    5a1122e1a896 mmc: mtk-sd: Fix missing clk_disable_unprepare in msdc_of_clock_parse()
    282f52c954a8 clk: Provide new devm_clk helpers for prepared and enabled clocks
    eb94a7a20f3c clk: generalize devm_clk_get() a bit
    d9790301361c Linux 5.15.82
    48642f94311b proc: proc_skip_spaces() shouldn't think it is working on C strings
    3eb9213f6612 proc: avoid integer type confusion in get_proc_long
    4a4073a2e2fe ipc/sem: Fix dangling sem_array access in semtimedop race
    53b9b1201e34 Input: raydium_ts_i2c - fix memory leak in raydium_i2c_send()
    571b6bbbf54d char: tpm: Protect tpm_pm_suspend with locks
    f39891cfe79b Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend"
    a759057af728 ACPI: HMAT: Fix initiator registration for single-initiator systems
    da8a794d71ec ACPI: HMAT: remove unnecessary variable initialization
    2d16161a2c98 i2c: imx: Only DMA messages with I2C_M_DMA_SAFE flag set
    950a05cb15e3 i2c: npcm7xx: Fix error handling in npcm_i2c_init()
    db3f8da033d9 serial: stm32: Deassert Transmit Enable on ->rs485_config()
    45f628f4fd81 serial: stm32: Use TC interrupt to deassert GPIO RTS in RS485 mode
    c60eae5b1d0b serial: stm32: Factor out GPIO RTS toggling into separate function
    041f8dc88292 ipv4: Fix route deletion when nexthop info is not specified
    25174d91e4a3 ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference
    a0ad247e55ea selftests: net: fix nexthop warning cleanup double ip typo
    532847b69c29 selftests: net: add delete nexthop route warning test
    e0783558817d Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled
    723fa02e0e0a parisc: Increase FRAME_WARN to 2048 bytes on parisc
    b951ab4b35ba mm: migrate: fix THP's mapcount on isolation
    c5eda6029cf9 mm: __isolate_lru_page_prepare() in isolate_migratepages_block()
    bdb613ef179a iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
    b6eea8b2e858 iommu/vt-d: Fix PCI device refcount leak in has_external_pci()
    787d81d4eb15 nvme: fix SRCU protection of nvme_ns_head list
    12f237200c16 riscv: kexec: Fixup irq controller broken in kexec crash path
    ac00301adb19 riscv: fix race when vmap stack overflow
    fa7a7d185ef3 riscv: Sync efi page table's kernel mappings before switching
    d86d69892545 pinctrl: single: Fix potential division by zero
    98b15c706644 ASoC: ops: Fix bounds check for _sx controls
    f88a6977f8b9 KVM: x86/mmu: Fix race condition in direct_page_fault
    df4b177b4851 io_uring/poll: fix poll_refs race with cancelation
    4b702b7d11ce io_uring: make poll refs more robust
    1d58849ac26f io_uring: cmpxchg for poll arm refs release
    cd1981a8c30d io_uring: fix tw losing poll events
    62321dc7b081 io_uring: update res mask in io_poll_check_events
    417d5ea6e735 tracing: Free buffers when a used dynamic event is removed
    52fc245d150c tracing: Fix race where histograms can be called before the event
    cb2b0612cd25 tracing/osnoise: Fix duration type
    615a996ff397 drm/i915: Never return 0 if not all requests retired
    01a2b25ef2cd drm/i915: Fix negative value passed as remaining time
    ff1591ba33b8 drm/amdgpu: enable Vangogh VCN indirect sram mode
    ac2d7fa90848 drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame
    57ee7bc4c60a mmc: sdhci: Fix voltage switch delay
    bb8f8095143e mmc: sdhci-sprd: Fix no reset data and command after voltage switch
    4c7681c1a52f mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check
    01dbe4db590a mmc: core: Fix ambiguous TRIM and DISCARD arg
    738946e35504 mmc: mmc_test: Fix removal of debugfs file
    635d0517348e net: stmmac: Set MAC's flow control register to reflect current settings
    9132dcdf3bf6 v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails
    76ad884be092 pinctrl: intel: Save and restore pins in "direct IRQ" mode
    41296b85fafa x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3
    33021419fd81 nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()
    2e44dd9a8dd6 tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"
    b60a8ad771fd error-injection: Add prompt for function error injection
    757eb00c4c40 ALSA: dice: fix regression for Lexicon I-ONIX FW810S
    a1a96a6f302c riscv: mm: Proper page permissions after initmem free
    823df3607d8b riscv: vdso: fix section overlapping under some conditions
    6e035d5a2a6b hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()
    7692700ac818 hwmon: (coretemp) Check for null before removing sysfs attrs
    9b5836b9c4b0 net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed
    0dfb9a566327 sctp: fix memory leak in sctp_stream_outq_migrate()
    fcb3e0216156 packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE
    04b995e96322 net: tun: Fix use-after-free in tun_detach()
    43ca0adf79e5 afs: Fix fileserver probe RTT handling
    543d917f691a net: mdiobus: fix unbalanced node reference count
    dca370e575d9 net: hsr: Fix potential use-after-free
    1daec0815655 tipc: re-fetch skb cb after tipc_msg_validate
    16a64dc26545 dsa: lan9303: Correct stat name
    766086ea8ca7 net: wwan: iosm: fix dma_alloc_coherent incompatible pointer type
    c667751a4265 net: wwan: iosm: fix kernel test robot reported error
    9c584d6d9cfb net: ethernet: nixge: fix NULL dereference
    8782b32ef867 net/9p: Fix a potential socket leak in p9_socket_open
    6fc9425bff4b net: net_netdev: Fix error handling in ntb_netdev_init_module()
    3bc893ef36f9 net: ethernet: ti: am65-cpsw: fix error handling in am65_cpsw_nuss_probe()
    7730904f50c7 net: phy: fix null-ptr-deref while probe() failed
    59b54f0563b6 wifi: mac8021: fix possible oob access in ieee80211_get_rate_duration
    dc0853f8b502 wifi: cfg80211: don't allow multi-BSSID in S1G
    88a6fe370788 wifi: cfg80211: fix buffer overflow in elem comparison
    08fff7aaeb7e aquantia: Do not purge addresses when setting the number of rings
    2a7aa52573da qlcnic: fix sleep-in-atomic-context bugs caused by msleep
    7b734d26f037 can: m_can: Add check for devm_clk_get
    ea8dc27bb044 can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods
    b1d2a8e02acc can: etas_es58x: es58x_init_netdev(): free netdev when register_candev()
    e53da04e37e4 can: cc770: cc770_isa_probe(): add missing free_cc770dev()
    d452a71995cb can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()
    372eb550faa0 net/mlx5e: Fix use-after-free when reverting termination table
    839eeab03c83 net/mlx5: Fix uninitialized variable bug in outlen_write()
    34feea3bfb37 net/mlx5: DR, Fix uninitialized var warning
    3485ef2aabeb net/mlx5: DR, Rename list field in matcher struct to list_node
    9fc27d22cdb9 e100: Fix possible use after free in e100_xmit_prepare
    0d9f5bd54b91 iavf: Fix error handling in iavf_init_module()
    b0b2b9050c17 iavf: remove redundant ret variable
    69501d820508 fm10k: Fix error handling in fm10k_init_module()
    5e3657dede36 i40e: Fix error handling in i40e_init_module()
    7109e9410992 ixgbevf: Fix resource leak in ixgbevf_init_module()
    196ea810e21c of: property: decrement node refcount in of_fwnode_get_reference_args()
    36164db278a8 nvmem: rmem: Fix return value check in rmem_read()
    e3761831674a bpf: Do not copy spin lock field from user in bpf_selem_alloc
    45f6e8186374 hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails
    a90251376c3e hwmon: (i5500_temp) fix missing pci_disable_device()
    eeb31b828daf hwmon: (ina3221) Fix shunt sum critical calculation
    9514b95cac51 hwmon: (ltc2947) fix temperature scaling
    0140e079a420 libbpf: Handle size overflow for ringbuf mmap
    06d5790e7df5 ARM: at91: rm9200: fix usb device clock id
    d074f173fbd1 scripts/faddr2line: Fix regression in name resolution on ppc64le
    ee3d37d79610 bpf, perf: Use subprog name when reporting subprog ksymbol
    ec02fc0a4101 iio: light: rpr0521: add missing Kconfig dependencies
    f7419fc42afc iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw
    e7e76a77aabe iio: health: afe4403: Fix oob read in afe4403_read_raw
    ebdca90efbb5 drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read"
    c365d3c3e512 drm/amdgpu: update drm_display_info correctly when the edid is read
    df5346466e51 drm/display/dp_mst: Fix drm_dp_mst_add_affected_dsc_crtcs() return code
    044da1a371a0 btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit()
    da86809ab822 btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker
    5d66eadc1cc3 spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock
    6b4544a13179 btrfs: free btrfs_path before copying inodes to userspace
    c7ae3becee72 btrfs: sink iterator parameter to btrfs_ioctl_logical_to_ino
    acc2f40b980c erofs: fix order >= MAX_ORDER warning due to crafted negative i_size
    ca9f27448af0 drm/i915/gt: Use i915_vm_put on ppgtt_create error paths
    c2f2972889eb drm/i915: Create a dummy object for gen6 ppgtt
    918002bdbe43 arm64: mte: Avoid setting PG_mte_tagged if no tags cleared or restored
    e4a7232c917c Linux 5.15.81
    5c5c563a0817 cifs: fix missed refcounting of ipc tcon
    ee2d04f23bbb drm/i915: fix TLB invalidation for Gen12 video and compute engines
    bef834845d89 drm/amdgpu: always register an MMU notifier for userptr
    7901de7aa833 drm/amdgpu: Enable Aldebaran devices to report CU Occupancy
    e7bf1fe53817 drm/amd/display: No display after resume from WB/CB
    5033cba00c71 drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN
    b8dc24590923 btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()
    914baca57af7 btrfs: use kvcalloc in btrfs_get_dev_zone_info
    c1e6d4bfdee3 btrfs: zoned: fix missing endianness conversion in sb_write_pointer
    d88bf6be02de btrfs: free btrfs_path before copying subvol info to userspace
    f218b404fc0e btrfs: free btrfs_path before copying fspath to userspace
    fea9397101c1 btrfs: free btrfs_path before copying root refs to userspace
    7d0c25b5fe54 genirq: Take the proposed affinity at face value if force==true
    f17657cce069 irqchip/gic-v3: Always trust the managed affinity provided by the core code
    52a93f2dcf6c genirq: Always limit the affinity to online CPUs
    599cf4b84526 genirq/msi: Shutdown managed interrupts with unsatifiable affinities
    7aed1dd5d221 wifi: wilc1000: validate number of channels
    e9de501cf70d wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_CHANNEL_LIST attribute
    143232cb5a4c wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_OPER_CHANNEL attribute
    cd9c4869710b wifi: wilc1000: validate pairwise and authentication suite offsets
    f2fb18d429c3 fuse: lock inode unconditionally in fuse_fallocate()
    bb1c33bdf409 dm integrity: clear the journal on suspend
    20ad31b09e98 dm integrity: flush the journal on suspend
    5ca2110ba5e3 gpu: host1x: Avoid trying to use GART on Tegra20
    97f47617e813 scsi: iscsi: Fix possible memory leak when device_register() failed
    56ab7f237e7e net: usb: qmi_wwan: add Telit 0x103a composition
    e2e33f213dea tcp: configurable source port perturb table size
    269928e5c7bb platform/x86: ideapad-laptop: Fix interrupt storm on fn-lock toggle on some Yoga laptops
    17d995dc69c8 platform/x86: hp-wmi: Ignore Smart Experience App event
    e85bdc78720c zonefs: fix zone report size in __zonefs_io_error()
    982fcd83fb16 drm/amdgpu: disable BACO support on more cards
    ea11f8197dad platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)
    09af15e69196 platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()
    ba040bea9deb xen/platform-pci: add missing free_irq() in error path
    6815b2087d23 xen-pciback: Allow setting PCI_MSIX_FLAGS_MASKALL too
    4c13ddb74f2c ASoC: stm32: dfsdm: manage cb buffers cleanup
    dd82295a23bc Input: i8042 - apply probe defer to more ASUS ZenBook models
    e12e121feb63 Input: soc_button_array - add Acer Switch V 10 to dmi_use_low_level_irq[]
    9f5c167074d3 Input: soc_button_array - add use_low_level_irq module parameter
    aaef86eac9e2 Input: goodix - try resetting the controller when no config is set
    e2223f5fbbb8 serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios()
    4e208294de45 tools: iio: iio_generic_buffer: Fix read size
    0d0e2545fa92 ASoC: Intel: bytcht_es8316: Add quirk for the Nanote UMPC-01
    e394cf9d7a83 Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode
    96b5d1177752 x86/ioremap: Fix page aligned size calculation in __ioremap_caller()
    d048f7481524 x86/pm: Add enumeration check before spec MSRs save/restore setup
    070e3560bf04 x86/tsx: Add a feature bit for TSX control MSR support
    1430c98ebbe7 KVM: x86: remove exit_int_info warning in svm_handle_exit
    27550a5930bb KVM: x86: add kvm_leave_nested
    3e87cb0caa25 KVM: x86: nSVM: harden svm_free_nested against freeing vmcb02 while still in use
    6425c590d0cc KVM: x86: forcibly leave nested mode on vCPU reset
    f42ebf972a9f KVM: x86: nSVM: leave nested mode on vCPU free
    7b3c9405b272 mm: vmscan: fix extreme overreclaim and swap floods
    feb2eda5e11f gcov: clang: fix the buffer overflow issue
    ea6aa25c9ac0 nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirty
    9d97a9fbfc11 usb: dwc3: gadget: Clear ep descriptor last
    02632ea4dfaa usb: dwc3: gadget: Return -ESHUTDOWN on ep disable
    765ca3e63f37 usb: dwc3: gadget: conditionally remove requests
    7945cbf8666a bus: ixp4xx: Don't touch bit 7 on IXP42x
    39c039018a2c iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails
    0791a5ddbac2 iio: light: apds9960: fix wrong register for gesture gain
    f0158b9bfcc2 arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency
    277d19ec283d ext4: fix use-after-free in ext4_ext_shift_extents
    c9d133100bce usb: cdnsp: fix issue with ZLP - added TD_SIZE = 1
    c2ad434cd4b2 usb: cdnsp: Fix issue with Clear Feature Halt Endpoint
    1d91c648874e usb: dwc3: exynos: Fix remove() function
    0a216625c3ab KVM: arm64: pkvm: Fixup boot mode to reflect that the kernel resumes from EL1
    f0044a4a31c9 mmc: sdhci-brcmstb: Fix SDHCI_RESET_ALL for CQHCI
    8e6940979bb8 mmc: sdhci-brcmstb: Enable Clock Gating to save power
    24b46bfa9661 mmc: sdhci-brcmstb: Re-organize flags
    227543ccacf8 nios2: add FORCE for vmlinuz.gz
    6a4ea16a6734 init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
    c4a9046c2735 lib/vdso: use "grep -E" instead of "egrep"
    5fefdceafb78 s390/crashdump: fix TOD programmable field size
    592b6fd74afd net: thunderx: Fix the ACPI memory leak
    697eb30a3534 octeontx2-af: Fix reference count issue in rvu_sdp_init()
    6ba1687ea102 octeontx2-pf: Add check for devm_kcalloc
    26c31e7c73d4 net: enetc: preserve TX ring priority across reconfiguration
    0e16bbf616cc net: enetc: cache accesses to &priv->si->hw
    68de40f66a5a net: enetc: manage ENETC_F_QBV in priv->active_offloads only when enabled
    5c0858e1426b nfc: st-nci: fix incorrect sizing calculations in EVT_TRANSACTION
    e09243fb160b nfc: st-nci: fix memory leaks in EVT_TRANSACTION
    dca20b7a1959 nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION
    67d638f8efc4 s390/dasd: fix no record found for raw_track_access
    88277853cf8a arcnet: fix potential memory leak in com20020_probe()
    1d44ec8507b7 ipv4: Fix error return code in fib_table_insert()
    918e83c6bfa7 dccp/tcp: Reset saddr on failure after inet6?_hash_connect().
    8ce9b1c97fce fs: do not update freeing inode i_io_list
    8db9e60cdfda netfilter: flowtable_offload: add missing locking
    c1da3bfca111 netfilter: ipset: restore allowing 64 clashing elements in hash:net,iface
    606091b2f6dc dma-buf: fix racing conflict of dma_heap_add()
    8af9450befba bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending()
    251bcf6cfb35 regulator: twl6030: re-add TWL6032_SUBCLASS
    6258a8f91304 NFC: nci: fix memory leak in nci_rx_data_packet()
    ffe6021154ea net: sched: allow act_ct to be built without NF_NAT
    a05c0f9511d0 net: sparx5: fix error handling in sparx5_port_open()
    182ef20f0f1c sfc: fix potential memleak in __ef100_hard_start_xmit()
    2da022fac96d net: wwan: iosm: use ACPI_FREE() but not kfree() in ipc_pcie_read_bios_cfg()
    a48b345b87f9 xfrm: Fix ignored return value in xfrm6_init()
    19989e163595 xfrm: Fix oops in __xfrm_state_delete()
    46d450067fc0 tipc: check skb_linearize() return value in tipc_disc_rcv()
    33fb115a76ae tipc: add an extra conn_get in tipc_conn_alloc
    4ae907c45fca tipc: set con sock in tipc_conn_alloc
    ef866d9ea922 net/mlx5: Fix handling of entry refcount when command is not issued to FW
    3101318939f5 net/mlx5: Fix FW tracer timestamp calculation
    1eaabb5bbbb6 net/mlx5: Do not query pci info while pci disabled
    8180099b2aea netfilter: ipset: regression in ip_set_hash_ip.c
    448b6273706c Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register()
    082c31cb99d8 Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_work()
    7fdd9daa5b12 macsec: Fix invalid error code set
    e8fb93a0792c nfp: add port from netdev validation for EEPROM access
    e44e424ed95f nfp: fill splittable of devlink_port_attrs correctly
    527046c13815 net: pch_gbe: fix pci device refcount leak while module exiting
    f77c84dd5b28 octeontx2-af: debugsfs: fix pci device refcount leak
    cd581ffd8dda net/qla3xxx: fix potential memleak in ql3xxx_send()
    a8976074e2cb net: mvpp2: fix possible invalid pointer dereference
    3a4cc56cd17d net/mlx4: Check retval of mlx4_bitmap_init
    c368220e1780 net: ethernet: mtk_eth_soc: fix error handling in mtk_open()
    d9729437b28f ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties
    1c0b6a97c478 ARM: mxs: fix memory leak in mxs_machine_init()
    ecff08f3c469 iavf: Fix race condition between iavf_shutdown and iavf_remove
    31147d4e907c iavf: Do not restart Tx queues after reset task failure
    232942b26c54 iavf: Fix a crash during reset task
    0600615d010f netfilter: nf_tables: do not set up extensions for end interval
    60387731e69f netfilter: conntrack: Fix data-races around ct mark
    ee3ccd1abbe1 9p/fd: fix issue of list_del corruption in p9_fd_cancel()
    131c2eeabc72 net: pch_gbe: fix potential memleak in pch_gbe_tx_queue()
    f58df483ff37 nfc/nci: fix race with opening and closing
    da22d7410afd net: dsa: sja1105: disallow C45 transactions on the BASE-TX MDIO bus
    38fe0988bd51 rxrpc: Fix race between conn bundle lookup and bundle removal [ZDI-CAN-15975]
    d92151b4659b rxrpc: Use refcount_t rather than atomic_t
    3c33e41fa5b3 rxrpc: Allow list of in-use local UDP endpoints to be viewed in /proc
    46cefa268958 net: liquidio: simplify if expression
    95500ee0b3bd selftests: mptcp: fix mibit vs mbit mix up
    f8c4da198eed selftests: mptcp: more stable simult_flows tests
    1c0efab08c9b ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrl
    ade662f3f242 tee: optee: fix possible memory leak in optee_register_device()
    d1dd119134ba bus: sunxi-rsb: Support atomic transfers
    b1ed61e7066b bus: sunxi-rsb: Remove the shutdown callback
    61a41d1abc7c regulator: core: fix UAF in destroy_regulator()
    a85c0db3f5ad spi: dw-dma: decrease reference count in dw_spi_dma_init_mfld()
    d9f9b3255b97 regulator: core: fix kobject release warning and memory leak in regulator_register()
    bd419c7c68bd ASoC: max98373: Add checks for devm_kcalloc
    f9bc4a18e7d5 scsi: storvsc: Fix handling of srb_status and capacity change events
    c2153fe2d0c6 x86/hyperv: Restore VP assist page after cpu offlining/onlining
    b2ddd7623712 ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open()
    dd62cb7e6fd4 ASoC: sgtl5000: Reset the CHIP_CLK_CTRL reg on remove
    d80ffd4823b6 ASoC: hdac_hda: fix hda pcm buffer overflow issue
    10bee7eb2a2f ARM: dts: am335x-pcm-953: Define fixed regulators in root node
    8fe533c0f909 af_key: Fix send_acquire race with pfkey_register
    0c69a4658e94 xfrm: replay: Fix ESN wrap around for GSO
    ecc6ce4fdf0d xfrm: fix "disable_policy" on ipv4 early demux
    5a792c1d4d77 MIPS: pic32: treat port as signed integer
    144452b42143 RISC-V: vdso: Do not add missing symbols to version section in linker script
    799970b8cc45 ALSA: usb-audio: add quirk to fix Hamedal C20 disconnect issue
    38b09dc14f7c Revert "drm/amdgpu: Revert "drm/amdgpu: getting fan speed pwm for vega10 properly""
    44d50fccf889 nvmet: fix memory leak in nvmet_subsys_attr_model_store_locked
    5adc12d9e2b5 arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
    1340f02773ae block, bfq: fix null pointer dereference in bfq_bio_bfqg()
    86d4dca4a6ae drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017)
    b90e6234f57e scsi: scsi_debug: Make the READ CAPACITY response compliant with ZBC
    cdbba6a4de39 scsi: ibmvfc: Avoid path failures during live migration
    6e8124a151bd platform/x86/intel/hid: Add some ACPI device IDs
    32735e24f47a platform/x86/intel/pmt: Sapphire Rapids PMT errata fix
    83a6823016f2 platform/x86: touchscreen_dmi: Add info for the RCA Cambio W101 v2 2-in-1
    f707986a1414 platform/x86: ideapad-laptop: Disable touchpad_switch
    5e38740ae545 Revert "net: macsec: report real_dev features when HW offloading is enabled"
    26b72202ee26 selftests/bpf: Add verifier test for release_reference()
    8395e3f98c4a spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run
    d04722f2809c wifi: ath11k: Fix QCN9074 firmware boot on x86
    9cc96a20a92a wifi: mac80211: Fix ack frame idr leak when mesh has no route
    86f90014e767 wifi: airo: do not assign -1 to unsigned char
    f5558fbda022 audit: fix undefined behavior in bit shift for AUDIT_BIT
    af5de982ffc9 riscv: dts: sifive unleashed: Add PWM controlled LEDs
    ee34a19dbe2a wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support
    3513785dc13f wifi: mac80211: fix memory free error when registering wiphy fail
    855485d31e2a ceph: fix NULL pointer dereference for req->r_session
    729c9ad2940e ceph: Use kcalloc for allocating multiple elements
    d276fb4a7eb8 binder: validate alloc->mm in ->mmap() handler
    5277e3d633a5 x86/sgx: Add overflow check in sgx_validate_offset_length()
    b5a838ba47f2 x86/sgx: Create utility to validate user provided offset and length
    2f6e2de3a528 ceph: avoid putting the realm twice when decoding snaps fails
    8bef55d7934d ceph: do not update snapshot context when there is no new snapshot
    cdee3136c966 iio: pressure: ms5611: fixed value compensation bug
    5d6696e79d94 iio: ms5611: Simplify IO callback parameters
    f0ee88e83ce9 nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV7000
    a61716cd2401 nvme-pci: disable write zeroes on various Kingston SSD
    19b60f336317 nvme-pci: disable namespace identifiers for the MAXIO MAP1001
    d537e1930640 nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitro
    af03ce894c9c nvme: add a bogus subsystem NQN quirk for Micron MTFDKBA2T0TFH
    c6803faa6a6d drm/display: Don't assume dual mode adaptors support i2c sub-addressing
    d2284fe43c63 ata: libata-core: do not issue non-internal commands once EH is pending
    e09583e83e4a ata: libata-scsi: simplify __ata_scsi_queuecmd()
    a9059e338fc0 cifs: Fix connections leak when tlink setup failed
    81d583baa5f1 cifs: support nested dfs links over reconnect
    dbc0ea91be28 cifs: split out dfs code from cifs_reconnect()
    b3ce844d234f cifs: introduce new helper for cifs_reconnect()
    2ea600b598dd sctp: clear out_curr if all frag chunks of current msg are pruned
    1f9f346fbb78 sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent
    e8915faa9f41 tty: serial: fsl_lpuart: don't break the on-going transfer when global reset
    bd19013935af serial: fsl_lpuart: Fill in rs485_supported
    87c81c19cda1 serial: Add rs485_supported to uart_port
    c08f4ea79f7a ASoC: fsl_asrc fsl_esai fsl_sai: allow CONFIG_PM=N
    d1e4288d2a63 ASoC: fsl_sai: use local device pointer
    71e496bd3382 Linux 5.15.80
    b63ddb3ba61e ntfs: check overflow when iterating ATTR_RECORDs
    ab6a1bb17e3c ntfs: fix out-of-bounds read in ntfs_attr_find()
    5330c423b862 ntfs: fix use-after-free in ntfs_attr_find()
    43bbadb7e463 net/9p: use a dedicated spinlock for trans_fd
    9357fca9dad7 mm: fs: initialize fsdata passed to write_begin/write_end interface
    b334ab4c3347 wifi: wext: use flex array destination for memcpy()
    0e07032b4b47 9p/trans_fd: always use O_NONBLOCK read/write
    7c7b7476b56e gfs2: Switch from strlcpy to strscpy
    28275a7c84d2 gfs2: Check sb_bsize_shift after reading superblock
    a4f1a01b2e81 9p: trans_fd/p9_conn_cancel: drop client lock earlier
    f7b0e95071bb kcm: close race conditions on sk_receive_queue
    27d706b0d394 kcm: avoid potential race in kcm_tx_work
    b49026d9c86f tcp: cdg: allow tcp_cdg_release() to be called multiple times
    e41cbf98df22 macvlan: enforce a consistent minimal mtu
    d5f7f6e63fed Input: i8042 - fix leaking of platform device on module removal
    c49cc2c059b5 kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case
    71beab7119d0 scsi: scsi_debug: Fix possible UAF in sdebug_add_host_helper()
    a636772988ba scsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus()
    cb7893c85ea8 net: use struct_group to copy ip/ipv6 header addresses
    9b8c0c88f414 tracing: Fix warning on variable 'struct trace_array'
    73cf0ff9a393 ring-buffer: Include dropped pages in counting dirty patches
    35c60b4e8ca7 perf: Improve missing SIGTRAP checking
    2ac6276864de serial: 8250_lpss: Use 16B DMA burst with Elkhart Lake
    b1a27b2aad93 nvme: ensure subsystem reset is single threaded
    bccece3c3331 nvme: restrict management ioctls to admin
    8cddb0d96b9c perf/x86/intel/pt: Fix sampling using single range output
    8e2f33c59837 misc/vmw_vmci: fix an infoleak in vmci_host_do_receive_datagram()
    9a72a46cb01d docs: update mediator contact information in CoC doc
    a99a547658e5 mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()
    4a1b6f7839d3 mmc: sdhci-pci-o2micro: fix card detect fail issue caused by CD# debounce timeout
    fd285d421563 mmc: core: properly select voltage range without power cycle
    8a9bae5f1b53 firmware: coreboot: Register bus in module init
    052d0e79efe5 iommu/vt-d: Set SRE bit only when hardware has SRS cap
    c31a792a825a iommu/vt-d: Preset Access bit for IOVA in FL non-leaf paging entries
    11edbdee4399 scsi: zfcp: Fix double free of FSF request when qdio send fails
    fdf87b5b3087 net: phy: marvell: add sleep time after enabling the loopback bit
    9648d760edf4 maccess: Fix writing offset in case of fault in strncpy_from_kernel_nofault()
    fdd57c20d440 Input: iforce - invert valid length check when fetching device IDs
    0cafb719bed5 serial: 8250_lpss: Configure DMA also w/o DMA filter
    59f6596697f1 serial: 8250: Flush DMA Rx on RLSI
    118b52c2ae08 serial: 8250: Fall back to non-DMA Rx if IIR_RDI occurs
    6ffce7a92ef5 dm ioctl: fix misbehavior if list_versions races with module loading
    2b104973f7fd iio: pressure: ms5611: changed hardcoded SPI speed to value limited
    1678d4abb2dc iio: adc: mp2629: fix potential array out of bound access
    bd22c232ead9 iio: adc: mp2629: fix wrong comparison of channel
    656f67061366 iio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init()
    1bf8c0aff8fb iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()
    afc0aea70261 usb: typec: mux: Enter safe mode only when pins need to be reconfigured
    8236628a549d usb: cdns3: host: fix endless superspeed hub port reset
    ead83b0db81f usb: chipidea: fix deadlock in ci_otg_del_timer
    cc9e6d8c55c9 usb: add NO_LPM quirk for Realforce 87U Keyboard
    70eca1d261b2 USB: serial: option: add Fibocom FM160 0x0111 composition
    1b6a54885c40 USB: serial: option: add u-blox LARA-L6 modem
    b0467d0059bc USB: serial: option: add u-blox LARA-R6 00B modem
    95688a8a5735 USB: serial: option: remove old LARA-R6 PID
    53dee78ea382 USB: serial: option: add Sierra Wireless EM9191
    e7764e88e6c4 USB: bcma: Make GPIO explicitly optional
    a190a83db284 speakup: fix a segfault caused by switching consoles
    b3c6edbee48e slimbus: stream: correct presence rate frequencies
    6b35ac831555 slimbus: qcom-ngd: Fix build error when CONFIG_SLIM_QCOM_NGD_CTRL=y && CONFIG_QCOM_RPROC_COMMON=m
    0f847462fea1 Revert "usb: dwc3: disable USB core PHY management"
    23ad214a8665 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
    a36b505749c6 ALSA: hda/realtek: fix speakers for Samsung Galaxy Book Pro
    02b94885b2fd ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()
    7176d6f3adb9 drm/amd/display: Add HUBP surface flip interrupt handler
    e57daa750369 tracing: kprobe: Fix potential null-ptr-deref on trace_array in kprobe_event_gen_test_exit()
    3a41c0f2a5c3 tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit()
    7291dec4f2d1 tracing: Fix race where eprobes can be called before the event
    6517b97134f7 tracing: Fix wild-memory-access in register_synth_event()
    07ba4f0603ab tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event()
    8b318f3032bf tracing/ring-buffer: Have polling block on watermark
    2c21ee020ce4 tracing: Fix memory leak in tracing_read_pipe()
    00f74b1a98a2 ring_buffer: Do not deactivate non-existant pages
    1bea037a1abb ftrace: Fix null pointer dereference in ftrace_add_mod()
    fadfcf39fbcd ftrace: Optimize the allocation for mcount entries
    5c5f2642898f ftrace: Fix the possible incorrect kernel message
    2ab249416244 cifs: add check for returning value of SMB2_set_info_init
    5783abda58d6 net: thunderbolt: Fix error handling in tbnet_init()
    80e590aeb132 net: microchip: sparx5: Fix potential null-ptr-deref in sparx_stats_init() and sparx5_start()
    4a55aec1425f cifs: Fix wrong return value checking when GETFLAGS
    c8baf1fc248b net/x25: Fix skb leak in x25_lapb_receive_frame()
    af4b57fa6bd0 net: ag71xx: call phylink_disconnect_phy if ag71xx_hw_enable() fail in ag71xx_open()
    61404a182eb5 cifs: add check for returning value of SMB2_close_init
    d3233f4bf3dd platform/surface: aggregator: Do not check for repeated unsequenced packets
    69691714035b platform/x86/intel: pmc: Don't unconditionally attach Intel PMC when virtualized
    7d93417d5964 drbd: use after free in drbd_create_device()
    fc16a2c81a3e bridge: switchdev: Fix memory leaks when changing VLAN protocol
    3d90a668c4bc net: hns3: fix setting incorrect phy link ksettings for firmware in resetting process
    3f7b2ef8fe92 net: ena: Fix error handling in ena_init()
    2540eea1bdc3 net: ionic: Fix error handling in ionic_init_module()
    c08c13cb13fa xen/pcpu: fix possible memory leak in register_pcpu()
    97009f07f217 net: dsa: make dsa_master_ioctl() see through port_hwtstamp_get() shims
    88da008e5e2f net: mhi: Fix memory leak in mhi_net_dellink()
    8f839715d032 bnxt_en: Remove debugfs when pci_register_driver failed
    b88713d92bd3 net: caif: fix double disconnect client in chnl_net_open()
    6d2403416089 net: macvlan: Use built-in RCU list checking
    596230471da3 mISDN: fix misuse of put_device() in mISDN_register_device()
    07a6a8cf1712 net: liquidio: release resources when liquidio driver open failed
    19feb6cf4136 soc: imx8m: Enable OCOTP clock before reading the register
    8c54d706d829 net: stmmac: ensure tx function is not running in stmmac_xdp_release()
    6219f46c2b9d net: hinic: Fix error handling in hinic_module_init()
    7a05e3929668 mISDN: fix possible memory leak in mISDN_dsp_element_register()
    0ee6455c9cfa net: bgmac: Drop free_netdev() from bgmac_enet_remove()
    7ff4fa179e4e bpf: Initialize same number of free nodes for each pcpu_freelist
    12f178cf05f3 MIPS: Loongson64: Add WARN_ON on kexec related kmalloc failed
    a4d6e024bea2 MIPS: fix duplicate definitions for exported symbols
    44142b652a28 nfp: change eeprom length to max length enumerators
    f23058dc2398 ata: libata-transport: fix error handling in ata_tdev_add()
    67b219314628 ata: libata-transport: fix error handling in ata_tlink_add()
    e7bb1b7a7bf2 ata: libata-transport: fix error handling in ata_tport_add()
    377ff82c33c0 ata: libata-transport: fix double ata_host_put() in ata_tport_add()
    494df0b0efe8 arm64: dts: imx8mn: Fix NAND controller size-cells
    7178d568f7cc arm64: dts: imx8mm: Fix NAND controller size-cells
    8ccf18c82a0a ARM: dts: imx7: Fix NAND controller size-cells
    e884a6c2d49a drm: Fix potential null-ptr-deref in drm_vblank_destroy_worker()
    07e56de8766f drm/drv: Fix potential memory leak in drm_dev_init()
    45c300613bee drm/panel: simple: set bpc field for logic technologies displays
    779f3f9e0cdc drm/vc4: kms: Fix IS_ERR() vs NULL check for vc4_kms
    97e5b508e961 pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map
    9a77b8557fdb parport_pc: Avoid FIFO port location truncation
    5d03c2911c52 siox: fix possible memory leak in siox_device_add()
    530e987a0226 arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro
    d4944497827a bpf: Fix memory leaks in __check_func_call
    25521fd2e217 block: sed-opal: kmalloc the cmd/resp buffers
    2f21d653c648 scsi: scsi_transport_sas: Fix error handling in sas_phy_add()
    7cd28bc410d2 pinctrl: rockchip: list all pins in a possible mux route for PX30
    ab79b8dbe21e ASoC: soc-utils: Remove __exit for snd_soc_util_exit()
    eaa8edd86514 bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()
    33cabe04d2c8 tty: n_gsm: fix sleep-in-atomic-context bug in gsm_control_send
    ae22294e213a serial: imx: Add missing .thaw_noirq hook
    26db1cd5191e serial: 8250: omap: Flush PM QOS work on remove
    e0db709a58bd serial: 8250: omap: Fix unpaired pm_runtime_put_sync() in omap8250_remove()
    83b6d4d6da67 serial: 8250_omap: remove wait loop from Errata i202 workaround
    76db05ab7092 serial: 8250: omap: Fix missing PM runtime calls for omap8250_set_mctrl()
    2aee616a6b11 ARM: at91: pm: avoid soft resetting AC DLL
    188546c78006 ASoC: tas2764: Fix set_tdm_slot in case of single slot
    5782896daf65 ASoC: tas2770: Fix set_tdm_slot in case of single slot
    34eee4189bce ASoC: core: Fix use-after-free in snd_soc_exit()
    aa6f8aecbbf2 ARM: dts: at91: sama7g5: fix signal name of pin PB2
    487fff700f5f spi: stm32: Print summary 'callbacks suppressed' message
    2cec2f65c1e7 arm64: dts: qcom: sm8350-hdk: Specify which LDO modes are allowed
    44dbe66bb3ea arm64: dts: qcom: sm8250-xperia-edo: Specify which LDO modes are allowed
    8b2eae7def2b arm64: dts: qcom: sm8150-xperia-kumano: Specify which LDO modes are allowed
    c8e76eeea77c arm64: dts: qcom: sa8155p-adp: Specify which LDO modes are allowed
    30571f28bb35 hugetlbfs: don't delete error page from pagecache
    14ddbb83c342 KVM: x86/pmu: Do not speculatively query Intel GP PMCs that don't exist yet
    a9b964ed7cf9 spi: intel: Use correct mask for flash and protected regions
    f4eb68642ed3 mtd: spi-nor: intel-spi: Disable write protection only if asked
    156d0c823c59 ASoC: codecs: jz4725b: Fix spelling mistake "Sourc" -> "Source", "Routee" -> "Route"
    5907ff9f2c8f x86/cpu: Add several Intel server CPU model numbers
    41e37d04e397 Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm
    b02a025dd188 btrfs: remove pointless and double ulist frees in error paths of qgroup tests
    1c366c206ff2 drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid
    1c8ded1b3879 i2c: i801: add lis3lv02d's I2C address for Vostro 5568
    b432581f19a0 i2c: tegra: Allocate DMA memory for DMA engine
    7b0ae4c7b918 firmware: arm_scmi: Cleanup the core driver removal callback
    1a8a2fef273d ACPI: x86: Add another system to quirk list for forcing StorageD3Enable
    8a03a4a5cf6d NFSv4: Retry LOCK on OLD_STATEID during delegation return
    49ca2227c47b btrfs: raid56: properly handle the error when unable to find the missing stripe
    0f7bd3a2dfe1 RDMA/efa: Add EFA 0xefa2 PCI ID
    a42d4363e78f ACPI: scan: Add LATT2021 to acpi_ignore_dep_ids[]
    004decd41b32 drm/amd/display: Remove wrong pipe control lock
    7779efbb99bf ASoC: rt1308-sdw: add the default value of some registers
    ef1e4ed85814 selftests/intel_pstate: fix build for ARCH=x86_64
    dfd3cc1ef3e2 selftests/futex: fix build for clang
    648467236c12 ASoC: Intel: sof_sdw: add quirk variant for LAPBC710 NUC15
    64ee750c29da ASoC: codecs: jz4725b: fix capture selector naming
    150b74cd0625 ASoC: codecs: jz4725b: use right control for Capture Volume
    5352d8b31572 ASoC: codecs: jz4725b: fix reported volume for Master ctl
    85134577a7f2 ASoC: codecs: jz4725b: add missed Line In power control bit
    5e61dffb16dc spi: intel: Fix the offset to get the 64K erase opcode
    c697cb2e6663 ASoC: wm8962: Add an event handler for TEMP_HP and TEMP_SPK
    569085124d75 ASoC: rt1019: Fix the TDM settings
    4160a515c75b ASoC: mt6660: Keep the pm_runtime enables before component stuff in mt6660_i2c_probe
    2963ec4535a1 ASoC: wm8997: Revert "ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe"
    30a2f9479c21 ASoC: wm5110: Revert "ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe"
    3bf6da38a292 ASoC: wm5102: Revert "ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe"
    94fa250ea55c mm: shmem: don't truncate page if memory failure happens
    003fa195911d mm: hwpoison: handle non-anonymous THP correctly
    a62b1bc603a1 mm: hwpoison: refactor refcount check handling
    3df0eeae4d9a Linux 5.15.79
    599b24eedf2a x86/cpu: Restore AMD's DE_CFG MSR after resume
    9132fa043f96 net: tun: call napi_schedule_prep() to ensure we own a napi
    1dea25e25acd drm/amdkfd: Migrate in CPU page fault use current mm
    a1c303fbd4dd marvell: octeontx2: build error: unknown type name 'u64'
    d948b228343a dmaengine: at_hdmac: Check return code of dma_async_device_register
    c556ecf32a07 dmaengine: at_hdmac: Fix impossible condition
    8a941ff34e53 dmaengine: at_hdmac: Don't allow CPU to reorder channel enable
    53831f7a13c3 dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors
    14f5462e4a00 dmaengine: at_hdmac: Fix descriptor handling when issuing it to hardware
    5482403228be dmaengine: at_hdmac: Fix concurrency over the active list
    82ca19414faa dmaengine: at_hdmac: Free the memset buf without holding the chan lock
    8fd36e069d65 dmaengine: at_hdmac: Fix concurrency over descriptor
    1ee012d452b1 dmaengine: at_hdmac: Fix concurrency problems by removing atc_complete_all()
    90c1b07406f0 dmaengine: at_hdmac: Protect atchan->status with the channel lock
    b5ee1fe06ad7 dmaengine: at_hdmac: Do not call the complete callback on device_terminate_all
    9bbf5df0fc8c dmaengine: at_hdmac: Fix premature completion of desc in issue_pending
    f7d1aaa90319 dmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending
    e9777b4efcce dmaengine: at_hdmac: Don't start transactions at tx_submit level
    4e28674a0ecd dmaengine: at_hdmac: Fix at_lli struct definition
    49eba53137f5 cert host tools: Stop complaining about deprecated OpenSSL functions
    69e86c6268d5 can: j1939: j1939_send_one(): fix missing CAN header initialization
    81fc8f90b885 mm/shmem: use page_mapping() to detect page cache for uffd continue
    e91451af11f9 mm/memremap.c: map FS_DAX device memory as decrypted
    48998c1773a4 mm/damon/dbgfs: check if rm_contexts input is for a real context
    c736ed854160 udf: Fix a slab-out-of-bounds write bug in udf_find_entry()
    2e87eddf5736 mms: sdhci-esdhc-imx: Fix SDHCI_RESET_ALL for CQHCI
    91c38504e589 btrfs: zoned: initialize device's zone info for seeding
    432c30ba3f56 btrfs: selftests: fix wrong error check in btrfs_free_dummy_root()
    c9fe4719c662 btrfs: fix match incorrectly in dev_args_match_device
    f96fd3693631 wifi: ath11k: avoid deadlock during regulatory update in ath11k_regd_update()
    8e2b576caf91 platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi
    cb3ab0e1e074 drm/amdgpu: disable BACO on special BEIGE_GOBY card
    dc066a78500a drm/i915/dmabuf: fix sg_table handling in map_dma_buf
    afbd1188382a nilfs2: fix use-after-free bug of ns_writer on remount
    abc082aac0d9 nilfs2: fix deadlock in nilfs_count_free_blocks()
    589da2288197 ata: libata-scsi: fix SYNCHRONIZE CACHE (16) command failure
    51ae4579a5d5 vmlinux.lds.h: Fix placement of '.data..decrypted' section
    1f8e08ab3269 ALSA: usb-audio: Add DSD support for Accuphase DAC-60
    c2451f62b2bd ALSA: usb-audio: Add quirk entry for M-Audio Micro
    031d1480a0f4 ALSA: usb-audio: Yet more regression for for the delayed card registration
    574f51e4aa40 ALSA: hda/realtek: Add Positivo C6300 model quirk
    7140d7aaf93d ALSA: hda: fix potential memleak in 'add_widget_node'
    f6d7a487aabd ALSA: hda/ca0132: add quirk for EVGA Z390 DARK
    1ccd55b3901b ALSA: hda/hdmi - enable runtime pm for more AMD display audio
    29100c674208 mmc: sdhci-esdhc-imx: use the correct host caps for MMC_CAP_8_BIT_DATA
    3dce99e2eb06 mmc: sdhci-tegra: Fix SDHCI_RESET_ALL for CQHCI
    9d6bd33e6aeb mmc: sdhci_am654: Fix SDHCI_RESET_ALL for CQHCI
    ad01f16ca90c mmc: sdhci-of-arasan: Fix SDHCI_RESET_ALL for CQHCI
    1aa78c1d013c mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI
    c198524a99cb MIPS: jump_label: Fix compat branch range check
    9713ceffa40a arm64: efi: Fix handling of misaligned runtime regions and drop warning
    518e49f0590d riscv: fix reserved memory setup
    d07c3d7491b4 riscv: vdso: fix build with llvm
    cc36c7fa5d93 riscv: process: fix kernel info leakage
    a8d67367ab33 net: macvlan: fix memory leaks of macvlan_common_newlink
    7b194dd32b13 ethernet: tundra: free irq when alloc ring failed in tsi108_open()
    7de10342fe14 net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open()
    88e1dd2d9291 ethernet: s2io: disable napi when start nic failed in s2io_card_up()
    3652f1f8d3ea net: atlantic: macsec: clear encryption keys from the stack
    fca3b0a1fd3e net: phy: mscc: macsec: clear encryption keys when freeing a flow
    60a0af8813fd stmmac: dwmac-loongson: fix missing of_node_put() while module exiting
    ee4a9bd2c7f4 stmmac: dwmac-loongson: fix missing pci_disable_device() in loongson_dwmac_probe()
    4a8770eebc39 stmmac: dwmac-loongson: fix missing pci_disable_msi() while module exiting
    83196d8dc5a8 cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open()
    49d8a6e24a34 mctp: Fix an error handling path in mctp_init()
    29961d2332a5 stmmac: intel: Update PCH PTP clock rate from 200MHz to 204.8MHz
    8604bebc5c32 stmmac: intel: Enable 2.5Gbps for Intel AlderLake-S
    7dec6dae2b61 net: cxgb3_main: disable napi when bind qsets failed in cxgb_up()
    960f9d30def3 net: cpsw: disable napi in cpsw_ndo_open()
    1360778fdb6f net/mlx5e: E-Switch, Fix comparing termination table instance
    f13e9ebd2925 net/mlx5: Allow async trigger completion execution on single CPU systems
    48b73b46a5b0 net/mlx5: Bridge, verify LAG state when adding bond to bridge
    13b1ea861e8a net: wwan: iosm: fix memory leak in ipc_pcie_read_bios_cfg
    7e4dcacb4dd6 net: nixge: disable napi when enable interrupts failed in nixge_open()
    409731df6310 net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
    77ff31cba9a6 netfilter: Cleanup nft_net->module_list from nf_tables_exit_net()
    e62cb1c093d6 netfilter: nfnetlink: fix potential dead lock in nfnetlink_rcv_msg()
    0bd20318da08 perf tools: Add the include/perf/ directory to .gitignore
    a733671e388c perf stat: Fix printing os->prefix in CSV metrics output
    c36e9e2c4aff drivers: net: xgene: disable napi when register irq failed in xgene_enet_open()
    4689bd3a1b23 net: lapbether: fix issue of invalid opcode in lapbeth_open()
    1dd27541aa2b dmaengine: ti: k3-udma-glue: fix memory leak when register device fail
    992e966caf57 dmaengine: mv_xor_v2: Fix a resource leak in mv_xor_v2_remove()
    9766af75ba5a dmaengine: pxa_dma: use platform_get_irq_optional
    301caa06091a tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_header
    6a264203dbdb net: broadcom: Fix BCMGENET Kconfig
    e7871b9a21ae net: stmmac: dwmac-meson8b: fix meson8b_devm_clk_prepare_enable()
    261178a1c262 can: af_can: fix NULL pointer dereference in can_rx_register()
    2acb2779b147 ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network
    13ecaa6832fb tcp: prohibit TCP_REPAIR_OPTIONS if data was already sent
    bc79cb9fb006 drm/vc4: Fix missing platform_unregister_drivers() call in vc4_drm_register()
    2845bc9070ce net: wwan: mhi: fix memory leak in mhi_mbim_dellink
    2ce2348c2858 net: wwan: iosm: fix memory leak in ipc_wwan_dellink
    7b6bc50f65e9 hamradio: fix issue of dev reference count leakage in bpq_device_event()
    f59adebb8c28 net: lapbether: fix issue of dev reference count leakage in lapbeth_device_event()
    119407dc329a KVM: s390: pv: don't allow userspace to set the clock under PV
    500bcd3a99ea phy: ralink: mt7621-pci: add sentinel to quirks table
    151dc8087b56 capabilities: fix undefined behavior in bit shift for CAP_TO_MASK
    435c7ddfd510 net: fman: Unregister ethernet device on removal
    3a504d6d96ea bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer
    ac257c43fa61 bnxt_en: Fix possible crash in bnxt_hwrm_set_coal()
    d7569302a7a5 net: tun: Fix memory leaks of napi_get_frags
    430d1f4964dd octeontx2-pf: NIX TX overwrites SQ_CTX_HW_S[SQ_INT]
    ec0db81883b4 octeontx2-pf: Use hardware register for CQE count
    b89a0d8859ae macsec: clear encryption keys from the stack after setting up offload
    eeba7f07a0cb macsec: fix detection of RXSCs when toggling offloading
    3070a880eb03 macsec: fix secy->n_rx_sc accounting
    e957555a3694 macsec: delete new rxsc when offload fails
    ad25a115f508 net: gso: fix panic on frag_list with mixed head alloc types
    466ce46f251d bpf: Fix wrong reg type conversion in release_reference()
    35d8130f2ad0 bpf: Add helper macro bpf_for_each_reg_in_vstate
    61274498fbf8 bpf, sock_map: Move cancel_work_sync() out of sock lock
    32b5dd03beeb bpf: Fix sockmap calling sleepable function in teardown path
    e9915581899c bpf, sockmap: Fix sk->sk_forward_alloc warn_on in sk_stream_kill_queues
    5ad95d71344b HID: hyperv: fix possible memory leak in mousevsc_probe()
    6dcdd1b68b7f bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE
    2fc902245c82 wifi: mac80211: Set TWT Information Frame Disabled bit as 1
    95adbd2ac8de bpf, sockmap: Fix the sk->sk_forward_alloc warning of sk_stream_kill_queues
    06615967d488 bpf, verifier: Fix memory leak in array reallocation for stack state
    4335a82c4f7b soundwire: qcom: check for outanding writes before doing a read
    ae4dad2e5374 soundwire: qcom: reinit broadcast completion
    38c9fa2cc6bf wifi: cfg80211: fix memory leak in query_regdb_file()
    2c6ba0a7872b wifi: cfg80211: silence a sparse RCU warning
    921738c280ab phy: stm32: fix an error code in probe
    fa722006f762 hwspinlock: qcom: correct MMIO max register for newer SoCs
    3c1bb6187e56 drm/amdkfd: Fix NULL pointer dereference in svm_migrate_to_ram()
    b1f852277171 drm/amdkfd: handle CPU fault on COW mapping
    36770c045aba drm/amdkfd: avoid recursive lock in migrations back to RAM
    93a5de7e8843 fuse: fix readdir cache race
    1920cf94545a thunderbolt: Add DP OUT resource when DP tunnel is discovered
    47dbf2496990 thunderbolt: Tear down existing tunnels when resuming from hibernate

(From OE-Core rev: ee40eebc70d1d09c758eeba2ff6de969fb717a0b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
db69b23034 linux-yocto/5.15: libbpf: Fix build warning on ref_ctr_off
Integrating the following commit(s) to linux-yocto/5.15:

    da5513f30187 libbpf: Fix build warning on ref_ctr_off

(From OE-Core rev: eb75d561256c794baf6c89c1975967343145da87)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
cf19ea4c15 linux-yocto/5.15: fix perf build with clang
Integrating the following commit(s) to linux-yocto/5.15:

    4c5a089621a8 perf python: Account for multiple words in CC

(From OE-Core rev: 1cf78a856beb42a2d68e6c49bfdbc33fea68ebb5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
ca7096f88c linux-yocto: introduce v6.1 reference kernel recipes
6.1 is a LTS kernel, and our next reference kernel. Some new
features like rust support are not directly used, but will
be available to start testing.

(From OE-Core rev: 1a450283c85f7bbadcbbb8973d3c3d15a712abb3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
cb31ddf4d8 linux-yocto/5.15: ltp and squashfs fixes
Integrating the following commit(s) to linux-yocto/5.15:

    1c5699ee85d4 fs: move S_ISGID stripping into the vfs_*() helpers
    838f5d0701d8 fs: add mode_strip_sgid() helper
    d97172683641 squashfs: provide backing_dev_info in order to disable read-ahead

(From OE-Core rev: 474ddb758dd1b327540e48ccfe1500fb4231f30b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
38544c8679 linux-yocto/5.19: fix perf build with clang
Integrating the following commit(s) to linux-yocto/5.19:

    3326dff489c8 tools: Remove some options from CLANG_CROSS_FLAGS
    5b92f7def854 libbpf: Fix build warning on ref_ctr_off
    b7cd8e00afcd perf python: Account for multiple words in CC

(From OE-Core rev: b734bd73763548e3991803c03b8bcc3b4bea6432)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Bruce Ashfield
c997e9849a linux-libc-headers: bump to 6.1
6.1 is a LTS and one of the reference kernels for our next
relase. Making it a logical update point for our libc-headers.

We can drop one of our patche as the gcc-goto.sh is no longer
used, and hence we won't have race conditions like we previously
had.

(From OE-Core rev: cb6d0cac29d3f8eb6d13722ab816c93210762e60)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 14:20:14 +00:00
Alexander Kanavin
719998024f qemu: fix recent reproducibility issues
Not only break when not in a loop is undefined, different
shells do different things when they see it.

(From OE-Core rev: 11c034b427c4d44f4013fa4ddf7c3d1264bab219)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-09 10:07:38 +00:00
Richard Purdie
7f556c6861 bitbake: cooker: Clean up inotify idle handler
We no longer need to abstract the inotify callback handler, remove the
abstraction and simplify/clean up the code.

(Bitbake rev: af4ccab8acc49e91bf7647f209d69f4858618466)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:40:01 +00:00
Richard Purdie
9043034da5 bitbake: cooker: Rework the parsing results submission
The loop submitting the parser results was not efficient on many core systems
as may of the parsers could block for a long time waiting to send the results.
While a result was pending, the code wouldn't parse further jobs.

Change the code to parse further jobs even if the results can't be submitted
and lower the result submission timeout to keep the parsers busy.

(Bitbake rev: 9ece4a2e406509bd89dbce8dac80a02e600b0ecf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:40:01 +00:00
Michael Opdenacker
69abe10566 ref-manual/system-requirements.rst: recommend buildtools for not supported distros
Also minor correction to supported distribution notes

(From yocto-docs rev: df8f862042633594846a93a1b7702fc01bc32ae0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:39:09 +00:00
Michael Opdenacker
79c0942703 migration-1.6.rst: fix redundant reference
Fix sentence containing two references to the same section.

(From yocto-docs rev: 668acf5f11934bda81610bdb1b665bed57d0bee7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:39:09 +00:00
Michael Opdenacker
8b1909aa6f manuals: simplify references to classes
Now that .bbclass is removed from class section titles.
We can now have, for example, :ref:`ref-classes-insane`
instead of :ref:`insane <ref-classes-insane>`.

Then, when necessary, rework paragraphs so that they
have lines of even length, not exceeding 80 characters.

(From yocto-docs rev: e76190e3be78c1e483bec0469f1e437dbf8f3791)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:39:09 +00:00
Michael Opdenacker
ae280972ff ref-manual/classes.rst: remove .bbclass from section titles
This is unnecessary and allows to simplify the references
to such sections, most of which are removing the .bbclass extension
anyway, for example in :ref:`insane <ref-classes-insane>`.

(From yocto-docs rev: 44fbdb909c47553fecb7f9eb37f065a8768bc922)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:39:09 +00:00
Quentin Schulz
51addfc756 docs: migration-guides: migration-4.0: specify variable name change for kernel inclusion in image recipe
Since commit f6d963fa6d ("kernel: make kernel-base recommend
kernel-image, not depend"), present in Kirkstone 4.0, one should
set RRECOMMENDS and not RDEPENDS to avoid including the kernel in the
image, so let's update the documentation to reflect that.

Reported-by: Konstantin Kletschke <konstantin.kletschke@inside-m2m.de>
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 0b19f95307f071861ecc40f000e814f3ecd0342a)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:39:09 +00:00
Quentin Schulz
da0241272c docs: kernel-dev: faq: update tip on how to not include kernel in image
Since commit f6d963fa6d ("kernel: make kernel-base recommend
kernel-image, not depend"), present in Kirkstone 4.0, one should
set RRECOMMENDS and not RDEPENDS to avoid including the kernel in the
image, so let's update the documentation to reflect that.

Reported-by: Konstantin Kletschke <konstantin.kletschke@inside-m2m.de>
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 7806a5d7ee986b92d4b8e438b14c18759e4421e5)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:39:09 +00:00
Michael Opdenacker
0a3e13452a toaster-manual: fix description of introduction video
The video referred to didn't correspond to the latest
Poky releases.

(From yocto-docs rev: 29780dee7b183ebb13571dcab8e20d22bfbfeb4b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:39:09 +00:00
Lee Chee Yang
a6f54e34a1 migration-guides: add release-notes for 4.0.6
(From yocto-docs rev: 5b5c2af6127eabda8eb07645546fa2cdfc462154)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Takayasu Ito <ito@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:39:09 +00:00
Michael Opdenacker
46e3d2aefc migration-guides: fix 4.2 migration note issues
- Eliminate this warning:
  WARNING: Title underline too short.
- Remove a leftover patch file

(From yocto-docs rev: 15f1f9b234ba81177ff5fafdb3d42c002daffa56)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:39:09 +00:00
Alexander Kanavin
eba274f60f tiff: update 4.4.0 -> 4.5.0
Drop all CVE backports.

License-Update: formatting

(From OE-Core rev: 9a255a3b114686b04bf54560c7485552ec3b438c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:08:33 +00:00
Alexander Kanavin
1622172cc6 ncurses: restore version check as it's now again working due to release of 6.4
(From OE-Core rev: e2a7d23f0ad6db8939f9320eb86b6d67f0e52638)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
9178078397 gcr3: limit version check to 3.x versions without odd-even rule
(From OE-Core rev: cab25ecb7a67484bea3915d954fb7e9c469a281d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
9b044671a2 elfutils: do not error out on deprecated declarations
This addresses new curl's deprecation warnings treated as failures.

(From OE-Core rev: 7a12834052fc622eb22eab2dc77fe717a4263ecf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
fdc89cbd3f python3-strict-rfc3339: remove the recipe
It is both unmaintained and not needed by anything in core or meta-oe.

(From OE-Core rev: 7f8ceb0f38eb6795a5e135f5c4b0461d06d733b6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
9a2062a1e3 python3-jsonschema: depend on rfc3339-validator in all cases
This has been the case since
622c7b276e

(From OE-Core rev: 547d646540ebb9a4d3dbb310518e2200a14e6ebc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
fad9846ceb libpcap: upgrade 1.10.1 -> 1.10.2
(From OE-Core rev: 1e7ebdf4e324ec6719c926fd27717f2198db937d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
9b81cc28d2 repo: upgrade 2.29.9 -> 2.31
(From OE-Core rev: 7396d5893fdde7a94a46b9b221650a39343ec54d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
deea09c6b3 libsndfile1: upgrade 1.1.0 -> 1.2.0
(From OE-Core rev: 120a53fc7b38868af9179412b3ce39ea407c9b04)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
665b5315f1 python3-hypothesis: upgrade 6.57.1 -> 6.61.0
(From OE-Core rev: bc8a199c6e23a3f4819e966de8e0a28e861cc631)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
03226824a3 python3-certifi: upgrade 2022.9.24 -> 2022.12.7
(From OE-Core rev: b14c6a933ce2152714186986414e4e6f8ae50fc6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
f65916fa1d nghttp2: upgrade 1.50.0 -> 1.51.0
(From OE-Core rev: bdd2a88cce2201cc58aca74dd638b92808dca3ac)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
b9577ddc11 python3-pycairo: upgrade 1.21.0 -> 1.23.0
(From OE-Core rev: a41af7c8aead2f9f27a47f5e853b471e584b44b8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
a41ac3bffa python3-jsonschema: upgrade 4.17.0 -> 4.17.3
(From OE-Core rev: f01c05c7b0d06817e826dda9ba20a0ea5fd6f508)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
bf7f0e58d7 kexec-tools: upgrade 2.0.25 -> 2.0.26
(From OE-Core rev: a1c41949b8d83e80fd96d73212ca7554053703ac)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
be76c36ec4 bash: upgrade 5.2.9 -> 5.2.15
(From OE-Core rev: 74a0f6408b46b195c3c248bbabb4b2ba5954885f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
7f413c5e5d python3-dtschema: upgrade 2022.11 -> 2022.12
(From OE-Core rev: 152b8602515e56be823c9e2b0d15e8d1cdd3a8f1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
44ec2bc152 gobject-introspection: upgrade 1.72.0 -> 1.74.0
(From OE-Core rev: d9b7a8e631614505662c728609634afe21d22026)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
8723bbd18b kmscube: upgrade to latest revision
(From OE-Core rev: a65eeef9e068c40c9460c6ee4b85cae64c535109)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
bd250d24d3 curl: upgrade 7.86.0 -> 7.87.0
(From OE-Core rev: 99361cda25e5858f5edbcb6a275258670b678ee1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
7b922c3db2 python3-git: upgrade 3.1.29 -> 3.1.30
(From OE-Core rev: 0d045b41961cecee17aa4611e33c7666063c942f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
0571efaa5d python3-lxml: upgrade 4.9.1 -> 4.9.2
(From OE-Core rev: 4fa8d85812ae86c6e2e86fc34909bbbcfa82179b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
8770071d21 ruby: upgrade 3.1.3 -> 3.2.0
(From OE-Core rev: 6b544ba8e80bee83030976a98e47e0a66a216ec9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
5164d87e13 libsolv: upgrade 0.7.22 -> 0.7.23
(From OE-Core rev: 8ba6f843823ec9ac52b46854004e3f9e26575f80)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:48 +00:00
Alexander Kanavin
9d43f8f4dd python3-sphinx: upgrade 5.3.0 -> 6.0.0
License-Update: jquery/underscore are no longer bundled

(From OE-Core rev: baa3d290c16510e10a608ea2689ebf4c14f449a5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
4edaf7b33e python3-mako: upgrade 1.2.3 -> 1.2.4
(From OE-Core rev: 27fad5ae2fff3f982aa30d19e5ad4fb4dbeaec9a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
e13854ad68 diffoscope: upgrade 224 -> 230
(From OE-Core rev: f303922e62f61a91d21f360736d073cbb46c5045)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
c4fbd1a712 python3-gitdb: upgrade 4.0.9 -> 4.0.10
(From OE-Core rev: 9acad520efe76368cf924cfa52c972e7319611b0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
0bc6338e12 libsdl2: upgrade 2.26.0 -> 2.26.1
(From OE-Core rev: 91c35d5311aaed92bc48766da9bdedc9fa5a4044)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
d50b3785e3 python3-setuptools: upgrade 65.5.1 -> 65.6.3
(From OE-Core rev: 211745a9e3c032b364c7b484df698c8266ec03f9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
aca5002ebd python3-cryptography-vectors: upgrade 38.0.3 -> 38.0.4
(From OE-Core rev: fd564d24a4bb43ba1757254408b0909b981e9459)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
8b3d551a1a python3-urllib3: upgrade 1.26.12 -> 1.26.13
(From OE-Core rev: b18552f69a2eb8900981a10ba386dc4f862b29c3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
26b062b25d libtest-fatal-perl: upgrade 0.016 -> 0.017
License-Update: formatting

(From OE-Core rev: 60663d6151e40ad9c6cc453c3138d0b7cec5a48d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
2d6b08eba3 libpsl: upgrade 0.21.1 -> 0.21.2
License-Update: copyright years

(From OE-Core rev: 4b4ade81a82a0a69c737da969db8cb6a7824bd76)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
c75c948c83 vte: upgrade 0.70.1 -> 0.70.2
(From OE-Core rev: 2fc0c2c832cf9b6fa4829fd993ffe7ce8d54405b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
82659cd938 puzzles: upgrade to latest revision
(From OE-Core rev: 9d912d8c69b7e97f74e47d89d7013f741477c59f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
fc21330699 xserver-xorg: upgrade 21.1.4 -> 21.1.6
(From OE-Core rev: 009e8d6a292690a0c355d12be2368a9677c701f5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
2144d70e3e python3-numpy: upgrade 1.23.4 -> 1.24.1
(From OE-Core rev: c28b9e57cae7bcc4e97b021f687051f0ecb7821e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
f582410ffb python3-importlib-metadata: upgrade 5.0.0 -> 5.2.0
(From OE-Core rev: 88d588f367a89f7f087da90689f93d02cd910ced)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
c4a61c4d3c logrotate: upgrade 3.20.1 -> 3.21.0
(From OE-Core rev: c1ff009dd892b05d3fb1ba2eaae6e06a9a36573c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
23dbb69fd4 python3-cryptography: upgrade 38.0.3 -> 38.0.4
(From OE-Core rev: ea799a624b907b9ddcf0d4cf79a1a5af5b97f7b5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
7e65600869 python3-zipp: upgrade 3.10.0 -> 3.11.0
(From OE-Core rev: 51dce3af620352edf287bd18e9aec516a75b9103)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
f502350ea2 python3-subunit: upgrade 1.4.1 -> 1.4.2
(From OE-Core rev: cf7b77186b637195b4882cd2860ca24162fd1348)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
bfb9461342 file: upgrade 5.43 -> 5.44
(From OE-Core rev: 6e93f815e9439ad351c3b9a382accf7b3ba9a6e2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
a34f1117c1 python3-pyrsistent: upgrade 0.19.2 -> 0.19.3
(From OE-Core rev: 01eaee5fd98674a75e907bffa15c1a29e46bf8bd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
1e3f280267 xwayland: upgrade 22.1.5 -> 22.1.7
(From OE-Core rev: c37ec8b2d91605d6eb5228f0a447fb83f111edc3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
eda31c2969 meson: upgrade 0.64.0 -> 1.0.0
(From OE-Core rev: 622ab1b4d490625ebd2193138c70894d3dee1297)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
218fbc41da python3-pycryptodome: upgrade 3.15.0 -> 3.16.0
(From OE-Core rev: a47321783eb63b4fc0f8e26d1ac25398d3a5eaaa)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
03630b5cc9 strace: upgrade 6.0 -> 6.1
(From OE-Core rev: e7b8bba9a88986fed1c4b1e5e5f674dabdbe87cd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
74bd90dbd3 python3-pytz: upgrade 2022.6 -> 2022.7
(From OE-Core rev: d17ba9fd183a2f149cf1d4be12c71be92925e7e1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
0ed2774c49 harfbuzz: upgrade 5.3.1 -> 6.0.0
(From OE-Core rev: a2f24d4a31f9481b2814dfa9cbb4bf9ddffb0da4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
bd40c1c58b linux-firmware: upgrade 20221109 -> 20221214
License-Update: additional files

(From OE-Core rev: 15f3a9f6c4406ddc00f7dc0ca7e1beafe9c71a9f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
5f7f1b0bf5 webkitgtk: upgrade 2.38.2 -> 2.38.3
(From OE-Core rev: 73c6e39caf1b2c1c83e2fad5843ad62de2a7b311)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
9987d04af4 python3-attrs: upgrade 22.1.0 -> 22.2.0
(From OE-Core rev: 8db12c717e289aa3aea6807cc11c0979e85386e6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
d8caae345f python3-setuptools-scm: upgrade 7.0.5 -> 7.1.0
(From OE-Core rev: 5b6e415431e946e96265f29e3284a93c68da1562)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
1604b546a0 piglit: upgrade to latest revision
(From OE-Core rev: a747c85b64bd90aca18dc2d4702a4d6531d18e7f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
a84dbf1481 python3-pycryptodomex: upgrade 3.15.0 -> 3.16.0
(From OE-Core rev: 2b3f39e3bc004c9875dcfcda3291124fb45eea7f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
821312222b libksba: update 1.6.2 -> 1.6.3
(From OE-Core rev: 83f3f21b1b84ab9e7b461ac966691c80f4ed4e97)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
994ff2643e gnupg: update 2.3.8 -> 2.4.0
(From OE-Core rev: 4708a92dd77f4fba213a68e16442d2fe4ab2665d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
bef7fc3b69 xcb-util: update 0.4.0 -> 0.4.1
(From OE-Core rev: 3b645d540f783c5442105d55d0f40cd589a52a39)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
d4ec354595 libva-utils: update 2.16.0 -> 2.17.0
(From OE-Core rev: bcbf7fd313280b5f532cb8f42f664766d41a69b4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
82ed25ab1a gtk+3: update 3.24.35 -> 3.24.36
Drop autotools-specific chunks in opengl.patch.

Drop add-missing-meson.build.patch (.35 tarball issue)
Drop buildpaths.patch (backport)

(From OE-Core rev: cd3cc911ea565a740b377fcc53cab1b754971d8b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
5ef4b23d94 ffmpeg: use nasm patched-in debug-prefix-map option to restore reproducibility
Latest nasm requires this as it otherwise writes full paths into its output.

(From OE-Core rev: e94e714b890734bcc74977c7c9de40eda8463b60)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
4b213e109c nasm: update 2.15.05 -> 2.16.01
adjust 0002-Add-debug-prefix-map-option.patch to account for
f2a6eb4aac
and add a chunk to it that guarantees source paths not leaking into debug sections
that list source filenames.

(From OE-Core rev: 0d7d96fb0b215e56f6dacd4dd44b12bbd7ecdd34)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
06f5a0ffa0 jquery: upgrade 3.6.2 -> 3.6.3
(From OE-Core rev: f1aa1442eed8b6db5f66a3b6e0535e9862aa1227)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alexander Kanavin
8f2f684586 glib-2.0: upgrade 2.74.3 -> 2.74.4
(From OE-Core rev: f9e3169fea23a7300e8cab2862610c776de4ead3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Khem Raj
f544333715 time64: Remove leading whitespace from GLIBC_64BIT_TIME_FLAGS
This avoids adding a spurious space in TARGET_CC_ARCH when
GLIBC_64BIT_TIME_FLAGS is empty

(From OE-Core rev: 5d077129d8e849ce3a79285825231c642e79be70)

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>
2023-01-06 12:03:47 +00:00
Khem Raj
d535e47f31 time64.inc: Add GLIBC_64BIT_TIME_FLAGS on ppc/x86 as well
Make mips expression across all 32bit mips architectures

(From OE-Core rev: 18df5694796bcfee73c3765bc991bcef055466e3)

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>
2023-01-06 12:03:47 +00:00
Khem Raj
3f833254a4 stress-ng: Do not enforce gold linker
This can then be controlled by yocto environment through LDFLAGS if
needed since we support multiple linkers and distro policy may want a
different linker, moreover gold fails on ppc32 to link since its missing

Fixes errors like below on ppc/gold + clang

/usr/lib/clang/15.0.6/lib/linux/libclang_rt.builtins-powerpc.a(mulsc3.c.o): unsupported -mbss-plt code

(From OE-Core rev: 089cc4b036e370bf82973ca6ced038578e4682cf)

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>
2023-01-06 12:03:47 +00:00
Khem Raj
a50bad0c58 rust: Fix build with 64bit time_t
The vendored copy of zlib undefines _FILE_OFFSET_BITS when
_LARGEFILE64_SOURCE is defined and enabling 64bit time_t requires 64bit
off_t ( _FILE_OFFSET_BITS=64 ), therefore remove this from the
zlib module

(From OE-Core rev: 73e56624e815c52308a81852430a8bb050a0fc58)

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>
2023-01-06 12:03:47 +00:00
Ross Burton
de5aac2a0b rm_work: handle non-existant stamps directory
Since 'build/siggen: Rework stamps functions'[1] the stamps directory
for each recipe is only created if there are stamps to be written. Some
recipes - such as package-index - only have nostamp tasks so the stamps
directory is never created, resulting in the rm_work task trying to cd
into a directory that doesn't exist.

Resolve this by simply checking the stamps directory exists before
trying to delete files in it.

[1] bitbake c79ecec580e4c2a141ae483ec0f6448f70593dcf

(From OE-Core rev: 80e9b32a000b25420997068543d3631231eb3ccf)

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>
2023-01-06 12:03:47 +00:00
Ross Burton
eb2a1c7830 python3-pathspec: upgrade 0.10.1 -> 0.10.3
(From OE-Core rev: 86bc9469e2b7c1a42db8d85f3d2dab7c3a34c438)

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>
2023-01-06 12:03:47 +00:00
Ross Burton
c8855fc074 python3-hatchling: upgrade 1.11.1 -> 1.12.1
(From OE-Core rev: 557d5d3c7f1da27b8793148bbeceda39b14fff8f)

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>
2023-01-06 12:03:47 +00:00
Ross Burton
a20f4a73a6 python3-hatch-vcs: upgrade 0.2.0 -> 0.3.0
(From OE-Core rev: 99df6d828bdef57298d43933cbc138b96701bf6f)

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>
2023-01-06 12:03:47 +00:00
Ross Burton
dd61f11621 pango: upgrade 1.50.11 -> 1.50.12
(From OE-Core rev: 35fc61a1dd63a0555b67da899418010d595b545c)

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>
2023-01-06 12:03:47 +00:00
Ross Burton
46834de410 lsof: upgrade 4.96.4 -> 4.96.5
(From OE-Core rev: 4113f9f23a231cdb7cf9072c05ff743c63fdbdac)

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>
2023-01-06 12:03:47 +00:00
Changqing Li
e0f71ff8ab sqlite3: upgrade 3.40.0 -> 3.40.1
(From OE-Core rev: feeb34257bf955d4d9bf26e803a2ea30116ab1b0)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alex Kiernan
0ed2cdc81d default-distrovars: Include "c" in IMAGE_LINGUAS for glibc
glibc 2.35 introduced C.UTF-8, we should include this by default.

(From OE-Core rev: f930da7c41491a5556827dc2ff66f3d3c0e95df8)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Alex Kiernan
7c6183a93f classes: image: Set empty weak default IMAGE_LINGUAS
This is already set in default-distrovars.inc and so this assignment
will almost never succeed. Rather than leaving it to confuse, set an
empty weak default.

(From OE-Core rev: eb402948158659da7de0fbbb1bb403c8dad06e2b)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Quentin Schulz
99b4356b35 cairo: fix CVE patches assigned wrong CVE number
CVE-2019-6461 and CVE-2019-6462 are fixed, but the reporting is
incorrect as the patch for CVE-2019-6461 is actually for CVE-2019-6462
and vice-versa.

This swaps both files and edit the CVE field to report the correct
identifier.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: f12c2a5ac94cb29f473f3c7e335463c7fb6d8a6e)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Marta Rybczynska
f71fe538c8 cve-update-db-native: avoid incomplete updates
The database update has been done on the original file. In case of
network connection issues, temporary outage of the NVD server or
a similar situation, the function could exit with incomplete data
in the database. This patch solves the issue by performing the update
on a copy of the database. It replaces the main one only if the whole
update was successful.

See https://bugzilla.yoctoproject.org/show_bug.cgi?id=14929

Reported-by: Alberto Pianon <alberto@pianon.eu>
(From OE-Core rev: 8efe99214d8b005f0ecac690ce5ba17b31758f92)

Signed-off-by: Marta Rybczynska <marta.rybczynska@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:47 +00:00
Wang Mingyu
22374efbac librepo: upgrade 1.14.5 -> 1.15.1
Changelog:
===========
 Adds API support for waiting on network in an event driven manner (new API function lr_handle_network_wait)
 OpenPGP API extension and fixes (new API functions lr_gpg_*)
 Update license format to "LGPL-2.1-or-later"

(From OE-Core rev: bd22b705366e41ebd5eba4ce31d5654fc631a1f5)

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>
2023-01-06 12:03:47 +00:00
Wang Mingyu
77ca0df232 btrfs-tools: upgrade 6.0.2 -> 6.1
Changelog:
==========
* filesystem df: add json output
* qgroup show: add json output
* new command: 'inspect-internal map-swapfile' to check swapfile and its
  swapfile_offset value used for hibernation
* corrupt-block: fix parsing of option --root argument
* experimental (interfaces not finalized):
   * new command 'inspect-internal list-chunks'
   * new group reflink, command clone
* other:
   * synchronize some files with kernel versions
   * docs updates
   * build: use gnu11

(From OE-Core rev: 73d4b80d04f366a0d908df2e6c46d510b740a905)

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>
2023-01-06 12:03:46 +00:00
Carlos Alberto Lopez Perez
0d2d9677ea mesa-gl: gallium is required when enabling x11
Otherwise Meson will fail wit this error:
  - meson.build:555:6: ERROR: Problem encountered: xlib based GLX requires at least one gallium driver

Related: https://github.com/agherzan/meta-raspberrypi/pull/1119
(From OE-Core rev: e7ee2dd98148e5104c52735a9a43e519dc24abfd)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:46 +00:00
Alexander Kanavin
aab77c7aec valgrind: disable tests that started failing after switching to x86-64-v3 target
(From OE-Core rev: 15f2b1f5295474d05f7af93d3d1009bb547dee35)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:46 +00:00
Alexander Kanavin
ba0326071e qemux86-64: build for x86-64-v3 (2013 Haswell and later) rather than Core 2 from 2006
This allows us to
- test those more recent instruction sets (AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE)
- benefit from improved performance across the stack both in kvm-driven system emulation and when running
on real silicon.
For example, glibc:
https://www.phoronix.com/news/Glibc-strcasecmp-AVX2-EVEX

v4 level is adding AVX-512, which is far less established, particularly Intel has famously backtracked
from supporting it in Alder Lake/Raport Lake client CPUs and AMD has only implemented it in very recent Zen4 products:
https://www.phoronix.com/news/GCC-11-x86-64-Feature-Levels

(From OE-Core rev: 6f2af1e5d1537b4d31e14946292bf58f0fd76fc9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 12:03:46 +00:00
Richard Purdie
d32dc08a77 recipes/classes: Drop prepend/append usage with PACKAGESPLITFUNCS
As far as I can tell, none of these uses of PACKAGESPLITFUNCS need append/prepend
operators, the standard += and =+ can work just fine. Since OE-Core is copied a lot,
use the preferred syntax which is also simpler to parse and change.

(From OE-Core rev: 846ff49465337dddd75a83161f41f48117f6571c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-05 11:52:50 +00:00
Richard Purdie
47ddb0f26d package: Drop support for PACKAGEBUILDPKGD function customisation
We don't really need the customisation capability of PACKAGEBUILDPKGD
since we also have PACKAGE_PREPROCESS_FUNCS which is generally used
by recipes. Drop PACKAGEBUILDPKGD to have some simpler/clearer code.
This allows some function wrappers to be removed too.

(From OE-Core rev: 6a4f24724cea3ddf55cacccb80fa54aa898dfa86)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-05 11:52:50 +00:00
Richard Purdie
c2adc21844 python3-cython: Use PACKAGESPLITFUNCS instead of PACKAGEBUILDPKGD
The recipe can use the more commonly used PACKAGESPLITFUNCS instead
of PACKAGEBUILDPKGD which is likely to be removed soon, there should be
no change in behaviour.

(From OE-Core rev: b060a8a7e4c35f8404525f462189390e2dce81e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-05 11:52:50 +00:00
Richard Purdie
99de12f152 package: Move mapping_rename_hook to packagedata function library
This function is used by the packaging tasks/classes and makes much
more sense in the packagedata function library.

(From OE-Core rev: 7a512a8803101310772d83836e6b78ebaf8121de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-05 11:52:50 +00:00
Richard Purdie
ab8c9d503e package: Drop unused function and obsolete comment
The function appears unused and the comment obsolete, drop them.

(From OE-Core rev: f3745718f8ec3bbed9816bf3d891e9885f8518b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-05 11:52:50 +00:00
Richard Purdie
e4f17fd72d package: Move package functions to function library
Move the bulk of the remaining package "processing" functions over
to the package function library for parsing efficiency.

(From OE-Core rev: f8785117074908330faca0b99afa7f60ed6ad952)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-05 11:52:50 +00:00
Richard Purdie
b3573d38ef package: Move emit_pkgdata to packagedata.py
Move one of the PACKAGEFUNCS from the package bbclass to packagedata
library code for parsing efficiency.

(From OE-Core rev: ceba33bf2897f7dd5b1ffe6b742c47bf616243c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-05 11:52:50 +00:00
Richard Purdie
a099ed2125 package: Move pkgdata handling functions to oe.packagedata
To avoid reparsing the bbclass code all the time, move the functions
to the packagedata python function library code which is more efficient.

(From OE-Core rev: f520a3039540b1183b1b2bdaaf8b9195995c0187)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-05 11:52:50 +00:00
Richard Purdie
93be2cdf49 package: Move get_conffiles/files_from_filevars functions to lib
To avoid reparsing the bbclass code all the time, move the functions
to the python function library code which is more efficient.

(From OE-Core rev: 424e65627c018b3119050f515b0c7cfb43be5573)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-05 11:52:50 +00:00
Richard Purdie
ed07d52b47 package: Move fixup_perms function to bb function library
To avoid reparsing the bbclass code all the time, move the function
to the python function library code which is more efficient.

(From OE-Core rev: 7c8c4cfd9355a9cee1144e0444e1b54402f1951c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-05 11:52:50 +00:00
Richard Purdie
a19687acd1 bitbake: lib/bb: Update thread/process locks to use a timeout
The thread/process locks we use translate to futexes in Linux. If a
process dies holding the lock, anything else trying to take the lock
will hang indefinitely. An example would be the OOM killer taking out
a parser process.

To avoid bitbake processes just hanging indefinitely, add a timeout to
our lock calls using a context manager. If we can't obtain the lock
after waiting 5 minutes, hard exit out using os._exit(1). Use _exit()
to avoid locking in any other places trying to write error messages to
event handler queues (which also need locks).

Whilst a bit harsh, this should mean we stop having lots of long running
processes in cases where things are never going to work out and also
avoids hanging builds on the autobuilder.

(Bitbake rev: d2a3f662b0eed900fc012a392bfa0a365df0df9b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-05 11:50:17 +00:00
Richard Purdie
2c6f0b9228 layer.conf: Mark master as compatible with mickledore
(From meta-yocto rev: d12c8f18f97935e3f5481a2324dcfdfaa9f1b944)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-03 16:04:39 +00:00
Richard Purdie
db47e8aa9e layer.conf: Update to use mickledore as the layer series name
OE-Core has changes which do need careful evaluation for compatibilty,
such as the addpylib directive. Move the core later names to mickledore
so layers can mark their compatibility as such.

Also increase the version number for core. If we do make further changes
that need layer changes, we'll update the version again so layers can mark
compatibility within the series.

(From OE-Core rev: 57239d66b933c4313cf331d35d13ec2d0661c38f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-03 15:47:29 +00:00
Khem Raj
64625155ec musl: Update to latest on tip of trunk
Brings following changes

* f47a8cdd ldso: fix invalid early references to extern-linkage libc.page_size
* 377218cb pthread_atfork: fix return value on malloc failure
* 29e43191 fix double-processing of DT_RELR relocations in ldso relocating itself
* b50eb8c3 fix strverscmp comparison of digit sequence with non-digits
* ad5dcd39 fix async thread cancellation stack alignment
* 8f925945 fix return value of gethostby{name[2],addr} with no result but no error
* 63402be2 clean up dns_parse_callback
* 0a7b4323 dns response handling: don't treat too many addresses as an error
* 41603c77 dns response handling: ignore presence of wrong-type RRs
* cf76df0e fix missing synchronization of pthread TSD keys with MT-fork
* 5ff3eea9 fgets: avoid arithmetic overflow when n==INT_MIN is passed
* d8f35e29 fix AS-safety of close when aio is in use and fd map is expanded
* 26c76a90 fix use of uninitialized dummy_fut in aio_suspend
* aebd6a36 fix potential deadlock between multithreaded fork and aio
* d64148a8 fix potential unsynchronized access to killlock state at thread exit
* 36b72cd6 fix potential deadlock in dlerror buffer handling at thread exit
* 833a4691 configure: disable TBAA optimization because most compilers are buggy
* e6e82132 disable MADV_FREE usage in mallocng
* 25e6fee2 remove LFS64 programming interfaces (macro-only) from _GNU_SOURCE
* 246f1c81 remove LFS64 symbol aliases; replace with dynamic linker remapping
* dec8f0a4 dns query core: detect udp truncation at recv time
* 8c408937 getaddrinfo dns lookup: use larger answer buffer to handle long CNAMEs
* 759bf785 arpa/nameser.h: update RR types list
* 51d4669f dns: implement tcp fallback in __res_msend query core
* e2e95176 res_send: use a temp buffer if caller's buffer is under 512 bytes
* c87d75f2 adapt res_msend DNS query core for working with multiple sockets
* 85050ac5 getaddrinfo: add EAI_NODATA error code to distinguish NODATA vs NxDomain

(From OE-Core rev: 3b27f6356a3bf0138da0c3dcd87aa8e4a93ae56b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-02 17:34:11 +00:00
Khem Raj
e0ffea74cf pulseaudio: Do not use 64bit time_t flags
It needs to be fixed to honor _FILE_OFFSET_BITS before we can enable
64bit time_t

(From OE-Core rev: 206ab9522963aee471004d987181ed2f8363f1ad)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-02 17:34:11 +00:00
Alexander Kanavin
48955ddc29 epiphany: update 42.4 -> 43.0
soup 2.x support has been removed upstream.
libportal is no longer optional.
epiphany now also needs gtk-update-icon-cache
and update-desktop-database executables.

(From OE-Core rev: ace8d5cb5ebb027ec2f62bf4d1104d319ec86e95)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-02 17:34:11 +00:00
Alexander Kanavin
836a60e184 libportal: convert from gtk-doc to gi-docgen
(From OE-Core rev: 5a06d319543a6e036c885bb7cab3cf4c49f3aa34)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-02 17:34:11 +00:00
Alexander Kanavin
f7e9d1eec7 libportal: add from meta-openembedded/meta-gnome
This used to be required by epiphany, then it became
optional and was moved to meta-oe, now it is again required.

The recipe was originally provided by... actually me :-)

(From OE-Core rev: e3c1fb52a0720d88dbc6eb91935c82733cdaea44)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-02 17:34:11 +00:00
Richard Purdie
82e77db0ce bitbake: command: Ensure that failure cases call finishAsyncComand
There are a couple of failure cases that runCommands needs to better
handle, ensuring finishAsyncCommand is called. This doesn't matter if the
server is about to shut down but for memory resident bitbake and with
threading enabled, correctness is more important this could could in
theory lead to problems with the recent code changes.

By using the idleFinish class, it ensures the current async command
is terminated correctly and the various state pieces around commands
finishing are called. This also makes the code more uniform matching
the other exception handling code.

(Bitbake rev: 367a83ed46c7fbcdd06579b6cc3a6e48a89ca7fb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-02 17:32:57 +00:00
Enguerrand de Ribaucourt
59a06db5dc bitbake-layers: fix a typo
(From OE-Core rev: fab3aa7b1b7003bb03678c5cfc62ad2b597f0932)

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-02 15:31:56 +00:00
Richard Purdie
acef849931 bitbake: cookerdata: Fix previous commit to use a string, not a generator
The previous commit was injecting a generator object instead of
a string, which happened to fix the issue but we should fix it
properly! Thanks to Christopher Larson for spotting.

(Bitbake rev: 36589f13c5babb3b2af82666c8a96338e6ea4eb9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-02 00:29:09 +00:00
Richard Purdie
cd5aab07cd bitbake: cookerdata: Fix cache/reparsing issue
When setting the LAYERSERIES_COMPAT and LAYERSERIES_CORENAMES variables,
we need to be deterministic. The random ordering from the sets was causing
unexpected reparses.

(Bitbake rev: 8c405c97430ac830837e25438e8795f6f7abbdaa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-01 14:25:20 +00:00
Alexander Kanavin
c9c2b6b613 devtool: process local files only for the main branch
devtool modify/upgrade are not currently equipped to handle conditional local files
in SRC_URI, and provide only the main no-override set in a workspace under
source/component/oe-local-files/ (this is done via meta/classes/devtool-source.bbclass).

On the other hand, updating the changes from workspace into a recipe
is run iteratively against all overrides; this works for patches (as they
all are directed into their own override branches in the workspace
git source tree), but breaks down when trying to match local files
in a workspace against local files in overridden SRC_URI lists, resulting in
bad recipe breakage.

(there's an additional twist here: existing code has a guard against this
but the guard relies on metadata in workspace .bbappend that is only there
in modify operations, but not upgrades. This commit replaces the guard
with a general check that will work everywhere).

Implementing multiple sets of local files is significant work; let's for now
simply not touch local files in recipes except when on the no-override variant.

Also, adjust the selftest cases to include conditional local files in sample
recipes, so the situation is covered by the tests.

(From OE-Core rev: 3a8654b860fa98f94e80c3c3fff359ffed14bbe7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:10:21 +00:00
Khem Raj
e73119966a vulkan-samples: Do not use LFS64 APIs in spdlog
(From OE-Core rev: cac83db8486943f013c5d33be2a353b492f20fd5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Khem Raj
b47198872c strace: Replace off64_t with off_t in sync_file_range.c test
(From OE-Core rev: b171a45d7df522497e7dfb0908f023b0683b0989)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Khem Raj
e9a6f3c6f9 llvm: Do not use lseek64
Fixes build with musl where the LFS64 functions are deprecated

(From OE-Core rev: f543f51b2060a718685c82ee6f7d59bb0723e7bf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Alexander Kanavin
19adb2236b qemu: disable sporadically failing test-io-channel-command
[YOCTO #14996]

(From OE-Core rev: e7f032b3f797f76dbb4ffa42fa5364624c6fb08b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Alexander Kanavin
9d949ac7c1 boost-build-native: update 1.80.0 -> 1.81.0
boost itself is already updated.

(From OE-Core rev: a50f20cc795ecf8537d83311e0b266c53933c622)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Alexander Kanavin
c1aab785eb vulkan-samples: update to latest revision
(From OE-Core rev: a9cede6ebfbf836401d456d614f95910dfed803e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Alexander Kanavin
65ead8a86e go: update 1.19.3 -> 1.19.4
(From OE-Core rev: 67301425ac2696ccc07d6f47856336d6336382fb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Alexander Kanavin
f2bb462850 conf/machine/include: add x86-64-v3 tunes (AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE)
Qemu 7.2 finally allows us to move beyond building for original Core 2/Core i7 era hardware,
and this patch adds support for the newer generations. But first, a bit of
background:

Recently toolchains gained support for specifying x86-64 'levels' of
instruction set support; v3 corresponds to 2013-era Haswell CPUs
(and later), with AVX, AVX2 and a few other instructions that
were introduced in that generation. I believe this is preferrable
to picking a specific CPU model as the baseline.

Here's Phoronix's feature article that explains the feature and the available levels:

"Both LLVM Clang 12 and GCC 11 are ready to go in offering the new x86-64-v2, x86-64-v3, and x86-64-v4 targets.

These x86_64 micro-architecture feature levels have been about coming up with a few "classes" of Intel/AMD CPU processor support rather than continuing to rely on just the x86_64 baseline or targeting a
specific CPU family for optimizations. These new levels make it easier to raise the base requirements around Linux x86-64 whether it be for a Linux distribution or a particular software application where
the developer/ISV may be wanting to compile with greater instruction set extensions enabled in catering to more recent Intel/AMD CPUs."

https://www.phoronix.com/news/GCC-11-x86-64-Feature-Levels

Here's gcc docs for it:
https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html

And here's the formal specification (click on the pdf link):
https://gitlab.com/x86-psABIs/x86-64-ABI

The actual tune file was created by copying corei7 tunes and doing
search/replace on them. Qemu options were dropped as unnecessary.
32 bit tune was dropped as well, as there is no 32 bit only CPU
that also supports these new instructions; all of the v3 capable
chips are 64 bit.

(From OE-Core rev: ac041f90e71dba83b7144c91f929de88aaeae519)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Khem Raj
ae4311f25f cargo: Do not use open64 on musl anymore
The same rust getrandom patch is needed for cargo on target as well
as it uses the same crate

(From OE-Core rev: 44441c727a5301ab99ab8b4d8b8b1f61f0a810af)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Martin Jansa
08152ea9ea nativesdk-rpm: don't create wrappers for WRAPPER_TOOLS
* environment.d/rpm.sh sets the right environment in SDK
  and we don't need to use them

(From OE-Core rev: 34f1121ba9684b1ab978438db2b16c1e42ea5973)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Martin Jansa
0174379afc nativesdk-rpm: export RPM_ETCCONFIGDIR and MAGIC in environment like RPM_CONFIGDIR
* the paths in wrapper don't work for rpmdeps which is installed in
  ${libdir}/rpm unlike other wrapped bins from ${bindir} these relative
  paths don't work there

* replace environment.d-rpm.sh with here-doc so that we can use
  OE variables

* in the end it might be better to just get rid of the wrappers at
  this point and depend on environment.d to always set right values

* the wrappers were added in:
  commit 760103cdaed3e820888d8984ec0b76cfc831d534
  Author: Ovidiu Panait <ovidiu.panait@windriver.com>
  Date:   Fri May 25 10:48:29 2018 +0800

    nativesdk-rpm: Add wrappers for nativesdk support

    When installing the SDK to a non-default path, running "rpm --showrc" from the
    sdk will produce the following error:
    error: Unable to open /opt/windriver/wrlinux-small/10.17.41/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or directory.
    Fix this by adding wrappers that dynamically export the RPM_CONFIGDIR,
    RPM_ETCCONFIGDIR and MAGIC environment variables, pointing to the proper
    sdk locations.

* the rpm.sh in environment.d a bit later:
  commit 5f16fd0bf774314c79572daf4ba7e4a8ae209ba1
  Author: hongxu <hongxu.jia@windriver.com>
  Date:   Wed Jul 29 01:22:06 2020 -0700

    nativesdk-rpm: adjust RPM_CONFIGDIR paths dynamically

    While installing/extracting SDK to a non-default dir(not /opt),
    run rpm failed:
    $ python3 -c "import rpm"
    |error: Unable to open /opt/windriver/wrlinux-graphics/20.31/sysroots/
    x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or
    directory.

    This patch adds a flexible way to configure RPM_CONFIGDIR in SDK.

(From OE-Core rev: f40a2658f5be6739c5dddab7f9f11e1f85a17102)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Kai Kang
40ad83204f libsm: 1.2.3 > 1.2.4
(From OE-Core rev: 3f0ccabd8d2737d01ba638c4db8a60477c6a83cb)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Kai Kang
3ccc52dad6 libx11: 1.8.1 -> 1.8.3
Update libx11 from 1.8.1 to 1.8.3.

* add LICENSE 'ISC' which is added by
  https://github.com/freedesktop/xorg-libX11/commit/a04b84f0
* adjust the ordering according to
  https://www.openembedded.org/wiki/Styleguide#Ordering_and_grouping

(From OE-Core rev: e13f651f73db0f26f4645447ab5fa17e36d1903b)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Kai Kang
3f07d77ab1 libx11-compose-data: 1.6.8 -> 1.8.3
Update libx11-compose-data from 1.6.8 to 1.8.3

* add 'ISC' to LICENSE because of commit
  https://github.com/freedesktop/xorg-libX11/commit/a04b84f0
* adjust ordering according to
  https://www.openembedded.org/wiki/Styleguide#Ordering_and_grouping

(From OE-Core rev: 8192091b461123a377d2ef64a0e75d6fbefc999a)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Kai Kang
02c98c4994 xorg-lib-common.inc: set default value of XORG_EXT
It replaced tar.bz2 tar archieves with tar.xz from the middle of 2021 on
page https://www.x.org/releases/individual/lib/. So set the default
value of XORG_EXT with 'tar.xz', and update related recipes accordingly.

(From OE-Core rev: b18a607ba0a33951375b66e895f8e129f96d9a67)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Khem Raj
ed134c9247 rust-llvm: Fix build on latest musl
latest musl has removed lfs64 functions

(From OE-Core rev: 7156416943dc6d772020465917418e3234cc7f66)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Khem Raj
755540ec8f rust,libstd-rs: Fix build with latest musl
newer musl do not provide lfs64 functions anymore since off_t is always
64bit on musl using normal functions would suffice

(From OE-Core rev: f01b2ab83068e4d7f263c31dca2a3fa9ef77a98e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Khem Raj
96df183b60 rust: Do not use open64 on musl in getrandom crate
LFS64 functions are deprecated in latest musl

(From OE-Core rev: 3b63303c62f9d50d835096602f9e09669779fa3e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:08:29 +00:00
Richard Purdie
a486edbfb1 bitbake: knotty: Ping the server/cooker periodically
We're seeing failures where the UI hangs if the server disappears. Ping
the cooker/server if we've not had any events in the last minute so we can
check if it is still alive.

(Bitbake rev: 6567ad6181f9e39812097f0154647e4b38238fdd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
4c57c6eeec bitbake: server/process: Run idle commands in a separate idle thread
When bitbake is off running heavier "idle" commands, it doesn't service it's
command socket which means stopping/interrupting it is hard. It also means we
can't "ping" from the UI to know if it is still alive.

For those reasons, split idle command execution into it's own thread.

The commands are generally already self containted so this is easier than
expected. We do have to be careful to only handle inotify poll() from a single
thread at a time. It also means we always have to use a thread lock when sending
events since both the idle thread and the command thread may generate log messages
(and hence events). The patch depends on  previous fixes to the builtins locking
in event.py and the heartbeat enable/disable changes as well as other locking
additions.

We use a condition to signal from the idle thread when other sections of code
can continue, thanks to Joshua Watt for the review and tweaks squashed into this
patch. We do have some sync points where we need to ensure any currently executing
commands have finished before we can start a new async command for example.

(Bitbake rev: 67dd9a5e84811df8869a82da6a37a41ee8fe94e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
3cc9aed5a5 bitbake: server/process: Add locking around idle functions accesses
In preparation for adding splitting bitbakes work into two threads,
add locking around the idle functions list accesses.

(Bitbake rev: a9c63ce8932898b595fb7776cf5467d3c0afe4f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
6a6a5c01f7 bitbake: event: Always use threadlock
With the move to a server idle thread, we always need threading. The
existing accessor functions could end up turning this off!

I was going to hold the lock whilst changing it, check if the value
was already set, cache the result and also fix the event code to always
release the lock with a try/finally.

Instead, disable the existing functions and use a with: block
to handle the lock, keeping things much simpler.

(Bitbake rev: 645c9d3b50e55f69b222cc338373cdfd91d524ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
c4ecfc4dc5 bitbake: server/process: Improve idle loop exit code
When idle handlers want to exit, returning "False" isn't very clear
and also causes challenges with the ordering of the removing the idle
handler and marking that no async command is running.

Use a specific class to signal the exit condition allowing clearer code
and allowing the async command to be cleared after the handler has been
removed, reducing any opportunity for races.

(Bitbake rev: 102e8d0d4c5c0dd8c7ba09ad26589deec77e4308)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
ff2d778f6d bitbake: cooker: Ensure commands clean up any parser processes
When finishing a command, we need to ensure any parsing processes that may have
been started are cleaned up before we reset the cooker state.

(Bitbake rev: 6569ab64bea35de21acc89053ba76e2828163f3f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
4895e78234 bitbake: command: Tweak finishAsyncCommand ordering to avoid races
(Bitbake rev: 89435442946767cfe58eedde363802add8f1ab29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
7723baafa6 bitbake: server/process: Improve exception and idle function logging
Currently if the idle functions loop suffers a traceback, it is
silently dropped and there is no log message to say what happened.
This change at least means the traceback is in the cooker log, making
some debugging possible.

Add some logging to show when handlers are added/removed to allow
a better idea of what the server code is doing from the server log
file.

(Bitbake rev: 9cf3102dc36513124fe5ead2f1e448b51833b6ac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
4c5d6edb0b bitbake: cooker/cookerdata: Rework the way the datastores are reset
As far as I could tell, the current code could result in some strange
situations where some data was set back to the original data store copy
but the multiconfig data was not restored. There are also some changes made
to the datastore which did not persist.

The data store was also being reset at every client reset, which seems
a little excessive if we can reset it to the original condition properly.

Move the __depends -> __base_depends rename into databuilder along with
the __bbclasstype change so these are saved in the original data.

Tweak the databuilder code to be clearer and easier to follow on which
copies are where, then save copies of all the mc datastores.

Finally, drop the cache invalidation upon reset for the base config
as we shouldn't need that now (oe-selftest -r tinfoil works with memory
resident bitbake which was the original reproducer requiring that change).

(Bitbake rev: 5f8b9b9c35b4ec0c8c539bf54ca85f068f4a5094)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
cb8efd4d20 bitbake: event: Add enable/disable heartbeat code
Currently heartbeat events are always generated by the server whilst it is
active. Change this so they only appear when builds are running, which is
when most code would expect to be executed. This removes a number of races
around changes in the datastore which can happen outside of builds.

(Bitbake rev: 8c36c90afc392980d999a981a924dc7d22e2766e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:17 +00:00
Richard Purdie
2c5bc03796 bitbake: knotty: Avoid looping with tracebacks
If there are events queued and there is an exception in the main loop
of the UI code, it will print tracebacks on the console indefinitely.
Avoid that by improving the loop exit conditions.

(Bitbake rev: 2d0940b920a22b244f3ba6849c7cd019578386b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-31 17:05:16 +00:00
Richard Purdie
42487f069b bitbake: cache: Drop reciever side counting for SiggenRecipeInfo
Joshua Watt pointed out maintaining the counting on both sides of the
connection isn't needed. Remove the receiver side counting and simplify
the code, also allowing errors if the counts do go out of sync.

(Bitbake rev: aeacfd391903fe68ae600470fc2bbad0502d401e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-30 15:07:19 +00:00
Richard Purdie
4dc7967cf9 bitbake: tinfoil: Ensure CommandExit is handled
By inspection, tinfoil handles two of the three command exit cases but
one is missing. Add the CommandExit case in case this is the cause of
one of our recipetool/devtool hangs. Regardless, the fix is necessary.

(Bitbake rev: eadddd94835b6b6a8517dfed3d29e6dbb2d35988)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-29 12:49:54 +00:00
Richard Purdie
3791d7ef60 bitbake: cooker: Ensure cache is cleared for partial resets
We're still seeing occasional SiggenRecipeInfo coherency issues, add
some further reset points into the parsing code to ensure the cache is
cleared before reparsing.

(Bitbake rev: 26ed783caf11dc9ebf53d3790681eb44c0c360f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-29 12:47:29 +00:00
Richard Purdie
907e91796e bitbake: event: builtins fix for 'd' deletion
I've been seeing event handlers where 'd' seems to disappear half way through
event handler execution. This is problematic when multiple threads are active
since this code assumes single threading.

The easiest fix is to change the handler function calls to contain d as a
parameter as we do elsewhere for other functions. This will break any non-text
handlers but I was only able to spot one of those in runqueue. It will also
break handlers than call functions that assume 'd' is in the global namespace
but those failures should be obvious and we can fix those to pass d around.

This solution avoids manipulating builtins which was always a horrible thing
to do anyway and solves the issue without needing locking, thankfully.

(Bitbake rev: 1e12f0a4b592dacd006d370ec29cd71d2a44312e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-29 00:07:06 +00:00
Richard Purdie
6549f58cd6 bitbake: cache/siggen: Fix cache issues with signature handling
There is a bug in the current cache code where the restored data structures
were "inverted" leading to some very weird issues, not sure how anything worked
like that, this patch fixes it.

Also fix some issues with multiconfig cache ordering problems by resetting
the stream counters when appropriate.

(Bitbake rev: cd06beb948eff5eaf2d474f5b127d51a61b0b2ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-29 00:05:45 +00:00
Alex Kiernan
34fa9f0840 oeqa/runtime/rust: Add cargo test
(From OE-Core rev: f41a4e3d4c82b6332c5d52ad8fb38e32c7aee74b)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
822f0c6512 packagegroup-rust-sdk-target: Add cargo
(From OE-Core rev: ea23ff72507768e2201211e488632208b9180296)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
d2925c9c11 cargo: Drop exclude from world
On-target cargo now builds/runs.

(From OE-Core rev: eb8b8c5247a32f2bd6b680de6f1a999dc2fcbc5f)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
a5a8904f8c cargo: Include crossbeam-utils patch
We need patched crossbeam-utils in cargo as well as rust, move cargo
alongside rust so they can both use the same patch.

(From OE-Core rev: 39402790724014a39b265ee1978396a0514fdc98)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
f504a2a21c cargo: Extend DEBUG_PREFIX_MAP to cover vendor
The cargo build builds vendored libgit and curl, but these exist outside
${S} which DEBUG_PREFIX_MAP covers.

(From OE-Core rev: c874ef5eafb88d361b96e014739d7a3a640536d9)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
fd552bfcfa cargo: Merge .inc into .bb
(From OE-Core rev: 15170dbc0579f57436730b1fc1c2f471aa0dea54)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
4323ddb8a1 rust: Move musl-x86 fix for __stack_chk_fail_local to rust-source
Any consumer of rust-source (potentially) needs this, so move to
rust-source.inc

(From OE-Core rev: 3c88cf98361a8f1c6f5183cc8887cccfad9d08ba)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
510ecb586f rust: Merge .inc into .bb
(From OE-Core rev: a09bcc7db13a7308f523d985332e96461b8feeec)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
f045d37015 packagegroup-core-sdk: Add SDK toolchain language selection support
Use SDK_TOOLCHAIN_LANGS to allow different language support to be
selected within SDKs. Initially supported options are rust and go.

(From OE-Core rev: 1ad7bb050accd930c85b6c51721046867394f629)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
cf3b5adaf5 packagegroup-rust-sdk-target: Add Rust SDK target packagegroup
(From OE-Core rev: 5bfa5bfa942a29f6670213933e456ed00c43a245)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
59812918da rust-llvm: Update LLVM_VERSION to match embedded version
(From OE-Core rev: e75f16c5f0d3e70ae08efd7d61a7e7d0c9380e72)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alex Kiernan
4c4cb30301 rust-llvm: Merge .inc into .bb
(From OE-Core rev: 5a8f72fc9ae730be21bbc577d8315ae95f771dba)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Wang Mingyu
cad78dd5bd bind: upgrade 9.18.9 -> 9.18.10
Changelog:
==========
The key file IO locks objects would never get deleted from the hashtable due to
off-by-one error.

ANY responses could sometimes have the wrong TTL.

Speed up the named shutdown time by explicitly canceling all recursing ns_client
objects for

Removing a catalog zone from catalog-zones without also removing the referenced
zone could leave a dangling pointer. [GL #3683]

nslookup and host were not honoring the selected port in TCP mode. [GL #3721]

Deprecate alt-transfer-source, alt-transfer-source-v6 and
use-alt-transfer-source. [GL #3694]

Move the "final reference detached" log message from dns_zone unit to the
DEBUG(1) log level.

Fix assertion failure in isc_http API used by statschannel if the read callback
would be called on HTTP request that has been already closed.

Deduplicate time unit conversion factors.

Copy TLS identifier when setting up primaries for catalog member zones.

Deprecate 'auto-dnssec'. [GL #3667]

The decompression implementation in dns_name_fromwire() is now smaller and
faster. [GL #3655]

Use the current domain name when checking answers from a dual-stack-server.

Ensure 'named-checkconf -z' respects the check-wildcard option when loading a
zone.  [GL #1905]

Deprecate 'coresize', 'datasize', 'files', and 'stacksize' named.conf options.

The view's zone table was not locked when it should have been leading to race
conditions when external extensions that manipulate the zone table where in use.

Some browsers (Firefox) send more than 10 HTTP headers.  Bump the number of
allowed HTTP headers to 100. [GL #3670]

NXDOMAIN cache records are no longer retained in the cache after expiry,
even when serve-stale is in use. [GL #3386]

(From OE-Core rev: 1c093c38e247b522f279f616d16373795a4cdf89)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Jose Quaresma
58e9167cc0 gstreamer1.0: Fix race conditions in gstbin tests
(From OE-Core rev: b57df3fe9c1623ba2f5a9a0e11a85dcdc77e76a5)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Jose Quaresma
92be24e5d0 Revert "gstreamer1.0: disable flaky gstbin:test_watch_for_state_change test"
This reverts commit 220a527d26.

- Drop this patch and use the upstream solution
  https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2643

(From OE-Core rev: 9660045d07a2b492ac48a1f1b08aa4288b45d64a)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
bbb4d65500 Revert "python3-native: further tweak to sysconfig.py to find python includes correctly"
Unfortunately, sysconfig is used by:
- setuptools to find out where to install new headers
- autoconf-archive to find where Python.h is

In the first case we want the target location, in the second case we want
the sysroot location. The second case is not yet used in the wild
(as projects such as gpgpme are using outdated distutils-based m4 macros),
but it will become a problem once python 3.12 is out, and
said projects are forced to migrate to sysconfig. Let's deal with it
then in a more careful manner, and hopefully convince upstream that
there is a general problem too.

(From OE-Core rev: 499b152bf63749be18fc252978a6cc632254b325)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
db604a273d vulkan: upgrade 1.3.231.1 -> 1.3.236.0
(From OE-Core rev: eb556528421e5858e900a7664008fcd946a309da)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
3667c83d2a stress-ng: upgrade 0.15.00 -> 0.15.01
libbsd is required for splay tree macros in tree.h

(From OE-Core rev: 898692284f4710c0993ba0fbf7cadba6b8ea5ca0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
c4e7162d81 libarchive: upgrade 3.6.1 -> 3.6.2
Use --without-iconv as otherwise autotools write a bogus iconv
dependency into .pc file.

(From OE-Core rev: edce1bce81fe2f47fb2c5e2b94ebda73f95cbaea)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
153ec41cdc python3-chardet: upgrade 5.0.0 -> 5.1.0
Transition to python_setuptools_build_meta.

(From OE-Core rev: 3e12b39760ec92d45241f44945c4fd1a93cd9de2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
9311fb96ae libmodule-build-perl: update 0.4231 -> 0.4232
License-Update: formatting, position of the license statement moved in the README

(From OE-Core rev: 902e05e254b633ef1e988779504f743a031b5632)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
7bdc145006 jquery: upgrade 3.6.1 -> 3.6.2
(From OE-Core rev: 4ca35599d102b6c1580bc080a0df645e7e589267)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:56 +00:00
Alexander Kanavin
119f320a46 libxv: update 1.0.11 -> 1.0.12
(From OE-Core rev: 210644592255852969d02553a59459622f2f64db)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
5eab8adb7b libxscrnsaver: update 1.2.3 -> 1.2.4
(From OE-Core rev: e4925f434de7d555d41002c19c16591ea24aa987)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
db906cf988 libxres: update 1.2.1 -> 1.2.2
(From OE-Core rev: 58283fa4304ea83328126dfa5746247c5d0b4221)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
4da189a35c libxdamage: update 1.1.5 -> 1.1.6
(From OE-Core rev: 2decda05ebfbffdf5f4f056e2b50dc12c988253d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
1f9e0e53a0 libxcomposite: update 0.4.5 -> 0.4.6
(From OE-Core rev: cba167bcaedf17a06bb28a773f65dc321c72e020)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
a5671f2c3b libice: update 1.0.10 -> 1.1.1
(From OE-Core rev: e06496f9d8c6853ecd1c285935d82f6144fcaaab)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
a9445693a6 xf86-video-vesa: update 2.5.0 -> 2.6.0
(From OE-Core rev: dc9a4800470e5651e4d13110f1091a36789e3011)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
c0bfccc8ff xvinfo: update 1.1.4 -> 1.1.5
(From OE-Core rev: 1bbd3892e054e0fc43426b2c8b4c5080a81d6126)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
9554725e15 xset: update 1.2.4 -> 1.2.5
(From OE-Core rev: 5a1265a159459e21a73076bfefdfd3e7483a92e4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
e845404841 xprop: update 1.2.5 -> 1.2.6
(From OE-Core rev: 8cad13905aeb436d92919e977e0e5cea1c7b585f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
07a8dac76d xkbcomp: update 1.4.5 -> 1.4.6
(From OE-Core rev: 99921a13354a66516f8967638c34938f0082c521)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
cdd54c995a xinit: update 1.4.1 -> 1.4.2
(From OE-Core rev: 38b6d034f8d1373072c8ccb06f7bcc9c18dacc5a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
9e376d0659 xhost: update 1.0.8 -> 1.0.9
gettext-native is needed for xgettext executable.

License-Update: copyright years

(From OE-Core rev: 50d05038171f769d2b95b455eb2266d3a507db70)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
4d574ad5bf weston: update 11.0.0 -> 11.0.1
Upstream has published the tarball in a non-standard location. If
this persists, we might want to switch to git.

(From OE-Core rev: b737d41db8ec7975bd4f065cc1c023b7b3b29f46)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
715a25b1f1 python3: update 3.11.0 -> 3.11.1
Drop 0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch:
the patch has been rejected upstream (see the bug), and does quite a
bit more than just fix the mips softfloat problem. If the problem
still exists, then the fix needs to be re-done, and re-submitted.

The other two patches have been merged upstream.

License-Update: http->https

(From OE-Core rev: 9b6e8c173162798428cf8627b596ca81cd8ab855)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
e20cf21490 python3-installer: update 0.5.1 -> 0.6.0
(From OE-Core rev: b64d25d3e0e8f0b6a7e4b985d305519be4879073)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
25e2d493aa dpkg: update 1.21.9 -> 1.21.13
libmd is a new dependency.

(From OE-Core rev: 53862dd494c849db771d986752ca5dab464dc6cb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Khem Raj
77d8b2cc80 systemd: Fix 252 release build on musl
(From OE-Core rev: 38256b5d8caa54024df9df908cc7fa49ca5fac39)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Alexander Kanavin
ff81714af3 systemd: update 251.8 -> 252.4
(From OE-Core rev: 42442730a8acc78c2bffec7b78f5d06cabeca3bc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-28 23:59:55 +00:00
Xiangyu Chen
7ec846be8b grub2: backport patch to fix CVE-2022-2601 CVE-2022-3775
Backport patch from upstream to solve CVE-2022-2601 CVE-2022-3775 dependency:
font: Fix size overflow in grub_font_get_glyph_internal()
(https://git.savannah.gnu.org/cgit/grub.git/commit/?id=9c76ec09ae08155df27cd237eaea150b4f02f532)

Backport patch from upstream to fix following CVEs:
CVE-2022-2601: font: Fix several integer overflows in grub_font_construct_glyph()
(https://git.savannah.gnu.org/cgit/grub.git/commit/?id=768e1ef2fc159f6e14e7246e4be09363708ac39e)
CVE-2022-3775: font: Fix an integer underflow in blit_comb()
(https://git.savannah.gnu.org/cgit/grub.git/commit/?id=992c06191babc1e109caf40d6a07ec6fdef427af)

(From OE-Core rev: fa5a42150098be892246146456faed778e28ef94)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-26 18:49:07 +00:00
Pavel Zhukov
f2c5a99994 oeqa/rpm.py: Increase timeout and add debug output
[Yocto #14346]
Systemd may be slow in killing pam session sometimes [1][2]. It may cause rpm
test to fail because there's process (sd_pam) running and own by "test1" user
after timeout.
Increasing timeout to 2 mins and assert earlier with debug output if
there's such process(es). If increasing of timeout doesn't help we may
want to force deletion of the user as [2] suggests.

[1] https://github.com/systemd/systemd/issues/8598
[2] https://access.redhat.com/solutions/6969188

(From OE-Core rev: 972fcc0ed1e0d36c3470071a9c667c5327c1ef78)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-26 18:49:07 +00:00
Alexander Kanavin
9caff14abb qemu: update 7.1.0 -> 7.2.0
qemu no longer carries libslirp in-tree,
so enabling slirp requires providing external libslirp.

Another noteworthy change is:

x86: TCG support for AVX, AVX2, F16C, FMA3 and VAES instructions

... which means both meta-intel and qemu x86 targets can
now fully utilize Haswell-and-later instruction set with benefits
for performance in emulation and on silicon.

Changelog:
https://wiki.qemu.org/ChangeLog/7.2

(From OE-Core rev: d82e521995832580e990c0c173651aafd43d299c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-26 18:49:07 +00:00
Alexander Kanavin
d7f7b788f7 libslirp: add recipe to continue slirp support in qemu
qemu 7.2 no longer carries libslirp in-tree, and so
it has to be provided externally.

(From OE-Core rev: a4409583e0f8187b0c0cbf92fbddeffef12fd8f5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-26 18:49:07 +00:00
Alexander Kanavin
9ff39e1db8 python3-native: further tweak to sysconfig.py to find python includes correctly
Without this, sysconfig would report the target location, which is not
what we want in cross-builds. This is used in particular by
latest autoconf-archive m4 macros, which have migrated from
(removed in py 3.12) distutils to setuptools.

(From OE-Core rev: df8303ab2f0ca4b694b845016c8d7e0279a48fe7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-26 18:49:07 +00:00
Alexander Kanavin
e5be12ef57 cmake: update 3.24.2 -> 3.25.1
License-Update: additional contributors

(From OE-Core rev: bc7dcc79cc5c8e2ea92ee45fe918a3488b4b1086)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-26 18:49:07 +00:00
Alexander Kanavin
5b5e4cd6e2 tcmode-default.inc: set LLVMVERSION to a major version wildcard
There is no longer need to be specific: none of the recipes
using this variable in core need to know the particular version
of llvm exactly when using the default one set via PREFERRED_VERSION
from LLVMVERSION.

This as well enables automated version updates of llvm
for minor releases.

(From OE-Core rev: f0ab1736438f6f23603e3694dc2f0b724b103722)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-26 18:49:07 +00:00
Alexander Kanavin
03a05c9b79 llvm: update 15.0.4 -> 15.0.6
(From OE-Core rev: 7f0d417feae6efc7957c48ecc7e5b65f3fd8921b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-26 18:49:07 +00:00
Martin Jansa
51434c6717 libxml2: upgrade test data from 20080827 to 20130923
* and switch from tar.gz to tar, because the tar.gz archives upstream are regular tar as well now
  https://www.w3.org/XML/Test/ still has 3 separate URLs for .zip, .tar
  and .tar.gz, but both tar links return the same file:

  xmlts20130923.tar:      POSIX tar archive (GNU)
  xmlts20130923.tar.gz:   POSIX tar archive (GNU)
  xmlts20130923.zip:      Zip archive data, at least v1.0 to extract, compression method=store

  -rw-r--r--  1 martin martin 5.7M Sep 23  2013 xmlts20130923.tar
  -rw-r--r--  1 martin martin 5.7M Sep 23  2013 xmlts20130923.tar.gz
  -rw-r--r--  1 martin martin 1.6M Sep 23  2013 xmlts20130923.zip

  c6b2d42ee50b8b236e711a97d68e6c4b5c8d83e69a2be4722379f08702ea7273  xmlts20130923.tar
  c6b2d42ee50b8b236e711a97d68e6c4b5c8d83e69a2be4722379f08702ea7273  xmlts20130923.tar.gz
  f9510b3532926e1b4c2e54855b021e4b8a66ec98a5337dcf4ff07e8a41968deb  xmlts20130923.zip

(From OE-Core rev: 0ee43418ce37e52f1886b85ff2c7d8cdff9f2039)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-26 18:49:07 +00:00
Luis
4e75ed32a0 rm_work.bbclass: use HOSTTOOLS 'rm' binary exclusively
The do_rm_work() task is using the first available 'rm' binary
available in PATH to remove files and folders.
However, depending on the PATH setup and RECIPE_SYSROOT_NATIVE
contents, the function can be using the 'rm' binary available
in RECIPE_SYSROOT_NATIVE, a folder that will get removed.
This causes a sporadic race-condition when trying to access the
'rm' binary of a folder already deleted.
Solve this by exclusively using the HOSTTOOLS 'rm' binary, as
this folder will not get removed.

(From OE-Core rev: edcd9ad333bc4e504594e8af83e8cb7007d2e35c)

Signed-off-by: Luis Martins <luis.pinto.martins@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-26 18:49:07 +00:00
Chen Qi
f27e91305b selftest: allow '-R' and '-r' be used together
For now, there's no easy way to skip some specified tests when
using 'oe-selftest -r'. This is because '-R' and '-r' are in the
mutually exclusive group. Looking at the codes, the codes have already
allowed running specified tests and skipping specified tests at
the same time. So move '-R' out of the mutually exclusive group
and change its help message.

After this change, the following command could be used.
  oe-selftest -r A -R A.B.C

This does introduce a behavior regression.
Previous 'oe-selftest -R xxx' needs to now be changed to
'oe-selftest -a -R xxx'.

(From OE-Core rev: df9a2b69748d8a24c3390f812225231e9e9acb66)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-26 11:19:40 +00:00
Richard Purdie
b3cf48d741 python3-poetry-core: Fix determinism issue breaking reproducibility
Fix failing builds due to a reproducibility issue by adding a patch to sort
globbing, submitted upstream.

[YCOTO #14993]
[YCOTO #14994]

(From OE-Core rev: ad6cc43ca99d8629365fcff790becbc7103da9ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 22:59:03 +00:00
Alex Kiernan
55dbedbd24 libstd-rs: Move source directory to library/test
Building libstd-rs from library/std omits proc_macro from the sysroot.
Using library/test causes that to be installed which then allows cargo
to build (https://github.com/meta-rust/meta-rust/issues/266)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 12:06:35 +00:00
Alex Kiernan
35528aff99 libstd-rs: Merge .inc into .bb
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 12:06:35 +00:00
Changqing Li
06763de40a base.bbclass: Fix way to check ccache path
The previous code had 2 issues:
1. make hosttools/ccache always link to host's ccache (/usr/bin/ccache)
even we have one buildtools
2. make hosttools/gcc etc, link to host's gcc event we have one
buildtools when keyword ccache in buildtools's path, eg:
/mnt/ccache/bin/buildtools

This patch is for fix above issues.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 12:05:52 +00:00
Alex Kiernan
79e57d41d2 oeqa/runtime/rust: Add basic compile/run test
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 12:04:44 +00:00
Richard Purdie
eac47bff70 oeqa/concurrencytest: Add number of failures to summary output
When running oe-selftest and seeing the end of a running log, it is
extremely helpful to know if there have been failures or not to save
looking at the rest of the log. Add the number of failures to the summary
line so that people monitoring builds have an easier time before the end
totals are printed.

(From OE-Core rev: 6b23996911d91f7f99774646c6db9f3490b4cb62)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-22 23:09:00 +00:00
Randy MacLeod
bea2896a2e valgrind: skip the boost_thread test on arm
This test is failing on the arm workers only so skip there until the issue
can be worked on and resolved. The bug #14311 will remain open for tracking.

(From OE-Core rev: d98deec9e4aed9e05343d2758f3a3892e2044616)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-22 23:06:29 +00:00
Khem Raj
dfd4944fc1 qemu: Fix build with largefile support
drop using lfs64 specific functions and macros

(From OE-Core rev: 82fd98d6d8de17424ed9f129a1661645253ef7ae)

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>
2022-12-22 23:05:50 +00:00
Khem Raj
556f09df23 numactl: Enable largefile support
(From OE-Core rev: 4ec9e05e7276bee6952669212d129549500338ec)

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>
2022-12-22 23:05:50 +00:00
Khem Raj
2120e7d10c strace: Add knob to enable largefile support
(From OE-Core rev: 353e773ab8a072546ae236d1611bb6906b59486a)

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>
2022-12-22 23:05:50 +00:00
Khem Raj
7235079983 lttng-tools: Fix build with largefile support
(From OE-Core rev: ec0bfa21e2bae82b0218f75c0010be64dcdd99d4)

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>
2022-12-22 23:05:50 +00:00
Khem Raj
e97b449532 alsa-utils: Replace off64_t with off_t
(From OE-Core rev: a5b9e6fa9242ea910b6d0128f51ac5d115f11991)

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>
2022-12-22 23:05:50 +00:00
Khem Raj
e6335a0985 nfs-utils: Replace statfs64 with statfs
Fixes LFS64 builds

(From OE-Core rev: ce6a6cc8e468603a1ccec68ec70fc1a079411fca)

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>
2022-12-22 23:05:50 +00:00
Khem Raj
4e935952b6 virglrenderer: Replace lseek64 with lseek
Fix build with musl

(From OE-Core rev: 677e979255ea84933a9e91d993171b207ff3deb6)

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>
2022-12-22 23:05:50 +00:00
Khem Raj
663c631776 gpgme: Fix with with largefile support
(From OE-Core rev: 0b187e81732b7be3aaa35ce21b34c41c609322c3)

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>
2022-12-22 23:05:50 +00:00
Khem Raj
e842e4fdbd libbsd: Fix build with largefile support
(From OE-Core rev: 7cb6242f82cc5ba7c1960045282fab5486fca05b)

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>
2022-12-22 23:05:50 +00:00
Wang Mingyu
31d920465a gstreamer1.0: upgrade 1.20.4 -> 1.20.5
Changelog:
===========
systemclock waiting fixes for certain 32-bit platforms/libcs
alphacombine: robustness improvements for corner case scenarios
avfvideosrc: Report latency when doing screen capture
d3d11videosink: various thread-safety and stability fixes
decklink: fix performance issue when HDMI signal has been lost for a long time
flacparse: Fix handling of headers advertising 32 bits per sample
mpegts: Handle when iconv doesn't support ISO 6937 (e.g. musl libc)
opengl: fix automatic dispmanx detection for rpi4 and fix usage of eglCreate/DestroyImage
opusdec: Various channel-related fixes
textrender: event handling fixes, esp. for GAP event
subparse: Fix non-closed tag handling
videoscale: fix handling of unknown buffer metas
videosink: reverse playback handling fixes
qtmux: Prefill mode fixes, especially for raw audio
multiudpsink: allow binding to IPv6 address
rtspsrc: Fix usage of IPv6 connections in SETUP
rtspsrc: Only EOS on timeout if all streams are timed out/EOS
splitmuxsrc: fix playback stall if there are unlinked pads
v4l2: Fix SIGSEGV on state change during format changes
wavparse robustness fixes
Fix static linking on macOS (opengl, vulkan)
gstreamer-vaapi: fix headless build against mesa >= 22.3.0
GStreamer Editing Services library: Fix build with tools disabled
webrtc example/demo fixes
unit test fixes for aesdec and rtpjitterbuffer
Cerbero: Fix ios cross-compile with cmake on M1; some recipe updates and other build fixes
Binary packages: pkg-config file fixes for various recipes (ffmpeg, taglib, gstreamer)
Binary packages: Enable high bitdepth support for libvpx (VP8/VP9 encoding/decoding)
Binary packages: ship aes plugin
Miscellaneous bug fixes, memory leak fixes, and other stability and reliability improvements
Performance improvements

(From OE-Core rev: fd8ab6052d88120c58cf84ad7d77d60c12ef3b8a)

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>
2022-12-22 23:05:50 +00:00
Wang Mingyu
603519513a xz: upgrade 5.2.9 -> 5.4.0
(From OE-Core rev: 7a145ee32c3a3f1e633444eb91f444acdf882055)

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>
2022-12-22 23:05:50 +00:00
Wang Mingyu
8fa9dacb4a psmisc: upgrade 23.5 -> 23.6
Changelog:
=========
* buildsys: Fix DEJAGNU work-around Debian #1015089
* killall: Use kill if pidfd_send_signal fails Debian #1015228
* fuser: Do not mention nonexistent - reset option #42
* fuser: Use modern statn where possible
* pstree: Better AppArmor support !30

(From OE-Core rev: bba39ca977e82fa75ba34f2cd1dad3e86b0237c2)

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>
2022-12-22 23:05:50 +00:00
Wang Mingyu
366a8a246f makedepend: upgrade 1.0.7 -> 1.0.8
(From OE-Core rev: b32b0703170e8188e7c9234918def26428891997)

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>
2022-12-22 23:05:50 +00:00
Wang Mingyu
0399f1539e libmpc: upgrade 1.2.1 -> 1.3.1
Changelog:
============
- Bug fix: It is again possible to include mpc.h without including
  stdio.h.

(From OE-Core rev: 34ea6fedbcfe4876fed0a82a4e0d8dc540a30006)

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>
2022-12-22 23:05:50 +00:00
Wang Mingyu
7a376e45a1 iproute2: upgrade 6.0.0 -> 6.1.0
(From OE-Core rev: c83668b89289cfd1eee87e7388239bb5b7763a7d)

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>
2022-12-22 23:05:50 +00:00
Wang Mingyu
a4794f5628 help2man: upgrade 1.49.2 -> 1.49.3
Changelog:
==========
  * Cleanup whitespace in po-texi/help2man-texi.pot.
  * Add Korean translation

(From OE-Core rev: 6cbe1fa0a3df3496d58788ede4030017edd36a91)

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>
2022-12-22 23:05:50 +00:00
Wang Mingyu
76091a5009 git: upgrade 2.38.1 -> 2.39.0
(From OE-Core rev: 19fab341337c353bc6c8d796f92868d6148229c8)

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>
2022-12-22 23:05:50 +00:00
Wang Mingyu
a377d1d139 ell: upgrade 0.54 -> 0.55
Changelog:
Fix issue with DHCP and blocked unicast requests.

(From OE-Core rev: 63bd6f7c9fd4f8d08b01a2182cc940ea94702abc)

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>
2022-12-22 23:05:50 +00:00
Wang Mingyu
21233a320b boost: upgrade 1.80.0 -> 1.81.0
0001-The-std-lib-unary-binary_function-base-classes-are-d.patch
removed since it's included in 1.81.0

(From OE-Core rev: 16d33730845895dac7e6fa1e03778ca49b37adce)

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>
2022-12-22 23:05:50 +00:00
Richard Purdie
98f1b3d6ae bitbake: server/process: Add bitbake.sock race handling
We've seen cases where the bitbake.sock file appears to disappear but the
server continues to hold bitbake.lock. The most likely explaination is
that some previous build directory was moved out the way, a server there
kept running, eventually exited and removed the sock file from the wrong
directory.

To guard against this, save the inode information for the sock file and check
it before deleting the file. The new code isn't entirely race free but should
guard against what is a rare but annoying potential issue.

(Bitbake rev: b02ebbffdae27e564450446bf84c4e98d094ee4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 14:15:26 +00:00
Richard Purdie
fafce98363 bitbake: siggen: Minor code improvement
Tweak the code to remove duplication and only set if the attribute isn't
already there to avoid overwriting.

(Bitbake rev: 513e6c4e9233e0d0bc31e1169077fdbf9aaf4ec3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 14:15:26 +00:00
Richard Purdie
7d010055e2 bitbake: cache: Allow compression of the data in SiggenRecipeInfo
The data in SiggenRecipeInfo is large and has a lot of duplication. The size
causes a few problems, impacting:

 - bitbake's overall memory usage
 - the amount of data sent over IPC between parsing processes and the server
 - the size of the cache files on disk
 - the size of "sigdata" hash information files on disk

The data consists of strings (some large) or frozenset lists of variables.
To reduce the impact we can:

a) deplicate the data
b) pass references to the object on the second usage
   (e.g. over IPC or saving into pickle).

This patch does this for SiggenRecipeInfo mostly behind the scenes
but we do need a couple of reset points so that streamed data is written
correctly on the second usage.

(Bitbake rev: 9a2b13af483c20763d6559a823310954884f6ab1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 14:15:26 +00:00
Richard Purdie
26f255da09 bitbake: command: Add ping command
Add a simple ping command so the UI can check the server is still there.

(Bitbake rev: fd3359de0b9f18fac187a629df203be0b2c87545)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 14:15:26 +00:00
Frank de Brabander
35c7fbab7f bitbake: README: add required python version for bitbake
(Bitbake rev: 8f9402b291421ebcbf0a3ab97791c87af4b3f36e)

Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 14:15:26 +00:00
Michael Opdenacker
5459957a40 bitbake: bitbake-user-manual: remove "OEBasic" signature generator
Removed in BitBake through
https://git.openembedded.org/openembedded-core/commit/?id=3667e589ba16eb261cfd72c2b11429f482c239f6

(Bitbake rev: 50261fe047dfb41c3ce9d91b9b8245ce465d69b3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 14:15:26 +00:00
Michael Opdenacker
34d538c5ac bitbake: bitbake-user-manual: double colon fix
(Bitbake rev: 4f57853f46423f9e50b0140cd3d4aaffdcd5a08d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 14:15:26 +00:00
Marek Vasut
126a67aff7 bitbake: fetch2/git: Clarify the meaning of namespace
Namespace in this context means a branch, a tag, etc., clarify
it in the description. Also, fix a typo "a any", replace with
plain "any".

This patch is based of feedback on new applied patch
d32e5b0e ("fetch2/git: Prevent git fetcher from fetching gitlab repository metadata")

(Bitbake rev: b4999425c812b25cb359d5163d11e3c1b030dc28)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 14:15:26 +00:00
Marek Vasut
7ee2ee0572 bitbake: bitbake-user-manual: Document override :append, :prepend, :remove order
The application order of override syntax :append, :prepend, :remove is
inobvious and undocumented. The order does not match variable parse
history, i.e. output of "bitbake -e", either.

Add note documenting the exact order in which :append, :prepend, :remove
are applied to variable in lib/bb/data_smart.py getVarFlag(). Add note
that this order does not match the variable parse history order. This
is mostly to prevent others from running into this and scratching their
heads, trying to find out what is going on.

Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
(Bitbake rev: 7379c2855b8497e56481d1ec7b5953e850550b85)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 14:15:26 +00:00
Ross Burton
1628054eca gtk+3: fix reproducible builds
We can't drop the missing meson.build file into the build tree via SRC_URI
as then the timestamp of that file becomes the timestamp of the build,
which results in repeated builds having different timestamps.

Instead patch the file into the build, which doesn't change the SDE
every build.

(From OE-Core rev: b525fab08cb4f6d7b9a71bf82378a8396a20aba8)

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>
2022-12-21 10:16:31 +00:00
Carlos Alberto Lopez Perez
b83f2bfe81 recipes: Enable nativesdk for gperf, unifdef, gi-docgen and its dependencies
I'm building a SDK (bitbake task: populate_sdk) for WPE/WebKit
development [1] and I need the tools below to be extended with the class
nativesdk. They work fine on the SDK after this change.

The needs are because:

1) gperf and unifdef are required by the WebKit build system at build
   time.

2) gi-docgen is required by the WebKit build system when CMake option
   'ENABLE_DOCUMENTATION' is enabled, and gi-docgen itself depends on
   the following python modules that also need to enable nativesdk:
   python3-markdown, python3-smartypants and python3-typogrify

[1]
See:
 - https://github.com/Igalia/meta-webkit/pull/436
 - https://bugs.webkit.org/show_bug.cgi?id=249604

(From OE-Core rev: 6cb38fd632a161bea7b9a04de400d8be8d565b07)

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 10:16:31 +00:00
Markus Volk
13150992fb python3-dbusmock: allow to build native
This is e.g. needed by xdg-desktop-portal

(From OE-Core rev: 68c391f50a753a51c99a10fdffd6f35c516f2873)

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>
2022-12-21 10:16:31 +00:00
pgowda
696b799922 binutils: Add patch to fix CVE-2022-4285
Backport a patch from upstream to address CVE-2022-4285
[https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5c831a3c7f3ca98d6aba1200353311e1a1f84c70]

(From OE-Core rev: b6b750f8e41a392ff92d9118ef7530ada20d06fe)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 10:16:31 +00:00
Markus Volk
93215bf4b2 gtk4: add tracker-miners runtime dependency
To have gtk4 libtracker support, the target would need to run tracker-miners.

(From OE-Core rev: db356536085a273f95346082f748057c799318e7)

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>
2022-12-21 10:16:31 +00:00
Alejandro Hernandez Samaniego
901f7ed6ba rust: Enable baremetal targets
Allow rust to build for baremetal targets by generating the proper target
triple, follow the format specified by rusts Triple [1], that is:

<arch>-<vendor>-<os>-<abi>

This is done automatically based on both TARGET_OS and TCLIBC.

For example, a riscv64 baremetal target triple would look like this:
riscv64gc-poky-none-elf

matching rusts own target triple for riscv64 according to platform-support [2]

[1] https://docs.rs/target-lexicon/latest/target_lexicon/struct.Triple.html
[2] https://doc.rust-lang.org/stable/rustc/platform-support.html

(From OE-Core rev: 3bff689f0c5ea73076ce0510872b0552e8660cbe)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 10:16:31 +00:00
Alejandro Hernandez Samaniego
cb33d63060 rust: Enable building rust from stable, beta and nightly channels
Rust follows the train release model via the stable, beta and nightly channels,
by default we build rust from the stable channel, however there are certain
features which are only available in the beta or nightly channels.

Make these channels available by setting a RUST_CHANNEL variable which defaults
to stable making this change transparent to the user.

The snapshot version used by rust during its compilation wont necessarily match
the version being built, specially if were building from an unstable channel,
to avoid confusion rename this to SNAPSHOT_VERSION and use RUST_VERSION for the
version to be built, which is automatically defined to PV.

Append -beta or -nightly to rusts PV for signature awareness.

It is important to note that this does not build rust from the beta/nightly
published tarball (which today build rust v1.67.0 and v1.68.0 respectively),
instead this builds rust from the current selected version (1.66.0) and enables
the beta/nightly features for that version.

Setting the variable RUST_CHANNEL=nightly results in the following:

$ rustc -Vv
rustc 1.66.0-nightly

(From OE-Core rev: 807a52686682d0d0a151ea3dadd99880feb67cc0)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 10:16:31 +00:00
Mikko Rapeli
0d1023673b runqemu: add QB_SETUP_CMD and QB_CLEANUP_CMD
These enable running custom shell setup and cleanup commands
before and after qemu. Enables machine configurations to for
example run qemu with swtpm to emulate TPM devices.

Example config with meta-tpm2 based swtpm in machine config:

 * image recipe depens on swtpm-native to get the native tools to PATH,
   same handling as qemu itself

do_testimage[depends] += "swtpm-native:do_populate_sysroot"

 * startup commands for swtpm daemon, note that swtpm
   socket file has 107 character limit and absolute paths to build environment
   will not work

QB_SETUP_CMD = " \
   test -d '${IMAGE_BASENAME}_swtpm' || ( mkdir -p '${IMAGE_BASENAME}_swtpm' && \
       swtpm_setup --tpmstate '${IMAGE_BASENAME}_swtpm' --tpm2 --pcr-banks sha256 ); \
   swtpm socket --tpmstate dir='${IMAGE_BASENAME}_swtpm' \
         --ctrl type=unixio,path='${IMAGE_BASENAME}_swtpm/swtpm-sock' \
         --log level=40 --tpm2 -t -d \
"

 * qemu startup command in machine config is configured enable swtpm device

QB_OPT_APPEND += "-chardev socket,id=chrtpm,path='${IMAGE_BASENAME}_swtpm/swtpm-sock' -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis-device,tpmdev=tpm0"

 * in this case, swtpm daemon stops automatically with qemu machine, but
   QB_CLEANUP_CMD could be used to kill a specific process and wipe
   temporary files

Now runqemu and testimage.bbclass can be used with swtpm.

(From OE-Core rev: d5c38964a4458aa31ec37810773ecc4f5d410dbe)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 10:16:31 +00:00
Jagadeesh Krishnanjanappa
80b0e933a0 qemuboot.bbclass: make sure runqemu boots bundled initramfs kernel image
The QB_DEFAULT_KERNEL is set to pick bundled initramfs kernel image
if the Linux kernel image is generated with INITRAMFS_IMAGE_BUNDLE="1".

This makes runqemu to automatically pick bundled initramfs kernel image
instead of explicitly mentioning bundled initramfs kernel image in
runqemu.

[YOCTO #14748]

(From OE-Core rev: 52371624313184e1a825519160c3833e282df8b9)

Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 10:16:31 +00:00
Khem Raj
f520268975 e2fsprogs: Do not use 64bit functions for largefile support
Using -D_FILE_OFFSET_BITS=64 already makes the normal function behave
like 64bit variants. Moreover it makes them portable across libc

Ensure that right lseek function is used with _FILE_OFFSET_BITS = 64

Refresh patches with devtool

(From OE-Core rev: 9f150d6bb4bda37e8ec58d576f3312c44fda654e)

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>
2022-12-21 10:16:31 +00:00
Khem Raj
3c7dfaaa04 btrfs-tools: Do not use 64bit functions for largefile support
Using -D_FILE_OFFSET_BITS=64 already makes the normal function behave
like 64bit variants. Moreover it makes them portable across libc

(From OE-Core rev: 478205aa80d613fef79045b9e526823f407cec77)

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>
2022-12-21 10:16:31 +00:00
Khem Raj
76bb16ff69 mdadm: Use _FILE_OFFSET_BITS to use largefile support
(From OE-Core rev: 5aabfacf7823b90fb61400b670989f77a89c7e5b)

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>
2022-12-21 10:16:31 +00:00
Khem Raj
f702fd113a libpciaccess: Do not use 64bit functions for largefile support
Using -D_FILE_OFFSET_BITS=64 already makes the normal function behave
like 64bit variants. Moreover it makes them portable across libc

(From OE-Core rev: 41da2fb965b31a6ee5d825cf799b14fcf99e70db)

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>
2022-12-21 10:16:31 +00:00
Khem Raj
0e2c1d3cfc acl: Enable largefile support by default
This ensures right flags are passed so enable it. Musl and decoupled
these APIs from _GNU_SOURCE and now are only available when
_LARGEFILE64_SOURCE macro is enabled

(From OE-Core rev: fa29c98302fcd765bcc0160ce5c2b8294de0d814)

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>
2022-12-21 10:16:31 +00:00
Khem Raj
abdc692e53 ltp: Fix largefile support
(From OE-Core rev: 1ba62a51787b5ce39354c39964a4a0f8177b3ffe)

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>
2022-12-21 10:16:31 +00:00
Khem Raj
987a17fa29 efivar: Replace off64_t with off_t
(From OE-Core rev: 0cb0755dd938583a06b7983dedf896315398a532)

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>
2022-12-21 10:16:31 +00:00
Khem Raj
16931f42d0 acpid: Fix largefile enabled build
(From OE-Core rev: e25a7717594f1536d5053a54540593970ef2f7e5)

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>
2022-12-21 10:16:31 +00:00
Khem Raj
337a23e0bd unfs3: Define off64_t in terms of off_t on musl
(From OE-Core rev: b096c469fe54132a9862ffff1daf3dedcfc63ec4)

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>
2022-12-21 10:16:31 +00:00
Khem Raj
38156e0785 pseudo: Remove 64bit time_t flags
pseudo traps syscalls and has intimate knowledge of them
and does not really depend on glibc interfaces to kernel

flags are added via TARGET_CC_ARCH therefore move the remove
operation from TARGET_CPPFLAGS to TARGET_CC_ARCH

(From OE-Core rev: e654cf03ba8f1f80ad75381f0ad666a282f6a27f)

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>
2022-12-21 10:16:31 +00:00
Khem Raj
dd097f6934 erofs-utils: Convert from off64_t to off_t
Ensure largefile macros are used to determine size of off_t and not the
explict 64bit version of functions and types

(From OE-Core rev: 135e45931a0a2ea9954cb2da13ce59b0b3f569ef)

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>
2022-12-21 10:16:31 +00:00
Ross Burton
6a68137928 at-spi2-core: disable API docs if x11 is disabled
The gtk-doc documentation doesn't build if X11 is disabled.

(From OE-Core rev: 42a39291c4de7d429760f76f8299dbac9c624572)

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>
2022-12-21 10:16:31 +00:00
Ross Burton
566d928f5f at-spi2-core: clean up x11 enabling
Use a single PACKAGECONFIG instead of a number of location conditionals.

(From OE-Core rev: 15bad54d61f9a9151dd4a2bace5d5feb3e7adc7a)

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>
2022-12-21 10:16:31 +00:00
Alexander Kanavin
3f79265a7d ovmf: update edk2-stable202208 -> edk2-stable202211
(From OE-Core rev: f59ac932a6114eb662109ba958e591c34c93801c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 10:16:31 +00:00
Alexander Kanavin
82855a1a84 ptest-packagelists.inc: correctly assign fast and slow tests
The execution times were checked from
https://autobuilder.yocto.io/pub/non-release/20221127-2/testresults/qemux86-64-ptest/core-image-ptest-all/log.do_testimage.40537.20221127010849
and ptests were moved both ways according to the same criteria:
more than 30 seconds or less.

openssl is dropped from fast tests, as it is also listed in slow
tests (which is correct).

With the rearrangement fast ptests altogether take about 420 seconds
on qemux86_64 with kvm.

m4 ptest was missing a depedency.

(From OE-Core rev: e15ad965f22fe14270274687eff9849256a74fec)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-21 10:16:31 +00:00
Marek Vasut
ace02cec70 systemd: Make importd depend on glib-2.0 again
It seems importd still requires glib-2.0, add the missing dependency.

(From OE-Core rev: 224cd8ca540a2c9d7d407a44dccd63f808c1ea15)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
d2c28dcbca gnupg: upgrade 2.3.7 -> 2.3.8
(From OE-Core rev: faf80d587849f181fc69b9a2924e8d44391c56c3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
f0ab429ca3 systemtap: upgrade 4.7 -> 4.8
(From OE-Core rev: e36500d0cd980c27ceecb0aec6d76b10ed6e2f2f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
0fcbd7e066 tzdata: update 2022d -> 2022g
(From OE-Core rev: 2394a481db1b41ad4581e22ba901ac76fa7b3dcd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
4eb149948f ghostscript: update 9.56.1 -> 10.0.0
Drop --without-jbig2dec as it is now required by pdf support
and jbig2dec library is in ghostscript's source tree.

(From OE-Core rev: 761a17b7beab248056b69b9c3d84b1ddc4d2082d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
ed8f8db84c ruby: update 3.1.2 -> 3.1.3
(From OE-Core rev: 402254a5f841520b132508c21465111d33b6eb1a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
9b7cef5fc2 ruby: merge .inc into .bb
(From OE-Core rev: d88ff809b2e78ee49d5da42bb08ff5244e6101af)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
c19dc06860 python3-dbusmock: update 0.28.4 -> 0.28.6
Convert to python_setuptools_build_meta.

(From OE-Core rev: d881cdba1271e8be24ec08b8b4488513a42e446d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
2061f9f15a libxcrypt: update PV to match SRCREV
When SRCREV was updated, only libxcrypt-compat was renamed to match,
but not libxcrypt proper.

(From OE-Core rev: 98c89359532778a894f50ddea1cc6ab922d6e562)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
5c8c46bd73 bluez: update 5.65 -> 5.66
(From OE-Core rev: 45686afe96bb42c24bfd4ab540ea44423a0f57c3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
853897f2f2 libxrandr: update 1.5.2 -> 1.5.3
(From OE-Core rev: 1ea52d72cc34a4da92e25d30c231b6cd07a2d7db)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
35b1873749 libxpm: update 3.5.13 -> 3.5.14
(From OE-Core rev: 0ccd1314f700b05266ad52f9b64e6c3208d999d7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
d4fa1b3ee6 libxdmcp: update 1.1.3 -> 1.1.4
(From OE-Core rev: 32e109bffa5cf0b318ac4c0469847bba955103ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
6d73fdbcc7 libnewt: update 0.52.21 -> 0.52.23
(From OE-Core rev: ff12622451f1f8580f928c6771cd82daa632071c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
7198387cd9 tcl: update 8.6.12 -> 8.6.13
(From OE-Core rev: 2a63074f948d9aaa5d7618f98318372a14dec6c3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
e514845b04 python3-poetry-core: update 1.3.2 -> 1.4.0
Upstream has changed the tarball and the dir inside it to poetry_core
(with underscore).

License-Update: formatting, copyright years.

(From OE-Core rev: b4a078944614b0e9f806486f33a3a71a01e8294c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
0f74e91a44 python3-numpy: fix upstream version check
Default regex is also considering numpy release candidates.

(From OE-Core rev: e2f81a955457fc50107ec9f0e2aea3641ed8a048)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Alexander Kanavin
04d2a394ea devtool/upgrade: correctly handle recipes where S is a subdir of upstream tree
'devtool modify' writes additional settings to workspace .bbappend so that this
can be handled correctly, but 'devtool upgrade' does not. This adds the missing
settings.

In particular, local files should not anymore mysteriously disappear from
SRC_URIs on upgrades.

(From OE-Core rev: 0817aa5537a8d7cc9591c53dfaa1d225f4c327f7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 19:48:00 +00:00
Bruce Ashfield
70c8d7c07b linux-libc-headers: add 6.x fetch location
The next libc-headers bumps will be in the 6.x series, so we
udpate our fetching list to handle that major version number.

(From OE-Core rev: ef19afdc80edc80d76dbbc8a5de5a5b994ff718d)

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>
2022-12-18 19:48:00 +00:00
Michael Opdenacker
70126f4f51 manuals: prepare 4.2 migration notes
(From yocto-docs rev: 9276628507233aef554450c807d8456a0eb00225)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
4849da20ff documentation/poky.yaml.in: update minimum python version to 3.8
Now required by Bitbake:
https://git.openembedded.org/bitbake/commit/?id=744310f360d2288ac2ef07745abc86852126b5b9

(From yocto-docs rev: 9f675b996f145349210adf4fea8e2e55f57c6c77)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
eb5042210c manuals: create references to buildtools
On the side, also simplify a reference to the section describing them.

(From yocto-docs rev: 0c13a7f9ccee4ddc9c6034d03f47625a09598cec)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
4925cd4168 ref-manual/system-requirements.rst: update buildtools instructions
- Stop mentioning the buildtools i586 environment setup file,
  no longer available.

- Remove trivial or redundant instructions.

(From yocto-docs rev: 589c7b22b8279ebc62a72106969fde2af92f8753)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
22e75ec79f ref-manual/resources.rst: improve description of mailing lists
- Mention docs@lists.yoctoproject.org
- Refer to the specific web page about all mailing lists,
  instead of just the website home page.

(From yocto-docs rev: b415769d73dde835ec204d70ae35be2a58251961)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
c1c672e7fa manuals: final removal of SERIAL_CONSOLE variable
This deprecated variable has been removed for good through
https://git.openembedded.org/openembedded-core/commit/?id=9d053af1fb570b4e3483de4ecd6827e1e0be61b7

(From yocto-docs rev: db22748d8a2bc4c53c6415537c772d2c49220aec)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
6846d4d00b manuals: define proper numbered lists
Using "#." instead of "1.", "2.", "3.", etc.

(From yocto-docs rev: 11c2585acd0fa6c330702af2359ce5a9e47cde1f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
474e071608 ref-manual/images.rst: fix unnumbered list
(From yocto-docs rev: 9a51f1ce0de9152d0cdca4bf1f67546fd6599448)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
766a44b8e3 manual: improve documentation about using external toolchains
- Remove the redundant FAQ entry about this topic,
  already covered in a specific section of the Development Tasks manual

- Document the TOOLCHAIN_LOCATION variable

- Expand both the Development Tasks manual and
  the TCMODE variable description using details from the FAQ entry.

- Mention the "meta-arm-toolchain" layer too.

(From yocto-docs rev: 53faa54a8e6311b4d3d41d96cb1a497d0f6502fb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
397586e4ae ref-manual: update references to release notes
Now part of the Yocto Project manual.

(From yocto-docs rev: fe23084f746f0959afbf7d4a49e00299e39fba09)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
c7b6c38469 ref-manual/resources.rst: fix formating
Simplify formating for better looking output.
For example, mosts paragraphs had only ther ":" character in boldface.

(From yocto-docs rev: 833ea5d06dd46e79b2d02752f2c41a4c3a54a2f9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
01e5d22507 manuals: fix double colons
Fixing double colons appearing alone on a line, while
they could be put at the end of the previous line.

Sometimes placing a note after the quoted text
to avoid such a situation. It's more natural too
not to have a note between the introduction text
and the quoted section.

(From yocto-docs rev: fb054622f5119444eb947fe580253f37e0d872c6)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
8b812b29c4 manuals: add missing SPDX license header to source files
(From yocto-docs rev: 86737cc4583f1ef43bda10033c801329ba0c8b81)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
f417d3274c manuals: add missing references to variables
[YOCTO #14508]
(From yocto-docs rev: 7878a21be8fb6c7a1ab88ae44aa5f7bf0079391a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
f3adc7a899 manuals: add reference to yocto-docs git repository to page footer
To make documentation sources easier to find.

(From yocto-docs rev: 99369e9aca3446a22d710c67f5fd5ace07b713f6)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Michael Opdenacker
f731bf972d ref-manual: add references to variables only documented in the BitBake manual
This makes the Yocto Project manual variable list and index more useful,
not missing any potentially useful variable.

The price to pay is that a reference to such variables now has to go through
the intermediate reference in the Yocto Project variable list, instead
of going straight to the Bitbake manual.

(From yocto-docs rev: 3d308812cd9aa906890a0f8562fc28c1cd8aaab6)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-18 10:41:21 +00:00
Joshua Watt
d35d403202 bitbake: bitbake: Convert to argparse
Converts the main bitbake program to use argparse instead of the
deprecated optparse.

The resulting Namespace returned by argparse should be equivalent to the
one returned from optparse; the only major difference is that the
positional "target" arguments are consumed by argparse and returned as
the "targets" property instead of an additional argument from
parse_args().

(Bitbake rev: bb2ea00274a594b7cc87a7cb0b165e9b28f6f3f4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 23:50:13 +00:00
Frank de Brabander
3c6753d03d bitbake: process: log odd unlink events with bitbake.sock
Log when the socket file already exists and is removed before
recreating a new socket.

Log when unlinking the socket file failed.

(Bitbake rev: cfd7c9899f988bab6d9fe7bbfbdb60603fb5ed34)

Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 23:50:13 +00:00
Quentin Schulz
caed08fe89 cairo: update patch for CVE-2019-6461 with upstream solution
Upstream went with something slightly different so let's update the
patch so we don't have to carry a patch that isn't going to be merged.

This patch is part of snapshot 1.17.6.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: 19eb1e388fbbe5bfb8462710c745f2bb5446b5b5)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 23:49:56 +00:00
Khem Raj
0d49d05c08 libpcre2: Upgrade to 10.42
10.41 regressed apps which were using pcre2posix.h without pcre2.h
mariadb is one such application in meta-oe which broke, this immediate
upgrade helps fixing these sort of apps. See [1] and [2]

[1] https://github.com/PCRE2Project/pcre2/releases/tag/pcre2-10.42
[2] cd8dc40b90

(From OE-Core rev: 33e231c5b1005c0cbd33f365b2a7f53e1bcb382d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Wang Mingyu <wangmy@fujitsu.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 23:49:56 +00:00
Ross Burton
6fcec10a9c meson: no need to rebuild on install
On install, Meson will rebuild targets which don't define their
dependencies, as it can't know if they need to be rebuilt or not.

This includes gtk-doc, which can be slow to run.  As we control the
execution of meson we know that a rebuild isn't required, so we can pass
--no-rebuild and speed up the install task.

(From OE-Core rev: da7e8bbb75bfb1a1c820b310196e510c05fc67c7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 23:49:56 +00:00
Marta Rybczynska
882c3e5875 efibootmgr: update compilation with musl
Since the commit 005b6aba89eaf1b79fdd7565dd028fdd9bbfcc7d
(efivar: add musl libc compatibility) efibootmgr compiles with
musl too. Update the variable to take that into account.

(From OE-Core rev: ca719c0c6b2946aa1f4fd89808fbd229fe2929c8)

Signed-off-by: Marta Rybczynska <marta.rybczynska@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 23:49:56 +00:00
Alex Kiernan
e55f3f911f rust: update 1.65.0 -> 1.66.0
Drop backported patch ENOTSUP constant for riscv32/musl.

Release notes:
  https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html

License-Update: Upstream has added Unicode Terms of Use license
  (Unicode-TOU).
(From OE-Core rev: e6a9e1ea7be842dcde109e952fbc7dc08d1577a2)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 23:49:56 +00:00
Alex Kiernan
e115fe5472 rust: Install target.json for target rustc
As part of the merging builds, installation of target.json was lost
causing `rustc` to fail on startup with:

  error: Error loading target specification: Could not find specification for target "aarch64-poky-linux-gnu". Run `rustc --print target-list` for a list of built-in targets

We know the full target specification, so just install it directly
rather than using the glob approach from previously.

Fixes: b9b0cd99cdc7 ("rust: Enable nativesdk and target builds + replace rust-tools-cross-canadian")
(From OE-Core rev: b187185ceecf1c852b1fdc47451d157a41962d69)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 23:49:56 +00:00
Ross Burton
9eb2b0bb7a gtk+3: port to Meson
GTK+ 3.24.36 will drop the autotools build, so get ahead of the curve
and switch to Meson.

The tarball is missing one meson.build file so add that explictly for
now.

(From OE-Core rev: f9b0930eab6cf89bbf80c565676c89997b610206)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 23:49:56 +00:00
Ranjitsinh Rathod
4a246e06cb curl: Correct LICENSE from MIT-open-group to curl
LICENSE for curl is set to MIT-open-group which is wrong and proper
license is 'curl'

I check below link and the line "Curl and libcurl are licensed under
the license below, which is inspired by MIT/X, but not identical." says
that the license is identical to MIT but actual license is identical
from the file "meta/files/common-licenses/curl"
Link: https://curl.se/docs/copyright.html

Also, I do not find the MIT-open-group license text in the entire
source-code

(From OE-Core rev: 34b228bd3a80a74bf4d84ef7ee362f4ab1e3a466)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 23:49:56 +00:00
Marek Vasut
728b86575f package_rpm: Fix Linux 6.1.0 perf 1.0 version mistranslation
With Linux 6.1.0 and perf 1.0-r9, a build which includes perf-dev fails due
to perf-dev depending on perf 6.6.1.0-r9 . This is because translate_vers()
operates on perf-dev and mangles its version. The following scenario occurs:

  ver=6.1.0-r9
  pv=1.0
  pkgv=6.1.0
  reppv=6.1.0

With Linux 6.1.0, a corner case is hit where pv is a substring of ver, which
yields this corrupted version 6.6.1.0-r9 . Example in python3:

  >>> "6.1.0-r9".replace("1.0", "6.1.0")
  '6.6.1.0-r9'
  >>> "6.0.13-r9".replace("1.0", "6.0.13")
  '6.0.13-r9'

The fix is to only replace pv with reppv in case pv is at the beginning
of ver , instead of replacing all occurences.

(From OE-Core rev: bf2096a43d56c2d633a4b6e3db9e4390da4be6e2)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 23:49:56 +00:00
Richard Purdie
07127e3b6e time64: Rename to a .inc file to match the others
I meant to do this whilst merging but messed up the patches. This
file is a .inc file and should match the others.

(From OE-Core rev: d9398dfb0866a5be9ed09ae15902606fe11da2d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 11:12:55 +00:00
Markus Volk
c52dd69c83 epiphany: use gcr3
(From OE-Core rev: 29582ff76ad7de73f6f059f0df4ea33928d1f0e9)

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>
2022-12-17 11:10:04 +00:00
Markus Volk
0dea8ef670 gcr: add recipe for gcr-4, needed to build with gtk4
(From OE-Core rev: 2dd272956f8a0450c998b584e27b75cfec00de22)

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>
2022-12-17 11:10:04 +00:00
Markus Volk
15bdcd1d59 gcr: rename gcr -> gcr3
gcr-3 recipe is still needed for gnome projects that stick to gtk+3, rename to gcr3.

(From OE-Core rev: d0ebe63698470fb3336cc02db698cafacedbd070)

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>
2022-12-17 11:10:04 +00:00
Markus Volk
2b275b425e gtk4: import recipe from meta-gnome
(From OE-Core rev: a383f7a0fd307ae26441e9c16b64bcee2583e82a)

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>
2022-12-17 11:10:04 +00:00
Markus Volk
0a95dfcab3 graphene: import from meta-oe
(From OE-Core rev: c23211c8369e100d04fe5c4c83fe0b1aa8a25a8c)

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>
2022-12-17 11:10:04 +00:00
Ola x Nilsson
f43393b37a time64.conf: Include to enable 64 bit time flags
(From OE-Core rev: 3aae5d1fd81b53d496da0287b29379b74bd5e8e1)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 11:10:04 +00:00
Ola x Nilsson
c7b64446cb insane: Add QA check for 32 bit time and file offset functions
Check for known symbols that should have been redirected to 64bit
variants when -D_FILE_OFFSET_BITS=64 and -D_TIME_BITS=64 are set.

(From OE-Core rev: 8e2af04f24443fad2040bb32e6033d49e3120517)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 11:10:04 +00:00
Richard Purdie
d7a10cf6f9 bitbake.conf: Add module function vardepsexclude entries
Now that bitbake can look into python module code variable and function
dependencies, there are a few extra basic variables we need to exclude.
This is done per function since it keeps the main exclusion list cleaner
and is also slightly faster.

(From OE-Core rev: 870c324d47f1d920fcb736e09fc6e857f24945c7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 08:52:28 +00:00
Richard Purdie
2b406a3174 bitbake: codeparser/data: Add vardepsexclude support to module dependency code
We need to be able to exclude dependencies from the python module
dependency code. Add support for the vardepexclude flag for these. It
only works from the configuration namespace rather than per recipe
for efficiency.

(Bitbake rev: 1aa672b01037fda4ca82f2c7e394783287c09ecd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 08:52:28 +00:00
Richard Purdie
f3bcd3c9a9 bitbake: ast/data/codeparser: Add dependencies from python module functions
Moving code into python modules is a very effective way to reduce parsing
time and overhead in recipes. The downside has always been that any
dependency information on which variables those functions access is lost
and the hashes can therefore become less reliable.

This patch adds parsing of the imported module functions and that dependency
information is them injected back into the hash dependency information.

Intermodule function references are resolved to the full function
call names in our module namespace to ensure interfunction dependencies
are correctly handled too.

(Bitbake rev: 605c478ce14cdc3c02d6ef6d57146a76d436a83c)

(Bitbake rev: 91441e157e495b02db44e19e836afad366ee8924)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 08:52:28 +00:00
Richard Purdie
a225aa3ec4 bitbake: siggen: Clarify which fn is meant
"fn" can mean different things in bitbake, we added support for class
extensions and then mutlticonfigs by extending it. In siggen, it generally
means that mc is prefixed to it and that it is a virtual filename.

Replace "fn" with "mcfn" in the code to make this clearer as if I'm getting
confused, everyone else likely is as well. "mcfn" is sometimes referred
to as taskfn as well but mcfn is probably the easiest to understand as the
taskname isn't included.

(Bitbake rev: e1c1139ab90f8da1b5036db11d943daefbe87859)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 08:52:28 +00:00
Richard Purdie
1a45c29ff1 bitbake: build/siggen: Rework stamps functions
The current method of passing either a task's datastore, or
dataCaches and a filename into the stamp functions is rather
horrible.

Due to the different contexts, fixing this is hard but we do control
the bitbake side of the API usage so we can migrate those to use other
functions and then only support a datastore in the public bb.build API
which is only called from task context in OE-Core.

(Bitbake rev: c79ecec580e4c2a141ae483ec0f6448f70593dcf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 08:52:28 +00:00
Richard Purdie
878de40a50 bitbake: siggen: Add dummy dataCaches from task context/datastore
One of the challenges in maintaining the code is that it sometimes uses
a datacaches structure and sometimes a datastore. Rather than continue
the current dual API madness, have the worker contexts create a dummy
datacaches structure with the entries we need. Whilst this does need to
be kept in sync with the real structure, that doesn't change and this
allows the code to be simplified.

With this new approach, we can unify the stamps dependency code again.

(Bitbake rev: c6d325fc9b53e9d588ab273ee3c2a99a70fba42c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 08:52:28 +00:00
Richard Purdie
2946c56b23 bitbake: bitbake: siggen/runqueue: Switch to using RECIPE_SIGGEN_INFO feature for signature dumping
Now that we have cache support for the taskdep/gendep/lookupcache data,
we can switch to use that cooker feature and skip the secondary reparse to
write the sig files. This does make the initial parse longer but means the
secondary one isn't needed.

At present parsing with the larger cache isn't optimal but we have plans
in place which will make this faster than the current reparse code being
removed here.

(Bitbake rev: 5951b5b56449855bc2a30146af65eb287a35fcef)

(Bitbake rev: 1252e5bce51ae912ecff9dcc354a371786ff2c72)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 08:52:28 +00:00
Richard Purdie
4754b1021e bitbake: siggen: Directly store datacaches reference
It is becomming clear the siggen needs access to our cache data but we
can't always obtain it in the contexts we need to. Add it directly,
meaning over time we should be able to simplify the APIs and stop
convoluting new ones!

(Bitbake rev: 6b213590ed0e77683cf7fbce6bbe9605ddecf3d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-17 08:52:28 +00:00
Richard Purdie
46fd76aa07 Revert "kernel-fitimage: reduce dependency to the cpio"
This reverts commit ef0d0734866505c1c6e0528a0423e7248afb3ff8.

We can't do this since the initramfs needs to use DEPLOY_DIR_IMAGE which isnt
ready until do_image_complete.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 23:49:48 +00:00
Patrick Williams
b03fd83fcb kernel-fitimage: reduce dependency to the cpio
In order to build a fitimage, we don't need the image to be "complete"
but we need the cpio portion of it built since the cpio is what ends
up inside the FIT.  By reducing the dependency to `do_image_cpio` we
are able to include an image's rootfs as the ramdisk for a FIT and
then bundle that FIT into a larger SPI flash layout.

(From OE-Core rev: ef0d0734866505c1c6e0528a0423e7248afb3ff8)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 23:31:40 +00:00
Khem Raj
e911886a91 gptfdisk: Enable largefile support functions
Ensures it builds/works fine when _LARGEFILE64_SUPPORT is disabled.

(From OE-Core rev: a3a5999ce4373cb81cd0adc7b8638a70eae41555)

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>
2022-12-13 23:31:40 +00:00
Khem Raj
514a3548cf rpcsvc-proto: Use autoconf knob to enable largefile support
(From OE-Core rev: 30d4fd04ebabb4b6bb4436254bfc4a245ee43034)

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>
2022-12-13 23:31:40 +00:00
Ross Burton
6aa9011ab4 gtk+3: upgrade 3.24.34 -> 3.24.35
The gtktypefuncs.c removal is obsolete as that file isn't in the tarball
anymore, so remove it.

However the wayland-scanner files are still in the tarball despite
efforts to stop this, so generalise the removal to ensure it covers all
files which may be affected.  Further investigation will be needed to
see if this is still an issue.

Rebase 0003-Add-disable-opengl-configure-option.patch.

(From OE-Core rev: cf5c5b4b83642ea44b21d29e7c59342666fbda6d)

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>
2022-12-13 23:31:40 +00:00
Ross Burton
8175ab8665 libepoxy: remove upstreamed patch
This patch was upstreamed in 6b09a8bc, 1.5.5 onwards.

(From OE-Core rev: 99b6e1ecb18d595e7b66344de882c1e1db6f35c3)

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>
2022-12-13 23:31:40 +00:00
Ross Burton
c9a6b51249 meson: always use meson subcommands
Invoking meson with just paths is a deprecated use of the binary and
causes warnings, so call 'meson setup' explicitly.

Whilst doing this cleanup, we can also call 'meson compile' and 'meson
install' instead of ninja.

(From OE-Core rev: b248cb1ada04f57a5c4590c7e5efa04f68bc8843)

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>
2022-12-13 23:31:40 +00:00
Ross Burton
cb8313a9b2 meson: drop redundant is_debianlike() patch
This patch disables is_debianlike() so that it always returns False in the
name of deterministic builds.  However, the caller default_libdir() then
looks at the host filesystem to decide if /usr/lib64 exists and will
return either lib or lib64, so it still isn't deterministic.

This is only used for the default libdir value and meson.bbclass
always passes an explicit --libdir, so this is moot.

(From OE-Core rev: af4200197948f4900761cb1db11680aeab286f92)

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>
2022-12-13 23:31:40 +00:00
Wang Mingyu
352a99611f xrandr: upgrade 1.5.1 -> 1.5.2
(From OE-Core rev: 3c39a7e7aa1cc60711dd5edfbcaf45254111fa8e)

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>
2022-12-13 23:31:40 +00:00
Wang Mingyu
fd83764c32 libxshmfence: upgrade 1.3.1 -> 1.3.2
Changelog:
configure: Use AC_SYS_LARGEFILE to enable large file support

(From OE-Core rev: 5f5765a924eaf3124ddf94c316838ba1fcad3117)

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>
2022-12-13 23:31:40 +00:00
Wang Mingyu
816f233253 libxkbfile: upgrade 1.1.1 -> 1.1.2
Changelog:
configure: Use AC_SYS_LARGEFILE to enable large file support

(From OE-Core rev: 71453674551365f310cd687eb233a711a1cf691d)

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>
2022-12-13 23:31:40 +00:00
Wang Mingyu
5207078b9e libxau: upgrade 1.0.10 -> 1.0.11
Changelog:
configure: Use AC_SYS_LARGEFILE to enable large file support

(From OE-Core rev: 0cf5429f1dec1b7e3390c6a16acbbac1af874d89)

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>
2022-12-13 23:31:40 +00:00
Wang Mingyu
c06035d693 libpng: upgrade 1.6.38 -> 1.6.39
Changelog:
==========
*  Changed the error handler of oversized chunks (i.e. larger than
   PNG_USER_CHUNK_MALLOC_MAX) from png_chunk_error to png_benign_error.
*  Fixed a buffer overflow error in contrib/tools/pngfix.
*  Fixed a memory leak (CVE-2019-6129) in contrib/tools/pngcp.
*  Disabled the ARM Neon optimizations by default in the CMake file,
   following the default behavior of the configure script.
*  Allowed configure.ac to work with the trunk version of autoconf.
*  Removed the support for "install" targets from the legacy makefiles;
   removed the obsolete makefile.cegcc.
*  Cleaned up the code and updated the internal documentation.

(From OE-Core rev: 19799cb50a00561b318cba1c8c20737f20e4a47f)

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>
2022-12-13 23:31:40 +00:00
Wang Mingyu
27499bd131 libpcre2: upgrade 10.40 -> 10.41
(From OE-Core rev: 5bd3375e823bf95f5110e59d56ce74df71d1cb57)

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>
2022-12-13 23:31:40 +00:00
Wang Mingyu
200790af7e libfontenc: upgrade 1.1.6 -> 1.1.7
Changelog:
configure: Use AC_SYS_LARGEFILE to enable large file support

(From OE-Core rev: baac35c74480315ca6f12627b1f7bd73036af50e)

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>
2022-12-13 23:31:40 +00:00
Robert Andersson
e8ff575d9b go-crosssdk: avoid host contamination by GOCACHE
By default GOCACHE is set to $HOME/.cache.

Same issue for all other go recipes had been fixed by commit 9a6d208b:
[ go: avoid host contamination by GOCACHE ]

but that commit missed go-crosssdk recipe.

(From OE-Core rev: e5fd10c647ac4baad65f9efa964c3380aad7dd10)

Signed-off-by: Robert Andersson <robert.m.andersson@atlascopco.com>
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>
2022-12-13 23:31:40 +00:00
Richard Purdie
77a9c9b66b bitbake: main/process: Add extra sockname debugging
We're struggling to understand how bitbake.sock can sometimes disappear
in live builds when we can't see where it could have been deleted.
This causes connection failures to the server and failed builds.

Add some extra debugging around the server log and client retry
log messages to give more information for the next time this issue
occurs.

(Bitbake rev: 376a516dc8c96727fd042ada65f803013601ee2d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 23:26:28 +00:00
Richard Purdie
9c36aef610 sanity: Update minimum python version to 3.8
Bitbake is moving to a minimum python version of 3.8, update OE-Core
to match to make things consistent.

(From OE-Core rev: cc05bc04156122fd6f918191a9cec7bc0392415e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-12 16:16:56 +00:00
Richard Purdie
7d67b63560 bitbake: bitbake: Bump minimum python version requirement to 3.8
Most of our older distros with python older than 3.8 already need buildtools
tarballs apart from Ubuntu 18.04. 3.8 allows us to fix a few things, tidy
code in places and is widely available or can be obtained with buildtools.
Therefore update our minimum version to 3.8.

(Bitbake rev: 744310f360d2288ac2ef07745abc86852126b5b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-12 16:16:56 +00:00
Richard Purdie
f329142a31 bitbake: build/siggen/runqueue: Drop do_setscene references
do_setscene was from a different era before our modern setscene
per task code. It hasn't been used for years so remove some old
obsolete references to it.

(Bitbake rev: ef72282298f7c4db74383c23bb0251dd06d3c6d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-11 23:21:27 +00:00
Richard Purdie
a40875b727 bitbake: siggen: Drop non-multiconfig aware siggen support
All siggens in common use should now support multiconfig, drop the
compatibility code.

(Bitbake rev: b36545b4df6d935ed312ff407d4e0474c3ed8d1a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-11 23:21:27 +00:00
Richard Purdie
d6eadc937a lib/sstatesig: Drop OEBasic siggen
We're now used to using hashes as part of the task hashes and the sstate code
relies on this. The older OEBasic hash approach therefore wouldn't work and
can be removed.

(From OE-Core rev: 3667e589ba16eb261cfd72c2b11429f482c239f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-11 23:20:14 +00:00
Alexander Kanavin
6257744d79 bitbake: fetch2/wget.py: correctly match versioned directories
When obtaining latest upstream versions, the code needs
to check if the existing tarball is in a versioned directory
(e.g. component-name/x.y/component-name-x.y.z.tar.gz) and
if it is, it needs to first obtain the list of all
such versioned directories and then check all of them by going
one step up in the directory hierarchy.

Existing code was returning a correct match when the component
name did not have numbers, e.g. a check on 'source/epiphany/43/'
would return 43, but was stopping too soon when the component
name itself had numbers ('source/libxml2/2.10/' would return libxml2).

This change ensures the last match is taken instead of the first.

Also, adjust the fetcher tests to check that versioned directories
are correctly traversed in this case (e.g. the step to go one level
up is taken and a new tarball is discovered in a different versioned
directory).

(Bitbake rev: b6601be22c6d776327acdcd1fa931400f41ac786)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-11 16:33:19 +00:00
Richard Purdie
91befcd1f3 poky/poky-tiny: Drop largefile mentions
largefile was made the default and the distro feature is no longer needed.
Drop the leftovers in poky.

(From meta-yocto rev: c5da2d28ed517fff4a32e3bbad4511a1a4bf19b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-11 16:32:27 +00:00
Mathieu Dubois-Briand
b9d661c6b2 dbus: Add missing CVE product name
(From OE-Core rev: 67b2db202834f1213bed3580badda2a67655ab7d)

Signed-off-by: Mathieu Dubois-Briand <mbriand@witekio.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-11 16:32:27 +00:00
Michael Opdenacker
0f25ef97e3 bitbake: bitbake-user-manual: add reference to bitbake git repository
In the HTML page footer.

(Bitbake rev: 897f238e5e34d3f8f23e3b7ac8a19ef8bb0aca22)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:22:11 +00:00
Marek Vasut
2ee1fdb840 bitbake: fetch2/git: Prevent git fetcher from fetching gitlab repository metadata
The bitbake git fetcher currently fetches 'refs/*:refs/*', i.e. every
single object in the remote repository. This works poorly with gitlab
and github, which use the remote git repository to track its metadata
like merge requests, CI pipelines and such.

Specifically, gitlab generates refs/merge-requests/*, refs/pipelines/*
and refs/keep-around/* and they all contain massive amount of data that
are useless for the bitbake build purposes. The amount of useless data
can in fact be so massive (e.g. with FDO mesa.git repository) that some
proxies may outright terminate the 'git fetch' connection, and make it
appear as if bitbake got stuck on 'git fetch' with no output.

To avoid fetching all these useless metadata, tweak the git fetcher such
that it only fetches refs/heads/* and refs/tags/* . Avoid using negative
refspecs as those are only available in new git versions.

Per feedback on the ML, Gerrit may push commits outsides of branches or
tags during CI runs, which currently works with the 'nobranch=1' fetcher
parameter. To retain this functionality, keep fetching everything in case
the 'nobranch=1' is present. This still avoids fetching massive amount of
data in the common case, since 'nobranch=1' is rare. Update 'nobranch'
documentation.

Reviewed-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
(Bitbake rev: d32e5b0ec2ab85ffad7e56ac5b3160860b732556)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:22:11 +00:00
Kasper Revsbech
89ccf603d8 bitbake: fetch2/wget: handle username/password in uri
In checkstatus() opener.open() is used to check if an artifact is available.
The check fails if the uri contains username password in the format:
"username:password@hostname..". Moreover, the checkstatus function already uses
the username from the "ud" object to craft a header, is username and password is
provided.

This fix ensure the uri in the Requests object used does not contain username as
password.

(Bitbake rev: 88350002d45e0aa85ecd5356da2c8d71e450641e)

Signed-off-by: Kasper Revsbech <kasper.revsbech.ext@siemensgamesa.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:22:11 +00:00
Richard Purdie
a9505a86fd bitbake: main/server: Add lockfile debugging upon server retry
We keep seeing server issues where the lockfile is present but we can't
connect to it. Reuse the lockfile debugging code from the server to
dump better information to the console from the client side when we
run into this issue. Whilst not pretty, this might give us a chance
of being able to debug the problems further.

(Bitbake rev: 22685460b5ecb1aeb4ff3436088ecdacb43044d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:22:11 +00:00
Richard Purdie
8aa083f842 bitbake: main: Add timestamp to server retry messages
We have timestamps in the server logs but we don't know which
UI messages correlate to them. Add some timestamps to the messages
which doesn't make them pretty but which might make it possible to
debug problems.

(Bitbake rev: a1a86f8c311cb1fc4f5562f1c77f82aa95141eee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:22:11 +00:00
Xiangyu Chen
cc63d80b94 openssh: remove RRECOMMENDS to rng-tools for sshd package
It appears that rngd is not needed as of linux-5.6 and later[1]
and should not be installed by default since the purpose of rngd
is to provide additional trusted sources of entropy.

We did some testing on real hardware, the result seems to support that
we no longer need rngd by default on kernel v5.6 and later.

Testing result as below:

1. observing the crng init stage.
 the "random: crng init done" always available before fs being mounted.

2. generating random number without rngd.
 testing command: dd if=/dev/random of=/dev/null status=progress
   on Marvell CN96xx RDB board, speed almost 20.4 MB/s without block
   on NXP i.mx6q board, speed almost 31.9 MB/s without block
   on qemu x86-64, speed almost 2.6MB/s without block

3. using rngtest command without rngd
 testing command: rngtest -c 1000 </dev/random
   on Marvell CN96xx RDB board:
      rngtest: input channel speed: (min=4.340; avg=135.364; max=146.719)Mibits/s
      rngtest: FIPS tests speed: (min=8.197; avg=69.020; max=72.800)Mibits/s
      rngtest: Program run time: 418771 microseconds

   on NXP i.mx6q board:
      rngtest: input channel speed: (min=96.820; avg=326.769; max=340.598)Mibits/s
      rngtest: FIPS tests speed: (min=15.090; avg=37.543; max=40.324)Mibits/s
      rngtest: Program run time: 570229 microseconds

   on qemu x86-64:
      rngtest: input channel speed: (min=37.769; avg=101.136; max=136.239)Mibits/s
      rngtest: FIPS tests speed: (min=10.288; avg=30.682; max=40.155)Mibits/s
      rngtest: Program run time: 836800 microseconds

4. observing sshd service.
  using "systemctl disable rng-tools" disable service and reboot system.
  system boot up normal, sshd service also start in normal time without
  block.

Reference:
[1] 30c08efec8

(From OE-Core rev: 868dfb46d96a27ec9041cb902fb769330277257d)

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>
2022-12-09 13:18:41 +00:00
Ross Burton
94c019d9c0 python3-cryptography: remove python3-tomli RDEPENDS
The test suite doesn't use tomli, so remove it.

(From OE-Core rev: 60c3c875e2547d636e55abd115c0c7fb23488379)

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>
2022-12-09 13:18:41 +00:00
Ross Burton
3910c4292a python3-hatchling: remove python3-tomli DEPENDS
Now that we have Python 3.11, hatchling will use the internal tomllib
instead of tomli.

(From OE-Core rev: f33168a18ddc9929c8e302937051fb6430047990)

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>
2022-12-09 13:18:41 +00:00
Alejandro Hernandez Samaniego
0cde767afc baremetal-image: Avoid overriding qemu variables from IMAGE_CLASSES
Since qemuboot is part of IMAGE_CLASSES via qemu.inc it is being
inherited before we set the QB_FOO variables.
Since our variables have conditional definitions and at that point
they've already been defined by qemuboot, we can no longer define
them in our class.

Move the IMAGE_CLASSES inherit to execute it after we set the
QB_FOO variables to fix booting via runqemu.

(From OE-Core rev: 8ed78ec262b2502dc3b673b24a868a3eec616a20)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:18:41 +00:00
Ross Burton
6de3b16cad python3-packaging: upgrade to 22.0
This has been ported from setuptools to flit_core, and now contains a
hand-written parser instead of using pyparsing.

(From OE-Core rev: cf4c11fe2e13ec63c08ded790e4d7b64ce94e4f2)

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>
2022-12-09 13:18:41 +00:00
Michael Opdenacker
f2c0153603 bitbake.conf: remove SERIAL_CONSOLE variable
This variable has been deprecated since version 2.6
Use SERIAL_CONSOLES instead.

(From OE-Core rev: 9d053af1fb570b4e3483de4ecd6827e1e0be61b7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:18:41 +00:00
Ross Burton
4ea8874a95 libxml2: add more testing
Backport more test cases fixes from upstream, and add runsuite to the
ptests.

(From OE-Core rev: a6de5fa28fc90e0184d3d86822d06de5d93bbc44)

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>
2022-12-09 13:18:41 +00:00
Richard Purdie
7458ad340f yocto-check-layer: Allow OE-Core to be tested
For unknown reasons we've never seemingly run the check layer script
against OE-Core itself. This isn't entirely straightforward as the core
layer is a bit of a special case, we can't for example compare signatures
against ourselve and we can't remove core from bblayers.conf.

Core does have distro, machine and software components too, in the case
of distro, our fallback default settings. Whilst the qemu machines could
be split into a seperate layer directory, core wouldn't then parse at all
standalone due to the lack of any machine so it seems a bit pointless to
do that.

These changes tweak the script to handle core's special cases, specifically
to allow distro and machine directories and to account for the README placed
a directory level higher than other layers.

(From OE-Core rev: ba312ed228507d05f280aeb96819d671b01400b8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:18:41 +00:00
Ola x Nilsson
1aae880d7d glibc: Add ppoll fortify symbol for 64 bit time_t
Patch so ppoll is properly redirected to it's 64bit time variant even
when source fortification is active.

(From OE-Core rev: 8cb7008090e98d990e7249b4ef723f65825915ae)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:18:41 +00:00
Alex Stewart
30cc89fd1b opkg: upgrade to version 0.6.1
Opkg 0.6.1 Changes:
- Opkg will no longer complain when trying to clean up the temporary
  directory, if the directory does not exist.
- Fixed a SEGFAULT when parsing package indexes with invalid `Size` or
  `Installed-Size` fields. These indexes will now produce a
  comprehensible error.
- Fixed an inconsistecy in .list generation where files would sometimes
  be entered with/without a trailing slash. The trailng slash should now
  always be removed.
- Fixed [a bug](https://bugzilla.yoctoproject.org/show_bug.cgi?id=10461)
  in package removal, where empty common directories would be left on
  disk, even after all owning packages were removed.

(From OE-Core rev: 037ff235fa8e369c0eac9f84cb82c9eaffba85f3)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:18:41 +00:00
Richard Purdie
9773050910 scripts/checklayer: Update to match bitbake changes
Bitbake additions for the addpylib API mean we need to update the parsing
function call to be clear we're parsing in configuration context.

(From OE-Core rev: ef7677dc90fac089f8b9f6da301cca022ed7284c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 11:54:39 +00:00
Richard Purdie
4d19594b8b devtool/friends: Use LAYERSERIES_CORENAMES when generating LAYERSERIES_COMPAT entries
It seems some layers want to subvert the intent of LAYERSERIES_COMPAT
so bitbake is going to have to become stricter about the values there.
To work with this, use LAYERSERIES_CORENAMES to generate the entries in
LAYERSERIES_COMPAT instead of the current magic LAYERSERIES_COMPAT_core
value which may not continue to work.

The downside to this is when migating between releases, people would
need to update devtool workspace layer.conf files. I guess you could
argue this is a feature!

(From OE-Core rev: 96ff9baa8ead57504f40f362ed3a4aaa776d1b58)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 11:15:47 +00:00
Richard Purdie
4901c9d471 base: Switch to use addpylib directive and BB_GLOBAL_PYMODULES
Since bitbake now supports an official method to inject python modules,
switch to it.

Anyone using OE_EXTRA_IMPORTS will need to adjust their code accordingly,
probably switching to their own module namespace.

Also switch to using BB_GLOBAL_PYMODULES to list the global modules
to import.

(From OE-Core rev: 1f56155e91da2030ee0a5e93037c62e1349ba89f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 11:15:47 +00:00
Richard Purdie
d0ea143156 bitbake: cookerdata: Ensure layers use LAYERSERIES_COMPAT fairly
Some layers think they're going to be 'clever' and copy the values from
another layer, e.g. using ${LAYERSERIES_COMPAT_core}. The whole point of
this mechanism is to make it clear which releases a layer supports and
show when a layer master branch is bitrotting and is unmaintained.

Therefore add some code to avoid people doing this. I wish we didn't have
to but...

(Bitbake rev: 6709aedccbb2e7ddbb1b2e7e4893481a7b536436)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 11:15:47 +00:00
Richard Purdie
42e8b2682f bitbake: parse: Add support for addpylib conf file directive and BB_GLOBAL_PYMODULES
For many years OE-Core has injected it's own python modules into the
python namespace using an immediate expansion of a variable in base.bbclass.
It also added all entries from BBPATH to sys.path.

We really need this to become a first class citizen of the langauge, this new
addpylib directive allows that. Usage is of the form:

addpylib <directory> <namespace>

The namespace is imported and if there is an attribute BBIMPORT, that
list of names is iterated and imported too.

This mirrors what OE-Core has done for a long time with one difference in
implmentation, sys.path is only appended to. This means later imported
namespaces can't overwrite an earlier one and can't overwrite the main
python module space. In practice we've never done that and it isn't
something we should encourage or support.

The new directive is only applied for .conf files and not other filetypes
as it only makes sense in that context. It is also only allowed in the
"base configuration" context of cookerdata since adding it at the recipe
level wouldn't work properly due to the way it changes the global namespace.

At the same time, move the list of modules to place in the global namespace
into a BB_GLOBAL_PYMODULES variable. It is intended that only the core layer
should touch this and it is meant to be a very small list, usually os and sys.
BB_GLOBAL_PYMODULES is expected to be set before the first addpylib directive.

Layers adding a lib directory will now need to use this directive as BBPATH
is not going to be added automatically by OE-Core in future. The directives are
immediate operations so it does make modules available sooner than the current
OE-Core approach.

The new code appends to sys.path rather than prepends as core did, as
overwriting python standard library modules would be a bad idea and naturally
encouraging people to collaborate around our own core modules is desireable.

(Bitbake rev: afb8478d3853f6edf3669b93588314627d617d6b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 11:15:47 +00:00
Ross Burton
f4ffba353e libxml2: upgrade 2.9.14 -> 2.10.3
Change ptest away from using the upstream Makefiles to manually running
the tests: they're not actually integrated with automake anyway so this
didn't gain us anything apart from patches we can't send upstream. Drops
the following patches:
- 0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch
- 0001-Port-gentest.py-to-Python-3.patch
- fix-execution-of-ptests.patch
- remove-fuzz-from-ptests.patch
- runtest.patch

Add a simple patch to install the test binaries via the Makefile:
- install-tests.patch

The Python module is built differently and a number of patches no longer
apply and appear to be redundant, remove:
- python-sitepackages-dir.patch

libxml-m4-use-pkgconfig.patch has been sent upstream now, mark as
backport.

Remove obsolete --without-docbook option.

Remove obsolete xml2Conf.sh packaging.

(From OE-Core rev: ec5f380a14246e31b2a1a12dda9fe2178b1e5f83)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:50:30 +00:00
Ross Burton
85ec78cc24 combo-layer: add sync-revs command
When starting to use combo-layer, or if someone else is using it too,
the local last_revision may be incorrect.

This command will forcibly update the last_revision config values to the
latest SHA on the remote branch that is tracked.

(From OE-Core rev: 2bb5d12ecd1b0273983f7c05699f34dd64b11c25)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:50:30 +00:00
Ross Burton
cee485d167 combo-layer: dont use bb.utils.rename
Bitbake may not be configured, and bb isn't imported anyway.

Instead just use os.rename(), and take the filename from the file object
instead of duplicating logic.

(From OE-Core rev: 528f4fb3683d048537604e4562ea758968060d62)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:50:30 +00:00
Ross Burton
713d0e531b combo-layer: remove unused import
(From OE-Core rev: ebfab6c3034d41252d19c6e1a0ba79072aa51146)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:50:30 +00:00
Michael Opdenacker
161faa7e7e bitbake: bitbake-user-manual: update references to Yocto Project manual
(Bitbake rev: 5d27c555f7e1cc2064a39a1ce862e09a399185f7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:49:53 +00:00
Frank de Brabander
79d689f5da bitbake: bin/utils: Ensure locale en_US.UTF-8 is available on the system
Get rid of the duplicate code and add extra check that the
locale en_US.UTF-8 is available on the system. This new helper
method is now located right above the method filter_environment()
which sets LC_ALL environment variable to 'en_US.UTF-8'.

[YOCTO #10165]

(Bitbake rev: a4ce040a6fd540a1cac52f808f909f9fcf8c961c)

Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:49:53 +00:00
Joshua Watt
2015bf3eb8 bitbake: cooker: Start sync thread a little earlier
Starts the sync thread slightly earlier to give it some extra time to
dump out the caches while the main process tears down the parsing
processes

(Bitbake rev: 105f2897b0618713b036fc0f7a6e0f3e78d1707a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:49:53 +00:00
Joshua Watt
1e7cb630c7 bitbake: cooker: Use event to terminate parser threads
Uses an event to terminate the parser threads instead of a queue. This
is not only simpler, but saves about 500ms on shutdown time

(Bitbake rev: 2aed34e1d4bf24bba6263f168ff31b55b5fbe982)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:49:53 +00:00
Richard Purdie
8fe5f307e2 bitbake: siggen/cache: Optionally allow adding siggen hash data to the bitbake cache
Being able to track siggen hash construction data can be useful for cache
debugging. For now, add an extra cache class which contains this information.
It can be enabled in the same way as the hob data cache through a feature flag
to cooker. This allows us to experiment with the data without carrying larger
patches around and ultimately may allow use to have a hash mismatch debugging
mode that is more easily enabled.

(Bitbake rev: 0736a8a03da8b774fafbd28f746bef4705378049)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:49:53 +00:00
Richard Purdie
c14d8b9b6b bitbake: cache/siggen: Simplify passing basehash data into the cache
The basehash data is really internal bitbake data and passing an object
directly is more efficient than creating and then extracting variables.

This will match the format of other data we may optionally wish to
store in the cache so more to the more efficient method. Nothing I
can see is using this data today (and nothing should be).

(Bitbake rev: e621093a1bf37cd75ede3fb77ab6845556870fc7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:49:53 +00:00
Richard Purdie
8a15a09b59 bitbake: data: Tweak code layout
Make a small change in the layout of the code in build_dependencies
which makes subsequent patches easier to read. No functionality change,
just moving the function definitions to the start of the function block.

(Bitbake rev: fff13b1e5e8397130b4378e0ba2301336ec651a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:49:53 +00:00
Ravula Adhitya Siddartha
f8d95fb622 linux-yocto/5.19: update genericx86* machines to v5.19.17
(From meta-yocto rev: 6f2a9e69586114b4dfb2fe7b1083882fa0370211)

Signed-off-by: Ravula Adhitya Siddartha <adhityax.siddartha.ravula@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:48:48 +00:00
Ravula Adhitya Siddartha
6b011b7f3e linux-yocto/5.15: update genericx86* machines to v5.15.78
(From meta-yocto rev: c8b1c6accc73baf8694e11b7834069481de2be18)

Signed-off-by: Ravula Adhitya Siddartha <adhityax.siddartha.ravula@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:48:48 +00:00
Xiangyu Chen
7967e2aa0c grub: backport patches to fix CVE-2022-28736
(From OE-Core rev: 278e1a0f679be813553b014544314041502a586a)

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>
2022-12-08 10:48:36 +00:00
Peter Marko
cc1c4506ba oeqa/selftest/externalsrc: add test for srctree_hash_files
(From OE-Core rev: 7b9728e5b8bdf1193c1304ec3beeca4b5bf8d2da)

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>
2022-12-08 10:48:36 +00:00
Peter Marko
f4d5ffd4d8 externalsrc: fix lookup for .gitmodules
Commit 0533edac27 broke
bitbake parsing when bitbake is executed from directory with existing .gitmodules
and the recipe in externalsrc does not have .gitmodules

The check needs to search for .gitmodules in sources path, not cwd.

iParsing recipes...ERROR: ExpansionError during parsing <path to recipe>
...
bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception CalledProcessError: Command '['git', 'config', '--file', '.gitmodules', '--get-regexp', 'path']' returned non-zero exit status 1.

(From OE-Core rev: 66ff3d1f65cd2e7f5319e98fa41f47a59b714c72)

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>
2022-12-08 10:48:36 +00:00
Joe Slater
b85e19d17b libarchive: fix CVE-2022-36227
Import patch applied to libarchive after the 3.6.1 release.

(From OE-Core rev: c5b4d3f621bc790c8b6a6a41c73bb2efad5fab5d)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:48:36 +00:00
Ross Burton
d9b5b8cb21 lib/buildstats: fix parsing of trees with reduced_proc_pressure directories
The /proc/pressure support in buildstats is creating directories in the
buildstats tree called reduced_proc_pressure, which confuses the parsing
logic as that cannot be parsed as a name-epoc-version-revision tuple.

Explicitly skip this directory to solve the problem.

(From OE-Core rev: 24f0331f0b7e51161b1fa43d4592b491d2037fe9)

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>
2022-12-08 10:48:36 +00:00
Ovidiu Panait
7c86d2d996 kernel.bbclass: remove empty module directories to prevent QA issues
Currently, allyesconfig test runs for x86_64 fail with:
ERROR: linux-yocto-5.19.17+gitAUTOINC+0cba9aa404_aaf4490d18-r0 do_package:
QA Issue: linux-yocto: Files/directories were installed but not shipped in any
package:
  /lib/modules/5.19.17/kernel/drivers/nvdimm

With CONFIG_NVDIMM_TEST_BUILD=m, an empty nvdimm directory is created during
modules_install, which triggers the QA issue.

Extend kernel_do_install() to also remove inner empty directories that might
get created by modules_install.

(From OE-Core rev: 7120b09a33af4c9a18063c0f2e51fb598697e39c)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:48:36 +00:00
Chen Qi
5bab8d0318 rm_work: adjust dependency to make do_rm_work_all depend on do_rm_work
For now, if we use rm_work and `bitbake core-image-minimal', some
recipes' WORKDIRs are not cleaned up, e.g., makedevs-native.

Adjust the dependency to make do_rm_work_all depend on do_rm_work
to solve this problem.

Below are the detailed explanation of why this would work.

Without this patch, the dependency chain is like:
[other deps] -> [do_rm_work] -+-> [do_build]
                              |
[do_rm_work_all] -------------+

With this patch, the depedency chain is like:
[other deps] -> [do_rm_work] -> [do_rm_work_all] -> [do_build]

Such dependency chain adjustment fixes the issue because do_rm_work_all
now depends on [other deps] and thus the [depends] of these [other deps].
Take core-image-minimal as an example. Before this adjustment,
do_rm_work_all does not have any relationship with do_rootfs, and we have
do_rootfs[depends] += "makedevs-native:do_populate_sysroot ..."
This essentially prevents 'recrdeptask' setting of do_rm_work_all extend
to makedevs-native. With this patch, the do_rm_work_all now depends
on do_rm_work which in turn depends on do_rootfs, and so do_rm_work_all's
recrdeptask could have effect on makedevs-native.

With this patch, all built recipes WORKDIR will be cleaned up with
a few expected exceptions such as kernel and qemu-helper-native.

(From OE-Core rev: b25cc45c9b39f79ba0a03c4556cb2e2431677b4e)

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>
2022-12-08 10:48:36 +00:00
Wang Mingyu
8ed9c90442 gnu-config: upgrade to latest revision
(From OE-Core rev: 699f33bba6aec19bbad9c1509896aa66544a4a72)

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>
2022-12-08 10:48:36 +00:00
Khem Raj
b526a9832e bluez5: enable position independent executables flag
texrels are generated while compiling on x86/clang because pic/pie flags
that are passed via bitbake do not make it everywhere evenly.
--enable-pie is default way of getting it enabled in bluez5
PIE is enabled by default which ensures that textrels are not generated

(From OE-Core rev: 804aa082e4c4fdd4881ff668f52790bea818eabb)

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>
2022-12-08 10:48:36 +00:00
Sandeep Gundlupet Raju
7c6f2bfc59 libdrm: Remove libdrm-kms package
libkms library is deprecated in 2.4.111 version. Hence remove
libdrm-kms package.

(From OE-Core rev: 3c250b743bce6cc63ff2949deea0adefe82d933c)

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 10:48:36 +00:00
Richard Purdie
9e2e0e73a4 qemu: Ensure libpng dependency is deterministic
If the host has libpng, because of the way we handle the GL dependency in qemu,
it can cause determinism issues. Add a specific PACKAGECONFIG entry for libpng
to avoid this (and the associated autobuilder/uninative glibc symbol mismatch
failures).

(From OE-Core rev: 34afdd0bf5e2810d440bcd378ba1023159c2b2d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-08 09:31:10 +00:00
Alexander Kanavin
af4284d39d python3targetconfig.bbclass: use PYTHONPATH to point to the target config
There is no need to patch native python so that it looks in the target
sysroot; the same can be achieved with just an environment variable.

(From OE-Core rev: c9617c03bceee54dc540318cada392799b137bd5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 14:56:54 +00:00
Alexander Kanavin
990af746c2 python3: use the standard shell version of python3-config
There is really no reason why we can't: it only needs to be available
in two versions (native/target), and the correct one can be picked
via PATH priority order.

This eliminates two un-upstreamable patches, one of which relies
on soon to be removed distutils.

(From OE-Core rev: d0145ead0f80ba4bde8e24617a8725f38eda8339)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 14:56:54 +00:00
Ross Burton
3c499e21f4 build-appliance-image: Update to master head revision
Signed-off-by: Ross Burton <ross.burton@arm.com>
2022-12-07 13:34:25 +00:00
Wang Mingyu
dc9f64cc66 wayland-protocols: upgrade 1.28 -> 1.31
(From OE-Core rev: db7496555d6ba9a7110f92452c7a04d8c19855db)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
dbf0c69e73 xz: upgrade 5.2.7 -> 5.2.9
Changelog:
=========
 * liblzma:

     - Fixed an infinite loop in LZMA encoder initialization
       if dict_size >= 2 GiB. (The encoder only supports up
       to 1536 MiB.)

     - Fixed two cases of invalid free() that can happen if
       a tiny allocation fails in encoder re-initialization
       or in lzma_filters_update(). These bugs had some
       similarities with the bug fixed in 5.2.7.

     - Fixed lzma_block_encoder() not allowing the use of
       LZMA_SYNC_FLUSH with lzma_code() even though it was
       documented to be supported. The sync-flush code in
       the Block encoder was already used internally via
       lzma_stream_encoder(), so this was just a missing flag
       in the lzma_block_encoder() API function.

     - GNU/Linux only: Don't put symbol versions into static
       liblzma as it breaks things in some cases (and even if
       it didn't break anything, symbol versions in static
       libraries are useless anyway). The downside of the fix
       is that if the configure options --with-pic or --without-pic
       are used then it's not possible to build both shared and
       static liblzma at the same time on GNU/Linux anymore;
       with those options --disable-static or --disable-shared
       must be used too.

 * New email address for bug reports is <xz@tukaani.org> which
   forwards messages to Lasse Collin and Jia Tan.

(From OE-Core rev: 56f5941bec3ae7f8f2966300a82c83ce8ebb9265)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
41279595a4 usbutils: upgrade 014 -> 015
Changelog:
==========
  usb-devices: list the root devices in numerical order
  usb-devices: use 'local' variable type to handle recursion
  lsusb: remove unused wireless check
  lsusb: remove wireless descriptor information
  usb-devices: fix field width on device speed field
  lsusb: fix up Midi Device specification devices
  Fix an runtime error reported by undefind sanitizer
  lsusb: Improve status display for SuperSpeedPlus hubs
  lsusb-t: Fix recursive sorting on child devices.

(From OE-Core rev: 2626db8ab4cc96625915c3202c3ab0d59ee7a7fe)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
727fc23e46 texinfo: upgrade 7.0 -> 7.0.1
dont-depend-on-help2man.patch
refreshed for 7.0.1

(From OE-Core rev: 96ba985da85bbdb5acadbbd82164f3953834009b)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
98d1d0ba78 swig: upgrade 4.1.0 -> 4.1.1
(From OE-Core rev: 4e4222450668484eb1a858021841306a59ca27bb)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
10bed5905b stress-ng: upgrade 0.14.06 -> 0.15.00
(From OE-Core rev: a8def141d674c2495cadb35d39771b8daabd4caa)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
ccba52147d sqlite3: upgrade 3.39.4 -> 3.40.0
(From OE-Core rev: 4739495b806ee2d82576619511cf72de7feecd67)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
680bd85b0f shaderc: upgrade 2022.3 -> 2022.4
Changelog:
==========
 - Update to Glslang 11
 - Update SPIRV-Tools, SPIRV-Headers dependencies
 - Add Cmake BUNDLE DESTINATION option for target install
 - The code coverage build is no longer being tested

(From OE-Core rev: d02220516fa7a853aee587742ada829fdb50fb9a)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
7937c7be89 pciutils: upgrade 3.8.0 -> 3.9.0
configure.patch
refreshed for 3.9.0

Changelog:
==========
* We decode Compute Express Link (CXL) capabilities.
* The tree mode of lspci is now compatible with filtering options.
* When setpci is used with a named register, it checks whether
  the register is present in the particular header type.
* Linux: The intel-conf[12] back-ends prefer to use ioperm() instead
  of iopl() to gain access to I/O ports.
* Windows: We have two new back-ends
  One uses the NT SysDbg interface, the other uses kldbgdrv.sys
  (which is a part of the Microsoft WinDbg tool).
* Windows: We support building libpci as a DLL. Also, Windows
  binaries now include meta-data with version.
* Hurd: The Hurd back-end works again.
* mmio-conf1(-ext): Added a new back-end implementing the intel-conf1
  interface over MMIO. This is useful on some ARM machines, but it
  requires manual configuration of the MMIO addresses.
* As usually, updated pci.ids to the current snapshot of the database.

(From OE-Core rev: 8a784f5aa7ceec1866ef12f2bedf4e8b4e4f269f)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
ce8970cdbf patchelf: upgrade 0.16.1 -> 0.17.0
Changelog:
==========
 fix pagesize on ia64
 write out replace sections in original order
 patchelf: correct page size for sparc64/sparc32
 update vendored elf file
 add workaround for readelf from binutils 2.30
 make objdump/objcopy/readelf configurable and respect cross-compiling
 build patchelf on windows

(From OE-Core rev: 8f7af3802d73c81af355e245cc057edc8cf1cd63)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
ac74bdb723 libxcrypt-compat: upgrade 4.4.30 -> 4.4.33
Changelog:
==========
* Fix -Werror=sign-conversion in lib/alg-yescrypt-platform.c.
  With commit 894aee75433b4dc8d9724b126da6e79fa5f6814b we introduced some
  changes to huge page handling, that show this error when building with
  GCC v12.2.1, and thus need a small fix.

(From OE-Core rev: 6918477ad121f9c7335c661433a909e948f66d51)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
8f52b22d40 glib-2.0: upgrade 2.74.1 -> 2.74.3
Changelog:
===========
* Fix regression in type checking 'g_str_equal()' from C++ projects (#2820)

* Bugs fixed:
  - #2820 g_str_equal: New macro version breaks compilation in C++ projects
  - !3096 Backport !3094 "gstrfuncs: Fix regression in C++ types accepted by
    g_str_equal()" to glib-2-74

(From OE-Core rev: 148d1492314a73731048a74d2561ec19eefe369c)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
48947d3345 mpfr: upgrade 4.1.0 -> 4.1.1
Changelog:
=========
- Bug fixes (see <https://www.mpfr.org/mpfr-4.1.0/#fixed> and/or the
  ChangeLog file), in particular for macros implementing functions.
- Improved manual formatting.

(From OE-Core rev: f733eddc428cf9537f97cb91025b73dd1fdea932)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
ba1bead87a libxft: upgrade 2.3.6 -> 2.3.7
(From OE-Core rev: cd434a24e00d7cae4b35e99e9e5bcd465a99d47c)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
ee7aaed61a libinput: upgrade 1.21.0 -> 1.22.0
Changelog:
==========
 CI: prettify the include of templates
 CI: remove one occurrence of fedora instead of distro.name
 CI: make freebsd slightly more in line with others
 CI: remove unused test
 CI: do not retry the qemu runs
 CI: rely on b2c to start qemu tests
 CI: include systemd-udev in the fedora image
 CI: start a full systemd environment before running the testsuite
 CI: in b2c, compile on the host, then test in qemu
 quirks: update quirks for Lenovo IdeaPad Duet 3
 quirks: add Lenovo Legion 7 keyboard
 libwacom: fix warnings building without libwacom
 tablet: check libevdev_get_abs_info() return value
 tablet: avoid errors calling libevdev_get_abs_info()
 meson.build: always set HAVE_GTK_WAYLAND
 tools: hide debug-gui help when building with -Ddebug-gui=false
 debug-gui: avoid locking pointer twice
 util: use ck_assert_ptr_eq() instead of ck_assert_ptr_null()
 touchpad: add escape and asterisk to the DWT blacklist
 libinput 1.22.0
 quirks: add quirks for Acer Spin 513 (Lazor)
 quirks: add generic quirks for ARM based chromebooks
 quirks: add volume rocker quirk for Lenovo IdeaPad Duet 3i
 quirks: Add quirks for Surface Laptop Studio touchpad
 quirks: Add quirks to improve tablet-mode on the Surface Laptop Studio
 gitlab CI: drop the manual meson to junit conversion
 meson.build: drop listing of header files from compilation targets
 meson.build: fix build without Wayland
 gitlab CI: dnf remove gtk4-devel for the no-debug-gui deps job
 CODING_STYLE: update with a better description for variable assignments
 evdev: fix a tab vs space indentation issue
 doc/user: minor rewording of the pointer accel profile list
 gitlab ci: drop EOL'd ubuntu 21.10
 tools: add missing dwtp option setting
 evdev: remove duplicate "device is a switch" message
 gitlab-ci: export MESON_TESTTHREADS so meson actually sees it
 gitlab-ci: explicitly call "meson setup" to improve readability
 gitlab-ci: add commandline options to the meson-build.sh script
 CI: drop the job count for the valgrind test suite to 2
 filter: a few whitespace fixes and extra comments
 filter: fix the mix of normalized vs device coordinates
 filter: remove an unnecessary layer of indirection
 filter: constify the tracker API
 filter: localize a few variables
 evdev: rename post_trackpoint_scroll to post_button_scroll
 filter: constify the interfaces and make them static
 filter: don't normalize the const filter approach
 evdev: use filter_dispatch_constant() for button scrolling
 evdev: use filter_dispatch_constant() for the lenovo trackpoint "wheel"
 filter: don't normalize the speed again in the default mouse filter
 filter: apply the same factor for constant motion as for normal motion
 filter: add a flat trackpoint accel
 gitlab CI: don't install valgrind, it's already in the template
 gitlab CI: update freebsd to 13.1
 gitlab CI: pre-install all packages we need
 Fix Framework quirk so it wirks with 12 gen intel
 util: return the number of elements from strv_from_string
 meson: use install_emptydir to create directory
 test: exclude the two high-delay debounce tests from the valgrind CI run

(From OE-Core rev: c98741ad587b7f13ada82efc7871e8ea3b1c7edb)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
a05b95e382 dropbear: upgrade 2022.82 -> 2022.83
0007-Fix-X11-build-failure-use-DROPBEAR_PRIO_LOWDELAY.patch
removed since it's included in 2022.83

Changelog:
==========
- Disable DROPBEAR_DSS by default
- Added DROPBEAR_RSA_SHA1 option to allow disabling sha1 rsa signatures.
- Add option for requiring both password and pubkey (-t)
- Add 'no-touch-required' and 'verify-required' options for sk keys
  DROPBEAR_SK_KEYS config option now replaces separate DROPBEAR_SK_ECDSA
  and DROPBEAR_SK_ED25519 options.
- Add 'permitopen' option for authorized_keys to restrict forwarded ports
- Added LTM_CFLAGS configure argument to set flags for building
  bundled libtommath. This also restores the previous arguments used
  in 2020.81 (-O3 -funroll-loops). That gives a big speedup for RSA
  key generation, which regressed in 2022.82.
  There is a tradeoff with code size, so -Os can be used if required.
- Add '-z' flag to disable setting QoS traffic class. This may be necessary
  to work with broken networks or network drivers, exposed after changes to use
  AF21 in 2022.82
- Allow overriding user shells with COMPAT_USER_SHELLS
- Improve permission error message
- Remove HMAC_MD5 entirely

(From OE-Core rev: 99759005f18f0533717696729978d8dc5bf4ad16)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
15dd267bf5 ccache: upgrade 4.7.2 -> 4.7.4
(From OE-Core rev: e8f98373951b6de5f0e24b20acecf42ca77f775a)

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>
2022-12-06 15:23:18 +00:00
Wang Mingyu
0a9ee997e2 bind: upgrade 9.18.8 -> 9.18.9
Changelog:
===========
  Fix a crash that could happen when you change
  a dnssec-policy zone with NSEC3 to start using
  inline-signing. [GL #3591]

  Don't trust a placeholder KEYDATA from the managed-keys
  zone by adding it into secroots. [GL #2895]

  Fixed a race condition that could cause a crash
  in dns_zone_synckeyzone(). [GL #3617]

  Don't enforce the jemalloc use on NetBSD. [GL #3634]

  Fix an inheritance bug when setting the port on
  remote servers in configuration. [GL #3627]

  Fix a resolver prefetch bug when the record's TTL value
  is equal to the configured prefetch eligibility value,
  but the record was erroneously not treated as eligible
  for prefetching. [GL #3603]

  Always call dns_adb_endudpfetch() after calling
  dns_adb_beginudpfetch() for UDP queries in resolver.c,
  in order to adjust back the quota. [GL #3598]

  Fix a startup issue on Solaris systems with many
  (reportedly > 510) CPUs. Thanks to Stacey Marshall from
  Oracle for deep investigation of the problem. [GL #3563]

  rpz-ip rules could be ineffective in some scenarios
  with CD=1 queries. [GL #3247]

  The RecursClients statistics counter could overflow
  in certain resolution scenarios. [GL #3584]

  Less ceremonial UNEXPECTED_ERROR() and FATAL_ERROR()
  reporting macros. [GL !6914]

  Fix a couple of bugs in cfg_print_duration(), which
  could result in generating incomplete duration values
  when printing the configuration using named-checkconf.
  [GL !6880]

  Refactor the isc_httpd implementation used in the
  statistics channel. [GL !6879]

(From OE-Core rev: e57fe26b3f85ebfabdc8b574caa5c97602e4d771)

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>
2022-12-06 15:23:18 +00:00
Khem Raj
a6eae0c31c xkeyboard-config: Extend to build native package
Needed by gtk4

(From OE-Core rev: bfbf71436751038c7e8a377469cc54d46d58986f)

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>
2022-12-06 15:23:18 +00:00
Khem Raj
82bd831747 iso-codes: Extend to build native packages
Needed by gtk4

(From OE-Core rev: fa5fca5f447478abbe5efd47a08b15cb1bed7700)

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>
2022-12-06 15:23:18 +00:00
Khem Raj
544668c208 libxkbcommon: Extend to build native package
This is needed by gtk+4 recipe

(From OE-Core rev: f26e9291447dc3b67b6e1a530c05afbd0e83ef6b)

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>
2022-12-06 15:23:18 +00:00
Alex Stewart
a56db5d877 lsof: add update-alternatives logic
Some distributions (NI LinuxRT) provide both busybox-lsof and
full-featured lsof implementations. When users install the full-featured
lsof package, the full-binary fails to replace the bbox-binary in PATH,
because `lsof` contains no update-alternatives logic.

Inherit the update-alternatives bbclass and assert that the
full-featured lsof package has higher priority than the busybox
implementation.

Co-Authored-By: Kyle Roeschley <kyle.roeschley@ni.com>
(From OE-Core rev: e2893fa692a6e91eee09fc04c8c03fe27c718a58)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-06 15:23:18 +00:00
Carlos Alberto Lopez Perez
8bd4aa73db xwayland: libxshmfence is needed when dri3 is enabled
* The build error happens already at configure time:

| meson.build: ERROR: Problem encountered: DRI3 requested, but xshmfence not found

(From OE-Core rev: 451fe4a067432b432b9cd38d2fc78072f6ce5421)

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-06 15:23:18 +00:00
Khem Raj
59929b836f pseudo: Disable LFS on 32bit arches
pseudo overrides certain libc functions which are aliases when LFS64 is
enabled. In anycase pseudo may not be of much use on 32bit systems

(From OE-Core rev: 9e5ec22183a8b0f16817fd3dd2e3b45b292a3a09)

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>
2022-12-06 15:23:18 +00:00
Chen Qi
145f3d2702 bc: extend to nativesdk
bc is needed for compiling kernel modules, more specifially
whenr running `make scripts prepare'.

In linux-yocto.inc, we have bc-native in DEPENDS. But we will
need nativesdk-bc in case we compile a kernel module inside
SDK.

(From OE-Core rev: 95b5c89066baccb1e64bfba7d9a66feeeb086da9)

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>
2022-12-06 15:23:18 +00:00
Frank de Brabander
241c7b023f bitbake: README: Improve explanation about running the testsuite
Explain how to run the testsuite clear enough so no external
documentation is required.

(Bitbake rev: 51cf7cf12d23b757aa49f428a256fb3d3c865f6d)

Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-05 22:36:55 +00:00
Richard Purdie
bfa318a8a9 oeqa/selftest/tinfoil: Add test for separate config_data with recipe_parse_file()
We've seen two different regressions in this API since it is used by
layer-index but not be the core code. Add a test for it to try and
ensure we don't break it again.

(From OE-Core rev: b07de5de43ec9c9a2c5d496a64940ccdc5b47cf8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-05 22:28:13 +00:00
Chen Qi
1ba76de20b psplash: consider the situation of psplash not exist for systemd
In current psplash framework, the psplash might not exist at all.
For example, in case DSITRO is set to nodistro, the psplash does
not exist.

In our psplash recipe, we have:
SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default"
This variable is parsed to if psplash-poky-img.h exists, a package
named psplash-default is created and is added to RDEPENDS:${PN}.

We can see that the psplash-poky-img.h resides in meta-poky,
and in psplash_git.bbappend file in meta-poky, we have:
FILESEXTRAPATHS:prepend:poky := "${THISDIR}/files:"
So this file is only available in case poky distro is used.

To fix this issue, add condition check in the corresponding systemd
services.

(From OE-Core rev: 7a62ff9ed39c179d2b9b0c40f4f8423ced413063)

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>
2022-12-05 22:28:13 +00:00
Alexey Smirnov
f735cd76e0 classes: make TOOLCHAIN more permissive for kernel
Currently TOOLCHAIN is strictly set to gcc in kernel-arch.bbclass.
And this prevents any TOOLCHAIN changes for any kernel recipe.
This change makes TOOLCHAIN configurable as usual.

(From OE-Core rev: be1634fc35dcc81f0301d942064a6eed584e0704)

Signed-off-by: Alexey Smirnov <pyih.soft@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-05 22:28:13 +00:00
Alexander Kanavin
01c2243c10 ptest-packagelists.inc: do not run valgrind ptests on 32 bit x86
Valgrind build itself with -mpreferred-stack-boundary=2 on that
target (and the tests expect that). On the other hand, we enable
SSE instructions, which expect things to be aligned on 16 byte
boundary (e.g. -mpreferred-stack-boundary=4). This won't be
reported at compile time and results in crashes at runtime, e.g.
vgdb simply does not work at all and crashes out immediately.
I am not sure how to resolve that, or whether we even should,
but the issue is reported here:
https://bugs.kde.org/show_bug.cgi?id=462553

(From OE-Core rev: 9896fc1694c66d827383e385f1954d751b3e7c65)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-05 22:28:13 +00:00
Alexander Kanavin
b0351d6172 python3: fix tests on x86 (32 bit)
(From OE-Core rev: 8de9d28a57cae405dd76aa2bca7a81507718817d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-05 22:28:13 +00:00
Alexander Kanavin
644914efa8 glibc-tests: correctly pull in the actual tests when installing -ptest package
The tests are packaged into the main glibc-tests package which is fine,
but then glibc-tests-ptest package needs to depend on that.
Which is what this commit addresses.

(From OE-Core rev: d37c2d428b09b9d0cbb875f083c6a1e9883a7fed)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-05 22:28:13 +00:00
Wang Mingyu
7adc4853e5 btrfs-tools: upgrade 6.0.1 -> 6.0.2
Changelog:
==========
* fixes:
   * resize cancel did not work in some cases
   * fix fileattr stream command format and add workaround when it cannot be applied
   * properly handle degraded raid56 reads
   * fi defrag: fix verbosity, don't print file names by default
   * receive: fix silent data loss after fall back from encoded write
* fi mkswapfile: new command to create a formatted swapfile in one go

(From OE-Core rev: af002ebd984efa254fe168895430cdb5d4cf23f9)

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>
2022-12-05 22:28:12 +00:00
Qiu, Zheng
712c16485a vim: upgrade 9.0.0820 -> 9.0.0947
Includes fixes for CVE-2022-4141
https://nvd.nist.gov/vuln/detail/CVE-2022-4141

For a short list of important changes, see:
https://www.arp242.net/vimlog/

(From OE-Core rev: 160f459febc7fb36cc0fe85c63eb26780ace3bfd)

Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-05 22:28:12 +00:00
Ryan Eatmon
058def277e go: Update reproducibility patch to fix panic errors
Based on a discussion on the mailing list [1], there are panic
errors that occur on a few platforms caused by the patch.  We
cannot simply remove the original patch due to the
reproducibility issues that it addresses, so this patch on the
original patch fixes the cause of the panic errors.

The previous version of this patch was a little too aggressive
in cleaning up the environment.  Some of the variables impacted
by the filerCompilerFlags() function require at least one value
to remain in the array.  In this case, the values for ccExe,
cxxExe, and fcExe require a value or later code that access
them result in a panic related to accessing a value out of range.

This updated patch adds a flag that requires keeping the first
value so that at least one thing remains and the assignments
for the Exes set that flag to true.  The first item in the
array should be the executable name, so leaving it should be
safe.

I have run the oe-selftest and everything passed in my setup.

There is a bug report [2] filed for the issue that this patch
addresses.

[YOCTO #14976]

[1] https://lists.openembedded.org/g/openembedded-core/topic/94022663
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14976

(From OE-Core rev: 9eaa3a813555dd016a65be63a258f9c0b548a115)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-05 22:28:12 +00:00
Mikko Rapeli
891dfba7a0 dev-manual/runtime-testing.rst: fix oeqa runtime test path
It's "runtime/cases" in master and kirkstone.
If layer specific tests are in "runtime" directory,
they will not be found.

(From yocto-docs rev: 8d0d56cea5373c928feaaba316038c84130b52e7)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:20:29 +00:00
Michael Opdenacker
0825238c3d dev-manual/sbom.rst: minor corrections
(From yocto-docs rev: 56bf7a3e521e7368e620685354aa89f540bb7564)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:20:29 +00:00
Michael Opdenacker
945c669138 manuals: split dev-manual/common-tasks.rst
A 500 KB source file is always harder to manage,
and can have section title conflicts.

So, the "Common Tasks" document is gone and all
its constituents are moved up one level.
You now have 40 chapters in the Development Tasks Manual.

(From yocto-docs rev: 8a45bc469411410020b8e688c137395fcaf3761b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:20:29 +00:00
Chee Yang Lee
6fe3143800 migration-guides: add release-notes for 4.1.1
(From yocto-docs rev: 15140d5f53035bc6276fb890d89e8c2513e832da)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:20:29 +00:00
Michael Opdenacker
bbbe55c555 manuals: simplify .gitignore files
Remove obsolete and unnecessary ignores.
Just found one .pyc file in documentation/sphinx/__pycache__,
so ignored that directory.

(From yocto-docs rev: 887ca562eb6f79674825a06c0fe2e8108fb7c8c4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:20:29 +00:00
Michael Opdenacker
92bb48d336 ref-manual/classes.rst: remove reference to sip.bbclass
Removed in version 2.2

(From yocto-docs rev: ff2ad887bcac5dd209ce781488e1ca73c43e148b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:20:29 +00:00
Michael Opdenacker
4d01625794 manuals: fix paragraphs with the "inherit" word
Nothing wrong with this word, but instances of "inherit"
were looked for while looking for class names without references.
Fixing alignment and sometimes syntax.

(From yocto-docs rev: c418c645a360e74ebb91765a3041336f03097e0d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:20:29 +00:00
Michael Opdenacker
55621c31f1 manuals: add missing references to classes
Sometimes fixing line length in modified paragraphs too.

[YOCTO #14508]
Reported-by: Quentin Schulz <foss@0leil.net>
(From yocto-docs rev: 885b60f5540849bf19240a01a77efce1d1b5d9f0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:20:29 +00:00
Atanas Bunchev
7ecd9877e6 qemu.rst: slirp port forwarding details
Explain the default behavior of `runqemu slirp`.
Explain how to forward ports from the guest to the host machine.

(From yocto-docs rev: 239314da5998f27d0e3a0f2e538216e852bb19d8)

Signed-off-by: Atanas Bunchev <atanas.bunchev@konsulko.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:20:29 +00:00
Vincent Davis Jr
a0dcf93bc9 mesa: enable glvnd support
Allows mesa to be built with glvnd support.
Thus, creates libEGL_mesa.so* and libGLX_mesa.so*
mesa(vendor) libraries meant to coexist with vendor
neutral dispatch libraries from libglvnd.

(From OE-Core rev: 1c0577d66b5c26b9b248797f17d652daf6d9dfd1)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 13:30:41 +00:00
Richard Purdie
4543d20213 bitbake.conf: Simplify CACHE setting
A long time ago the bitbake cache didn't use hashes in it's filename and
hence values such as MACHINE were needed in the path to the cache file
so that when switching MACHINE, a new cache wasn't always parsed.

Times have moved on, we have a hash which represents the configuration
and the caches are reused if there is an existing hash that matches.

This means the values added to CACHE are obsolete and not needed,
we can drop them.

(From OE-Core rev: 550ed0a4ce8839946781f18fdce18452de34ddaf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:29:58 +00:00
Petr Vorel
48ae9b852e iputils: update to 20221126
This release removed: ninfod, rarpd, rdisc.
Remove also related, not yet upstreamed patch.

License-Update: ninfod, rarpd, rdisc and switch to SPDX identifier.

(From OE-Core rev: 4b78734d37f7f0f9057b3c89e028587d2b33aae5)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:29:58 +00:00
Alexander Kanavin
49d114e33e selftest/runqemu: reenable the nfs rootfs test
With the previous fixes the test can be run again,
and it doesn't need all those extra steps. Runqemu
takes care of everything automatically now.

(From OE-Core rev: 99083d01bd576eee7c2c569c66042d064c193a9a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:29:58 +00:00
Alexander Kanavin
18fc5fb41a runqemu: do not hardcode the ip address of the nfs server when using tap
Rather, set it similarly to the overall network config.

(From OE-Core rev: d5e2ef31b151825613b62e58034e81f72526a944)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:29:58 +00:00
Alexander Kanavin
dea0b2d2a9 qemu-helper: depend on unfs3 and pseudo directly
The eliminates having to do extra steps (e.g. meta-ide-support)
when booting an image with a nfs mount as rootfs - startng runqemu
with a nfs mount starts to 'just work' after building an image.

(From OE-Core rev: f73e370bec16d206592a7ca01b4a86b1d1316ada)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:29:58 +00:00
Alexander Kanavin
afa94425a0 unfs: update 0.9.22 -> 0.10.0
This is the first release in 13 years;
I have reviewed the accumulated patches, and dropped some of them
where purpose or issue being fixed is not clear. Specifically:

0001-Add-listen-action-for-a-tcp-socket.patch
0001-daemon.c-Libtirpc-porting-fixes.patch
fixed upstream in
84ab475f93

0001-attr-fix-utime-for-symlink.patch
addresses an open issue in
https://github.com/unfs3/unfs3/issues/4
please rebase and re-submit as a PR if the problem is still present.

alternate_rpc_ports.patch
unnecessary as of
https://git.yoctoproject.org/poky/commit/?id=6bb9860ef7ba9c84fe9bd3a81aa6555f67ebd38e
Command line options introduced by the patch no longer used anywhere.

fix_compile_warning.patch
merged upstream.

fix_pid_race_parent_writes_child_pid.patch
rebased and re-submitted upstream.

no-yywrap.patch
dropped as backport.

relative_max_socket_path_len.patch
needs to be re-submitted by the original author, purpose and reproducer scenario unclear.

rename_fh_cache.patch
merged upstream.

tcp_no_delay.patch
purpose and use case for oe unclear.

unfs3_parallel_build.patch
fixed upstream in
987d32ca12
a39a78995c

Drop -N option from oeqa nfs helper and runqemu helper;
the option was provided by tcp_no_delay.patch
and is not needed for the tests or qemu.

Drop ad hoc libtirpc support; upstream supports it directly now.

Drop the check for portmap/rpcbind, it is unnecessary as of
https://git.yoctoproject.org/poky/commit/?id=6bb9860ef7ba9c84fe9bd3a81aa6555f67ebd38e

(From OE-Core rev: fa2f7cf545137b071db97015bca5b70d77566cd8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:29:58 +00:00
Fabre Sébastien
c4790644f9 u-boot: Add /boot in SYSROOT_DIRS
To be able to use /boot files, like UBOOT_ENV_BINARY, in other
recipes, like kernel-fitimage.bbclass.

(From OE-Core rev: 5ed129c4e793c76e2ce9c762cc67c4c2232df447)

Signed-off-by: Fabre Sébastien <sebastien.fabre@actia.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:29:58 +00:00
Richard Purdie
43ef392dc2 bitbake: data_smart: Small cache reuse optimization
Currently the expand cache doesn't work for "parser" return types, which
is the main type used by the build_dependencies() call that we spend most
of the time in when parsing. Tweak the code to cache the unexpanded value
in the expand cache and hence allow reuse of the parser in other fast path
cases for small speed gains.

(Bitbake rev: b4a8e5071dbcba2217b79e83e08b275ffcbc0eef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:25:51 +00:00
Richard Purdie
70a7e7337b bitbake: runqueue: Improve error message for missing multiconfig
If you place a multiconfig which isn't enabled into an mcdepends you currently
get a traceback from runqueue. We can do better, add some code to tell the user
what happened in a more readable way without the traceback.

[YOCTO #14970]

(Bitbake rev: a4693b70764bb394ee2cf8dd12a5f6fce866008b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:25:51 +00:00
Richard Purdie
c57ace2460 bitbake: BBHandler: Remove pointless global variable declarations
These are static regex compilations which don't change or a standard module
import (bb). There is noneed to declare them as global so drop the pointless
code which doesn't do anything.

(Bitbake rev: 09a4c159e3fd184f730821e7bd99916b0d28dc70)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:25:51 +00:00
Richard Purdie
459ac215e6 bitbake: data: Drop obsolete pydoc/path code
This code looks like it is from a time when the data module was executable.
Nobody does that now and this usage of pydoc is long since obsolete/broken
so clean up the code which doesn't do anything useful.

(Bitbake rev: 6f4ef770641a9657edaf8618f4c86dfb1116622c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:25:51 +00:00
张忠山
bdc821a4c3 bitbake: data_smart: Use regex consistently for override matching
One section of the code is enforcing lowercase overrides, the other
is allowing numeric characters. We should be consistent with one or
the other.

(Bitbake rev: df5b3b841fd8d6a652d643e9ae2bba09d60043e0)

Signed-off-by: 张忠山 <zzs213@126.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-29 10:25:51 +00:00
Javier Tia
a5c985ee50 poky.conf: Add Fedora 36 as supported distro
Based on [1], Fedora 36 it's building in Poky.

[1] https://autobuilder.yoctoproject.org/typhoon/#/builders/86

Thanks to Michael Opdenacker for pointing out the Fedora 36 builds
and orientation to submit this patch.

(From meta-yocto rev: 27b5faebd9c1bf72848fdddaa5da27d3bd6e62b0)

(From meta-yocto rev: 5b0268f53f2f610321c731bef58b195bedc55283)

Signed-off-by: Javier Tia <javier.tia@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-28 21:32:41 +00:00
Markus Volk
b3061544c2 libsdl2: update 2.24.2 -> 2.26.0
- add PACKAGECONFIG for libdecor
- add PACKAGECONFIG for pipewire
- remove native patch, CMakeLists.txt has been reworked,
  still needed ?

In addition to lots of bug fixes, here are the major changes in this release:

General:

    Updated OpenGL headers to the latest API from The Khronos Group Inc.
    Added SDL_GetWindowSizeInPixels() to get the window size in pixels, which may differ from the window coordinate size for windows with high-DPI support
    Added simulated vsync synchronization for the software renderer
    Added the mouse position to SDL_MouseWheelEvent
    Added SDL_ResetHints() to reset all hints to their default values
    Added SDL_GetJoystickGUIDInfo() to get device information encoded in a joystick GUID
    Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_360 to control whether the HIDAPI driver for XBox 360 controllers should be used
    Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED to control whether the player LEDs should be lit to indicate which player is associated with an Xbox 360 controller
    Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS to control whether the HIDAPI driver for XBox 360 wireless controllers should be used
    Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE to control whether the HIDAPI driver for XBox One controllers should be used
    Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED to control the brightness of the XBox One guide button LED
    Added support for PS3 controllers to the HIDAPI driver, enabled by default on macOS, controlled by the SDL_HINT_JOYSTICK_HIDAPI_PS3 hint
    Added support for Nintendo Wii controllers to the HIDAPI driver, not enabled by default, controlled by the SDL_HINT_JOYSTICK_HIDAPI_WII hint
    Added the hint SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED to control whether the player LED should be lit on the Nintendo Wii controllers
    Added the hint SDL_HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS to control whether Nintendo Switch Joy-Con controllers will be in vertical mode when using the HIDAPI driver
    Added access to the individual left and right gyro sensors of the combined Joy-Cons controller
    Added a microsecond timestamp to SDL_SensorEvent and SDL_ControllerSensorEvent, when the hardware provides that information
    Added SDL_SensorGetDataWithTimestamp() and SDL_GameControllerGetSensorDataWithTimestamp() to retrieve the last sensor data with the associated microsecond timestamp
    Added the hint SDL_HINT_HIDAPI_IGNORE_DEVICES to have the SDL HID API ignore specific devices
    SDL_GetRevision() now includes more information about the SDL build, including the git commit hash if available

Windows:

    Added the hint SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE to control whether the system mouse acceleration curve is used for relative mouse motion

macOS:

    Implemented vsync synchronization on macOS 12

Linux:

    Added SDL_SetPrimarySelectionText(), SDL_GetPrimarySelectionText(), and SDL_HasPrimarySelectionText() to interact with the X11 primary selection clipboard
    Added the hint SDL_HINT_VIDEO_WAYLAND_EMULATE_MOUSE_WARP to control whether mouse pointer warp emulation is enabled under Wayland

Android:

    Enabled IME soft keyboard input
    Added version checking to make sure the SDL Java and C code are compatible

(From OE-Core rev: c55dc3a8f13050123bc63479c5a3159601c240a0)

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>
2022-11-27 23:54:51 +00:00
Qiu, Zheng
0b5e0e521a tiff: Security fix for CVE-2022-3970
This patch contains a fix for CVE-2022-3970

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-3970
https://security-tracker.debian.org/tracker/CVE-2022-3970

Patch generated from :
227500897d

(From OE-Core rev: 668ff495ac44e5b6d9e1af15d3861b5c2b4dfcd1)

Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Alexander Kanavin
f854c0ed9d gawk: update 5.1.1 -> 5.2.1
Place gawkbug into a separate package, as it includes target information
which causes multilib conflicts.

Adjust ptests so they are correctly executed:
- unset LANG before starting
- do not patch /usr/local/bin into /usr/bin; this is not correct

(From OE-Core rev: b5422868b203ef69138406253946333f9928576e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Markus Volk
6e2449e0f0 ell: upgrade 0.53 -> 0.54
iwd-2.0 will require ell 0.54

(From OE-Core rev: 867398d9823dc42dacc4f2b9d45878728b0c19a6)

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>
2022-11-27 23:54:51 +00:00
Ola x Nilsson
27fd57f8d0 kbd: Don't build tests
Add --disable-tests to EXTRA_OECONF as the tests are not usable in
ptest - they can only run in-situ - and fails to build when building
with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64.

(From OE-Core rev: ec63f507362faacf49edb22b3c472e54e3cc62c5)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Qiu, Zheng
f041d18d50 valgrind: remove most hidden tests for arm64
An earlier version of valgrind fixed the defunct processes bug, so those
tests that were skipped specifically for arm can pass now in master,
kirkstone, honister, hardknott, and dunfell.

Detailed test result with remove-for-aarch64 skipped on qemuarm64:

    Commit           Pass   Fail    Skip
    master           624    9       21
    kirkstone        618    10      20
    honister         616    10      19
    hardknott        609    13      18
    dunfell          598    16      17
    zeus             Out of memory: Killed (with many defunct processes)

There are now only 12 skipped by remove-for-aarch64 because 9 fail on
qemuarm64 and 3 more fail on raspberry pi. These are tracked by:
    https://bugzilla.yoctoproject.org/show_bug.cgi?id=14960

(From OE-Core rev: cbeb9418c43ec834868aa65b774dc09e983d26d9)

Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Richard Purdie
9596082b50 base: Drop do_package base definition
I can't see how anyone would be using this very old package function definition
since package.bbclass is always inherited in modern OE. All it seems to do
is waste CPU cycles. Drop it and it's associated EXPORT_FUNCTIONS entry.

(From OE-Core rev: 56f7aa4cc0256aff96a1d720bd1931ea9a9bac8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Harald Seiler
c450d38e6f opkg: Set correct info_dir and status_file in opkg.conf
Distros can customize the location of OPKG data using OPKGLIBDIR.  In
OE-Core commit 11f1956cf5d7 ("package_manager.py: define info_dir and
status_file when OPKGLIBDIR isn't the default"), a fix was applied to
correctly set the info_dir and status_file options relative to
OPKGLIBDIR.

However, as the commit message notes, the opkg.conf file deployed as
part of the opkg package must also be adjusted to correctly reflect the
changed location.  Otherwise, opkg running inside the image cannot find
its data.

Fix this by also setting the info_dir and status_file options in
opkg.conf to the correct location relative to OPKGLIBDIR.

Fixes: 11f1956cf5d7 ("package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default")
(From OE-Core rev: adb939ae3635de6e02208859fbf29cf0ed39f565)

Signed-off-by: Harald Seiler <hws@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Mingli Yu
422c31b40e psmisc: add selinux PACKAGECONFIG
Add selinux PACKAGECONFIG logic in selinux layer[1] to conform
to yocto compliance.

[1] https://git.yoctoproject.org/meta-selinux/commit/?id=31325005e4409e08b7f68eed44a9c4086453e4dd

(From OE-Core rev: d2aa518163a4836eeb5bf8517456790cba382c2e)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Mingli Yu
1d4f68423e cronie: add selinux PACKAGECONFIG
Add selinux PACKAGECONFIG logic in selinux layer[1] to conform
to yocto compliance.

[1] https://git.yoctoproject.org/meta-selinux/commit/?id=31325005e4409e08b7f68eed44a9c4086453e4dd

(From OE-Core rev: fd036af063ef47d8296be909eb5db9bddc05eb6e)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Mingli Yu
783c780b5a util-linux: add selinux PACKAGECONFIG
Add selinux PACKAGECONFIG logic in selinux layer[1] to conform
to yocto compliance.

[1] https://git.yoctoproject.org/meta-selinux/commit/?id=31325005e4409e08b7f68eed44a9c4086453e4dd

(From OE-Core rev: c57cc22fad708ac856ac4ebe0a42042031fbf90b)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Mingli Yu
7af2e39887 iproute2: add selinux PACKAGECONFIG
Add selinux PACKAGECONFIG logic in selinux layer[1] to conform
to yocto compliance.

[1] https://git.yoctoproject.org/meta-selinux/commit/?id=31325005e4409e08b7f68eed44a9c4086453e4dd

(From OE-Core rev: 067ce90494bc370fc7a271c6a036c414358f0f38)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Mingli Yu
8baa36433a sudo: add selinux and audit PACKAGECONFIG
Add selinux and audit PACKAGECONFIG logic in selinux layer[1] to
conform to yocto compliance.

[1] https://git.yoctoproject.org/meta-selinux/commit/?id=31325005e4409e08b7f68eed44a9c4086453e4dd

(From OE-Core rev: 5c8e22895709a0ce7ce855468473d9d6d10a1e65)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Alexander Kanavin
1505d86fa2 man-db: update 2.10.2 -> 2.11.1
License-Update: upstream has clarified that
the combined work is gpl3 due to use of gnulib.
man-db's own pieces remain (l)gpl2 or later.

695a3560fd
https://salsa.debian.org/debian/man-db/-/blob/upstream/README.md#copyright-and-licensing

(From OE-Core rev: b04a823d7357e320da8fdce927251597a764ad8d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:51 +00:00
Khem Raj
608f3fec55 rsync: Delete pedantic errors re-ordering patch
It has been fixed by removing the check upstream see
9a3449a398

(From OE-Core rev: c6228b8371ea5c3c452db7b536948ae96d83844b)

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>
2022-11-27 23:54:50 +00:00
Narpat Mali
c867f67bdb ffmpeg: fix for CVE-2022-3965
A vulnerability classified as problematic was found in ffmpeg. This vulnerability affects the function
smc_encode_stream of the file libavcodec/smcenc.c of the component QuickTime Graphics Video Encoder. The
manipulation of the argument y_size leads to out-of-bounds read. The attack can be initiated remotely.
The name of the patch is 13c13109759090b7f7182480d075e13b36ed8edd. It is recommended to apply a patch to
fix this issue. The identifier of this vulnerability is VDB-213544.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-3965

Upstream Fix:
13c1310975

(From OE-Core rev: b88c96fe8964614978aa25a65dd34fc3c05c664c)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:50 +00:00
Narpat Mali
2a642aa2b1 ffmpeg: fix for CVE-2022-3964
A vulnerability classified as problematic has been found in ffmpeg. This affects an unknown part of the file
libavcodec/rpzaenc.c of the component QuickTime RPZA Video Encoder. The manipulation of the argument y_size
leads to out-of-bounds read. It is possible to initiate the attack remotely. The name of the patch is
92f9b28ed84a77138105475beba16c146bdaf984. It is recommended to apply a patch to fix this issue. The associated
identifier of this vulnerability is VDB-213543.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-3964

Upstream Fix:
92f9b28ed8

(From OE-Core rev: 4595f85e7ce867d68ca9d6a6e3ad2544565be3cc)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:50 +00:00
Alexander Kanavin
80dc146207 webkitgtk: update 2.36.7 -> 2.38.2
Upstream has rewritten gobject introspection support,
so the two related patches are ported to that:
0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch
0001-When-building-introspection-files-do-not-quote-CFLAG.patch
The latter patch is also promoted from Inappropriate to Pending

gtk-doc has been replaced with gi-docgen, accordingly
0001-Tweak-gtkdoc-settings-so-that-gtkdoc-generation-work.patch is removed.

Drop
fix-gstreamer-include-paths.patch
(backport)
0001-Fix-build-without-opengl-or-es.patch
(upstream fixed the issue; follow the link in the patch for details)

(From OE-Core rev: ac06af29503d2d3e0e43ef69d1d1580ce301bdfb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:54:50 +00:00
Richard Purdie
6e75972a1f bitbake: utils: Allow to_boolean to support int values
Some variables may be set as:

X = 1

as well the more usual

X = "1"

so add support to to_boolean to handle this case.

(Bitbake rev: ef9c033b011e68bbfedf7ddf118633c14388aaaf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:48:15 +00:00
Richard Purdie
0536965bd4 bitbake: data_smart: Add debugging for overrides stability issue
If someone is unfortunate enough to run into override recursion issues
they're hard to debug with the existing message. We can at least show the
values that OVERRIDES takes to show there is some problem and aid debugging.

(Bitbake rev: 43035b75201616e7bfd680d3d15c5c0fc7c04eb6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-27 23:48:15 +00:00
Chen Qi
a5f1b44310 bitbake: command.py: cleanup bb.cache.parse_recipe
The parse_recipe has been removed from bb.cache, replace it with
the databuilder._parse_recipe.

(Bitbake rev: d386fa81848247a3d407debf889db8cbcce03359)

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>
2022-11-27 23:48:15 +00:00
Polampalli, Archana
b5596124ee libpam: fix CVE-2022-28321
The Linux-PAM package before 1.5.2-6.1 for openSUSE Tumbleweed allows
authentication bypass for SSH logins. The pam_access.so module doesn't
correctly restrict login if a user tries to connect from an IP address
that is not resolvable via DNS. In such conditions, a user with denied
access to a machine can still get access. NOTE: the relevance of this
issue is largely limited to openSUSE Tumbleweed and openSUSE Factory;
it does not affect Linux-PAM upstream.

References:
https://nvd.nist.gov/vuln/detail/CVE-2022-28321

Upstream patches:
08992030c5
23393bef92

(From OE-Core rev: b1fd799af0086347de1ec4b72d562b1fb490def1)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-23 18:27:07 +00:00
Richard Purdie
61fac62194 bitbake: data/siggen: Switch to use frozensets and optimize
Python handles frozensets a little more optimally than normal sets. Once we
finish parsing, we don't edit this data so we can convert to them.

To do that, we need to stop changing them so process ignore_deps earlier
then we can freeze the data and keep it frozen.

This has the side effect that we need to be careful to sort the data
in some of the variables when calculating the hashes.

Overall this does seem to show a decent parsing time speed improvement
of 20-25% in a local test but this would be highly setup dependent.

Also ensure the sigdata can handle exported frozenset and make it import
back to them instead of sets.

(Bitbake rev: 19475627c363a52da49ec144422c87448ff2a6c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-23 18:27:07 +00:00
Mingli Yu
f68a10b5cf python3: make tkinter available when enabled
After Python upgrade to 3.11, it requires pkg-config to detect
tcl and tk when configure tkinter, so add tcl depends to fix
below error.

| The necessary bits to build these optional modules were not found:
| _tkinter

(From OE-Core rev: 163966765d57fe38e13d0b6659795a13bc702e2d)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 22:39:45 +00:00
Mingli Yu
44a65473a1 tcl: correct the header location in tcl.pc
The patch alter-includedir.patch previouly install the header
to /usr/include/tcl8.6, but it doesn't reflect in tcl.pc and
the header location still /usr/include in tcl.pc and result
in the below configure failure for other packages such as
python3 which depends on tcl and uses pkg-config to detect tcl.

| conftest.c:161:16: fatal error: tcl.h: No such file or directory
  161 |       #include <tcl.h>

So update alter-includedir.patch to correct the header location
in tcl.pc to keep consistency.

(From OE-Core rev: ff156411380640f99ddb058ed8da0626d3183954)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 22:39:45 +00:00
Richard Purdie
5fdd28e37f bitbake: runqueue: Fix race issues around hash equivalence and sstate reuse
We identified a use case where a native recipe (autoconf-native) was
rebuilt with no change in output yet the sstate for do_package tasks
wasn't being used.

The issue is that do_package tasks have a hard dependency on
pseudo-native:do_populate_sysroot. That task was one of the many
tasks being rehashed when autoconf-native's hash was changed.

If update_tasks processed a recipe before it had processed pseudo-native,
that recipe would be marked as not possible from sstate and would
run the full tasks.

The fix is to split the processing into two passes, first to handle
the existing covered/notcovered updates, then in the second pass,
check whether there are "harddep" issues.

This defers the do_package tasks until after pseudo-native is installed
from sstate as expected and everything works well again.

(Bitbake rev: e479d1e418a7d34f0a4663b4a0e22bb11503c8ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 15:28:27 +00:00
Richard Purdie
09da786273 bitbake: runqueue: Add further debug for sstate reuse issues
Even after enabling all our debugging, we had a reproducible test case
where sstate wasn't being reused and it was unclear from the logs why.

This patch adds debugging on the possible codepaths that were breaking
and allowed the issue to be debugged and fixed.

(Bitbake rev: 9233ad685b9b5e9eeb775fc71761712aaf0e876c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 15:28:27 +00:00
Trevor Woerner
ecc93c24b2 local.conf.sample: update bbclass locations
Update comments indicating where to find various bbclass files.

fixes: f5c1280083 (classes: Update classes to match new bitbake class scope
functionality, 2022-08-10)

(From OE-Core rev: 31eca4926b5f7237915dafcd205a0e4aaf75163e)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 15:12:59 +00:00
Enrico Scholz
276e3af23a sstate: show progress bar again
Transition to ThreadPoolExecutor (eb6a6820928472ef194b963b606454e731f9486f)
broke the

| Checking sstate mirror object availability: ...

progress bar because the removed 'thread_worker' was still referenced
in an asynchronous function.  As the result of the future is never
read, the resulting backtrace is silently discarded.

Replace the information given to 'ProcessProgress' by a counter.

(From OE-Core rev: eacd52216815e0c75e5f257b6db792afd8b1b6df)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
ff0183615a vte: update 0.68.0 -> 0.70.1
Transition to gi-docgen from gtk-doc.

Drop vala tweaks: gobject-introspection already does
it correctly (with STAGING_LIBDIR included).

(From OE-Core rev: 1a418b35918abf78f18356fd77c63c94a14065ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
e3f65282c9 popt: update 1.18 -> 1.19
Patch is merged upstream.

License-update: clarification
dcec86df3c

Backport a regression fix for gptfdisk.

(From OE-Core rev: 262aa17e0eeac5274298ec9a938e5353094b8fa5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
af0d4a2c43 libgpg-error: update 1.45 -> 1.46
(From OE-Core rev: edb25dbd3cafe553f716b079f6a5af077b73d18a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
e7d78bc6d8 icu: update 71.1 -> 72-1
Update the recipe to reflect the change in version separator.

(From OE-Core rev: cebe8439cdc656d53355506a31a3782312bf03c5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
194264e2c6 flac: update 1.4.0 -> 1.4.2
License-Update: removed file, URL fix

Remove options no longer supported upstream.

(From OE-Core rev: 1d458456a37451f553006e60d248bc330c79a0c8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
e6ec992bde xf86-input-mouse: update 1.9.3 -> 1.9.4
(From OE-Core rev: 05121f3c6a811b36e6f7208850158ef7e75c7c54)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
5035fff8ae libhandy: update 1.6.3 -> 1.8.0
(From OE-Core rev: f7329d0c7918783371d5bd0025f954dd065a1681)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
5afbfbf2cb texinfo: update 6.8 -> 7.0
Drop the gigantic gnulib patch: no longer necessary \0/

(From OE-Core rev: aa5b2e0610777764b361d48d5fd9087ab1b2227e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
985735386e shadow: update 4.12.3 -> 4.13
Drop
0001-Drop-nsswitch.conf-message-when-not-in-place-eg.-musl.patch
(issue fixed upstream)
0001-shadow-use-relaxed-usernames.patch
(merged upstream)

(From OE-Core rev: 03917700e4bba2c979e055b5f0939f14ebe09525)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
4f84a13a02 quota: update 4.06 -> 4.09
(From OE-Core rev: 0e3580c79d21b5ee1ca84e5df0edb4017899d18a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
0081352172 tcl: update 8.6.11 -> 8.6.12
(From OE-Core rev: 511005999739be5dc87955135880a248110dc1e2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
deef918ab2 swig: update 4.0.2 -> 4.1.0
swig has transitioned pcre -> pcre2
Update 0001-configure-use-pkg-config-for-pcre-detection.patch
accordingly.

(From OE-Core rev: 53e51ded320fb35fb53d496e832b6527372f58ed)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
a00b2f97f3 rsync: update 3.2.5 -> 3.2.7
Rebase patches.

(From OE-Core rev: 827c787893caa973c509acf7cac9e17fec5692a4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Alexander Kanavin
43d68bd00f elfutils: update 0.187 -> 0.188
Drop upstreamed patch.

(From OE-Core rev: bd6a55512db6b9c50a8d86eab7a4727e800d5391)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Mikko Rapeli
8c5b112255 qemurunner.py: use IP address from command line
(From OE-Core rev: 44ab760c8ad7889b92019ec9341dfbec425ea4c0)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:46 +00:00
Bruce Ashfield
44b0aa3426 linux-yocto/5.19: fix elfutils run-backtrace-native-core ptest failure
The following commit was integrated into the 5.19.15 -stable series and
breaks the elfutils backtrace ptests.

 don't use __kernel_write() on kmap_local_page()

It could be that other commits are also required in -stable, but a
revert is the easiest way to deal with the regression. We can revisit
newer kernel's (where the commit is also present) if they also start
to fail the test.

(From OE-Core rev: e137ca045d21476394b12725447affe4c99b8e03)

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>
2022-11-22 12:26:46 +00:00
Bruce Ashfield
1790fd2237 linux-yocto/5.15: fix CONFIG_CRYPTO_CCM mismatch warnings
Integrating the following commit(s) to linux-yocto/.:

    f475b1a9ded qat: fix CONFIG_CRYPTO_CCM mismatch warnings

(From OE-Core rev: a3417ce85e38d514c7dc43c2ddcdacf45996fc2a)

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>
2022-11-22 12:26:46 +00:00
Bruce Ashfield
049b171876 linux-yocto/5.19: fix CONFIG_CRYPTO_CCM mismatch warnings
Integrating the following commit(s) to linux-yocto/.:

    0cba9aa4044 qat: fix CONFIG_CRYPTO_CCM mismatch warnings

(From OE-Core rev: a2e40db0d957bc8b7e77e5f54e6646bb633ef42f)

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>
2022-11-22 12:26:46 +00:00
Bruce Ashfield
265cb76231 linux-yocto/5.15: update to v5.15.78
Updating  to the latest korg -stable release that comprises
the following commits:

    509a32764e1a Linux 5.15.78
    7038af4ce951 wifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker()
    b66617cc3c2f drm/i915/sdvo: Setup DDC fully before output init
    73d52322c4af drm/i915/sdvo: Filter out invalid outputs more sensibly
    2219b6aad345 drm/rockchip: dsi: Force synchronous probe
    dd955eb4e616 drm/rockchip: dsi: Clean up 'usage_mode' when failing to attach
    cfa8a89af9f2 cifs: fix regression in very old smb1 mounts
    3189de0ac310 ext4,f2fs: fix readahead of verity data
    a663e6ab17a2 tee: Fix tee_shm_register() for kernel TEE drivers
    d46db722a0af KVM: x86: emulator: update the emulation mode after CR0 write
    942aec252b23 KVM: x86: emulator: update the emulation mode after rsm
    9df4bb7b3863 KVM: x86: emulator: introduce emulator_recalc_and_set_mode
    311f1e51a290 KVM: x86: emulator: em_sysexit should update ctxt->mode
    37a03de2d0c5 KVM: arm64: Fix bad dereference on MTE-enabled systems
    167dca5e210b KVM: VMX: fully disable SGX if SECONDARY_EXEC_ENCLS_EXITING unavailable
    19c2b2ffbeec KVM: x86: Mask off reserved bits in CPUID.8000001FH
    553fd40d3bf7 KVM: x86: Mask off reserved bits in CPUID.80000001H
    006366b96c16 KVM: x86: Mask off reserved bits in CPUID.80000008H
    fc796fd861fa KVM: x86: Mask off reserved bits in CPUID.8000001AH
    ef7716398a78 KVM: x86: Mask off reserved bits in CPUID.80000006H
    a88998446b6d x86/syscall: Include asm/ptrace.h in syscall_wrapper header
    999cff2b6ce3 ext4: fix BUG_ON() when directory entry has invalid rec_len
    0a43c015e981 ext4: fix warning in 'ext4_da_release_space'
    ada82803a773 parisc: Avoid printing the hardware path twice
    081ff43a7786 parisc: Export iosapic_serial_irq() symbol for serial port driver
    5daf985dd0f3 parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
    425fe99771bf perf/x86/intel: Fix pebs event constraints for SPR
    4613a450172e perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]
    7de3fe6a1354 perf/x86/intel: Fix pebs event constraints for ICL
    71d6c33fe223 arm64: entry: avoid kprobe recursion
    52be536155f5 efi: random: Use 'ACPI reclaim' memory for random seed
    83b5ec7ee82d efi: random: reduce seed size to 32 bytes
    0417f70b8588 fuse: add file_modified() to fallocate
    2de8eec8afb7 capabilities: fix potential memleak on error path from vfs_getxattr_alloc()
    bd07f8067b35 tracing/histogram: Update document for KEYS_MAX size
    27b4406f9c35 tools/nolibc/string: Fix memcmp() implementation
    b5074df412bf ring-buffer: Check for NULL cpu_buffer in ring_buffer_wake_waiters()
    85f3caa95579 kprobe: reverse kp->flags when arm_kprobe failed
    d1b6a8e3414a tracing: kprobe: Fix memory leak in test_gen_kprobe/kretprobe_cmd()
    828577e0baaf tcp/udp: Make early_demux back namespacified.
    88561a66777e ftrace: Fix use-after-free for dynamic ftrace_ops
    450d7480705e btrfs: fix type of parameter generation in btrfs_get_dentry
    007058eb8292 btrfs: fix tree mod log mishandling of reallocated nodes
    336fdd295c14 btrfs: fix lost file sync on direct IO write with nowait and dsync iocb
    cff805b1518f fscrypt: fix keyring memory leak on mount failure
    e6f4fd85ef1e fscrypt: stop using keyrings subsystem for fscrypt_master_key
    3975affcf55f af_unix: Fix memory leaks of the whole sk due to OOB skb.
    4302806dbfea block, bfq: protect 'bfqd->queued' by 'bfqd->lock'
    3e4697ffdfbb Bluetooth: L2CAP: Fix attempting to access uninitialized memory
    81035e1201e2 Bluetooth: L2CAP: Fix accepting connection request for invalid SPSM
    d78ccdce662e i2c: piix4: Fix adapter not be removed in piix4_remove()
    c76ff8ae113f arm64: dts: juno: Add thermal critical trip points
    7398435e616d firmware: arm_scmi: Fix devres allocation device in virtio transport
    3653cdc21b9e firmware: arm_scmi: Make Rx chan_setup fail on memory errors
    e514d67b2364 firmware: arm_scmi: Suppress the driver's bind attributes
    4e68c5da60cd block: Fix possible memory leak for rq_wb on add_disk failure
    bf822b6980a6 arm64: dts: ls208xa: specify clock frequencies for the MDIO controllers
    f2329886e567 arm64: dts: ls1088a: specify clock frequencies for the MDIO controllers
    33fcc55dbc5b arm64: dts: lx2160a: specify clock frequencies for the MDIO controllers
    f3429a1e4924 arm64: dts: imx8: correct clock order
    de2a83186ad3 ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset
    cb9ce8910a6f clk: qcom: Update the force mem core bit for GPU clocks
    bdc118249698 efi/tpm: Pass correct address to memblock_reserve
    3a4d6f165eac i2c: xiic: Add platform module alias
    62eea4014a9b drm/amdgpu: set vm_update_mode=0 as default for Sienna Cichlid in SRIOV case
    7a2547cac2e0 HID: saitek: add madcatz variant of MMO7 mouse device ID
    931c97a54cd1 scsi: core: Restrict legal sdev_state transitions via sysfs
    c50ec15725e0 ACPI: APEI: Fix integer overflow in ghes_estatus_pool_init()
    8ecd1db58b7a media: v4l: subdev: Fail graciously when getting try data for NULL state
    f96ad391d054 media: meson: vdec: fix possible refcount leak in vdec_probe()
    8b785cdcd3cb media: dvb-frontends/drxk: initialize err to 0
    73dfb6421338 media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE
    cbfa26936f31 media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE
    647c12c47ee0 media: rkisp1: Zero v4l2_subdev_format fields in when validating links
    abbeb8f7271b media: rkisp1: Use correct macro for gradient registers
    03b30e5a369d media: rkisp1: Initialize color space on resizer sink and source pads
    d58b6b665c88 media: rkisp1: Don't pass the quantization to rkisp1_csm_config()
    0e501fd0f38e s390/cio: fix out-of-bounds access on cio_ignore free
    c65cc569370c s390/cio: derive cdev information only for IO-subchannels
    c64be93f1e51 s390/boot: add secure boot trailer
    1cdaca8f00a7 s390/uaccess: add missing EX_TABLE entries to __clear_user()
    509cbbdec9d7 mtd: parsers: bcm47xxpart: Fix halfblock reads
    5b8797e9dbf7 mtd: parsers: bcm47xxpart: print correct offset on read error
    2f07635876bd fbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cards
    154934c74f97 video/fbdev/stifb: Implement the stifb_fillrect() function
    b524b41806e9 drm/msm/hdmi: fix IRQ lifetime
    c55dd6200131 drm/msm/hdmi: Remove spurious IRQF_ONESHOT flag
    d153d468c43d vsock: fix possible infinite sleep in vsock_connectible_wait_data()
    0ed71af4d017 ipv6: fix WARNING in ip6_route_net_exit_late()
    2b45d6d0c41c net, neigh: Fix null-ptr-deref in neigh_table_clear()
    61defd6450a9 net/smc: Fix possible leaked pernet namespace in smc_init()
    de889774273f stmmac: dwmac-loongson: fix invalid mdio_node
    535b78739ae7 ibmvnic: Free rwi on reset success
    985a88bf0b27 net: mdio: fix undefined behavior in bit shift for __mdiobus_register
    aa16cac06b75 Bluetooth: L2CAP: Fix memory leak in vhci_write
    a3a7b2ac64de Bluetooth: L2CAP: fix use-after-free in l2cap_conn_del()
    cf2719a21fdb Bluetooth: virtio_bt: Use skb_put to set length
    8278a87bb1ee Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu
    42d20d5e2457 netfilter: ipset: enforce documented limit to prevent allocating huge memory
    f46ea5fa3320 btrfs: fix ulist leaks in error paths of qgroup self tests
    222a3d533027 btrfs: fix inode list leak during backref walking at find_parent_nodes()
    6ba3479f9e96 btrfs: fix inode list leak during backref walking at resolve_indirect_refs()
    a80634f392af isdn: mISDN: netjet: fix wrong check of device registration
    029d5b7688a2 mISDN: fix possible memory leak in mISDN_register_device()
    3e2129c67dac rose: Fix NULL pointer dereference in rose_send_frame()
    06d7596d1872 ipvs: fix WARNING in ip_vs_app_net_cleanup()
    5ee2d6b726b0 ipvs: fix WARNING in __ip_vs_cleanup_batch()
    33e7783bc07e ipvs: use explicitly signed chars
    6044791b7be7 netfilter: nf_tables: release flow rule object from commit path
    1ffe7100411a netfilter: nf_tables: netlink notifier might race to release objects
    dcc79cf735b8 net: tun: fix bugs for oversize packet when napi frags enabled
    fc4b50adb400 net: sched: Fix use after free in red_enqueue()
    ab80025ea7ac ata: pata_legacy: fix pdc20230_set_piomode()
    dede9ba02705 net: fec: fix improper use of NETDEV_TX_BUSY
    5dfdac5e3f8d nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
    7486f5c90078 nfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send()
    3cba1f061bfe nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
    44bc1868a4f5 nfc: fdp: Fix potential memory leak in fdp_nci_send()
    4bef9a89f2f5 net: dsa: fall back to default tagger if we can't load the one from DT
    06f9e0b37f7e RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()
    6b3d5dcb1234 RDMA/core: Fix null-ptr-deref in ib_core_cleanup()
    9f555b1584fc net: dsa: Fix possible memory leaks in dsa_loop_init()
    24641993a7dc nfs4: Fix kmemleak when allocate slot failed
    0797c85433cc NFSv4.2: Fixup CLONE dest file size for zero-length count
    d59722d088a9 SUNRPC: Fix null-ptr-deref when xps sysfs alloc failed
    dea7ef05deea NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot
    7b1c2458dec1 NFSv4.1: Handle RECLAIM_COMPLETE trunking errors
    4ec017e30089 NFSv4: Fix a potential state reclaim deadlock
    e3e53c5af563 RDMA/hns: Disable local invalidate operation
    85ab79ac9413 RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx()
    be16cc7abdae RDMA/hns: Remove magic number
    ba95409d6b58 IB/hfi1: Correctly move list in sc_disable()
    484d9690370e RDMA/cma: Use output interface for net_dev check
    f7d9de8a0d33 KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTER
    b7b66f13ac09 KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()
    0c60fa7f5518 KVM: x86: Protect the unused bits in MSR exiting flags
    ad8e4868dd16 HID: playstation: add initial DualSense Edge controller support
    3a44ae4afaa5 mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page
    8576d7edeaa5 drm/amd/display: explicitly disable psr_feature_enable appropriately
    058b3a11f748 KVM: x86: Treat #DBs from the emulator as fault-like (code and DR7.GD=1)
    9ee32892c767 KVM: x86: Trace re-injected exceptions
    0c9c1306d6bd serial: ar933x: Deassert Transmit Enable on ->rs485_config()
    21d65b351691 scsi: lpfc: Rework MIB Rx Monitor debug info logic
    d70705e131d6 scsi: lpfc: Adjust CMF total bytes and rxmonitor
    9ebc6e8ad13b scsi: lpfc: Adjust bytes received vales during cmf timer interval
    793d8378b74a Linux 5.15.77
    1401e9336beb tcp/udp: Fix memory leak in ipv6_renew_options().
    b079d3775237 serial: Deassert Transmit Enable on probe in driver-specific way
    63f75fea3a72 serial: core: move RS485 configuration tasks from drivers into core
    0753069d4431 can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO receive
    17ff99e2240c can: rcar_canfd: fix channel specific IRQ handling for RZ/G2L
    aad798a0b39c scsi: sd: Revert "scsi: sd: Remove a local variable"
    52c2329147cf arm64: Add AMPERE1 to the Spectre-BHB affected list
    5397ea6a08a5 net: enetc: survive memory pressure without crashing
    885a454e97c4 kcm: do not sense pfmemalloc status in kcm_sendpage()
    92b4c5c3fa81 net: do not sense pfmemalloc status in skb_append_pagefrags()
    ae1b08592edf net/mlx5: Fix crash during sync firmware reset
    37ada47d019b net/mlx5: Update fw fatal reporter state on PCI handlers successful recover
    9e6523d06a09 net/mlx5: Print more info on pci error handlers
    ab3de780c176 net/mlx5: Fix possible use-after-free in async command interface
    8bbff203e306 net/mlx5e: Extend SKB room check to include PTP-SQ
    ee1c0ca1af7c net/mlx5e: Do not increment ESN when updating IPsec ESN state
    eefa97a7a001 netdevsim: remove dir in nsim_dev_debugfs_init() when creating ports dir failed
    c9589e18a60c net: broadcom: bcm4908_enet: update TX stats after actual transmission
    9711616a4908 net: broadcom: bcm4908enet: remove redundant variable bytes
    b317d53680b1 nh: fix scope used to find saddr when adding non gw nh
    2ad284ac8866 net: bcmsysport: Indicate MAC is in charge of PHY PM
    d1cfa71d5b68 net: ehea: fix possible memory leak in ehea_register_port()
    588bdd7ee48f openvswitch: switch from WARN to pr_warn
    9a1c1df9255b ALSA: aoa: Fix I2S device accounting
    e81d7826b8f4 ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()
    77a754fcfec1 net: ethernet: ave: Fix MAC to be in charge of PHY PM
    bc2518ec710e net: fec: limit register access on i.MX6UL
    f710deeea73a perf vendor events arm64: Fix incorrect Hisi hip08 L3 metrics
    eb59cb2fabd4 PM: domains: Fix handling of unavailable/disabled idle states
    bde7c2acef30 net: ksz884x: fix missing pci_disable_device() on error in pcidev_init()
    8927d90d56e4 i40e: Fix flow-type by setting GL_HASH_INSET registers
    c39de3ae5075 i40e: Fix VF hang when reset is triggered on another VF
    250bf8ab78f7 i40e: Fix ethtool rx-flow-hash setting for X722
    ad3f1d9bf162 ipv6: ensure sane device mtu in tunnels
    e2ec5bb78ca8 perf vendor events power10: Fix hv-24x7 metric events
    f9df388ed6ea media: vivid: set num_in/outputs to 0 if not supported
    4cc7d8d42047 media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'
    491c0959f01d media: v4l2-dv-timings: add sanity checks for blanking values
    0f83edbe4fe9 media: vivid: dev->bitmap_cap wasn't freed in all cases
    5b1fb2a28d0a media: vivid: s_fbuf: add more sanity checks
    3436e5633776 PM: hibernate: Allow hybrid sleep to work with s2idle
    3cc8c4088fae can: mcp251x: mcp251x_can_probe(): add missing unregister_candev() in error path
    a3e09eff32d8 can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path
    304a10161696 drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()
    2fe6b24ce299 net-memcg: avoid stalls when under memory pressure
    9b171fdcbf0e tcp: fix indefinite deferral of RTO with SACK reneging
    a85d39f14aa8 tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
    2437f3c5c6a6 tcp: minor optimization in tcp_add_backlog()
    ef27df75912d net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY
    a1e18acb0246 net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failed
    62086d1c4602 kcm: annotate data-races around kcm->rx_wait
    342d918cf9a4 kcm: annotate data-races around kcm->rx_psock
    6bb23225bb70 atlantic: fix deadlock at aq_nic_stop
    4e2cbc1f0e18 drm/i915/dp: Reset frl trained flag before restarting FRL training
    3d92ab0865f1 amd-xgbe: add the bit rate quirk for Molex cables
    75a6d1ebf8b7 amd-xgbe: fix the SFP compliance codes check for DAC cables
    98bada8fa0e3 x86/unwind/orc: Fix unreliable stack dump with gcov
    88e879c9f595 nfc: virtual_ncidev: Fix memory leak in virtual_nci_send()
    18c60b383df3 net: macb: Specify PHY PM management done by MAC
    95c22fc1e80e net: hinic: fix the issue of double release MBOX callback of VF
    6016d96a6adf net: hinic: fix the issue of CMDQ memory leaks
    e6765fe8de37 net: hinic: fix memory leak when reading function table
    62aa78a0c3e5 net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()
    1e0bee973ef6 net: netsec: fix error handling in netsec_register_mdio()
    7a939503fc32 tipc: fix a null-ptr-deref in tipc_topsrv_accept
    c638b520ba4b perf/x86/intel/lbr: Use setup_clear_cpu_cap() instead of clear_cpu_cap()
    4fdf6f978c6b ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()
    b68873690373 ASoC: qcom: lpass-cpu: Mark HDMI TX parity register as volatile
    eca851572df5 mtd: rawnand: intel: Add missing of_node_put() in ebu_nand_probe()
    08c246c7dfef arc: iounmap() arg is volatile
    739eac37ff9c sched/core: Fix comparison in sched_group_cookie_match()
    ca7b0a10287e perf: Fix missing SIGTRAPs
    eb77474a2a21 ASoC: qcom: lpass-cpu: mark HDMI TX registers as volatile
    9b6841ab7096 KVM: selftests: Fix number of pages for memory slot in memslot_modification_stress_test
    59de8738ed43 drm/msm: Fix return type of mdp4_lvds_connector_mode_valid
    a560aeac2f2d media: atomisp: prevent integer overflow in sh_css_set_black_frame()
    32f93e460861 media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation
    5a93a8288c57 net: ieee802154: fix error return code in dgram_bind()
    138a13d8f5c8 ethtool: eeprom: fix null-deref on genl_info in dump
    1c2b1d3bba2e mmc: block: Remove error check of hw_reset on reset
    0b0d169723f4 Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq"
    7a0fce24de60 Revert "scsi: lpfc: SLI path split: Refactor fast and slow paths to native SLI4"
    7a36c9de4324 Revert "scsi: lpfc: SLI path split: Refactor SCSI paths"
    eb8be2dbfbb4 Revert "scsi: lpfc: Fix locking for lpfc_sli_iocbq_lookup()"
    065bf71a8a53 Revert "scsi: lpfc: Fix element offset in __lpfc_sli_release_iocbq_s4()"
    97dc9076ea5e Revert "scsi: lpfc: Resolve some cleanup issues following SLI path refactoring"
    b32b766be44e s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()
    1ad7213fcf49 s390/futex: add missing EX_TABLE entry to __futex_atomic_op()
    ae9398e837b9 perf auxtrace: Fix address filter symbol name match for modules
    14009ada5712 ARC: mm: fix leakage of memory allocated for PTE
    eb9ed3343ca7 pinctrl: Ingenic: JZ4755 bug fixes
    94d2643df1e7 kernfs: fix use-after-free in __kernfs_remove
    f1204dfc4cd7 counter: microchip-tcb-capture: Handle Signal1 read and Synapse
    6fb0106c64ee mmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus
    73e3901e7029 mmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lake
    1e8cd93ae536 mmc: core: Fix kernel panic when remove non-standard SDIO card
    02e51e7cd1d3 mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIO
    4c365a0c21aa coresight: cti: Fix hang in cti_disable_hw()
    b32775e03969 drm/msm/dp: fix IRQ lifetime
    b48949ab451e drm/msm/hdmi: fix memory corruption with too many bridges
    9f035d1fb306 drm/msm/dsi: fix memory corruption with too many bridges
    986a89b3717e drm/amdgpu: disallow gfxoff until GC IP blocks complete s2idle resume
    a2f0934e6bdb scsi: qla2xxx: Use transport-defined speed mask for supported_speeds
    2b1a3172ee4d mac802154: Fix LQI recording
    46b4b1e11e52 exec: Copy oldsighand->action under spin-lock
    265b6fb780f5 fs/binfmt_elf: Fix memory leak in load_elf_binary()
    24030742a7b8 cpufreq: intel_pstate: hybrid: Use known scaling factor for P-cores
    3423a3417f4f cpufreq: intel_pstate: Read all MSRs on the target CPU
    cc6a7249842f fbdev: smscufx: Fix several use-after-free bugs
    1a8b22e3f394 iio: adxl372: Fix unsafe buffer attributes
    2f08cad21366 iio: temperature: ltc2983: allocate iio channels once
    1bfe97f49785 iio: light: tsl2583: Fix module unloading
    569709540e12 tools: iio: iio_utils: fix digit calculation
    c892a81c7424 xhci: Remove device endpoints from bandwidth list when freeing the device
    dfacb5c7f0a9 xhci-pci: Set runtime PM as default policy on all xHC 1.2 or later devices
    64058af657ba xhci: Add quirk to reset host back to default state at shutdown
    022f21e850e9 mtd: rawnand: marvell: Use correct logic for nand-keep-config
    f90897c0f634 usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller
    a0c54d5152d5 usb: bdc: change state when port disconnected
    e0fd70ab4815 usb: dwc3: gadget: Don't set IMI for no_interrupt
    ad538aea64dd usb: dwc3: gadget: Stop processing more requests on IMI
    f2f53be61714 usb: gadget: uvc: fix sg handling during video encode
    80ff4ef77737 usb: gadget: uvc: fix sg handling in error case
    555011f6b27b USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM
    311428871ba1 ALSA: rme9652: use explicitly signed char
    fa8b39c7ed82 ALSA: au88x0: use explicitly signed char
    8af82d330d5d ALSA: usb-audio: Add quirks for M-Audio Fast Track C400/600
    259cb4dee1bb ALSA: Use del_timer_sync() before freeing timer
    33ddee2b95ab can: kvaser_usb: Fix possible completions during init_completion
    86da269c7567 can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()
    ead049562758 NFSv4: Add an fattr allocation to _nfs4_discover_trunking()
    eb1fe9600b86 NFSv4: Fix free of uninitialized nfs4_label on referral lookup.

(From OE-Core rev: 7514e04bf4dae3d3bbd20bb21b442f273f8d6c73)

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>
2022-11-22 12:26:46 +00:00
Bruce Ashfield
3cf9cb8eab linux-yocto/5.19: security.cfg: remove configs which have been dropped
Integrating the following commit(s) to linux-yocto/.:

    5e122351f62 security.cfg: remove configs which have been dropped

(From OE-Core rev: 415a73daee7152bd67cd99625093bc72d9be73c4)

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>
2022-11-22 12:26:46 +00:00
Bruce Ashfield
e2a9b58473 lttng-modules: fix build for v6.1+
Backporting a patch from the lttng git repository to address
a build failure when the 6.1-dev kernel is used.

(From OE-Core rev: 95851b5c64a632f224c89372d723a22728c7dc38)

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>
2022-11-22 12:26:46 +00:00
Bruce Ashfield
2be1b5d7d3 kernel-devsrc: fix for v6.1+
The 6.1 kernel has a number of Kbuild and architecture changes
that required us to update our devsrc recipe. With these changes
we are once again able to build on target modules for all
supported archectures.

(From OE-Core rev: a3972b3f919400a12bb9a546ae98092cbfdcdbb8)

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>
2022-11-22 12:26:45 +00:00
Bruce Ashfield
cbdbec3f5e linux-yocto-dev: bump to v6.1
v6.1 is available, and could likely be the next LTS kernel, so
we bump our -dev kernel to start testing with this version.

(From OE-Core rev: 140da741424e5bbcaf0cbe21a70189ea5b272aab)

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>
2022-11-22 12:26:45 +00:00
Bruce Ashfield
2888cb39c1 kern-tools: integrate ZFS speedup patch
Bumping the SRCREV to integrat the following kern-tools change:

   commit 2d01f24bc78256c709728eb3f204491bce13e0e5
   Author: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
   Date:   Fri Nov 4 23:32:38 2022 +0000

       kconf_check: store some files in tmpdir

       Some file systems, like ZFS, are very slow at appending to existing
       files. Due to Copy-On-Write nature, they create a new copy of a file
       each time we do ">>" in a shell script. This becomes very noticeable
       if shell script does lots and lots of appends, like sanitize_fragment()
       function in kconf_check. On my setup, do_kernel_configcheck task takes
       literally hours to complete.

       To fix this issue, we can store sanitized_list and fragment_errors.txt
       files on tmpfs, which is extremely fast at writing. As most distros
       use tmpfs for /tmp, logical step is to use `mktemp` to create
       temporary files.

       After completing writing to temporary locations, we can move those two
       files back to ${LOGDIR}.

       Also, function 'cleanup' was added to remove temporary files in case
       of abnormal exit.

       With this patch, do_kernel_configcheck task completes in ~2 minutes on
       my setup, which is a great improvement.

       Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>

(From OE-Core rev: 9d50e2606eb66019044ee176f355a84a65a1499c)

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>
2022-11-22 12:26:45 +00:00
Bruce Ashfield
855d0d1ea8 linux-yocto/5.19: cfg: intel and vesa updates
Integrating the following commit(s) to linux-yocto/.:

    399055aee2f vesafb.cfg: rename FB_BOOT_VESA_SUPPORT -> BOOT_VESA_SUPPORT
    fe0fe0945fb media-radio.cfg: switch RADIO_ADAPTERS from y to m
    9724cfa270c bsp/common-pc-64 : add igc driver
    39431755e59 bsp/intel-common: add igc driver for meta-intel bsp machines

(From OE-Core rev: 47b3c8b07322c69b6070fee4803d3beee66f9a67)

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>
2022-11-22 12:26:45 +00:00
Bruce Ashfield
0078f8800a linux-yocto/5.15: update to v5.15.76
Updating  to the latest korg -stable release that comprises
the following commits:

    4f5365f77018 Linux 5.15.76
    33fc9e26b7cb mm: /proc/pid/smaps_rollup: fix no vma's null-deref
    b9d8cbe90a0f mmc: core: Add SD card quirk for broken discard
    0ee2f0567a56 Makefile.debug: re-enable debug info for .S files
    117825e9bbb1 x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB
    0983205085fa ACPI: video: Force backlight native for more TongFang devices
    289b56715ba6 perf: Skip and warn on unknown format 'configN' attrs
    9d912a385368 mmc: sdhci-tegra: Use actual clock rate for SW tuning correction
    7aeda81191fd tracing: Do not free snapshot if tracer is on cmdline
    57252e7bd491 tracing: Simplify conditional compilation code in tracing_set_tracer()
    20bc6d23f7f6 ksmbd: fix incorrect handling of iterate_dir
    3c8cfcaa2d9a ksmbd: handle smb2 query dir request for OutputBufferLength that is too small
    8754fa5dbc6e arm64: mte: move register initialization to C
    ea7be82fd7e1 fs: dlm: fix invalid derefence of sb_lvbptr
    0365d6af75f9 iommu/vt-d: Clean up si_domain in the init_dmars() error path
    5c95d0c9d0eb iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()
    209740fd132e net: phy: dp83822: disable MDI crossover status change interrupt
    ce1234573d18 net: sched: fix race condition in qdisc_graft()
    91f8f5342bee net: hns: fix possible memory leak in hnae_ae_register()
    50c31fa95230 wwan_hwsim: fix possible memory leak in wwan_hwsim_dev_new()
    d2fc83a6b55e sfc: include vport_id in filter spec hash and equal()
    c2e1e59d59fa net: sched: sfb: fix null pointer access issue when sfb_init() fails
    34f2a4eedc8e net: sched: delete duplicate cleanup of backlog and qlen
    154f4c06d9db net: sched: cake: fix null pointer access issue when cake_init() fails
    5efed7578dd4 nvmet: fix workqueue MEM_RECLAIM flushing dependency
    2f2b84b02088 nvme-hwmon: kmalloc the NVME SMART log buffer
    66c56b232839 nvme-hwmon: consistently ignore errors from nvme_hwmon_init
    d77f6908f9ce netfilter: nf_tables: relax NFTA_SET_ELEM_KEY_END set flags requirements
    efa9dd7e679e ionic: catch NULL pointer issue on reconfig
    35ece858660e net: hsr: avoid possible NULL deref in skb_clone()
    e326df21da25 dm: remove unnecessary assignment statement in alloc_dev()
    847301f0ee1c cifs: Fix xid leak in cifs_ses_add_channel()
    8905d13b9ede cifs: Fix xid leak in cifs_flock()
    27cfd3afaab0 cifs: Fix xid leak in cifs_copy_file_range()
    593d877c39aa cifs: Fix xid leak in cifs_create()
    a8df9d0428c7 udp: Update reuse->has_conns under reuseport_lock.
    9749595feb33 scsi: lpfc: Fix memory leak in lpfc_create_port()
    b9122e0e0ea8 net: phylink: add mac_managed_pm in phylink_config structure
    412db9b06d3c net: phy: dp83867: Extend RX strap quirk for SGMII mode
    5ce613051994 net/atm: fix proc_mpc_write incorrect return value
    0eb17faedce7 sfc: Change VF mac via PF as first preference if available.
    0f58940ca3c1 HID: magicmouse: Do not set BTN_MOUSE on double report
    94a171c982b8 i40e: Fix DMA mappings leak
    dbc01c0a4e20 tipc: fix an information leak in tipc_topsrv_kern_subscr
    b294cad6f02e tipc: Fix recognition of trial period
    6161c364e378 ACPI: extlog: Handle multiple records
    40e5fceddfd5 drm/vc4: Add module dependency on hdmi-codec
    6c5041a10324 btrfs: fix processing of delayed tree block refs during backref walking
    af67578d565c btrfs: fix processing of delayed data refs during backref walking
    c439cafce8cf x86/topology: Fix duplicated core ID within a package
    d31f4bc22596 x86/topology: Fix multiple packages shown on a single-package system
    fcc96e89b3ff media: venus: dec: Handle the case where find_format fails
    b22b4823a0a5 media: mceusb: set timeout to at least timeout provided
    5265cc1202a3 media: ipu3-imgu: Fix NULL pointer dereference in active selection access
    1e4e71f9e197 KVM: arm64: vgic: Fix exit condition in scan_its_table()
    5bf2fda26a72 kvm: Add support for arch compat vm ioctls
    112a005d1ded mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages
    2d508b4e6536 drm/amdgpu: fix sdma doorbell init ordering on APUs
    b5606e3ab1f7 cpufreq: qcom: fix memory leak in error path
    d866f5982c15 x86/resctrl: Fix min_cbm_bits for AMD
    8fbe13de1cc7 ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
    5d6a037b3a94 ata: ahci-imx: Fix MODULE_ALIAS
    30cf0dee372b hwmon/coretemp: Handle large core ID value
    2f7171465f26 x86/microcode/AMD: Apply the patch early on every logical thread
    93d7e2b47a72 i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter
    14d260f94ff8 cpufreq: qcom: fix writes in read-only memory region
    3006766d247b selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()
    1b31cb0065e2 ocfs2: fix BUG when iput after ocfs2_mknod fails
    e469db818ec9 ocfs2: clear dinode links count in case of error
    ded9d535be0d btrfs: enhance unsupported compat RO flags handling
    537412c54712 perf/x86/intel/pt: Relax address filter validation
    8ddc58e0e312 arm64: errata: Remove AES hwcap for COMPAT tasks
    738515cf8bb4 usb: gadget: uvc: improve sg exit condition
    db11d8c72a5d usb: gadget: uvc: giveback vb2 buffer on req complete
    aee340dccf5a usb: gadget: uvc: rework uvcg_queue_next_buffer to uvcg_complete_buffer
    2f54ce7392d7 usb: gadget: uvc: use on returned header len in video_encode_isoc_sg
    d80db2f1450c usb: gadget: uvc: consistently use define for headerlen
    f9681a67503e arm64/mm: Consolidate TCR_EL1 fields
    5b20aacff7ad r8152: add PID for the Lenovo OneLink+ Dock
    bd8a595958a5 Linux 5.15.75
    b6e2c54be37d io-wq: Fix memory leak in worker creation
    7c359e28492f gcov: support GCC 12.1 and newer compilers
    8418c1672c1f thermal: intel_powerclamp: Use first online CPU as control_cpu
    55c824b62067 ext4: continue to expand file system when the target size doesn't reach
    0e63de6d7e4c lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5
    84cd0b20fada Kconfig.debug: add toolchain checks for DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT
    371aaf6b48f5 Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5
    e1591557e3a0 drm/amd/display: Fix build breakage with CONFIG_DEBUG_FS=n
    34f31a2b6679 net/ieee802154: don't warn zero-sized raw_sendmsg()
    de904d0fe1cb Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
    9c65eef9d6c9 net: ethernet: ti: davinci_mdio: fix build for mdio bitbang uses
    d7eadffce032 blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
    28787ff9fbea ALSA: usb-audio: Fix last interface check for registration
    b8989e95d74e net: ieee802154: return -EINVAL for unknown addr type
    0db2efb3bff8 mm: hugetlb: fix UAF in hugetlb_handle_userfault
    98aada6e2278 io_uring/rw: fix unexpected link breakage
    d6b7efc722a2 io_uring/rw: fix error'ed retry return values
    e857457c6f90 io_uring/rw: fix short rw error handling
    cd148d4e3183 io_uring: correct pinned_vm accounting
    813d8fe5d303 io_uring/af_unix: defer registered files gc to io_uring release
    c69a2324fc6b perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
    e81bf40b280b clk: bcm2835: Round UART input clock up
    da17cbb229af clk: bcm2835: Make peripheral PLLC critical
    20b8c456df58 usb: idmouse: fix an uninit-value in idmouse_open
    ec8adf767e1c nvmet-tcp: add bounds check on Transfer Tag
    1c6432884010 nvme: copy firmware_rev on each init
    b9b5560b342e ext2: Use kvmalloc() for group descriptor array
    8c067a3051cd scsi: tracing: Fix compile error in trace_array calls when TRACING is disabled
    39bef9c6a91b staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
    b4573a2bad3c staging: rtl8723bs: fix potential memory leak in rtw_init_drv_sw()
    eb24d93e3e01 Revert "usb: storage: Add quirk for Samsung Fit flash"
    3a38985d8bfd usb: dwc3: core: Enable GUCTL1 bit 10 for fixing termination error after resume bug
    9d4f84a15f9c arm64: dts: imx8mp: Add snps,gfladj-refclk-lpm-sel quirk to USB nodes
    3c84c7f592c4 usb: musb: Fix musb_gadget.c rxstate overflow bug
    fcd594da0b59 usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
    9e86dffd0b02 md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d
    f8e80792c1a8 eventfd: guard wake_up in eventfd fs calls as well
    c61786dc727d HID: roccat: Fix use-after-free in roccat_read()
    f7f425d61de9 soundwire: intel: fix error handling on dai registration issues
    093a5463aeec soundwire: cadence: Don't overwrite msg->buf during write commands
    1b4ed920b2ff bcache: fix set_at_max_writeback_rate() for multiple attached devices
    eecb5ccc84a1 ata: libahci_platform: Sanity check the DT child nodes number
    70b2adb1d698 blk-throttle: prevent overflow while calculating wait time
    ff8551d411f1 staging: vt6655: fix potential memory leak
    7c8bc374659d power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
    3d6946180734 iommu/arm-smmu-v3: Make default domain type of HiSilicon PTT device to identity
    c0d73be0af8c nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
    9d54de866062 scsi: 3w-9xxx: Avoid disabling device if failing to enable it
    d68da10b0cce dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow
    518a2a1cc361 usb: host: xhci-plat: suspend/resume clks for brcm
    f002aa7c0ac5 usb: host: xhci-plat: suspend and resume clocks
    6bcd745c87a0 clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
    5c32cbf6ccea media: platform: fix some double free in meson-ge2d and mtk-jpeg and s5p-mfc
    6f21976095c1 media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
    0a07b13af04d clk: zynqmp: Fix stack-out-of-bounds in strncpy`
    3680442cbaee ARM: 9242/1: kasan: Only map modules if CONFIG_KASAN_VMALLOC=n
    4a89c0befca7 btrfs: don't print information about space cache or tree every remount
    39a07058c762 btrfs: scrub: try to fix super block errors
    f3857dd7c03a btrfs: dump extra info if one free space cache has more bitmaps than it should
    d3c6d5be46de arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply
    82046b6a84e0 kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT
    35365417333d ARM: dts: imx6sx: add missing properties for sram
    602813650cbc ARM: dts: imx6sll: add missing properties for sram
    6a12e1e23cb1 ARM: dts: imx6sl: add missing properties for sram
    8c24dc621bb7 ARM: dts: imx6qp: add missing properties for sram
    47666b9a11a1 ARM: dts: imx6dl: add missing properties for sram
    19fe40c5185d ARM: dts: imx6q: add missing properties for sram
    9361ba779152 ARM: dts: imx7d-sdb: config the max pressure for tsc2046
    0f90671ff93f drm/amd/display: Remove interface for periodic interrupt 1
    88fd06740659 drm/dp: Don't rewrite link config when setting phy test pattern
    668806a8268b mmc: sdhci-msm: add compatible string check for sdm670
    587c7da87721 drm/meson: explicitly remove aggregate driver at module unload time
    d76ff04a72f9 drm/meson: reorder driver deinit sequence to fix use-after-free bug
    d894db35617f drm/amdgpu: fix initial connector audio value
    e3675f688d3b ASoC: SOF: pci: Change DMI match info to support all Chrome platforms
    f16e1b7b3968 platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
    39da49ffa2f3 platform/chrome: cros_ec: Notify the PM of wake events during resume
    74636047845c drm: panel-orientation-quirks: Add quirk for Anbernic Win600
    2810061452f9 drm/vc4: vec: Fix timings for VEC modes
    0506c4eae9a9 ALSA: usb-audio: Register card at the last interface
    39d7a81bbb7a drm: bridge: dw_hdmi: only trigger hotplug event on link change
    dfbed8c92eb8 udmabuf: Set ubuf->sg = NULL if the creation of sg table fails
    a47d92c74b1e drm/amd/display: fix overflow on MIN_I64 definition
    a29f7427041a gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_init()
    5ff7bec678ca drm/komeda: Fix handling of atomic commits in the atomic_commit_tail hook
    ca163e389f0a drm: Prevent drm_copy_field() to attempt copying a NULL pointer
    df5ac9392648 drm: Use size_t type for len variable in drm_copy_field()
    5ab84b1596b2 drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()
    b3179865cf7e r8152: Rate limit overflow messages
    d1e894f950ad Bluetooth: L2CAP: Fix user-after-free
    124b7c773271 net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory
    5b94d48898d9 hwmon: (sht4x) do not overflow clamping operation on 32-bit platforms
    a269c3e39087 wifi: rt2x00: correctly set BBP register 86 for MT7620
    b5e6ada5a5d6 wifi: rt2x00: set SoC wmac clock register
    357c89074ae6 wifi: rt2x00: set VGC gain for both chains of MT7620
    92e2e04da567 wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620
    4304b8e07579 wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620
    4a5eab200e43 can: bcm: check the result of can_send() in bcm_can_tx()
    3423a50fa018 Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
    3ac837cef1fb Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()
    af46b2b9b096 wifi: mt76: mt7921: reset msta->airtime_ac while clearing up hw value
    e33da263e965 regulator: core: Prevent integer underflow
    d58c8781c0d7 Bluetooth: btintel: Mark Intel controller to support LE_STATES quirk
    232d59eca07f wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
    37f15edba22d iavf: Fix race between iavf_close and iavf_reset_task
    03155680191e xfrm: Update ipcomp_scratches with NULL when freed
    716c526d666d thunderbolt: Add back Intel Falcon Ridge end-to-end flow control workaround
    b1b4144508ad wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()
    839f563c5dc5 x86/mce: Retrieve poison range from hardware
    1663629bc3ff tcp: annotate data-race around tcp_md5sig_pool_populated
    7b03296b4f7a openvswitch: Fix overreporting of drops in dropwatch
    ffd7a1dcae9a openvswitch: Fix double reporting of drops in dropwatch
    d449d00a8dce net: ethernet: ti: davinci_mdio: Add workaround for errata i2329
    624f03a027f2 ice: set tx_tstamps when creating new Tx rings via ethtool
    2e52d858de3a bpftool: Clear errno after libcap's checks
    75995ce1c926 wifi: brcmfmac: fix invalid address access when enabling SCAN log level
    83b94969751a NFSD: fix use-after-free on source server when doing inter-server copy
    118dc74b2bc0 NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data
    066b1302f2a9 x86/entry: Work around Clang __bdos() bug
    06c56c9d5da8 ACPI: x86: Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable
    6733222f2cc9 ARM: decompressor: Include .data.rel.ro.local
    561490843445 thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash
    139bbbd01114 powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
    a1387ae83e97 MIPS: BCM47XX: Cast memcmp() of function to (void *)
    c2790fede920 cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode
    30eca146c89d ACPI: tables: FPDT: Don't call acpi_os_map_memory() on invalid phys address
    5374638222d0 ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
    7ed95b080334 rcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()
    cf38a05eb1d0 rcu: Back off upon fill_page_cache_func() allocation failure
    3e2d8b89f031 rcu: Avoid triggering strict-GP irq-work when RCU is idle
    27d3e646dd83 fs: dlm: fix race in lowcomms
    b6b87460f4eb selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle
    497d736784e5 f2fs: fix to account FS_CP_DATA_IO correctly
    fb1dcc2a9e4b f2fs: fix race condition on setting FI_NO_EXTENT flag
    6ddbd411a00a ACPI: APEI: do not add task_work to kernel thread to avoid memory leak
    21f1ba52b88c thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id
    172c8a24fc83 crypto: cavium - prevent integer overflow loading firmware
    12acfa1059ad crypto: marvell/octeontx - prevent integer overflows
    c963ce2fa05d kbuild: rpm-pkg: fix breakage when V=1 is used
    059ce6b68b76 kbuild: remove the target in signal traps when interrupted
    1e9c23db31b6 tracing/osnoise: Fix possible recursive locking in stop_per_cpu_kthreads
    84795de93e1f tracing: kprobe: Make gen test module work in arm and riscv
    867fce09aa20 tracing: kprobe: Fix kprobe event gen test module on exit
    a9990f24adfe iommu/iova: Fix module config properly
    f0cac6cc02a9 cifs: return correct error in ->calc_signature()
    1f1ab76e2515 crypto: qat - fix DMA transfer direction
    393307b99aac crypto: inside-secure - Change swab to swab32
    93538944ab0b crypto: ccp - Release dma channels before dmaengine unrgister
    779a9930f3e1 crypto: akcipher - default implementation for setting a private key
    0c7043a5b5c3 iommu/omap: Fix buffer overflow in debugfs
    046803b74d51 cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset
    771d8aa02dac crypto: hisilicon/qm - fix missing put dfx access
    9bf3ec61a246 crypto: qat - fix default value of WDT timer
    3bfc220e5ce3 hwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()
    507128a0e32d cgroup: Honor caller's cgroup NS when resolving path
    8ffe511b7de7 hwrng: arm-smccc-trng - fix NO_ENTROPY handling
    272093471305 crypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr
    e0b4ebf59834 crypto: sahara - don't sleep when in softirq
    8484023b5763 powerpc/pseries/vas: Pass hw_cpu_id to node associativity HCALL
    7f536a8cb62d powerpc/kprobes: Fix null pointer reference in arch_prepare_kprobe()
    1f98f8f43541 powerpc: Fix SPE Power ISA properties for e500v1 platforms
    72c5b7110fba powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
    399afe92f640 x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition
    592b302d8bf6 powerpc: Fix fallocate and fadvise64_64 compat parameter combination
    61af84b3db81 powerpc/powernv: add missing of_node_put() in opal_export_attrs()
    5be9cb6c06fa powerpc/pci_dn: Add missing of_node_put()
    5a13d3f1af1c powerpc/sysdev/fsl_msi: Add missing of_node_put()
    b0c0490b3c57 powerpc/math_emu/efp: Include module.h
    93379dc92de0 powerpc/configs: Properly enable PAPR_SCM in pseries_defconfig
    25a4fb0e1a76 mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
    b8fcd9ab0f65 mailbox: mpfs: account for mbox offsets while sending
    ba2264359525 mailbox: mpfs: fix handling of the reg property
    fad007a315fe clk: ast2600: BCLK comes from EPLL
    3441076f83aa clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
    9209e6bab75d clk: imx: scu: fix memleak on platform_device_add() fails
    bdf72f2d649b clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
    e338131e980b clk: baikal-t1: Add SATA internal ref clock buffer
    35b766027580 clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent
    b2db8b2c5391 clk: baikal-t1: Fix invalid xGMAC PTP clock divider
    435a8a39c6ae clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD
    b0bc75fe6775 spmi: pmic-arb: correct duplicate APID to PPID mapping logic
    faabbb103d60 usb: mtu3: fix failed runtime suspend in host only mode
    57f66534a41a dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
    8aa96c5bc393 clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
    2dafc5afd9d6 mfd: sm501: Add check for platform_driver_register()
    d43d93dbd8aa mfd: fsl-imx25: Fix check for platform_get_irq() errors
    b940bb3c8154 mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
    0715005c483e mfd: lp8788: Fix an error handling path in lp8788_probe()
    aec1f073f91f mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
    53bfc1c3c751 mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
    2f921d62c236 fsi: core: Check error number after calling ida_simple_get
    041c79f6aefb RDMA/rxe: Fix resize_finish() in rxe_queue.c
    959d4ee095e9 clk: qcom: gcc-sm6115: Override default Alpha PLL regs
    8e556f557368 clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical
    a26b0658751b scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()
    e87fb1fcf88f scsi: iscsi: Run recv path from workqueue
    c2af03a7c1b5 scsi: iscsi: Add recv workqueue helpers
    d6aafc21bef1 scsi: iscsi: Rename iscsi_conn_queue_work()
    e45a1516d293 scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()
    6a54f769748b serial: 8250: Fix restoring termios speed after suspend
    a5dba0933834 firmware: google: Test spinlock on panic path to avoid lockups
    60d14575d0ba slimbus: qcom-ngd-ctrl: allow compile testing without QCOM_RPROC_COMMON
    f19e5b7df545 staging: vt6655: fix some erroneous memory clean-up loops
    433c33c554d7 phy: qualcomm: call clk_disable_unprepare in the error handling
    c4293def8860 tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown
    a91a3c2d8db8 serial: 8250: Toggle IER bits on only after irq has been set up
    6be8e565a4a6 drivers: serial: jsm: fix some leaks in probe
    1d05df7757f4 usb: gadget: function: fix dangling pnp_string in f_printer.c
    ed2c66b75280 xhci: Don't show warning for reinit on known broken suspend
    4d7d8f5cb284 IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers
    e221b4f16e9e RDMA/cm: Use SLID in the work completion as the DLID in responder side
    7a37c58ee72e md/raid5: Remove unnecessary bio_put() in raid5_read_one_chunk()
    b467d9460ec2 md/raid5: Ensure stripe_fill happens on non-read IO with journal
    5d8259c9d191 md: Replace snprintf with scnprintf
    9e92d5ca5424 mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
    058833dbeb8d ata: fix ata_id_has_dipm()
    dad910a6d4a5 ata: fix ata_id_has_ncq_autosense()
    21faddeff7bf ata: fix ata_id_has_devslp()
    204cc767dcb5 ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
    5c75d608fad5 RDMA/siw: Fix QP destroy to wait for all references dropped.
    308cd50f174c RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.
    e58a0b9100ba RDMA/srp: Fix srp_abort()
    dc9e4ef6b072 RDMA/irdma: Align AE id codes to correct flush code and event
    84ce1a8e36bb mtd: rawnand: fsl_elbc: Fix none ECC mode
    be424a7d5374 mtd: rawnand: intel: Remove undocumented compatible string
    445395900b64 mtd: rawnand: intel: Read the chip-select line from the correct OF node
    cbbf9cca47ac phy: phy-mtk-tphy: fix the phy type setting issue
    e4be7c9495c8 phy: amlogic: phy-meson-axg-mipi-pcie-analog: Hold reference returned by of_get_parent()
    88263152ff56 mtd: devices: docg3: check the return value of devm_ioremap() in the probe
    a0e4ac698891 clk: qcom: sm6115: Select QCOM_GDSC
    aecb632674b7 dyndbg: drop EXPORTed dynamic_debug_exec_queries
    0d4421f2cb54 dyndbg: let query-modname override actual module name
    0c0d9f38b087 dyndbg: fix module.dyndbg handling
    49d85932f7d2 dyndbg: fix static_branch manipulation
    7cb9b20941e1 dmaengine: hisilicon: Add multi-thread support for a DMA channel
    b88630d9aac0 dmaengine: hisilicon: Fix CQ head update
    e84aeeafe8b3 dmaengine: hisilicon: Disable channels when unregister hisi_dma
    b94605f5cb99 fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
    11bd8bbdf8f6 misc: ocxl: fix possible refcount leak in afu_ioctl()
    c23c5e184550 RDMA/rxe: Fix the error caused by qp->sk
    f2f405af70e6 RDMA/rxe: Fix "kernel NULL pointer dereference" error
    2ea7caa96846 media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
    23624abbc9c6 media: uvcvideo: Use entity get_cur in uvc_ctrl_set
    6c5da92103bd media: uvcvideo: Fix memory leak in uvc_gpio_parse
    4e2042f1adc7 media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()
    aeffca434426 tty: xilinx_uartps: Fix the ignore_status
    a8d772c7b853 media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop
    6225501072d3 HSI: omap_ssi_port: Fix dma_map_sg error check
    691f23a8475f HSI: omap_ssi: Fix refcount leak in ssi_probe
    d6e750535b46 clk: tegra20: Fix refcount leak in tegra20_clock_init
    e7a57fb92af5 clk: tegra: Fix refcount leak in tegra114_clock_init
    417ed4432b1b clk: tegra: Fix refcount leak in tegra210_clock_init
    ca5f338ef165 clk: sprd: Hold reference returned by of_get_parent()
    49343bdf95eb clk: berlin: Add of_node_put() for of_get_parent()
    857b719bede4 clk: qoriq: Hold reference returned by of_get_parent()
    a8cbce0305b2 clk: oxnas: Hold reference returned by of_get_parent()
    e0001a565c16 clk: meson: Hold reference returned by of_get_parent()
    e900ec4c4f74 usb: common: debug: Check non-standard control requests
    c11f48764c8b RDMA/mlx5: Don't compare mkey tags in DEVX indirect mkey
    cd35ad9a7d66 iio: magnetometer: yas530: Change data type of hard_offsets to signed
    23fafc2e2cf6 iio: ABI: Fix wrong format of differential capacitance channel ABI.
    8169da520e8f iio: inkern: fix return value in devm_of_iio_channel_get_by_name()
    504e8807fe5f iio: inkern: only release the device node when done with it
    b0d4fcc3ecb8 iio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume
    5db9b840ac88 iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq
    c5c63736d2a1 iio: adc: at91-sama5d2_adc: check return status for pressure and touch
    5f1654a0e520 iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX
    017cf3b0a628 ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
    6c93b683ceda arm64: ftrace: fix module PLTs with mcount
    bbf64eb10273 ext4: don't run ext4lazyinit for read-only filesystems
    7a00a2320752 ARM: Drop CMDLINE_* dependency on ATAGS
    2af04fe87ea5 ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
    2134214bc403 arm64: dts: ti: k3-j7200: fix main pinmux range
    7247a1d7a46a soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA
    4f7892f24281 ia64: export memory_add_physaddr_to_nid to fix cxl build error
    2ef01657b2d6 ARM: dts: kirkwood: lsxl: remove first ethernet port
    bf7caa3c5caf ARM: dts: kirkwood: lsxl: fix serial line
    42ce4c73a468 ARM: dts: turris-omnia: Fix mpp26 pin name and comment
    96d8f2b43e72 ARM: dts: imx6qdl-kontron-samx6i: hook up DDC i2c bus
    08ada28d1def soc: qcom: smem_state: Add refcounting for the 'state->of_node'
    96e0028debdd soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
    a29b6eb959bd locks: fix TOCTOU race when granting write lease
    7e053784c4c7 memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
    2680690f9ce4 memory: of: Fix refcount leak bug in of_get_ddr_timings()
    566b143aa511 memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
    10df962300c2 ALSA: hda/hdmi: Don't skip notification handling during PM operation
    cc756b79a5c9 ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe
    f9cb3bd55726 ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
    b7dda65fa875 ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
    b2bc9fc56a3e ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
    3c3ef19a8870 mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
    b14dc262274b ALSA: dmaengine: increment buffer pointer atomically
    f5f1f5ee5048 ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
    f910aca07625 ASoC: codecs: tx-macro: fix kcontrol put
    b47a37ad4a44 drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()
    bdf54d4b0074 drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()
    635e7700c5b4 drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx
    4f859884673d ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API
    64545b8a9690 mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
    3ba3814c00a4 drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()
    a5ce83e85d79 drm/omap: dss: Fix refcount leak bugs
    f5f599daa0bc drm/bochs: fix blanking
    928ac9fc1ace ALSA: hda: beep: Simplify keep-power-at-enable behavior
    fbb88a7c84c1 ASoC: rsnd: Add check for rsnd_mod_power_on
    4610e7a4111f drm/bridge: megachips: Fix a null pointer dereference bug
    079c550c57ff drm/amdgpu: add missing pci_disable_device() in amdgpu_pmops_runtime_resume()
    c12daccc9017 platform/chrome: cros_ec_typec: Correct alt mode index
    c317d2b8a430 platform/x86: msi-laptop: Fix resource cleanup
    0e21d41bc768 platform/x86: msi-laptop: Fix old-ec check for backlight registering
    6bc81c1b6313 ASoC: tas2764: Fix mute/unmute
    e644497c5361 ASoC: tas2764: Drop conflicting set_bias_level power setting
    35bd912ed6c0 ASoC: tas2764: Allow mono streams
    fd1d3b265784 platform/chrome: fix memory corruption in ioctl
    27bb672c0437 platform/chrome: fix double-free in chromeos_laptop_prepare()
    57dfb855bc9e ASoC: mt6359: fix tests for platform_get_irq() failure
    8a475a7732a5 drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()
    56d2233cf573 drm/dp_mst: fix drm_dp_dpcd_read return value checks
    fe6eb3d0c874 drm/bridge: parade-ps8640: Fix regulator supply order
    60630834fad3 drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling
    26c1b4cfe56f drm/mipi-dsi: Detach devices when removing the host
    652042135e08 drm/bridge: Avoid uninitialized variable warning
    f369fb4deed7 drm: bridge: adv7511: unregister cec i2c device after cec adapter
    20609125b8bd drm: bridge: adv7511: fix CEC power down control register offset
    a624161ebe0c net: mvpp2: fix mvpp2 debugfs leak
    7aef5082c56e once: add DO_ONCE_SLOW() for sleepable contexts
    77bfd26cbb61 net/ieee802154: reject zero-sized raw_sendmsg()
    dc4e9cd6d6a6 net: wwan: iosm: Call mutex_init before locking it
    0b6516a4e3eb bnx2x: fix potential memory leak in bnx2x_tpa_stop()
    30bfa5aa7228 net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
    f828333ca90f hwmon: (pmbus/mp2888) Fix sensors readouts for MPS Multi-phase mp2888 controller
    c91b922b4170 spi: Ensure that sg_table won't be used after being freed
    49d429760df7 tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited
    19d636b663e0 sctp: handle the error returned from sctp_auth_asoc_init_active_key
    7bfa18b05f38 mISDN: fix use-after-free bugs in l1oip timer handlers
    6f1991a940b9 eth: alx: take rtnl_lock on resume
    e28a4e7f0296 vhost/vsock: Use kvmalloc/kvfree for larger packets.
    5dbdd690ed83 wifi: rtl8xxxu: Fix AIFS written to REG_EDCA_*_PARAM
    432eecffcf1b spi: s3c64xx: Fix large transfers with DMA
    1454a26cb1ab netfilter: nft_fib: Fix for rpath check with VRF devices
    7d98b26684cb xfrm: Reinject transport-mode packets through workqueue
    397e880acf44 Bluetooth: hci_core: Fix not handling link timeouts propertly
    1331d3e1f9b5 i2c: mlxbf: support lock mechanism
    9233ab8198d8 skmsg: Schedule psock work if the cached skb exists on the psock
    44f1dc2e821d spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
    daa5239ea49f spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe
    6b941151865e x86/cpu: Include the header of init_ia32_feat_ctl()'s prototype
    3c27a1380798 x86/microcode/AMD: Track patch allocation size explicitly
    3e2b805a68ab wifi: ath11k: fix number of VHT beamformee spatial streams
    5a6827cdc258 netfilter: conntrack: revisit the gc initial rescheduling bias
    9c39ca418ba3 netfilter: conntrack: fix the gc rescheduling delay
    b8917dce2134 Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure
    c087c35292ea bpf: Ensure correct locking around vulnerable function find_vpid()
    a0f15af17b7d net: fs_enet: Fix wrong check in do_pd_setup
    ee7c5e814fb2 Bluetooth: RFCOMM: Fix possible deadlock on socket shutdown/release
    57d4f2f8a67b wifi: mt76: mt7915: do not check state before configuring implicit beamform
    dea9093f24d6 wifi: mt76: mt7615: add mt7615_mutex_acquire/release in mt7615_sta_set_decap_offload
    817e8b75ae06 wifi: mt76: sdio: fix transmitting packet hangs
    5dc095a37fbd wifi: rtl8xxxu: Remove copy-paste leftover in gen2_update_rate_mask
    9973f78c19f3 wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration
    5d9222c68022 bpf: btf: fix truncated last_member_type_id in btf_struct_resolve
    4ce47c5545d2 spi: meson-spicc: do not rely on busy flag in pow2 clk ops
    36c484bac9ed wifi: rtl8xxxu: Fix skb misuse in TX queue selection
    fefd2269e681 spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()
    e22f6499183d spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()
    37005a948677 selftests/xsk: Avoid use-after-free on ctx
    69995c64e50e wifi: rtw88: add missing destroy_workqueue() on error path in rtw_core_init()
    6f9484e969cb wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()
    d091771f511d Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend
    f91e25cfa553 bpf: Use this_cpu_{inc|dec|inc_return} for bpf_task_storage_busy
    0e1342510490 bpf: Propagate error from htab_lock_bucket() to userspace
    0b00c6130c1a bpf: Disable preemption when increasing per-cpu map_locked
    68ab7690332a xsk: Fix backpressure mechanism on Tx
    0559a6d96a99 x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
    e962e458bf96 spi: mt7621: Fix an error message in mt7621_spi_probe()
    0a16bbc8b030 bpftool: Fix a wrong type cast in btf_dumper_int
    6e8eadfa9bb1 wifi: mac80211: allow bw change during channel switch in mesh
    4ed5155043c9 bpf: Fix reference state management for synchronous callbacks
    3d0a101e7139 leds: lm3601x: Don't use mutex after it was destroyed
    54a3201f3c1f wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
    714536ff6f6c wifi: rtlwifi: 8192de: correct checking of IQK reload
    80a474502ef5 NFSD: Fix handling of oversized NFSv4 COMPOUND requests
    dc7f225090c2 NFSD: Protect against send buffer overflow in NFSv2 READDIR
    cedaf73c8bda SUNRPC: Fix svcxdr_init_encode's buflen calculation
    6b55707ff8b2 SUNRPC: Fix svcxdr_init_decode's end-of-buffer calculation
    aed881630557 nfsd: Fix a memory leak in an error handling path
    5c4b234c44cb objtool: Preserve special st_shndx indexes in elf_update_symbol
    425a2a9469d2 ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
    2647b20e043c ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()
    93296e7ab774 MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()
    993b13abde17 MIPS: SGI-IP27: Free some unused memory
    959855093f94 sh: machvec: Use char[] for section boundaries
    91fafd22f852 thermal: cpufreq_cooling: Check the policy first in cpufreq_cooling_register()
    81fb3ee298d5 ntfs3: rework xattr handlers and switch to POSIX ACL VFS helpers
    33d478eee2b5 userfaultfd: open userfaultfds with O_RDONLY
    10918ebecdc9 ima: fix blocking of security.ima xattrs of unsupported algorithms
    b7af9b8be891 selinux: use "grep -E" instead of "egrep"
    73b8218ef4aa smb3: must initialize two ACL struct fields to zero
    adf428ae46be drm/amd/display: Fix vblank refcount in vrr transition
    60a517452560 drm/i915: Fix watermark calculations for gen12+ CCS+CC modifier
    01bd3eaa5371 drm/i915: Fix watermark calculations for gen12+ MC CCS modifier
    20018a252f19 drm/i915: Fix watermark calculations for gen12+ RC CCS modifier
    861f085f81fd drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
    446d40e2a8cb drm/nouveau/kms/nv140-: Disable interlacing
    4dab0d27a421 staging: greybus: audio_helper: remove unused and wrong debugfs usage
    28eb4bdb23e2 KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS
    4f7b1e7d0f36 KVM: nVMX: Don't propagate vmcs12's PERF_GLOBAL_CTRL settings to vmcs02
    be1a6a61f1b3 KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"
    379de01906eb KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility
    e3e5baa36879 blk-wbt: call rq_qos_add() after wb_normal is initialized
    e8e0a6f4b8a2 media: cedrus: Fix endless loop in cedrus_h265_skip_bits()
    b76fac61c33f media: cedrus: Set the platform driver data earlier
    b19254eadab3 efi: libstub: drop pointless get_memory_map() call
    5cda4a11b490 thunderbolt: Explicitly enable lane adapter hotplug events at startup
    d9c79fbcbdb6 tracing: Fix reading strings from synthetic events
    b9ab154d22b8 tracing: Add "(fault)" name injection to kernel probes
    8ae88c4842c2 tracing: Move duplicate code of trace_kprobe/eprobe.c into header
    84f4be2093e1 tracing: Add ioctl() to force ring buffer waiters to wake up
    32eb54a986f4 tracing: Wake up waiters when tracing is disabled
    2475de2bc0de tracing: Wake up ring buffer waiters on closing of the file
    48272aa48d80 tracing: Disable interrupt or preemption before acquiring arch_spinlock_t
    d4ab9bc5f56e ring-buffer: Fix race between reset page and reading page
    be60f698c276 ring-buffer: Add ring_buffer_wake_waiters()
    5201dd81aef7 ring-buffer: Check pending waiters when doing wake ups as well
    bc6d4e9d6484 ring-buffer: Have the shortest_full queue be the shortest not longest
    e8d116738514 ring-buffer: Allow splice to read previous partially read pages
    fb96b7489fbd ftrace: Properly unset FTRACE_HASH_FL_MOD
    31dc1727c103 livepatch: fix race between fork and KLP transition
    36997b75bbb3 ext4: update 'state->fc_regions_size' after successful memory allocation
    417b0455a0b6 ext4: fix potential memory leak in ext4_fc_record_regions()
    9b5eb368a86f ext4: fix potential memory leak in ext4_fc_record_modified_inode()
    ef1607c99136 ext4: fix miss release buffer head in ext4_fc_write_inode
    d29fa1ab4e62 ext4: fix dir corruption when ext4_dx_add_entry() fails
    d12471b41674 ext4: place buffer head allocation before handle start
    46e5f470a144 ext4: ext4_read_bh_lock() should submit IO if the buffer isn't uptodate
    1f5e643b3829 ext4: don't increase iversion counter for ea_inodes
    dd366295d1ec ext4: fix check for block being out of directory size
    4a967fe8b043 ext4: make ext4_lazyinit_thread freezable
    533c60a0b97c ext4: fix null-ptr-deref in ext4_write_info
    d8e4af8314df ext4: avoid crash when inline data creation follows DIO write
    56fcd0788f0d jbd2: add miss release buffer head in fc_do_one_pass()
    d11d2ded2939 jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
    e7385c868ee0 jbd2: fix potential buffer head reference count leak
    d87fe290a533 jbd2: wake up journal waiters in FIFO order, not LIFO
    7434626c5eaa hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero
    095493833b18 hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZERO
    73687c53919f f2fs: fix to do sanity check on summary info
    ed854f10e6af f2fs: fix to do sanity check on destination blkaddr during recovery
    7f10357c9046 f2fs: increase the limit for reserve_root
    0035b84223de f2fs: flush pending checkpoints when freezing super
    ab4958975490 f2fs: complete checkpoints during remount
    0a408c6212c1 btrfs: set generation before calling btrfs_clean_tree_block in btrfs_init_new_buffer
    4b996a3014ef btrfs: fix race between quota enable and quota rescan ioctl
    0d9423034308 fs: record I_DIRTY_TIME even if inode already has I_DIRTY_INODE
    95a520b591c9 ksmbd: Fix user namespace mapping
    a19f316406ea ksmbd: Fix wrong return value and message length check in smb2_ioctl()
    39b685562825 ksmbd: fix endless loop when encryption for response fails
    2b0897e33682 fbdev: smscufx: Fix use-after-free in ufx_ops_open()
    aa7b2c927e4e pinctrl: rockchip: add pinmux_ops.gpio_set_direction callback
    5d97378b3626 gpio: rockchip: request GPIO mux to pinctrl when setting direction
    e0b1c16fdadd scsi: qedf: Populate sysfs attributes for vport
    1d567179f277 slimbus: qcom-ngd: cleanup in probe error path
    fa0aab2e45f0 slimbus: qcom-ngd: use correct error in message of pdr_add_lookup() failure
    ba2159df1806 powerpc/boot: Explicitly disable usage of SPE instructions
    9df2a9cdad5b powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain
    75d9de25a6f8 NFSD: Protect against send buffer overflow in NFSv3 READ
    2be9331ca606 NFSD: Protect against send buffer overflow in NFSv2 READ
    071a076fd1b7 NFSD: Protect against send buffer overflow in NFSv3 READDIR
    209a94c5192b serial: 8250: Request full 16550A feature probing for OxSemi PCIe devices
    63a3d75cf18c serial: 8250: Let drivers request full 16550A feature probing
    26e5c79e673c PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge
    7c16d0a4e6a4 xen/gntdev: Accommodate VMA splitting
    1cb73704cb47 xen/gntdev: Prevent leaking grants
    43bed0a13a5c mm/mmap: undo ->mmap() when arch_validate_flags() fails
    2b0072d33eb6 mm/damon: validate if the pmd entry is present before accessing
    91c4eb16e804 arm64: errata: Add Cortex-A55 to the repeat tlbi list
    fc0f921b7e6e drm/udl: Restore display mode on resume
    064093472524 drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()
    fb3910436be4 drm/virtio: Unlock reservations on virtio_gpu_object_shmem_init() error
    f122bcb34f1a drm/virtio: Check whether transferred 2D BO is shmem
    a95fb5d55af0 dmaengine: mxs: use platform_driver_register
    e7a3334e83f9 Revert "drm/amdgpu: use dirty framebuffer helper"
    4bdedc3b5341 nvme-pci: set min_align_mask before calculating max_hw_sectors
    32aa0b3f0c06 nvme-multipath: fix possible hang in live ns resize with ANA access
    9391cc3a787a nvmem: core: Fix memleak in nvmem_register()
    7efe61dc6aa4 UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
    81ab826a285d riscv: Pass -mno-relax only on lld < 15.0.0
    7780bb02a069 riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb
    c657b70e8074 riscv: Make VM_WRITE imply VM_READ
    3c3c4fa118a4 riscv: Allow PROT_WRITE-only mmap()
    af3aaee08df8 parisc: fbdev/stifb: Align graphics memory size to 4MB
    dc235db7b79a RISC-V: Make port I/O string accessors actually work
    8c487db000fd riscv: topology: fix default topology reporting
    d46c24f307fb arm64: topology: move store_cpu_topology() to shared code
    fcf0f6cbb653 regulator: qcom_rpm: Fix circular deferral regression
    78d81a8a8ce1 net: thunderbolt: Enable DMA paths only after rings are enabled
    3281e81ce90c hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API
    e1ab98ec2bc9 ASoC: wcd934x: fix order of Slimbus unprepare/disable
    a2140a9922d1 ASoC: wcd9335: fix order of Slimbus unprepare/disable
    d0507b36da9f platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure
    fcfeecca153d quota: Check next/prev free block number after reading from quota file
    17214cfab73b HID: multitouch: Add memory barriers
    219e4a0f9d68 fs: dlm: handle -EBUSY first in lock arg validation
    34ed22dd2860 fs: dlm: fix race between test_bit() and queue_work()
    7fa5304c4b5b i2c: designware: Fix handling of real but unexpected device interrupts
    f9effcefa8be mmc: sdhci-sprd: Fix minimum clock limit
    a4df91a88c3f can: kvaser_usb_leaf: Fix CAN state after restart
    0c28c2c0cfa2 can: kvaser_usb_leaf: Fix TX queue out of sync after restart
    b8c4f6345e0e can: kvaser_usb_leaf: Fix overread with an invalid command
    de4434d6823c can: kvaser_usb: Fix use of uninitialized completion
    354d768e315d usb: add quirks for Lenovo OneLink+ Dock
    103b459590e1 xhci: dbc: Fix memory leak in xhci_alloc_dbc()
    39f4c90b9995 iio: pressure: dps310: Reset chip after timeout
    bc493cd75466 iio: pressure: dps310: Refactor startup procedure
    5f6bfc1926bb iio: adc: ad7923: fix channel readings for some variants
    1be580ed8403 iio: ltc2497: Fix reading conversion results
    ef4018707df8 iio: dac: ad5593r: Fix i2c read protocol requirements
    60480291c1fc cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
    0d814a2199cf cifs: destage dirty pages before re-reading them for cache=none
    15993e9a9b12 hv_netvsc: Fix race between VF offering and VF association message from host
    f9dc33f23153 io_uring/net: don't update msg_name if not provided
    a1bd289c10ac mtd: rawnand: atmel: Unmap streaming DMA mappings
    3e4d2375d154 ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
    41e83faf036c ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
    c01f385c70db ALSA: hda/realtek: Correct pin configs for ASUS G533Z
    0d50e05ecc2c ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
    ec439b97d983 ALSA: usb-audio: Fix NULL dererence at error path
    0672215994e2 ALSA: usb-audio: Fix potential memory leaks
    550ca3082ebd ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
    45899fae65e5 ALSA: oss: Fix potential deadlock at unregistration
    5ca155aa79e9 Revert "fs: check FMODE_LSEEK to control internal pipe splicing"

(From OE-Core rev: 865633976508a3af002a68f0c68d36a74ce6b53c)

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>
2022-11-22 12:26:45 +00:00
Bruce Ashfield
52fb9859c7 linux-yocto/5.19: update to v5.19.17
Updating  to the latest korg -stable release that comprises
the following commits:

    2b525314c7b5 Linux 5.19.17
    65ea3311ce7c drm/i915/bios: Use hardcoded fp_timing size for generating LFP data pointers
    a34bc0ff223f drm/i915/bios: Validate fp_timing terminator presence
    6ba258c8082f drm/i915: Rename block_size()/block_offset()
    25151f50686e ext4: continue to expand file system when the target size doesn't reach
    5d671a666c69 HID: uclogic: Add missing suffix for digitalizers
    8b922cab735b lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5
    a2f91e15ceaf Kconfig.debug: add toolchain checks for DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT
    01d15d7f3bb1 Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5
    6cfc3d5b06fe kbuild: Add skip_encoding_btf_enum64 option to pahole
    d8861de1c35b drm/amd/display: Fix build breakage with CONFIG_DEBUG_FS=n
    43f49952df6a powerpc/64s/interrupt: Fix lost interrupts when returning to soft-masked context
    df0da3fc1311 net/ieee802154: don't warn zero-sized raw_sendmsg()
    7b5a94b4dccd Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
    a2852ff5df30 Revert "drm/amd/display: correct hostvm flag"
    72fedefeaaee net: ethernet: ti: davinci_mdio: fix build for mdio bitbang uses
    7a5dc0f4bc45 blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
    9d4f4dc3cd38 ALSA: usb-audio: Fix last interface check for registration
    0ad680a71ef6 net: ieee802154: return -EINVAL for unknown addr type
    dd691973f67b mm: hugetlb: fix UAF in hugetlb_handle_userfault
    bd3183508842 perf intel-pt: Fix system_wide dummy event for hybrid
    41e4f3b62546 perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
    18e98d56fdf8 perf: Skip and warn on unknown format 'configN' attrs
    d53d82a9c515 clk: bcm2835: Round UART input clock up
    4fc3d834cad9 clk: bcm2835: Make peripheral PLLC critical
    72b67ce35bcc usb: typec: ucsi: Don't warn on probe deferral
    1d5ad0a874dd fsi: occ: Prevent use after free
    fbcf76240a30 hwmon (occ): Retry for checksum failure
    63a681bcc32a blk-mq: use quiesced elevator switch when reinitializing queues
    6163a5ae097b usb: idmouse: fix an uninit-value in idmouse_open
    fcf82e4553db nvmet-tcp: add bounds check on Transfer Tag
    1ce3c83795b7 nvme: copy firmware_rev on each init
    24e2357041c8 nvme: handle effects after freeing the request
    18c37236b0b0 ext2: Use kvmalloc() for group descriptor array
    2ad8143884b9 scsi: tracing: Fix compile error in trace_array calls when TRACING is disabled
    a5be64ff6d21 staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
    6b2052b365f8 staging: rtl8723bs: fix potential memory leak in rtw_init_drv_sw()
    65bb21134ffc Revert "usb: storage: Add quirk for Samsung Fit flash"
    a5ec6978e657 usb: dwc3: core: Enable GUCTL1 bit 10 for fixing termination error after resume bug
    dd4d06dc5c12 arm64: dts: imx8mp: Add snps,gfladj-refclk-lpm-sel quirk to USB nodes
    6289a58d4f19 usb: dwc3: core: add gfladj_refclk_lpm_sel quirk
    a9ccd2ab1bec usb: musb: Fix musb_gadget.c rxstate overflow bug
    a40ad4752360 usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
    2cab058f2b14 md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d
    6a0781b8a46d eventfd: guard wake_up in eventfd fs calls as well
    f3ae6aac9e0e HID: nintendo: check analog user calibration for plausibility
    78b0ef14896f HSI: ssi_protocol: fix potential resource leak in ssip_pn_open()
    2d38886ae036 HID: roccat: Fix use-after-free in roccat_read()
    24ba97974ef3 soundwire: intel: fix error handling on dai registration issues
    d4188d2e2842 soundwire: cadence: Don't overwrite msg->buf during write commands
    864934cbe72c bcache: fix set_at_max_writeback_rate() for multiple attached devices
    e225ca58f63a ata: libahci_platform: Sanity check the DT child nodes number
    cc6f0855bf8d blk-throttle: prevent overflow while calculating wait time
    fb5f569bcda8 staging: vt6655: fix potential memory leak
    038e4aa71281 power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
    b737f60538ab usb: gadget: uvc: increase worker prio to WQ_HIGHPRI
    78e83cfc64b5 iommu/arm-smmu-v3: Make default domain type of HiSilicon PTT device to identity
    62006a72b05e nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
    53b6d7e49998 scsi: 3w-9xxx: Avoid disabling device if failing to enable it
    e0b16bfbd3a4 dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow
    04e7cd8c8563 scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID
    1f7181ce5891 usb: host: xhci-plat: suspend/resume clks for brcm
    e2df82b8e742 usb: host: xhci-plat: suspend and resume clocks
    72dbdd00fb2a RDMA/rxe: Delete error messages triggered by incoming Read requests
    f2cf53ed2ce2 clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
    fb98ebac0169 media: platform: fix some double free in meson-ge2d and mtk-jpeg and s5p-mfc
    704838040f3b media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
    d66fea97671f clk: zynqmp: Fix stack-out-of-bounds in strncpy`
    5f11e22d1d5a ARM: 9242/1: kasan: Only map modules if CONFIG_KASAN_VMALLOC=n
    0d10683a2cd3 ARM: 9234/1: stacktrace: Avoid duplicate saving of exception PC value
    91bcc794c72e ARM: 9233/1: stacktrace: Skip frame pointer boundary check for call_with_stack()
    819a61301275 btrfs: call __btrfs_remove_free_space_cache_locked on cache load failure
    42817b55ea97 btrfs: don't print information about space cache or tree every remount
    a5658aac9fbb btrfs: scrub: try to fix super block errors
    1d520f11f5f4 btrfs: scrub: properly report super block errors in system log
    8e0798d8fc25 btrfs: dump extra info if one free space cache has more bitmaps than it should
    dd0368cc7dd7 arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply
    aa7dbed46a13 arm64: dts: imx8mm-kontron: Use the VSELECT signal to switch SD card IO voltage
    f7205229eed2 kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT
    010d3fd16a07 ARM: dts: imx6sx-udoo-neo: don't use multiple blank lines
    a78bbaa94455 ARM: dts: imx6sl: use tabs for code indent
    e68c078e2f4b ARM: dts: imx6sx: add missing properties for sram
    91e4ed75545b ARM: dts: imx6sll: add missing properties for sram
    295a1403c79c ARM: dts: imx6sl: add missing properties for sram
    37b648d675c9 ARM: dts: imx6qp: add missing properties for sram
    a6cbafacd5a4 ARM: dts: imx6dl: add missing properties for sram
    008b63067257 ARM: dts: imx6q: add missing properties for sram
    8dc0c1860e38 ARM: dts: imx7d-sdb: config the max pressure for tsc2046
    9fb0373188af ARM: dts: imx6: delete interrupts property if interrupts-extended is set
    5861c094874d drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
    7e8d44956459 drm/amd/display: polling vid stream status in hpo dp blank
    68a6337c14ab drm/amd/display: Remove interface for periodic interrupt 1
    fc211b16a558 drm/dp: Don't rewrite link config when setting phy test pattern
    de2b6ebe0cb7 drm/meson: remove drm bridges at aggregate driver unbind time
    f11aa996fc01 drm/meson: explicitly remove aggregate driver at module unload time
    9190d287f7a6 drm/meson: reorder driver deinit sequence to fix use-after-free bug
    fc273ad2e3f5 drm/amdgpu: fix initial connector audio value
    50f9f5d15eae drm/amd/display: correct hostvm flag
    b892c57a3a04 drm/amdgpu: SDMA update use unlocked iterator
    9a0b26c494d3 ASoC: SOF: add quirk to override topology mclk_id
    6a4c1ca1f3fb ASoC: SOF: pci: Change DMI match info to support all Chrome platforms
    3c72d295e79e ALSA: intel-dspconfig: add ES8336 support for AlderLake-PS
    6c28e90c8fd0 platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
    14992b9f184b platform/x86: hp-wmi: Setting thermal profile fails with 0x06
    c1f00121bf31 platform/chrome: cros_ec: Notify the PM of wake events during resume
    a4b478254264 drm: panel-orientation-quirks: Add quirk for Aya Neo Air
    d52193da78bd drm: panel-orientation-quirks: Add quirk for Anbernic Win600
    a7f778799d49 drm/vc4: vec: Fix timings for VEC modes
    0f1bddc91d55 ALSA: usb-audio: Register card at the last interface
    3f2cfb29dceb drm/admgpu: Skip CG/PG on SOC21 under SRIOV VF
    3509d768e206 drm/amdgpu: Skip the program of MMMC_VM_AGP_* in SRIOV on MMHUB v3_0_0
    3e3be30aa035 drm: bridge: dw_hdmi: only trigger hotplug event on link change
    c6b6279bfdc5 platform/x86: pmc_atom: Improve quirk message to be less cryptic
    fc285549f454 udmabuf: Set ubuf->sg = NULL if the creation of sg table fails
    1533340aa907 drm/amd/display: fix overflow on MIN_I64 definition
    b2e4323e0020 gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_init()
    e71fe9b97fae drm/komeda: Fix handling of atomic commits in the atomic_commit_tail hook
    2d6708ea5c20 drm: Prevent drm_copy_field() to attempt copying a NULL pointer
    7ab28b8e182e drm: Use size_t type for len variable in drm_copy_field()
    38ba098ef1b6 drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()
    2e896abccf99 r8152: Rate limit overflow messages
    2a75f83ba81c i2c: designware-pci: Group AMD NAVI quirk parts together
    6ffde6e03085 Bluetooth: L2CAP: Fix user-after-free
    44bd0d19c580 bpf: use bpf_prog_pack for bpf_dispatcher
    d72bc08770fa bpf: Adjust kprobe_multi entry_ip for CONFIG_X86_KERNEL_IBT
    35f5e70bdfa7 net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory
    19fced8ecda1 hwmon: (sht4x) do not overflow clamping operation on 32-bit platforms
    68ff5178d965 wifi: rt2x00: correctly set BBP register 86 for MT7620
    784881e9e7be wifi: rt2x00: set SoC wmac clock register
    227e5eb1bb5a wifi: rt2x00: set VGC gain for both chains of MT7620
    0202c5803d64 wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620
    36576de88fbe wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620
    a9fc0a42ccbf can: bcm: check the result of can_send() in bcm_can_tx()
    eb0a9375bbd8 selftests/bpf: Free the allocated resources after test case succeeds
    c72dad9a1d37 bnxt_en: replace reset with config timestamps
    ef055094df4c Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
    e812142450e0 Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()
    26bdfc875559 wifi: rtw89: fix rx filter after scan
    d4b4f6ff8ff1 wifi: rtw89: free unused skb to prevent memory leak
    b32b0cd0eddb wifi: mt76: mt7921: reset msta->airtime_ac while clearing up hw value
    72ef896e80b6 wifi: ath11k: mhi: fix potential memory leak in ath11k_mhi_register()
    9f2395316e48 regulator: core: Prevent integer underflow
    52b43d6402bc Bluetooth: btintel: Mark Intel controller to support LE_STATES quirk
    27574a3f421c wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
    47c838195c7d iavf: Fix race between iavf_close and iavf_reset_task
    8a648bb49115 rtw89: ser: leave lps with mutex
    56d96f8f9bbd wifi: ath11k: Register shutdown handler for WCN6750
    f3bdba4440d8 xfrm: Update ipcomp_scratches with NULL when freed
    a948da5aba02 net-next: Fix IP_UNICAST_IF option behavior for connected sockets
    7d1e5f5ee93d net: axienet: Switch to 64-bit RX/TX statistics
    05785ba834f2 x86/apic: Don't disable x2APIC if locked
    650fa7d1af15 thunderbolt: Add back Intel Falcon Ridge end-to-end flow control workaround
    0d2649b288b7 wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()
    a9c5c9ce7e58 x86/mce: Retrieve poison range from hardware
    6762c85aaee4 tcp: annotate data-race around tcp_md5sig_pool_populated
    77939e5bcc50 openvswitch: Fix overreporting of drops in dropwatch
    b3fa7d5d5eaa openvswitch: Fix double reporting of drops in dropwatch
    bc3e22550bbb net: ethernet: ti: davinci_mdio: Add workaround for errata i2329
    13180cb88a7b ice: set tx_tstamps when creating new Tx rings via ethtool
    8735e5c122b6 bpftool: Clear errno after libcap's checks
    4d4dcfa6b4e8 wifi: brcmfmac: fix invalid address access when enabling SCAN log level
    e7863058e529 wifi: ath10k: Set tx credit to one for WCN3990 snoc based devices
    6ea71246b7a0 NFSD: fix use-after-free on source server when doing inter-server copy
    14bde62cef7c NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data
    7b593b50f20c x86/entry: Work around Clang __bdos() bug
    d12ad2bb3feb ACPI: x86: Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable
    aff390ceb399 ARM: decompressor: Include .data.rel.ro.local
    6e2a347b3042 thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash
    6216b685b8f4 powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
    dced4eaa9143 MIPS: BCM47XX: Cast memcmp() of function to (void *)
    25b364cb9b72 cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode
    90bfc9ae875d ACPI: tables: FPDT: Don't call acpi_os_map_memory() on invalid phys address
    ed42391164e6 fortify: Fix __compiletime_strlen() under UBSAN_BOUNDS_LOCAL
    bf873a25c552 ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
    8ce338db7440 cpufreq: amd_pstate: fix wrong lowest perf fetch
    aaa63801145a rcu: Back off upon fill_page_cache_func() allocation failure
    eaa91f54df78 rcu: Avoid triggering strict-GP irq-work when RCU is idle
    eb97e60a9eae fs: dlm: fix race in lowcomms
    d1bfec0f742c module: tracking: Keep a record of tainted unloaded modules only
    b9ffdfc1bedb selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle
    0c3d50b49337 f2fs: fix to account FS_CP_DATA_IO correctly
    1f4d5d31ddff f2fs: fix race condition on setting FI_NO_EXTENT flag
    a3e69948da57 ACPI: APEI: do not add task_work to kernel thread to avoid memory leak
    57bf2897692b thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id
    ccc9abee86c5 random: schedule jitter credit for next jiffy, not in two jiffies
    371fa5129af5 crypto: cavium - prevent integer overflow loading firmware
    8f5eee162e55 crypto: marvell/octeontx - prevent integer overflows
    9bb18a8bb311 kbuild: rpm-pkg: fix breakage when V=1 is used
    6f7b372ec68f linux/export: use inline assembler to populate symbol CRCs
    00b64949b8c2 kbuild: remove the target in signal traps when interrupted
    fc9a0aa83614 tracing/osnoise: Fix possible recursive locking in stop_per_cpu_kthreads
    f433d954d032 tracing: kprobe: Make gen test module work in arm and riscv
    1e7a061f0c52 tracing: kprobe: Fix kprobe event gen test module on exit
    544763643a24 iommu/iova: Fix module config properly
    c28acd0039fa cifs: return correct error in ->calc_signature()
    c3a130431c55 clocksource/drivers/timer-gxp: Add missing error handling in gxp_timer_probe
    3da5b75beef0 clocksource/drivers/arm_arch_timer: Fix handling of ARM erratum 858921
    429348d4f675 crypto: qat - fix DMA transfer direction
    5b48d7f97a57 crypto: inside-secure - Change swab to swab32
    8900bf5bb269 crypto: ccp - Release dma channels before dmaengine unrgister
    85bc736a18b8 crypto: akcipher - default implementation for setting a private key
    bd0438f534b2 iommu/omap: Fix buffer overflow in debugfs
    893aa489388f cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset
    8fa437e48007 crypto: hisilicon/qm - fix missing put dfx access
    dcd7b39a599a crypto: qat - fix default value of WDT timer
    12fe03cee274 hwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()
    5ade5762b4a5 cgroup: Honor caller's cgroup NS when resolving path
    d398cb165d19 crypto: ccp - Fail the PSP initialization when writing psp data file failed
    25dddddafe6e hwrng: arm-smccc-trng - fix NO_ENTROPY handling
    f8a983d6e01b crypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr
    50d4feadcc95 crypto: sahara - don't sleep when in softirq
    f03add92f4b2 powerpc/pseries/vas: Pass hw_cpu_id to node associativity HCALL
    4eac4f6a86ae powerpc/kprobes: Fix null pointer reference in arch_prepare_kprobe()
    dba386d93409 powerpc: Fix SPE Power ISA properties for e500v1 platforms
    a47254a9adac powerpc/64/interrupt: Fix return to masked context after hard-mask irq becomes pending
    5e3186b70002 powerpc/64: mark irqs hard disabled in boot paca
    ef58c97f97d3 powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
    99ac12f287d6 x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition
    fd4b22c4b1f0 powerpc: Fix fallocate and fadvise64_64 compat parameter combination
    4140fd90c93e cpuidle: riscv-sbi: Fix CPU_PM_CPU_IDLE_ENTER_xyz() macro usage
    b57099a6aa9e powerpc/powernv: add missing of_node_put() in opal_export_attrs()
    a2c3374dc364 powerpc/pci_dn: Add missing of_node_put()
    9c7b092253c3 powerpc/sysdev/fsl_msi: Add missing of_node_put()
    5c140a35c1d6 powerpc/math_emu/efp: Include module.h
    6f20506c3e9d powerpc/configs: Properly enable PAPR_SCM in pseries_defconfig
    a1f321051e0d ipc: mqueue: fix possible memory leak in init_mqueue_fs()
    908bfb4f5ff8 mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
    adc15eefb417 mailbox: mpfs: account for mbox offsets while sending
    0b921157ee9f mailbox: mpfs: fix handling of the reg property
    5edb0618919e clk: ast2600: BCLK comes from EPLL
    a9f69663ad57 clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
    7125637a6cc4 clk: ti: Balance of_node_get() calls for of_find_node_by_name()
    43c589b7a187 clk: imx: scu: fix memleak on platform_device_add() fails
    13fc676c7185 clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
    c20099c19cb3 clk: baikal-t1: Add SATA internal ref clock buffer
    4dc50ce40b59 clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent
    6e2394f58dd1 clk: baikal-t1: Fix invalid xGMAC PTP clock divider
    4dcae3385ced clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD
    03c55521879a spmi: pmic-arb: correct duplicate APID to PPID mapping logic
    69e1e6a82ef4 usb: mtu3: fix failed runtime suspend in host only mode
    c1914501c134 dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
    23c9084645f0 clk: mediatek: Migrate remaining clk_unregister_*() to clk_hw_unregister_*()
    1a328477ea17 clk: mediatek: fix unregister function in mtk_clk_register_dividers cleanup
    05ff2207fa04 clk: mediatek: clk-mt8195-mfg: Reparent mfg_bg3d and propagate rate changes
    fddb8f871a1f clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
    85c7a6837ea7 mfd: da9061: Fix Failed to set Two-Wire Bus Mode.
    e878673f5635 mfd: sm501: Add check for platform_driver_register()
    deaafe55a1d0 mfd: fsl-imx25: Fix check for platform_get_irq() errors
    c337ff96ef9e mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
    ab94a72c82cc mfd: lp8788: Fix an error handling path in lp8788_probe()
    9bb4cb60c032 mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
    36905589383f mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
    8c24097d6fb9 fsi: core: Check error number after calling ida_simple_get
    52dd1b675ed9 RDMA/rxe: Fix resize_finish() in rxe_queue.c
    8dec72315988 clk: qcom: gcc-sm6115: Override default Alpha PLL regs
    a1ba69d624a1 clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical
    897dbbc57d71 scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()
    c5922e8e42b8 scsi: iscsi: Run recv path from workqueue
    bd16ec67e995 scsi: iscsi: Add recv workqueue helpers
    38a118abf5cc scsi: iscsi: Rename iscsi_conn_queue_work()
    4e750e0d8e48 scsi: pm8001: Fix running_req for internal abort commands
    f7a785177611 scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()
    dae33133f255 serial: 8250: Fix restoring termios speed after suspend
    c6ce163bb827 firmware: google: Test spinlock on panic path to avoid lockups
    eec8e868bdc9 slimbus: qcom-ngd: Add error handling in of_qcom_slim_ngd_register
    e8ce7655fd1f slimbus: qcom-ngd-ctrl: allow compile testing without QCOM_RPROC_COMMON
    a9e9806d1c31 staging: vt6655: fix some erroneous memory clean-up loops
    2afdd2d9cf27 phy: qualcomm: call clk_disable_unprepare in the error handling
    d554c14eb73e tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown
    97e79713db81 serial: 8250: Toggle IER bits on only after irq has been set up
    737594536dc3 drivers: serial: jsm: fix some leaks in probe
    79c3afb55942 usb: dwc3: core: fix some leaks in probe
    77333f9cc3e1 usb: gadget: function: fix dangling pnp_string in f_printer.c
    a6ba28c41804 xhci: Don't show warning for reinit on known broken suspend
    df4bf3a2371f IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers
    43e2f80cda29 RDMA/cm: Use SLID in the work completion as the DLID in responder side
    c0fd5d4d8fd7 md/raid5: Remove unnecessary bio_put() in raid5_read_one_chunk()
    edce7cb3d8d1 md/raid5: Ensure stripe_fill happens on non-read IO with journal
    41ca95033a0c md: Replace snprintf with scnprintf
    b892ff7dc03e mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
    9d4c05ea9461 ata: fix ata_id_has_dipm()
    cb0e2986c81a ata: fix ata_id_has_ncq_autosense()
    23be940d99d0 ata: fix ata_id_has_devslp()
    295ef6a0327d ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
    74ad141e995a RDMA/siw: Fix QP destroy to wait for all references dropped.
    0c14f795a9ea RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.
    f741a9c64e4e RDMA/srp: Fix srp_abort()
    b72d09c37696 RDMA/irdma: Validate udata inlen and outlen
    4665894629c8 RDMA/irdma: Align AE id codes to correct flush code and event
    5e871bacc5b9 mtd: rawnand: fsl_elbc: Fix none ECC mode
    5f344bd994da mtd: rawnand: intel: Remove undocumented compatible string
    79cea59c1348 mtd: rawnand: intel: Read the chip-select line from the correct OF node
    876ee3ce4c02 phy: phy-mtk-tphy: fix the phy type setting issue
    bea05e8f3b7a phy: amlogic: phy-meson-axg-mipi-pcie-analog: Hold reference returned by of_get_parent()
    d86b5cab8e6b remoteproc: Harden rproc_handle_vdev() against integer overflow
    e51207113b36 mtd: devices: docg3: check the return value of devm_ioremap() in the probe
    f5e41e860a3a clk: qcom: sm6115: Select QCOM_GDSC
    d074a8721b40 dyndbg: drop EXPORTed dynamic_debug_exec_queries
    a5389101936a dyndbg: let query-modname override actual module name
    6fe65c4de7f1 dyndbg: fix module.dyndbg handling
    7059d5c462fb dyndbg: fix static_branch manipulation
    0cb8d0d420d4 usb: gadget: f_fs: stricter integer overflow checks
    d4a8ec5cc7ff dmaengine: hisilicon: Add multi-thread support for a DMA channel
    60d48e197289 dmaengine: hisilicon: Fix CQ head update
    435c85735572 dmaengine: hisilicon: Disable channels when unregister hisi_dma
    4b05c3e771a6 dmaengine: idxd: avoid deadlock in process_misc_interrupts()
    6afdab9bdad1 phy: rockchip-inno-usb2: Return zero after otg sync
    1b5a931594f7 fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
    843433a02e34 misc: ocxl: fix possible refcount leak in afu_ioctl()
    8a02209e256d clk: mediatek: mt8195-infra_ao: Set pwrmcu clocks as critical
    f6794d82c0d5 clk: mediatek: clk-mt8195-vdo1: Reparent and set rate on vdo1_dpintf's parent
    79b90df9b9e8 clk: mediatek: clk-mt8195-vdo0: Set rate on vdo0_dp_intf0_dp_intf's parent
    aedd895b3820 RDMA/rxe: Fix the error caused by qp->sk
    bb33fa65da77 RDMA/rxe: Fix "kernel NULL pointer dereference" error
    22b93530bbe6 media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
    1b2f6d1d5abf media: uvcvideo: Use entity get_cur in uvc_ctrl_set
    deb8f32ae4b1 media: uvcvideo: Fix memory leak in uvc_gpio_parse
    73bf38baa8ac media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()
    325de494d8ce media: amphion: fix a bug that vpu core may not resume after suspend
    47fd2c400869 media: amphion: don't change the colorspace reported by decoder.
    50c335d99773 media: amphion: adjust the encoder's value range of gop size
    96fe4befacef media: amphion: insert picture startcode after seek for vc1g format
    e15db9a24df1 tty: xilinx_uartps: Fix the ignore_status
    9eabf73391b6 media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop
    99e30bd761c5 clk: qcom: gcc-sdm660: Use floor ops for SDCC1 clock
    fcc076fecca6 HSI: omap_ssi_port: Fix dma_map_sg error check
    e25f56f8bdf6 HSI: omap_ssi: Fix refcount leak in ssi_probe
    00f6ce0d1baf clk: samsung: exynosautov9: correct register offsets of peric0/c1
    8cd228892759 clk: tegra20: Fix refcount leak in tegra20_clock_init
    8e1fe3025393 clk: tegra: Fix refcount leak in tegra114_clock_init
    1a6d97139b0a clk: tegra: Fix refcount leak in tegra210_clock_init
    a065f836c938 clk: sprd: Hold reference returned by of_get_parent()
    2c4137393bcf clk: berlin: Add of_node_put() for of_get_parent()
    42ecb6c427ee clk: qoriq: Hold reference returned by of_get_parent()
    23e0893862ba clk: oxnas: Hold reference returned by of_get_parent()
    3c3292f490e7 clk: st: Hold reference returned by of_get_parent()
    0068ca80dcfa clk: meson: Hold reference returned by of_get_parent()
    40c485c8b1f7 usb: common: debug: Check non-standard control requests
    dd1db668449d RDMA/mlx5: Don't compare mkey tags in DEVX indirect mkey
    30e20981b08a iio: magnetometer: yas530: Change data type of hard_offsets to signed
    39eb39a592fb iio: ABI: Fix wrong format of differential capacitance channel ABI.
    144ef27e46e0 iio: inkern: fix return value in devm_of_iio_channel_get_by_name()
    4e416e52185f iio: inkern: only release the device node when done with it
    8394db2d4ffb iio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume
    e0b504be6e42 iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq
    44f46f904d8c iio: adc: at91-sama5d2_adc: check return status for pressure and touch
    b8c127184bc5 iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX
    82c66c46f73b iomap: iomap: fix memory corruption when recording errors during writeback
    0530055d5b96 ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
    0f77b6b2ba70 arm64: ftrace: fix module PLTs with mcount
    75e60ad770e2 ext4: don't run ext4lazyinit for read-only filesystems
    59cdd0794d59 ARM: Drop CMDLINE_* dependency on ATAGS
    c665b41db852 ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
    0d54c26d0ade arm64: dts: ti: k3-j7200: fix main pinmux range
    a39307c7c750 soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA
    2f91772a5f8a ia64: export memory_add_physaddr_to_nid to fix cxl build error
    664c6b13332a ARM: dts: kirkwood: lsxl: remove first ethernet port
    e3ab51897adc ARM: dts: kirkwood: lsxl: fix serial line
    1764fd62a86c ARM: dts: turris-omnia: Fix mpp26 pin name and comment
    b3f82935c77a dt-bindings: clock: exynosautov9: correct clock numbering of peric0/c1
    bba8ed1946c0 arm64: dts: renesas: r9a07g043: Fix SCI{Rx,Tx} interrupt types
    4522a6fe84cb arm64: dts: renesas: r9a07g054: Fix SCI{Rx,Tx} interrupt types
    964cf7f0d477 arm64: dts: renesas: r9a07g044: Fix SCI{Rx,Tx} interrupt types
    02e3b6404d26 ARM: dts: imx6qdl-kontron-samx6i: hook up DDC i2c bus
    c1bc4ab733ec soc: qcom: smem_state: Add refcounting for the 'state->of_node'
    8fb6112bd49c soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
    e0b55fd272ae locks: fix TOCTOU race when granting write lease
    daab421fc2dc memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
    62ccab6e3376 memory: of: Fix refcount leak bug in of_get_ddr_timings()
    44db35ceb947 memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
    7cdc122f28d7 ALSA: hda/hdmi: Don't skip notification handling during PM operation
    8679d5305080 ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe
    bac2dd72fcfb ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
    f54f599c8e2f ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
    530b9c0e4121 ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
    16226421b10a ASoC: stm: Fix PM disable depth imbalance in stm32_i2s_probe
    eb7bcd48fc8e ASoC: stm32: spdifrx: Fix PM disable depth imbalance in stm32_spdifrx_probe
    aa7f877d2d07 ASoC: stm32: dfsdm: Fix PM disable depth imbalance in stm32_adfsdm_probe
    06821c68d9ed mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
    2e2c57f660a6 ALSA: dmaengine: increment buffer pointer atomically
    ec692f0b5100 ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
    40aba726b2cd ASoC: codecs: tx-macro: fix kcontrol put
    60f6d4f9d903 virtio-gpu: fix shift wrapping bug in virtio_gpu_fence_event_create()
    6ad40bbb2c25 drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()
    dea487355691 ALSA: usb-audio: Properly refcounting clock rate
    7a2bead03557 drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()
    512c4d444c69 drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx
    ab03e61c5cf7 drm/msm: lookup the ICC paths in both mdp5/dpu and mdss devices
    b58efaf656ab ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API
    beffe91431ba mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
    8b8da09da270 drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()
    e55261beb86a drm/omap: dss: Fix refcount leak bugs
    d1087cfd4370 ASoC: SOF: mediatek: mt8195: Import namespace SND_SOC_SOF_MTK_COMMON
    2a3c55862c67 drm/bochs: fix blanking
    fc8eea8ec3ca drm/virtio: set fb_modifiers_not_supported
    d6e150e84f16 ALSA: hda: beep: Simplify keep-power-at-enable behavior
    45416de9ad46 ASoC: wm_adsp: Handle optional legacy support
    3f8546391e03 ASoC: rsnd: Add check for rsnd_mod_power_on
    93e06be3f518 drm/bridge: it6505: Fix the order of DP_SET_POWER commands
    21764467ab39 drm/bridge: megachips: Fix a null pointer dereference bug
    be6ad75a500e drm/amdgpu: add missing pci_disable_device() in amdgpu_pmops_runtime_resume()
    2c9db240575c platform/chrome: cros_ec_typec: Correct alt mode index
    862f641cadf1 platform/x86: msi-laptop: Fix resource cleanup
    21cd17aedbbf platform/x86: msi-laptop: Fix old-ec check for backlight registering
    f8365e4ae5b1 ASoC: tas2764: Fix mute/unmute
    7960f1a4cb2f ASoC: tas2764: Drop conflicting set_bias_level power setting
    9575bd32c344 ASoC: tas2764: Allow mono streams
    1f35a8afe8db ASoC: soc-pcm.c: call __soc_pcm_close() in soc_pcm_close()
    cfbf43124e0d drm/virtio: Fix same-context optimization
    f143f1d9a8e5 platform/chrome: fix memory corruption in ioctl
    c2fbf1b1fff6 platform/chrome: fix double-free in chromeos_laptop_prepare()
    26f9a766f87b drm/msm: Make .remove and .shutdown HW shutdown consistent
    4e5287acc036 ASoC: mt6359: fix tests for platform_get_irq() failure
    a656ff69fe13 drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()
    79878d6829b5 drm/dp_mst: fix drm_dp_dpcd_read return value checks
    fd85e0eeaa65 drm/bridge: parade-ps8640: Fix regulator supply order
    38edd69b0065 drm/bridge: tc358767: Add of_node_put() when breaking out of loop
    61d0c94c3725 drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling
    99fae8294e28 drm/bridge: it6505: Power on downstream device in .atomic_enable
    353ab1c13fdd drm/mipi-dsi: Detach devices when removing the host
    3051f34c0193 drm/bridge: Avoid uninitialized variable warning
    4d4d5bc65920 drm: bridge: adv7511: unregister cec i2c device after cec adapter
    903c2b9bced8 drm: bridge: adv7511: fix CEC power down control register offset
    169aa2664639 net: mvpp2: fix mvpp2 debugfs leak
    b0eb0d577635 once: add DO_ONCE_SLOW() for sleepable contexts
    51d4260585cf net/ieee802154: reject zero-sized raw_sendmsg()
    39365e1b0eb5 net: wwan: iosm: Call mutex_init before locking it
    b47bc8202b31 eth: sp7021: fix use after free bug in spl2sw_nvmem_get_mac_address
    96c0c14135f5 bnx2x: fix potential memory leak in bnx2x_tpa_stop()
    d06ee1cbffc6 eth: lan743x: reject extts for non-pci11x1x devices
    49c1729b5563 net: prestera: acl: Add check for kmemdup
    e2e49822a0a1 af_unix: Fix memory leaks of the whole sk due to OOB skb.
    c380c28ab9b1 net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
    248bed1dbf5a hwmon: (pmbus/mp2888) Fix sensors readouts for MPS Multi-phase mp2888 controller
    742e595f1949 Bluetooth: hci_sync: Fix not indicating power state
    37ad7c5990c0 spi: Ensure that sg_table won't be used after being freed
    ccbfe4d0bce4 tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited
    0f90099d18e3 sctp: handle the error returned from sctp_auth_asoc_init_active_key
    1f76323ac43f mISDN: fix use-after-free bugs in l1oip timer handlers
    a845a0c4bdec eth: alx: take rtnl_lock on resume
    a99fc6d81816 vhost/vsock: Use kvmalloc/kvfree for larger packets.
    505ac55467df wifi: rtl8xxxu: Fix AIFS written to REG_EDCA_*_PARAM
    7050e56333f1 wifi: rtl8xxxu: gen2: Enable 40 MHz channel width
    71314ed41425 spi: s3c64xx: Fix large transfers with DMA
    27d23b84b244 netfilter: nft_fib: Fix for rpath check with VRF devices
    f520075da484 xfrm: Reinject transport-mode packets through workqueue
    0f1a762184a6 Bluetooth: hci_core: Fix not handling link timeouts propertly
    de0ccb13d9ea i2c: mlxbf: support lock mechanism
    db41ae562b64 cw1200: fix incorrect check to determine if no element is found in list
    e4be1cf9ba24 skmsg: Schedule psock work if the cached skb exists on the psock
    7b24819bd6a2 spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
    2a354023d3b5 spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe
    71d2ef419e04 spi: cadence-quadspi: Fix PM disable depth imbalance in cqspi_probe
    3c5b8e7ca8be x86/cpu: Include the header of init_ia32_feat_ctl()'s prototype
    2042092204f8 wifi: ath11k: fix peer addition/deletion error on sta band migration
    bbcc38c4450e x86/microcode/AMD: Track patch allocation size explicitly
    ba46813ae735 mips: dts: ralink: mt7621: fix external phy on GB-PC2
    8d6b977ddf06 wifi: ath11k: fix number of VHT beamformee spatial streams
    c0bb97a90b13 wifi: ath11k: fix failed to find the peer with peer_id 0 when disconnected
    520b81520191 flow_dissector: Do not count vlan tags inside tunnel payload
    973ddaffd2b7 netfilter: conntrack: revisit the gc initial rescheduling bias
    b3104ef06635 netfilter: conntrack: fix the gc rescheduling delay
    75b2c71ea581 Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure
    f8a77dbb8837 wifi: ath11k: Include STA_KEEPALIVE_ARP_RESPONSE TLV header by default
    7de3297a9239 bpf: Ensure correct locking around vulnerable function find_vpid()
    5ae7255b9ab3 net: fs_enet: Fix wrong check in do_pd_setup
    e706cc24b679 Bluetooth: RFCOMM: Fix possible deadlock on socket shutdown/release
    1034d8e08508 wifi: mt76: mt7921e: fix rmmod crash in driver reload test
    f5e6d7ba8329 wifi: mt76: mt7915: do not check state before configuring implicit beamform
    540f17a503db wifi: mt76: mt7915: fix mcs value in ht mode
    ce02cd82abad wifi: mt76: mt7921: add mt7921_mutex_acquire at mt7921_sta_set_decap_offload
    f31aa5196463 wifi: mt76: mt7921: add mt7921_mutex_acquire at mt7921_[start, stop]_ap
    f5275e2e41eb wifi: mt76: connac: fix possible unaligned access in mt76_connac_mcu_add_nested_tlv
    c5bc23134c0c wifi: mt76: mt7915: fix possible unaligned access in mt7915_mac_add_twt_setup
    0160c341d836 wifi: mt76: mt7615: add mt7615_mutex_acquire/release in mt7615_sta_set_decap_offload
    327c14cf7b5f wifi: mt76: sdio: fix transmitting packet hangs
    8b133eb8af67 wifi: mt76: sdio: poll sta stat when device transmits data
    0641218a8143 wifi: mt76: sdio: fix the deadlock caused by sdio->stat_work
    30a09a8ca499 wifi: mt76: mt7921u: fix race issue between reset and suspend/resume
    d2d352124e19 wifi: mt76: mt7921s: fix race issue between reset and suspend/resume
    7aa91aa9daa7 wifi: mt76: mt7921e: fix race issue between reset and suspend/resume
    c24ab2685bc2 wifi: rtl8xxxu: Remove copy-paste leftover in gen2_update_rate_mask
    09ef9d732664 wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration
    c586349191fb bpf: btf: fix truncated last_member_type_id in btf_struct_resolve
    bcc34897bd58 spi: meson-spicc: do not rely on busy flag in pow2 clk ops
    5ee77839f3c4 wifi: rtl8xxxu: Fix skb misuse in TX queue selection
    4bf42b30a98e spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()
    36ad3e146732 spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()
    a3db90398a1c selftests/xsk: Avoid use-after-free on ctx
    79329f970ae6 wifi: rtw88: add missing destroy_workqueue() on error path in rtw_core_init()
    d02a74c72258 wifi: wfx: prevent underflow in wfx_send_pds()
    5fff0f1b5d57 wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()
    7b8389b7e160 wifi: rtw89: pci: correct TX resource checking in low power mode
    edb0fde1f7f3 wifi: rtw89: pci: fix interrupt stuck after leaving low power mode
    85a642c3455f Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend
    dd5273e07984 bpf: Use this_cpu_{inc_return|dec} for prog->active
    ecbbef374ce5 bpf: Use this_cpu_{inc|dec|inc_return} for bpf_task_storage_busy
    75d287186b98 wifi: ath11k: Fix incorrect QMI message ID mappings
    6bfee6eb3d6b bpf: Propagate error from htab_lock_bucket() to userspace
    a759911bd1c6 bpf: Disable preemption when increasing per-cpu map_locked
    dd88139cb53c selftests/xsk: Add missing close() on netns fd
    5f2a838113bd xsk: Fix backpressure mechanism on Tx
    3345cd3612b5 x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
    e90195d5bbb9 spi: mt7621: Fix an error message in mt7621_spi_probe()
    f53f2814e914 esp: choose the correct inner protocol for GSO on inter address family tunnels
    d3c1fb19ca1e audit: free audit_proctitle only on task exit
    44fe6d9a0d8d audit: explicitly check audit_context->context enum value
    b35f60d6cf97 bpftool: Fix a wrong type cast in btf_dumper_int
    de5b1600689c wifi: mac80211: allow bw change during channel switch in mesh
    a43b2d121829 wifi: cfg80211: get correct AP link chandef
    caa176c0953c bpf: Fix reference state management for synchronous callbacks
    160b9f792f99 tsnep: Fix TSNEP_INFO_TX_TIME register define
    385072c05eb9 leds: lm3601x: Don't use mutex after it was destroyed
    707d7a774dcc bpf: Cleanup check_refcount_ok
    606cfa079089 bpf: convert cgroup_bpf.progs to hlist
    044bc355cdb5 bpf: Fix non-static bpf_func_proto struct definitions
    2bf916418d21 wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
    aaf7ca471415 wifi: rtlwifi: 8192de: correct checking of IQK reload
    082eb9beed5d x86/paravirt: add extra clobbers with ZERO_CALL_USED_REGS enabled
    221cb89ff40e NFSD: Fix handling of oversized NFSv4 COMPOUND requests
    c2a878095b5c NFSD: Protect against send buffer overflow in NFSv2 READDIR
    692b69ddb786 SUNRPC: Fix svcxdr_init_encode's buflen calculation
    2eea66b010f7 SUNRPC: Fix svcxdr_init_decode's end-of-buffer calculation
    733dd17158f9 nfsd: Fix a memory leak in an error handling path
    e58eef8ee86c objtool: Preserve special st_shndx indexes in elf_update_symbol
    970812475926 ACPI: PCC: Fix Tx acknowledge in the PCC address space handler
    f1f8085da2ca ACPI: PCC: replace wait_for_completion()
    4e714c4c370e ACPI: PCC: Release resources on address space setup failure path
    65cfd9c59fd8 ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
    f6fe0681bdd0 ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()
    80ec7f839264 ARM: 9243/1: riscpc: Unbreak the build
    f27bafeb9fb4 erofs: use kill_anon_super() to kill super in fscache mode
    b6c8330f5b0f erofs: fix order >= MAX_ORDER warning due to crafted negative i_size
    d7ac29e60d0f MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()
    a253f3b59ff0 MIPS: SGI-IP30: Fix platform-device leak in bridge_platform_create()
    8010fece7cd0 sh: machvec: Use char[] for section boundaries
    7c0258acaf71 cpufreq: amd-pstate: Fix initial highest_perf value
    7750f52ce090 thermal: cpufreq_cooling: Check the policy first in cpufreq_cooling_register()
    db4de8bb6171 ntfs3: rework xattr handlers and switch to POSIX ACL VFS helpers
    e5a37972ab86 userfaultfd: open userfaultfds with O_RDONLY
    5e6f29a2ed37 ima: fix blocking of security.ima xattrs of unsupported algorithms
    a2db2328886f selinux: use "grep -E" instead of "egrep"
    d296b4fd4c15 smb3: must initialize two ACL struct fields to zero
    4370ef797420 drm/amd/display: explicitly disable psr_feature_enable appropriately
    6f377e9affd5 drm/amd/display: Fix vblank refcount in vrr transition
    df4d55302ee3 drm/i915: Fix watermark calculations for DG2 CCS+CC modifier
    27bb1962725e drm/i915: Fix watermark calculations for DG2 CCS modifiers
    cd82aaf05c50 drm/i915: Fix watermark calculations for gen12+ CCS+CC modifier
    66b0ea47534c drm/i915: Fix watermark calculations for gen12+ MC CCS modifier
    b6d0783eed82 drm/i915: Fix watermark calculations for gen12+ RC CCS modifier
    a2a457c8166d drm/i915/gt: Use i915_vm_put on ppgtt_create error paths
    3aeda2fe6517 drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
    6dd1b90e56df drm/nouveau/kms/nv140-: Disable interlacing
    5699afbff1fa staging: greybus: audio_helper: remove unused and wrong debugfs usage
    dd8cf031cf9f KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS
    9bf561c4db89 KVM: nVMX: Don't propagate vmcs12's PERF_GLOBAL_CTRL settings to vmcs02
    a0b4d7524abf KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"
    7984c1386885 KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility
    dd54b94e72d0 blk-wbt: call rq_qos_add() after wb_normal is initialized
    8b1f9fde48aa blk-throttle: fix that io throttle can only work for single bio
    1e5c75634e3e media: cedrus: Fix endless loop in cedrus_h265_skip_bits()
    c3977e0bcb4b media: cedrus: Set the platform driver data earlier
    b2c57e927470 efi: libstub: drop pointless get_memory_map() call
    f897e1ce696a thunderbolt: Explicitly enable lane adapter hotplug events at startup
    ef828a39d6a7 rpmsg: char: Avoid double destroy of default endpoint
    149198d0b884 tracing: Fix reading strings from synthetic events
    966ffabf6990 tracing: Add "(fault)" name injection to kernel probes
    860e8fbde423 tracing: Move duplicate code of trace_kprobe/eprobe.c into header
    2fcd9e27640f tracing: Do not free snapshot if tracer is on cmdline
    864f10063efc tracing: Add ioctl() to force ring buffer waiters to wake up
    e91ef98eeefd tracing: Wake up waiters when tracing is disabled
    5544f411a4e8 tracing: Wake up ring buffer waiters on closing of the file
    220d170455aa tracing: Disable interrupt or preemption before acquiring arch_spinlock_t
    ceb52ccfb01d ring-buffer: Fix race between reset page and reading page
    f026e18300d8 ring-buffer: Add ring_buffer_wake_waiters()
    79f3d1facbdb ring-buffer: Check pending waiters when doing wake ups as well
    51a51a1a7152 ring-buffer: Have the shortest_full queue be the shortest not longest
    0a2fe268e8f6 ring-buffer: Allow splice to read previous partially read pages
    0abc3bb1706b ftrace: Still disable enabled records marked as disabled
    8f81aee36ba1 ftrace: Properly unset FTRACE_HASH_FL_MOD
    ebf0beb855e2 livepatch: fix race between fork and KLP transition
    caf34de4951d ext4: update 'state->fc_regions_size' after successful memory allocation
    a4058b869e6c ext4: fix potential memory leak in ext4_fc_record_regions()
    c0be17635f03 ext4: fix potential memory leak in ext4_fc_record_modified_inode()
    a4a8c7e51ec2 ext4: fix miss release buffer head in ext4_fc_write_inode
    2bf6f14e9ddc ext4: fix dir corruption when ext4_dx_add_entry() fails
    c2ddd16160de ext4: fix i_version handling in ext4
    c839f6b1e8a6 ext4: place buffer head allocation before handle start
    01e159ec8066 ext4: ext4_read_bh_lock() should submit IO if the buffer isn't uptodate
    f35e65d686cf ext4: unconditionally enable the i_version counter
    44c79a757437 ext4: don't increase iversion counter for ea_inodes
    edb71f055684 ext4: fix check for block being out of directory size
    d0681b447f5b ext4: make ext4_lazyinit_thread freezable
    4a657319cfab ext4: fix null-ptr-deref in ext4_write_info
    89db2b50469b ext4: avoid crash when inline data creation follows DIO write
    40ff52527dae ext2: Add sanity checks for group and filesystem size
    27c7bd35135d jbd2: add miss release buffer head in fc_do_one_pass()
    2e6d9f381c1e jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
    68ed9c76b2af jbd2: fix potential buffer head reference count leak
    aa972fe0f2ab jbd2: wake up journal waiters in FIFO order, not LIFO
    e168f819bfa4 f2fs: fix to do sanity check on summary info
    8f0a47def472 f2fs: fix to do sanity check on destination blkaddr during recovery
    43341cb9547d f2fs: increase the limit for reserve_root
    ce0892c0fcf5 f2fs: flush pending checkpoints when freezing super
    0fa4033d00be f2fs: complete checkpoints during remount
    6ab091560933 f2fs: fix wrong continue condition in GC
    a687c2890fe4 btrfs: set generation before calling btrfs_clean_tree_block in btrfs_init_new_buffer
    b81d8146f51a btrfs: fix missed extent on fsync after dropping extent maps
    0efd9dfc00d6 btrfs: fix race between quota enable and quota rescan ioctl
    dfb9fbc5accf btrfs: enhance unsupported compat RO flags handling
    9bf3abc8bcc6 btrfs: fix alignment of VMA for memory mapped files on THP
    b59deb46a675 fs: record I_DIRTY_TIME even if inode already has I_DIRTY_INODE
    be394e8a205c ksmbd: Fix user namespace mapping
    1c1225288bde ksmbd: Fix wrong return value and message length check in smb2_ioctl()
    230a44aaf9a0 ksmbd: fix endless loop when encryption for response fails
    ff5814fdced4 ksmbd: fix incorrect handling of iterate_dir
    d2c9555cce37 smb3: do not log confusing message when server returns no network interfaces
    a54676340b0e hwrng: core - let sleep be interrupted when unregistering hwrng
    02c871d44090 fbdev: smscufx: Fix use-after-free in ufx_ops_open()
    0ec105bf4176 pinctrl: rockchip: add pinmux_ops.gpio_set_direction callback
    a11544efbcf5 gpio: rockchip: request GPIO mux to pinctrl when setting direction
    6f9a24b4ac16 scsi: qedf: Populate sysfs attributes for vport
    147d397e08a4 scsi: lpfc: Rework MIB Rx Monitor debug info logic
    0c76110a3129 slimbus: qcom-ngd: cleanup in probe error path
    30e704e063cb slimbus: qcom-ngd: use correct error in message of pdr_add_lookup() failure
    5c87da431c18 powerpc/boot: Explicitly disable usage of SPE instructions
    81a12906cb76 powerpc/Kconfig: Fix non existing CONFIG_PPC_FSL_BOOKE
    6396d57b8c4f powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain
    c5f1c47aaa3f cpufreq: qcom-cpufreq-hw: Fix uninitialized throttled_freq warning
    bc6c0ed253cd NFSD: Protect against send buffer overflow in NFSv3 READ
    ea4c3eee0fd7 NFSD: Protect against send buffer overflow in NFSv2 READ
    9c3224826ec1 NFSD: Protect against send buffer overflow in NFSv3 READDIR
    003505406a50 serial: 8250: Request full 16550A feature probing for OxSemi PCIe devices
    8f9bd3fdc8d3 serial: 8250: Let drivers request full 16550A feature probing
    232509094ea5 serial: stm32: Deassert Transmit Enable on ->rs485_config()
    5064982437a1 serial: cpm_uart: Don't request IRQ too early for console port
    1680dbf51281 PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge
    4fb4053d90ca xen/gntdev: Accommodate VMA splitting
    0bccddd9b8f0 xen/gntdev: Prevent leaking grants
    6757330b1be5 mm/mmap: undo ->mmap() when arch_validate_flags() fails
    b76e4eb02e9e mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled in
    e77f4ddc7e11 mm/damon: validate if the pmd entry is present before accessing
    86a913d55c89 mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page
    ed5895be34b6 clocksource/drivers/arm_arch_timer: Fix CNTPCT_LO and CNTVCT_LO value
    53177c8253e3 arm64: errata: Add Cortex-A55 to the repeat tlbi list
    c9ded3c93132 arm64: mte: move register initialization to C
    921384209d10 drm/udl: Restore display mode on resume
    60538f6bf14f drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()
    86475df5fb57 drm/virtio: Unlock reservations on dma_resv_reserve_fences() error
    846e8a76221a drm/virtio: Unlock reservations on virtio_gpu_object_shmem_init() error
    989164305b93 drm/virtio: Check whether transferred 2D BO is shmem
    5653bd020094 dmaengine: qcom-adm: fix wrong calling convention for prep_slave_sg
    f1dd45a6585a dmaengine: qcom-adm: fix wrong sizeof config in slave_config
    94e002aec466 dmaengine: mxs: use platform_driver_register
    a2fcd90ab840 Revert "drm/amdgpu: use dirty framebuffer helper"
    6bf83b0f7cf7 nvme-multipath: fix possible hang in live ns resize with ANA access
    2bd2774df0ce nvmem: core: Fix memleak in nvmem_register()
    5177bdc38eaa UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
    0a46c031d03e riscv: Pass -mno-relax only on lld < 15.0.0
    c579c0aa7810 riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb
    98c981715e8f riscv: Make VM_WRITE imply VM_READ
    cf8535076464 riscv: Allow PROT_WRITE-only mmap()
    df30c4feba51 riscv: vdso: fix NULL deference in vdso_join_timens() when vfork
    68a1aac5bdd5 parisc: Fix userspace graphics card breakage due to pgtable special bit
    5017f2f7b138 parisc: fbdev/stifb: Align graphics memory size to 4MB
    140b2b92dbef RISC-V: Make port I/O string accessors actually work
    e08302134d59 RISC-V: Re-enable counter access from userspace
    1379df4c0697 riscv: topology: fix default topology reporting
    32863f41ee77 arm64: topology: move store_cpu_topology() to shared code
    12965b43cc23 regulator: qcom_rpm: Fix circular deferral regression
    878929b56705 net: thunderbolt: Enable DMA paths only after rings are enabled
    e8762009513a hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API
    9f329cf8c693 ASoC: wcd934x: fix order of Slimbus unprepare/disable
    942228543a6d ASoC: wcd9335: fix order of Slimbus unprepare/disable
    cc2a1297b07a arm64: dts: qcom: sdm845-mtp: correct ADC settle time
    b3ededa17504 platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure
    e4acbd10620f quota: Check next/prev free block number after reading from quota file
    93a3a3e745ed HID: multitouch: Add memory barriers
    19906949ca61 btf: Export bpf_dynptr definition
    1ab6d3030652 fs: dlm: fix invalid derefence of sb_lvbptr
    05b02a81fcca fs: dlm: handle -EBUSY first in lock arg validation
    5fe0184d47e0 fs: dlm: fix race between test_bit() and queue_work()
    a206f7fbe958 i2c: designware: Fix handling of real but unexpected device interrupts
    bcd98bf4093d mmc: sdhci-sprd: Fix minimum clock limit
    3035cc02a499 mmc: sdhci-tegra: Use actual clock rate for SW tuning correction
    ce08a030ef7b mmc: renesas_sdhi: Fix rounding errors
    7f7a491719bf can: kvaser_usb_leaf: Fix CAN state after restart
    d99b9999b4d1 can: kvaser_usb_leaf: Fix TX queue out of sync after restart
    b1f958afb433 can: kvaser_usb_leaf: Fix overread with an invalid command
    3d3c7eb843d8 can: kvaser_usb: Fix use of uninitialized completion
    268bd6b5b8fe mmc: core: Add SD card quirk for broken discard
    b52eecc616c9 usb: add quirks for Lenovo OneLink+ Dock
    07a844821b74 usb: gadget: uvc: Fix argument to sizeof() in uvc_register_video()
    116d6a696498 xhci: dbc: Fix memory leak in xhci_alloc_dbc()
    819f7a73c36b iio: pressure: dps310: Reset chip after timeout
    b871461eda8b iio: pressure: dps310: Refactor startup procedure
    467d556aa12c iio: adc: ad7923: fix channel readings for some variants
    2fabf2d80ce0 iio: ltc2497: Fix reading conversion results
    81c68fb490e2 iio: dac: ad5593r: Fix i2c read protocol requirements
    943eb0ede74e cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
    56fc362eb3db cifs: destage dirty pages before re-reading them for cache=none
    bf28cb8811b5 hv_netvsc: Fix race between VF offering and VF association message from host
    796da2e0eff1 io_uring: correct pinned_vm accounting
    b4293c01ee0d io_uring/af_unix: defer registered files gc to io_uring release
    3e7f0e0f3744 io_uring/net: don't update msg_name if not provided
    e45a79863729 io_uring/net: fix fast_iov assignment in io_setup_async_msg()
    9197a1364d41 io_uring/rw: fix unexpected link breakage
    8f0a63743f1e mtd: rawnand: atmel: Unmap streaming DMA mappings
    d60ad28f750b ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
    dc8e0bbf724f ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
    390578404823 ALSA: hda/realtek: Correct pin configs for ASUS G533Z
    9108dee38d22 ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
    3965d9b05667 ALSA: usb-audio: Fix NULL dererence at error path
    faa8c1ed77d0 ALSA: usb-audio: Fix potential memory leaks
    a394f0197dd0 ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
    a74003b10bbb ALSA: oss: Fix potential deadlock at unregistration
    eb9af45d0a4a Revert "fs: check FMODE_LSEEK to control internal pipe splicing"

(From OE-Core rev: 4bb27cfe7487c57374af38b5b912d28f35cbe5b8)

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>
2022-11-22 12:26:45 +00:00
Bruce Ashfield
2360bf7abc linux-yocto/5.15: update to v5.15.74
Updating  to the latest korg -stable release that comprises
the following commits:

    a3f2f5ac9d61 Linux 5.15.74
    de124365a7d2 wifi: mac80211: fix MBSSID parsing use-after-free
    7d998f6b7365 mac80211: fix memory leaks with element parsing
    fee48f3bdd75 mac80211: always allocate struct ieee802_11_elems
    630060f11756 mac80211: mlme: find auth challenge directly
    21df3a583e8e mac80211: move CRC into struct ieee802_11_elems
    864f2d3482f4 mac80211: mesh: clean up rx_bcn_presp API
    e5ebcbb4f967 misc: pci_endpoint_test: Fix pci_endpoint_test_{copy,write,read}() panic
    cb9defecf381 misc: pci_endpoint_test: Aggregate params checking for xfer
    2c657a0cbd48 Input: xpad - fix wireless 360 controller breaking after suspend
    db4db28fccb4 Input: xpad - add supported devices as contributed on github
    d15bb1f6dabe wifi: cfg80211: update hidden BSSes to avoid WARN_ON
    93a3a3255407 wifi: mac80211: fix crash in beacon protection for P2P-device
    fff244e9171b wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
    0a8ee682e4f9 wifi: cfg80211: avoid nontransmitted BSS list corruption
    bfe29873454f wifi: cfg80211: fix BSS refcounting bugs
    9e99ca59ed39 wifi: cfg80211: ensure length byte is present before access
    0a861bd25dad wifi: cfg80211/mac80211: reject bad MBSSID elements
    9a8ef2030510 wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()
    398e30b67092 random: use expired timer rather than wq for mixing fast pool
    984faa6fc759 random: avoid reading two cache lines on irq randomness
    a937c59863d7 Revert "crypto: qat - reduce size of mapped region"
    0e3ff69ee691 Revert "powerpc/rtas: Implement reentrant rtas call"
    e0295c43166b USB: serial: qcserial: add new usb-id for Dell branded EM7455
    76efb4897bc3 scsi: stex: Properly zero out the passthrough command structure
    5fbbe7e98e9b efi: Correct Macmini DMI match in uefi cert quirk
    8754dc846d03 ALSA: hda: Fix position reporting on Poulsbo
    14f143fb4268 random: clamp credited irq bits to maximum mixed
    be53fa6cf667 random: restore O_NONBLOCK support
    2f96da3fd18f ceph: don't truncate file in atomic_open
    c0c3d3d3ea41 nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
    44b1ee304bac nilfs2: fix leak of nilfs_root in case of writer thread creation failure
    cb602c2b654e nilfs2: fix use-after-free bug of struct nilfs_root
    1e512c65b4ad nilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level()
    17aac9b7af2b Linux 5.15.73
    f7b16f51753a Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 5"
    d8b1b64a070e rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
    d58eb80b723d USB: serial: ftdi_sio: fix 300 bps rate for SIO
    5ff80339cdc3 usb: mon: make mmapped memory read only
    278fefd29eea net/mlx5: Disable irq when locking lag_lock
    54f382d4b7f8 wifi: cfg80211: fix MCS divisor value
    0fa249414a6f mm/huge_memory: use pfn_to_online_page() in split_huge_pages_all()
    f1d6894159fc mm/huge_memory: minor cleanup for split_huge_pages_all
    7190afd4cd5f perf parse-events: Identify broken modifiers
    f6f740f6ca3b mmc: core: Terminate infinite loop in SD-UHS voltage switch
    9635e05e015a mmc: core: Replace with already defined values for readability
    f2af62d909ad drm/amd/display: skip audio setup when audio stream is enabled
    d444cfe6d047 drm/amd/display: update gamut remap if plane has changed
    4afcb53474ae drm/amd/display: Assume an LTTPR is always present on fixed_vs links
    5e76ff629a20 drm/amd/display: Fix double cursor on non-video RGB MPO
    e6590139ffa3 net: atlantic: fix potential memory leak in aq_ndev_close()
    005e368a61bc arch: um: Mark the stack non-executable to fix a binutils warning
    5f85191bedba um: Cleanup compiler warning in arch/x86/um/tls_32.c
    6827af886be8 um: Cleanup syscall_handler_t cast in syscalls_32.h
    f386b373e9f7 ALSA: hda/hdmi: Fix the converter reuse for the silent stream
    a36b2dc5c0da net: marvell: prestera: add support for for Aldrin2
    d2588ba1a338 net/ieee802154: fix uninit value bug in dgram_sendmsg
    1030659dac4e scsi: qedf: Fix a UAF bug in __qedf_probe()
    f7126aa3624c ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
    968299cd58b7 dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
    17f55255af4c dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property
    b2f275550136 dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling
    fd425b89d040 firmware: arm_scmi: Add SCMI PM driver remove routine
    e092fc3a2892 firmware: arm_scmi: Harden accesses to the sensor domains
    9f81dbb934fb firmware: arm_scmi: Improve checks in the info_get operations
    64b79e632869 fs: fix UAF/GPF bug in nilfs_mdt_destroy
    31bdba07f6b2 powerpc/64s/radix: don't need to broadcast IPI for radix pmd collapse flush
    46c22e7b094f mm: gup: fix the fast GUP race against THP collapse
    88ccea0a4458 xsk: Inherit need_wakeup flag for shared sockets
    f07fbefcea5b docs: update mediator information in CoC docs
    cf26ddb96b4f Makefile.extrawarn: Move -Wcast-function-type-strict to W=1

(From OE-Core rev: e4d9e5bb39700022cd428bb922a329101fc0f1b0)

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>
2022-11-22 12:26:45 +00:00
Bruce Ashfield
bc1f8e9829 linux-yocto/5.19: update to v5.19.16
Updating  to the latest korg -stable release that comprises
the following commits:

    d235c2b1f470 Linux 5.19.16
    279116cb0bc5 misc: pci_endpoint_test: Fix pci_endpoint_test_{copy,write,read}() panic
    d472808756b3 misc: pci_endpoint_test: Aggregate params checking for xfer
    d0ecbd70f080 Input: xpad - fix wireless 360 controller breaking after suspend
    d1a1dbe71f73 Input: xpad - add supported devices as contributed on github
    ac719db96b23 mctp: prevent double key removal and unref
    3aecb0895aac wifi: cfg80211: update hidden BSSes to avoid WARN_ON
    fa63b5f6f885 wifi: mac80211: fix crash in beacon protection for P2P-device
    2bee6f75e3c6 wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
    1d73c990e9ba wifi: cfg80211: avoid nontransmitted BSS list corruption
    46b23a955958 wifi: cfg80211: fix BSS refcounting bugs
    867184200c05 wifi: cfg80211: ensure length byte is present before access
    e6d77ac0132d wifi: mac80211: fix MBSSID parsing use-after-free
    74abb1952a03 wifi: cfg80211/mac80211: reject bad MBSSID elements
    42ea11a81ac8 wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()
    848bb8517e41 random: use expired timer rather than wq for mixing fast pool
    111824744645 random: avoid reading two cache lines on irq randomness
    ee42204c1cd5 Revert "crypto: qat - reduce size of mapped region"
    3a8f93f3779e Revert "powerpc/rtas: Implement reentrant rtas call"
    bd9c917efcf8 Revert "usb: dwc3: Don't switch OTG -> peripheral if extcon is present"
    d42228fc2cad Revert "USB: fixup for merge issue with "usb: dwc3: Don't switch OTG -> peripheral if extcon is present""
    5857b9cd9b91 USB: serial: qcserial: add new usb-id for Dell branded EM7455
    6ae8aa5dcf0d scsi: stex: Properly zero out the passthrough command structure
    55e19a4c111e efi: Correct Macmini DMI match in uefi cert quirk
    a0d53923bf91 ALSA: hda/realtek: Add quirk for HP Zbook Firefly 14 G9 model
    59ac9fa0e33f ALSA: hda: Fix position reporting on Poulsbo
    b42a64428abe random: clamp credited irq bits to maximum mixed
    e1f8820bf83f random: restore O_NONBLOCK support
    ae2e80078145 nvme-pci: set min_align_mask before calculating max_hw_sectors
    6c58865f1acd ceph: don't truncate file in atomic_open
    090fcfb6edeb nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
    4755fcd84424 nilfs2: fix leak of nilfs_root in case of writer thread creation failure
    394b2571e9a7 nilfs2: fix use-after-free bug of struct nilfs_root
    caf2c6b58043 nilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level()
    51dd976781da Linux 5.19.15
    04bd2a779511 Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 5"
    c4635cf3d845 Bluetooth: use hdev->workqueue when queuing hdev->{cmd,ncmd}_timer works
    6954cee88268 bpf: Fix resetting logic for unreferenced kptrs
    292b46c49675 net: ethernet: mtk_eth_soc: fix state in __mtk_foe_entry_clear
    9783292253fd bpf: Gate dynptr API behind CAP_BPF
    7d3f5d0353b4 rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
    165ae42fc1cf mmc: core: Terminate infinite loop in SD-UHS voltage switch
    b2afdaddaa8c mmc: core: Replace with already defined values for readability
    0b0f40745ab4 gpiolib: acpi: Add a quirk for Asus UM325UAZ
    aa476c7b6375 gpiolib: acpi: Add support to ignore programming an interrupt
    a9d2ce58126c USB: serial: ftdi_sio: fix 300 bps rate for SIO
    9de74019cd44 usb: mon: make mmapped memory read only
    c2423912d5c9 i2c: davinci: fix PM disable depth imbalance in davinci_i2c_probe
    71c41e04d9d8 don't use __kernel_write() on kmap_local_page()
    5dac20360a7b perf/x86/intel: Fix unchecked MSR access error for Alder Lake N
    3682460b9327 drm/amd/display: increase dcn315 pstate change latency
    94d49c380b9a drm/amd/display: Fix DP MST timeslot issue when fallback happened
    4fb0b18590c6 drm/amd/display: skip audio setup when audio stream is enabled
    3c15b295ae2f drm/amd/display: update gamut remap if plane has changed
    89d387065803 drm/amd/display: Assume an LTTPR is always present on fixed_vs links
    d1137c3c03d8 drm/amd/display: Fix double cursor on non-video RGB MPO
    32c1dde16f0a KVM: s390: Pass initialized arg even if unused
    5b4e1c1ffba3 net: atlantic: fix potential memory leak in aq_ndev_close()
    cfaf7f090a40 arch: um: Mark the stack non-executable to fix a binutils warning
    a460f846d580 gpio: ftgpio010: Make irqchip immutable
    d71f03dbcc17 um: Cleanup compiler warning in arch/x86/um/tls_32.c
    c7105d2a77a6 um: Cleanup syscall_handler_t cast in syscalls_32.h
    9cdbc61abaa0 ALSA: hda/hdmi: Fix the converter reuse for the silent stream
    7480deff597a net: marvell: prestera: add support for for Aldrin2
    be248292a483 net/ieee802154: fix uninit value bug in dgram_sendmsg
    ce57f7b2e614 scsi: qedf: Fix a UAF bug in __qedf_probe()
    5f2f00509496 drm/amdgpu/mes: zero the sdma_hqd_mask of 2nd SDMA engine for SDMA 6.0.1
    f8895cfb48b0 ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
    7e834ee927a5 wifi: iwlwifi: don't spam logs with NSS>2 messages
    229769759ef8 dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
    e38f67582567 dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property
    92f8963831f1 dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling
    666f5be3593c arm64: dts: rockchip: fix upper usb port on BPI-R2-Pro
    edc5c66d15f9 firmware: arm_scmi: Add SCMI PM driver remove routine
    8e880f30946f firmware: arm_scmi: Harden accesses to the sensor domains
    41bf1b0ad953 firmware: arm_scmi: Improve checks in the info_get operations
    81de80330fa6 fs: fix UAF/GPF bug in nilfs_mdt_destroy
    8529dfb5ef72 xsk: Inherit need_wakeup flag for shared sockets
    7ebe331054cf docs: update mediator information in CoC docs
    3b760c94de19 hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero
    19a4cb1c4eb8 Makefile.extrawarn: Move -Wcast-function-type-strict to W=1
    8dc610c9478c sparc: Unbreak the build

(From OE-Core rev: a99d8002ff7b8f4d73d03abd75a05921d0587815)

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>
2022-11-22 12:26:45 +00:00
Bruce Ashfield
8bc541fd91 linux-yocto-dev: bump to v6.0+
Introducing the 6.0+ development kernel branches. These
have been sanity tested on all supported architectures.

(From OE-Core rev: 04c9125197783b0c72552b213c8a248eedc83a93)

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>
2022-11-22 12:26:45 +00:00
Tim Orling
38a87b464e liburi-perl: upgrade 5.08 -> 5.17
* Author changed back from ETHER to OALDERS
* Use CPAN_MIRROR for SRC_URI
* Update HOMEPAGE
* Update RPEPENDS for -ptest
* Patch to skip TODO test cases

For changes, see:
https://metacpan.org/release/OALDERS/URI-5.17/changes

License-Update: whitespace changes

(From OE-Core rev: f5aad6f125b88920c7ff8dc749768fd2c3f40a89)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:45 +00:00
Tim Orling
f78f852ef4 libtest-warnings-perl: move from meta-perl
liburi-perl in oe-core now RDEPENDS on libtest-warnings-perl for ptest

* Update HOMEPAGE; fix syntax
* Add SUMMARY
* Add BUGTRACKER
* Use CPAN_MIRROR for SRC_URI
* Use actual LICENCE file for LIC_FILES_CHKSUM
* Add RDEPENDS
* Add RDEPENDS on perl-modules for ptest
  - Too many hidden dependencies that fail silently, but pass
    with full perl-modules
* Add self as maintainer
* Add to ptest-packagelists (fast)

(From OE-Core rev: b1582fb0ec6620312b9a26c6afc48a63984617a0)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:45 +00:00
Tim Orling
9b331dbb58 libtest-fatal-perl: add recipe for 0.016
Test::Fatal - incredibly simple helpers for testing code with exceptions

https://metacpan.org/release/RJBS/Test-Fatal-0.016

* Dependency for liburi-perl ptest.
* Add self as maintainer
* Add to ptest-packages.inc (fast)

(From OE-Core rev: 285643275ef0ac04bdc3ce500a79f49629e7ebba)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:45 +00:00
Tim Orling
e7acf25c74 libtry-tiny-perl: add recipe for 0.31
Try::Tiny - Minimal try/catch with proper preservation of $@

https://metacpan.org/release/ETHER/Try-Tiny-0.31

* Dependency for libtest-fatal-perl
* Add self as maintainer
* Add to ptest-packagelists.inc (fast)

(From OE-Core rev: c26f9a01f6c94cc65b5811cad31f88e4f432a162)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:45 +00:00
Tim Orling
82a6e73384 mirrors.bbclass: update CPAN_MIRROR
Both of these redirect to https://cpan.metacpan.org/:
http://cpan.metacpan.org/
http://search.cpan.org/CPAN/

(From OE-Core rev: f1b74fc09f70d52d9ac629b04d81aa94fd97ff40)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:45 +00:00
Joe Slater
2f92cccb74 python3: Fix CVE-2022-37460
Apply patch created after the release of 3.11.0.

(From OE-Core rev: 1a8836ed324f3f9abb2eabe357ffe2e05124857e)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:45 +00:00
Chen Qi
1be02b42d9 dhcpcd: fix to work with systemd
Currently, dhcpcd does not work well with systemd. When using dhcpcd
to configure network, the /etc/resolv.conf contents are not correct.
This issue could easily be reproduced by using 'qemu + slirp' to
start a systemd based image and using dhcpcd to configure network.
The expected 'nameserver 10.0.2.3' is not in /etc/resolv.conf.

The root cause of this problem is that dhcpcd assumes the resolvconf
should recognize .protocol suffix[1]. But systemd's resolvconf (which
is a symlink to resolvectl) has a limited support for traditional
resolvconf interface[2], and "may not work with all clients"[3]. This
of cource includes the clients that use the .protocol suffix.

The current situation is:
1. systemd is not going to support the .protocol suffix in the foreseeable
   near future[4].
2. dhcpcd does not want to merge systemd specific patch and insists
   systemd needs to consider the .protocol suffix[5][6].

It's a normal thing that people have different opinions. As a build system
that supports such combination, however, we do need to come up with a
solution to fix this typical integration problem, making dhcpcd and systemd
work together.

This patch solves this integration problem by relying on dhcpcd's ability
to manage its own resolv.conf contents. But instead of letting it to write
to /etc/resolv.conf directly, we supply the generated contents to resolvconf.
In this way, the resolvconf still stands in the central place and dhcpcd remains
a supplier to it. And the /etc/resolv.conf can get the correct contents.
With this patch, dhcpcd could work with both sysvinit and systemd.

[1] https://man.archlinux.org/man/resolvconf.8.en
[2] https://man.archlinux.org/man/resolvectl.1#COMPATIBILITY_WITH_RESOLVCONF(8)
[3] https://wiki.archlinux.org/title/systemd-resolved
[4] https://github.com/systemd/systemd/issues/25032
[5] https://github.com/NetworkConfiguration/dhcpcd/pull/152
[6] https://github.com/NetworkConfiguration/dhcpcd/issues/146

(From OE-Core rev: 935ae419f51d911c73f5dc7b4a2e5e9a7b206985)

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>
2022-11-22 12:26:45 +00:00
Sergei Zhmylev
bc462b0fcc oeqa/qemurunner: implement vmdk images support
Qemurunner should not pass rootfs to runqemu in case
rootfs is not a filesystem itself.  Some images could
be built into some disk format like vmdk and this
commit makes qemurunner handle such images properly.

(From OE-Core rev: 5aea74046cf4c1aa7fa9e2402788d662268ccf53)

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:45 +00:00
Dmitry Baryshkov
0966ae1166 linux-firmware: add new fw file to ${PN}-qcom-adreno-a530
Extend the linux-firmware-qcom-adreno-a530 package with the squashed
Adreno 530 zap shader.

(From OE-Core rev: 920bf119f35824a3531801f5e41158a8ad1bca4c)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:45 +00:00
Dmitry Baryshkov
da063de044 linux-firmware: upgrade 20221012 -> 20221109
License-Update: additional files
(From OE-Core rev: 6940f297243a66bd58d6adee7d690bcee9b9ccb2)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-22 12:26:45 +00:00
Richard Purdie
5673f731f7 bitbake: cache: Drop support for not saving the cache file
We don't test not using the cache and I'm not aware of anyone using this, it
would be hard to with modern bitbake.

Drop the conditional code and simply error if CACHE isn't set.

(Bitbake rev: 063ffe699bc5fc23174643dfedb66864cacfcff8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:31:28 +00:00
Richard Purdie
228f9a3a2d bitbake: worker/runqueue: Reduce initial data transfer in workerdata
When setting up the worker we were transfering large amounts of data
which aren't needed until task execution time.

Defer the fakeroot and taskdeps data until they're needed for a specific
task. This will duplicate some information when executing different tasks
for a given recipe but as is is spread over the build run, it shouldn't
be an issue overall.

Also take the opportunity to clean up the silly length argument lists
that were being passed around at the expense of extra dictionary keys.

(Bitbake rev: 3a82acdcf40bdccd933c4dcef3d7e480f0d7ad3a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:31:28 +00:00
Richard Purdie
16bc168084 bitbake: server: Ensure cooker profiling works
The previous cleanups meant that when the cooker was started, profiling
was always disabled as configuration was sent to the server later and this
was too late to profile the main loop.

Pass the "profile" option over the server commandline so that we can
profile cooker itself again, the setting can now take effect early enough.

(Bitbake rev: c97c1f1c127ef3f8fbbd1b4e187ab58bfb0a73e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:31:28 +00:00
Richard Purdie
82b5cdad0f bitbake: cache: Drop unused function
At this point users appear to all call add_info directly. Failing
to do that means the file dependency tracking code isn't active
so would cause problems. Therefore drop the unused function.

(Bitbake rev: 6b24efc0f4d19738d96754280e70bc493005167d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:31:28 +00:00
Richard Purdie
9206614d79 bitbake: cache: Drop broken/unused code
Some parts of functions in Cache() were broken and unused, there was
also a totally unused function. This was historical as a result of the
cooker parsing process needing to handle cached entries in the main
thread but parsing actions in seperate processes.

Document the way it works, update the function name to be clear about
what it now does and drop the old code which was unused.

(Bitbake rev: af83ee32df85c8e4144f022a1f58493eb72cb18e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:31:28 +00:00
Richard Purdie
3a4aeda0fa bitbake: cache/cookerdata: Move recipe parsing functions from cache to databuilder
When 'NoCache' was written, databuilder/cookerdata didn't exist. It does
now and the recipe parsing functionality contained in NoCache clearly
belongs there, it isn't a cache function. Move those functions, renaming
to match the style in databuilder but otherwise not changing functionality
for now. Fix up the callers to match (which make it clear this is the right
move).

(Bitbake rev: 783879319c6a4cf3639fcbf763b964e42f602eca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:31:28 +00:00
Tim Orling
16ad67809b at-spi2-core: upgrade 2.44.1 -> 2.46.0
* Both atk and at-spi2-atk are now merged into this project.
  - drop atk_2.38.0.bb
  - drop at-spi2-atk_2.38.0.bb
  - PROVIDES += "atk at-spi2-atk"
  - RPROVIDES:${PN} += "atk at-spi2-atk"
* DEPENDS on libxml2
* Ships:
  ${libdir}/gnome-settings-daemon-3.0/gtk-modules/at-spi2-atk.desktop
  ${libdir}/gtk-2.0/modules/libatk-bridge.so

What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
  interface.

What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
  events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).

What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
* xml: Add some missing DeviceEventController methods.
* Bind the AT-SPI bus to the graphical session.
* Mark bus service as belonging to the session slice.
* Add ATSPI_ROLE_PUSH_BUTTON_MENU.
* Add an "announcement" event/signal to allow objects to send
  notifications (!63).
* Various code clean-ups and test improvements.

What's new in at-spi2-core 2.45.1:
* Atk and at-spi2-atk are now merged into this project.
* Now requires meson 0.56.2 and glib 2.67.4.
* at-spi2-atk: Expose the accessible hierarchy via dbus introspection.
* Properly escape the AT-SPI bus address; fixes warnings about the
  address not containing a colon (!55).
* Add a text value to AtspiValue, so that a value can expose a textual
  description, as in the new Atk value API.
* Add atspi_event_listener_register_with_app, to allow an event listener
  to be registered only for a given application (!52).

https://gitlab.gnome.org/GNOME/at-spi2-core/-/blob/main/NEWS

(From OE-Core rev: ad605662f1bc1a0d446f59362aedb74d22d12980)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:29:30 +00:00
David Bagonyi
935fbe5e47 u-boot: Fix u-boot signing when building with multiple u-boot configs
The prepended code with the i and j variables clash with similar code in uboot.inc, so they need to be unset once we are done using them.

This commit fixes the issue that was introduced in d6858c9 "u-boot: Rework signing to remove interdependencies".

(From OE-Core rev: 6f668f85d7e5b0a9d36198db865cf1e1a012b2e1)

Signed-off-by: David Bagonyi <david.bagonyi@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:29:08 +00:00
Chen Qi
bab3b86766 resolvconf: make it work
The current resolvconf does not work. Make it work with the
following changes.
1. Install normalize-resolvconf, which is used by resolvconf.
2. Add dependencies: sed, util-linux-flock.
   util-linux-flock is needed by our busybox does not support '-w'
   by default. sed is needed because we want to avoid package
   QA issue complaining sed is needed by no one provides it.
3. Add a patch to replace 'readlink -m' with 'readlink -l'.
   This could avoid the runtime dependency on coreutils. The replacement
   is safe as /etc always exits in OE's system.
4. Remove allarch inheritage. This is because the above RDEPENDS
   change does not allow this any more. test_sstate_allarch_samesigs
   would fail if we don't do this.

(From OE-Core rev: 1b0581fd241cc9de2feda896aefbf055dc0099dc)

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>
2022-11-20 08:29:08 +00:00
Chen Qi
2143dfd9ad kernel.bbclass: make KERNEL_DEBUG_TIMESTAMPS work at rebuild
Currently, the KERNEL_DEBUG_TIMESTAMPS is not working as expected
at rebuild. That is, even if we set it to "1", the kernel build time
is not changed. The problem could be reproduced by the following steps.
  1. bitbake core-image-minimal; start image and check `uname -a` output.
  2. set in local.conf: KERNEL_DEBUG_TIMESTAMPS = "1"
  3. bitbake core-image-minimal; start image and check `uname -a` output.

It's expected that after enabling KERNEL_DEBUG_TIMESTAMPS, the kernel
build time will be set to current date. But it's not. This is because
the compile.h was not re-generated when do_compile task was re-executed.

In mkcompile_h, we have:
"""
 # Only replace the real compile.h if the new one is different,
 # in order to preserve the timestamp and avoid unnecessary
 # recompilations.
 # We don't consider the file changed if only the date/time changed,
 # unless KBUILD_BUILD_TIMESTAMP was explicitly set (e.g. for
 # reproducible builds with that value referring to a commit timestamp).
 # A kernel config change will increase the generation number, thus
 # causing compile.h to be updated (including date/time) due to the
 # changed comment in the
 # first line.
"""
It has made it very clear that it will not be re-generated unless
we have KBUILD_BUILD_TIMESTAMP set explicitly. So we set this variable
explicitly in do_compile to fix this issue.

(From OE-Core rev: 1b68c2d2d385013a1c535ef81172494302a36d74)

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>
2022-11-20 08:29:08 +00:00
Joshua Watt
93707ae156 qemu-helper-native: Correctly pass program name as argv[0]
The previous version of this wasn't correctly passing the program name
as argv[0], and was also over-complicated anyway because argv[] is
guaranteed to be terminated with a NULL pointer, so it can be passed
directly to the execv'd process without needing to be copied.

(From OE-Core rev: 6edf38add3c20c44efe0588e2815bb280d22e0c4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:29:08 +00:00
Enrico Jörns
af9f61520b sstatesig: emit more helpful error message when not finding sstate manifest
Since oe-core commit 64b89f3c8fc31842256c482a3039d90d3f12c1cc
("sstatesig.py: make it fatal error when sstate manifest isn't found")
errors like:

| Manifest [..]/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-dbus.populate_sysroot not found in imx8mm_dummy cortexa53-mx8mm cortexa53 armv8a-crc armv8a aarch64 allarch x86_64_x86_64-nativesdk (variant '')?

are fatal now and cannot be ignored but must be debugged.

Unfortunately, the currently emitted error message is a bit imprecise
with telling the reader what has actually gone wrong.

This commit:

* adds the word 'sstate' to the error message to clarify the scope we
  are dealing with ('sstate manifests', since there are other manifests,
  too)
* does not randomly print the last manifest file searched for as THE
  manifest file that could not be found
  Instead, we print the name of the task the sstate was searched for
* adds the word 'multilib' to variant to make clear which variant we are
  talking about
* adds a separate line noting the searched pkgarchs and adds explicitly
  mentions this word ('pkgarchs')
* prints a list of ALL manifest file locations attempted
* removes the '?' at the end of the message since such errors indeed
  leave the question of what is the cause but the error message itself
  is more like a statement.

The result for the exact same issue as noted above then looks as
follows:

| The sstate manifest for task 'dbus:populate_sysroot' (multilib variant '') could not be found.
| The pkgarchs considered were: imx8mm_dummy, cortexa53-mx8mm, cortexa53, armv8a-crc, armv8a, aarch64, allarch, x86_64_x86_64-nativesdk.
| But none of these manifests exists:
|     [..]/tmp/sstate-control/manifest-imx8mm_dummy-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-cortexa53-mx8mm-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-cortexa53-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-armv8a-crc-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-armv8a-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-aarch64-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-allarch-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-dbus.populate_sysroot

(From OE-Core rev: 735ec126ec219c7cb89cb05b0e433201bb7f59eb)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:29:07 +00:00
Wang Mingyu
3545629311 libpipeline: upgrade 1.5.6 -> 1.5.7
Changelog:
============
 * Add notes to libpipeline(3) of when functions were added.
 * Transferred Git repository to https://gitlab.com/libpipeline/libpipeline.
 * Make `socketpair` tests used by `./configure --enable-socketpair-pipe`
   compatible with C23.

(From OE-Core rev: a2369129b5abe9a12a25f120ce1438eb6fff39ae)

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>
2022-11-20 08:29:07 +00:00
Wang Mingyu
f0b7194f12 btrfs-tools: upgrade 6.0 -> 6.0.1
Changelog:
==========
* send: minor speed up for v2 due to increased buffer size
* resize: invalid command line options fail with error code
* quota rescan:
   * add long options --status and --wait
   * new option to wait but don't start rescan
* qgroup show: print path by default, updated format
* qgroup: new subcommand clear-stale, remove qgroups without their subvolumes
* experimental:
   * add warnings to commands that have it enabled (mkfs, image, btrfstune)
* other:
   * documentation, help text, error message updates

(From OE-Core rev: b638d61ccc9596b4c432792d3e3a45b989937144)

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>
2022-11-20 08:29:07 +00:00
Tim Orling
ce3f034fc5 python3-hypothesis: upgrade 6.56.4 -> 6.57.1
6.57.1 - 2022-11-14
This patch updates some internal type annotations and fixes a formatting bug
in the explain phase reporting.

6.57.0 - 2022-11-14
Hypothesis now raises an error if you passed a strategy as the alphabet=
argument to text(), and it generated something which was not a length-one
string. This has never been supported, we’re just adding explicit validation
to catch cases like this StackOverflow question.

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-57-1

(From OE-Core rev: 8a4a1fbc7c882a5768d9d5c48edcd92867f7fab4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:29:07 +00:00
Mikko Rapeli
aa3cb188b8 runqemu: limit slirp host port forwarding to localhost 127.0.0.1
With default slirp port forwarding config qemu listens on TCP ports
2222 and 2323 on all IP addresses available on the build host. Most
use cases with runqemu only need it for localhost and it is not
safe to run qemu images with root login without password enabled
and listening on all available, possibly Internet reachable network
interfaces. Limit qemu port forwarding to localhost 127.0.0.1 IP
address. Now qemu machine SSH and telnet ports are only
reachable from the build host machine, not full Internet.

If qemu machine needs to be reachable from network, then it can
be enabled via local.conf or machine config variable QB_SLIRP_OPT:

QB_SLIRP_OPT = "-netdev user,id=net0,hostfwd=tcp::2222-:22"

(From OE-Core rev: c6b1e3d50bf2feea80b70a42c6fad868fa9e6042)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:29:07 +00:00
Mikko Rapeli
248180ab2d qemurunner.py: support setting slirp host IP address
By default host side IP address is not set and qemu listens
on all IP addresses on the host machine which is not a good
idea when images have root login enabled without password.
It make sense to listen only on localhost IP address 127.0.0.1 using
config change like:

QB_SLIRP_OPT = "-netdev user,id=net0,hostfwd=tcp:127.0.0.1:2222-:22"

This config works for qemu itself, but breaks runqemu which tries to
parse the host side port number from qemu process command line arguments.
So change the runqemu side hostfwd parsing for port number to ignore
the host IP address field.

Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: bdbd52082eb26f418000eb4e424baae9babc272c)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:29:07 +00:00
Alexander Kanavin
44bb88cc86 mesa: do not rely on native llvm-config in target sysroot
Sadly the magic is not perfect: llvm-config contains a hardcoded
value for the libdir from the native configuration, and things will
break if the target build installs libraries somewhere else (e.g. lib64).

llvm-config in target bindir also needs a rpath adjustment,
otherwise it simply won't even run when e.g. building for arm on x86.

To avoid patching llvm-source let's simply add more cases to the
llvm-config wrapper script, so that falling through to llvm-config binary
is avoided. Fortunately those cases are all static in what they return,
even though llvm-config binary does poke around the file tree to arrive
at them (which is where breakage happens if native and target don't match
exactly wrt libdir).

I verified that this works by building mesa with llvm enabled for
qemuarm64 and with baselib set to 'lib64' - so that both the target
architecture and target libdir differ from native ones.

Upstream tickets:
https://github.com/llvm/llvm-project/issues/58984
https://github.com/mesonbuild/meson/issues/11043

(From OE-Core rev: 056431883e94296b767a479d029b914392e4fd7c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-15 09:38:38 +00:00
Alexander Kanavin
e8a9e74903 bash: update 5.1.16 -> 5.2.9
Remove patches:
execute_cmd.patch
(purpose of patch unclear)
makerace.patch/makerace2.patch
(merged upstream)

(From OE-Core rev: 9a12d977cb4a9a5369eebd6b47ffe35c2cb4fca8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-15 09:38:37 +00:00
Alexander Kanavin
d2b7bf95fc make: update 4.3 -> 4.4
Deleted patches:
make/0001-makeinst-Do-not-undef-POSIX-on-clang-arm.patch
(modified bit removed upstream)
make/0001-src-dir.c-fix-buffer-overflow-warning.patch
make/0002-w32-compat-dirent.c-follow-header.patch
make/0003-posixfcn-fcntl-gnulib-make-emulated.patch
(fixed upstream)
make/0002-modules-fcntl-allow-being-detected-by-importing-proj.patch
(code removed upstream)

License-update: formatting

(From OE-Core rev: fe9650c1766707067482206a3ed3288ba44c1050)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-15 09:38:37 +00:00
Alexander Kanavin
20d0bb142d llvm: update 15.0.1 -> 15.0.4
zstd is a new compression option in addition to zlib.

(From OE-Core rev: 4fc3bd589fc0d43f5b14cedf552fec476b25c5db)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-15 09:38:37 +00:00
Alexander Kanavin
dececdc8e8 readline: update 8.1.2 -> 8.2
Replace configure-fix.patch with --with-shared-termcap-library

Backport a compatibility fix for gdb.

(From OE-Core rev: 72aea7be34cd88030283b989d5381a5fd944f53d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-15 09:38:37 +00:00
Alexander Kanavin
82e8c4105c glib-networking: update 2.72.2 -> 2.74.0
glib-2.0-native is needed for gio-querymodules executable

(From OE-Core rev: 4fb53b5f829b1126aceeeca5a6f905e987178268)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-15 09:38:37 +00:00
Alexander Kanavin
28ecbe0cc3 glib-2.0: update 2.72.3 -> 2.74.1
Patches:
0001-Do-not-ignore-return-value-of-write.patch
merged upstream

Enable-more-tests-while-cross-compiling.patch
replaced with a request to upstream to solve
this correctly with meson's exe_wrapper:
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3067
https://github.com/mesonbuild/meson/issues/11029

License-update: formatting

Make needed adjustments to ptests.

Backport a couple of patches to address musl failures.

(From OE-Core rev: cf529411493bc86c4d8d0bb29cbb7b98c23456ad)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-15 09:38:37 +00:00
Alexander Kanavin
f595da926e gettext: update 0.21 -> 0.21.1
License-update: formatting

Refresh gettext-minimal files from the 0.21.1 install tree.

(From OE-Core rev: 250a265893661c1ca12c31e5b78b527b96cbcfc6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-15 09:38:37 +00:00
Wang Mingyu
93b26a86ef xwayland: upgrade 22.1.4 -> 22.1.5
(From OE-Core rev: 48ca760427f14ae291bf2ebf6f93f8d0fb27e3ab)

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>
2022-11-15 09:38:37 +00:00
Wang Mingyu
75b77c72a3 wayland-protocols: upgrade 1.27 -> 1.28
(From OE-Core rev: 1f6aaf65e8ad3b3e185afaa99e196eeeee39b2b8)

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>
2022-11-15 09:38:37 +00:00
Wang Mingyu
2845c06fff libsoup: upgrade 3.2.1 -> 3.2.2
Changelog:
==========
* Various HTTP/2 Fixes:
    * Fix `content-sniffed` not being emitted for resources without content
    * Fix leak of SoupServerConnection when stolen

(From OE-Core rev: 65d287feb713a21cefdf4cb56f80c9f1deaa2e60)

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>
2022-11-15 09:38:37 +00:00
Wang Mingyu
8531a79193 iso-codes: upgrade 4.11.0 -> 4.12.0
Changelog:
=========
- ISO 3166-1: Update name for TR. Fixes #38
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2. Closes: #1020633
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 4217
- Translation updates for ISO 15924

(From OE-Core rev: 99917b4b7d5642b292cb95c770871b95e411dfc5)

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>
2022-11-15 09:38:37 +00:00
Wang Mingyu
efc3f92a29 babeltrace: upgrade 1.5.8 -> 1.5.11
Changelog:
===========
* Fix: distutils removed in python 3.12
* Fix: use-after-free with popt 1.19
* configure.ac: Basic fixes for autoconf 2.70
* Add gerrit config for stable-1.5
* port: disable debug-info by default on FreeBSD
* port: add missing includes for FreeBSD compat
* bindings: try importing collections.abc first for forward compatibility
* man: fix typo in babeltrace.1

(From OE-Core rev: a8f3e4f92f968eb96df11203ff442e6e42634915)

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>
2022-11-15 09:38:37 +00:00
Peter Marko
992cbe8184 meta-selftest/staticids: add render group for systemd
(From OE-Core rev: 5b761270267063afb0462d1ebf99cabe32ff4e0a)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-15 09:38:37 +00:00
Peter Marko
3b871a3793 systemd: add group render to udev package
From NEWS for v236:
* The "uaccess" udev tag has been dropped from /dev/kvm and
  /dev/dri/renderD*.  These devices now have the 0666 permissions by
  default (but this may be changed at build-time). /dev/dri/renderD*
  will now be owned by the "render" group along with /dev/kfd.

Without the group systemd-udevd startup logs:
  /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring
  /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring

(From OE-Core rev: 84efd72d48616405dbe4d73ec95917077144ed09)

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>
2022-11-15 09:38:37 +00:00
Tim Orling
1a8272f40f bitbake: toaster: Add refreshed oe-core and poky fixtures
After updating gen_fixtures.py, run ./gen_fixtures.py --all

This includes the latest stable/supported releases.
Currently excludes 'dunfell' as it seems to crash.

(Bitbake rev: 58e29fb15cd65795d6cf65a4db2b87f34649cb1f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:23:56 +00:00
Tim Orling
574eccf19a bitbake: toaster: fixtures/gen_fixtures.py: update branches
Drop Honister and Hardknott as they are both EOL
Add Langdale as it is the latest stable release
Add comment about Dunfell (currently crashing)

(Bitbake rev: e060daae28529c25968cacc5536a1034e1e1c030)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:23:56 +00:00
Tim Orling
1c95f84c0c bitbake: toaster: fixtures/README: django 1.8 -> 3.2
We should reference the docs for the current LTS version we are using.

(Bitbake rev: 0dca22a184240d464bbd4ef276a6b13e44e29725)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:23:56 +00:00
Robert Yang
80e70e669f bitbake: gitsm.py: process_submodules(): Set nobranch=1 for url
Just like download_submodule() does, fixed warings when run
bb.fetch2.Fetch([url], d) in process_submodules' function:

WARNING: grpc-native-1.50.0-r0 do_fetch: URL: gitsm://github.com/abseil/abseil-cpp.git;protocol=https;name=third_party/abseil-cpp;subpath=third_party/abseil-cpp does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls.

(Bitbake rev: 0ed7c75eb0508a1f699f47d7f22d559501865f61)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:22:00 +00:00
Pavel Zhukov
1345caff44 bitbake: gitsm: Fix regression in gitsm submodule path parsing
Commit 0361ecf7eb82c386a9842cf1f3cb706c0a112e77 introduced regression
in submodules path parsing. As the result gitsm fetcher fails on each
submodule which name begins from the name of the parent repo which is
totally valid usecase [Yocto #14045] [1]
Fix the code to error out only if submodule's name is equal to parent
name but not if it's part of it.

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14045#c4

(Bitbake rev: 3ad27272c18f2bb9edd441f840167a3dabd5407b)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:22:00 +00:00
Richard Purdie
d8e9ee8fd5 bitbake: data/data_smart/build: Clean up datastore finalize/update_data references
We dropped the update_data calls a while ago. Clean up the code
to match the reality and drop the remaining no-op pieces. Update
the comments to reflect the slowest operations and let the cookie
monster's spirit live on!

(Bitbake rev: 584989ed2b5af4e8799571dece0cf94f995ef14e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:22:00 +00:00
Wang Mingyu
de98b12ee1 sysstat: upgrade 12.6.0 -> 12.6.1
Changelog:
==========
* Fix possible overflow in sa_common.c (GHSL-2022-074).
* sa_conv.c: Make size of statistics structures from older sysstat
  versions immutable.
* Declare sadc dependency on libsyscom.a.
* Fix gcc v11.2 warnings.
* Various cosmetic fixes.
* sar: Remove `-I int_list` from man-page and help.
* Consolidate systemctl commands in README file.
* Remove whitespace characters at the end of lines.

(From OE-Core rev: d86ef26a76dcadf696a02389ec9156fb95516cce)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
57d9840f14 sudo: upgrade 1.9.12 -> 1.9.12p1
mips-fix.patch
removed since it's included in 1.9.12p1

Changelog:
=========
 *Sudo's configure script now does a better job of detecting when the
 -fstack-clash-protection compiler option does not work. GitHub issue #191.
 *Fixed CVE-2022-43995, a potential out-of-bounds write for passwords smaller
  than 8 characters when passwd authentication is enabled. This does not affect
  configurations that use other authentication methods such as PAM, AIX
  authentication or BSD authentication.
 *Fixed a build error with some configurations compiling host_port.c.

(From OE-Core rev: 292acd9db1d7204f1435f31f2c37fd272b74eb97)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
07eace6c01 sed: update 4.8 -> 4.9
License-Update:
-URL of license changed from
 https://www.gnu.org/philosophy/why-not-lgpl.html
 to https://www.gnu.org/licenses/why-not-lgpl.htm
-Copyright year updated to 2022

(From OE-Core rev: 878e7d1b232083df442e19461ed1e62913ee73bb)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
312975e571 python3-wheel: upgrade 0.38.0 -> 0.38.4
Changelog:
===========
-Fixed PKG-INFO conversion in bdist_wheel mangling UTF-8 header values in METADATA
-Fixed install failure when used with --no-binary, reported on Ubuntu 20.04,
 by removing setup_requires from setup.cfg
-Fixed regression introduced in v0.38.1 which broke parsing of wheel file names
 with multiple platform tags
-Removed install dependency on setuptools
-The future-proof fix in 0.36.0 for converting PyPy's SOABI into a abi tag was
 faulty. Fixed so that future changes in the SOABI will not change the tag.

(From OE-Core rev: 85479f94c85d6928d6fd893bb28b86b2e769a07c)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
ca04007706 python3-subunit: upgrade 1.4.0 -> 1.4.1
Changelog:
=========
IMPROVEMENTS
-------------
* Add support for Python 3.9
* Add support for Python 3.10
* Drop support for Python 2.7, 3.4, and 3.5
* Convert python scripts to entry_points.
* Migrate CI from travis to GitHub actions.
* Add options to output filter to set timestamps.
* Remove dependency on unittest2.

BUGFIXES
----------
* Fix tests with testtools >= 2.5.0.
* Mark rawstrings as such, fixing warnings.

(From OE-Core rev: 8841a4c49ff57bc03f68408883a73ec3a4a75e99)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
4e7a076d2c python3-sphinx-rtd-theme: upgrade 1.1.0 -> 1.1.1
Changelog:
Fixes wrapping bug on cross references (#1368)

(From OE-Core rev: 9d88f8da0764ed0e005c8f22a9a439b1ea88019d)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
40e1f20df4 python3-setuptools: upgrade 65.5.0 -> 65.5.1
Changelog:
-----
    #3638: Drop a test dependency on the mock package, always use unittest.mock
    #3659: Fixed REDoS vector in package_index.

(From OE-Core rev: f508081b34c297321b6a15e81d593cebc5efaee6)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
459a12efc1 python3-psutil: upgrade 5.9.3 -> 5.9.4
(From OE-Core rev: c2aef4590c7733e21081a0a4969516c9d43cba86)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
a56d78fc2a python3-pip: update 22.3 -> 22.3.1
Bug Fixes
-----------
 Fix entry point generation of pip.X, pipX.Y, and easy_install-X.Y to correctly
 account for multi-digit Python version segments (e.g. the "11" part of 3.11). (#11547)

(From OE-Core rev: 015eb64e2781e03248c6a11b109253a3f12e96dc)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
868052c5f2 python3-flit-core: upgrade 3.7.1 -> 3.8.0
(From OE-Core rev: 8965912fdedcdbefd2d1068ebf229a3c4627102a)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
7764fb4738 python3-dtschema: upgrade 2022.9 -> 2022.11
Changelog:
============
- Rework exception handling to better handle Ctrl-C exits

- Various updates to README.md including examples on running different
  commands

- Allow using schemas for validation which fail meta-schema checks. This
  will allow using schemas which have failures due to new meta-schema
  checks.

(From OE-Core rev: ce68658c5471223933239d553abdd2cc5e3520ff)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
2140ca72b9 mesa: upgrade 22.2.2 -> 22.2.3
(From OE-Core rev: d7037207e5c7d93031311b3ad88e4548ce8bb47a)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
ee43b20a63 libsdl2: upgrade 2.24.1 -> 2.24.2
(From OE-Core rev: 0091bbe02399f49b7da1ebf9b45541b26fb2ce12)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
751f85a5d1 mobile-broadband-provider-info: upgrade 20220725 -> 20221107
(From OE-Core rev: 7e12fa1e6250fc358ba159a6b626458d871f7ccf)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
3e26f78d22 mmc-utils: upgrade to latest revision
(From OE-Core rev: 30c7c285d08e02f83d0eb4900be09431709ce783)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
9244e8b004 libdrm: upgrade 2.4.113 -> 2.4.114
(From OE-Core rev: 76b81e260dde47f542746debab40f704b38655ac)

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>
2022-11-14 16:19:43 +00:00
Wang Mingyu
889fc3a5cb gi-docgen: upgrade 2022.1 -> 2022.2
Changes since 2022.1
--------------------
* Use const.*.html instead of constant.*.html for search index links [!146]
* Remove "terms" from index.json, rewrite commandline search to work without it [!148]
* Add interface type description [!149]
* Fix failure to generate link to error domain [!151]
* Make log.log() thread safe [#129]
* Quote string constant values [#128]
* Set the license of the generated documentation [#133]
* Support (scope forever) [!155]
* Add a way to frame images [!156]
* Use the appropriate namespace for indices [#137]
* Fix type annotations for Repository packages and c_includes [!160]
* Add py.typed to comply with PEP561 [!159]
* Add links to external classes in the hierarchy [#132]
* Use definition lists for callable arguments [#123]
* Improve styles [!165]
* Use definition lists for callable arguments
* Clarify generated description for GError arguments
* Clarify generated description for nullable in/out arguments
* Add emblems for versions and stability
* Require a sufficient minimum dependency of markdown [!166]
* Add a "serve" command

(From OE-Core rev: 695dced37407e7082e9277368c5d9baffea524e4)

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>
2022-11-14 16:19:43 +00:00
Jordan Crouse
0d27fd75bd vulkan-loader: Allow headless targets to build the loader
vulkan-loader can build and work on headless targets without display
engines so there isn't any need for the ANY_OF_DISTRO_FEATURES restriction.

(From OE-Core rev: d6524dddc7046e420cc93cd9d49cb83e778149e9)

Signed-off-by: Jordan Crouse <jorcrous@amazon.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:19:43 +00:00
Jordan Crouse
130b55bdf3 spirv-tools: Correctly set the prefix in exported cmake packages
spirv-tools exports Cmake packages.  When they are installed the
INTERFACE_LINK_LIBRARIES variable is not correctly updated to use
_IMPORT_PREFIX like the other variables. This may have something to do with
the path to the sysroot being different than the source path.

The existing recipe recognizes that the sysroot path made it through to the
install and tries to get rid of it, but this just ends up with dependent
tools looking in vain for /usr/lib/librt.so.

Replace the INTERFACE_LINK_LIBRARIES value in SPIRV-ToolsTarget.cmake with
"${IMPORT_PREFIX}/lib".

(From OE-Core rev: ca2d6d9164fba91d86357e56617b58eeeeb76d72)

Signed-off-by: Jordan Crouse <jorcrous@amazon.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:19:43 +00:00
Changhyeok Bae
20064a9e2a repo: upgrade 2.29.5 -> 2.29.9
(From OE-Core rev: 698a8cc958bdc0a81b85011ef51cb205fd858732)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:19:43 +00:00
Richard Purdie
b955eea197 sanity: Drop data finalize call
This call was effectively like update_data and no longer did anything
in bitbake. Drop it as it is obsolete.

(From OE-Core rev: d3eb4531aae28a07cb7e52ed5fe1102445d2effd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:19:43 +00:00
Jose Quaresma
7c1e70efcc sstate: Allow optimisation of do_deploy_archives task dependencies
do_deploy_archives tasks don't need their dependencies so we can optimistion
this as we do for some other tasks.

(From OE-Core rev: 3dd9f6e398844380d3765c54d35afe0d2ccf82e7)

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>
2022-11-14 16:19:43 +00:00
Jose Quaresma
0f9773ee71 rm_work: exclude the SSTATETASKS from the rm_work tasks sinature
We can exclude the SSTATETASKS from the rm_work task signature
to avoid running the task when we remove some setscene tasks
from the dependencie chain.

The inject_rm_work handler on the rm_work bbclass triggers the
rm_work task running for any signature change in the dependencie
chain of the task do_build of each recipe.

i.e INHERIT:remove = "create-spdx" will trigger the do_rm_work
when we collect the sstate cache with INHERIT = "create-spdx"

(From OE-Core rev: 77729bea5b17d65dafb604fd1665c612091b28c7)

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>
2022-11-14 16:19:43 +00:00
Jose Quaresma
6cd9a85d2b sstatesig: skip the rm_work task signature
We can skip the rm_work task signature to avoid running the task
when we remove some tasks from the dependencie chain.

The inject_rm_work handler on the rm_work bbclass triggers the
rm_work task running for any signature change in the dependencie
chain of the task do_build of each recipe.

i.e INHERIT:remove = "create-spdx" will trigger the do_rm_work
when we collect the sstate cache with INHERIT = "create-spdx"

(From OE-Core rev: 292305700e39d0ebd64763f5032c39ace5005fad)

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>
2022-11-14 16:19:43 +00:00
David Bagonyi
cdd35d07a2 gpgme: Allow setuptools3-base to be excluded from the inherit list
Inheriting setuptools3-base adds a runtime dependency on Python.

This change makes inheriting setuptools3-base optional. If one does not want
a runtime dependency on Python, they can remove python from LANGUAGES.

Additionally, as Python 2 has been EOL for nearly 3 years now, all Python 2 related parts have been taken out.

(From OE-Core rev: 1e2381d870b81813d3e9841fc207ac1cfa388386)

Signed-off-by: David Bagonyi <david.bagonyi@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:19:43 +00:00
Joshua Watt
3e5ce0275a scripts: convert-overrides: Allow command-line customizations
Adds argument parsing to the conversion script so that the fields that
the script uses to do conversions can be customized on the command line.
The intention is to allows easier customization without having to fork
the script, and allow automated checking on 3rd party layers via CI
without false positives

(From OE-Core rev: b9551f9180bf9f13fb1c480b5b7892fdc831ffcd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-14 16:19:42 +00:00
Alexander Kanavin
744cea3bfe libxext: update 1.3.4 -> 1.3.5
License-Update: copyright holders

(From OE-Core rev: d801d866e1d70abe229d17a637636634f81b87e3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 17:13:11 +00:00
Alexander Kanavin
45fd5150e3 systemd: update 251.4 -> 251.8
This resolves systemd-boot fails with latest meson,
while systemd -> 252 is being prepared.

(From OE-Core rev: 1d96287906f66ad28e50c9686eaffc2fb7b874fe)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:41 +00:00
Alexander Kanavin
4e960cb2b5 meson: update 0.63.3 -> 0.64.0
(From OE-Core rev: 835aca65ccb5eda00fbfe51ab203a8df791be83a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:41 +00:00
Alexander Kanavin
1bdf4c0273 rgb: update 1.0.6 -> 1.1.0
(From OE-Core rev: f23d411dcb3e2ca3bdcdc7e1a7876af61f72de29)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:41 +00:00
Alexander Kanavin
5ab5df637d libepoxy: update 1.5.9 -> 1.5.10
(From OE-Core rev: 436cb3c98c582e17e6ed2491cc6598c56976af46)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:41 +00:00
Alexander Kanavin
e9bb0913e1 libepoxy: convert to git
Latest version doesn't come with stable tarballs.

(From OE-Core rev: 4b6eed2bb323a3c7390ca3ad426afe27e9072bf0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:41 +00:00
Alexander Kanavin
1adc76edd2 adwaita-icon-theme: update 42.0 -> 43
(From OE-Core rev: 6ef980fa6671d5fb204d17ff944900c021ae9801)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:41 +00:00
Alexander Kanavin
d97d3de1c4 gnomebase.bbclass: return the whole version for tarball directory if it is a number
E.g. if version is '43' without any dots, existing code would return ''.

(From OE-Core rev: 38c15322bdbb2423973939e861b5ad1ffb5c8b7f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:41 +00:00
Alexander Kanavin
550d5fc0f3 xf86-input-vmmouse: update 13.1.0 -> 13.2.0
(From OE-Core rev: 73aab878778013657e66c98a92c7b0964570b0dd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:41 +00:00
Alexander Kanavin
2312451272 xcb-util: update to latest revisions
Also, default to tar.xz, as the majority of tarballs
are now using that.

(From OE-Core rev: 16cb660e4481a0068b7bf84096be4d7f1452400e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Alexander Kanavin
d53d0cf528 libxxf86vm: update 1.1.4 -> 1.1.5
(From OE-Core rev: 2455d69b3c3ac01471e3f4c45189ac5383a8c336)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Alexander Kanavin
fb5c3e65fc libxtst: update 1.2.3 -> 1.2.4
(From OE-Core rev: 53040aa775b63a33aa1b15d6bf44e22c05d9a02a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Alexander Kanavin
47e54e2dfd libxshmfence: update 1.3 -> 1.3.1
(From OE-Core rev: 05841d0ba84587bc428acf0953e14c392ace9b85)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Alexander Kanavin
4e34b94640 libxrender: update 0.9.10 -> 0.9.11
(From OE-Core rev: 4e54592db2516f7183c94cd8c7d118fe98a87b0e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Alexander Kanavin
7dee87dc74 libxmu: update 1.1.3 -> 1.1.4
Drop ipv6 option as no longer supported.

License-Update: additional files, path corrections

(From OE-Core rev: 9723d1b7a118c5366d18c5fc2190cf21f2ee28ea)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Alexander Kanavin
221d645f81 libxkbfile: update 1.1.0 -> 1.1.1
(From OE-Core rev: 576c339871db5a3ecf33e418735cddbdaa3e165e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Alexander Kanavin
a3c26bcc61 libxinerama: update 1.1.4 -> 1.1.5
(From OE-Core rev: d4f429dd32668a22a2d63f4e69d4a34d9e8cdaf8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Alexander Kanavin
05d6ea7ba9 libpciaccess: update 0.16 -> 0.17
(From OE-Core rev: 64b04dff63929a1fb979f03b47df846f67800751)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Alexander Kanavin
cf3fbfe04e pango: replace a recipe fix with an upstream submitted patch
(From OE-Core rev: f444e01e0230904510f50d1b093d75253faf1bca)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Alexander Kanavin
48abeedd63 sanity.bbclass: do not check for presence of distutils
This will be removed in 3.12 and has been deprecated for a while.

If anything breaks because of its absence on the host, this would
expose the breakage so it can be fixed.

icu source specifically does not refer to distutils anywhere.

(From OE-Core rev: 8e3a5b0709384f2b455a82ac1e8e212686fe4456)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Alexander Kanavin
6c7cf08dbf vala: install vapigen-wrapper into /usr/bin/crosscripts and stage only that
Staging the whole /usr/bin is not correct, as it pulls in also
all the vala's cross binaries, which may be discovered by other recipes
and things will go wrong then.

(From OE-Core rev: 52629d9db0344146ff4734632b17bd731e247fd5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Ross Burton
c3ad780328 classes/testexport: move to classes-recipe
This class should be in classes-recipe as, like testimage, it is specific
to image recipes.

This also solves a regression where simply IMAGE_CLASSES += "testexport"
doesn't work if testimage isn't already in IMAGE_CLASSES. The testexport
class adds testimage to IMAGE_CLASSES, but by this point it's too late.
Now that the class can only be inherited via IMAGE_CLASSES, we can
simply inherit testimage directly.

(From OE-Core rev: 87fcee9fed915ff3af528b976d7d44737f9f1a95)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
33b4cd0c00 oeqa/selftest/wic: use skipIfNotArch instead of custom decorator
There's now a shared decorator for architecture skipping, so use that.

(From OE-Core rev: 1ce83c6b22e5835d8fe3f733f40207526c6771d4)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
d3ec3aa81f oeqa/selftest/wic: skip more tests on aarch64
test_rawcopy_plugin_qemu and test_wic_image_type are x86-specific
currently as the .wks uses x86-specific bootloaders.

This can be fixed, but that can come later.

(From OE-Core rev: 93525809a1ecb01ae7218558c0d6c1b0344606c5)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
45d9945c6a oeqa/selftest/runtime_test: only run the virgl tests on qemux86-64
These tests should be able to work on qemuarm64, but this is untested
and the runners will need configuration.

(From OE-Core rev: 09b9558e20e58b473154895b93cff16261c7f561)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
aa2016bcee oeqa/selftest/runqemu: don't hardcode qemux86-64
Don't hardcode qemux86-64. This has some complications: the
IMAGE_FSTYPES needs to be constructed to reflect what the machine can
do (only x86 machines can build ISO images), and several tests which need
a wic file are currently limited to qemux86-64.

(From OE-Core rev: a30680a869ff3be63d26468f6365751c56bbb006)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
31926bd1c1 oeqa/selftest/package: improve test_preserve_ownership
This test was failing very oddly in qemuarm64 runs. Rewriting the test
to be clearer and less fragile fixed it.

(From OE-Core rev: a26fc7c2119df12468b0a834de6fe67aa9c86085)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
8e72283f54 oeqa/selftest/package: generalise test_gdb_hardlink_debug()
When the trivial test binary, which just calls printf(), is compiled for
aarch64 with -O2 -D_FORTIFY=2 (as is the default configuration), gdb
resolves main() to the inlined printf() wrapper in stdio2.h instead of
main.c, so the test fails.

Presumably, this is due to debugging being unreliable with -O2. Solve
this problem by not caring where the main() breakpoint resolves to, just
check that it was resolved at all.

(From OE-Core rev: c51c12154851d04a81c8fbe190e712b3cd8dc941)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
92c1e7300f oeqa/selftest/overlayfs: overlayfs: skip x86-specific tests
For now, not all machines have a default wks file, so mark the tests
which need a wks as being specific to qemux86-64.

(From OE-Core rev: 152f1a8cdf698b71c956e9910911dcb141a1f5be)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
3cb2640ad5 oeqa/selftest/imagefeatures: set a .wks in test_fs_types
Set WKS_FILE to wictestdisk.wks, which is a very simple Wic file that
simply contains the root filesystem.  It may not actually boot but this
test doesn't care, and it does exercise the wic image construction on
all machines.

(From OE-Core rev: b66a94896193f8d8eeff43b66e9daeb9a74bfed9)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
12b4cbbfee oeqa/selftest/imagefeatures: don't use wic images in test_hypervisor_fmts
There's no need to build a wic image in this test as not all machines
(such as qemuarm64 currently) have wic images out of the box.

We can simply build ext4 images to work on more machines and save some time.

(From OE-Core rev: cdcf858d00eaf54814e23f550f83f3646bf83a24)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
d72b13cef1 oeqa/selftest/imagefeatures: remove hardcoded MACHINE in test_image_gen_debugfs
There's no need for this to be built for genericx86-64, we want to test
the current MACHINE.

(From OE-Core rev: b5a7ebe9627b28b207ccccba4f26c6d4a937d6a8)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
ba9d3e732a oeqa/selftest/efibootpartition: improve test
This test was overly complex with a setUp() method for a single test case,
which was marked as a class function for no good reason.

Generalise the test so that it has the possibility of working on more
machines in the future, add a decorator so that it only runs on
qemux86-64, and respect QEMU_USE_KVM to speed up test execution.

(From OE-Core rev: 2bc2ee171f976807053b7da44c1eedbb07c10949)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
4c790357bf oeqa/selftest/buildoptions: skip test_read_only_image on qemuarm64
qemuarm64 currently uses SERIAL_CONSOLES_CHECK but this is incompatible
with read-only rootfs under sysvinit.  Until qemuarm64 doesn't use this,
skip the test on qemuarm64.

(From OE-Core rev: c46be833efc5abea577251ef7e87ef90f08c4de3)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
be8de607a9 oeqa/core/decorator: add decorators to skip based on HOST_ARCH
There are already decorators to skip on the value of MACHINE, but for
flexibility it's better to skip based on the target architecture. This
means, for example, the ISO image tests could skip if the architecture
isn't x86.

(From OE-Core rev: 0c21ff0a92906b6b4820eb8beddf8762fe70653d)

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>
2022-11-11 13:43:40 +00:00
Ross Burton
5f0f366d1a oeqa/qemurunner: update exception class for QMP API changes
(From OE-Core rev: c1841ab1e7b4e078cea77001e83e733764bb65ea)

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>
2022-11-11 13:43:40 +00:00
Nathan Rossi
0f21df06a7 package: Fix handling of minidebuginfo with newer binutils
Newer versions of binutils (2.38+) have changed how the
"--only-keep-debug" of objcopy behaves when stripping non-debug sections
from an ELF.

  https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=68f543154e92ab0f5d6c569e0fa143f5e8bd2d80

This change causes associated sections to be correctly marked as NOBITS
with the section contents removed from the output. The side effect is
that this causes issues with objcopy's ability to perform symbol and
relocation stripping (-S/--strip-all) on the debug split ELF, such that
with some object files (e.g. kernel modules) objcopy fails to strip
symbols/relocations with an error like the following:

  .../.debug/nls_cp950.ko[.rodata]: file truncated

Because of this it is now problematic to generate minidebuginfo for
these types of ELF objects. However it is not typically useful to inject
minidebuginfo into these types of ELFs, and other distributions (e.g.
Fedora, referring to find-debuginfo.sh of debugedit) only insert
minidebuginfo into executables and shared libraries.

This change causes the minidebuginfo injection to only apply to EXEC/DYN
type ELFs, which limits the injection to executables and shared
libraires.

Additionally this change fixes the parsing of the sections from the
"readelf -W -S" output which was not accounting for the section index
column having leading spaces for single digit index values e.g. "[ 1]".

(From OE-Core rev: 2084cfcb3d15db3e02637f1cd63ab9c997f38a65)

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Nathan Rossi
60ab170228 glibc-locale: Do not INHIBIT_DEFAULT_DEPS
The glibc-locale recipe already partially depends on the base depends in
order to satisfy the do_package dependency on binutils. However since
commit d6ffd683bf6 NM has defaulted to gcc-nm, meaning do_package
depends on gcc (for minidebuginfo).

Whilst the do_package task could handle having the dependencies
explicitly defined (either in glibc-locale or in package.bbclass),
setting these would require some amount of conditional dependency
configuration (cross/crosssdk/etc.). Since both binutils and gcc are
already dependencies of virtual/libc (although compilerlibs is not),
having glibc-locale not inhibit the default depends simplifies the
handling of this situation for both glibc-locale and package.bbclass.

(From OE-Core rev: 8a40d0a6039e87a5b4b26a0e84dd797fe5c75cba)

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Nathan Rossi
44aeb523c8 oeqa/selftest/minidebuginfo: Create selftest for minidebuginfo
Add a new selftest to validate minidebuginfo support. This selftest
builds a complete target image with PACKAGE_MINIDEBUGINFO enabled. ELFs
included in the image are expected to have minidebuginfo included in the
resulting executables and shared libraries, the self test validates this
by unpacking the image and checking for the associated ".gnu_debugdata"
section on busybox and libc ELFs.

(From OE-Core rev: 5063a31ad05b75ec6ac12158fe759e81fcdb1585)

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Chase Qi
3a403ea562 libc-test: add libc testsuite for musl
libc-test is a collection of unit test to measure the correctness and
robustness of a C/POSIX standard library implementation. It is developed
as part of the musl project.

(From OE-Core rev: 4a94cdc7e841ebe583b0e6935fc50d233c8c310e)

Signed-off-by: Chase Qi <chase.qi@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Konrad Weihmann
f260b28802 create-spdx: default share_src for shared sources
if a source is using work-shared but isn't a kernel,
like for instance llvm-source from meta-clang, share_src was
previously undefined leading to a crash of the python code.
Default to WORKDIR and just override it in case the source being
a kernel recipe.
Additionally changes the variable names in the following, as
they imply that it's only about the kernel, which is not the case
in every case

(From OE-Core rev: 34fa68a0b07328c4ed4eef81f8cde80137a91f18)

Signed-off-by: Konrad Weihmann <kweihmann@witekio.com>
On-behalf-of: Avnet Embedded <AvnetEmbedded@avnet.eu>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Joshua Watt
0269174425 classes: create-spdx: Move to version specific class
In expectation of SPDX 3.0 support, move the create-spdx.bbclass ->
create-spdx-2.2.bbclass. The create-spdx.bbclass class still exists and
can be used if a user doesn't care about which specific version of SPDX
they get.

(From OE-Core rev: 9ec01fe3e59be66331c14ab5391ecb0b6f140c22)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-11 13:43:40 +00:00
Markus Volk
25e2663a87 libinput: upgrade 1.19.4 -> 1.21.0
libinput 1.21.0 is now available for download.
This version includes a new configuration option that, similarly to its touchpad counterpart, allows disabling the trackpoint while typing.
Compositors can take advantage of it thanks to four new APIs:
  libinput_device_config_dwtp_is_available, libinput_device_config_dwtp_set_enabled, libinput_device_config_dwtp_get_enabled and libinput_device_config_dwtp_get_default_enabled.
Those who use the flat acceleration profile on their touchpad are in luck, it has been improved in this version.
In addition to the changes already mentioned, new quirks have been added for multiple StarLabs laptops.
Last but not least, several bugs have been fixed, so make sure to update!
Thanks to everyone involved for making this new version possible ❤

Alexander Courtis (1):
      AttrLidSwitchReliability quirk default unreliable->reliable

José Expósito (7):
      evdev: check well-known keyboard keys on joystick/gamepad detection
      evdev: modernize variable declaration in evdev_device_is_joystick_or_gamepad
      coding style: allow C99 variable declaration
      test: disable hold gestures when are not required
      Remove "device-" file
      wheel: fix Lenovo Scrollpoint quirk
      libinput 1.21.0

Peter Hutterer (26):
      gitlab CI: fail the sanity check stage if the fork is not public
      util: auto-declare the element variable in ARRAY_FOR_EACH
      meson: fix a meson warning
      meson: replace a meson.source_root() with the explicit directory
      doc/user: add a page to troubleshoot right-click Clickpads
      tools/record: fix the indentation of the system: section
      evdev: strip the device name of format directives
      tools: allow limiting the axes in libinput analyse recording
      tools: don't print a carriage return if we're not on a tty
      tools/record: fix indentation for libinput events
      tools/analyze-recording: add --print-state to always print values
      tools/analyze-recording: improve the repeated-events line printing
      tools: add a libinput test tool as entry point for our test suites
      test: install libinput-test-utils as part of install-tests
      quirks: move the canvas quirk enum to the right order
      quirks: remove an unused quirk
      tablet: remove an always-true part of an if condition
      test: rename a test function to make it easier to select
      tablet: use a helper variable to make the code more readable
      tablet: require a minimum pressure before we process pressure events
      test: fix the lowres-only wheel event tests
      test: ensure we always have an axis event where we expect one
      test: use a ranged test instead of a duplicated one
      test: fix a typo
      meson.build: check gtk targets before building
      gitlab CI: bump to F35 and F36, as well as Ubuntu 21.10 and 22.04

Sean Rhodes (2):
      quirks: Add quirk for StarLite Mk IV
      Quirk all StarLabs trackpads

Tom Stellard (1):
      Update valgrind.h to a newer version

pudiva chip líquida (1):
      touchpad: new option dwtp (disable-while-trackpointing)

satrmb (1):
      filter-touchpad: normalize for dpi on the touchpad-specific flat profile

libinput 1.20.1 is now available for download.
This release fixes CVE-2022-1215, see #752.

When a device is detected by libinput, libinput logs several messages through log handlers set up by the callers.
These log handlers usually eventually result in a printf call. Logging happens with the privileges of the caller,
in the case of Xorg this may be root.

The device name ends up as part of the format string and a kernel device with printf-style format string placeholders
in the device name can enable an attacker to run malicious code. An exploit is possible through any device where the
attacker controls the device name, e.g. /dev/uinput or Bluetooth devices.

Peter Hutterer (2):
      evdev: strip the device name of format directives
      libinput 1.20.1

(From OE-Core rev: 1f1888cc8a35b98ccde472eb345c1e483eb6b6d1)

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>
2022-11-11 13:43:40 +00:00
Michael Opdenacker
40df2b19bd release-notes: use oe_git and yocto_git macros
As in the rest of the manuals; this is more future proof than using
hard coded URLs.

While doing this, also replacing https://git.yoctoproject.org/git/<repo>
links (used by mistake instead of https://git.yoctoproject.org/<repo>)
by :yocto_git:`/repo`.

(From yocto-docs rev: ac844062400a7bf4732ea6ee639a478b1b77b83e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 22:12:56 +00:00
Michael Opdenacker
51b6a55a80 ref-manual/variables.rst: expand PARALLEL_MAKE description
Explain that this variable apply not only to make, but also
to ninja, and to other build tools which support parallel jobs.

(From yocto-docs rev: d3fe2aba3948040a01b9068df5085453ad65309c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 22:12:56 +00:00
Michael Opdenacker
15a8edcead ref-manual/variables.rst: expand BB_NUMBER_THREADS description
Explain that reducing its value to reduce system load
is not sufficient if PARALLEL_MAKE is not reduced as well.

(From yocto-docs rev: f4986faa5576ec1c146e606220421a686c4a9b57)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 22:12:56 +00:00
Atanas Bunchev
e39e68053f qemu.rst: audio: reference to Command-Line options
The previous statement can cause confusion, because this is the
first time when the `audio` argument is mentioned.

(From yocto-docs rev: c8aa98a4b21d056ebf49b8ab43838989e9185c81)

Signed-off-by: Atanas Bunchev <atanas.bunchev@konsulko.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 22:12:56 +00:00
Quentin Schulz
f84f30253b docs: poky.yaml.in: remove pylint3 from Ubuntu/Debian host dependencies
It is not actually needed outside of the autobuilder and since the
package got renamed in Ubuntu 20.04 and later to pylint, it was giving
the users an incorrect command line to run and would fail all the time,
better remove it instead of trying to handle Debian/recent Ubuntu
differences in the documentation.

Moreover, the other supported host distributions didn't have pylint
listed as a dependency, proving that it's indeed not needed.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 9f255dc3c32a4c9b2185e6448bde3357fd5135b2)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 22:12:56 +00:00
Quentin Schulz
85d6e19591 docs: ref-manual: classes: add missing closing parenthesis
The closing parenthesis is missing in the sentence so let's add it.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 93bb2654905ad7f32082bb7acd3630ef390dc4b9)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 22:12:55 +00:00
Quentin Schulz
ea0286609a docs: ref-manual: classes: fix section name for github-releases
All other classes are suffixed with .bbclass so let's stay consistent
and add it to github-releases section too.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 461bc36839278e69a3d2511ca15fae80a6140d77)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 22:12:55 +00:00
Lee Chee Yang
a31e8e22a3 migration guides: add release notes for 4.0.5
(From yocto-docs rev: f464b17b8c2cd29d6c1a9417c3b9d0956323ab0e)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 22:12:55 +00:00
Mark Asselstine
361ae80a31 bitbake: data_smart: allow python snippets to include a dictionary
[YOCTO #14917]

Attempting to use a dictionary in a python code snippet for variable
assignment results in an error. For example attempting something such
as

  IDX = "green"
  VAL = "${@{ 'green': 1, 'blue': 2 }[d.getVar('IDX')]}"

produces the error

  expansion of VAL threw ExpansionError: Failure expanding variable
  VAL, expression was ${@{ 'green': 1, 'blue': 2 }[d.getVar('IDX')]}
  which triggered exception SyntaxError: '{' was never closed (Var
  <VAL>, line 1)

The existing __expand_python_regexp__, "\${@.+?}", will match the
first close curly bracket encountered, resulting in incomplete and
un-parsable code, and thus produce the error. We can correct this by
allowing a single depth of nested curly brackets in
__expand_python_regexp__ by using "\${@(?:{.*?}|.)+?}", which will
match up to and including the matching close curly bracket to the
open, '${@', curly bracket, even if there are one or more singly
nested curly brackets present. This change allows the usecase
described above to function.

This change can't be made on its own though. The old regex would, in
an obscure way, handle the case where a python snippet contained an
unexpandable variable. Since the unexpandable variable is in curly
brackets it would cause incomplete/un-parsable python code and thus
remain unparsed. So something like

  VAL = "${@d.getVar('foo') + ${unsetvar}}"

would remain unparsed as the close curly bracket in "${unsetvar}"
would match and terminate the snippet prematurely. This quirk resulted
in the proper handling of python snippets with unexpanded
variables. With the change to __expand_python_regexp__ the full
snippet will match and be parsed, but to match the old/correct
behavior we would not want to parse it until ${unsetvar} can be
expanded. To ensure the old/correct behavior for python snippets with
unexpanded variables remains in place we add a check for unexpanded
variables in the python snippets before running them.

This handling of unparsed variables brings two benefits. The first we
now have an explicit check visible to all for unexpanded variables
instead of a somewhat hidden behavior. The second is that if there are
multiple python snippets the old behavior would run the code for each
but a single snippet with unexpanded variables would mean all snippets
would remain unparsed, meaning more and repeated processing at a later
time.

For example:
  "${@2*2},${@d.getVar('foo') ${unsetvar}}"
old behavior would give:
  "${@2*2},${@d.getVar('foo') ${unsetvar}}"
new behavior will give:
  "4,${@d.getVar('foo') ${unsetvar}}"

The old behavior would calculate '2*2' but toss the result when the
second snippet would fail to parse resulting in future recalculations
(or fetching from cache), while the new behavior avoids this.

(Bitbake rev: 94e49b9b9e409c29eb04603b1305d96ebe661a4b)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:43:06 +00:00
Mark Asselstine
ac9ea453b3 bitbake: data: drop unused __expand_var_regexp__ and __expand_python_regexp__
First, commit 81efd77987f6decf256967fa16521a40c14d3518 created a copy
of __expand_var_regexp__ and __expand_python_regexp__ when creating
the initial version of data_smart.py. A while later commit
db1c998b31da06d7f3eb09fc6f59a1915b7b549e dropped all references to
these variables from data.py.

This leaves us today with two versions of these variables in the
global scope. However, only those defined in data_smart.py are being
used, in data_smart.py.

Unfortunately there was no indication in the commit log for commit
db1c998b31da indicating why the variables were left in place despite
the functions referencing them were being removed. Additionally
data.py imports data_smart, thus the versions of __expand_var_regexp__
and __expand_python_regexp__ defined in data_smart.py would be used by
all bitbake code, beyond, potentially, some code in data.py which we
know has no references to these variables.

To remove any potential confusion around these variables drop the old
definitions from data.py.

(Bitbake rev: 60f43d0428d43c981b44b6c8d125f77440f6c8f9)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:43:06 +00:00
Peter Kjellerstedt
7763bd0d2f pango: Make it build with ptest disabled
This avoids the following error:

  ERROR: pango-1.50.11-r0 do_package: QA Issue: pango: Files/directories
  were installed but not shipped in any package:
    /usr/libexec
    /usr/libexec/installed-tests
    /usr/libexec/installed-tests/pango
    /usr/libexec/installed-tests/pango/nofonts
    /usr/libexec/installed-tests/pango/nofonts/fonts.conf

Also use tabs for indentation of shell code.

(From OE-Core rev: d4bcd4050a6a9b6b1cb8e68b2053523cc0501814)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:31:35 +00:00
Alexander Kanavin
b29c66484a python3: correctly adjust include paths in sysconfigdata
This was replacing /usr/include regardless of whether it
was at the beginning of the full path (correct, when building target
python3), or in the middle of it (not correct, when building
native or nativesdk python).

Through various reasons we haven't been bitten by this until now,
but latest setuptools does expose the problem with for example
nativesdk-python3-cffi and nativesdk-python3-cryptography which both
fail without this fix.

I am not aware of anything using INCLDIRSTOMAKE, and it is harder
to adjust correctly due to the value being a list; if something
is using it, we can look at it specifically.

(From OE-Core rev: 4055dd6cc89af16b3723e38b63d4d81efb0e2286)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:29:49 +00:00
Ross Burton
88385340d3 linux-firmware: don't put the firmware into the sysroot
There's no need to have linux-firmware in the sysroot. The sysroot won't
ever be used anyway as nothing needs the firmware at build-time, but this
saves us building a ~900MB sysroot (~300MB sstate tarball).

(From OE-Core rev: 26ed998c4f201c5cacf330f52e51e416afbd300c)

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>
2022-11-09 15:43:52 +00:00
Nathan Rossi
c2033689fa oeqa/selftest/lic_checksum: Cleanup changes to emptytest include
Config written to the emptytest include file is invalid after the test
has cleaned up its temporary directories resulting in the emptytest
recipe potentially having invalid content when parsed by successive
bitbake runs.

This presents the following error in tests after lic_checksum execution,
e.g. 'oe-selftest -r lic_checksum recipetool'

  ERROR: .../emptytest.bb: Unable to get checksum for emptytest SRC_URI entry tmpn_nyosnq: file could not be found

Remove the recipe include content once the bitbake runs are completed in
each lic_checksum test case.

(From OE-Core rev: 087df767a64b271b503d714df3df6d8b3caad1c0)

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 15:43:52 +00:00
Ross Burton
36bff1aa4b stress-ng: improve makefile use
Set VERBOSE=1 so the compile logs are useful, perform the configure in
do_configure, and set bindir correctly.

(From OE-Core rev: 51fd68954dde1af9cfd5c8b38f5e8f5e852deaaf)

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>
2022-11-09 15:43:52 +00:00
Ross Burton
246051f11b populate_sdk_ext: use ConfigParser instead of SafeConfigParser
SafeConfigParser was renamed to ConfigParser in 3.2, and the
SafeConfigParser alias will be removed in 3.12.

(From OE-Core rev: 71b3e7f71727137b4b996cc4160c9cc1581824b8)

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>
2022-11-09 15:43:52 +00:00
Alexander Kanavin
b3d0e068f7 selftest: add a copy of previous mtd-utils version to meta-selftest
The latest version update eliminated all custom patches, and the selftest
expects them.

(From OE-Core rev: 95298a7f1ad29c0fc0d02772d646116709ac355f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:17 +00:00
Alexander Kanavin
c750c1f473 shaderc: upgrade 2022.2 -> 2022.3
(From OE-Core rev: ed5a7af5440488e8ac39e23f6d3e016c64d3e24c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:17 +00:00
Alexander Kanavin
73a59c6756 gstreamer1.0: upgrade 1.20.3 -> 1.20.4
(From OE-Core rev: 58e4825328dafd7f593d9eb42be5506408627a31)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:17 +00:00
Alexander Kanavin
445d2b967e vulkan: upgrade 1.3.224.1 -> 1.3.231.1
Update 0001-generate-glslang-pkg-config.patch to
omit libraries that are no longer present
(their functionality has been folded into glslang library
itself).

(From OE-Core rev: 354f1c4013f3b7ee78d6f4ed6209d6b549184057)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:17 +00:00
Alexander Kanavin
ae6305aa98 pixman: upgrade 0.40.0 -> 0.42.2
(From OE-Core rev: 4084839ce550a777c93a3481e7db442ddb4ae1f0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
f9e9707ed8 pango: upgrade 1.50.10 -> 1.50.11
(From OE-Core rev: a330e75f90841cd230180d8a9b37e58d7d69c495)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
11e54f1ff4 alsa-lib: upgrade 1.2.7.2 -> 1.2.8
(From OE-Core rev: 0bd006eb7b4652d0287ecae8614cdeee00a5a7b6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
8f04c0afe0 sudo: upgrade 1.9.11p3 -> 1.9.12
License-Update: copyright years

(From OE-Core rev: 4ad997fa4df80d543ac5dabe61f292f5819da302)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
73472f50b9 mpg123: upgrade 1.30.2 -> 1.31.1
(From OE-Core rev: 4203b5a31ae067d54980189570beb480dd33e94e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
4ec20a1769 netbase: upgrade 6.3 -> 6.4
License-Update: formatting, copyright years

(From OE-Core rev: 3a4d6dba72bfce498af89b48ee464584b57b7695)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
5f93750e99 harfbuzz: upgrade 5.3.0 -> 5.3.1
(From OE-Core rev: 7d40cf6836edc55878b1ec54f2d6818d0e1b8408)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
caaa26ef5f gdk-pixbuf: upgrade 2.42.9 -> 2.42.10
(From OE-Core rev: 01e1828f8e5bcb0ad88b89fe783c2973480695bb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
b962d9cc23 libsoup-2.4: upgrade 2.74.2 -> 2.74.3
(From OE-Core rev: 15ae164308a6a7331d5e009f9a1796449a4ce0c3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
8b27e354bb mmc-utils: upgrade to latest revision
(From OE-Core rev: 779d10a8302ce1f4550ca2114f5cec67c7bf5245)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
383a0dccdc diffoscope: upgrade 221 -> 224
(From OE-Core rev: f3d5dae25aca7bc63cdb33a6202cb35e9815274a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
eee8fdc3fe makedepend: upgrade 1.0.6 -> 1.0.7
(From OE-Core rev: 27050c43415f99ff47da5f011f3fe56ab4a99590)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
9954a1687f libidn2: upgrade 2.3.3 -> 2.3.4
(From OE-Core rev: f9a912b64713085b676b054ab3f8e826a3da4a0c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
278e2dda04 repo: upgrade 2.29.3 -> 2.29.5
(From OE-Core rev: 92f07050f87938a1ee94a3a388548d47f66bb7eb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
794fdb05c4 mtd-utils: upgrade 2.1.4 -> 2.1.5
(From OE-Core rev: a3289c988764e5b864873b4adc7656c101a5b9c0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
50dc127c9d libical: upgrade 3.0.15 -> 3.0.16
(From OE-Core rev: 77d4557d6f6a1405d03bb5dc7ca23d7ee78c2037)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
55e1e6dd08 libffi: upgrade 3.4.2 -> 3.4.4
License-Update: copyright years

(From OE-Core rev: 5b42ba98ef26a52bad8de1790b402938fec4a160)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
5f349fa8d8 python3-wheel: upgrade 0.37.1 -> 0.38.0
(From OE-Core rev: 0b9461cb486c3135d57876a5f68878b8d668d5e0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
eaf1d33a1b nghttp2: upgrade 1.49.0 -> 1.50.0
(From OE-Core rev: 6247e164bb92854c599ed9281f757c6fa55f59ba)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
a3143c2c12 taglib: upgrade 1.12 -> 1.13
(From OE-Core rev: 61931cf9f3ffbbf11008276117d18d1b06b1b760)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
7ad4719b51 python3-setuptools: upgrade 65.0.2 -> 65.5.0
(From OE-Core rev: 5dc5d7a8fc657ae34631ad6b48069fc5002d39b0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
8b92c48256 fontconfig: upgrade 2.14.0 -> 2.14.1
(From OE-Core rev: 5ce2ce7e3253ab3a79e0a8f8862565ba4d2e0194)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
98b871c9c7 python3-dtschema: upgrade 2022.8.3 -> 2022.9
(From OE-Core rev: a0cd4f04e858dcc643fa43215be578573e10c74a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
18e87916c6 strace: upgrade 5.19 -> 6.0
(From OE-Core rev: e5f2e1dc28c399a7ce88c0db685b00d07908afd9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
669cc26c4c xwayland: upgrade 22.1.3 -> 22.1.4
(From OE-Core rev: 553c080e0e30c8f6b69b4c5fae72903ee45ef6ae)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
781eeef584 python3-git: upgrade 3.1.28 -> 3.1.29
(From OE-Core rev: ded3f8082234f1c05f31769cd0e4353b78181a52)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
6a26592f99 linux-firmware: upgrade 20220913 -> 20221012
License-Update: copyright years, additional firmwares

(From OE-Core rev: 9f658c724b6635e5745f30b25601bcc51a004be4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
aa850086a4 libsoup: upgrade 3.2.0 -> 3.2.1
(From OE-Core rev: 74d2af5247c1df4953f2cd8a2d6fa0e3f8e79c4c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
b3219ef181 puzzles: upgrade to latest revision
(From OE-Core rev: 31531e0651a53fb81ddf12af87b7ffa63567c8f1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
1752cecae1 libunistring: upgrade 1.0 -> 1.1
(From OE-Core rev: 4615499f766fef1437e6cc61941524df0e454ef6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
610b65cd49 libbsd: upgrade 0.11.6 -> 0.11.7
License-Update: copyright years, removed redundant bsd 4-clause copy

(From OE-Core rev: 925b52b7e5d96641d2e260289ed790203b0030ec)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
60eee6a213 alsa-ucm-conf: upgrade 1.2.7.2 -> 1.2.8
(From OE-Core rev: 457bef9c63ad732df20e08640c4cc87928058786)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
8ef521c00d alsa-utils: upgrade 1.2.7 -> 1.2.8
(From OE-Core rev: a9804ef66be623e71de28309b8d8711d84b283bb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
b23531a8c2 ltp: upgrade 20220527 -> 20220930
Do not install open posix testsuite by hand, as it is now
handled upstream.

(From OE-Core rev: 2a7e6a4176038770829d060bb8ec5606dc016a87)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
5a86801bc2 python3-pip: upgrade 22.2.2 -> 22.3
License-Update: copyright years, formatting

(From OE-Core rev: 805f0471fff17a9d9a7aa91fda2e04d2ea6ba59f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
e6cf852350 ccache: upgrade 4.6.3 -> 4.7.2
License-Update: formatting, years, removed redundant copy of a boost license

(From OE-Core rev: ce538f8425757b9cdb7656b996af448304865a5b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:16 +00:00
Alexander Kanavin
b7336ce8cc ffmpeg: upgrade 5.1.1 -> 5.1.2
(From OE-Core rev: 32da2113e553a3f81f4dcc5834e3fe30f48e4709)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:15 +00:00
Alexander Kanavin
9c56ef554e lsof: upgrade 4.96.3 -> 4.96.4
(From OE-Core rev: f81b586b25bb91b380d68d11ae594f0e43690343)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:15 +00:00
Alexander Kanavin
8fbed5abd0 piglit: upgrade to latest revision
(From OE-Core rev: b8cb6323f49a6186b491eed3860838bd3099429e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:15 +00:00
Alexander Kanavin
da4c2739e4 man-pages: upgrade 5.13 -> 6.01
License-update: formatting

(From OE-Core rev: 65ff014c0e50619d92b894bd448882bbe6813e7a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08 22:47:15 +00:00
Benjamin Szőke
f2aff70b0e image_types: Add 7-Zip support in conversion types and commands
Add 7-Zip support in conversion types and commands. Default arguments of
7-Zip are compression level: 9, method: BZip2, extension: 7z. All these are
overridable from local.con for any other use case in user side. First goal
was to make an alternative zip conversion which can operate faster in
multi-thread systems (on many CPU cores), normal zip is just a single
thread compression. 7-Zip can do a compression in multi-thread processing,
so it is fine to use and speed up it and 7-Zip is supported also in many
platform to use.

(From OE-Core rev: 5931b2898b5fa964768c2abf9b5aa556859152b3)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:57:21 +00:00
Sergei Zhmylev
be91408e10 wic: make ext2/3/4 images reproducible
Ext2/3/4 FS contains not only mtime, but also ctime, atime and crtime.
Currently, all the files are being added into the rootfs image using
mkfs -d functionality which affects all the timestamps excluding mtime.
This patch ensures these timestamps inside the FS image equal to
the SOURCE_DATE_EPOCH if it is set.

(From OE-Core rev: 75d2dd0ea7790db2e8ee921784ca373abff2df65)

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:57:21 +00:00
Richard Purdie
2cdaa164e8 gcc-source: Ensure deploy_source_date_epoch sstate hash doesn't change
Currently if you switch machines, gcc-source do_deploy_source_date_epoch
would re-run as the stamps are tune specific. This hasn't caused much
of an issue until now, however if we fix the gcc recipes to reuse the
timestamp from this task, it does then create problems.

Copy code from allarch to ensure this task hash doesn't change between
machines/tunes.

(From OE-Core rev: 7e052d03464ba5e880a6c5a0e45ff2f467ef97e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:57:21 +00:00
Richard Purdie
82d294860b gcc-source: Drop gengtype manipulation
Whilst we patch gengtype.cc, we don't patch gengtype-lex.cc which would
be the file which would trigger regeneration of files.

The real bug that was likely the cause for this fix is probably SDE issues
with gcc shared workdir so this code can now be dropped.

(From OE-Core rev: 7ab82b5db2a737c2a0266280b15d343a27c0e1d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:57:21 +00:00
Richard Purdie
b964727e3a gcc-source: Fix gengtypes race
gcc renamed .c files to .cc files:

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=5c69acb32329d49e58c26fa41ae74229a52b9106

but we didn't fix this reference which meant we re-introduced a race around
gengtypes-lex.c. This lead to the race reappearing on the autobuilder. Fix
the naming to avoid the problem again.

[YOCTO #14953]

(From OE-Core rev: dbca40ed399405b663dbc3894e35596a2615f47d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:57:21 +00:00
Richard Purdie
4b80c6cdc0 gcc-shared-source: Fix source date epoch handling
The source date epoch for gcc isn't being transferred from the shared
workdir to the current WORKDIR for the specific recipe. This results in
the clamping code within sstate.bbclass using a value from 2011 which
changes the timestamps of many files. Since this happens part way
through the build, if pieces of gcc haven't built, or build/rebuild
later, we see things rebuilding when they should not and for generated
files, races are possible.

Fix this by copying the SDE from the shared workdir into the recipe
workdir.

[YOCTO #14953]

(From OE-Core rev: b996293b4c8ab7ff3ed852045d17290df29205df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:57:21 +00:00
Markus Volk
f494d47e65 gstreamer1.0-plugins-good: use libsoup-3.0 by default
- add a PACKAGECONFIG for soup3
- add PACKAGECONFIG_SOUP variable as it is used in webkitgtk and epiphany

(From OE-Core rev: 88d30848981db2cb7b1f2021ba07e40976cd789f)

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>
2022-11-07 21:57:21 +00:00
Michael Opdenacker
3a7dd1d368 manuals: add shortcut for Wikipedia links
(From yocto-docs rev: 47101c15cce156ab71683cac1c42ab94f43bdbee)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:31:32 +00:00
Paulo Neves
ceb169bd59 manuals: remove xterm requirements
According to [1] xterm is no longer required. Update the manual
accordingly. Related to Bug [YOCTO #14873].

[1] https://git.openembedded.org/openembedded-core/commit/?id=ddb825c87dd3e59d50841a993080a00d1459b1e7

(From yocto-docs rev: 2b5d3be5677efc19f6610309a938bca9563a54d1)

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:31:32 +00:00
Michael Opdenacker
1d2681fa72 manuals: document "mime-xdg" class and MIME_XDG_PACKAGES
(From yocto-docs rev: dabd2e95cf8ba8ed620bfd135deb6cfcf5d74b16)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:31:32 +00:00
Michael Opdenacker
0eae628216 ref-manual: terms.rst: add reference to new SBOM/SPDX section in dev manual
(From yocto-docs rev: 908c985b0a9ad98d1e6610c36a057501be1900e9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:31:32 +00:00
Michael Opdenacker
eb5ea073a8 ref-manual: classes.rst: expand documentation of create-spdx class
(From yocto-docs rev: 4c6a4121d7f63e56f2743216e8219f92ed5eb94e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:31:32 +00:00
Michael Opdenacker
a4dee23387 dev-manual: common-tasks.rst: add section about SPDX / SBOM generation
Also stop refering to the meta-spdxscanner class, no longer
relevant.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:31:32 +00:00
Michael Opdenacker
a6f7c43e92 ref-manual: variables.rst: document spdx-create class variables
(From yocto-docs rev: fd9ee9e1701a90c19d4957ec387e0ad17757aa06)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:31:32 +00:00
Michael Opdenacker
d16cdfae31 ref-manual: terms.rst: add SBOM and SPDX terms
(From yocto-docs rev: 2c53ac40e99a7957736276c5bf925b3f81544aa5)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:31:32 +00:00
Ulrich Ölmann
7f3e02fe74 dev-manual: common-tasks.rst: fix typos
(From yocto-docs rev: 680f48a94cec063779797c55a9bfe461289a98e3)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 21:31:32 +00:00
Etienne Cordonnier
e1b27258d5 mirrors.bbclass: use shallow tarball for nativesdk-binutils
This is useful e.g. when using meta-clang, which introduces a dependency to nativesdk-binutils when
populating the SDK, and then a full tarball of binutils is fetched additionally to a shallow tarball.

(From OE-Core rev: 18624a89cb09bab78f9200a7c63406c75845e3e3)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
Markus Volk
64f0faa394 epiphany: use libsoup-3.0 by default
(From OE-Core rev: c0e6014c61a794981cae918e72c7e5ee8c5b093e)

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>
2022-11-07 14:32:42 +00:00
Markus Volk
85649cafff webkitgtk: use libsoup-3.0 by default
Some Gnome projects have stopped  supporting libsoup-2.4. Therefore, switch to libsoup-3.0.
This would unblock the update of geary or gnome-online-accounts, which would otherwise
fail like this:

| Run-time dependency webkit2gtk-4.1 found: NO (tried pkgconfig)
|
| ../git/meson.build:70:0: ERROR: Dependency "webkit2gtk-4.1" not found, tried pkgconfig

(From OE-Core rev: a18f3cb38e0b897c5d60e4943478ad1b7f7e637c)

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>
2022-11-07 14:32:42 +00:00
Alex Kiernan
4e16d1c1f6 rust: update 1.64.0 -> 1.65.0
Release notes:
  https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html

(From OE-Core rev: fa8890188e8971a5707bae1504cb010b54ed3cae)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
Ross Burton
2a9bfc7dc8 insane: add codeload.github.com to src-uri-bad check
GitHub redirects /archive/ URLs to codeload.github.com, a dedicated
service for caching git archives:

$ wget -v https://github.com/unicode-org/icu/archive/refs/tags/release-72-1.zip
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/unicode-org/icu/zip/refs/tags/release-72-1 [following]

This is not the case for uploaded artifacts:

$ wget -v https://github.com/unicode-org/icu/releases/download/release-72-1/icu4c-72_1-data-bin-l.zip.asc
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/49244766/... [following]

Check for codeload.github.com URLs in the src-uri-bad check in case
the SRC_URI contains this final URL, and not the public URI.

(From OE-Core rev: a3b4575259fa304c596ed227ed60769b5f72f0a8)

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>
2022-11-07 14:32:42 +00:00
Diego Sueiro
7fa4796eb8 kernel.bbclass: Include randstruct seed assets in STAGING_KERNEL_BUILDDIR
When building with CONFIG_MODVERSIONS=y and CONFIG_RANDSTRUCT=y we need
to copy the build assets generated for the randstrutc seed to
STAGING_KERNEL_BUILDDIR, otherwise the out-of-tree modules build will
generate those assets which will result in a different
RANDSTRUCT_HASHED_SEED.

(From OE-Core rev: b36303158b2e0273ff415bdedefb379f680b30fc)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
Niko Mauno
db3731112d systemd: Consider PACKAGECONFIG in RRECOMMENDS
Since RRECOMMENDS declaration implictly induces building the recipes
that provide the runtime recommended packages, conditionalize adding
such values according to associated PACKAGECONFIG settings in order
to avoid redundant building.

(From OE-Core rev: a1989add927f7805378fe4d5afbde780b747ba77)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
Leon Anavi
8fc8f38399 python3-manifest.json: Fix re in core
Following the update from 3.10.6 to 3.11.0, the source code of
module re for regular expression operations has been moved to
Lib/re/. File python3-manifest.json has been modified according
to the new path.

According to the instructions the new python3-manifest.json
version was created by running bitbake python3 -c create_manifest.
Because of this it also updated other files and rdepends in it.

(From OE-Core rev: 830393e7aa0150566d871acd877908e08fa06964)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
Kai Kang
a266da2826 libuv: fixup SRC_URI
Add the trailing '.git' to git repo uri in SRC_URI then it could share
source code repo on premirror with grpc which uses libuv as a git
submodule with fixed revision.

(From OE-Core rev: cecdf616e7cf192cdc723a446be1d14c197c980d)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
Martin Jansa
4065f0d840 cargo.bbclass: avoid calling which ${RUSTC} with undefined ${RUSTC}
* RUSTC is normally defined in rust.bbclass, but rust-target-config doesn't
  inherit rust.bbclass and RUSTC is then undefined when calling 'which'
  in oe_cargo_build

* causes which help text ending in log.do_compile, e.g.:

| DEBUG: Executing shell function do_compile
| NOTE: Using rust targets from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/openssl-sys/0.9.77-r0/rust-targets/
| NOTE: cargo = /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/openssl-sys/0.9.77-r0/recipe-sysroot-native/usr/bin/cargo
| Usage: which [options] [--] COMMAND [...]
| Write the full path of COMMAND(s) to standard output.
|
|   --version, -[vV] Print version and exit successfully.
|   --help,          Print this help and exit successfully.
|   --skip-dot       Skip directories in PATH that start with a dot.
|   --skip-tilde     Skip directories in PATH that start with a tilde.
|   --show-dot       Don't expand a dot to current directory in output.
|   --show-tilde     Output a tilde for HOME directory for non-root.
|   --tty-only       Stop processing options on the right if not on tty.
|   --all, -a        Print all matches in PATH, not just the first
|   --read-alias, -i Read list of aliases from stdin.
|   --skip-alias     Ignore option --read-alias; don't read stdin.
|   --read-functions Read shell functions from stdin.
|   --skip-functions Ignore option --read-functions; don't read stdin.
|
| Recommended use is to write the output of (alias; declare -f) to standard
| input, so that which can show aliases and shell functions. See which(1) for
| examples.
|
| If the options --read-alias and/or --read-functions are specified then the
| output can be a full alias or function definition, optionally followed by
| the full path of each command used inside of those.
|
| Report bugs to <which-bugs@gnu.org>.
| NOTE: rustc =

(From OE-Core rev: 0068e82f02354729b953e622889f96ca52468d6c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
Richard Purdie
5a2b075fa9 bitbake.conf: Drop export of SOURCE_DATE_EPOCH_FALLBACK
Whilst SDE definitely needs to be exported, the fallback does not as
it is only used in our python code via the datastore.

It was introduced as an export in 9a1dde74e794362399193dc3f81c9685a83d0776
but even then it doesn't look like it needed to be, likely just a copy and
paste mistake.

Drop the export.

(From OE-Core rev: 74fb6539dd06acb0dd6a9af4809152975e8473e6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
zhengruoqin
9728e5b50c python3-pbr: upgrade 5.10.0 -> 5.11.0
Changelog:
=========
* Fix symbol identification in multiline message
* Replace deprecated readfp method with read\_file

(From OE-Core rev: b4a809ba1758d8fa8d370da49b978d8a82e36e40)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
zhengruoqin
6a723da281 python3-sphinx-rtd-theme: upgrade 1.0.0 -> 1.1.0
Changelog:
https://sphinx-rtd-theme.readthedocs.io/en/stable/changelog.html

(From OE-Core rev: 414abb4abe53f809ae7711fbf8d95afa6ad2989f)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
zhengruoqin
9bd76cdc20 python3-numpy: upgrade 1.23.3 -> 1.23.4
Changelog:
https://github.com/numpy/numpy/releases/tag/v1.23.4

(From OE-Core rev: a76036f29c845d357b37da7ebf8af7d447b96bec)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
zhengruoqin
f2baba898d python3-pyrsistent: upgrade 0.18.1 -> 0.19.2
Changelog:
==========
 * Fix #263, pmap regression in 0.19.1. Element access sometimes unreliable after insert.
 * Fix #159 (through PR #243). Pmap keys/values/items now behave more like the corresponding Python 3
   methods on dicts. Previously they returned a materialized PVector holding the items, now they return
   views instead. This is a slight backwards incompatibility compared to previous behaviour, hence stepping
   version to 0.19.
 * Fix #244, type for argument to PVector.delete missing.
 * Fix #249, rename perf test directory to avoid tripping up automatic discovery in more recent setuptools versions
 * Fix #247, performance bug when setting elements in maps and adding elements to sets
 * Fix #248, build pure Python wheels. This is used by some installers.
 * Fix #254, #258, support manylinux_2014_aarch64 wheels.

(From OE-Core rev: 87ecac07d9be3fc25b579344082048a9dbe76501)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
zhengruoqin
95f801de6f python3-jsonschema: upgrade 4.16.0 -> 4.17.0
Changelog:
===========

* The "check_schema" method on "jsonschema.protocols.Validator" instances
  now *enables* format validation by default when run. This can catch some
  additional invalid schemas (e.g. containing invalid regular expressions)
  where the issue is indeed uncovered by validating against the metaschema
  with format validation enabled as an assertion.
* The "jsonschema" CLI (along with "jsonschema.cli" the module) are now
  deprecated. Use "check-jsonschema" instead, which can be installed via
  "pip install check-jsonschema" and found
  'here <https://github.com/python-jsonschema/check-jsonschema>'_.
* Make "ErrorTree" have a more grammatically correct "repr".

(From OE-Core rev: b8cece422c789816a8140af519e13a977065c8d6)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
Wang Mingyu
aeda828e55 python3-hatchling upgrade: 1.11.0 -> 1.11.1
Changelog:
Fix default file selection behavior of the wheel target when there is a single top-level module

(From OE-Core rev: 645ee26f993bce4e5fca19cabcc40c575b85fbb5)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
46d594e355 python3-hatch-fancy-pypi-readme: upgrade 22.7.0 -> 22.8.0
Added
=========
 Added start-at in addition to start-after that preserves the string that is looked for.
 This often removes the need for adding markers because you can define
 the starting point using a heading that becomes part of the fragment.

(From OE-Core rev: ce2aa0bf0177533c4e168a942b7d0560e137f4c1)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
e9f25b761d python3-babel: upgrade 2.10.3 -> 2.11.0
License-Update:
"the author" changed to "the copyright holder nor the names of its contributors"
"THE AUTHOR" changed to "THE COPYRIGHT HOLDERS AND CONTRIBUTORS"

Changelog:
===========
Improvements
------------
* Support for hex escapes in JavaScript string literals :gh:'#877'
* Add support for formatting decimals in compact form :gh:'#909'
* Adapt parse_date to handle ISO dates in ASCII format :gh:'#842'
* Use 'ast' instead of 'eval' for Python string extraction :gh:'#915'
    * This also enables extraction from static f-strings.
      F-strings with expressions are silently ignored (but won't raise an error as they used to).

Infrastructure
---------------
* Tests: Use regular asserts and "pytest.raises()" :gh:'#875'
* Wheels are now built in GitHub Actions :gh:'#888'
* Small improvements to the CLDR downloader script :gh:'#894'
* Remove antiquated '__nonzero__' methods :gh:'#896'
* Remove superfluous '__unicode__' declarations :gh:'#905'
* Mark package compatible with Python 3.11 :gh:'#913'
* Quiesce pytest warnings :gh:'#916'

Bugfixes
-----------
* Use email.Message for pofile header parsing instead of the deprecated "cgi.parse_header" function. :gh:'#876'
* Remove determining time zone via systemsetup on macOS :gh:'#914'

Documentation
--------------
* Update Python versions in documentation :gh:'#898'
* Align BSD-3 license with OSI template :gh:'#912'

(From OE-Core rev: cac67727058415ecd491c85bcf1b62610849950f)

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>
2022-11-07 14:32:42 +00:00
Christoph Lauer
4f82bee54a populate_sdk_base: add zip options
Add SDK_ZIP_OPTIONS to remove symbolic link creation in zip archive or add options, e.g. for encryption of the zip archive.

(From OE-Core rev: 04b62f9459b401c276255f166d0738b6f902a576)

Signed-off-by: Christoph Lauer <christoph.lauer@xtronic.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
Tim Orling
de15d93a37 python3-typing-extensions: upgrade 4.3.0 -> 4.4.0
* Add SUMMARY, DESCRIPTION, BUGTRACKER and SECTION
* Update HOMEPAGE to agree with PyPi

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-440-october-6-2022

Release 4.4.0 (October 6, 2022)

* Add typing_extensions.Any a backport of python 3.11's Any class
  which is subclassable at runtime. (backport from python/cpython#31841,
  by Shantanu and Jelle Zijlstra). Patch by James Hilton-Balfe
  (@Gobot1234).
* Add initial support for TypeVarLike default parameter, PEP 696.
  Patch by Marc Mueller (@cdce8p).
* Runtime support for PEP 698, adding typing_extensions.override.
  Patch by Jelle Zijlstra.
* Add the infer_variance parameter to TypeVar, as specified in PEP
  695. Patch by Jelle Zijlstra.

License-Update: update copyright years; align with CPython LICENSE

See https://github.com/python/typing_extensions/pull/63

(From OE-Core rev: 15ca091ae01ae298c013e8cf82ee6af382259ed8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00
Wang Mingyu
41e47358f8 libxcrypt: upgrade 4.4.28 -> 4.4.30
Changelog:
==========
* configure: Restore ucontext api functionality check.
  In c3f01c72b303cbbb0cc8983120677edee2f3fa4b the use of the ucontext api
  in the main program was removed, and with it the configure check for it.
  However, the ucontext api is still used in the "explicit_bzero" test and
  thus this test still needs to be in place.
  See also: https://bugs.gentoo.org/838172
* configure: Restore the functionality of the '--disable-symvers' switch.
  Without this fix the build was simply broken, if symbol versioning was
  disabled for any reason, e.g. whether the compiler nor the linker
  supporting it, or if disabled on purpose by the user (issue #142).
* Fix variable name in crypt(3) for a datamember of 'struct crypt_data'
  (issue #153).
* Add glibc-on-loongarch-lp64 (Loongson LA464 / LA664) entry to
  libcrypt.minver.  This was added in GNU libc 2.36.

(From OE-Core rev: 7da5dd3b43718b876645602b1a23c739cbe8016d)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
1d4fdea68a socat: upgrade 1.7.4.3 -> 1.7.4.4
0001-configure.ac-check-getprotobynumber_r-with-AC_TRY_LI.patch
removed since it's included in 1.7.4.4

(From OE-Core rev: c00e9d66f0b8449ff1bf24546f232345eb6feebd)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
3883526667 orc: upgrade 0.4.32 -> 0.4.33
Changelog:
==========
  - Add support for aarch64 (64-bit ARM) architecture (not yet enabled on Windows though)
  - aarch32: Implement loadupdb instruction used e.g. for video pixel
    format packing/unpacking/conversions
  - neon: Fix unsigned only implementation of loadoffb, loadoffw and loadoffl
  - neon: Fix testsuite not passing on arm CPUs
  - orccodemem: Fix use-after-free in error paths
  - orccpu-powerpc: Fix build with kernel < 4.11
  - Add support for macOS Hardened Runtime
  - Enable only SSE and MMX backends for Windows
  - Fix ORC_RESTRICT definition for MSVC
  - pkgconfig: add -DORC_STATIC_COMPILATION flag to .pc file for static-only builds

(From OE-Core rev: 5cab550deb3f8c895e4c4041ddf4a99517b1cb1b)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
f42c3d428d inetutils: upgrade 2.3 -> 2.4
CVE-2022-39028.patch
removed since it's included in 2.4

Changelog:
==========
ifconfig
------------
Support specifying prefix netmask lengths in -A.
Hurd: tell pfinet translator interfaces to configure

ftp
----------
Avoid crash caused by signed integer overflow resulting in out-of-bounds buffer access.
Avoid crash caused by heap buffer overflow.
Avoid crash caused by NULL pointer dereference.
Avoid crash caused by infinite macro recursion.

telnetd
-----------
Avoid crash on 0xff 0xf7 (IAC EC) or 0xff 0xf8 (IAC EL).  CVE-2022-39028

telnet
-----------
Fix a buffer overflow problem.  CVE-2019-0053

tftp
-----------
Avoid crashing when given unexpected or invalid commands from tty.
Various bugs fixes, internal improvements and clean ups.

(From OE-Core rev: fec6ec179b97b768d32fbd782338450edc1a5344)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
109549e5b9 diffstat: upgrade 1.64 -> 1.65
License-Update: Copyright year updated to 2022

Changelog:
==========
 correct case where there is no unified-context.
 trim trailing '/' from pathnames, e.g., to handle "diff -ru FOO/ BAR/ | diffstat -K"
 update configure macros
 update config.guess, config.sub

(From OE-Core rev: 5be2ea0e0040eaa7749843a0e12b99ebf1a01fe3)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
d685ecf9ef mtools: upgrade 4.0.41 -> 4.0.42
disable-hardcoded-configs.patch
refreshed for new version.

Changelog:
==========
- Added postcmd attribute in drive description to allow to
  execute "device release" code automatically at end of
  command
- Code cleanup (unneeded functions, initializations, added
  comments to unobvious code, obsolete stuff in Makefile)
- signedness cleanup about directory entries

(From OE-Core rev: 7e7abbe7743f16e0524c9a1d6990fb304f648a56)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
6fd485e8d4 libedit: upgrade 20210910-3.1 -> 20221030-3.1
(From OE-Core rev: dfd6376ff01ad0e110a4f2f5d036193f9951e671)

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>
2022-11-07 14:32:42 +00:00
Wang Mingyu
21b4fba145 bind: upgrade 9.18.7 -> 9.18.8
Changelog:
https://gitlab.isc.org/isc-projects/bind9/-/blob/v9_18_8/CHANGES

(From OE-Core rev: 1d87d2652f7f6640dda85e037c580c83f99a8ba8)

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>
2022-11-07 14:32:42 +00:00
Leon Anavi
d23d41bc25 get_module_deps3.py: Check attribute '__file__'
Check if the module object has attribute '__file__' to fix and
avoid errors like:

AttributeError: module '_abc' has no attribute '__file__'. Did you mean: '__name__'?

(From OE-Core rev: 8acce12c1a4cf37ac312c92d62a6ae93a349dddf)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:41 +00:00
Qiu, Zheng
482c493cf6 valgrind: update to 3.20.0
Changes in this update includes:
* The option "--vgdb-stop-at=event1,event2,..." accepts the new value
  abexit. This indicates to invoke gdbserver when your program exits
  abnormally (i.e. with a non zero exit code).
* Fix Rust v0 name demangling.
* The Linux rseq syscall is now implemented as (silently) returning
  ENOSYS.
* Add FreeBSD syscall wrappers for __specialfd and __realpathat.
* Remove FreeBSD dependencies on COMPAT10, which fixes compatibility
  with HardenedBSD
* The option --enable-debuginfod=<no|yes> [default: yes] has been added
  on Linux.
* More DWARF5 support as generated by clang14.

Drop the patch 0001-Fix-drd-tests-shared_timed_mutex.cpp.patch which was
merged upstream.

ptest result:
System   Pass  Fail  Skip
x86-64   717   0     20

(From OE-Core rev: 51e3d2ecef6a031105c04eb730580c17411eaf46)

Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:47 +00:00
Pablo Saavedra Rodi?o
a193d691de weston: update 10.0.2 -> 11.0.0
Highlights for this release:

- Continued work on color management infrastructure:
  In Weston 11, if you enable the tentative, experimental and WIP color
  management option, Weston will not only blend in linear light, but
  you can also set up a monitor ICC profile and Weston will do some
  kind of color mapping from sRGB to that profile. Furthermore, you can
  configure a monitor into HDR mode and deliver HDR characteristics from
  weston.ini to the monitor, but Weston will *not* produce proper HDR
  content yet, meaning the display is incorrect.
- Various RDP improvements.
- Performance improvements in the DRM backend.
- Support for the wp_single_pixel_buffer_v1 protocol.
- weston_buffer refactoring.
- Groundwork for running multiple backends at the same time (e.g. KMS + RDP)
  and for multi-GPU support in the DRM backend. This is not supported
  yet, but may be in a future release.

Breaking changes for users:

- The cms-static and cms-colord plugins are now deprecated.
- A number of features have been removed from desktop-shell: multiple
  workspaces, zoom, exposay.
- wl_shell support has been removed (superseded by xdg-shell).
- The fbdev backend has been removed (superseded by KMS).
- weston-launch and launcher-direct have been removed (superseded by libseat).
- The weston-info and weston-gears clients have been removed (weston-info is
  superseded by wayland-info).
- The KMS max-bpc property is now set by default. If you experience black
  screens with (faulty) monitors, try lowering it in weston.ini.
- Weston will now abort when running out of memory. Weston is not suitable
  for memory constrained environments.

(From OE-Core rev: eb00d50e5da97a726eb6290317a3ef7d8e1b90a3)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:47 +00:00
Richard Purdie
9a478d8eee lttng-modules: upgrade 2.13.5 -> 2.13.7
(From OE-Core rev: 1243d6afc075e3c89ca69af214e70c0d159cb832)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:47 +00:00
Richard Purdie
f64890e1fc patchelf: upgrade 0.15.0 -> 0.16.1
(From OE-Core rev: 4fed5eee37a25f9b06e91f2bbf5db2fcdf01df8c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:47 +00:00
Martin Jansa
99350f44b2 cargo-update-recipe-crates: small improvements
* use 4 spaces
* avoid trailing space
* add CARGO_LOCK_SRC_DIR to allow searching outside ${S}
* use BPN in output filename
* First I've used CARGO_LOCK_SRC_DIR as relative to ${S}, because that's what CARGO_SRC_DIR
  in cargo.bbclass is using:
  meta/classes-recipe/cargo.bbclass:CARGO_SRC_DIR ??= ""
  meta/classes-recipe/cargo.bbclass:MANIFEST_PATH ??= "${S}/${CARGO_SRC_DIR}/Cargo.toml"

  but change to absolute path (defaulting to ${S}) as requested by Alex:
  11:44 < kanavin> JaMa, would prefer CARGO_LOCK_SRC_DIR ??= "${S}"
  11:46 < kanavin> otherwise looks good

* I've resolved my usecase for CARGO_LOCK_SRC_DIR by changing
  S back to ${WORKDIR}/git and using CARGO_SRC_DIR to select
  the right subdirectory to be built, because the Cargo.toml
  in this subdirectory was also referencing other subdirectories
  with relative path:
  88b147506d/token/cli/Cargo.toml (L30)
  so including all Cargo.lock files in whole ${WORKDIR}/git
  seems like reasonable approach

(From OE-Core rev: 7636a2b8080521ed2ad54b0edce47a8742a12d58)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:47 +00:00
Tim Orling
5c31bd2cff python3-sphinx: upgrade 5.2.3 -> 5.3.0
https://www.sphinx-doc.org/en/master/changes.html#release-5-3-0-released-oct-16-2022

Release 5.3.0 (released Oct 16, 2022)

* #10759: LaTeX: add latex_table_style and support the 'booktabs',
	  'borderless', and 'colorrows' styles. (thanks to Stefan
          Wiehler for initial pull requests #6666, #6671)

* #10840: One can cross-reference including an option value like
	  `--module=foobar`, `--module[=foobar]` or `--module foobar`.
          Patch by Martin Liska.

* #10881: autosectionlabel: Record the generated section label to the
	  debug log.

* #10268: Correctly URI-escape image filenames.

* #10887: domains: Allow sections in all the content of all object
	  description directives (e.g. py:function). Patch by Adam
          Turner

(From OE-Core rev: 35d65248c2a46f4966ded2e95e530f25a2869ce9)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:47 +00:00
Tim Orling
9d70cb39fb python3-zipp: upgrade 3.9.0 -> 3.10.0
https://github.com/jaraco/zipp/blob/main/CHANGES.rst#v3100

v3.10.0

* zipp is now a package.

https://github.com/jaraco/zipp/blob/main/CHANGES.rst#v391

v3.9.1

* Removed 'print' expression in test_pickle.
* bpo-43651: Apply io.text_encoding on Python 3.10 and later.

(From OE-Core rev: c28d3f1ccdc074805cf0d9e673bfbe999f8fcf71)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:47 +00:00
Tim Orling
9e108095c4 python3-pytz: upgrade 2022.4 -> 2022.6
https://launchpad.net/pytz/+announcement/30743

pytz 2022.6, containing the 2022f IANA database, has been released.
There are no code changes.

https://launchpad.net/pytz/+announcement/30736

pytz 2022.5 has been released containing the IANA 2022e database
release. There are no code changes.

(From OE-Core rev: b78ce30f0fcd5702f79a14bbc0c33f6492d81ecd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
57522528c0 python3-more-itertools: upgrade 8.14.0 -> 9.0.0
https://github.com/more-itertools/more-itertools/blob/master/docs/versions.rst#900

9.0.0

* Potentially breaking changes
  - `grouper` no longer accepts an integer as its first
    argument. Previously this raised a DeprecationWarning.
  - `collate` has been removed. Use the built-in
    `heapq.merge` instead.
  - `windowed` now yields nothing when its iterable is
     empty.

* This library now advertises support for Python 3.7+.

* New functions
  - `constrained_batches`
  - `batched` (from the Python itertools docs)
  - `polynomial_from_roots` (from the Python itertools
     docs)
  -`sieve` (from the Python itertools docs)

* Other changes
  - Some documentation issues were fixed (thanks to nanouasyn)

(From OE-Core rev: f31ea2784428114acae33522a80208aa35d133bc)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
5edbb3a525 python3-hypothesis: upgrade 6.56.1 -> 6.56.4
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-56-4

6.56.4 - 2022-10-28

* This patch updates some docs, and depends on exceptiongroup 1.0.0 final
  to avoid a bug in the previous version.

6.56.3 - 2022-10-17

* This patch teaches text() to rewrite a few more filter predicates (issue
  #3134). You’re unlikely to notice any change.

6.56.2 - 2022-10-10

* This patch updates our vendored list of top-level domains, which is used
  by the provisional domains() strategy, and fixes some incorrect examples
  in the docs for mutually_broadcastable_shapes().

(From OE-Core rev: 1071b68375819d9faa607ae1179720500157d932)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
7254fe39ca python3-pytest-subtests: upgrade 0.8.0 -> 0.9.0
https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst#090-2022-10-28

0.9.0 (2022-10-28)

* Python 3.11 is officially supported.
* Dropped support for Python 3.6.

(From OE-Core rev: 30f77f222f4929a7bf1eac34d4b3912167db4316)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
cd17a8ac97 python3-pytest: upgrade 7.1.3 -> 7.2.0
https://docs.pytest.org/en/stable/changelog.html#pytest-7-2-0-2022-10-23

Excerpt from upstream release notes:

Deprecations

* #10012: Update pytest.PytestUnhandledCoroutineWarning to a
	  deprecation; it will raise an error in pytest 8.

* #10396: pytest no longer depends on the py library. pytest provides
	  a vendored copy of py.error and py.path modules but will use
          the py library if it is installed. If you need other py.* modules,
          continue to install the deprecated py library separately, otherwise it
          can usually be removed as a dependency.

* #4562: Deprecate configuring hook specs/impls using
	 attributes/marks.

         Instead use pytest.hookimpl() and pytest.hookspec(). For more
         details, see the docs.

* #9886: The functionality for running tests written for nose has been
	 officially deprecated.

        This includes:

        Plain setup and teardown functions and methods: this might catch
        users by surprise, as setup() and teardown() are not pytest idioms, but
        part of the nose support.

        Setup/teardown using the @with_setup decorator.

        For more details, consult the deprecation docs.

(From OE-Core rev: 8ae3b896b0e1a77bcbd5b98b4b983e4f34746a94)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
a329369174 python3-psutil: upgrade 5.9.2 -> 5.9.3
https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#593

2022-10-18

Enhancements

* 2040, [macOS]: provide wheels for arm64 architecture. (patch by
  Matthieu Darbois)

Bug fixes

* 2116, [macOS], [critical]: `psutil.net_connections`_ fails with
  RuntimeError.
* 2135, [macOS]: Process.environ() may contain garbage data. Fix
  out-of-bounds read around sysctl_procargs. (patch by Bernhard
  Urban-Forster)
* 2138, [Linux], [critical]: can't compile psutil on Android due to
  undefined ethtool_cmd_speed symbol.
* 2142, [POSIX]: net_if_stats() 's flags on Python 2 returned unicode
  instead of str. (patch by Matthieu Darbois)
* 2147, [macOS] Fix disk usage report on macOS 12+. (patch by Matthieu
  Darbois)
* 2150, [Linux] Process.threads() may raise NoSuchProcess. Fix race
  condition. (patch by Daniel Li)
* 2153, [macOS] Fix race condition in
  test_posix.TestProcess.test_cmdline. (patch by Matthieu Darbois)

(From OE-Core rev: 893fc6a99f1ad3417fec43eb9b7fdb641e7d1e6d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
716981822b python3-cryptography{-vectors}: 38.0.1 -> 38.0.3
38.0.3 - 2022-11-01

* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
  3.0.7, which resolves CVE-2022-3602 and CVE-2022-3786.

38.0.2 - 2022-10-11 (YANKED)

Attention!

This release was subsequently yanked from PyPI due to a regression in
OpenSSL.

* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
  3.0.6.

https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3803---2022-11-01

(From OE-Core rev: 3c0c03312724de85e3209e6e5a5aa20c094eae45)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Tim Orling
74063b89c2 python3-bcrypt: upgrade 4.0.0 -> 4.0.1
* Refresh python3-bcrypt-crates.inc

Upstream release notes[1]:

* We now build PyPy manylinux wheels.
* Fixed a bug where passing an invalid salt to checkpw could result in
  a pyo3_runtime.PanicException. It now correctly raises a ValueError.

[1] https://github.com/pyca/bcrypt/#401

(From OE-Core rev: 509a684b748af92e0b657433da85550de72ecbe0)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Jon Mason
c63da33605 linux-yocto-dev: add qemuarmv5
qemuarmv5 passes testimage on with the linux-yocto-dev kernel.  Add it
to the compatible machines list for that recipe.

(From OE-Core rev: e1587fbac4d3ee8092d5e858f1b423faa512c559)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Marek Vasut
dd7f8502ac bluez5: Point hciattach bcm43xx firmware search path to /lib/firmware
Currently the hciattach bcm43xx firmware loader looks up the firmware
blob in /etc/firmware . Change this to /lib/firmware instead, so that
the path is consistent with Linux kernel which also looks up firmware
for the WiFi part in /lib/firmware .

(From OE-Core rev: 72b3b79ad8b980e8dd9470d16b72c2c70072bbc0)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Alexander Kanavin
c6d8d49167 rust: submit a rewritten version of crossbeam_atomic.patch upstream
(From OE-Core rev: 4bbfd7427092063dd612d2ca9e466cb819f5a3e3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Sakib Sajal
caff6de42b go: update 1.19.2 -> 1.19.3
(From OE-Core rev: fd33d169a5febb37eac03312c4014e35d29d06df)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-03 07:46:46 +00:00
Jose Quaresma
cd2f92ceea archiver: avoid using machine variable as it breaks multiconfig
STAGING_KERNEL_DIR uses the MACHINE name so it breaks the multiconfig
and in this cases it will run the shared recipes twice, one for each
machine.

STAGING_KERNEL_DIR it's been introduced in commit 5487dee2e1

(From OE-Core rev: 6050d1f74c02495490d982ead2993b6b3c9cc04a)

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>
2022-11-02 11:04:32 +00:00
Jose Quaresma
b5baa7dc8b oeqa/selftest/archiver: Add multiconfig test for shared recipes
Test that the shared recipes in original mode with diff enabled works in multiconfig,
otherwise it will not build when using the same TMP dir.

The test can be run with:

oe-selftest -r archiver.Archiver.test_archiver_multiconfig_shared_unpack_and_patch

| oe-selftest - INFO - test_archiver_multiconfig_shared_unpack_and_patch (archiver.Archiver)
| oe-selftest - INFO -  ... ok
| oe-selftest - INFO - ----------------------------------------------------------------------
| oe-selftest - INFO - Ran 1 test in 52.948s
| oe-selftest - INFO - OK
| oe-selftest - INFO - RESULTS:
| oe-selftest - INFO - RESULTS - archiver.Archiver.test_archiver_multiconfig_shared_unpack_and_patch: PASSED (49.98s)
| oe-selftest - INFO - SUMMARY:
| oe-selftest - INFO - oe-selftest () - Ran 1 test in 52.948s
| oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

(From OE-Core rev: 0059a5c9c0116dcc24d03a946703c0cd2ee23d16)

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>
2022-11-02 11:04:32 +00:00
Yan Xinkuan
b0c0783e31 bc: Add ptest.
Add ptest for OSS 'bc' by using 'bc' in the system to do calculation jobs according to the .b files from the source file.

Test example as below:
......
.00673400673400673400
“PASS: bc/div.b”
99836408603283573660347145562829683495827909199408566065153345558783\
9427595471.89114392327665123852
“PASS: bc/exp.b”
length(b)= 1406
“PASS: bc/fact.b”
......

If bc runs the .b files and does not crash, it would 'PASS', otherwise 'FAIL'.

Tested in qemux86-64, with kvm enabled, test cost 12 secs, so it should be a fast test.

Thanks to Ross Burton and Alexander Kanavin for the professional guidance.

(From OE-Core rev: 98b058a039ae8a49437c306f684f919c93df55fd)

Signed-off-by: Yan Xinkuan <yanxk.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-02 09:21:29 +00:00
Alexander Kanavin
e33afcd0dc rust-common.bbclass: use built-in rust targets for -native builds
Rust targets have the form of 'arch-unknown-linux-gnu' while
oe's native targets are 'arch-linux-gnu', e.g. omit the vendor.

The effect this has on rust-native builds is that rust first builds
itself as stage0 for arch-unknown-linux-gnu, then builds itself
again for arch-unknown-linux-gnu, then finally uses the compiler
from second step to 'cross-compile' a compiler for 'arch-linux-gnu'.

This last step is really not necessary, and we could save 4 minutes
out of 12 if it is eliminated. Which is what this patch does
by setting the target directly to 'arch-unknown-linux-gnu'; rust's
build system then shortcuts the build process after the second step.

Given a working rust-native will be needed as early as possible in a
typical yocto build (e.g. when in a not too distant future making a
useful kernel will not be possible without rust), producing it faster
is important.

(From OE-Core rev: a918ea5645d8a67cedaf3ecf6c382520bbcad85b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-02 09:21:29 +00:00
Ross Burton
3565ea860a oeqa/runtime/dnf: rewrite test_dnf_installroot_usrmerge
This test doesn't get exercised on the autobuilder and so it was broken:
specifically some of the ln commands silently fail and the chroot isn't
usable.

Rewrite the test case to correctly construct a chroot so the test can
pass.

(From OE-Core rev: bb6ebb9956a42df3ed8681aec9aedf340b12f934)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-02 09:21:29 +00:00
Ross Burton
4a264f3695 oeqa/target/ssh: add ignore_status argument to run()
The underlying _run() method has an ignore_status argument and can
either return the exit code or raise an exception if it is non-zero.

Add the same argument to the run() method so that test cases can change
this value. It currently defaults to True as that is the existing
behaviour, but a follow-up patch will change this to False as test cases
should fail on errors unless told otherwise.

(From OE-Core rev: e244228730178d15a066a1428956de328cc09671)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-02 09:21:29 +00:00
Tim Orling
0a97cbba10 python3-mako: upgrade 1.2.2 -> 1.2.3
Released: Thu Sep 22 2022
* bug

 - [bug] [lexer]

   * Fixed issue in lexer in the same category as that of #366 where the regexp
     used to match an end tag didn’t correctly organize for matching characters
     surrounded by whitespace, leading to high memory / interpreter hang if a
     closing tag incorrectly had a large amount of unterminated space in it.
     Credit to Sebastian Chnelik for locating the issue.

    As Mako templates inherently render and directly invoke arbitrary Python
    code from the template source, it is never appropriate to create templates
    that contain untrusted input.

    References: #367

[1] https://docs.makotemplates.org/en/latest/changelog.html#change-1.2.3
[2] https://github.com/sqlalchemy/mako/issues/366
[3] https://github.com/sqlalchemy/mako/issues/367

(From OE-Core rev: 49ad6f031458e1f48f24547dc88e41abc4ec41a6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-02 09:21:29 +00:00
Ed Tanous
a2a6fb25e6 openssl: Upgrade 3.0.5 -> 3.0.7
OpenSSL 3.0.5 includes a HIGH level security vulnerability [1].

Upgrade the recipe to point to 3.0.7.

CVE-2022-3358 is reported fixed in 3.0.6, so drop the patch for that as
well.

[1] https://www.openssl.org/news/vulnerabilities.html

Fixes CVE-2022-3786 and CVE-2022-3602: X.509 Email Address Buffer Overflows
https://www.openssl.org/blog/blog/2022/11/01/email-address-overflows/

(From OE-Core rev: a69ea1f7db96ec8b853573bd581438edd42ad6e0)

Signed-off-by: Ed Tanous <edtanous@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-02 09:21:28 +00:00
Peter Bergin
a501f13c50 gptfdisk: remove warning message from target system
A recent change in libuuid made warning when running
sgdisk. Backport patch from upstream to silent warning.

The warning:
    "Warning! Unable to generate a proper UUID! Creating an improper one as a last
     resort! Windows 7 may crash if you save this partition table!"

(From OE-Core rev: ce6491b900e509a776eddaf6bd57251628393fa3)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
f5320f05bd go: update 1.19 -> 1.19.2
Drop stack-protector.patch as issue fixed upstream.

(From OE-Core rev: 1b79d63a0703deb341f7693bd7b7c080a553b876)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Ross Burton
11ad2553f3 expat: upgrade to 2.5.0
Includes a fix for CVE-2022-43680.

(From OE-Core rev: a257a674272dc638f09167e9b9202adfb477ef1e)

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>
2022-11-01 17:34:59 +00:00
Tim Orling
6851217e31 vim: upgrade 9.0.0614 -> 9.0.0820
Includes fixes for CVE-2022-3705
https://nvd.nist.gov/vuln/detail/CVE-2022-3705

For a short list of important changes, see:
https://www.arp242.net/vimlog/

(From OE-Core rev: f6d917bd0f8810b5ed8d403ad25d59cda2fc9574)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
8506c36e3a libffi: submit patch upstream
(From OE-Core rev: 9555a7dc768c32a009333232e25cef041054b7f7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
7084d55748 go: submit patch upstream
(From OE-Core rev: 40d24b0b5c7a405bf9fd7ec7fa57ec61a6af3d01)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
d04fb41efc ovmf: correct patches status
(From OE-Core rev: 0f758719ad26fd7b23bbf21a37375f8de7068f0e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
a952f1046a argp-standalone: replace with a maintained fork
Remove two patches as issues fixed upstream,
submit the third one.

License-Update: argp.h is an import from glibc and
has been refreshed to the latest version. It's still
lgpl 2.1.

(From OE-Core rev: 6ecd02e4aff8222b55cd94d5214ccd76c96b7387)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
295b28ceec kea: submit patch upstream
(From OE-Core rev: e8f0e3a01262ecb83185ec5e84e6f359d7d64d1d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
3b8477afb2 cmake: drop qt4 patches
Qt4 has been dead for a very long time now.

(From OE-Core rev: 1552df5351e629f3404540e7f7c94c2478555191)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
46c0699501 lttng-tools: submit determinism.patch upstream
(From OE-Core rev: bec62455d900a0d3e18a62ea7053c214bc545fb6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
2ff37912ef tcl: correct upstream version check
Sourceforge does not report the latest version reliably.

(From OE-Core rev: 8a929c75d924393c1ebfad3f10a6ebefdf668be1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
a34778471f tcl: correct patch status
(From OE-Core rev: 9f37e5b83db662bba92605c8741516108aad3c5e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
8cc5090216 groff: submit patches upstream
(From OE-Core rev: 4269cfcd6c29be05964010d0406584b80822d1d1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:59 +00:00
Alexander Kanavin
d892f4f385 python3-cryptography: convert to cargo-update-recipe-crates class
This allows semi-automated updates to the list of crates, which
is far too awkward to maintain by hand, particularly on version updates.

(From OE-Core rev: 1071e2fdd23271bf5df60712263838fe70276c67)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:58 +00:00
Alexander Kanavin
756e28d6c7 python3-bcrypt: convert to use cargo-update-recipe-crates class.
The component has been reimplemented in rust, and comes
with a large list of dependencies in Cargo.toml/Cargo.lock.

Rather than list them by hand, use a file generated with
cargo-update-recipe-crates class.

(From OE-Core rev: f1ebc71d9c35ba3ff58851efe2fae4e193f481f1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:58 +00:00
Alexander Kanavin
6a5b4d8428 cargo-update-recipe-crates.bbclass: add a class to generate SRC_URI crate lists from Cargo.lock
For better or worse, more and more rust components are appearing that do
not include their dependencies in tarballs (or git trees), and rely on cargo
to fetch them. On the other hand, bitbake does not use cargo (and quite possible
won't ever be able to), and relies on having each item explicitly listed in SRC_URI
with a crate:// prefix. This however creates a problem of both making such lists in
the first place and updating them when a recipe is updated to a newer version.

So this class can be used to perform such updates by implementing a task that does it;
the next commit shows the outcome for python3-bcrypt (which has been tested to work
and produce a successful build).

Note: the python script relies on tomllib library, which appears in Python 3.11 and
does not exist in earlier versions - I've tested this by first updating python to 3.11-rc2
in oe-core.

(From OE-Core rev: 9eee3631124d64574b18a70a2fc42f446d58bfd2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:58 +00:00
Robert Joslyn
04eee95515 curl: Update 7.85.0 to 7.86.0
Feature and security update. Fixes the following CVEs:

 - CVE-2022-32221
 - CVE-2022-35260
 - CVE-2022-42915
 - CVE-2022-42916

Release notes: https://curl.se/changes.html#7_86_0

(From OE-Core rev: df55dced4b4980a8c6746acb2e02b80850d8613e)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:58 +00:00
Alex Kiernan
d9e944a0e8 cargo_common.bbclass: Fix typos
(From OE-Core rev: c7a92180b21e75a84f632e4c16e63dc1f4861a00)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-01 17:34:58 +00:00
Mark Asselstine
78fd269e66 bitbake: bitbake: bitbake-layers: checkout layer(s) branch when clone exists
[YOCTO #7852]

Fixes 'bitbake-layers layerindex-fetch --branch kirkstone meta-arm'
not checking out the branch if the repo is already cloned and on a
different branch.

If a clone of a layer being added already exists check what branch it
is on and if necessary attempt to switch to the given branch. If the
switch fails to happen the git error will be reported. We also warn if
there are uncommitted changes as the changes might go unnoticed and
result in unexpected behaviors.

(Bitbake rev: d2cb388f58a37db2149fad34e4572d954e6e5441)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:30:43 +01:00
Justin Bronder
6ca9f04b8e bitbake: asyncrpc: serv: correct closed client socket detection
If the client socket is closed, asyncio.StreamReader.readline() will
return an empty bytes object, not None.

This prevents multiple tracebacks being logged by bitbake-hashserv each
time bitbake is started and performs a connection check.

(Bitbake rev: 2d07f252704dff7747fa1f9adf223a452806717f)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:30:43 +01:00
Changhyeok Bae
eff3042f0e iproute2: upgrade 5.19.0 -> 6.0.0
Two patches are in upstream.

(From OE-Core rev: 9acd3f210f63156d5fd9acbf4477aef2bb4c9de8)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Changhyeok Bae
756e940f15 ethtool: upgrade 5.19 -> 6.0
(From OE-Core rev: f1c8f93fdf5abecb58fef58a32c7ab066270ac7c)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Michael Opdenacker
65e3e1917e create-spdx.bbclass: remove unused SPDX_INCLUDE_PACKAGED
[YOCTO #14948]

(From OE-Core rev: 89f1abd5e00807cf179ddf658f74d48119523b0c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
ciarancourtney
d2a483338f wic: swap partitions are not added to fstab
- Regression in 7aa678ce804c21dc1dc51b9be442671bc33c4041

(From OE-Core rev: f1243572ad6b6303fe562e4eb7a9826fd51ea3c3)

Signed-off-by: Ciaran Courtney <ciaran.courtney@activeenergy.ie>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Ross Burton
05de18eae7 sanity: check for GNU tar specifically
We need the system tar to be GNU tar, as we reply on --xattrs.  Some
distributions may be using libarchive's tar binary, which is definitely
not as featureful, so check for this and abort early with a clear
message instead of later with mysterious errors.

(From OE-Core rev: 7dd2b1cd1bb10e67485dab8600c0787df6c2eee7)

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>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
b06633b6ae python3: update 3.10.6 -> 3.11.0
The semaphore fix has landed and is available from 3.11 onwards:
1ee0f94d16

Drop 0001-Mitigate-the-race-condition-in-testSockName.patch
as it is merged upstream.

(From OE-Core rev: f10cdc155e47af5627ee999c57e1d083f9382a91)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
852f802a31 quilt: backport a patch to address grep 3.8 failures
(From OE-Core rev: b5001af5c711a373bd2f1ea108c8b597dd40faca)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
7fffe9763b libxslt: upgrade 1.1.35 -> 1.1.37
Drop the no longer supported option.

(From OE-Core rev: 587c24b7d77730bfeaf6c926e36f143e71cfb229)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
830738191b libsoup: upgrade 3.0.7 -> 3.2.0
(From OE-Core rev: 0a7cca3b7c0dfe464dbdfa9a3e6882efebcecb61)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
f15334e368 lttng-modules: upgrade 2.13.4 -> 2.13.5
(From OE-Core rev: 335c60e76b341014bd69eaac0a4b281036a94916)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
3cd4053a8d shadow: update 4.12.1 -> 4.12.3
(From OE-Core rev: 5b9fc88d06f79e8dbd2375172689f2fbf3e2a8a3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
cd13328a04 python3-jsonschema: upgrade 4.9.1 -> 4.16.0
(From OE-Core rev: e3c4ab0e6a3f8bb3f85f28530e2ac2ad9db7deb8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
8d2c351e3e python3-hatch-fancy-pypi-readme: add a recipe
This is a new dependency of python3-jsonschema.

(From OE-Core rev: 07781f8f3452d6a9db26515d680e40fd121337f9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
b6ec43fead python3-dbus: upgrade 1.2.18 -> 1.3.2
Convert to meson.

License-Update: clarifications about https://reuse.software/ compliancy

(From OE-Core rev: 4391c6d6d4a5ed95e66f397b69532e388ebadbb6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
48c4ac7982 jquery: upgrade 3.6.0 -> 3.6.1
(From OE-Core rev: 4b727ce83cf295cecd7523291a527c0b5e058fe8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
660a2b541c cmake: update 3.24.0 -> 3.24.2
(From OE-Core rev: ebd026f5fe81728dd7373ce8d532b60eab32326f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
6487b06bd0 ovmf: upgrade edk2-stable202205 -> edk2-stable202208
(From OE-Core rev: 5037ab9736e833f5e2b1345b99412bcf0eb7306c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:36 +01:00
Alexander Kanavin
2730a120bd pinentry: update 1.2.0 -> 1.2.1
libcap support dropped upstream.

(From OE-Core rev: 6196af94fef1e25bf68f6888706eed7693cc24a8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:35 +01:00
Alexander Kanavin
17e5b9c79b libxft: update 2.3.4 -> 2.3.6
(From OE-Core rev: 0006e2752f5c738e46d3268e4d0a0ae923b1378d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:35 +01:00
Alexander Kanavin
0af6aa91dc wayland-utils: update 1.0.0 -> 1.1.0
(From OE-Core rev: 8ead46f5a420eea0aa3718f7511cc2cebe6650ba)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:35 +01:00
Alexander Kanavin
491c56d06c vulkan: update 1.3.216.0 -> 1.3.224.1
(From OE-Core rev: c9d245a78a22542ea4fb063370974ac1c85be74d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:35 +01:00
Alexander Kanavin
4515da64cc stress-ng: update 0.14.03 -> 0.14.06
(From OE-Core rev: ec701b7054a9731ddd4f44fe39457054fd790e09)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:35 +01:00
Alexander Kanavin
5e21fcd829 hdparm: update 9.64 -> 9.65
(From OE-Core rev: 438083e2ec628b563130bda5005ea10fd685d5b7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:35 +01:00
Alexander Kanavin
a78ada8639 grep: update 3.7 -> 3.8
(From OE-Core rev: f69355219cb0ead23113f77cb29a7caacfde9611)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:35 +01:00
Alexander Kanavin
507a50cf29 llvm: update 14.0.6 -> 15.0.1
'Release' type follows standard practice elsewhere in core, particularly rust-llvm as well.

(From OE-Core rev: 20adf74207b8c3eac7871e27da2df1aa26fca3b6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:35 +01:00
Alexander Kanavin
c109408ceb gnu-config: update to latest revision
(From OE-Core rev: b4d105d0d2bc54cf3987cbb9665588ec7aa037bd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:35 +01:00
Alexander Kanavin
c631d4da79 unfs3: correct upstream version check
(From OE-Core rev: 70897a57b2f3f0eaaa937fe84383d6e26cd62c72)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:35 +01:00
Bernhard Rosenkränzer
bd156c4618 cmake-native: Fix host tool contamination
[v2 hopefully fixes the From: mangling by the ML, no functional changes]

Trying to build cmake-native on a host system where curl was built with cmake
(resulting in CURLConfig.cmake and friends, which do not use the same naming
schemes expected by cmake-native's build process, being installed to a system
wide cmake directory like /usr/lib64/cmake/CURL) results in undefined
references to all libcurl symbols.

The problem is that cmake-native sees and uses the system wide
/usr/lib64/cmake/CURL/CURLConfig.cmake, which defines CURL::libcurl and
CURL::curl as opposed to setting ${CURL_LIBRARIES} as expected by
cmake-native.

find_package(CURL) (cmake-native's CMakeLists.txt, line 478) succeeds, but
incorrectly uses the system wide CURLConfig.cmake, resulting
CMAKE_CURL_LIBRARIES to be set to an empty string (cmake-native's
CMakeLists.txt, line 484), causing the cmake-native build to miss -lcurl.

The simplest fix is to let cmake know the right value for
CURL_LIBRARIES. Making it -lcurl should always work with libcurl-native
in recipe-sysroot-native.

[YOCTO #14951]

(From OE-Core rev: 2659c735a464c956b4fca0894a5aed27a0fe7e37)

Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:28:35 +01:00
Ross Burton
d1cd7dc31c bitbake: fetch2/git: don't set core.fsyncobjectfiles=0
This git configuration variable is deprecated in 2.36.0 onwards, so git
warns in the logs for every git call.

Luckily the default value has always been false[1], so we can just remove
this.

[ YOCTO #14939 ]

[1] aafe9fbaf4

(Bitbake rev: 8ad310633e0c5d5593631c1196cbdde30147efce)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:22:09 +01:00
Michael Opdenacker
b44fbe5b1b manuals: use references to the "Build Directory" term
Replace instances of "Build Directory" and "build directory"
(when applicable) by :term:`Build Directory` as already
done in most places.

Doing this, fix the indentation of the paragraphs with
this term.

(From yocto-docs rev: dce50679242d39f133e0cde5c8483b5e69f3eb54)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:48:03 +01:00
Michael Opdenacker
50458d9238 manuals: add missing references to SDKMACHINE and SDK_ARCH
Doing this, fix the odd identation of the corresponding paragraphs

(From yocto-docs rev: e319b3bf4eb6420949372e699d60c7383945e513)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:48:03 +01:00
Michael Opdenacker
6f4ccc4dad manuals: stop referring to the meta-openembedded repo from GitHub
(From yocto-docs rev: de6e7c05fbcff99a6f1fe2a2bf889b559b9b576b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:48:03 +01:00
Michael Opdenacker
4def515eeb manuals: replace "_" by "__" in external links
(From yocto-docs rev: 25142cd8121fdd6a8e0524fc8417fc666c498981)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:48:03 +01:00
Michael Opdenacker
bb3fc03ef1 Documentation/README: formalize guidelines for external link syntax
(From yocto-docs rev: f5d10ceed943270d7bcfa31b5936f37a60669c7f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:48:03 +01:00
Mikko Rapeli
e12050dcad dev-manual: common-tasks.rst: refactor and improve "Checking for Vulnerabilities" section
Add sub section to how Poky and OE-Core handle CVE security issues. This
is a generic intro chapter. Also add note that this is a process which
needs quite a bit of review and iteration to keep products and SW stack
secure, a process not a product.

Then change "Vulnerabilites in images" chapter to
"Vulnerability check at build time" since the process applies to
anything compiled with bitbake, not just images.

Explain details of how to work with cve-check.bbclass, especially
the states Patched, Unpatched and Ignored in the generated reports.

Rename recipe chapter to "Fixing CVE product name and version mappings"
since CVE check has some default which works for all recipes
but generated reports may be completely broken. Fixes are then done with
CVE_PRODUCT and CVE_VERSION.

Give some hints how to analyze "Unpatched" CVEs by checking what happens
in other Linux distros etc.

(From yocto-docs rev: 77a9c1a9fe651bf11f1d5a723b0741dd1764b2c8)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:48:03 +01:00
Mikko Rapeli
aa5fd56b9a dev-manual: common-tasks.rst: add regular updates and CVE scans to security best practices
Regular security scans and updates to fix issues and updates from
upstream maintainers are best practices.

(From yocto-docs rev: 24d3337b6cbb38297877f6ce6ec78896ce93e8b2)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:48:03 +01:00
Mikko Rapeli
362477c421 ref-manual: classes.rst: improve documentation for cve-check.bbclass
It is a quite important tool for maintaining yocto based products
so documentation should include the best practices.

(From yocto-docs rev: 3f7d09fc3c96f29ab80a2cb893c9b4b19a75a769)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:48:03 +01:00
Mikko Rapeli
8a9ac57515 ref-manual: variables.rst: add documentation for CVE_VERSION
Related to cve-check.bbclass.

(From yocto-docs rev: 1218775a9b32ac16556645c5d186007c19a5baf4)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:48:03 +01:00
Paul Eggleton
20cf9c46a1 ref-manual: add info on buildtools-make-tarball
PENDING ON THIS OE-CORE PATCH:
install-buildtools: support buildtools-make-tarball and update to 4.1
https://lists.openembedded.org/g/openembedded-core/message/171522

Cover the use case and the new provided tarball.

(From yocto-docs rev: 3a06c35d059d7d43f7eb33a4f490f5d76afe6cb6)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:48:03 +01:00
Adrian Freihofer
67a48d05cf ref-manual: add wic command bootloader ptable option
Reordering the bootloader command options alphabetically

(From yocto-docs rev: 9d43fcf8ba023be1350ed2b26482d2d5e44cf0cb)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:48:03 +01:00
Qiu, Zheng
5c86008856 tiff: fix a typo for CVE-2022-2953.patch
The CVE number in the patch is a typo. CVE-2022-2053 is not related to
libtiff. So fix it.

(From OE-Core rev: c9f76ef859b0b4edb83ac098816b625f52c78173)

Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 15:46:32 +01:00
Etienne Cordonnier
bb715127cb mirrors.bbclass: use shallow tarball for binutils-native
This is useful e.g. when using meta-clang, which introduces a dependency to binutils-native, and then a
full tarball of binutils is fetched additionally to a shallow tarball.

The original BB_GIT_SHALLOW lines were added because of https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg08752.html

(From OE-Core rev: bd83b8b502ae935c75b59aaf71bbb531c9771dcc)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 09:44:52 +01:00
Andrew Geissler
75f448bf0d go: add support to build on ppc64le
Verified by building on a ppc64le based system

(From OE-Core rev: 6f9bb7094b34d9cbafa8618ada46a94a06332545)

Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 09:44:52 +01:00
Ahmad Fatoum
54fe36f9c2 kernel-fitimage: skip FDT section creation for applicable symlinks
When building a FIT image with device trees, each device tree lands in a
FIT section and is referenced by a FIT configuration node.

FIT images however also allow referencing the same device tree from
multiple configurations. This can be useful to reduce FIT image size
while staying compatible with existing bootloaders. Allow
kernel-fitimage.bbclass users to take advantage of this by mapping
each symlink to a regular device tree included in the FIT to a
configuration that references a common device tree section.

(From OE-Core rev: 21e240da63239826f3ef50ceef40c9519e9030d8)

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 09:44:52 +01:00
Ahmad Fatoum
8219c822a9 kernel-fitimage: mangle slashes to underscores as late as possible
This introduces no functional change, but will come in handy in a later
commit where a file lookup will have us using the device tree name. If
we keep it like it's now, we will lose the information whether an
underscore is an original underscore or a mangled slash.

(From OE-Core rev: 8bea426ca59d17715a3b32f7e3caf3e4b6db5ce9)

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 09:44:52 +01:00
wangmy
75c609f17f lighttpd: upgrade 1.4.66 -> 1.4.67
Changelog:
=============
  * Update comment about TCP_INFO on OpenBSD
  * [mod_ajp13] fix crash with bad response headers (fixes #3170)
  * [core] handle RDHUP when collecting chunked body
  * [core] tweak streaming request body to backends
  * [core] handle ENOSPC with pwritev() (#3171)
  * [core] manually calculate off_t max (fixes #3171)
  * [autoconf] force large file support (#3171)
  * [multiple] quiet coverity warnings using casts
  * [meson] add license keyword to project declaration

(From OE-Core rev: 7a399862bb2e1503fbffa18e7ec0767643f76132)

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>
2022-10-28 09:44:52 +01:00
Alexander Kanavin
6bf209947d rust: install rustfmt for riscv32 as well
With the above rust arch fixes it builds just fine.

(From OE-Core rev: f417ae30c79fac99e2549324ed351f6f63cc4a25)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 09:44:52 +01:00
Alexander Kanavin
6608c076f6 rust-target-config: match riscv target names with what rust expects
Official rust risc-v targets are prefixed with riscv32gc- and riscv64gc-:
https://doc.rust-lang.org/nightly/rustc/platform-support.html

Particularly crossbeam-utils make important build time decisions
for atomics based on those names, and so we need to match ours
with official targets.

On the other hand, the actual definitions for those targets do not
use the 'gc' suffix in 'arch' and 'llvm-target' fields, and so we
need to follow that too, to avoid cryptic mismatch errors from rust-llvm:
https://github.com/rust-lang/rust/blob/master/compiler/rustc_target/src/spec/riscv32gc_unknown_linux_gnu.rs

(From OE-Core rev: 1cfb9c8a59d98ccc9b0510cd28fb933f72fb6b6c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-28 09:44:52 +01:00
Ross Burton
8dc68c2a80 qemu: backport the fix for CVE-2022-3165
(From OE-Core rev: d820389728b0f5e085954b4f995da2b2014acedf)

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>
2022-10-28 09:44:52 +01:00
Ross Burton
38be41a6f8 tiff: fix a number of CVEs
Backport fixes from upstream for the following CVEs:
- CVE-2022-3599
- CVE-2022-3597
- CVE-2022-3626
- CVE-2022-3627
- CVE-2022-3570
- CVE-2022-3598

(From OE-Core rev: 722bbb88777cc3c7d1c8273f1279fc18ba33e87c)

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>
2022-10-28 09:44:52 +01:00
Markus Volk
e06b7828ae mesa: update 22.2.0 -> 22.2.2
- add a PACKAGECONFIG for perfetto support

(From OE-Core rev: cbcaff0b4cc349706b9847f4262746b43adba209)

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>
2022-10-28 09:44:52 +01:00
Michael Opdenacker
635faae28e bitbake: bitbake-user-manual: details about variable flags starting with underscore
Fixes [YOCTO #14140]

(Bitbake rev: 0f3e9d87168813ce49995ff04bccdce11c5f7b47)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-27 17:38:31 +01:00
Richard Purdie
65779419ad bitbake: tests/fetch: Allow handling of a file:// url within a submodule
CVE-2022-39253 in git meant file:// urls within submodules were disabled. Add
a parameter to the commands in the tests to allow this to continue to work.

(Bitbake rev: 209f7ba352b60722830157054e3fc56cb9c693eb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 23:02:13 +01:00
Richard Purdie
6e16695484 openssl: Fix SSL_CERT_FILE to match ca-certs location
In OE-Core d6b15d1e70b99185cf245d829ada5b6fb99ec1af,
"openssl: export necessary env vars in SDK", the value added for
SSL_CERT_FILE was in conflict with the value used elsewhere, such as
in buildtools. This makes them match and fixes buildtools testsdk
failures.

(From OE-Core rev: 7d383a7fc6da666c80f2fc037af5f49a3388eb2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 23:01:01 +01:00
Mark Asselstine
cba4d320dc bitbake: tests: bb.tests.fetch.URLHandle: add 2 new tests
Add a test for special characters in user and password to qualify
decodeurl() inspired by a bug report describing that '=' signs in a
password was problematic.

Add a second test to qualify decodeurl() as related to the change in
commit 628c4bf6c89b [fetch2/__init__: handle @ in package names].

Relates to [YOCTO #14476]

(Bitbake rev: ee04cf09c7022168c035affa654773652a49793e)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:32:08 +01:00
Michael Opdenacker
f67176aada bitbake: doc: bitbake-user-manual: expand description of BB_PRESSURE_MAX variables
(Bitbake rev: 72e9847dd578c3cbed52a9c16fea23ebbeef5046)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:32:08 +01:00
Mark Hatle
fc6f743c52 bitbake: utils/ply: Update md5 to better report errors with hashlib
In the case where hashlib is not available, the try would fail and fall
through resulting in a backtrace on the usage of the 'sig'.  The backtrace
itself was confusing and made it difficult to determine what went wrong.

Update the import to be in it's own try block with an appropriate
message to indicate what went wrong.

Note, the current version of ply all of this code has been restructured
so this is not applicable upstream.

Additionally, some versions of hashlib don't appear to implement the
second FIPS related argument.  Detect this and support both versions.

(Bitbake rev: 484ab42f440070c0369b81f5c69da860fa47a798)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:32:08 +01:00
Johan Korsnes
074245a312 bitbake: bitbake: user-manual: inform about spaces in :remove
Inform the reader that there should be no need for spaces in the value
when using removal override `:remove`.

Considering why spaces are used in the other override operators, it
might seem obvious that they aren't needed for the removal operator.
But, it seems like I'm not the first to be confused about this.

Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Cc: Ross Burton <ross.burton@arm.com>
Cc: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(Bitbake rev: 0a493a772f83436cbe909de93c157f4ab2d2d136)

Signed-off-by: Johan Korsnes <johan.korsnes@remarkable.no>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:32:08 +01:00
Sean Anderson
d6858c9f45 u-boot: Rework signing to remove interdependencies
The U-Boot signing code is a bit of a mess. The problem is that mkimage
determines the public keys to embed into a device tree based on an image
that it is signing. This results in all sorts of contortions: U-Boot has to
be available to the kernel recipe so that it can have the correct public
keys embedded. Then, the signed U-Boot has to be made available to U-Boot's
do_deploy. This same dance is then repeated for SPL. To complicate matters,
signing for U-Boot and U-Boot SPL is optional, so the whole process must be
seamlessly integrated with a non-signed build.

The complexity and interdependency of this process makes it difficult to
extend. For example, it is not possible to install a signed U-Boot binary
into the root filesystem. This is first because u-boot:do_install must run
before linux:do_assemble_fitimage, which must run before u-boot:do_deploy.
But aside from infrastructure issues, installing a signed U-Boot also can't
happen, because the kernel image might have an embedded initramfs
(containing the signed U-Boot).

However, all of this complexity is accidental. It is not necessary to embed
the public keys into U-Boot and sign the kernel in one fell swoop. Instead,
we can sign the kernel, stage it, and sign the staged kernel again to embed
the public keys into U-Boot [1]. This twice-signed kernel serves only to
provide the correct parameters to mkimage, and does not have to be
installed or deployed. By cutting the dependency of
linux:do_assemble_fitimage on u-boot:do_install, we can drastically
simplify the build process, making it much more extensible.

The process of doing this conversion is a bit involved, since the U-Boot
and Linux recipes are so intertwined at the moment. The most major change
is that uboot-sign is no longer inherited by kernel-fitimage. Similarly,
all U-Boot-related tasks have been removed from kernel-fitimage. We add a
new step to the install task to stage the kernel in /sysroot-only. The
logic to disable assemble_fitimage has been removed. We always assemble it,
even if the final fitImage will use a bundled initramfs, because U-Boot
will need it.

On the U-Boot side, much of the churn stems from multiple config support.
Previously, we took a fairly ad-hoc approach to UBOOT_CONFIG and
UBOOT_MACHINE, introducing for loops wherever we needed to deal with them.
However, I have chosen to use a much more structured approach. Each task
which needs to use the build directory uses the following pseudocode:

do_mytask() {
	if ${UBOOT_CONFIG}; then
		for config, type in zip(${UBOOT_CONFIG}, ${UBOOT_MACHINE}); do
			cd ${config}
			mytask_helper ${type}
		done
	else
		cd ${B}
		mytask_helper ""
	fi
}

By explicitly placing the work in mytask_helper, we make it easier to
ensure that everything is covered, and we also allow bbappends files to
more easily extend the task (as otherwise they would need to reimplement
the loop themselves).

[1] It doesn't particularly matter what we sign. Any FIT will do, but I
chose the kernel's because we already went to the trouble of setting it up
with the correct hashes and signatures. In the future, we could create a
"dummy" image and sign that instead, but it would probably have to happen
in the kernel recipe anyway (so we have access to the appropriate
variables).

(From OE-Core rev: 5e12dc911d0c541f43aa6d0c046fb87e8b7c1f7e)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:40 +01:00
Sean Anderson
930dc57fc8 uboot-sign: Split off kernel-fitimage variables
In preparation for the next commit, split off several

(From OE-Core rev: 60c1a170f1f8c11bc8f42026debf121433b39115)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:40 +01:00
Sean Anderson
deb6b92d44 uboot-sign: Use bitbake variables directly
uboot_fitimage_assemble is called from one place with the same
arguments. Instead of using shell variables as intermediaries, simplify
the function by using the bitbake variables directly. Removing a layer
of indirection makes it easier to determine what values are being
substituted in. Some variables can't be fully converted, but they will
be addressed in the a few commits.

(From OE-Core rev: 27f42c9b9a91742d3ee358aa8dc29627379b2539)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:40 +01:00
Sean Anderson
63b4efbbf4 kernel-fitimage: Use KERNEL_OUTPUT_DIR where appropriate
We have a specific variable for the path to the boot directory. Use it
instead of open-coding this path.

(From OE-Core rev: 725b75e83bc2b2111f2ab5103b7e7f60d6d3f34e)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:40 +01:00
Sean Anderson
00ce3bb06f kernel: Clear SYSROOT_DIRS instead of replacing sysroot_stage_all
Replacing sysroot_stage_all by a no-op recipe makes it difficult for
bbappends to stage files intentionally. Instead, just clear
SYSROOT_DIRS, allowing other bbappends to easily add new directories.

(From OE-Core rev: 849791e7086463a4c7c53c2c1ed9603a6c3a080d)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:40 +01:00
Sean Anderson
c755c37efb uboot-sign: Fix using wrong KEY_REQ_ARGS
When generating our SPL-verifying certificate, we use FIT_KEY_REQ_ARGS,
which is intended for the U-Boot-verifying certificate. Instead, use
UBOOT_FIT_KEY_REQ_ARGS.

Fixes: 0e6b0fefa0 ("u-boot: Use a different Key for SPL signing")
(From OE-Core rev: a2d939ccb182a1ad29280d236b9f9e1d09527af1)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:40 +01:00
Tim Orling
6100383cc4 git: upgrade 2.37.3 -> 2.38.1
Fixes CVE-2022-39260

Git v2.38.1 Release Notes
=========================

This release merges the security fix that appears in v2.30.6; see
the release notes for that version for details.

Excerpt from 2.30.6 release notes:

 * CVE-2022-39260:
   An overly-long command string given to `git shell` can result in
   overflow in `split_cmdline()`, leading to arbitrary heap writes and
   remote code execution when `git shell` is exposed and the directory
   `$HOME/git-shell-commands` exists.

   `git shell` is taught to refuse interactive commands that are
   longer than 4MiB in size. `split_cmdline()` is hardened to reject
   inputs larger than 2GiB.

Credit for finding CVE-2022-39260 goes to Kevin Backhouse of GitHub.
The fix was authored by Kevin Backhouse, Jeff King, and Taylor Blau.

For 2.38.0 changes, see:
https://github.com/git/git/blob/master/Documentation/RelNotes/2.38.0.txt

(From OE-Core rev: b304768711374066db320fe87960be81f54a8424)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:40 +01:00
Ross Burton
262f44fd28 xserver-xorg: backport fixes for CVE-2022-3550 and CVE-2022-3551
(From OE-Core rev: e32401d8bf44afcca88af7e4c5948d2c28e1813f)

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>
2022-10-26 12:28:40 +01:00
Ross Burton
4c24c17799 xserver-xorg: ignore CVE-2022-3553 as it is XQuartz-specific
(From OE-Core rev: 769576f36aac9652525beec5c7e8a4d26632b844)

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>
2022-10-26 12:28:39 +01:00
Ross Burton
1d6722d694 libx11: apply the fix for CVE-2022-3554
(From OE-Core rev: 5d30f124274d2822d72b56f84eb8c8ae64e31e0d)

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>
2022-10-26 12:28:39 +01:00
Jose Quaresma
7b73c6d625 kernel-yocto: improve fatal error messages of symbol_why.py
Improve the fatal error message of the yocto-kernel-tools symbol_why.py
and shows the command that generate the error as it can help understand
the root cause of the error.

(From OE-Core rev: 54ae08779071f2e97bff0ff6514ede3124312c3b)

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>
2022-10-26 12:28:39 +01:00
Mikko Rapeli
7d29e79718 os-release: add HOMEPAGE and link to documentation
It's important to use standard variable names in the
/etc/os-release file. Otherwise reporting version etc
details requires custom modifications in various tools.

(From OE-Core rev: af528f4b46e5df0a176d91d46cc6f89c7296c602)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Mikko Rapeli
bf8655e116 os-release: replace DISTRO_CODENAME with VERSION_CODENAME
Latter is the /etc/os-release standard to report distro codenames
like "langdale".

https://www.freedesktop.org/software/systemd/man/os-release.html#VERSION_CODENAME=

(From OE-Core rev: 2565b435176a16aca5b747044cc3643d845f6486)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Claus Stovgaard
c43df5b5cc gstreamer1.0-libav: fix errors with ffmpeg 5.x
Backport of patch already present upstream to fix issues with invalid
characters for GLIB when combining gstreamer1.0-libav with ffmpeg 5.x.

Remove when gstreamer1.0-libav is upgraded to 1.21.1 or above

(From OE-Core rev: 703ff945557ad307bbe4ba0b0b7f1a2e5b4b847e)

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Peter Kjellerstedt
b3ffb247c7 externalsrc.bbclass: Remove a trailing slash from ${B}
The trailing slash in ${B} caused -fdebug-prefix-map=${B}=... to not
match as intended, resulting in ${TMPDIR} ending up in files in
${PN}-dbg when externalsrc was in use, which in turn triggered buildpath
QA warnings.

(From OE-Core rev: 9b5031ed5a0d102905fa75acc418246c23df6eef)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Joshua Watt
8b2348a75e runqemu: Do not perturb script environment
Instead of changing the script environment to affect the child
processes, make a copy of the environment with modifications and pass
that to subprocess.

Specifically, when dri rendering is enabled, LD_PRELOAD was being passed
to all processes created by the script which resulted in other commands
(e.g. stty) exiting with a failure like:

 /bin/sh: symbol lookup error: sysroots-uninative/x86_64-linux/lib/librt.so.1: undefined symbol: __libc_unwind_link_get, version GLIBC_PRIVATE

Making a copy of the environment fixes this because the LD_PRELOAD is
now only passed to qemu itself.

(From OE-Core rev: 2232599d330bd5f2a9e206b490196569ad855de8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Joshua Watt
8dd2fa2205 qemu-helper-native: Re-write bridge helper as C program
The bridge helper program is invoked directly from QEMU when it needs to
attach to a network bridge. As such, it is subject to the environment of
QEMU itself. Specifically, if bridging is enabled with direct rendering
acceleration, QEMU is run with an LD_PRELOAD that attempts to preload
several uninative libraries; however /bin/sh doesn't use the uninative
loader which means it can fail to start with an error like:

 /bin/sh: symbol lookup error: sysroots-uninative/x86_64-linux/lib/librt.so.1: undefined symbol: __libc_unwind_link_get, version GLIBC_PRIVATE

Converting the helper program to a C program resolves this problem
because it will now use the uninative loader so the preload doesn't
cause errors.

(From OE-Core rev: f698e98f2f09952b34488b8cf9e73e82bd7aea07)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Sergei Zhmylev
0ee936da2e wic: honor the SOURCE_DATE_EPOCH in case of updated fstab
In case user requested to build a binary repeatable package,
it's required to honor the SOURCE_DATE_EPOCH environment
variable. So forcefully set mtime inside all the routines
which modify fstab in case it is updated.

(From OE-Core rev: 99719a3712a88dce8450994d995803e126e49115)

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Joshua Watt
0cc7ac200d runqemu: Fix gl-es argument from causing other arguments to be ignored
The code to parse arguments was inadvertently skipping all arguments in
the elif block after gl-es if it was specified on the command line.

(From OE-Core rev: 718bb8d56f6a24c86e67830a7d13af54df2ebb4e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Martin Jansa
9ba58ee035 externalsrc.bbclass: fix git repo detection
* fix issue introduced in:
  https://git.openembedded.org/openembedded-core/commit/?id=95fbac8dcad6c93f4c9737e9fe13e92ab6befa09

* it added check for s_dir + git-dir (typically '.git') isn't
  the same as ${TOPDIR} + git-dir, but due to copy-paste issue
  it was just comparing it with s_dir + git-dir again, resulting
  in most external repos (where git-dir is '.git') to be processed
  as regular directory (not taking advantage of git write-tree).

* normally this wouldn't be an issue, but for big repo with a lot of
  files this added a lot of checksums in:
  d.setVarFlag('do_compile', 'file-checksums', '${@srctree_hash_files(d)}')

  and I mean *a lot, e.g. in chromium build it was 380227 paths
  which still wouldn't that bad, but the checksum processing in
  siggen.py isn't trivial and just looping through all these
  checksums takes very long time (over 1000sec on fast NVME drive
  with warm cache) and then
  https://git.openembedded.org/bitbake/commit/?id=b4975d2ecf615ac4c240808fbc5a3f879a93846b
  made the processing a bit more complicated and the loop in
  get_taskhash() function took 6448sec and to make things worse
  there was no output from bitbake during that time, so even with -DDD
  it looks like this:

  DEBUG: virtual/libgles2 resolved to: mesa (langdale/oe-core/meta/recipes-graphics/mesa/mesa_22.2.0.bb)
  Bitbake still alive (no events for 600s). Active tasks:
  Bitbake still alive (no events for 1200s). Active tasks:
  Bitbake still alive (no events for 1800s). Active tasks:
  Bitbake still alive (no events for 2400s). Active tasks:
  Bitbake still alive (no events for 3000s). Active tasks:
  Bitbake still alive (no events for 3600s). Active tasks:
  Bitbake still alive (no events for 4200s). Active tasks:
  Bitbake still alive (no events for 4800s). Active tasks:
  Bitbake still alive (no events for 5400s). Active tasks:
  Bitbake still alive (no events for 6000s). Active tasks:
  DEBUG: Starting bitbake-worker

  without -DDD it will get stuck for almost 2 hours in:
  "Initialising tasks..."
  before it finally writes sstate summary like:
  "Sstate summary: Wanted 3102 Local 0 Mirrors 0 Missed 3102 Current 1483 (0% match, 32% complete)"

* fix the copy&paste typo to use git work-tree in most cases, but
  be aware that this issue still exists for huge local source
  trees not in git

[YOCTO #14942]

(From OE-Core rev: 9102e5a94b8146cb1da27afbe41d3db999a914ff)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Markus Volk
2f7093d9ba wayland-protocols: upgrade 1.26 -> 1.27
wayland-protocols 1.27 is now available.

This release includes two new staging protocols:

 * Content type hint

This protocol enables clients to provide hints to the compositor about
what kind of content it provides, allowing compositors to optionally
adapt its behavior accordingly.

 * Idle notify

This extension allows compositors to notify clients about when the user
is idle.

Apart from these two new extensions, this release also brings the usual
clarifications, cleanups and fixes. Enjoy!

Daniel Stone (1):
      xdg-shell: ack_configure must be strictly monotonic

Emmanuel Gil Peyrot (1):
      staging/content-type: Content type hint support

Isaac Freund (1):
      ext-session-lock: add note on client termination

Jonas Ådahl (1):
      build: Bump version to 1.27

Simon Ser (3):
      xdg-shell: forbid loops in set_parent
      ext-idle-notify: new protocol
      build: alphabetically sort list of staging protocols

(From OE-Core rev: bed837c23eada26478d50b3363e2da43f57f3b7e)

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>
2022-10-26 12:28:39 +01:00
Hitendra Prajapati
b62f7c24bf openssl: CVE-2022-3358 Using a Custom Cipher with NID_undef may lead to NULL encryption
Upstream-Status: Backport from https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=5485c56679d7c49b96e8fc8ca708b0b7e7c03c4b]
Description:
	CVE-2022-3358 openssl: Using a Custom Cipher with NID_undef may lead to NULL encryption.
Affects "openssl < 3.0.6"

(From OE-Core rev: f98b2273c6f03f8f6029a7a409600ce290817e27)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Luca Boccassi
1462ce375e systemd: add systemd-creds and systemd-cryptenroll to systemd-extra-utils
ERROR: systemd-1_251.4-r0 do_package: QA Issue: systemd: Files/directories were installed but not shipped in any package:
  /usr/bin/systemd-creds
  /usr/bin/systemd-cryptenroll

(From OE-Core rev: b3763dd26d324a7ce575586f306b8aec4b1103b3)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Keiya Nobuta
e33892b7ad create-spdx: Remove ";name=..." for downloadLocation
(From OE-Core rev: bbecab53d1b27f3bb8c5882cb0ec39b04ef300a3)

Signed-off-by: Keiya Nobuta <nobuta.keiya@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Bruce Ashfield
cd31c6b6df linux-yocto/5.15: update to v5.15.72
Updating  to the latest korg -stable release that comprises
the following commits:

    c68173b2012b Linux 5.15.72
    713fa3e4591f drm/i915/gem: Really move i915_gem_context.link under ref protection
    a00ed4e5d5ee x86/alternative: Fix race in try_get_desc()
    c3d4b8970c0d KVM: x86: Hide IA32_PLATFORM_DCA_CAP[31:0] from the guest
    ab5c5787ab5e clk: iproc: Do not rely on node name for correct PLL setup
    e748a084b51c clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
    19f4e1636626 fs: split off setxattr_copy and do_setxattr function from setxattr
    a0e3719e030a vdpa/ifcvf: fix the calculation of queuepair
    4755d9d2c9b0 selftests: Fix the if conditions of in test_extra_filter()
    c83a7606aa65 net: phy: Don't WARN for PHY_UP state in mdio_bus_phy_resume()
    a8cd7e1bc7cd net: stmmac: power up/down serdes in stmmac_open/release
    67c00bcf4231 wifi: mac80211: fix regression with non-QoS drivers
    520e434a082d nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
    e9d7d809022e net/mlxbf_gige: Fix an IS_ERR() vs NULL bug in mlxbf_gige_mdio_probe
    8b1b908507ce cxgb4: fix missing unlock on ETHOFLD desc collect fail path
    e99c7a61d89e net: sched: act_ct: fix possible refcount leak in tcf_ct_init()
    815381aeff95 usbnet: Fix memory leak in usbnet_disconnect()
    af91321b7372 gpio: mvebu: Fix check for pwm support on non-A8K platforms
    f592ccddac68 Input: melfas_mip4 - fix return value check in mip4_probe()
    ff982b1f325d Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"
    bde7795794f4 drm/bridge: lt8912b: fix corrupted image output
    e103b0e83991 drm/bridge: lt8912b: set hdmi or dvi mode
    473f653a86ee drm/bridge: lt8912b: add vsync hsync
    6a12105d9d4f ASoC: tas2770: Reinit regcache on reset
    75ef73d7d2b3 arm64: dts: qcom: sm8350: fix UFS PHY serdes size
    5664dc84fc2e ASoC: imx-card: Fix refcount issue with of_node_put
    367403bc1cfe soc: sunxi: sram: Fix debugfs info for A64 SRAM C
    68d2f42cf4f6 soc: sunxi: sram: Fix probe function ordering issues
    2f82b5290078 soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()
    861adc2b2037 soc: sunxi: sram: Prevent the driver from being unbound
    8b07378ebe43 soc: sunxi: sram: Actually claim SRAM regions
    d50e0e2f3d94 ARM: dts: am5748: keep usb4_tm disabled
    c48e3db1df25 reset: imx7: Fix the iMX8MP PCIe PHY PERST support
    606229101290 ARM: dts: am33xx: Fix MMCHS0 dma properties
    bfe5dc2101ba swiotlb: max mapping size takes min align mask into account
    a6a3b6b11ac0 media: v4l2-compat-ioctl32.c: zero buffer passed to v4l2_compat_get_array_args()
    ab9d32844742 media: rkvdec: Disable H.264 error detection
    69379139ed78 media: dvb_vb2: fix possible out of bound access
    6287c9e00595 mm,hwpoison: check mm when killing accessing process
    f9aed3d8a029 mm: fix madivse_pageout mishandling on non-LRU page
    1299c1198878 mm/migrate_device.c: flush TLB while holding PTL
    e858f7ac7395 mm: fix dereferencing possible ERR_PTR
    d75ce115625e mm: prevent page_frag_alloc() from corrupting the memory
    23d17e2b04c7 mm/page_alloc: fix race condition between build_all_zonelists and page allocation
    fec2db7a434a mmc: hsq: Fix data stomping during mmc recovery
    4fef6e1fe07c mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
    4f75d0cacd65 libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
    dc248ddf41ea vduse: prevent uninitialized memory accesses
    ea774829699a drm/amdgpu: Add amdgpu suspend-resume code path under SRIOV
    25759a7bc1f4 drm/i915/gt: Restrict forced preemption to the active context
    e0f576335d05 Revert "firmware: arm_scmi: Add clock management to the SCMI power domain"
    5de02ab84aec net: mt7531: only do PLL once after the reset
    56e3f8d56299 mm/damon/dbgfs: fix memory leak when using debugfs_lookup()
    149da9e60b8c ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
    dc8cdb988453 ARM: dts: integrator: Tag PCI host with device_type
    aa5c3aa3f197 x86/sgx: Do not fail on incomplete sanitization on premature stop of ksgxd
    476c188b9dbe clk: ingenic-tcu: Properly enable registers before accessing timers
    d134b0f7a9b9 can: c_can: don't cache TX messages for C_CAN cores
    6fff203793cb Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address
    006a5085a3a8 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
    81e759d71a6b thunderbolt: Explicitly reset plug events delay back to USB4 spec value
    85a70a259916 usb: typec: ucsi: Remove incorrect warning
    ac12a04c8e08 uas: ignore UAS for Thinkplus chips
    528aba78ee01 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
    0a4e8f384e82 uas: add no-uas quirk for Hiksemi usb_disk
    8484a356cee8 cgroup: cgroup_get_from_id() must check the looked-up kn is a directory
    ae04dd5ef180 cgroup: reduce dependency on cgroup_mutex
    7a64e6dc6cb7 ALSA: hda/realtek: fix speakers and micmute on HP 855 G8
    6a3bee2ead9b ALSA: hda: Fix Nvidia dp infoframe
    f7392f93a2fb ALSA: hda: Fix hang at HD-audio codec unbinding due to refcount saturation
    de5deddfa7e7 ALSA: hda: Do disconnect jacks at codec unbind
    90c7e9b400c7 Linux 5.15.71
    214194610a18 ext4: use locality group preallocation for small closed files
    8a1ac4167dda ext4: avoid unnecessary spreading of allocations among groups
    fd8b82919549 ext4: make mballoc try target group first even with mb_optimize_scan
    21dada4ce19c ext4: limit the number of retries after discarding preallocations blocks
    be4df018c0be ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0
    90bc7b630c6c ext4: make directory inode spreading reflect flexbg size
    95d714d8ad3d devdax: Fix soft-reservation memory description
    27bf7a5d1198 NFSv4: Fixes for nfs4_inode_return_delegation()
    21b0301f2234 drm/amdgpu: don't register a dirty callback for non-atomic
    6eb08245da51 i2c: mlxbf: Fix frequency calculation
    dc2a0c587006 i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()
    621c6ab03ac3 i2c: mlxbf: incorrect base address passed during io write
    c242dbf2e36f i2c: imx: If pm_runtime_get_sync() returned 1 device access is possible
    c71ec39be45a workqueue: don't skip lockdep work dependency in cancel_work_sync()
    929ef155e1da fsdax: Fix infinite loop in dax_iomap_rw()
    9aac3819f099 drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
    1c26968caf18 drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage
    492db4ffcff3 drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule()
    9539cfc74493 drm/amd/display: Reduce number of arguments of dml31's CalculateWatermarksAndDRAMSpeedChangeSupport()
    a541c0111818 drm/amd/display: Limit user regamma to a valid value
    33b128f790b6 drm/amdgpu: use dirty framebuffer helper
    f76d6f309a68 drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
    e5ae504c8623 drm/gma500: Fix BUG: sleeping function called from invalid context errors
    e07d9154bb81 Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region
    5f270b61ee8b drm/amd/amdgpu: fixing read wrong pf2vf data in SRIOV
    d3a67c21b18f s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
    faf0e1b5d82b serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting
    0aada772fd16 serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting
    4c7e17270cab serial: Create uart_xmit_advance()
    4199425b1132 serial: fsl_lpuart: Reset prior to registration
    cc1504f6da2e KVM: x86/mmu: Fold rmap_recycle into rmap_add
    dddae48eabfb selftests: forwarding: add shebang for sch_red.sh
    08483e4c0c83 bnxt: prevent skb UAF after handing over to PTP worker
    f8162aed962b net: sched: fix possible refcount leak in tc_new_tfilter()
    bd29ca2b398c net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD
    ec3a6f4ffe55 bonding: fix NULL deref in bond_rr_gen_slave_id
    db145b8a04fc net/smc: Stop the CLC flow if no link to map buffers on
    5daef0042d2c drm/mediatek: dsi: Move mtk_dsi_stop() call back to mtk_dsi_poweroff()
    a08cba2f50d7 perf tools: Honor namespace when synthesizing build-ids
    1a83f39dc4e1 perf kcore_copy: Do not check /proc/modules is unchanged
    a3b923f449a3 perf jit: Include program header in ELF files
    39dc6ccdd5af perf stat: Fix BPF program section name
    c6d939639fe0 can: gs_usb: gs_can_open(): fix race dev->can.state condition
    e1676adedc17 net: sh_eth: Fix PHY state warning splat during system resume
    71200518bbbf net: ravb: Fix PHY state warning splat during system resume
    d5917b7af7ca netfilter: ebtables: fix memory leak when blob is malformed
    08d7524f366a netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()
    91aa52652f4b netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
    c721623efd09 net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs
    f58e43184226 net/sched: taprio: avoid disabling offload when it was never enabled
    510e703e4ed0 net: enetc: deny offload of tc-based TSN features on VF interfaces
    11eb9ed08856 net: enetc: move enetc_set_psfp() out of the common enetc_set_features()
    c60801e4e2b5 wireguard: netlink: avoid variable-sized memcpy on sockaddr
    3ebf690d1cde wireguard: ratelimiter: disable timings test by default
    c2dc533a7edb net: ipa: properly limit modem routing table use
    cbdab7d68f20 of: mdio: Add of_node_put() when breaking out of for_each_xx
    ca86577c10bc drm/hisilicon: Add depends on MMU
    68c4acee6328 drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled
    8547c7bfc061 sfc: fix null pointer dereference in efx_hard_start_xmit
    360910b88d14 sfc: fix TX channel offset when using legacy interrupts
    bc750d7127a9 i40e: Fix set max_tx_rate when it is lower than 1 Mbps
    53220b99059a i40e: Fix VF set max MTU size
    7249a653fe5f iavf: Fix set max MTU size with port VLAN and jumbo frames
    030e0688b6b2 mlxbf_gige: clear MDIO gateway lock after read
    93859f6878e7 iavf: Fix bad page state
    e1dbe8a62098 um: fix default console kernel parameter
    7400e2edfc9e MIPS: Loongson32: Fix PHY-mode being left unspecified
    abea65fa7713 MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko
    831cf63c043e drm/panel: simple: Fix innolux_g121i1_l01 bus_format
    408d5752b60f net: team: Unsync device addresses on ndo_stop
    f50265a4f3da net: bonding: Unsync device addresses on ndo_stop
    e6b277f7367e net: bonding: Share lacpdu_mcast_addr definition
    8b2ab46b6c63 scsi: mpt3sas: Fix return value check of dma_get_required_mask()
    89df49e561b4 scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts()
    5826a555f77c net: phy: aquantia: wait for the suspend/resume operations to finish
    4d2f1bc9067a net: core: fix flow symmetric hash
    8d06006c7eb7 ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header
    dae9d2abe25b iavf: Fix cached head and tail value for iavf_get_tx_pending
    34447d64b8d2 ice: Don't double unplug aux on peer initiated reset
    816eab147e5c netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
    dc33ffbc361e netfilter: nf_conntrack_irc: Tighten matching on DCC message
    0606c5d5fefd netfilter: nf_conntrack_sip: fix ct_sip_walk_headers
    0babb5bc85ee arm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma
    dd5a6c5a0875 dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get()
    1b0e46d970b4 arm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHz
    e352fea1d0fc drm/mediatek: dsi: Add atomic {destroy,duplicate}_state, reset callbacks
    43733b6c9fda arm64: dts: rockchip: Fix typo in lisense text for PX30.Core
    2929463a9eff arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob
    166a332463b5 firmware: arm_scmi: Fix the asynchronous reset requests
    1f08a1b26cfc firmware: arm_scmi: Harden accesses to the reset domains
    9ec5a534d77c xfs: validate inode fork size against fork format
    5caa3a127953 xfs: fix xfs_ifree() error handling to not leak perag ref
    9e7b231687fd xfs: reorder iunlink remove operation in xfs_ifree
    28c7ef86b21b vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment
    3c3edb82d67b arm64: topology: fix possible overflow in amu_fie_setup()
    2427a04bce86 KVM: x86: Inject #UD on emulated XSETBV if XSAVES isn't enabled
    61703b248be9 mm: slub: fix flush_cpu_slab()/__free_slab() invocations in task context.
    2d6e55e0c038 mm/slub: fix to return errno if kmalloc() fails
    71075d7d4632 net: mana: Add rmb after checking owner bits
    19aea370fd09 can: flexcan: flexcan_mailbox_read() fix return value for drop = true
    bf0197aea195 kasan: call kasan_malloc() from __kmalloc_*track_caller()
    c75288a4902b riscv: fix a nasty sigreturn bug...
    97da736cd11a gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
    9b26723e058f gpio: mockup: Fix potential resource leakage when register a chip
    18352095a0d5 gpio: mockup: fix NULL pointer dereference when removing debugfs
    2279e977405b wifi: mt76: fix reading current per-tid starting sequence number for aggregation
    b5bc5a274d54 efi: libstub: check Shim mode using MokSBStateRT
    ef43fee9f211 efi: x86: Wipe setup_data on pure EFI boot
    b173f1f8ef9e thunderbolt: Add support for Intel Maple Ridge single port controller
    65b13f951fe6 usb: dwc3: core: leave default DMA if the controller does not support 64-bit DMA
    7143f6cf58db media: flexcop-usb: fix endpoint type check
    d8a76a2e514f btrfs: fix hang during unmount when stopping a space reclaim worker
    46053262b5f5 btrfs: fix hang during unmount when stopping block group reclaim worker
    b02f86689a5a iommu/vt-d: Check correct capability for sagaw determination
    a963fe6d0eb6 ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop
    4b2fa20da623 ALSA: hda/realtek: Add quirk for ASUS GA503R laptop
    eb54e457c4ad ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack
    0898469913cd ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack
    c6a746b4fca5 ALSA: hda/realtek: Re-arrange quirk table entries
    41e974cd6ecb ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5570 laptop
    5421125bbda8 ALSA: hda/realtek: Add quirk for Huawei WRT-WX9
    84481d7a59a2 ALSA: hda: add Intel 5 Series / 3400 PCI DID
    04b5bd5702ab ALSA: hda/tegra: set depop delay for tegra
    e10425c5424b ALSA: core: Fix double-free at snd_card_new()
    10a8c5d7d393 Revert "ALSA: usb-audio: Split endpoint setups for hw_params and prepare"
    06c0204a6e80 USB: serial: option: add Quectel RM520N
    6cf9e8b7e67a USB: serial: option: add Quectel BG95 0x0203 composition
    369b008bbe36 USB: core: Fix RST error in hub.c
    d10d1e9d9f1e drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
    6eede01dfd0e Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio"
    c02431f43e12 Revert "usb: add quirks for Lenovo OneLink+ Dock"
    8de5e12f587b usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
    2db7a7176c45 usb: add quirks for Lenovo OneLink+ Dock
    a72eee6d905e usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop
    f79a57d4091f usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup()
    1a9923999459 usb: dwc3: gadget: Refactor pullup()
    7604a210acbb usb: dwc3: gadget: Prevent repeat pullup()
    a0b5d22b0448 usb: dwc3: Issue core soft reset before enabling run/stop
    8d583ba79cde usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind
    167b18f25b96 staging: r8188eu: Add Rosewill USB-N150 Nano to device tables
    add40eda8258 staging: r8188eu: Remove support for devices with 8188FU chipset (0bda:f179)
    55653c548612 drm/amdgpu: make sure to init common IP before gmc
    25a90a11036b drm/amdgpu: Separate vf2pf work item init from virt data exchange
    3e98e33d345e Linux 5.15.70
    21f948cab866 ALSA: hda/sigmatel: Fix unused variable warning for beep power change
    5db17805b6ba cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
    39b0235284c7 KVM: SEV: add cache flush to solve SEV cache incoherency issues
    d9bf46e74735 net: Find dst with sk's xfrm policy not ctl_sk
    ab5140c6ddd7 video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write
    9af7af862cb8 mksysmap: Fix the mismatch of 'L0' symbols in System.map
    2340f23c770d drm/panfrost: devfreq: set opp to the recommended one to configure regulator
    7e8df4920b2a MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping()
    af88da4c737a afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked
    2dd0ae85fb3c net: usb: qmi_wwan: add Quectel RM520N
    a5e949e088bc ALSA: hda/tegra: Align BDL entry to 4KB boundary
    3d25aaf71fe0 ALSA: hda/sigmatel: Keep power up while beep is enabled
    d582756bfc71 wifi: mac80211_hwsim: check length for virtio packets
    17898c3b578a rxrpc: Fix calc of resend age
    1bbcd88c3c99 rxrpc: Fix local destruction being repeated
    87cd4c02bdb1 scsi: lpfc: Return DID_TRANSPORT_DISRUPTED instead of DID_REQUEUE
    f08a320b4b60 regulator: pfuze100: Fix the global-out-of-bounds access in pfuze100_regulator_probe()
    80c7be217ba7 ASoC: nau8824: Fix semaphore unbalance at error paths
    f1d57c4c99c2 arm64: dts: juno: Add missing MHU secure-irq
    59b756da49bf video: fbdev: i740fb: Error out if 'pixclock' equals zero
    899f4160b140 binder: remove inaccurate mmap_assert_locked()
    8c2bbfb0ded3 drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega
    0a7d86f156fa drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega
    dcef16f64969 drm/amdgpu: Don't enable LTR if not supported
    710ebf8f1a08 tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa
    309e9f4a17cf parisc: Allow CONFIG_64BIT with ARCH=parisc
    9a72466fb61b cifs: always initialize struct msghdr smb_msg completely
    21c47a08f96a cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
    e1aad8c56090 cifs: revalidate mapping when doing direct writes
    b04e0208d025 of/device: Fix up of_dma_configure_id() stub
    8fd27239ca92 parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()
    5f285e4c47c3 block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowait
    f86092d12fbb drm/meson: Fix OSD1 RGB to YCbCr coefficient
    d38eb1f37538 drm/meson: Correct OSD1 global alpha value
    89cfddd416ba gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
    9a173db71a99 NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0
    cd358b2ee56f pinctrl: sunxi: Fix name for A100 R_PIO
    ca2b798e53d4 pinctrl: rockchip: Enhance support for IRQ_TYPE_EDGE_BOTH
    30fccb4fe449 pinctrl: qcom: sc8180x: Fix wrong pin numbers
    cbafdbb6f6ce pinctrl: qcom: sc8180x: Fix gpio_wakeirq_map
    ba6b9f7cc110 of: fdt: fix off-by-one error in unflatten_dt_nodes()
    c23065adf97f tty: serial: atmel: Preserve previous USART mode if RS485 disabled
    1d01d7beccba serial: atmel: remove redundant assignment in rs485_config
    f3450c33411b drm/tegra: vic: Fix build warning when CONFIG_PM=n
    820b689b4a7a Linux 5.15.69
    277674996dcf Input: goodix - add compatible string for GT1158
    b9b39f7332c5 RDMA/irdma: Use s/g array in post send only when its valid
    125c3ae8a936 usb: gadget: f_uac2: fix superspeed transfer
    fa7e0266c239 usb: gadget: f_uac2: clean up some inconsistent indenting
    07609e83c1b9 soc: fsl: select FSL_GUTS driver for DPIO
    3998dc50ebdc mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region()
    cd698131ef5d usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS
    6087747599ec platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes
    d4441b810bd8 perf/arm_pmu_platform: fix tests for platform_get_irq() failure
    55032fb14d4a net: dsa: hellcreek: Print warning only once
    985a5d3d491d drm/amd/amdgpu: skip ucode loading if ucode_size == 0
    a1347be8f0ff nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change()
    3d380f9d1e2b Input: iforce - add support for Boeder Force Feedback Wheel
    b9682878abee ieee802154: cc2520: add rc code in cc2520_tx()
    3a10e8edee2b gpio: mockup: remove gpio debugfs when remove device
    b4ebcd6d48bc tg3: Disable tg3 device on system reboot to avoid triggering AER
    f715188c23fa hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message
    a86c8d1b36a9 HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo
    2e3aeb48995a dt-bindings: iio: gyroscope: bosch,bmg160: correct number of pins
    1b80691d5115 drm/msm/rd: Fix FIFO-full deadlock
    a9687a2dc7e1 platform/surface: aggregator_registry: Add support for Surface Laptop Go 2
    49801d5f8b67 Input: goodix - add support for GT1158
    709edbac4c45 iommu/vt-d: Fix kdump kernels boot failure with scalable mode
    90f922646f57 tracefs: Only clobber mode/uid/gid on remount if asked
    3c90af5a773a tracing: hold caller_addr to hardirq_{enable,disable}_ip
    64840a4a2d8e task_stack, x86/cea: Force-inline stack helpers
    0b009e5fd146 x86/mm: Force-inline __phys_addr_nodebug()
    f9571a969973 lockdep: Fix -Wunused-parameter for _THIS_IP_
    dee782da3937 ARM: dts: at91: sama7g5ek: specify proper regulator output ranges
    424ac5929d0a ARM: dts: at91: fix low limit for CPU regulator
    8be25fa7cfd6 ARM: dts: imx6qdl-kontron-samx6i: fix spi-flash compatible
    78eb5e326a0e ARM: dts: imx: align SPI NOR node name with dtschema
    3bb12efc5e4d ACPI: resource: skip IRQ override on AMD Zen platforms
    a68a734b19af NFS: Fix WARN_ON due to unionization of nfs_inode.nrequests

(From OE-Core rev: fbc8840580fe008c2deda50c0d2d5a98e9b6c564)

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>
2022-10-26 12:28:39 +01:00
Bruce Ashfield
95a5ca3126 linux-yocto/5.19: update to v5.19.14
Updating  to the latest korg -stable release that comprises
the following commits:

    30c780ac0f9f Linux 5.19.14
    b11cc6399c56 damon/sysfs: fix possible memleak on damon_sysfs_add_target
    381eae6b1dc3 x86/alternative: Fix race in try_get_desc()
    1e624467e41f x86/cacheinfo: Add a cpu_llc_shared_mask() UP variant
    b1bad76d6a18 KVM: x86: Hide IA32_PLATFORM_DCA_CAP[31:0] from the guest
    f45380a17be5 perf tests record: Fail the test if the 'errs' counter is not zero
    77d5e98fb6f0 perf test: Fix test case 87 ("perf record tests") for hybrid systems
    b781430cd770 net: ethernet: mtk_eth_soc: fix mask of RX_DMA_GET_SPORT{,_V2}
    c81bca132fc6 net: mscc: ocelot: fix tagged VLAN refusal while under a VLAN-unaware bridge
    79a55020c989 clk: imx93: drop of_match_ptr
    539cc4ac04f8 clk: iproc: Do not rely on node name for correct PLL setup
    61560f315371 drm/i915/gt: Perf_limit_reasons are only available for Gen11+
    b1dd83f321dc clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
    3e8d61faead0 vdpa/mlx5: Fix MQ to support non power of two num queues
    b3b8359fafb4 virtio-blk: Fix WARN_ON_ONCE in virtio_queue_rq()
    bffdf0421ba8 vdpa/ifcvf: fix the calculation of queuepair
    9f9687bfd884 ice: xsk: drop power of 2 ring size restriction for AF_XDP
    01c2475d0c21 ice: xsk: change batched Tx descriptor cleaning
    dcf42724aacb selftests: Fix the if conditions of in test_extra_filter()
    929a2f6e93a8 net: phy: Don't WARN for PHY_UP state in mdio_bus_phy_resume()
    07eb54aa93d7 net: stmmac: power up/down serdes in stmmac_open/release
    ec1a5138428f wifi: mac80211: fix memory corruption in minstrel_ht_update_rates()
    a84813338208 wifi: mac80211: fix regression with non-QoS drivers
    3afc354e1084 wifi: cfg80211: fix MCS divisor value
    e8027e26ad58 nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
    ab3abb72bec2 net/mlxbf_gige: Fix an IS_ERR() vs NULL bug in mlxbf_gige_mdio_probe
    8b1d17a8d8ba cxgb4: fix missing unlock on ETHOFLD desc collect fail path
    3687a0c03863 net: sched: act_ct: fix possible refcount leak in tcf_ct_init()
    75b276c0537e usbnet: Fix memory leak in usbnet_disconnect()
    1a39d83193c6 perf parse-events: Remove "not supported" hybrid cache events
    44ff610a3cd4 perf print-events: Fix "perf list" can not display the PMU prefix for some hybrid cache events
    c4a07387a4b0 perf parse-events: Break out tracepoint and printing
    9ac8b5bae9f2 gpio: mvebu: Fix check for pwm support on non-A8K platforms
    314df2265c04 Input: melfas_mip4 - fix return value check in mip4_probe()
    3cd81a694233 Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"
    e126ad29ec71 net: macb: Fix ZynqMP SGMII non-wakeup source resume failure
    5c94fcc0e87f drm/bridge: lt8912b: fix corrupted image output
    6fe84153067b drm/bridge: lt8912b: set hdmi or dvi mode
    8d2b780e1ed6 drm/bridge: lt8912b: add vsync hsync
    18bf2334b0b3 ASoC: tas2770: Reinit regcache on reset
    a0977f22b8a7 arm64: dts: qcom: sm8350: fix UFS PHY serdes size
    2c8028dd3f8a clk: microchip: mpfs: make the rtc's ahb clock critical
    ab5081ce9f9c clk: microchip: mpfs: fix clk_cfg array bounds violation
    8e8516fe1a64 ASoC: imx-card: Fix refcount issue with of_node_put
    1317541f0dae soc: sunxi: sram: Fix debugfs info for A64 SRAM C
    450080540800 soc: sunxi: sram: Fix probe function ordering issues
    e4768a5b0a30 soc: sunxi: sram: Prevent the driver from being unbound
    44a9633e9e16 soc: sunxi: sram: Actually claim SRAM regions
    24d6230edfc2 ARM: dts: am5748: keep usb4_tm disabled
    6f1364939969 reset: imx7: Fix the iMX8MP PCIe PHY PERST support
    38d9f71a04c2 ARM: dts: am33xx: Fix MMCHS0 dma properties
    3cf3c17fd66f media: v4l2-compat-ioctl32.c: zero buffer passed to v4l2_compat_get_array_args()
    fa20a7dcd56b media: mediatek: vcodec: Drop platform_get_resource(IORESOURCE_IRQ)
    b901652568f3 media: rkvdec: Disable H.264 error detection
    3a35e67f6b29 media: dvb_vb2: fix possible out of bound access
    e88a7c1831d4 mm,hwpoison: check mm when killing accessing process
    fcc9261c2b5f mm/hugetlb: correct demote page offset logic
    f9cedf6b357e mm: bring back update_mmu_cache() to finish_fault()
    3094c01fb1e3 mm: fix madivse_pageout mishandling on non-LRU page
    edbaf99db91b mm/migrate_device.c: copy pte dirty bit to page
    e85ab5ae17bd mm/migrate_device.c: add missing flush_cache_page()
    ca7d59a4b5f3 mm/migrate_device.c: flush TLB while holding PTL
    82a00edf23e4 mm: fix dereferencing possible ERR_PTR
    a346ba002906 mm/page_isolation: fix isolate_single_pageblock() isolation behavior
    faee7721e795 mm: prevent page_frag_alloc() from corrupting the memory
    0cddc19ddb05 mm/page_alloc: fix race condition between build_all_zonelists and page allocation
    437484d936ac mm: gup: fix the fast GUP race against THP collapse
    c6e2a0587215 mmc: hsq: Fix data stomping during mmc recovery
    1209607a7133 mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
    b41808bfa049 mptcp: fix unreleased socket in accept queue
    5368d1a17ec5 mptcp: factor out __mptcp_close() without socket lock
    16220537557a mm: fix BUG splat with kvmalloc + GFP_ATOMIC
    2c5a04961201 libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
    38d854c4a11c vduse: prevent uninitialized memory accesses
    4a1230f34f06 drm/amdgpu: Add amdgpu suspend-resume code path under SRIOV
    5af714ceebae drm/i915/gt: Restrict forced preemption to the active context
    193153f7cc2a powerpc/64s/radix: don't need to broadcast IPI for radix pmd collapse flush
    a129cce68908 Revert "firmware: arm_scmi: Add clock management to the SCMI power domain"
    b48abca42e0a net: mt7531: only do PLL once after the reset
    1f4ceb7daf36 mm/damon/dbgfs: fix memory leak when using debugfs_lookup()
    decf4f5c01a8 x86/uaccess: avoid check_object_size() in copy_from_user_nmi()
    9653cc040a7d ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
    d0ebc7ef65e3 ARM: dts: integrator: Tag PCI host with device_type
    76335c4156ed frontswap: don't call ->init if no ops are registered
    26a1ca1f9fbb x86/sgx: Do not fail on incomplete sanitization on premature stop of ksgxd
    19f89548ed86 wifi: mac80211: ensure vif queues are operational after start
    d87926a7448c clk: ingenic-tcu: Properly enable registers before accessing timers
    179fd43179a1 can: c_can: don't cache TX messages for C_CAN cores
    983dd7223a9b Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address
    6aac871bca33 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
    266ee6ee24ea thunderbolt: Explicitly reset plug events delay back to USB4 spec value
    d916978b6976 usb: typec: ucsi: Remove incorrect warning
    1d54281c91d7 uas: ignore UAS for Thinkplus chips
    be014a8d8925 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
    4a66ab5bfaea uas: add no-uas quirk for Hiksemi usb_disk
    a3ed03b3ce4d counter: 104-quad-8: Fix skipped IRQ lines during events configuration
    036eeda2212a counter: 104-quad-8: Implement and utilize register structures
    c096ac781807 counter: 104-quad-8: Utilize iomap interface
    640e0b97dfa9 perf record: Fix cpu mask bit setting for mixed mmaps
    bcd04b006c78 tools/perf: Fix out of bound access to cpu mask array
    d948e6c57793 riscv: make t-head erratas depend on MMU
    1bae99844613 Linux 5.19.13
    781e43179640 Revert "drm/i915: Extract intel_edp_fixup_vbt_bpp()"
    da42e25ec54a Revert "drm/i915/pps: Split pps_init_delays() into distinct parts"
    5f86062caf4d Revert "drm/i915/bios: Split parse_driver_features() into two parts"
    3f2631ce3c8f Revert "drm/i915/bios: Split VBT parsing to global vs. panel specific parts"
    139d38c14725 Revert "drm/i915/bios: Split VBT data into per-panel vs. global parts"
    10c7b3919e6d Revert "drm/i915/dsi: filter invalid backlight and CABC ports"
    bef6a9b54730 Revert "drm/i915/dsi: fix dual-link DSI backlight and CABC ports for display 11+"
    9182c86a0456 Revert "drm/i915/display: Fix handling of enable_psr parameter"
    58df6af8cea3 Linux 5.19.12
    547262c5b373 ext4: make directory inode spreading reflect flexbg size
    cdefe8dd61c9 ext4: fixup possible uninitialized variable access in ext4_mb_choose_next_group_cr1()
    48a12961e800 Revert "block: freeze the queue earlier in del_gendisk"
    398a0fdb38d9 ext4: use buckets for cr 1 block scan instead of rbtree
    52e8d671393c ext4: use locality group preallocation for small closed files
    405a609430a6 ext4: avoid unnecessary spreading of allocations among groups
    b82d312ff30f ext4: make mballoc try target group first even with mb_optimize_scan
    17eb9845f20f ext4: limit the number of retries after discarding preallocations blocks
    2f5e9de15e4f ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0
    034ef0c47e31 devdax: Fix soft-reservation memory description
    27d5563e8f5f Makefile.debug: re-enable debug info for .S files
    6ba8627f72a4 Makefile.debug: set -g unconditional on CONFIG_DEBUG_INFO_SPLIT
    c4f8b89f3ffc certs: make system keyring depend on built-in x509 parser
    c2eab6faf82b drm/amdgpu: don't register a dirty callback for non-atomic
    7f0dcbb0e557 i2c: mux: harden i2c_mux_alloc() against integer overflows
    4925e5e94ae9 i2c: mlxbf: Fix frequency calculation
    3b5ab5fbe69e i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()
    5a7547ee0d24 i2c: mlxbf: incorrect base address passed during io write
    e46e177fd8ed i2c: imx: If pm_runtime_get_sync() returned 1 device access is possible
    c9245ea442a8 workqueue: don't skip lockdep work dependency in cancel_work_sync()
    60644dffac87 fsdax: Fix infinite loop in dax_iomap_rw()
    8054beba353b pmem: fix a name collision
    c62322e62662 gpio: mt7621: Make the irqchip immutable
    2d57e46fa45b drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
    4822afcff82c drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage
    6f14c55dc8e7 drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule()
    8836e42e8b00 drm/amd/display: Reduce number of arguments of dml31's CalculateWatermarksAndDRAMSpeedChangeSupport()
    88e7896936e0 drm/amd/display: Limit user regamma to a valid value
    9757b3ad4498 drm/amdgpu: Skip reset error status for psp v13_0_0
    83dfcae61be8 drm/amdgpu: add HDP remap functionality to nbio 7.7
    386ca6720b34 drm/amdgpu: change the alignment size of TMR BO to 1M
    8442bc8426d1 drm/amdgpu: use dirty framebuffer helper
    444574f828cd drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
    a5de08013672 gpio: ixp4xx: Make irqchip immutable
    7718cac88524 drm/gma500: Fix (vblank) IRQs not working after suspend/resume
    55c077d97fa6 drm/gma500: Fix WARN_ON(lock->magic != lock) error
    a6ed7624bf4d drm/gma500: Fix BUG: sleeping function called from invalid context errors
    9812e9ed3419 Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region
    98756ca2584e block: Do not call blk_put_queue() if gendisk allocation fails
    2f092fd2ce24 block: call blk_mq_exit_queue from disk_release for never added disks
    47f57236ba40 blk-mq: fix error handling in __blk_mq_alloc_disk
    0d0f5ca7f241 drm/i915/display: Fix handling of enable_psr parameter
    650a2e79d176 s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
    54be62deede4 phy: marvell: phy-mvebu-a3700-comphy: Remove broken reset support
    1e9571887f97 cgroup: cgroup_get_from_id() must check the looked-up kn is a directory
    a899ba61958e serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting
    f986bfe60020 serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting
    f387ca14c73f serial: Create uart_xmit_advance()
    dc4b06e21691 serial: fsl_lpuart: Reset prior to registration
    f3f5f26c53ef io_uring: ensure that cached task references are always put on exit
    b4b3bc3f8501 selftests: forwarding: add shebang for sch_red.sh
    32afa1f23e42 bnxt: prevent skb UAF after handing over to PTP worker
    0559d91ee3a2 net: sched: fix possible refcount leak in tc_new_tfilter()
    9fc7a9f0a6e9 net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD
    2c8e8ab53acf bonding: fix NULL deref in bond_rr_gen_slave_id
    6c537124ea61 net: phy: micrel: fix shared interrupt on LAN8814
    32ac8c92919c net/smc: Stop the CLC flow if no link to map buffers on
    56c167a564b6 ice: Fix ice_xdp_xmit() when XDP TX queue number is not sufficient
    b65c53369786 drm/mediatek: dsi: Move mtk_dsi_stop() call back to mtk_dsi_poweroff()
    6acb3e83b508 perf tools: Honor namespace when synthesizing build-ids
    ee7036166b91 perf kcore_copy: Do not check /proc/modules is unchanged
    e71a088d6a97 perf jit: Include program header in ELF files
    306c17dead99 perf stat: Fix cpu map index in bperf cgroup code
    98992697b30b perf stat: Fix BPF program section name
    031b4f40487e can: gs_usb: gs_can_open(): fix race dev->can.state condition
    18979d10300e gpio: tqmx86: fix uninitialized variable girq
    16189cccd46e net: sh_eth: Fix PHY state warning splat during system resume
    199ddf9d3726 net: ravb: Fix PHY state warning splat during system resume
    235c47f437a1 netfilter: nf_ct_ftp: fix deadlock when nat rewrite is needed
    38cf372b17f0 netfilter: ebtables: fix memory leak when blob is malformed
    985b031667c3 netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()
    8bcad2a93131 netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
    d8d9a6995858 ice: Fix interface being down after reset with link-down-on-close flag on
    c14cdf15cde3 ice: config netdev tc before setting queues number
    dff2fa324207 net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs
    c7c9c7eb305a net/sched: taprio: avoid disabling offload when it was never enabled
    68a5def1d2c8 ipv6: Fix crash when IPv6 is administratively disabled
    23022b74b1a2 net: enetc: deny offload of tc-based TSN features on VF interfaces
    2fdebdfcd98f net: enetc: move enetc_set_psfp() out of the common enetc_set_features()
    92f7d44de3be wireguard: netlink: avoid variable-sized memcpy on sockaddr
    3b263cc13340 wireguard: ratelimiter: disable timings test by default
    a4eadca702df sfc/siena: fix null pointer dereference in efx_hard_start_xmit
    b454f12cfedd sfc/siena: fix TX channel offset when using legacy interrupts
    c9ba2948db9d net: ipa: properly limit modem routing table use
    506638752e92 of: mdio: Add of_node_put() when breaking out of for_each_xx
    68197205b3f6 drm/hisilicon: Add depends on MMU
    6201c365a0ef gve: Fix GFP flags when allocing pages
    e969486525be bnxt_en: fix flags to check for supported fw version
    b3b952168ee1 sfc: fix null pointer dereference in efx_hard_start_xmit
    5f623a77cfc2 sfc: fix TX channel offset when using legacy interrupts
    b6bea8101f97 netdevsim: Fix hwstats debugfs file permissions
    0b145d3da801 i40e: Fix set max_tx_rate when it is lower than 1 Mbps
    ab1af66d4de9 i40e: Fix VF set max MTU size
    2ffdf364b845 iavf: Fix set max MTU size with port VLAN and jumbo frames
    36da184d2196 mlxbf_gige: clear MDIO gateway lock after read
    c3f9f3089ed5 iavf: Fix bad page state
    3b27f829b7f6 um: fix default console kernel parameter
    f8c3861243be MIPS: Loongson32: Fix PHY-mode being left unspecified
    7c1f2373be0a MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko
    c673c6ceac53 mm/slab_common: fix possible double free of kmem_cache
    183b87c4d18d drm/panel: simple: Fix innolux_g121i1_l01 bus_format
    88b08afb0d80 net: team: Unsync device addresses on ndo_stop
    a4761e45c86c net: bonding: Unsync device addresses on ndo_stop
    b1b48d9e60cb net: bonding: Share lacpdu_mcast_addr definition
    38aa25adcd4d scsi: mpt3sas: Fix return value check of dma_get_required_mask()
    6a4236ed47f5 scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts()
    16b5647f1a55 arm64: dts: imx8mp-venice-gw74xx: fix port/phy validation
    af0c754d4f60 net: phy: aquantia: wait for the suspend/resume operations to finish
    26735f395b30 ARM: dts: lan966x: Fix the interrupt number for internal PHYs
    d5241ea15778 arm64: dts: imx8mp-venice-gw74xx: fix ksz9477 cpu port
    f675f5955ab8 arm64: dts: imx8mp-venice-gw74xx: fix CAN STBY polarity
    392bd6ce1ba9 drm/mediatek: Fix wrong dither settings
    fc8454d54478 arm64: dts: tqma8mqml: Include phy-imx8-pcie.h header
    31ce3c688ddc wifi: iwlwifi: Mark IWLMEI as broken
    9fe1e2da965a net: core: fix flow symmetric hash
    b583e6b25bf9 ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header
    0ad4e4f4d1c4 iavf: Fix cached head and tail value for iavf_get_tx_pending
    7c945e5b4787 ice: Fix crash by keep old cfg when update TCs more than queues
    149979e87eb7 ice: Don't double unplug aux on peer initiated reset
    633c81c04496 netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
    510ea9eae5ee netfilter: nf_conntrack_irc: Tighten matching on DCC message
    f28e376e4c1e netfilter: nf_conntrack_sip: fix ct_sip_walk_headers
    5f394e885eaf arm64: dts: imx8mm-verdin: extend pmic voltages
    3e39beb4efa5 arm64: dts: rockchip: Remove 'enable-active-low' from rk3566-quartz64-a
    efd3a3e464c6 arm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma
    9350ed92dfe0 arm64: dts: rockchip: fix property for usb2 phy supply on rk3568-evb1-v10
    5e6d95bd6c9d arm64: dts: rockchip: fix property for usb2 phy supply on rock-3a
    a17df55bf6d5 dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get()
    869c94dfd900 arm64: dts: imx8ulp: add #reset-cells for pcc
    f478a456a30d arm64: dts: imx8mn: remove GPU power domain reset
    124c330f4071 arm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHz
    9182be042c3e arm64: dts: imx8mm: Reverse CPLD_Dn GPIO label mapping on MX8Menlo
    164f2c710a78 drm/mediatek: dsi: Add atomic {destroy,duplicate}_state, reset callbacks
    87d4bdeacff8 arm64: dts: rockchip: Fix typo in lisense text for PX30.Core
    8a906e3a18bb arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob
    6b8c338e1b88 arm64: dts: rockchip: Lower sd speed on quartz64-b
    daacedde25f0 firmware: arm_scmi: Fix the asynchronous reset requests
    8e65edf0d376 firmware: arm_scmi: Harden accesses to the reset domains
    e31fa6648542 batman-adv: Fix hang up with small MTU hard-interface
    117737acc4b3 vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment
    bb6d99e27cbe arm64: topology: fix possible overflow in amu_fie_setup()
    42c7fc41020c perf/arm-cmn: Add more bits to child node address offset field
    7a764b44d346 KVM: x86: Inject #UD on emulated XSETBV if XSAVES isn't enabled
    eec722138aee KVM: x86: Always enable legacy FP/SSE in allowed user XFEATURES
    c5f118361297 KVM: x86: Reinstate kvm_vcpu_arch.guest_supported_xcr0
    df6cb39335cf mm: slub: fix flush_cpu_slab()/__free_slab() invocations in task context.
    02bcd951aa3c mm/slub: fix to return errno if kmalloc() fails
    cbaddace599e net: mana: Add rmb after checking owner bits
    7221020d79cc can: flexcan: flexcan_mailbox_read() fix return value for drop = true
    b6c2ad616dd4 kasan: call kasan_malloc() from __kmalloc_*track_caller()
    dc8864f4fd01 xen/xenbus: fix xenbus_setup_ring()
    f799e0568d6c drm/i915/gem: Really move i915_gem_context.link under ref protection
    92881e068ee1 drm/i915/gem: Flush contexts on driver release
    08ac12569010 riscv: fix RISCV_ISA_SVPBMT kconfig dependency warning
    558003a84a3c riscv: fix a nasty sigreturn bug...
    b1489043d3b9 gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
    41f857033c44 gpio: mockup: Fix potential resource leakage when register a chip
    af0bfabf06c7 gpio: mockup: fix NULL pointer dereference when removing debugfs
    74ce6f1e0f3b wifi: mt76: fix reading current per-tid starting sequence number for aggregation
    1dd2a948a178 efi: libstub: check Shim mode using MokSBStateRT
    96dc4e2c5283 efi: x86: Wipe setup_data on pure EFI boot
    7a27a04f4ef6 thunderbolt: Add support for Intel Maple Ridge single port controller
    d6f28143bccb usb: dwc3: core: leave default DMA if the controller does not support 64-bit DMA
    af830c831d40 media: flexcop-usb: fix endpoint type check
    53b48f0672d5 libperf evlist: Fix polling of system-wide events
    eecada16bcc4 btrfs: zoned: wait for extent buffer IOs before finishing a zone
    c338bea1fec5 btrfs: fix hang during unmount when stopping a space reclaim worker
    cf7769a47e65 btrfs: fix hang during unmount when stopping block group reclaim worker
    17244f71765d exfat: fix overflow for large capacity partition
    2e238bba8a7e iommu/vt-d: Check correct capability for sagaw determination
    ecec349af8c7 ALSA: hda/realtek: Add a quirk for HP OMEN 16 (8902) mute LED
    28e07bb27ba4 ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop
    1f65164bc605 ALSA: hda/realtek: Add quirk for ASUS GA503R laptop
    0632fb7f2158 ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack
    76b75705c941 ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack
    2035227cd000 ALSA: hda/realtek: Re-arrange quirk table entries
    3637770602ac ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5570 laptop
    73c4ae35ff11 ALSA: hda/realtek: Add quirk for Huawei WRT-WX9
    61c19a35f0d2 ALSA: hda: add Intel 5 Series / 3400 PCI DID
    d6cb6e424a60 ALSA: hda: Fix Nvidia dp infoframe
    6e91ec54e7f1 ALSA: hda: Fix hang at HD-audio codec unbinding due to refcount saturation
    abb050dabd7d ALSA: hda/tegra: set depop delay for tegra
    1c5a0a1f4d15 ALSA: core: Fix double-free at snd_card_new()
    e0e17c7bbdf4 Revert "ALSA: usb-audio: Split endpoint setups for hw_params and prepare"
    d744140498a3 USB: serial: option: add Quectel RM520N
    3db2ec3a6724 USB: serial: option: add Quectel BG95 0x0203 composition
    e82a8ff62709 USB: core: Fix RST error in hub.c
    fd0b4fd54892 drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
    2e7eb4c1e8af scsi: core: Fix a use-after-free
    d27b66257db1 block: simplify disk shutdown
    fdb28e968815 block: stop setting the nomerges flags in blk_cleanup_queue
    ab85cb5297f7 block: remove QUEUE_FLAG_DEAD
    633e819de9fa xfrm: fix XFRMA_LASTUSED comment
    2776911d4a98 Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio"
    8039621a78e5 Revert "usb: add quirks for Lenovo OneLink+ Dock"
    7c64dd4dbf90 smb3: use filemap_write_and_wait_range instead of filemap_write_and_wait
    c7ae5c403d68 usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
    9b56515aeeff usb: add quirks for Lenovo OneLink+ Dock
    0cdde8460c30 smb3: fix temporary data corruption in insert range
    49523a473220 smb3: fix temporary data corruption in collapse range
    cc914c37e55f smb3: Move the flush out of smb2_copychunk_range() into its callers
    f6bb739e61eb drm/i915/dsi: fix dual-link DSI backlight and CABC ports for display 11+
    d9d2625dafe2 drm/i915/dsi: filter invalid backlight and CABC ports
    fc6aff984b1c drm/i915/bios: Split VBT data into per-panel vs. global parts
    2af21ae876cf drm/i915/bios: Split VBT parsing to global vs. panel specific parts
    5da3f1bfb88e drm/i915/bios: Split parse_driver_features() into two parts
    ad719d5cc7cb drm/i915/pps: Split pps_init_delays() into distinct parts
    a0f7cdd69ca3 drm/i915: Extract intel_edp_fixup_vbt_bpp()
    fcf22aefe871 Linux 5.19.11
    4d8637f1d672 Revert "iommu/vt-d: Fix possible recursive locking in intel_iommu_init()"
    36371c3adb7a ALSA: hda/sigmatel: Fix unused variable warning for beep power change
    ddd2edc276e0 ALSA: hda/sigmatel: Keep power up while beep is enabled
    99bc25748e39 cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
    7051efc07d72 dt-bindings: apple,aic: Fix required item "apple,fiq-index" in affinity description
    20b3f49e9498 net: Find dst with sk's xfrm policy not ctl_sk
    e68db1a89fc9 drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega
    9189056c223b drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega
    989d23d88520 drm/amdgpu: Don't enable LTR if not supported
    e6189420e34f drm/amdgpu: make sure to init common IP before gmc
    dd52bde6767e drm/i915: Set correct domains values at _i915_vma_move_to_active
    871b9d5c68d8 drm/i915/gt: Fix perf limit reasons bit positions
    b31c81d633d8 tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa
    ac12a96d1d35 parisc: Allow CONFIG_64BIT with ARCH=parisc
    46c716a31fcd blk-lib: fix blkdev_issue_secure_erase
    c2c7f67fd12d cifs: always initialize struct msghdr smb_msg completely
    eea8626615a0 cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
    2c3f439480c0 cifs: revalidate mapping when doing direct writes
    d50c30b66f04 io_uring/msg_ring: check file type before putting
    6f5ceeb59d09 of/device: Fix up of_dma_configure_id() stub
    6ebcd3a8f5d2 parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()
    248c48ced209 block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowait
    d31efde8d45d drm/i915/guc: Cancel GuC engine busyness worker synchronously
    6731a2193bc8 drm/i915/guc: Don't update engine busyness stats too frequently
    b0dc9560acd2 drm/i915/vdsc: Set VDSC PIC_HEIGHT before using for DP DSC
    fc689a286139 drm/rockchip: vop2: Fix eDP/HDMI sync polarities
    ca52cf493f97 drm/meson: Fix OSD1 RGB to YCbCr coefficient
    e681b2df3ad4 drm/meson: Correct OSD1 global alpha value
    99ed392209cc drm/panel-edp: Fix delays for Innolux N116BCA-EA1
    c60087415670 Revert "SUNRPC: Remove unreachable error condition"
    4d9f296e78b0 NFSv4.2: Update mode bits after ALLOCATE and DEALLOCATE
    2f0a154b16ab gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
    51e024dcaf08 NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0
    dce19409fb74 SUNRPC: Fix call completion races with call_decode()
    fe0a6a2369d8 pinctrl: sunxi: Fix name for A100 R_PIO
    4b1366bf4ed1 pinctrl: rockchip: Enhance support for IRQ_TYPE_EDGE_BOTH
    8e33176cd475 pinctrl: qcom: sc8180x: Fix wrong pin numbers
    50207584d3f5 pinctrl: qcom: sc8180x: Fix gpio_wakeirq_map
    2133f4513116 of: fdt: fix off-by-one error in unflatten_dt_nodes()
    b80678c1e00a Linux 5.19.10
    0541ab4d0330 Input: goodix - add compatible string for GT1158
    693ccecee083 RDMA/irdma: Use s/g array in post send only when its valid
    1989b17301f8 gpio: 104-idio-16: Make irq_chip immutable
    b240650a6600 gpio: 104-dio-48e: Make irq_chip immutable
    e18b2e3310f0 LoongArch: Fix arch_remove_memory() undefined build error
    6023efd94e54 LoongArch: Fix section mismatch due to acpi_os_ioremap()
    0b38a5072464 platform/x86: asus-wmi: Increase FAN_CURVE_BUF_LEN to 32
    fe5872fd1684 usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS
    2fdf0a1ff474 platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes
    719b2021d778 perf/arm_pmu_platform: fix tests for platform_get_irq() failure
    3d513ebf8c3b net: dsa: hellcreek: Print warning only once
    c624b5659a28 drm/amd/amdgpu: skip ucode loading if ucode_size == 0
    f566cb9f4057 nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change()
    e8d5aa9c67ed nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM610
    137f1493f151 drm/amd/pm: use vbios carried pptable for all SMU13.0.7 SKUs
    2052738ece42 drm/amdgpu: disable FRU access on special SIENNA CICHLID card
    12c20186d84e Input: iforce - add support for Boeder Force Feedback Wheel
    47e83e6ebf99 ieee802154: cc2520: add rc code in cc2520_tx()
    bc55c1677edb gpio: mockup: remove gpio debugfs when remove device
    35c0b78d0d42 r8152: add PID for the Lenovo OneLink+ Dock
    84d8959393a0 tg3: Disable tg3 device on system reboot to avoid triggering AER
    6b1bcd579fc5 Bluetooth: MGMT: Fix Get Device Flags
    fbb701e51ee2 hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message
    37c3dcfc4730 HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo
    65d983566887 dt-bindings: iio: gyroscope: bosch,bmg160: correct number of pins
    50a1ffa557cf kvm: x86: mmu: Always flush TLBs when enabling dirty logging
    c87f1f99e26e peci: cpu: Fix use-after-free in adev_release()
    f25a547e7c76 drm/msm/rd: Fix FIFO-full deadlock
    df01ac6582e1 platform/surface: aggregator_registry: Add support for Surface Laptop Go 2
    f05939158a41 Input: goodix - add support for GT1158
    37c81d9f1d1b ACPI: resource: skip IRQ override on AMD Zen platforms
    f26649e59b4f RDMA/mlx5: Fix UMR cleanup on error flow of driver init
    d8f7bff9a426 RDMA/mlx5: Add a umr recovery flow
    ada0ccc4a137 RDMA/mlx5: Rely on RoCE fw cap instead of devlink when setting profile
    ddc58af02675 net/mlx5: Use software VHCA id when it's supported
    630a75548b88 net/mlx5: Introduce ifc bits for using software vhca id
    3bd8fdde3826 iommu/vt-d: Fix kdump kernels boot failure with scalable mode

(From OE-Core rev: 396b40b0b1e52fc12c0e171734fba190edfaf671)

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>
2022-10-26 12:28:39 +01:00
Bruce Ashfield
4c9b5da26b kern-tools: fix relative path processing
The previous fix for processing of paths with relative components, broke
uses cases that were a mix of patches and configuration fragments.

Updating the SRCREV to include a simplied fix for relative paths, and
a cleanup patch from Jose:

[
  Author: Jose Quaresma <quaresma.jose@gmail.com>
  Date:   Thu Sep 29 16:37:23 2022 +0000

      scc: only look for error in scc_output_file if it has valid content

      When process_file function fails the output of the processed script is show to
      the user, some parsing is performed as well to look for common errors so we
      can point to the right input file.

      This can only be done when the scc_output_file have some valid content
      otherwise it will show invalid messages to the user.

      Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
      Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>

  Author: Bruce Ashfield <bruce.ashfield@gmail.com>
  Date:   Wed Oct 5 19:13:33 2022 +0000

      spp: ensure that prefix check uses absolute paths

      The previous fix for this issue was too broad, and impacted
      all calls to the prefix check and removal. With this change,
      we only expand the input on scc/spp operations that may
      execute with relative paths.

      Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 533720a1756454447341769c4a0969fce8d6f287)

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>
2022-10-26 12:28:39 +01:00
Mingli Yu
e6dc71b413 grub: disable build on armv7ve/a with hardfp
The commit(75dbdea940 grub: Allow build on armv7ve/a with softfp)
enable build on armv7ve/a with softfp, but it acutally enable
build on armv7ve/a with hardfp altogether and result in below build
failure:
 | checking for compile options to get strict alignment... -mno-unaligned-access
 | checking if compiler generates unaligned accesses... no
 | checking if C symbols get an underscore after compilation... no
 | checking whether target compiler is working... no
 | configure: error: cannot compile for the target

So update the check to disable build on armv7ve/a with hardfp.

(From OE-Core rev: f67b2880fc2cfb21f51216c63b5f24d0524b4278)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Khem Raj
10ac1595e1 mesa: Add native patch via a variable
This helps override the SRC_URI in entirety if needed by
and overriding recipe

(From OE-Core rev: 42a0cb57503dff5ac2404f83353661fe9f987e5d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Thomas Perrot
d8a5c6551d xserver-xorg: move some recommended dependencies in required
Otherwise, xserver will no longer start when NO_RECOMMENDATIONS = “1”,
because dependencies in XSERVER_RRECOMMENDS are missing.

(From OE-Core rev: bc7bd3953f3896af0db036250cda34bc9ecbb3ac)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Vincent Davis Jr
d7c69492c1 linux-firmware: package amdgpu firmware
Add packages for the firmware required by amdgpu kernel driver.

(From OE-Core rev: 0d7aa21f120a756d1a4fc4ae0be3527b54a58247)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Christian Eggers
27e0442d7b linux-firmware: split rtl8761 firmware
Realtek Bluetooth devices require binary firmware files. Package them
separately in order to avoid installing the full linux-firmware package
on embedded devices.

Affected (end user) products (incomplete list):
- TP-Link UB500
- Logilink BT0054

(From OE-Core rev: fb44eb4feef54f2343c8186809a65dcb9b58a9b2)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Martin Jansa
af4cb16759 vulkan-samples: add lfs=0 to SRC_URI to avoid git smudge errors in do_unpack
* we don't need other_lib/ios/Debug-iphoneos/libSDL2.a from
  https://github.com/KhronosGroup/KTX-Software.git so we can explicitly
  disable LFS here to avoid do_unpack error, bitbake will then use
  GIT_LFS_SKIP_SMUDGE=1 to override smudge setting in gitconfig,
  otherwise we would need bitbake patch to fetch LFS objects from the
  submodules as well

* do_fetch won't fetch LFS objects without explicitly requesting lfs in SRC_URI
  then do_unpack might run git smudge when enabled in .gitconfig (or /etc/gitconfig) with:

[filter "lfs"]
       smudge = git-lfs smudge -- %f
       process = git-lfs filter-process
       required = true
       clean = git-lfs clean -- %f

  and do_unpack fails as in:
  http://errors.yoctoproject.org/Errors/Details/672888/

The default /etc/gitconfig in ubuntu has this added automatically by
git-lfs postinst:

  root@ljama:~# rm /etc/gitconfig
  root@ljama:~# git lfs install --skip-repo --system
  Git LFS initialized.
  root@ljama:~# cat /etc/gitconfig
  [filter "lfs"]
        clean = git-lfs clean -- %f
        smudge = git-lfs smudge -- %f
        process = git-lfs filter-process
        required = true
  root@ljama:~# cat /var/lib/dpkg/info/git-lfs.postinst

  set -e

  # Set up /etc/gitconfig for git-lfs. The --skip-repo option prevents failure if
  # / is a Git repository with existing non-git-lfs hooks.

  git lfs install --skip-repo --system > /dev/null 2>&1

according to
https://changelogs.ubuntu.com/changelogs/pool/universe/g/git-lfs/git-lfs_3.0.2-1/changelog
it was added in:

git-lfs (2.6.0-1) unstable; urgency=medium

  * New upstream release
  * Bump standards version to 4.2.1
  * Add postinst/prerm to set up/remove git-lfs gitconfig

FWIW: vulkan-samples still fail to build with DEBUG_BUILD enabled:
http://errors.yoctoproject.org/Errors/Details/672892/

(From OE-Core rev: b45b1f5dba02a626b7e9040d45198bd17dce4c99)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Ross Burton
92de327c68 zlib: upgrade 1.2.12 -> 1.2.13
Drop a number of patches whicih have been merged upstream.

(From OE-Core rev: 115eb5326dc7f9256d58147b3655cd13d5994cfc)

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>
2022-10-26 12:28:39 +01:00
Ross Burton
607c8f5809 zlib: do out-of-tree builds
zlib supports out-of-tree builds, so do them.

(From OE-Core rev: e8bf682e9ccf2ddce5149f01ba788ca813329221)

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>
2022-10-26 12:28:39 +01:00
wangmy
8965c3a1a6 btrfs-tools: upgrade 5.19.1 -> 6.0
Changelog:
==========
  * fi usage: in tabular output, print total size and slack size
   * mkfs:
      * option -O now accepts values from -R to unify the interface (-R will
	continue to work)
      * zone reset and discard is done in parallel on all devices
      * removed option --leafsize, deprecated long time ago
   * corrupt-block: recalculate checksum when changing generation
   * fixes:
      * convert: fix reserved range detection and overlaps
      * mkfs: fix creating files with reserved inode numbers with --rootdir
      * receive: escape filenames in command attributes
      * fix extent buffer leaks after transaction abort
   * experimental:
      * mkfs: support for block-group-tree (kernel 6.1)
      * fsverity in send (protocol v3, WIP)
      * btrfstune -b converts to block-group-tree
   * other:
      * cleanups, refactoring
      * new and updated tests
      * update documentation

(From OE-Core rev: 46bc09ca18ea4321854450d1fc04faf95f314ad6)

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>
2022-10-26 12:28:39 +01:00
Fabio Estevam
7dc782a8fc go-mod.bbclass: Remove repeated word
The word 'the' appears repeatedly. Remove one occurrence.

(From OE-Core rev: f9c1e43fea5ca119dcba6f57b95d10e78246a491)

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Alex Kiernan
b72193a602 rust: update 1.63.0 -> 1.64.0
Release notes:
  https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html

(From OE-Core rev: 1d81fb264580b96c405075fcfd2a82a6f74b9630)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Adrian Freihofer
9537b02838 buildconf: compare abspath
We have something like ${TOPDIR}/../../poky/meta in the bblayers.conf
file. This does not work without normalizing the path for comparison.

(From OE-Core rev: e0d45bcd34311ae248bac9378f46962198d148ef)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Sergei Zhmylev
36b9f4f3d0 wic: implement binary repeatable disk identifiers
When SOURCE_DATE_EPOCH variable is set, binary repeatable build
is expected. This commit implements reproducable disk identifiers
in such a case using its value as a Random seed.

(From OE-Core rev: 2c0c54e12169e76f16fb3398904bc897a9190397)

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:39 +01:00
Xiangyu Chen
7b3828259c linux-yocto-dev: add qemuarm64
Mark the qemuarm64 as compatible

(From OE-Core rev: fedf90d385d0bf0027c7d6a7c0571170d3b3a4d6)

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>
2022-10-26 12:28:39 +01:00
wangmy
7256b18770 lttng-ust: upgrade 2.13.4 -> 2.13.5
Changelog:
==========
* Fix: bytecode validator: reject specialized load field/context ref instructions
* Fix: bytecode validator: reject specialized load instructions
* Fix: event notification capture: validate buffer length
* Fix: event notification capture error handling
* Fix: lttng-ust-comm: wait on wrong child process
* fix: 'make dist' without javah

(From OE-Core rev: 569d6c271bf782cb4a524603693adbbe3d020f92)

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>
2022-10-26 12:28:39 +01:00
wangmy
bef5a8950d libwpe: upgrade 1.12.3 -> 1.14.0
Changelog:
========
 New API to provide input events to be treated by WebKit as gamepad inputs.
 New API to configure the target refresh rate of view backends.
 New API which allow clients to supply an alternative mechanism for spawning WebKit auxiliary processes.
 New WPE_ENABLE_XKB build option, enabled by default, which can be used to avoid usage of libxkbcommon.

(From OE-Core rev: 6b2125abeb81db7fb26fdc7d7cafec000b345ac4)

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>
2022-10-26 12:28:39 +01:00
wangmy
f81b93b13d libsdl2: upgrade 2.24.0 -> 2.24.1
0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch
refreshed for new version.

(From OE-Core rev: aa45a2fad9ecd5d553c605dc6b3d4cd70d7d7776)

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>
2022-10-26 12:28:38 +01:00
wangmy
1b04d5f415 libksba: upgrade 1.6.0 -> 1.6.2
(From OE-Core rev: 4bef6fc673de958dfbab80bcbc2e0159803b97ee)

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>
2022-10-26 12:28:38 +01:00
wangmy
239a00322d xz: upgrade 5.2.6 -> 5.2.7
(From OE-Core rev: 6f3dd55377092acd896904a3c905cf5c4c772e65)

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>
2022-10-26 12:28:38 +01:00
wangmy
b36d999b7e xkeyboard-config: upgrade 2.36 -> 2.37
(From OE-Core rev: 7dc6e5daddaba17093c85262d9082c07e2c323a7)

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>
2022-10-26 12:28:38 +01:00
wangmy
764d510581 wpebackend-fdo: upgrade 1.12.1 -> 1.14.0
Changelog:
==========
Fixed a crash caused by trying to deallocate already freed graphics buffers in certain situations.

(From OE-Core rev: 0db4627fe8c6f8a0080248052dc06419774cba4f)

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>
2022-10-26 12:28:38 +01:00
wangmy
b4b317ae6b sqlite3: upgrade 3.39.3 -> 3.39.4
(From OE-Core rev: e47b0afdc9d043df510596b25470c77ce178f699)

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>
2022-10-26 12:28:38 +01:00
wangmy
76f1478529 repo: upgrade 2.29.2 -> 2.29.3
(From OE-Core rev: eda59ebc36541c27bcd213f22f3d13e5f415f3f4)

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>
2022-10-26 12:28:38 +01:00
wangmy
a7212a0799 python3-zipp: upgrade 3.8.1 -> 3.9.0
(From OE-Core rev: 82ae10ef28a485231e492aef5e61ee7fbe6626c3)

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>
2022-10-26 12:28:38 +01:00
wangmy
2d8c8b4187 python3-pytz: upgrade 2022.2.1 -> 2022.4
(From OE-Core rev: 09bcf3fa1bbc2f5453894737aef90491672aebb4)

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>
2022-10-26 12:28:38 +01:00
wangmy
c36b45b2ef numactl: upgrade 2.0.15 -> 2.0.16
(From OE-Core rev: 6d9ed8d4b13c2d87dae482bbadef039de050bc9d)

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>
2022-10-26 12:28:38 +01:00
wangmy
3736b98be4 powertop: upgrade 2.14 -> 2.15
0001-src-fix-compatibility-with-ncurses-6.3.patch
removed since it's included in new version.

(From OE-Core rev: da1bb4ac5d3643e0917eb40eb4829557fd63b5d8)

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>
2022-10-26 12:28:38 +01:00
wangmy
a4d438833c libva-utils: upgrade 2.15.0 -> 2.16.0
Changelog:
===========
* trace: print the display being attempted
* ci: upgrade FreeBSD to 13.1
* meson: Search for threads in top-level meson.build
* meson: produce summary() when 0.53.0 is present

(From OE-Core rev: 0d7998b5561315796a711bf8512d30d6a8c279dc)

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>
2022-10-26 12:28:38 +01:00
wangmy
80e7b3d1dc libva: upgrade 2.15.0 -> 2.16.0
Changelog:
===========
    add: Add HierarchicalFlag & hierarchical_level_plus1 for AV1e.
    dep: Update README.md to remove badge links
    dep: Removed waffle-io badge from README to fix broken link
    dep: Drop mailing list, IRC and Slack
    autotools: use wayland-scanner private-code
    autotools: use the wayland-scanner.pc to locate the prog
    meson: use wayland-scanner private-code
    meson: request native wayland-scanner
    meson: use the wayland-scanner.pc to locate the prog
    meson: set HAVE_VA_X11 when applicable
    style:Correct slight coding style in several new commits
    trace: add Linux ftrace mode for va trace
    trace: Add missing pthread_mutex_destroy
    drm: remove no-longer needed X == X mappings
    drm: fallback to drm driver name == va driver name
    drm: simplify the mapping table
    x11: simplify the mapping table
    android: open() with O_CLOEXEC for device fd
    android: remove convoluted open_device() helper
    android: drop va_fool references
    ci: strengthen ci with -Werror
    ci: va/x11/nvctl: fix Wdeprecated-non-prototype on close_display
    ci: add clang-15 coverage and rearrange runners
    ci: upgrade FreeBSD to 13.1

(From OE-Core rev: ccf646a933fb0274a5fe6ab1055cbfc556351ef2)

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>
2022-10-26 12:28:38 +01:00
wangmy
a7873c4f77 libical: upgrade 3.0.14 -> 3.0.15
Changelog:
=========
 Add missing property parameters into libical-glib
 Fix CMake option USE_32BIT_TIME_T actually uses a 32-bit time_t value
 Fix icaltime_as_timet, which returned incorrect results for years >= 2100, to work properly between years 1902 and 10k.
 Fix x-property comma handling and escaping
 Built-in timezones updated to tzdata2022d (now with a VTIMEZONE for each time zone alias)
 Fix fuzzer issues
 Handle unreachable-code compile warnings with clang
 Ensure all vanew_foo() calls finish with (void*)0 (not 0)

(From OE-Core rev: 6092ae3cbe0eaf006db615c6cc3f1692e1cc1df8)

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>
2022-10-26 12:28:38 +01:00
wangmy
b158ae32ed libcap: upgrade 2.65 -> 2.66
(From OE-Core rev: 9040e612084a561b1766bb86c9c002b811eea4c9)

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>
2022-10-26 12:28:38 +01:00
wangmy
ad1e179aed harfbuzz: upgrade 5.1.0 -> 5.3.0
0001-fix-signedness-of-char-in-tests.patch
removed since it's included in new version.

Changelog:
===========
 Don’t add glyphs from dropped MATH or COLR tables to the subset glyphs.
 Map rlig to appropriate AAT feature selectors.
 Update USE data files to latest version.
 Check CBDT extents first before outline tables, to help with fonts that also include an empty glyf table.
 More work towards variable font instancing in the subsetter.
 Subsetter repacker improvements.
 New API:
  +hb_ot_layout_lookup_get_optical_bound()
  +hb_face_builder_sort_tables()

(From OE-Core rev: 1f8b032924af08ead969c2baaf26a66bc2f134b7)

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>
2022-10-26 12:28:38 +01:00
wangmy
b4992b6082 gsettings-desktop-schemas: upgrade 42.0 -> 43.0
Changelog:
=========
- Update default background file extension to webp
- Translation updates
- Add setting for touchpad acceleration profiles
- Add specific schema for trackpoint pointer devices
- Fix description of use-same-proxy setting

(From OE-Core rev: fc3b9cd80aafa448253e50e78aee59f205029e07)

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>
2022-10-26 12:28:38 +01:00
wangmy
b1064661ee gnutls: upgrade 3.7.7 -> 3.7.8
Changelog:
=========
** libgnutls: In FIPS140 mode, RSA signature verification is an approved
   operation if the key has modulus with known sizes (1024, 1280,
   1536, and 1792 bits), in addition to any modulus sizes larger than
   2048 bits, according to SP800-131A rev2.

** libgnutls: gnutls_session_channel_binding performs additional checks when
   GNUTLS_CB_TLS_EXPORTER is requested. According to RFC9622 4.2, the
   "tls-exporter" channel binding is only usable when the handshake is
   bound to a unique master secret (i.e., either TLS 1.3 or extended
   master secret extension is negotiated). Otherwise the function now
   returns error.

** libgnutls: usage of the following functions, which are designed to
   loosen restrictions imposed by allowlisting mode of configuration,
   has been additionally restricted. Invoking them is now only allowed
   if system-wide TLS priority string has not been initialized yet:
gnutls_digest_set_secure
gnutls_sign_set_secure
gnutls_sign_set_secure_for_certs
gnutls_protocol_set_enabled

(From OE-Core rev: 858886aa07d0c2c2ef2489996cc8eca5fbe931fa)

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>
2022-10-26 12:28:38 +01:00
Leon Anavi
694695211f python3-manifest.json: Move urllib to netclient
Move urllib from core to netclient because it imports base64.

(From OE-Core rev: e74ab2c144042b0a9f788b1b15f11b2800e2c7a1)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:38 +01:00
Jeremy Puhlman
b49764df34 qemu-native: Add PACKAGECONFIG option for jack
With libjack-devel or jack-audio-connection-kit-devel, qemu-native
detects the library/header and tries to build with it. Since its
missing from the sysroot, it fails to build.

 -O2 -fPIE -D_REENTRANT -Wno-undef -MD -MQ libcommon.fa.p/audio_jackaudio.c.o
-MF libcommon.fa.p/audio_jackaudio.c.o.d -o libcommon.fa.p/audio_jackaudio.c.o
-c ../qemu-6.2.0/audio/jackaudio.c
| ../qemu-6.2.0/audio/jackaudio.c:34:10: fatal error: jack/jack.h: No such file
or directory
|    34 | #include <jack/jack.h>
|       |          ^~~~~~~~~~~~~
| compilation terminated.

(From OE-Core rev: 27260be388f7f9f324ff405e7d8e254925b4ae90)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:38 +01:00
wangmy
9fc46b86db python3-importlib-metadata: upgrade 4.12.0 -> 5.0.0
Changelog:
#97, #284, #300: Removed compatibility shims for deprecated entry point interfaces.

(From OE-Core rev: 402aa9d5af2a727fcfb8907ed219a0ae302d1aa4)

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>
2022-10-26 12:28:38 +01:00
wangmy
66cdee57c3 python3-git: upgrade 3.1.27 -> 3.1.28
(From OE-Core rev: efdc5f5cdcb717cb1694e7a9f50284d59f5da5ee)

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>
2022-10-26 12:28:38 +01:00
wangmy
05fc042232 u-boot: upgrade 2022.07 -> 2022.10
(From OE-Core rev: c4c010dcf2c8936e685d2933bc32c5753f82ef4c)

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>
2022-10-26 12:28:38 +01:00
wangmy
e5e895670b python3-hatchling: upgrade 1.10.0 -> 1.11.0
(From OE-Core rev: 3ba4735f0aa5ef1535b76f4e87deb7088c86b901)

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>
2022-10-26 12:28:38 +01:00
wangmy
08d4318e2a openssh: upgrade 9.0p1 -> 9.1p1
License-Update: add Kungliga Tekniska Högskolan to copyright holders

(From OE-Core rev: c80a3a7a4a9dc40cbb675777a1ba1481532ecb05)

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>
2022-10-26 12:28:38 +01:00
wangmy
f6d4779384 ifupdown: upgrade 0.8.37 -> 0.8.39
(From OE-Core rev: f0462e3336c7134aeeb2684692732c187971b330)

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>
2022-10-26 12:28:38 +01:00
wangmy
d2efdea923 dbus: upgrade 1.14.0 -> 1.14.4
License-Update: D-Bus changed to dbus.

(From OE-Core rev: 8c2ab4c014807e2d8ad0fded4188578aa05e8c55)

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>
2022-10-26 12:28:38 +01:00
wangmy
bf2454f9ea mtools: upgrade 4.0.40 -> 4.0.41
disable-hardcoded-configs.patch
refreshed for new version

Changelo:
=========
- Made it possible again to have FAT32 filesystems with less
  than 0xfff5 clusters
- Make FAT32 entries 0 and 1 match what windows 10 does
- Misc source code and configure script cleanup

(From OE-Core rev: b19127f0cd0e10c7180c138284b38c97fa9db7af)

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>
2022-10-26 12:28:38 +01:00
wangmy
72191b79d2 meson: upgrade 0.63.2 -> 0.63.3
(From OE-Core rev: 3c87597dcde7676858f76c1066cd87195ecc8aef)

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>
2022-10-26 12:28:38 +01:00
wangmy
bbdc561884 init-system-helpers: upgrade 1.64 -> 1.65.2
(From OE-Core rev: d8bfff1b18ea7c406d6e251f9ef1090a2c8802fb)

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>
2022-10-26 12:28:38 +01:00
Tim Orling
4f5841bb00 python3-poetry-core: upgrade 1.0.8 -> 1.3.2
For changes, see:
https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md#132---2022-10-07

* Update license checksums to reflect current path and vendored
  components.
* Licenses remain Apache-2.0 & BSD-2-Clause & MIT

License-Update: Vendored licenses changed path; current components

(From OE-Core rev: d810e4ea3b8b9769aadd02a931c5825c867fc779)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:38 +01:00
Tim Orling
fc6c0212f6 python3-iso8601: upgrade 1.0.2 -> 1.1.0
e3b4ed3 Release 1.1.0
56da11c missed a comma
fde429d raise ParseError if we get an exception on is_iso8601()
21f5368 Add is_iso8601() function
406db6f Update license years

License-Update: copyright years updated.

(From OE-Core rev: e459e5e91d2ed56dc2c75ed1e1a984a7b99dfcd8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:38 +01:00
Tim Orling
61cb04e5af python3-setuptools-rust: upgrade 1.5.1 -> 1.5.2
1.5.2 (2022-09-19)
Fixed:
* Fix regression in dylib build artifacts not being found since 1.5.0.
  #290
* Fix regression in sdist missing examples and other supplementary
  files since 1.5.0. #291

https://github.com/PyO3/setuptools-rust/blob/main/CHANGELOG.md#152-2022-09-19

(From OE-Core rev: 0cf8aeea74205b71be633afb199bf7ce5afbc938)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:38 +01:00
Tim Orling
49c531b9be python3-sphinx: upgrade 5.1.1 -> 5.2.3
* Now uses flit-core backend (python_flit_core.bbclass)
* Sort RDEPENDS alphabetically to make it easier to see what is present.

For changes see:
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-3-released-sep-30-2022
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-2-released-sep-27-2022
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-0-post0-released-sep-24-2022
https://www.sphinx-doc.org/en/master/changes.html#release-5-2-0-released-sep-24-2022

(From OE-Core rev: 951589b96e8545b13d9c5f8aeb61f85681720088)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:38 +01:00
Tim Orling
85b376ed99 python3-bcrypt: upgrade 3.2.2 -> 4.0.0
* Switch to python_setuptools3_rust.bbclass
* Add crate:// (from cargo bitbake output)
* Manually fix crate:// versions to satisfy cargo

4.0.0
    bcrypt is now implemented in Rust. Users building from source will
need to have a Rust compiler available. Nothing will change for users
downloading wheels.
    We no longer ship manylinux2010 wheels. Users should upgrade to the
latest pip to ensure this doesn’t cause issues downloading wheels on
their platform. We now ship manylinux_2_28 wheels for users on new
enough platforms.
    NUL bytes are now allowed in inputs.

https://github.com/pyca/bcrypt/#400

(From OE-Core rev: 8e0bda7343b526a21ceeede274a8ea53c31e5d2d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Tim Orling
2df5845ee6 python3-pyopenssl: upgrade 22.0.0 -> 22.1.0
22.1.0 (2022-09-25)
Backward-incompatible changes:

    Remove support for SSLv2 and SSLv3.

    The minimum cryptography version is now 38.0.x (and we now pin
releases against cryptography major versions to prevent future breakage)

    The OpenSSL.crypto.X509StoreContextError exception has been
refactored, changing its internal attributes. #1133

Deprecations:

    OpenSSL.SSL.SSLeay_version is deprecated in favor of
OpenSSL.SSL.OpenSSL_version. The constants OpenSSL.SSL.SSLEAY_* are
deprecated in favor of OpenSSL.SSL.OPENSSL_*.

Changes:

    Add OpenSSL.SSL.Connection.set_verify and
OpenSSL.SSL.Connection.get_verify_mode to override the context object’s
verification flags. #1073

    Add OpenSSL.SSL.Connection.use_certificate and
OpenSSL.SSL.Connection.use_privatekey to set a certificate per
connection (and not just per context) #1121.

(From OE-Core rev: 5eb351b7c7445a33a43655a98a53353a665d1616)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Tim Orling
95d115d54b python3-hypothesis: upgrade 6.54.5 -> 6.56.1
For changes see:
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-56-1
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-56-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-55-0
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-54-6

(From OE-Core rev: bad666d6a6932a0a4d861d5ef34bfa4aa53b34ad)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Tim Orling
3f4b5228c5 python3-certifi: upgrade 2022.9.14 -> 2022.9.24
The following certificate was removed:
OU=Serveis Publics de Certificacio/Vegeu
https://www.catcert.net/verarrel (c)03/Jerarquia Entitats de
Certificacio Catalanes

(From OE-Core rev: 4eaeaab8d7df5521c03f21978376f6e771e8d94a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Tim Orling
d27bd39e96 python3-cryptography-vectors: upgrade 37.0.4 -> 38.0.1
For changes, see:
https://github.com/pyca/cryptography/blob/38.0.1/CHANGELOG.rst#3800---2022-09-07
https://github.com/pyca/cryptography/blob/38.0.1/CHANGELOG.rst#3800---2022-09-06

(From OE-Core rev: 72ef41ff705747269d560b062e75d27e241259b1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Tim Orling
0164f95719 python3-cryptography: upgrade 37.0.4 -> 38.0.1
* Drop 0001-Cargo.toml-specify-pem-version.patch, superceded.
* Update crate:// (via cargo bitbake)
* Manually fix crate:// versions to satisfy cargo

Release notes:

38.0.1 - 2022-09-07
  - Fixed parsing TLVs in ASN.1 with length greater than 65535 bytes
    (typically seen in large CRLs).

38.0.0 - 2022-09-06
  - Final deprecation of OpenSSL 1.1.0. The next release of cryptography
    will drop support.
  (For complete release notes, see:
  https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3800---2022-09-06)

(From OE-Core rev: da62314b7149cd53ffb046115b67c5e620f2afe4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Khem Raj
59ba302179 musl: Upgrade to latest master
Following changes are part of this SRCREV uprev

* dc9285ad fix error cases in gethostbyaddr_r
* f9827fc7 remove impossible error case from gethostbyname2_r
* f081d533 fix return value of gethostnbyname[2]_r on result not found
* 1e7fb12f dns: treat names rejected by res_mkquery as nonexistent rather than error
* 001c1afb res_mkquery: error out on consecutive final dots in name
* 3ad3fa96 fix thread leak on timer_create(SIGEV_THREAD) failure
* bf14ef19 re-enable vdso clock_gettime on arm (32-bit) with workaround
* 6f3ead0a process DT_RELR relocations in ldso-startup/static-pie
* 25085c85 fix fwprintf missing output to open_wmemstream FILEs
* a636fd63 dns: fail if ipv6 is disabled and resolv.conf has only v6 nameserves
* 996b6154 use kernel-provided AT_MINSIGSTKSZ for sysconf(_SC_[MIN]SIGSTKSZ)
* 25340a93 add sysconf keys/values for signal stack size
* d8fddb96 fix fallback when ipv6 is disabled but resolv.conf has v6 nameserves
* d4f987e4 epoll_create: fail with EINVAL if size is non-positive
* 2e5fff43 use alt signal stack when present for implementation-internal signals
* 379b1821 ldso: make exit condition clearer in fixup_rpath

(From OE-Core rev: 7a62aad4c32e227a8f5a2365dfb6217efb1f5b70)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Jan-Simon Moeller
19165db0c0 buildtools-tarball: export certificates to python and curl
The custom path of the ca-certificates.crt within the buildtools-tarball requires more
environment variables to be exported. Namely REQUESTS_CA_BUNDLE for the python requests library
and CURL_CA_BUNDLE for curl.

(From OE-Core rev: 5c249db9de8ad8cfe0996ff4fee4c575a5ff1e34)

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Vyacheslav Yurkov
2eb933bb8c overlayfs: Allow not used mount points
When machine configuration defines a mount point, which is not used in
any recipe, allow to fall through and only report a note in the logs.
This can be expected behavior, when a mount point is defined for several
machines, but not used in all of them

(From OE-Core rev: a9c604b5e0d943b5b5f7c8bdd5be730c2abcf866)

Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Maxim Uvarov
2cd51cfe99 wic: bootimg-efi: implement --include-path
--include-path can be used for placing files on ESP,
like dtbs.

(From OE-Core rev: 46ca73f504b0792766dc4d4bbad38beb04ef4ed0)

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Maxim Uvarov
5b0de8447e wic: add UEFI kernel as UEFI stub
Linux kernel can be compiled as UEFI stub and loaded directly
with UEFI firmware without grub or other UEFI shell.

Tested with wic file:
bootloader  --ptable gpt --timeout=0  --append="rootwait"
part /boot --source bootimg-efi --sourceparams="loader=uefi-kernel" \
 --ondisk sda  --fstype=vfat --label bootfs \
  --active --align 1024 --use-uuid
part / --source rootfs --fstype=ext4 --label rootfs \
  --align 1024 --exclude-path boot/ --use-label

(From OE-Core rev: b18025fc8a2dad963b6f4b697e24455f2511b279)

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Ross Burton
5680ba2ca5 lsof: upgrade 4.95.0 -> 4.96.3
(From OE-Core rev: 4eeb2f21155e43af165fa286702f9eb2ebab4343)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Ross Burton
a917f405c7 piglit: upgrade to latest revision
Also disable any attempt at debug splitting/stripping.  Piglit installs
over 2GB of files which we install stripped, so the action of attempting
to split/strip takes a long time and achieves nothing.

(From OE-Core rev: f890cc8e9cae70f10f79dd14ca53ef4d31460a78)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Ross Burton
b5429ef493 pango: upgrade 1.50.9 -> 1.50.10
(From OE-Core rev: 884ce27b9cee231e093fe53192d04133c437404e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Ross Burton
f19307ef41 python3-hatchling: upgrade 1.9.0 -> 1.10.0
(From OE-Core rev: 81ec0c0f9980194e2e8f74b5663e86a27bf9000b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Ross Burton
3841c39c61 acpid: upgrade 2.0.33 -> 2.0.34
(From OE-Core rev: 3990161b6f77a89c95524afa5e2c4ad485bb325f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Teoh Jay Shen
4dc4c214e0 vim: Upgrade 9.0.0598 -> 9.0.0614
Include fixes for CVE-2022-3352.

(From OE-Core rev: 8aa707f80ae1cfe89d5e20ec1f1632a65149aed4)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Peter Kjellerstedt
95cf9e6f2e base-passwd: Update to 3.6.1
Add a patch to support configuring whether SELinux is enabled or not.
Also add a PACKAGECONFIG for SELinux support and enable it if the
"selinux" distro feature is enabled.

Remove two patches that have been applied upstream.

Changes since 3.5.52:
* 5928e85: German (thanks, Helge Kreutzmann)
* 72cb6a6: Remove constraints unnecessary since buster
* 2f71444: Merge branch 'scrub-obsolete' into 'master'
* 5a578e7: Drop Build-Depends: dpkg
* 44f28e1: Apply wrap-and-sort -at
* 1fe0338: Upgrade to debhelper v13
* d77d38c: Simplify some debhelper overrides slightly
* 2143651: Implement SELinux awareness when updating
  /etc/{passwd,group,shadow}
* 0b824ad: improve enforcing handling
* e2f0c03: update-passwd.c: use raw selinux labeles
* 8d45264: selinux_prepare_create_file: return error from
  setfscreatecon_raw
* 2f23448: selinux_after_create_file: save errno
* 6953dd1: update-passwd.c: replace goto error handling
* 32fbf59: cleanup
* 3c3eb67: fixup goto
* 585126f: implement feedback
* 02a366b: users-and-groups: Update copyright years
* 7849c61: users-and-groups: Rename ssh group to _ssh
* 06ed6f4: update-passwd.c: set walk to walk->next before removing
* ef6baea: users-and-groups: Document libvirt group
* 68e02a3: Stop creating the gnats user and group on new installations
* cb6e2a9: Restore Build-Depends sorting
* 0e1afc1: Tidy up whitespace
* 6005a06: Merge branch 'selinux' into 'master'
* 24046cb: Bump version to 3.6.0
* c72aa5d: Make it possible to build without debconf support
* 2a6d16e: Make it possible to disable the generation of the
  documentation
* 60ece0c: Merge branch 'master' into 'master'
* 63d0f94: Add changelog entry
* cbae4a5: update-passwd: add format attribute
* b71eb04: update-passwd: use strict prototypes
* df48ea8: update-passwd: silence potential null dereference
* cddc9df: update-passwd: print filename on fclose error
* d05f8a3: update-passwd: use correct filename in copy_filemodes
* 11e6466: update-passwd: drop t flag from fopen
* 347aeb6: update-passwd: open temporary file exclusively
* a697493: d/salsa-ci.yml: add standard salsa ci configuration
* 2f622f4: configure: replace obsolete macro
* 43ebe64: Add changelog entry
* e1a186b: frozen the group id for crontab, in order to fix #1012622
* 5ce7773: frozen the group id for crontab, closes: #1012622
* 670c2be: Revert "frozen the group id for crontab, closes: #1012622"
* bc1ad19: Revert "Revert "frozen the group id for crontab, closes:
  #1012622""
* 12122c6: Revert "frozen the group id for crontab, in order to fix
  #1012622"
* 0145e8a: Revert "frozen the group id for crontab, closes: #1012622"
* c8125ff: releasing package base-passwd version 3.6.0
* dc157c6: passwd.master: Add _apt user
* e50024c: Merge branch 'misc' into 'master'
* 7fb5ad8: debian/postinst: Fix several shellcheck issues
* 8f07b66: releasing package base-passwd version 3.6.1

(From OE-Core rev: 41a9eb6c3afc6de000eaeb0fbe0c691b6c8d1285)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Kai Kang
f70cd330e3 mesa: only apply patch to fix ALWAYS_INLINE for native
0001-nir-nir_opt_move-fix-ALWAYS_INLINE-compiler-error.patch is not
needed by target mesa any more. But it still fails to compile
mesa-native without this patch when DEBUG_BUILD is enabled on Ubuntu
18.04 with gcc 7.5.0:

| ../mesa-22.1.6/src/compiler/nir/nir_inline_helpers.h: In function ‘nir_opt_move_block’:
| ../mesa-22.1.6/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to
    always_inline ‘src_is_ssa’: indirect function call with a yet undetermined callee
|  src_is_ssa(nir_src *src, void *state)
|  ^~~~~~~~~~

So only apply it for mesa-native.

(From OE-Core rev: c6a6d0c2680799683d58968c2558a224f27caaa2)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Liam Beguin
472919ff8f meson: make wrapper options sub-command specific
The meson-wrapper adds setup options to facilitate cross-compilation.
The current options are exclusive to the setup sub-command and might
cause issues with other sub-commands.

Update the wrapper to make options sub-command specific.

(From OE-Core rev: 7bcda141f2019862b4fb5d8dec7956cd8344b420)

Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-26 12:28:37 +01:00
Oliver Lang
a09806e943 bitbake: runqueue: fix a typo
(Bitbake rev: 82f40261a06d39f0e7748942f480da5b44282fa3)

Signed-off-by: Oliver Lang <quantenkeks@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-25 13:58:49 +01:00
Oliver Lang
f21dff5b89 bitbake: cooker: fix a typo
(Bitbake rev: cf23612f4e8946b9ed4c9f87b451f32b8c471df2)

Signed-off-by: Oliver Lang <quantenkeks@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-25 13:58:49 +01:00
1671 changed files with 58506 additions and 54972 deletions

6
.gitignore vendored
View File

@@ -31,4 +31,8 @@ pull-*/
bitbake/lib/toaster/contrib/tts/backlog.txt
bitbake/lib/toaster/contrib/tts/log/*
bitbake/lib/toaster/contrib/tts/.cache/*
bitbake/lib/bb/tests/runqueue-tests/bitbake-cookerdaemon.log
bitbake/lib/bb/tests/runqueue-tests/bitbake-cookerdaemon.log
_toaster_clones/
downloads/
sstate-cache/
toaster.sqlite

View File

@@ -13,6 +13,8 @@ Bitbake plain documentation can be found under the doc directory or its integrat
html version at the Yocto Project website:
https://docs.yoctoproject.org
Bitbake requires Python version 3.8 or newer.
Contributing
------------
@@ -34,10 +36,21 @@ Source code:
https://git.openembedded.org/bitbake/
Testing:
Testing
-------
Bitbake has a testsuite located in lib/bb/tests/ whichs aim to try and prevent regressions.
You can run this with "bitbake-selftest". In particular the fetcher is well covered since
it has so many corner cases. The datastore has many tests too. Testing with the testsuite is
recommended before submitting patches, particularly to the fetcher and datastore. We also
appreciate new test cases and may require them for more obscure issues.
To run the tests "zstd" and "git" must be installed. Git must be correctly configured, in
particular the user.email and user.name values must be set.
The assumption is made that this testsuite is run from an initialized OpenEmbedded build
environment (i.e. `source oe-init-build-env` is used). If this is not the case, run the
testsuite as follows:
export PATH=$(pwd)/bin:$PATH
bin/bitbake-selftest

View File

@@ -27,7 +27,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
bb.utils.check_system_locale()
__version__ = "2.2.0"
__version__ = "2.4.0"
if __name__ == "__main__":
if __version__ != bb.__version__:

View File

@@ -25,6 +25,7 @@ if __name__ == "__main__":
parser.add_argument('-u', '--unexpand', help='Do not expand the value (with --value)', action="store_true")
parser.add_argument('-f', '--flag', help='Specify a variable flag to query (with --value)', default=None)
parser.add_argument('--value', help='Only report the value, no history and no variable name', action="store_true")
parser.add_argument('-q', '--quiet', help='Silence bitbake server logging', action="store_true")
args = parser.parse_args()
if args.unexpand and not args.value:
@@ -35,7 +36,7 @@ if __name__ == "__main__":
print("--flag only makes sense with --value")
sys.exit(1)
with bb.tinfoil.Tinfoil(tracking=True) as tinfoil:
with bb.tinfoil.Tinfoil(tracking=True, setup_logging=not args.quiet) as tinfoil:
if args.recipe:
tinfoil.prepare(quiet=2)
d = tinfoil.parse_recipe(args.recipe)

View File

@@ -17,7 +17,7 @@ import bb
bb.utils.check_system_locale()
# Users shouldn't be running this code directly
if len(sys.argv) != 10 or not sys.argv[1].startswith("decafbad"):
if len(sys.argv) != 11 or not sys.argv[1].startswith("decafbad"):
print("bitbake-server is meant for internal execution by bitbake itself, please don't use it standalone.")
sys.exit(1)
@@ -29,7 +29,8 @@ logfile = sys.argv[4]
lockname = sys.argv[5]
sockname = sys.argv[6]
timeout = float(sys.argv[7])
xmlrpcinterface = (sys.argv[8], int(sys.argv[9]))
profile = bool(int(sys.argv[8]))
xmlrpcinterface = (sys.argv[9], int(sys.argv[10]))
if xmlrpcinterface[0] == "None":
xmlrpcinterface = (None, xmlrpcinterface[1])
@@ -50,5 +51,5 @@ logger = logging.getLogger("BitBake")
handler = bb.event.LogHandler()
logger.addHandler(handler)
bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface)
bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface, profile)

View File

@@ -121,11 +121,10 @@ def worker_child_fire(event, d):
data = b"<event>" + pickle.dumps(event) + b"</event>"
try:
worker_pipe_lock.acquire()
while(len(data)):
written = worker_pipe.write(data)
data = data[written:]
worker_pipe_lock.release()
with bb.utils.lock_timeout(worker_pipe_lock):
while(len(data)):
written = worker_pipe.write(data)
data = data[written:]
except IOError:
sigterm_handler(None, None)
raise
@@ -144,7 +143,16 @@ def sigterm_handler(signum, frame):
os.killpg(0, signal.SIGTERM)
sys.exit()
def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskhash, unihash, appends, taskdepdata, extraconfigdata, quieterrors=False, dry_run_exec=False):
def fork_off_task(cfg, data, databuilder, workerdata, extraconfigdata, runtask):
fn = runtask['fn']
task = runtask['task']
taskname = runtask['taskname']
taskhash = runtask['taskhash']
unihash = runtask['unihash']
appends = runtask['appends']
taskdepdata = runtask['taskdepdata']
quieterrors = runtask['quieterrors']
# We need to setup the environment BEFORE the fork, since
# a fork() or exec*() activates PSEUDO...
@@ -156,8 +164,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
uid = os.getuid()
gid = os.getgid()
taskdep = workerdata["taskdeps"][fn]
taskdep = runtask['taskdep']
if 'umask' in taskdep and taskname in taskdep['umask']:
umask = taskdep['umask'][taskname]
elif workerdata["umask"]:
@@ -169,24 +176,24 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
except TypeError:
pass
dry_run = cfg.dry_run or dry_run_exec
dry_run = cfg.dry_run or runtask['dry_run']
# We can't use the fakeroot environment in a dry run as it possibly hasn't been built
if 'fakeroot' in taskdep and taskname in taskdep['fakeroot'] and not dry_run:
fakeroot = True
envvars = (workerdata["fakerootenv"][fn] or "").split()
envvars = (runtask['fakerootenv'] or "").split()
for key, value in (var.split('=') for var in envvars):
envbackup[key] = os.environ.get(key)
os.environ[key] = value
fakeenv[key] = value
fakedirs = (workerdata["fakerootdirs"][fn] or "").split()
fakedirs = (runtask['fakerootdirs'] or "").split()
for p in fakedirs:
bb.utils.mkdirhier(p)
logger.debug2('Running %s:%s under fakeroot, fakedirs: %s' %
(fn, taskname, ', '.join(fakedirs)))
else:
envvars = (workerdata["fakerootnoenv"][fn] or "").split()
envvars = (runtask['fakerootnoenv'] or "").split()
for key, value in (var.split('=') for var in envvars):
envbackup[key] = os.environ.get(key)
os.environ[key] = value
@@ -237,7 +244,6 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
os.umask(umask)
try:
bb_cache = bb.cache.NoCache(databuilder)
(realfn, virtual, mc) = bb.cache.virtualfn2realfn(fn)
the_data = databuilder.mcdata[mc]
the_data.setVar("BB_WORKERCONTEXT", "1")
@@ -256,13 +262,14 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
bb.parse.siggen.set_taskhashes(workerdata["newhashes"])
ret = 0
the_data = bb_cache.loadDataFull(fn, appends)
the_data = databuilder.parseRecipe(fn, appends)
the_data.setVar('BB_TASKHASH', taskhash)
the_data.setVar('BB_UNIHASH', unihash)
bb.parse.siggen.setup_datacache_from_datastore(fn, the_data)
bb.utils.set_process_name("%s:%s" % (the_data.getVar("PN"), taskname.replace("do_", "")))
if not the_data.getVarFlag(taskname, 'network', False):
if not bb.utils.to_boolean(the_data.getVarFlag(taskname, 'network')):
if bb.utils.is_local_uid(uid):
logger.debug("Attempting to disable network for %s" % taskname)
bb.utils.disable_network(uid, gid)
@@ -474,11 +481,15 @@ class BitbakeWorker(object):
sys.exit(0)
def handle_runtask(self, data):
fn, task, taskname, taskhash, unihash, quieterrors, appends, taskdepdata, dry_run_exec = pickle.loads(data)
runtask = pickle.loads(data)
fn = runtask['fn']
task = runtask['task']
taskname = runtask['taskname']
workerlog_write("Handling runtask %s %s %s\n" % (task, fn, taskname))
pid, pipein, pipeout = fork_off_task(self.cookercfg, self.data, self.databuilder, self.workerdata, fn, task, taskname, taskhash, unihash, appends, taskdepdata, self.extraconfigdata, quieterrors, dry_run_exec)
pid, pipein, pipeout = fork_off_task(self.cookercfg, self.data, self.databuilder, self.workerdata, self.extraconfigdata, runtask)
self.build_pids[pid] = task
self.build_pipes[pid] = runQueueWorkerPipe(pipein, pipeout)

9
bitbake/doc/_templates/footer.html vendored Normal file
View File

@@ -0,0 +1,9 @@
<footer>
<hr/>
<div role="contentinfo">
<p>&copy; Copyright {{ copyright }}
<br>Last updated on {{ last_updated }} from the <a href="https://git.openembedded.org/bitbake/">bitbake</a> git repository.
</p>
</div>
</footer>

View File

@@ -552,8 +552,8 @@ through dependency chains are more complex and are generally
accomplished with a Python function. The code in
``meta/lib/oe/sstatesig.py`` shows two examples of this and also
illustrates how you can insert your own policy into the system if so
desired. This file defines the two basic signature generators
OpenEmbedded-Core uses: "OEBasic" and "OEBasicHash". By default, there
desired. This file defines the basic signature generator
OpenEmbedded-Core uses: "OEBasicHash". By default, there
is a dummy "noop" signature handler enabled in BitBake. This means that
behavior is unchanged from previous versions. ``OE-Core`` uses the
"OEBasicHash" signature handler by default through this setting in the
@@ -561,14 +561,13 @@ behavior is unchanged from previous versions. ``OE-Core`` uses the
BB_SIGNATURE_HANDLER ?= "OEBasicHash"
The "OEBasicHash" :term:`BB_SIGNATURE_HANDLER` is the same as the "OEBasic"
version but adds the task hash to the stamp files. This results in any
metadata change that changes the task hash, automatically causing the
task to be run again. This removes the need to bump
:term:`PR` values, and changes to metadata automatically
ripple across the build.
The main feature of the "OEBasicHash" :term:`BB_SIGNATURE_HANDLER` is that
it adds the task hash to the stamp files. Thanks to this, any metadata
change will change the task hash, automatically causing the task to be run
again. This removes the need to bump :term:`PR` values, and changes to
metadata automatically ripple across the build.
It is also worth noting that the end result of these signature
It is also worth noting that the end result of signature
generators is to make some dependency and hash information available to
the build. This information includes:
@@ -657,7 +656,7 @@ builds are when execute, bitbake also supports user defined
configuration of the `Python
logging <https://docs.python.org/3/library/logging.html>`__ facilities
through the :term:`BB_LOGCONFIG` variable. This
variable defines a json or yaml `logging
variable defines a JSON or YAML `logging
configuration <https://docs.python.org/3/library/logging.config.html>`__
that will be intelligently merged into the default configuration. The
logging configuration is merged using the following rules:
@@ -691,9 +690,9 @@ logging configuration is merged using the following rules:
adds a filter called ``BitBake.defaultFilter``, both filters will be
applied to the logger
As an example, consider the following user logging configuration file
which logs all Hash Equivalence related messages of VERBOSE or higher to
a file called ``hashequiv.log`` ::
As a first example, you can create a ``hashequiv.json`` user logging
configuration file to log all Hash Equivalence related messages of ``VERBOSE``
or higher priority to a file called ``hashequiv.log``::
{
"version": 1,
@@ -722,3 +721,40 @@ a file called ``hashequiv.log`` ::
}
}
}
Then set the :term:`BB_LOGCONFIG` variable in ``conf/local.conf``::
BB_LOGCONFIG = "hashequiv.json"
Another example is this ``warn.json`` file to log all ``WARNING`` and
higher priority messages to a ``warn.log`` file::
{
"version": 1,
"formatters": {
"warnlogFormatter": {
"()": "bb.msg.BBLogFormatter",
"format": "%(levelname)s: %(message)s"
}
},
"handlers": {
"warnlog": {
"class": "logging.FileHandler",
"formatter": "warnlogFormatter",
"level": "WARNING",
"filename": "warn.log"
}
},
"loggers": {
"BitBake": {
"handlers": ["warnlog"]
}
},
"@disable_existing_loggers": false
}
Note that BitBake's helper classes for structured logging are implemented in
``lib/bb/msg.py``.

View File

@@ -740,7 +740,7 @@ Here is an example URL with both fetchers::
"
See :yocto_docs:`Creating Node Package Manager (NPM) Packages
</dev-manual/common-tasks.html#creating-node-package-manager-npm-packages>`
</dev-manual/packages.html#creating-node-package-manager-npm-packages>`
in the Yocto Project manual for details about using
:yocto_docs:`devtool <https://docs.yoctoproject.org/ref-manual/devtool-reference.html>`
to automatically create a recipe from an NPM URL.
@@ -777,7 +777,7 @@ the package which has such dependencies, for example::
Such a file can automatically be generated using
:yocto_docs:`devtool <https://docs.yoctoproject.org/ref-manual/devtool-reference.html>`
as described in the :yocto_docs:`Creating Node Package Manager (NPM) Packages
</dev-manual/common-tasks.html#creating-node-package-manager-npm-packages>`
</dev-manual/packages.html#creating-node-package-manager-npm-packages>`
section of the Yocto Project.
Other Fetchers

View File

@@ -18,28 +18,32 @@ it.
Obtaining BitBake
=================
See the :ref:`bitbake-user-manual/bitbake-user-manual-hello:obtaining bitbake` section for
See the :ref:`bitbake-user-manual/bitbake-user-manual-intro:obtaining bitbake` section for
information on how to obtain BitBake. Once you have the source code on
your machine, the BitBake directory appears as follows::
$ ls -al
total 100
drwxrwxr-x. 9 wmat wmat 4096 Jan 31 13:44 .
drwxrwxr-x. 3 wmat wmat 4096 Feb 4 10:45 ..
-rw-rw-r--. 1 wmat wmat 365 Nov 26 04:55 AUTHORS
drwxrwxr-x. 2 wmat wmat 4096 Nov 26 04:55 bin
drwxrwxr-x. 4 wmat wmat 4096 Jan 31 13:44 build
-rw-rw-r--. 1 wmat wmat 16501 Nov 26 04:55 ChangeLog
drwxrwxr-x. 2 wmat wmat 4096 Nov 26 04:55 classes
drwxrwxr-x. 2 wmat wmat 4096 Nov 26 04:55 conf
drwxrwxr-x. 3 wmat wmat 4096 Nov 26 04:55 contrib
-rw-rw-r--. 1 wmat wmat 17987 Nov 26 04:55 COPYING
drwxrwxr-x. 3 wmat wmat 4096 Nov 26 04:55 doc
-rw-rw-r--. 1 wmat wmat 69 Nov 26 04:55 .gitignore
-rw-rw-r--. 1 wmat wmat 849 Nov 26 04:55 HEADER
drwxrwxr-x. 5 wmat wmat 4096 Jan 31 13:44 lib
-rw-rw-r--. 1 wmat wmat 195 Nov 26 04:55 MANIFEST.in
-rw-rw-r--. 1 wmat wmat 2887 Nov 26 04:55 TODO
total 108
drwxr-xr-x 9 fawkh 10000 4096 feb 24 12:10 .
drwx------ 36 fawkh 10000 4096 mar 2 17:00 ..
-rw-r--r-- 1 fawkh 10000 365 feb 24 12:10 AUTHORS
drwxr-xr-x 2 fawkh 10000 4096 feb 24 12:10 bin
-rw-r--r-- 1 fawkh 10000 16501 feb 24 12:10 ChangeLog
drwxr-xr-x 2 fawkh 10000 4096 feb 24 12:10 classes
drwxr-xr-x 2 fawkh 10000 4096 feb 24 12:10 conf
drwxr-xr-x 5 fawkh 10000 4096 feb 24 12:10 contrib
drwxr-xr-x 6 fawkh 10000 4096 feb 24 12:10 doc
drwxr-xr-x 8 fawkh 10000 4096 mar 2 16:26 .git
-rw-r--r-- 1 fawkh 10000 31 feb 24 12:10 .gitattributes
-rw-r--r-- 1 fawkh 10000 392 feb 24 12:10 .gitignore
drwxr-xr-x 13 fawkh 10000 4096 feb 24 12:11 lib
-rw-r--r-- 1 fawkh 10000 1224 feb 24 12:10 LICENSE
-rw-r--r-- 1 fawkh 10000 15394 feb 24 12:10 LICENSE.GPL-2.0-only
-rw-r--r-- 1 fawkh 10000 1286 feb 24 12:10 LICENSE.MIT
-rw-r--r-- 1 fawkh 10000 229 feb 24 12:10 MANIFEST.in
-rw-r--r-- 1 fawkh 10000 2413 feb 24 12:10 README
-rw-r--r-- 1 fawkh 10000 43 feb 24 12:10 toaster-requirements.txt
-rw-r--r-- 1 fawkh 10000 2887 feb 24 12:10 TODO
At this point, you should have BitBake cloned to a directory that
matches the previous listing except for dates and user names.
@@ -52,7 +56,7 @@ directory to where your local BitBake files are and run the following
command::
$ ./bin/bitbake --version
BitBake Build Tool Core version 1.23.0, bitbake version 1.23.0
BitBake Build Tool Core version 2.3.1
The console output tells you what version
you are running.
@@ -130,23 +134,8 @@ Following is the complete "Hello World" example.
directory. Run the ``bitbake`` command and see what it does::
$ bitbake
The BBPATH variable is not set and bitbake did not
find a conf/bblayers.conf file in the expected location.
ERROR: The BBPATH variable is not set and bitbake did not find a conf/bblayers.conf file in the expected location.
Maybe you accidentally invoked bitbake from the wrong directory?
DEBUG: Removed the following variables from the environment:
GNOME_DESKTOP_SESSION_ID, XDG_CURRENT_DESKTOP,
GNOME_KEYRING_CONTROL, DISPLAY, SSH_AGENT_PID, LANG, no_proxy,
XDG_SESSION_PATH, XAUTHORITY, SESSION_MANAGER, SHLVL,
MANDATORY_PATH, COMPIZ_CONFIG_PROFILE, WINDOWID, EDITOR,
GPG_AGENT_INFO, SSH_AUTH_SOCK, GDMSESSION, GNOME_KEYRING_PID,
XDG_SEAT_PATH, XDG_CONFIG_DIRS, LESSOPEN, DBUS_SESSION_BUS_ADDRESS,
_, XDG_SESSION_COOKIE, DESKTOP_SESSION, LESSCLOSE, DEFAULTS_PATH,
UBUNTU_MENUPROXY, OLDPWD, XDG_DATA_DIRS, COLORTERM, LS_COLORS
The majority of this output is specific to environment variables that
are not directly relevant to BitBake. However, the very first
message regarding the :term:`BBPATH` variable and the
``conf/bblayers.conf`` file is relevant.
When you run BitBake, it begins looking for metadata files. The
:term:`BBPATH` variable is what tells BitBake where
@@ -179,20 +168,14 @@ Following is the complete "Hello World" example.
``bitbake`` command again::
$ bitbake
ERROR: Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 163, in wrapped
return func(fn, *args)
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 173, in parse_config_file
return bb.parse.handle(fn, data, include)
File "/home/scott-lenovo/bitbake/lib/bb/parse/__init__.py", line 99, in handle
return h['handle'](fn, data, include)
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 120, in handle
abs_fn = resolve_file(fn, data)
File "/home/scott-lenovo/bitbake/lib/bb/parse/__init__.py", line 117, in resolve_file
raise IOError("file %s not found in %s" % (fn, bbpath))
IOError: file conf/bitbake.conf not found in /home/scott-lenovo/hello
ERROR: Unable to parse /home/scott-lenovo/bitbake/lib/bb/parse/__init__.py
Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/parse/__init__.py", line 127, in resolve_file(fn='conf/bitbake.conf', d=<bb.data_smart.DataSmart object at 0x7f22919a3df0>):
if not newfn:
> raise IOError(errno.ENOENT, "file %s not found in %s" % (fn, bbpath))
fn = newfn
FileNotFoundError: [Errno 2] file conf/bitbake.conf not found in <projectdirectory>
ERROR: Unable to parse conf/bitbake.conf: file conf/bitbake.conf not found in /home/scott-lenovo/hello
This sample output shows that BitBake could not find the
``conf/bitbake.conf`` file in the project directory. This file is
@@ -254,18 +237,14 @@ Following is the complete "Hello World" example.
exists, you can run the ``bitbake`` command again::
$ bitbake
ERROR: Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 163, in wrapped
return func(fn, *args)
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 177, in _inherit
bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data)
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 92, in inherit
include(fn, file, lineno, d, "inherit")
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 100, in include
raise ParseError("Could not %(error_out)s file %(fn)s" % vars(), oldfn, lineno)
ParseError: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
ERROR: Unable to parse /home/scott-lenovo/bitbake/lib/bb/parse/parse_py/BBHandler.py
Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 67, in inherit(files=['base'], fn='configuration INHERITs', lineno=0, d=<bb.data_smart.DataSmart object at 0x7fab6815edf0>):
if not os.path.exists(file):
> raise ParseError("Could not inherit file %s" % (file), fn, lineno)
bb.parse.ParseError: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
ERROR: Unable to parse base: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
In the sample output,
BitBake could not find the ``classes/base.bbclass`` file. You need
@@ -284,7 +263,10 @@ Following is the complete "Hello World" example.
$ mkdir classes
Move to the ``classes`` directory and then create the
``base.bbclass`` file by inserting this single line: addtask build
``base.bbclass`` file by inserting this single line::
addtask build
The minimal task that BitBake runs is the ``do_build`` task. This is
all the example needs in order to build the project. Of course, the
``base.bbclass`` can have much more depending on which build
@@ -328,10 +310,19 @@ Following is the complete "Hello World" example.
BBFILES += "${LAYERDIR}/*.bb"
BBFILE_COLLECTIONS += "mylayer"
BBFILE_PATTERN_mylayer := "^${LAYERDIR_RE}/"
LAYERSERIES_CORENAMES = "hello_world_example"
LAYERSERIES_COMPAT_mylayer = "hello_world_example"
For information on these variables, click on :term:`BBFILES`,
:term:`LAYERDIR`, :term:`BBFILE_COLLECTIONS` or :term:`BBFILE_PATTERN_mylayer <BBFILE_PATTERN>`
to go to the definitions in the glossary.
:term:`LAYERDIR`, :term:`BBFILE_COLLECTIONS`, :term:`BBFILE_PATTERN_mylayer <BBFILE_PATTERN>`
or :term:`LAYERSERIES_COMPAT` to go to the definitions in the glossary.
.. note::
We are setting both LAYERSERIES_CORENAMES and LAYERSERIES_COMPAT in this particular case, because we
are using bitbake without OpenEmbedded.
You should usually just use LAYERSERIES_COMPAT to specify the OE-Core versions for which your layer
is compatible, and add the meta-openembedded layer to your project.
You need to create the recipe file next. Inside your layer at the
top-level, use an editor and create a recipe file named
@@ -389,12 +380,14 @@ Following is the complete "Hello World" example.
target::
$ bitbake printhello
Loading cache: 100% |
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |##################################################################################|
Time: 00:00:00
Parsing of 1 .bb files complete (0 cached, 1 parsed). 1 targets, 0 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing RunQueue
NOTE: Executing RunQueue Tasks
Initialising tasks: 100% |###############################################################################|
NOTE: No setscene tasks
NOTE: Executing Tasks
********************
* *
* Hello, World! *

View File

@@ -319,6 +319,10 @@ The variable ``D`` becomes "dvaladditional data".
You must control all spacing when you use the override syntax.
.. note::
The overrides are applied in this order, ":append", ":prepend", ":remove".
It is also possible to append and prepend to shell functions and
BitBake-style Python functions. See the ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:shell functions`" and ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:bitbake-style python functions`"
sections for examples.
@@ -352,6 +356,28 @@ The variable ``FOO`` becomes
Like ":append" and ":prepend", ":remove" is applied at variable
expansion time.
.. note::
The overrides are applied in this order, ":append", ":prepend", ":remove".
This implies it is not possible to re-append previously removed strings.
However, one can undo a ":remove" by using an intermediate variable whose
content is passed to the ":remove" so that modifying the intermediate
variable equals to keeping the string in::
FOOREMOVE = "123 456 789"
FOO:remove = "${FOOREMOVE}"
...
FOOREMOVE = "123 789"
This expands to ``FOO:remove = "123 789"``.
.. note::
Override application order may not match variable parse history, i.e.
the output of ``bitbake -e`` may contain ":remove" before ":append",
but the result will be removed string, because ":remove" is handled
last.
Override Style Operation Advantages
-----------------------------------
@@ -1470,6 +1496,23 @@ functionality of the task:
directory listed is used as the current working directory for the
task.
- ``[file-checksums]``: Controls the file dependencies for a task. The
baseline file list is the set of files associated with
:term:`SRC_URI`. May be used to set additional dependencies on
files not associated with :term:`SRC_URI`.
The value set to the list is a file-boolean pair where the first
value is the file name and the second is whether or not it
physically exists on the filesystem. ::
do_configure[file-checksums] += "${MY_DIRPATH}/my-file.txt:True"
It is important to record any paths which the task looked at and
which didn't exist. This means that if these do exist at a later
time, the task can be rerun with the new additional files. The
"exists" True or False value after the path allows this to be
handled.
- ``[lockfiles]``: Specifies one or more lockfiles to lock while the
task executes. Only one task may hold a lockfile, and any task that
attempts to lock an already locked file will block until the lock is
@@ -1929,13 +1972,31 @@ looking at the source code of the ``bb`` module, which is in
the commonly used functions ``bb.utils.contains()`` and
``bb.utils.mkdirhier()``, which come with docstrings.
Extending Python Library Code
-----------------------------
If you wish to add your own Python library code (e.g. to provide
functions/classes you can use from Python functions in the metadata)
you can do so from any layer using the ``addpylib`` directive.
This directive is typically added to your layer configuration (
``conf/layer.conf``) although it will be handled in any ``.conf`` file.
Usage is of the form::
addpylib <directory> <namespace>
Where <directory> specifies the directory to add to the library path.
The specified <namespace> is imported automatically, and if the imported
module specifies an attribute named ``BBIMPORTS``, that list of
sub-modules is iterated and imported too.
Testing and Debugging BitBake Python code
-----------------------------------------
The OpenEmbedded build system implements a convenient ``pydevshell`` target which
you can use to access the BitBake datastore and experiment with your own Python
code. See :yocto_docs:`Using a Python Development Shell
</dev-manual/common-tasks.html#using-a-python-development-shell>` in the Yocto
</dev-manual/python-development-shell.html#using-a-python-development-shell>` in the Yocto
Project manual for details.
Task Checksums and Setscene

View File

@@ -40,8 +40,7 @@ overview of their function and contents.
Azure Storage Shared Access Signature, when using the
:ref:`Azure Storage fetcher <bitbake-user-manual/bitbake-user-manual-fetching:fetchers>`
This variable can be defined to be used by the fetcher to authenticate
and gain access to non-public artifacts.
::
and gain access to non-public artifacts::
AZ_SAS = ""se=2021-01-01&sp=r&sv=2018-11-09&sr=c&skoid=<skoid>&sig=<signature>""
@@ -100,10 +99,26 @@ overview of their function and contents.
the path of the build. BitBake's output should not (and usually does
not) depend on the directory in which it was built.
:term:`BB_CACHEDIR`
Specifies the code parser cache directory (distinct from :term:`CACHE`
and :term:`PERSISTENT_DIR` although they can be set to the same value
if desired). The default value is "${TOPDIR}/cache".
:term:`BB_CHECK_SSL_CERTS`
Specifies if SSL certificates should be checked when fetching. The default
value is ``1`` and certificates are not checked if the value is set to ``0``.
:term:`BB_HASH_CODEPARSER_VALS`
Specifies values for variables to use when populating the codeparser cache.
This can be used selectively to set dummy values for variables to avoid
the codeparser cache growing on every parse. Variables that would typically
be included are those where the value is not significant for where the
codeparser cache is used (i.e. when calculating variable dependencies for
code fragments.) The value is space-separated without quoting values, for
example::
BB_HASH_CODEPARSER_VALS = "T=/ WORKDIR=/ DATE=1234 TIME=1234"
:term:`BB_CONSOLELOG`
Specifies the path to a log file into which BitBake's user interface
writes output during the build.
@@ -344,6 +359,14 @@ overview of their function and contents.
For example usage, see :term:`BB_GIT_SHALLOW`.
:term:`BB_GLOBAL_PYMODULES`
Specifies the list of Python modules to place in the global namespace.
It is intended that only the core layer should set this and it is meant
to be a very small list, typically just ``os`` and ``sys``.
:term:`BB_GLOBAL_PYMODULES` is expected to be set before the first
``addpylib`` directive.
See also ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:extending python library code`".
:term:`BB_HASHCHECK_FUNCTION`
Specifies the name of the function to call during the "setscene" part
of the task's execution in order to validate the list of task hashes.
@@ -991,7 +1014,7 @@ overview of their function and contents.
``bblayers.conf`` configuration file.
To exclude a recipe from a world build using this variable, set the
variable to "1" in the recipe.
variable to "1" in the recipe. Set it to "0" to add it back to world build.
.. note::
@@ -1097,6 +1120,29 @@ overview of their function and contents.
variable is not available outside of ``layer.conf`` and references
are expanded immediately when parsing of the file completes.
:term:`LAYERSERIES_COMPAT`
Lists the versions of the OpenEmbedded-Core (OE-Core) for which
a layer is compatible. Using the :term:`LAYERSERIES_COMPAT` variable
allows the layer maintainer to indicate which combinations of the
layer and OE-Core can be expected to work. The variable gives the
system a way to detect when a layer has not been tested with new
releases of OE-Core (e.g. the layer is not maintained).
To specify the OE-Core versions for which a layer is compatible, use
this variable in your layer's ``conf/layer.conf`` configuration file.
For the list, use the Yocto Project release name (e.g. "kirkstone",
"mickledore"). To specify multiple OE-Core versions for the layer, use
a space-separated list::
LAYERSERIES_COMPAT_layer_root_name = "kirkstone mickledore"
.. note::
Setting :term:`LAYERSERIES_COMPAT` is required by the Yocto Project
Compatible version 2 standard.
The OpenEmbedded build system produces a warning if the variable
is not set for any given layer.
:term:`LAYERVERSION`
Optionally specifies the version of a layer as a single number. You
can use this variable within

View File

@@ -1,61 +1,57 @@
.. SPDX-License-Identifier: CC-BY-2.5
===========================
Supported Release Manuals
===========================
=================================
BitBake Supported Release Manuals
=================================
******************************
Release Series 3.4 (honister)
******************************
*****************************
Release Series 4.1 (langdale)
*****************************
- :yocto_docs:`3.4 BitBake User Manual </3.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.4.1 BitBake User Manual </3.4.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.4.2 BitBake User Manual </3.4.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`BitBake 2.2 User Manual </bitbake/2.2/>`
******************************
Release Series 3.3 (hardknott)
******************************
*****************************
Release Series 4.0 (kirstone)
*****************************
- :yocto_docs:`3.3 BitBake User Manual </3.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.1 BitBake User Manual </3.3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.2 BitBake User Manual </3.3.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.3 BitBake User Manual </3.3.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.4 BitBake User Manual </3.3.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.5 BitBake User Manual </3.3.5/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`BitBake 2.0 User Manual </bitbake/2.0/>`
****************************
Release Series 3.1 (dunfell)
****************************
- :yocto_docs:`3.1 BitBake User Manual </3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.1 BitBake User Manual </3.1.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.2 BitBake User Manual </3.1.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.3 BitBake User Manual </3.1.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.4 BitBake User Manual </3.1.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.5 BitBake User Manual </3.1.5/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.6 BitBake User Manual </3.1.6/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.7 BitBake User Manual </3.1.7/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.8 BitBake User Manual </3.1.8/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.9 BitBake User Manual </3.1.9/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.10 BitBake User Manual </3.1.10/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.11 BitBake User Manual </3.1.11/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.12 BitBake User Manual </3.1.12/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.13 BitBake User Manual </3.1.13/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.14 BitBake User Manual </3.1.14/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`BitBake 1.46 User Manual </bitbake/1.46/>`
==========================
Outdated Release Manuals
==========================
================================
BitBake Outdated Release Manuals
================================
******************************
Release Series 3.4 (honister)
******************************
- :yocto_docs:`BitBake 1.52 User Manual </bitbake/1.52/>`
******************************
Release Series 3.3 (hardknott)
******************************
- :yocto_docs:`BitBake 1.50 User Manual </bitbake/1.50/>`
*******************************
Release Series 3.2 (gatesgarth)
*******************************
- :yocto_docs:`3.2 BitBake User Manual </3.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.1 BitBake User Manual </3.2.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.2 BitBake User Manual </3.2.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.3 BitBake User Manual </3.2.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.4 BitBake User Manual </3.2.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`BitBake 1.48 User Manual </bitbake/1.48/>`
*******************************************
Release Series 3.1 (dunfell first versions)
*******************************************
- :yocto_docs:`3.1 BitBake User Manual </3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.1 BitBake User Manual </3.1.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.2 BitBake User Manual </3.1.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.3 BitBake User Manual </3.1.3/bitbake-user-manual/bitbake-user-manual.html>`
*************************
Release Series 3.0 (zeus)

View File

@@ -9,11 +9,11 @@
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "2.2.0"
__version__ = "2.4.0"
import sys
if sys.version_info < (3, 6, 0):
raise RuntimeError("Sorry, python 3.6.0 or later is required for this version of bitbake")
if sys.version_info < (3, 8, 0):
raise RuntimeError("Sorry, python 3.8.0 or later is required for this version of bitbake")
class BBHandledException(Exception):

View File

@@ -25,6 +25,7 @@ import bb
import bb.msg
import bb.process
import bb.progress
from io import StringIO
from bb import data, event, utils
bblogger = logging.getLogger('BitBake')
@@ -177,7 +178,9 @@ class StdoutNoopContextManager:
@property
def name(self):
return sys.stdout.name
if "name" in dir(sys.stdout):
return sys.stdout.name
return "<mem>"
def exec_func(func, d, dirs = None):
@@ -296,9 +299,21 @@ def exec_func_python(func, d, runfile, cwd=None):
lineno = int(d.getVarFlag(func, "lineno", False))
bb.methodpool.insert_method(func, text, fn, lineno - 1)
if verboseStdoutLogging:
sys.stdout.flush()
sys.stderr.flush()
currout = sys.stdout
currerr = sys.stderr
sys.stderr = sys.stdout = execio = StringIO()
comp = utils.better_compile(code, func, "exec_func_python() autogenerated")
utils.better_exec(comp, {"d": d}, code, "exec_func_python() autogenerated")
finally:
if verboseStdoutLogging:
execio.flush()
logger.plain("%s" % execio.getvalue())
sys.stdout = currout
sys.stderr = currerr
execio.close()
# We want any stdout/stderr to be printed before any other log messages to make debugging
# more accurate. In some cases we seem to lose stdout/stderr entirely in logging tests without this.
sys.stdout.flush()
@@ -441,7 +456,11 @@ exit $ret
if fakerootcmd:
cmd = [fakerootcmd, runfile]
if verboseStdoutLogging:
# We only want to output to logger via LogTee if stdout is sys.__stdout__ (which will either
# be real stdout or subprocess PIPE or similar). In other cases we are being run "recursively",
# ie. inside another function, in which case stdout is already being captured so we don't
# want to Tee here as output would be printed twice, and out of order.
if verboseStdoutLogging and sys.stdout == sys.__stdout__:
logfile = LogTee(logger, StdoutNoopContextManager())
else:
logfile = StdoutNoopContextManager()
@@ -572,7 +591,6 @@ def _task_data(fn, task, d):
localdata.setVar('BB_FILENAME', fn)
localdata.setVar('OVERRIDES', 'task-%s:%s' %
(task[3:].replace('_', '-'), d.getVar('OVERRIDES', False)))
localdata.finalize()
bb.data.expandKeys(localdata)
return localdata
@@ -773,44 +791,7 @@ def exec_task(fn, task, d, profile = False):
event.fire(failedevent, d)
return 1
def stamp_internal(taskname, d, file_name, baseonly=False, noextra=False):
"""
Internal stamp helper function
Makes sure the stamp directory exists
Returns the stamp path+filename
In the bitbake core, d can be a CacheData and file_name will be set.
When called in task context, d will be a data store, file_name will not be set
"""
taskflagname = taskname
if taskname.endswith("_setscene") and taskname != "do_setscene":
taskflagname = taskname.replace("_setscene", "")
if file_name:
stamp = d.stamp[file_name]
extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or ""
else:
stamp = d.getVar('STAMP')
file_name = d.getVar('BB_FILENAME')
extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info') or ""
if baseonly:
return stamp
if noextra:
extrainfo = ""
if not stamp:
return
stamp = bb.parse.siggen.stampfile(stamp, file_name, taskname, extrainfo)
stampdir = os.path.dirname(stamp)
if cached_mtime_noerror(stampdir) == 0:
bb.utils.mkdirhier(stampdir)
return stamp
def stamp_cleanmask_internal(taskname, d, file_name):
def _get_cleanmask(taskname, mcfn):
"""
Internal stamp helper function to generate stamp cleaning mask
Returns the stamp path+filename
@@ -818,27 +799,14 @@ def stamp_cleanmask_internal(taskname, d, file_name):
In the bitbake core, d can be a CacheData and file_name will be set.
When called in task context, d will be a data store, file_name will not be set
"""
taskflagname = taskname
if taskname.endswith("_setscene") and taskname != "do_setscene":
taskflagname = taskname.replace("_setscene", "")
cleanmask = bb.parse.siggen.stampcleanmask_mcfn(taskname, mcfn)
taskflagname = taskname.replace("_setscene", "")
if cleanmask:
return [cleanmask, cleanmask.replace(taskflagname, taskflagname + "_setscene")]
return []
if file_name:
stamp = d.stampclean[file_name]
extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or ""
else:
stamp = d.getVar('STAMPCLEAN')
file_name = d.getVar('BB_FILENAME')
extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info') or ""
if not stamp:
return []
cleanmask = bb.parse.siggen.stampcleanmask(stamp, file_name, taskname, extrainfo)
return [cleanmask, cleanmask.replace(taskflagname, taskflagname + "_setscene")]
def clean_stamp(task, d, file_name = None):
cleanmask = stamp_cleanmask_internal(task, d, file_name)
def clean_stamp_mcfn(task, mcfn):
cleanmask = _get_cleanmask(task, mcfn)
for mask in cleanmask:
for name in glob.glob(mask):
# Preserve sigdata files in the stamps directory
@@ -848,33 +816,46 @@ def clean_stamp(task, d, file_name = None):
if name.endswith('.taint'):
continue
os.unlink(name)
return
def make_stamp(task, d, file_name = None):
"""
Creates/updates a stamp for a given task
(d can be a data dict or dataCache)
"""
clean_stamp(task, d, file_name)
def clean_stamp(task, d):
mcfn = d.getVar('BB_FILENAME')
clean_stamp_mcfn(task, mcfn)
def make_stamp_mcfn(task, mcfn):
basestamp = bb.parse.siggen.stampfile_mcfn(task, mcfn)
stampdir = os.path.dirname(basestamp)
if cached_mtime_noerror(stampdir) == 0:
bb.utils.mkdirhier(stampdir)
clean_stamp_mcfn(task, mcfn)
stamp = stamp_internal(task, d, file_name)
# Remove the file and recreate to force timestamp
# change on broken NFS filesystems
if stamp:
bb.utils.remove(stamp)
open(stamp, "w").close()
if basestamp:
bb.utils.remove(basestamp)
open(basestamp, "w").close()
def make_stamp(task, d):
"""
Creates/updates a stamp for a given task
"""
mcfn = d.getVar('BB_FILENAME')
make_stamp_mcfn(task, mcfn)
# If we're in task context, write out a signature file for each task
# as it completes
if not task.endswith("_setscene") and task != "do_setscene" and not file_name:
stampbase = stamp_internal(task, d, None, True)
file_name = d.getVar('BB_FILENAME')
bb.parse.siggen.dump_sigtask(file_name, task, stampbase, True)
if not task.endswith("_setscene"):
stampbase = bb.parse.siggen.stampfile_base(mcfn)
bb.parse.siggen.dump_sigtask(mcfn, task, stampbase, True)
def find_stale_stamps(task, d, file_name=None):
current = stamp_internal(task, d, file_name)
current2 = stamp_internal(task + "_setscene", d, file_name)
cleanmask = stamp_cleanmask_internal(task, d, file_name)
def find_stale_stamps(task, mcfn):
current = bb.parse.siggen.stampfile_mcfn(task, mcfn)
current2 = bb.parse.siggen.stampfile_mcfn(task + "_setscene", mcfn)
cleanmask = _get_cleanmask(task, mcfn)
found = []
for mask in cleanmask:
for name in glob.glob(mask):
@@ -888,38 +869,14 @@ def find_stale_stamps(task, d, file_name=None):
found.append(name)
return found
def del_stamp(task, d, file_name = None):
"""
Removes a stamp for a given task
(d can be a data dict or dataCache)
"""
stamp = stamp_internal(task, d, file_name)
bb.utils.remove(stamp)
def write_taint(task, d, file_name = None):
def write_taint(task, d):
"""
Creates a "taint" file which will force the specified task and its
dependents to be re-run the next time by influencing the value of its
taskhash.
(d can be a data dict or dataCache)
"""
import uuid
if file_name:
taintfn = d.stamp[file_name] + '.' + task + '.taint'
else:
taintfn = d.getVar('STAMP') + '.' + task + '.taint'
bb.utils.mkdirhier(os.path.dirname(taintfn))
# The specific content of the taint file is not really important,
# we just need it to be random, so a random UUID is used
with open(taintfn, 'w') as taintf:
taintf.write(str(uuid.uuid4()))
def stampfile(taskname, d, file_name = None, noextra=False):
"""
Return the stamp for a given task
(d can be a data dict or dataCache)
"""
return stamp_internal(taskname, d, file_name, noextra=noextra)
mcfn = d.getVar('BB_FILENAME')
bb.parse.siggen.invalidate_task(task, mcfn)
def add_tasks(tasklist, d):
task_deps = d.getVar('_task_deps', False)

View File

@@ -28,7 +28,7 @@ import shutil
logger = logging.getLogger("BitBake.Cache")
__cache_version__ = "154"
__cache_version__ = "155"
def getCacheFile(path, filename, mc, data_hash):
mcspec = ''
@@ -105,7 +105,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
self.tasks = metadata.getVar('__BBTASKS', False)
self.basetaskhashes = self.taskvar('BB_BASEHASH', self.tasks, metadata)
self.basetaskhashes = metadata.getVar('__siggen_basehashes', False) or {}
self.hashfilename = self.getvar('BB_HASHFILENAME', metadata)
self.task_deps = metadata.getVar('_task_deps', False) or {'tasks': [], 'parents': {}}
@@ -216,7 +216,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
# Collect files we may need for possible world-dep
# calculations
if not self.not_world:
if not bb.utils.to_boolean(self.not_world):
cachedata.possible_world.append(fn)
#else:
# logger.debug2("EXCLUDE FROM WORLD: %s", fn)
@@ -238,6 +238,106 @@ class CoreRecipeInfo(RecipeInfoCommon):
cachedata.fakerootlogs[fn] = self.fakerootlogs
cachedata.extradepsfunc[fn] = self.extradepsfunc
class SiggenRecipeInfo(RecipeInfoCommon):
__slots__ = ()
classname = "SiggenRecipeInfo"
cachefile = "bb_cache_" + classname +".dat"
# we don't want to show this information in graph files so don't set cachefields
#cachefields = []
def __init__(self, filename, metadata):
self.siggen_gendeps = metadata.getVar("__siggen_gendeps", False)
self.siggen_varvals = metadata.getVar("__siggen_varvals", False)
self.siggen_taskdeps = metadata.getVar("__siggen_taskdeps", False)
@classmethod
def init_cacheData(cls, cachedata):
cachedata.siggen_taskdeps = {}
cachedata.siggen_gendeps = {}
cachedata.siggen_varvals = {}
def add_cacheData(self, cachedata, fn):
cachedata.siggen_gendeps[fn] = self.siggen_gendeps
cachedata.siggen_varvals[fn] = self.siggen_varvals
cachedata.siggen_taskdeps[fn] = self.siggen_taskdeps
# The siggen variable data is large and impacts:
# - bitbake's overall memory usage
# - the amount of data sent over IPC between parsing processes and the server
# - the size of the cache files on disk
# - the size of "sigdata" hash information files on disk
# The data consists of strings (some large) or frozenset lists of variables
# As such, we a) deplicate the data here and b) pass references to the object at second
# access (e.g. over IPC or saving into pickle).
store = {}
save_map = {}
save_count = 1
restore_map = {}
restore_count = {}
@classmethod
def reset(cls):
# Needs to be called before starting new streamed data in a given process
# (e.g. writing out the cache again)
cls.save_map = {}
cls.save_count = 1
cls.restore_map = {}
@classmethod
def _save(cls, deps):
ret = []
if not deps:
return deps
for dep in deps:
fs = deps[dep]
if fs is None:
ret.append((dep, None, None))
elif fs in cls.save_map:
ret.append((dep, None, cls.save_map[fs]))
else:
cls.save_map[fs] = cls.save_count
ret.append((dep, fs, cls.save_count))
cls.save_count = cls.save_count + 1
return ret
@classmethod
def _restore(cls, deps, pid):
ret = {}
if not deps:
return deps
if pid not in cls.restore_map:
cls.restore_map[pid] = {}
map = cls.restore_map[pid]
for dep, fs, mapnum in deps:
if fs is None and mapnum is None:
ret[dep] = None
elif fs is None:
ret[dep] = map[mapnum]
else:
try:
fs = cls.store[fs]
except KeyError:
cls.store[fs] = fs
map[mapnum] = fs
ret[dep] = fs
return ret
def __getstate__(self):
ret = {}
for key in ["siggen_gendeps", "siggen_taskdeps", "siggen_varvals"]:
ret[key] = self._save(self.__dict__[key])
ret['pid'] = os.getpid()
return ret
def __setstate__(self, state):
pid = state['pid']
for key in ["siggen_gendeps", "siggen_taskdeps", "siggen_varvals"]:
setattr(self, key, self._restore(state[key], pid))
def virtualfn2realfn(virtualfn):
"""
Convert a virtual file name to a real one + the associated subclass keyword
@@ -280,75 +380,18 @@ def variant2virtual(realfn, variant):
return "mc:" + elems[1] + ":" + realfn
return "virtual:" + variant + ":" + realfn
def parse_recipe(bb_data, bbfile, appends, mc=''):
"""
Parse a recipe
"""
bb_data.setVar("__BBMULTICONFIG", mc)
bbfile_loc = os.path.abspath(os.path.dirname(bbfile))
bb.parse.cached_mtime_noerror(bbfile_loc)
if appends:
bb_data.setVar('__BBAPPEND', " ".join(appends))
bb_data = bb.parse.handle(bbfile, bb_data)
return bb_data
class NoCache(object):
def __init__(self, databuilder):
self.databuilder = databuilder
self.data = databuilder.data
def loadDataFull(self, virtualfn, appends):
"""
Return a complete set of data for fn.
To do this, we need to parse the file.
"""
logger.debug("Parsing %s (full)" % virtualfn)
(fn, virtual, mc) = virtualfn2realfn(virtualfn)
bb_data = self.load_bbfile(virtualfn, appends, virtonly=True)
return bb_data[virtual]
def load_bbfile(self, bbfile, appends, virtonly = False, mc=None):
"""
Load and parse one .bb build file
Return the data and whether parsing resulted in the file being skipped
"""
if virtonly:
(bbfile, virtual, mc) = virtualfn2realfn(bbfile)
bb_data = self.databuilder.mcdata[mc].createCopy()
bb_data.setVar("__ONLYFINALISE", virtual or "default")
datastores = parse_recipe(bb_data, bbfile, appends, mc)
return datastores
if mc is not None:
bb_data = self.databuilder.mcdata[mc].createCopy()
return parse_recipe(bb_data, bbfile, appends, mc)
bb_data = self.data.createCopy()
datastores = parse_recipe(bb_data, bbfile, appends)
for mc in self.databuilder.mcdata:
if not mc:
continue
bb_data = self.databuilder.mcdata[mc].createCopy()
newstores = parse_recipe(bb_data, bbfile, appends, mc)
for ns in newstores:
datastores["mc:%s:%s" % (mc, ns)] = newstores[ns]
return datastores
class Cache(NoCache):
#
# Cooker calls cacheValid on its recipe list, then either calls loadCached
# from it's main thread or parse from separate processes to generate an up to
# date cache
#
class Cache(object):
"""
BitBake Cache implementation
"""
def __init__(self, databuilder, mc, data_hash, caches_array):
super().__init__(databuilder)
data = databuilder.data
self.databuilder = databuilder
self.data = databuilder.data
# Pass caches_array information into Cache Constructor
# It will be used later for deciding whether we
@@ -356,7 +399,7 @@ class Cache(NoCache):
self.mc = mc
self.logger = PrefixLoggerAdapter("Cache: %s: " % (mc if mc else "default"), logger)
self.caches_array = caches_array
self.cachedir = data.getVar("CACHE")
self.cachedir = self.data.getVar("CACHE")
self.clean = set()
self.checked = set()
self.depends_cache = {}
@@ -366,20 +409,12 @@ class Cache(NoCache):
self.filelist_regex = re.compile(r'(?:(?<=:True)|(?<=:False))\s+')
if self.cachedir in [None, '']:
self.has_cache = False
self.logger.info("Not using a cache. "
"Set CACHE = <directory> to enable.")
return
self.has_cache = True
bb.fatal("Please ensure CACHE is set to the cache directory for BitBake to use")
def getCacheFile(self, cachefile):
return getCacheFile(self.cachedir, cachefile, self.mc, self.data_hash)
def prepare_cache(self, progress):
if not self.has_cache:
return 0
loaded = 0
self.cachefile = self.getCacheFile("bb_cache.dat")
@@ -418,9 +453,6 @@ class Cache(NoCache):
return loaded
def cachesize(self):
if not self.has_cache:
return 0
cachesize = 0
for cache_class in self.caches_array:
cachefile = self.getCacheFile(cache_class.cachefile)
@@ -486,7 +518,7 @@ class Cache(NoCache):
"""Parse the specified filename, returning the recipe information"""
self.logger.debug("Parsing %s", filename)
infos = []
datastores = self.load_bbfile(filename, appends, mc=self.mc)
datastores = self.databuilder.parseRecipeVariants(filename, appends, mc=self.mc)
depends = []
variants = []
# Process the "real" fn last so we can store variants list
@@ -508,43 +540,19 @@ class Cache(NoCache):
return infos
def load(self, filename, appends):
def loadCached(self, filename, appends):
"""Obtain the recipe information for the specified filename,
using cached values if available, otherwise parsing.
using cached values.
"""
Note that if it does parse to obtain the info, it will not
automatically add the information to the cache or to your
CacheData. Use the add or add_info method to do so after
running this, or use loadData instead."""
cached = self.cacheValid(filename, appends)
if cached:
infos = []
# info_array item is a list of [CoreRecipeInfo, XXXRecipeInfo]
info_array = self.depends_cache[filename]
for variant in info_array[0].variants:
virtualfn = variant2virtual(filename, variant)
infos.append((virtualfn, self.depends_cache[virtualfn]))
else:
return self.parse(filename, appends, configdata, self.caches_array)
infos = []
# info_array item is a list of [CoreRecipeInfo, XXXRecipeInfo]
info_array = self.depends_cache[filename]
for variant in info_array[0].variants:
virtualfn = variant2virtual(filename, variant)
infos.append((virtualfn, self.depends_cache[virtualfn]))
return cached, infos
def loadData(self, fn, appends, cacheData):
"""Load the recipe info for the specified filename,
parsing and adding to the cache if necessary, and adding
the recipe information to the supplied CacheData instance."""
skipped, virtuals = 0, 0
cached, infos = self.load(fn, appends)
for virtualfn, info_array in infos:
if info_array[0].skipped:
self.logger.debug("Skipping %s: %s", virtualfn, info_array[0].skipreason)
skipped += 1
else:
self.add_info(virtualfn, info_array, cacheData, not cached)
virtuals += 1
return cached, skipped, virtuals
return infos
def cacheValid(self, fn, appends):
"""
@@ -553,10 +561,6 @@ class Cache(NoCache):
"""
if fn not in self.checked:
self.cacheValidUpdate(fn, appends)
# Is cache enabled?
if not self.has_cache:
return False
if fn in self.clean:
return True
return False
@@ -566,10 +570,6 @@ class Cache(NoCache):
Is the cache valid for fn?
Make thorough (slower) checks including timestamps.
"""
# Is cache enabled?
if not self.has_cache:
return False
self.checked.add(fn)
# File isn't in depends_cache
@@ -676,10 +676,6 @@ class Cache(NoCache):
Save the cache
Called from the parser when complete (or exiting)
"""
if not self.has_cache:
return
if self.cacheclean:
self.logger.debug2("Cache is clean, not saving.")
return
@@ -700,6 +696,7 @@ class Cache(NoCache):
p.dump(info)
del self.depends_cache
SiggenRecipeInfo.reset()
@staticmethod
def mtime(cachefile):
@@ -722,26 +719,11 @@ class Cache(NoCache):
if watcher:
watcher(info_array[0].file_depends)
if not self.has_cache:
return
if (info_array[0].skipped or 'SRCREVINACTION' not in info_array[0].pv) and not info_array[0].nocache:
if parsed:
self.cacheclean = False
self.depends_cache[filename] = info_array
def add(self, file_name, data, cacheData, parsed=None):
"""
Save data we need into the cache
"""
realfn = virtualfn2realfn(file_name)[0]
info_array = []
for cache_class in self.caches_array:
info_array.append(cache_class(realfn, data))
self.add_info(file_name, info_array, cacheData, parsed)
class MulticonfigCache(Mapping):
def __init__(self, databuilder, data_hash, caches_array):
def progress(p):
@@ -778,6 +760,7 @@ class MulticonfigCache(Mapping):
loaded = 0
for c in self.__caches.values():
SiggenRecipeInfo.reset()
loaded += c.prepare_cache(progress)
previous_progress = current_progress
@@ -855,11 +838,10 @@ class MultiProcessCache(object):
self.cachedata = self.create_cachedata()
self.cachedata_extras = self.create_cachedata()
def init_cache(self, d, cache_file_name=None):
cachedir = (d.getVar("PERSISTENT_DIR") or
d.getVar("CACHE"))
if cachedir in [None, '']:
def init_cache(self, cachedir, cache_file_name=None):
if not cachedir:
return
bb.utils.mkdirhier(cachedir)
self.cachefile = os.path.join(cachedir,
cache_file_name or self.__class__.cache_file_name)
@@ -890,6 +872,10 @@ class MultiProcessCache(object):
if not self.cachefile:
return
have_data = any(self.cachedata_extras)
if not have_data:
return
glf = bb.utils.lockfile(self.cachefile + ".lock", shared=True)
i = os.getpid()
@@ -924,6 +910,8 @@ class MultiProcessCache(object):
data = self.cachedata
have_data = False
for f in [y for y in os.listdir(os.path.dirname(self.cachefile)) if y.startswith(os.path.basename(self.cachefile) + '-')]:
f = os.path.join(os.path.dirname(self.cachefile), f)
try:
@@ -938,12 +926,14 @@ class MultiProcessCache(object):
os.unlink(f)
continue
have_data = True
self.merge_data(extradata, data)
os.unlink(f)
with open(self.cachefile, "wb") as f:
p = pickle.Pickler(f, -1)
p.dump([data, self.__class__.CACHE_VERSION])
if have_data:
with open(self.cachefile, "wb") as f:
p = pickle.Pickler(f, -1)
p.dump([data, self.__class__.CACHE_VERSION])
bb.utils.unlockfile(glf)

View File

@@ -27,6 +27,7 @@ import ast
import sys
import codegen
import logging
import inspect
import bb.pysh as pysh
import bb.utils, bb.data
import hashlib
@@ -58,10 +59,39 @@ def check_indent(codestr):
return codestr
modulecode_deps = {}
def add_module_functions(fn, functions, namespace):
fstat = os.stat(fn)
fixedhash = fn + ":" + str(fstat.st_size) + ":" + str(fstat.st_mtime)
for f in functions:
name = "%s.%s" % (namespace, f)
parser = PythonParser(name, logger)
try:
parser.parse_python(None, filename=fn, lineno=1, fixedhash=fixedhash+f)
#bb.warn("Cached %s" % f)
except KeyError:
lines, lineno = inspect.getsourcelines(functions[f])
src = "".join(lines)
parser.parse_python(src, filename=fn, lineno=lineno, fixedhash=fixedhash+f)
#bb.warn("Not cached %s" % f)
execs = parser.execs.copy()
# Expand internal module exec references
for e in parser.execs:
if e in functions:
execs.remove(e)
execs.add(namespace + "." + e)
modulecode_deps[name] = [parser.references.copy(), execs, parser.var_execs.copy(), parser.contains.copy()]
#bb.warn("%s: %s\nRefs:%s Execs: %s %s %s" % (name, src, parser.references, parser.execs, parser.var_execs, parser.contains))
def update_module_dependencies(d):
for mod in modulecode_deps:
excludes = set((d.getVarFlag(mod, "vardepsexclude") or "").split())
if excludes:
modulecode_deps[mod] = [modulecode_deps[mod][0] - excludes, modulecode_deps[mod][1] - excludes, modulecode_deps[mod][2] - excludes, modulecode_deps[mod][3]]
# A custom getstate/setstate using tuples is actually worth 15% cachesize by
# avoiding duplication of the attribute names!
class SetCache(object):
def __init__(self):
self.setcache = {}
@@ -154,12 +184,12 @@ class CodeParserCache(MultiProcessCache):
self.shellcachelines[h] = cacheline
return cacheline
def init_cache(self, d):
def init_cache(self, cachedir):
# Check if we already have the caches
if self.pythoncache:
return
MultiProcessCache.init_cache(self, d)
MultiProcessCache.init_cache(self, cachedir)
# cachedata gets re-assigned in the parent
self.pythoncache = self.cachedata[0]
@@ -171,8 +201,8 @@ class CodeParserCache(MultiProcessCache):
codeparsercache = CodeParserCache()
def parser_cache_init(d):
codeparsercache.init_cache(d)
def parser_cache_init(cachedir):
codeparsercache.init_cache(cachedir)
def parser_cache_save():
codeparsercache.save_extras()
@@ -289,11 +319,17 @@ class PythonParser():
self.unhandled_message = "in call of %s, argument '%s' is not a string literal"
self.unhandled_message = "while parsing %s, %s" % (name, self.unhandled_message)
def parse_python(self, node, lineno=0, filename="<string>"):
if not node or not node.strip():
# For the python module code it is expensive to have the function text so it is
# uses a different fixedhash to cache against. We can take the hit on obtaining the
# text if it isn't in the cache.
def parse_python(self, node, lineno=0, filename="<string>", fixedhash=None):
if not fixedhash and (not node or not node.strip()):
return
h = bbhash(str(node))
if fixedhash:
h = fixedhash
else:
h = bbhash(str(node))
if h in codeparsercache.pythoncache:
self.references = set(codeparsercache.pythoncache[h].refs)
@@ -311,6 +347,9 @@ class PythonParser():
self.contains[i] = set(codeparsercache.pythoncacheextras[h].contains[i])
return
if fixedhash and not node:
raise KeyError
# Need to parse so take the hit on the real log buffer
self.log = BufferedLogger('BitBake.Data.PythonParser', logging.DEBUG, self._log)

View File

@@ -51,16 +51,17 @@ class Command:
"""
A queue of asynchronous commands for bitbake
"""
def __init__(self, cooker):
def __init__(self, cooker, process_server):
self.cooker = cooker
self.cmds_sync = CommandsSync()
self.cmds_async = CommandsAsync()
self.remotedatastores = None
# FIXME Add lock for this
self.process_server = process_server
# Access with locking using process_server.{get/set/clear}_async_cmd()
self.currentAsyncCommand = None
def runCommand(self, commandline, ro_only = False):
def runCommand(self, commandline, process_server, ro_only=False):
command = commandline.pop(0)
# Ensure cooker is ready for commands
@@ -84,7 +85,7 @@ class Command:
if not hasattr(command_method, 'readonly') or not getattr(command_method, 'readonly'):
return None, "Not able to execute not readonly commands in readonly mode"
try:
self.cooker.process_inotify_updates()
self.cooker.process_inotify_updates_apply()
if getattr(command_method, 'needconfig', True):
self.cooker.updateCacheSync()
result = command_method(self, commandline)
@@ -99,24 +100,24 @@ class Command:
return None, traceback.format_exc()
else:
return result, None
if self.currentAsyncCommand is not None:
return None, "Busy (%s in progress)" % self.currentAsyncCommand[0]
if command not in CommandsAsync.__dict__:
return None, "No such command"
self.currentAsyncCommand = (command, commandline)
self.cooker.idleCallBackRegister(self.cooker.runCommands, self.cooker)
if not process_server.set_async_cmd((command, commandline)):
return None, "Busy (%s in progress)" % self.process_server.get_async_cmd()[0]
self.cooker.idleCallBackRegister(self.runAsyncCommand, process_server)
return True, None
def runAsyncCommand(self):
def runAsyncCommand(self, _, process_server, halt):
try:
self.cooker.process_inotify_updates()
self.cooker.process_inotify_updates_apply()
if self.cooker.state in (bb.cooker.state.error, bb.cooker.state.shutdown, bb.cooker.state.forceshutdown):
# updateCache will trigger a shutdown of the parser
# and then raise BBHandledException triggering an exit
self.cooker.updateCache()
return False
if self.currentAsyncCommand is not None:
(command, options) = self.currentAsyncCommand
return bb.server.process.idleFinish("Cooker in error state")
cmd = process_server.get_async_cmd()
if cmd is not None:
(command, options) = cmd
commandmethod = getattr(CommandsAsync, command)
needcache = getattr( commandmethod, "needcache" )
if needcache and self.cooker.state != bb.cooker.state.running:
@@ -126,24 +127,21 @@ class Command:
commandmethod(self.cmds_async, self, options)
return False
else:
return False
return bb.server.process.idleFinish("Nothing to do, no async command?")
except KeyboardInterrupt as exc:
self.finishAsyncCommand("Interrupted")
return False
return bb.server.process.idleFinish("Interrupted")
except SystemExit as exc:
arg = exc.args[0]
if isinstance(arg, str):
self.finishAsyncCommand(arg)
return bb.server.process.idleFinish(arg)
else:
self.finishAsyncCommand("Exited with %s" % arg)
return False
return bb.server.process.idleFinish("Exited with %s" % arg)
except Exception as exc:
import traceback
if isinstance(exc, bb.BBHandledException):
self.finishAsyncCommand("")
return bb.server.process.idleFinish("")
else:
self.finishAsyncCommand(traceback.format_exc())
return False
return bb.server.process.idleFinish(traceback.format_exc())
def finishAsyncCommand(self, msg=None, code=None):
if msg or msg == "":
@@ -152,8 +150,8 @@ class Command:
bb.event.fire(CommandExit(code), self.cooker.data)
else:
bb.event.fire(CommandCompleted(), self.cooker.data)
self.currentAsyncCommand = None
self.cooker.finishcommand()
self.process_server.clear_async_cmd()
def reset(self):
if self.remotedatastores:
@@ -166,6 +164,12 @@ class CommandsSync:
These must not influence any running synchronous command.
"""
def ping(self, command, params):
"""
Allow a UI to check the server is still alive
"""
return "Still alive!"
def stateShutdown(self, command, params):
"""
Trigger cooker 'shutdown' mode
@@ -564,11 +568,10 @@ class CommandsSync:
if config_data:
# We have to use a different function here if we're passing in a datastore
# NOTE: we took a copy above, so we don't do it here again
envdata = bb.cache.parse_recipe(config_data, fn, appendfiles, mc)['']
envdata = command.cooker.databuilder._parse_recipe(config_data, fn, appendfiles, mc)['']
else:
# Use the standard path
parser = bb.cache.NoCache(command.cooker.databuilder)
envdata = parser.loadDataFull(fn, appendfiles)
envdata = command.cooker.databuilder.parseRecipe(fn, appendfiles)
idx = command.remotedatastores.store(envdata)
return DataStoreConnectionHandle(idx)
parseRecipeFile.readonly = True
@@ -741,7 +744,7 @@ class CommandsAsync:
"""
event = params[0]
bb.event.fire(eval(event), command.cooker.data)
command.currentAsyncCommand = None
process_server.clear_async_cmd()
triggerEvent.needcache = False
def resetCooker(self, command, params):

View File

@@ -80,7 +80,7 @@ class SkippedPackage:
class CookerFeatures(object):
_feature_list = [HOB_EXTRA_CACHES, BASEDATASTORE_TRACKING, SEND_SANITYEVENTS] = list(range(3))
_feature_list = [HOB_EXTRA_CACHES, BASEDATASTORE_TRACKING, SEND_SANITYEVENTS, RECIPE_SIGGEN_INFO] = list(range(4))
def __init__(self):
self._features=set()
@@ -149,7 +149,7 @@ class BBCooker:
Manages one bitbake build run
"""
def __init__(self, featureSet=None, idleCallBackRegister=None):
def __init__(self, featureSet=None, server=None):
self.recipecaches = None
self.eventlog = None
self.skiplist = {}
@@ -163,7 +163,12 @@ class BBCooker:
self.configuration = bb.cookerdata.CookerConfiguration()
self.idleCallBackRegister = idleCallBackRegister
self.process_server = server
self.idleCallBackRegister = None
self.waitIdle = None
if server:
self.idleCallBackRegister = server.register_idle_function
self.waitIdle = server.wait_for_idle
bb.debug(1, "BBCooker starting %s" % time.time())
sys.stdout.flush()
@@ -189,12 +194,6 @@ class BBCooker:
self.inotify_modified_files = []
def _process_inotify_updates(server, cooker, halt):
cooker.process_inotify_updates()
return 1.0
self.idleCallBackRegister(_process_inotify_updates, self)
# TOSTOP must not be set or our children will hang when they output
try:
fd = sys.stdout.fileno()
@@ -208,7 +207,7 @@ class BBCooker:
except UnsupportedOperation:
pass
self.command = bb.command.Command(self)
self.command = bb.command.Command(self, self.process_server)
self.state = state.initial
self.parser = None
@@ -220,6 +219,8 @@ class BBCooker:
bb.debug(1, "BBCooker startup complete %s" % time.time())
sys.stdout.flush()
self.inotify_threadlock = threading.Lock()
def init_configdata(self):
if not hasattr(self, "data"):
self.initConfigurationData()
@@ -228,31 +229,40 @@ class BBCooker:
self.handlePRServ()
def setupConfigWatcher(self):
if self.configwatcher:
self.configwatcher.close()
self.confignotifier = None
self.configwatcher = None
self.configwatcher = pyinotify.WatchManager()
self.configwatcher.bbseen = set()
self.configwatcher.bbwatchedfiles = set()
self.confignotifier = pyinotify.Notifier(self.configwatcher, self.config_notifications)
with bb.utils.lock_timeout(self.inotify_threadlock):
if self.configwatcher:
self.configwatcher.close()
self.confignotifier = None
self.configwatcher = None
self.configwatcher = pyinotify.WatchManager()
self.configwatcher.bbseen = set()
self.configwatcher.bbwatchedfiles = set()
self.confignotifier = pyinotify.Notifier(self.configwatcher, self.config_notifications)
def setupParserWatcher(self):
if self.watcher:
self.watcher.close()
self.notifier = None
self.watcher = None
self.watcher = pyinotify.WatchManager()
self.watcher.bbseen = set()
self.watcher.bbwatchedfiles = set()
self.notifier = pyinotify.Notifier(self.watcher, self.notifications)
with bb.utils.lock_timeout(self.inotify_threadlock):
if self.watcher:
self.watcher.close()
self.notifier = None
self.watcher = None
self.watcher = pyinotify.WatchManager()
self.watcher.bbseen = set()
self.watcher.bbwatchedfiles = set()
self.notifier = pyinotify.Notifier(self.watcher, self.notifications)
def process_inotify_updates(self):
for n in [self.confignotifier, self.notifier]:
if n and n.check_events(timeout=0):
# read notified events and enqeue them
n.read_events()
n.process_events()
with bb.utils.lock_timeout(self.inotify_threadlock):
for n in [self.confignotifier, self.notifier]:
if n and n.check_events(timeout=0):
# read notified events and enqueue them
n.read_events()
def process_inotify_updates_apply(self):
with bb.utils.lock_timeout(self.inotify_threadlock):
for n in [self.confignotifier, self.notifier]:
if n and n.check_events(timeout=0):
n.read_events()
n.process_events()
def config_notifications(self, event):
if event.maskname == "IN_Q_OVERFLOW":
@@ -329,12 +339,21 @@ class BBCooker:
providerlog.error("Root privilege is required to modify max_user_watches.")
raise
def handle_inotify_updates(self):
# reload files for which we got notifications
for p in self.inotify_modified_files:
bb.parse.update_cache(p)
if p in bb.parse.BBHandler.cached_statements:
del bb.parse.BBHandler.cached_statements[p]
self.inotify_modified_files = []
def sigterm_exception(self, signum, stackframe):
if signum == signal.SIGTERM:
bb.warn("Cooker received SIGTERM, shutting down...")
elif signum == signal.SIGHUP:
bb.warn("Cooker received SIGHUP, shutting down...")
self.state = state.forceshutdown
bb.event._should_exit.set()
def setFeatures(self, features):
# we only accept a new feature set if we're in state initial, so we can reset without problems
@@ -357,6 +376,7 @@ class BBCooker:
if mod not in self.orig_sysmodules:
del sys.modules[mod]
self.handle_inotify_updates()
self.setupConfigWatcher()
# Need to preserve BB_CONSOLELOG over resets
@@ -367,12 +387,12 @@ class BBCooker:
if CookerFeatures.BASEDATASTORE_TRACKING in self.featureset:
self.enableDataTracking()
all_extra_cache_names = []
caches_name_array = ['bb.cache:CoreRecipeInfo']
# We hardcode all known cache types in a single place, here.
if CookerFeatures.HOB_EXTRA_CACHES in self.featureset:
all_extra_cache_names.append("bb.cache_extra:HobRecipeInfo")
caches_name_array = ['bb.cache:CoreRecipeInfo'] + all_extra_cache_names
caches_name_array.append("bb.cache_extra:HobRecipeInfo")
if CookerFeatures.RECIPE_SIGGEN_INFO in self.featureset:
caches_name_array.append("bb.cache:SiggenRecipeInfo")
# At least CoreRecipeInfo will be loaded, so caches_array will never be empty!
# This is the entry point, no further check needed!
@@ -400,9 +420,7 @@ class BBCooker:
self.disableDataTracking()
for mc in self.databuilder.mcdata.values():
mc.renameVar("__depends", "__base_depends")
self.add_filewatch(mc.getVar("__base_depends", False), self.configwatcher)
mc.setVar("__bbclasstype", "recipe")
self.baseconfig_valid = True
self.parsecache_valid = False
@@ -436,10 +454,8 @@ class BBCooker:
upstream=upstream,
)
self.hashserv.serve_as_process()
self.data.setVar("BB_HASHSERVE", self.hashservaddr)
self.databuilder.origdata.setVar("BB_HASHSERVE", self.hashservaddr)
self.databuilder.data.setVar("BB_HASHSERVE", self.hashservaddr)
for mc in self.databuilder.mcdata:
self.databuilder.mcorigdata[mc].setVar("BB_HASHSERVE", self.hashservaddr)
self.databuilder.mcdata[mc].setVar("BB_HASHSERVE", self.hashservaddr)
bb.parse.init_parser(self.data)
@@ -535,15 +551,6 @@ class BBCooker:
logger.debug("Base environment change, triggering reparse")
self.reset()
def runCommands(self, server, data, halt):
"""
Run any queued asynchronous command
This is done by the idle handler so it runs in true context rather than
tied to any UI.
"""
return self.command.runAsyncCommand()
def showVersions(self):
(latest_versions, preferred_versions, required) = self.findProviders()
@@ -617,8 +624,7 @@ class BBCooker:
if fn:
try:
bb_caches = bb.cache.MulticonfigCache(self.databuilder, self.data_hash, self.caches_array)
envdata = bb_caches[mc].loadDataFull(fn, self.collections[mc].get_file_appends(fn))
envdata = self.databuilder.parseRecipe(fn, self.collections[mc].get_file_appends(fn))
except Exception as e:
parselog.exception("Unable to read %s", fn)
raise
@@ -1449,10 +1455,12 @@ class BBCooker:
self.recipecaches[mc].rundeps[fn] = defaultdict(list)
self.recipecaches[mc].runrecs[fn] = defaultdict(list)
bb.parse.siggen.setup_datacache(self.recipecaches)
# Invalidate task for target if force mode active
if self.configuration.force:
logger.verbose("Invalidate task %s, %s", task, fn)
bb.parse.siggen.invalidate_task(task, self.recipecaches[mc], fn)
bb.parse.siggen.invalidate_task(task, fn)
# Setup taskdata structure
taskdata = {}
@@ -1466,6 +1474,7 @@ class BBCooker:
buildname = self.databuilder.mcdata[mc].getVar("BUILDNAME")
if fireevents:
bb.event.fire(bb.event.BuildStarted(buildname, [item]), self.databuilder.mcdata[mc])
bb.event.enable_heartbeat()
# Execute the runqueue
runlist = [[mc, item, task, fn]]
@@ -1491,22 +1500,21 @@ class BBCooker:
failures += len(exc.args)
retval = False
except SystemExit as exc:
self.command.finishAsyncCommand(str(exc))
if quietlog:
bb.runqueue.logger.setLevel(rqloglevel)
return False
return bb.server.process.idleFinish(str(exc))
if not retval:
if fireevents:
bb.event.fire(bb.event.BuildCompleted(len(rq.rqdata.runtaskentries), buildname, item, failures, interrupted), self.databuilder.mcdata[mc])
self.command.finishAsyncCommand(msg)
bb.event.disable_heartbeat()
# We trashed self.recipecaches above
self.parsecache_valid = False
self.configuration.limited_deps = False
bb.parse.siggen.reset(self.data)
if quietlog:
bb.runqueue.logger.setLevel(rqloglevel)
return False
return bb.server.process.idleFinish(msg)
if retval is True:
return True
return retval
@@ -1522,6 +1530,7 @@ class BBCooker:
msg = None
interrupted = 0
if halt or self.state == state.forceshutdown:
bb.event._should_exit.set()
rq.finish_runqueue(True)
msg = "Forced shutdown"
interrupted = 2
@@ -1536,16 +1545,16 @@ class BBCooker:
failures += len(exc.args)
retval = False
except SystemExit as exc:
self.command.finishAsyncCommand(str(exc))
return False
return bb.server.process.idleFinish(str(exc))
if not retval:
try:
for mc in self.multiconfigs:
bb.event.fire(bb.event.BuildCompleted(len(rq.rqdata.runtaskentries), buildname, targets, failures, interrupted), self.databuilder.mcdata[mc])
finally:
self.command.finishAsyncCommand(msg)
return False
bb.event.disable_heartbeat()
return bb.server.process.idleFinish(msg)
if retval is True:
return True
return retval
@@ -1577,6 +1586,7 @@ class BBCooker:
for mc in self.multiconfigs:
bb.event.fire(bb.event.BuildStarted(buildname, ntargets), self.databuilder.mcdata[mc])
bb.event.enable_heartbeat()
rq = bb.runqueue.RunQueue(self, self.data, self.recipecaches, taskdata, runlist)
if 'universe' in targets:
@@ -1613,12 +1623,7 @@ class BBCooker:
if self.state == state.running:
return
# reload files for which we got notifications
for p in self.inotify_modified_files:
bb.parse.update_cache(p)
if p in bb.parse.BBHandler.cached_statements:
del bb.parse.BBHandler.cached_statements[p]
self.inotify_modified_files = []
self.handle_inotify_updates()
if not self.baseconfig_valid:
logger.debug("Reloading base configuration data")
@@ -1756,22 +1761,28 @@ class BBCooker:
if hasattr(self, "data"):
bb.event.fire(CookerExit(), self.data)
def shutdown(self, force = False):
def shutdown(self, force=False):
if force:
self.state = state.forceshutdown
bb.event._should_exit.set()
else:
self.state = state.shutdown
if self.parser:
self.parser.shutdown(clean=not force)
self.parser.shutdown(clean=False)
self.parser.final_cleanup()
def finishcommand(self):
if hasattr(self.parser, 'shutdown'):
self.parser.shutdown(clean=False)
self.parser.final_cleanup()
self.state = state.initial
bb.event._should_exit.clear()
def reset(self):
if hasattr(bb.parse, "siggen"):
bb.parse.siggen.exit()
self.finishcommand()
self.initConfigurationData()
self.handlePRServ()
@@ -1783,8 +1794,9 @@ class BBCooker:
if hasattr(self, "data"):
self.databuilder.reset()
self.data = self.databuilder.data
# In theory tinfoil could have modified the base data before parsing,
# ideally need to track if anything did modify the datastore
self.parsecache_valid = False
self.baseconfig_valid = False
class CookerExit(bb.event.Event):
@@ -2092,29 +2104,29 @@ class Parser(multiprocessing.Process):
multiprocessing.util.Finalize(None, bb.fetch.fetcher_parse_save, exitpriority=1)
pending = []
havejobs = True
try:
while True:
try:
self.quit.get_nowait()
except queue.Empty:
pass
else:
while havejobs or pending:
if self.quit.is_set():
break
if pending:
result = pending.pop()
else:
try:
job = self.jobs.pop()
except IndexError:
break
job = None
try:
job = self.jobs.pop()
except IndexError:
havejobs = False
if job:
result = self.parse(*job)
# Clear the siggen cache after parsing to control memory usage, its huge
bb.parse.siggen.postparsing_clean_cache()
try:
self.results.put(result, timeout=0.25)
except queue.Full:
pending.append(result)
if pending:
try:
result = pending.pop()
self.results.put(result, timeout=0.05)
except queue.Full:
pending.append(result)
finally:
self.results.close()
self.results.join_thread()
@@ -2185,6 +2197,7 @@ class CookerParser(object):
self.num_processes = min(int(self.cfgdata.getVar("BB_NUMBER_PARSE_THREADS") or
multiprocessing.cpu_count()), self.toparse)
bb.cache.SiggenRecipeInfo.reset()
self.start()
self.haveshutdown = False
self.syncthread = None
@@ -2195,7 +2208,7 @@ class CookerParser(object):
if self.toparse:
bb.event.fire(bb.event.ParseStarted(self.toparse), self.cfgdata)
self.parser_quit = multiprocessing.Queue(maxsize=self.num_processes)
self.parser_quit = multiprocessing.Event()
self.result_queue = multiprocessing.Queue()
def chunkify(lst,n):
@@ -2210,7 +2223,7 @@ class CookerParser(object):
self.results = itertools.chain(self.results, self.parse_generator())
def shutdown(self, clean=True):
def shutdown(self, clean=True, eventmsg="Parsing halted due to errors"):
if not self.toparse:
return
if self.haveshutdown:
@@ -2225,11 +2238,9 @@ class CookerParser(object):
bb.event.fire(event, self.cfgdata)
else:
bb.event.fire(bb.event.ParseError(eventmsg), self.cfgdata)
bb.error("Parsing halted due to errors, see error messages above")
for process in self.processes:
self.parser_quit.put(None)
# Cleanup the queue before call process.join(), otherwise there might be
# deadlocks.
while True:
@@ -2238,6 +2249,16 @@ class CookerParser(object):
except queue.Empty:
break
def sync_caches():
for c in self.bb_caches.values():
bb.cache.SiggenRecipeInfo.reset()
c.sync()
self.syncthread = threading.Thread(target=sync_caches, name="SyncThread")
self.syncthread.start()
self.parser_quit.set()
for process in self.processes:
process.join(0.5)
@@ -2258,18 +2279,9 @@ class CookerParser(object):
if hasattr(process, "close"):
process.close()
self.parser_quit.close()
# Allow data left in the cancel queue to be discarded
self.parser_quit.cancel_join_thread()
def sync_caches():
for c in self.bb_caches.values():
c.sync()
sync = threading.Thread(target=sync_caches, name="SyncThread")
self.syncthread = sync
sync.start()
bb.codeparser.parser_cache_save()
bb.codeparser.parser_cache_savemerge()
bb.cache.SiggenRecipeInfo.reset()
bb.fetch.fetcher_parse_done()
if self.cooker.configuration.profile:
profiles = []
@@ -2288,8 +2300,8 @@ class CookerParser(object):
def load_cached(self):
for mc, cache, filename, appends in self.fromcache:
cached, infos = cache.load(filename, appends)
yield not cached, mc, infos
infos = cache.loadCached(filename, appends)
yield False, mc, infos
def parse_generator(self):
empty = False
@@ -2344,7 +2356,7 @@ class CookerParser(object):
except bb.parse.ParseError as exc:
self.error += 1
logger.error(str(exc))
self.shutdown(clean=False)
self.shutdown(clean=False, eventmsg=str(exc))
return False
except bb.data_smart.ExpansionError as exc:
self.error += 1
@@ -2387,6 +2399,7 @@ class CookerParser(object):
return True
def reparse(self, filename):
bb.cache.SiggenRecipeInfo.reset()
to_reparse = set()
for mc in self.cooker.multiconfigs:
to_reparse.add((mc, filename, self.cooker.collections[mc].get_file_appends(filename)))

View File

@@ -176,7 +176,7 @@ def catch_parse_error(func):
@catch_parse_error
def parse_config_file(fn, data, include=True):
return bb.parse.handle(fn, data, include)
return bb.parse.handle(fn, data, include, baseconfig=True)
@catch_parse_error
def _inherit(bbclass, data):
@@ -255,6 +255,7 @@ class CookerDataBuilder(object):
self.mcdata = {}
def parseBaseConfiguration(self, worker=False):
mcdata = {}
data_hash = hashlib.sha256()
try:
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
@@ -262,7 +263,6 @@ class CookerDataBuilder(object):
if self.data.getVar("BB_WORKERCONTEXT", False) is None and not worker:
bb.fetch.fetcher_init(self.data)
bb.parse.init_parser(self.data)
bb.codeparser.parser_cache_init(self.data)
bb.event.fire(bb.event.ConfigParsed(), self.data)
@@ -280,24 +280,25 @@ class CookerDataBuilder(object):
bb.parse.init_parser(self.data)
data_hash.update(self.data.get_hash().encode('utf-8'))
self.mcdata[''] = self.data
mcdata[''] = self.data
multiconfig = (self.data.getVar("BBMULTICONFIG") or "").split()
for config in multiconfig:
if config[0].isdigit():
bb.fatal("Multiconfig name '%s' is invalid as multiconfigs cannot start with a digit" % config)
mcdata = self.parseConfigurationFiles(self.prefiles, self.postfiles, config)
bb.event.fire(bb.event.ConfigParsed(), mcdata)
self.mcdata[config] = mcdata
data_hash.update(mcdata.get_hash().encode('utf-8'))
parsed_mcdata = self.parseConfigurationFiles(self.prefiles, self.postfiles, config)
bb.event.fire(bb.event.ConfigParsed(), parsed_mcdata)
mcdata[config] = parsed_mcdata
data_hash.update(parsed_mcdata.get_hash().encode('utf-8'))
if multiconfig:
bb.event.fire(bb.event.MultiConfigParsed(self.mcdata), self.data)
bb.event.fire(bb.event.MultiConfigParsed(mcdata), self.data)
self.data_hash = data_hash.hexdigest()
except bb.data_smart.ExpansionError as e:
logger.error(str(e))
raise bb.BBHandledException()
bb.codeparser.update_module_dependencies(self.data)
# Handle obsolete variable names
d = self.data
@@ -318,17 +319,23 @@ class CookerDataBuilder(object):
if issues:
raise bb.BBHandledException()
for mc in mcdata:
mcdata[mc].renameVar("__depends", "__base_depends")
mcdata[mc].setVar("__bbclasstype", "recipe")
# Create a copy so we can reset at a later date when UIs disconnect
self.origdata = self.data
self.data = bb.data.createCopy(self.origdata)
self.mcdata[''] = self.data
self.mcorigdata = mcdata
for mc in mcdata:
self.mcdata[mc] = bb.data.createCopy(mcdata[mc])
self.data = self.mcdata['']
def reset(self):
# We may not have run parseBaseConfiguration() yet
if not hasattr(self, 'origdata'):
if not hasattr(self, 'mcorigdata'):
return
self.data = bb.data.createCopy(self.origdata)
self.mcdata[''] = self.data
for mc in self.mcorigdata:
self.mcdata[mc] = bb.data.createCopy(self.mcorigdata[mc])
self.data = self.mcdata['']
def _findLayerConf(self, data):
return findConfigFile("bblayers.conf", data)
@@ -349,6 +356,11 @@ class CookerDataBuilder(object):
data.setVar("TOPDIR", os.path.dirname(os.path.dirname(layerconf)))
data = parse_config_file(layerconf, data)
if not data.getVar("BB_CACHEDIR"):
data.setVar("BB_CACHEDIR", "${TOPDIR}/cache")
bb.codeparser.parser_cache_init(data.getVar("BB_CACHEDIR"))
layers = (data.getVar('BBLAYERS') or "").split()
broken_layers = []
@@ -370,6 +382,8 @@ class CookerDataBuilder(object):
parselog.critical("Please check BBLAYERS in %s" % (layerconf))
raise bb.BBHandledException()
layerseries = None
compat_entries = {}
for layer in layers:
parselog.debug2("Adding layer %s", layer)
if 'HOME' in approved and '~' in layer:
@@ -382,8 +396,27 @@ class CookerDataBuilder(object):
data.expandVarref('LAYERDIR')
data.expandVarref('LAYERDIR_RE')
# Sadly we can't have nice things.
# Some layers think they're going to be 'clever' and copy the values from
# another layer, e.g. using ${LAYERSERIES_COMPAT_core}. The whole point of
# this mechanism is to make it clear which releases a layer supports and
# show when a layer master branch is bitrotting and is unmaintained.
# We therefore avoid people doing this here.
collections = (data.getVar('BBFILE_COLLECTIONS') or "").split()
for c in collections:
compat_entry = data.getVar("LAYERSERIES_COMPAT_%s" % c)
if compat_entry:
compat_entries[c] = set(compat_entry.split())
data.delVar("LAYERSERIES_COMPAT_%s" % c)
if not layerseries:
layerseries = set((data.getVar("LAYERSERIES_CORENAMES") or "").split())
if layerseries:
data.delVar("LAYERSERIES_CORENAMES")
data.delVar('LAYERDIR_RE')
data.delVar('LAYERDIR')
for c in compat_entries:
data.setVar("LAYERSERIES_COMPAT_%s" % c, " ".join(sorted(compat_entries[c])))
bbfiles_dynamic = (data.getVar('BBFILES_DYNAMIC') or "").split()
collections = (data.getVar('BBFILE_COLLECTIONS') or "").split()
@@ -402,13 +435,15 @@ class CookerDataBuilder(object):
if invalid:
bb.fatal("BBFILES_DYNAMIC entries must be of the form {!}<collection name>:<filename pattern>, not:\n %s" % "\n ".join(invalid))
layerseries = set((data.getVar("LAYERSERIES_CORENAMES") or "").split())
collections_tmp = collections[:]
for c in collections:
collections_tmp.remove(c)
if c in collections_tmp:
bb.fatal("Found duplicated BBFILE_COLLECTIONS '%s', check bblayers.conf or layer.conf to fix it." % c)
compat = set((data.getVar("LAYERSERIES_COMPAT_%s" % c) or "").split())
compat = set()
if c in compat_entries:
compat = compat_entries[c]
if compat and not layerseries:
bb.fatal("No core layer found to work with layer '%s'. Missing entry in bblayers.conf?" % c)
if compat and not (compat & layerseries):
@@ -417,6 +452,8 @@ class CookerDataBuilder(object):
elif not compat and not data.getVar("BB_WORKERCONTEXT"):
bb.warn("Layer %s should set LAYERSERIES_COMPAT_%s in its conf/layer.conf file to list the core layer names it is compatible with." % (c, c))
data.setVar("LAYERSERIES_CORENAMES", " ".join(sorted(layerseries)))
if not data.getVar("BBPATH"):
msg = "The BBPATH variable is not set"
if not layerconf:
@@ -427,6 +464,9 @@ class CookerDataBuilder(object):
if not data.getVar("TOPDIR"):
data.setVar("TOPDIR", os.path.abspath(os.getcwd()))
if not data.getVar("BB_CACHEDIR"):
data.setVar("BB_CACHEDIR", "${TOPDIR}/cache")
bb.codeparser.parser_cache_init(data.getVar("BB_CACHEDIR"))
data = parse_config_file(os.path.join("conf", "bitbake.conf"), data)
@@ -453,3 +493,54 @@ class CookerDataBuilder(object):
return data
@staticmethod
def _parse_recipe(bb_data, bbfile, appends, mc=''):
bb_data.setVar("__BBMULTICONFIG", mc)
bbfile_loc = os.path.abspath(os.path.dirname(bbfile))
bb.parse.cached_mtime_noerror(bbfile_loc)
if appends:
bb_data.setVar('__BBAPPEND', " ".join(appends))
bb_data = bb.parse.handle(bbfile, bb_data)
return bb_data
def parseRecipeVariants(self, bbfile, appends, virtonly=False, mc=None):
"""
Load and parse one .bb build file
Return the data and whether parsing resulted in the file being skipped
"""
if virtonly:
(bbfile, virtual, mc) = bb.cache.virtualfn2realfn(bbfile)
bb_data = self.mcdata[mc].createCopy()
bb_data.setVar("__ONLYFINALISE", virtual or "default")
datastores = self._parse_recipe(bb_data, bbfile, appends, mc)
return datastores
if mc is not None:
bb_data = self.mcdata[mc].createCopy()
return self._parse_recipe(bb_data, bbfile, appends, mc)
bb_data = self.data.createCopy()
datastores = self._parse_recipe(bb_data, bbfile, appends)
for mc in self.mcdata:
if not mc:
continue
bb_data = self.mcdata[mc].createCopy()
newstores = self._parse_recipe(bb_data, bbfile, appends, mc)
for ns in newstores:
datastores["mc:%s:%s" % (mc, ns)] = newstores[ns]
return datastores
def parseRecipe(self, virtualfn, appends):
"""
Return a complete set of data for fn.
To do this, we need to parse the file.
"""
logger.debug("Parsing %s (full)" % virtualfn)
(fn, virtual, mc) = bb.cache.virtualfn2realfn(virtualfn)
bb_data = self.parseRecipeVariants(virtualfn, appends, virtonly=True)
return bb_data[virtual]

View File

@@ -4,14 +4,16 @@ BitBake 'Data' implementations
Functions for interacting with the data structure used by the
BitBake build tools.
The expandKeys and update_data are the most expensive
operations. At night the cookie monster came by and
expandKeys and datastore iteration are the most expensive
operations. Updating overrides is now "on the fly" but still based
on the idea of the cookie monster introduced by zecke:
"At night the cookie monster came by and
suggested 'give me cookies on setting the variables and
things will work out'. Taking this suggestion into account
applying the skills from the not yet passed 'Entwurf und
Analyse von Algorithmen' lecture and the cookie
monster seems to be right. We will track setVar more carefully
to have faster update_data and expandKeys operations.
to have faster datastore operations."
This is a trade-off between speed and memory again but
the speed is more critical here.
@@ -26,11 +28,6 @@ the speed is more critical here.
import sys, os, re
import hashlib
if sys.argv[0][-5:] == "pydoc":
path = os.path.dirname(os.path.dirname(sys.argv[1]))
else:
path = os.path.dirname(os.path.dirname(sys.argv[0]))
sys.path.insert(0, path)
from itertools import groupby
from bb import data_smart
@@ -70,10 +67,6 @@ def keys(d):
"""Return a list of keys in d"""
return d.keys()
__expand_var_regexp__ = re.compile(r"\${[^{}]+}")
__expand_python_regexp__ = re.compile(r"\${@.+?}")
def expand(s, d, varname = None):
"""Variable expansion using the data store"""
return d.expand(s, varname)
@@ -121,8 +114,8 @@ def emit_var(var, o=sys.__stdout__, d = init(), all=False):
if d.getVarFlag(var, 'python', False) and func:
return False
export = d.getVarFlag(var, "export", False)
unexport = d.getVarFlag(var, "unexport", False)
export = bb.utils.to_boolean(d.getVarFlag(var, "export"))
unexport = bb.utils.to_boolean(d.getVarFlag(var, "unexport"))
if not all and not export and not unexport and not func:
return False
@@ -195,8 +188,8 @@ def emit_env(o=sys.__stdout__, d = init(), all=False):
def exported_keys(d):
return (key for key in d.keys() if not key.startswith('__') and
d.getVarFlag(key, 'export', False) and
not d.getVarFlag(key, 'unexport', False))
bb.utils.to_boolean(d.getVarFlag(key, 'export')) and
not bb.utils.to_boolean(d.getVarFlag(key, 'unexport')))
def exported_vars(d):
k = list(exported_keys(d))
@@ -268,13 +261,40 @@ def emit_func_python(func, o=sys.__stdout__, d = init()):
newdeps |= set((d.getVarFlag(dep, "vardeps") or "").split())
newdeps -= seen
def update_data(d):
"""Performs final steps upon the datastore, including application of overrides"""
d.finalize(parent = True)
def build_dependencies(key, keys, mod_funcs, shelldeps, varflagsexcl, ignored_vars, d, codeparsedata):
def handle_contains(value, contains, exclusions, d):
newvalue = []
if value:
newvalue.append(str(value))
for k in sorted(contains):
if k in exclusions or k in ignored_vars:
continue
l = (d.getVar(k) or "").split()
for item in sorted(contains[k]):
for word in item.split():
if not word in l:
newvalue.append("\n%s{%s} = Unset" % (k, item))
break
else:
newvalue.append("\n%s{%s} = Set" % (k, item))
return "".join(newvalue)
def handle_remove(value, deps, removes, d):
for r in sorted(removes):
r2 = d.expandWithRefs(r, None)
value += "\n_remove of %s" % r
deps |= r2.references
deps = deps | (keys & r2.execs)
return value
def build_dependencies(key, keys, shelldeps, varflagsexcl, ignored_vars, d):
deps = set()
try:
if key in mod_funcs:
exclusions = set()
moddep = bb.codeparser.modulecode_deps[key]
value = handle_contains("", moddep[3], exclusions, d)
return frozenset((moddep[0] | keys & moddep[1]) - ignored_vars), value
if key[-1] == ']':
vf = key[:-1].split('[')
if vf[1] == "vardepvalueexclude":
@@ -282,48 +302,24 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, ignored_vars, d):
value, parser = d.getVarFlag(vf[0], vf[1], False, retparser=True)
deps |= parser.references
deps = deps | (keys & parser.execs)
return deps, value
deps -= ignored_vars
return frozenset(deps), value
varflags = d.getVarFlags(key, ["vardeps", "vardepvalue", "vardepsexclude", "exports", "postfuncs", "prefuncs", "lineno", "filename"]) or {}
vardeps = varflags.get("vardeps")
exclusions = varflags.get("vardepsexclude", "").split()
def handle_contains(value, contains, exclusions, d):
newvalue = []
if value:
newvalue.append(str(value))
for k in sorted(contains):
if k in exclusions or k in ignored_vars:
continue
l = (d.getVar(k) or "").split()
for item in sorted(contains[k]):
for word in item.split():
if not word in l:
newvalue.append("\n%s{%s} = Unset" % (k, item))
break
else:
newvalue.append("\n%s{%s} = Set" % (k, item))
return "".join(newvalue)
def handle_remove(value, deps, removes, d):
for r in sorted(removes):
r2 = d.expandWithRefs(r, None)
value += "\n_remove of %s" % r
deps |= r2.references
deps = deps | (keys & r2.execs)
return value
if "vardepvalue" in varflags:
value = varflags.get("vardepvalue")
elif varflags.get("func"):
if varflags.get("python"):
value = d.getVarFlag(key, "_content", False)
value = codeparsedata.getVarFlag(key, "_content", False)
parser = bb.codeparser.PythonParser(key, logger)
parser.parse_python(value, filename=varflags.get("filename"), lineno=varflags.get("lineno"))
deps = deps | parser.references
deps = deps | (keys & parser.execs)
value = handle_contains(value, parser.contains, exclusions, d)
else:
value, parsedvar = d.getVarFlag(key, "_content", False, retparser=True)
value, parsedvar = codeparsedata.getVarFlag(key, "_content", False, retparser=True)
parser = bb.codeparser.ShellParser(key, logger)
parser.parse_shell(parsedvar.value)
deps = deps | shelldeps
@@ -365,36 +361,43 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, ignored_vars, d):
deps |= set((vardeps or "").split())
deps -= set(exclusions)
deps -= ignored_vars
except bb.parse.SkipRecipe:
raise
except Exception as e:
bb.warn("Exception during build_dependencies for %s" % key)
raise
return deps, value
return frozenset(deps), value
#bb.note("Variable %s references %s and calls %s" % (key, str(deps), str(execs)))
#d.setVarFlag(key, "vardeps", deps)
def generate_dependencies(d, ignored_vars):
keys = set(key for key in d if not key.startswith("__"))
shelldeps = set(key for key in d.getVar("__exportlist", False) if d.getVarFlag(key, "export", False) and not d.getVarFlag(key, "unexport", False))
mod_funcs = set(bb.codeparser.modulecode_deps.keys())
keys = set(key for key in d if not key.startswith("__")) | mod_funcs
shelldeps = set(key for key in d.getVar("__exportlist", False) if bb.utils.to_boolean(d.getVarFlag(key, "export")) and not bb.utils.to_boolean(d.getVarFlag(key, "unexport")))
varflagsexcl = d.getVar('BB_SIGNATURE_EXCLUDE_FLAGS')
codeparserd = d.createCopy()
for forced in (d.getVar('BB_HASH_CODEPARSER_VALS') or "").split():
key, value = forced.split("=", 1)
codeparserd.setVar(key, value)
deps = {}
values = {}
tasklist = d.getVar('__BBTASKS', False) or []
for task in tasklist:
deps[task], values[task] = build_dependencies(task, keys, shelldeps, varflagsexcl, ignored_vars, d)
deps[task], values[task] = build_dependencies(task, keys, mod_funcs, shelldeps, varflagsexcl, ignored_vars, d, codeparserd)
newdeps = deps[task]
seen = set()
while newdeps:
nextdeps = newdeps - ignored_vars
nextdeps = newdeps
seen |= nextdeps
newdeps = set()
for dep in nextdeps:
if dep not in deps:
deps[dep], values[dep] = build_dependencies(dep, keys, shelldeps, varflagsexcl, ignored_vars, d)
deps[dep], values[dep] = build_dependencies(dep, keys, mod_funcs, shelldeps, varflagsexcl, ignored_vars, d, codeparserd)
newdeps |= deps[dep]
newdeps -= seen
#print "For %s: %s" % (task, str(deps[task]))
@@ -413,7 +416,6 @@ def generate_dependency_hash(tasklist, gendeps, lookupcache, ignored_vars, fn):
else:
data = [data]
gendeps[task] -= ignored_vars
newdeps = gendeps[task]
seen = set()
while newdeps:
@@ -421,9 +423,6 @@ def generate_dependency_hash(tasklist, gendeps, lookupcache, ignored_vars, fn):
seen |= nextdeps
newdeps = set()
for dep in nextdeps:
if dep in ignored_vars:
continue
gendeps[dep] -= ignored_vars
newdeps |= gendeps[dep]
newdeps -= seen
@@ -435,7 +434,7 @@ def generate_dependency_hash(tasklist, gendeps, lookupcache, ignored_vars, fn):
data.append(str(var))
k = fn + ":" + task
basehash[k] = hashlib.sha256("".join(data).encode("utf-8")).hexdigest()
taskdeps[task] = alldeps
taskdeps[task] = frozenset(seen)
return taskdeps, basehash

View File

@@ -29,7 +29,7 @@ logger = logging.getLogger("BitBake.Data")
__setvar_keyword__ = [":append", ":prepend", ":remove"]
__setvar_regexp__ = re.compile(r'(?P<base>.*?)(?P<keyword>:append|:prepend|:remove)(:(?P<add>[^A-Z]*))?$')
__expand_var_regexp__ = re.compile(r"\${[a-zA-Z0-9\-_+./~:]+?}")
__expand_python_regexp__ = re.compile(r"\${@.+?}")
__expand_python_regexp__ = re.compile(r"\${@(?:{.*?}|.)+?}")
__whitespace_split__ = re.compile(r'(\s)')
__override_regexp__ = re.compile(r'[a-z0-9]+')
@@ -92,10 +92,11 @@ def infer_caller_details(loginfo, parent = False, varval = True):
loginfo['func'] = func
class VariableParse:
def __init__(self, varname, d, val = None):
def __init__(self, varname, d, unexpanded_value = None, val = None):
self.varname = varname
self.d = d
self.value = val
self.unexpanded_value = unexpanded_value
self.references = set()
self.execs = set()
@@ -119,6 +120,11 @@ class VariableParse:
else:
code = match.group()[3:-1]
# Do not run code that contains one or more unexpanded variables
# instead return the code with the characters we removed put back
if __expand_var_regexp__.findall(code):
return "${@" + code + "}"
if self.varname:
varname = 'Var <%s>' % self.varname
else:
@@ -442,9 +448,9 @@ class DataSmart(MutableMapping):
def expandWithRefs(self, s, varname):
if not isinstance(s, str): # sanity check
return VariableParse(varname, self, s)
return VariableParse(varname, self, s, s)
varparse = VariableParse(varname, self)
varparse = VariableParse(varname, self, s)
while s.find('${') != -1:
olds = s
@@ -476,24 +482,19 @@ class DataSmart(MutableMapping):
def expand(self, s, varname = None):
return self.expandWithRefs(s, varname).value
def finalize(self, parent = False):
return
def internal_finalize(self, parent = False):
"""Performs final steps upon the datastore, including application of overrides"""
self.overrides = None
def need_overrides(self):
if self.overrides is not None:
return
if self.inoverride:
return
overrride_stack = []
for count in range(5):
self.inoverride = True
# Can end up here recursively so setup dummy values
self.overrides = []
self.overridesset = set()
self.overrides = (self.getVar("OVERRIDES") or "").split(":") or []
overrride_stack.append(self.overrides)
self.overridesset = set(self.overrides)
self.inoverride = False
self.expand_cache = {}
@@ -503,7 +504,7 @@ class DataSmart(MutableMapping):
self.overrides = newoverrides
self.overridesset = set(self.overrides)
else:
bb.fatal("Overrides could not be expanded into a stable state after 5 iterations, overrides must be being referenced by other overridden variables in some recursive fashion. Please provide your configuration to bitbake-devel so we can laugh, er, I mean try and understand how to make it work.")
bb.fatal("Overrides could not be expanded into a stable state after 5 iterations, overrides must be being referenced by other overridden variables in some recursive fashion. Please provide your configuration to bitbake-devel so we can laugh, er, I mean try and understand how to make it work. The list of failing override expansions: %s" % "\n".join(str(s) for s in overrride_stack))
def initVar(self, var):
self.expand_cache = {}
@@ -514,18 +515,18 @@ class DataSmart(MutableMapping):
dest = self.dict
while dest:
if var in dest:
return dest[var], self.overridedata.get(var, None)
return dest[var]
if "_data" not in dest:
break
dest = dest["_data"]
return None, self.overridedata.get(var, None)
return None
def _makeShadowCopy(self, var):
if var in self.dict:
return
local_var, _ = self._findVar(var)
local_var = self._findVar(var)
if local_var:
self.dict[var] = copy.copy(local_var)
@@ -633,7 +634,7 @@ class DataSmart(MutableMapping):
nextnew.update(vardata.references)
nextnew.update(vardata.contains.keys())
new = nextnew
self.internal_finalize(True)
self.overrides = None
def _setvar_update_overrides(self, var, **loginfo):
# aka pay the cookie monster
@@ -720,7 +721,7 @@ class DataSmart(MutableMapping):
if ':' in var:
override = var[var.rfind(':')+1:]
shortvar = var[:var.rfind(':')]
while override and override.islower():
while override and __override_regexp__.match(override):
try:
if shortvar in self.overridedata:
# Force CoW by recreating the list first
@@ -775,13 +776,18 @@ class DataSmart(MutableMapping):
return None
cachename = var + "[" + flag + "]"
if not expand and retparser and cachename in self.expand_cache:
return self.expand_cache[cachename].unexpanded_value, self.expand_cache[cachename]
if expand and cachename in self.expand_cache:
return self.expand_cache[cachename].value
local_var, overridedata = self._findVar(var)
local_var = self._findVar(var)
value = None
removes = set()
if flag == "_content" and overridedata is not None and not parsing:
if flag == "_content" and not parsing:
overridedata = self.overridedata.get(var, None)
if flag == "_content" and not parsing and overridedata is not None:
match = False
active = {}
self.need_overrides()
@@ -896,7 +902,7 @@ class DataSmart(MutableMapping):
def delVarFlag(self, var, flag, **loginfo):
self.expand_cache = {}
local_var, _ = self._findVar(var)
local_var = self._findVar(var)
if not local_var:
return
if not var in self.dict:
@@ -939,7 +945,7 @@ class DataSmart(MutableMapping):
self.dict[var][i] = flags[i]
def getVarFlags(self, var, expand = False, internalflags=False):
local_var, _ = self._findVar(var)
local_var = self._findVar(var)
flags = {}
if local_var:

View File

@@ -68,29 +68,39 @@ _catchall_handlers = {}
_eventfilter = None
_uiready = False
_thread_lock = threading.Lock()
_thread_lock_enabled = False
if hasattr(__builtins__, '__setitem__'):
builtins = __builtins__
else:
builtins = __builtins__.__dict__
_heartbeat_enabled = False
_should_exit = threading.Event()
def enable_threadlock():
global _thread_lock_enabled
_thread_lock_enabled = True
# Always needed now
return
def disable_threadlock():
global _thread_lock_enabled
_thread_lock_enabled = False
# Always needed now
return
def enable_heartbeat():
global _heartbeat_enabled
_heartbeat_enabled = True
def disable_heartbeat():
global _heartbeat_enabled
_heartbeat_enabled = False
#
# In long running code, this function should be called periodically
# to check if we should exit due to an interuption (.e.g Ctrl+C from the UI)
#
def check_for_interrupts(d):
global _should_exit
if _should_exit.is_set():
bb.warn("Exiting due to interrupt.")
raise bb.BBHandledException()
def execute_handler(name, handler, event, d):
event.data = d
addedd = False
if 'd' not in builtins:
builtins['d'] = d
addedd = True
try:
ret = handler(event)
ret = handler(event, d)
except (bb.parse.SkipRecipe, bb.BBHandledException):
raise
except Exception:
@@ -104,8 +114,7 @@ def execute_handler(name, handler, event, d):
raise
finally:
del event.data
if addedd:
del builtins['d']
def fire_class_handlers(event, d):
if isinstance(event, logging.LogRecord):
@@ -180,36 +189,30 @@ def print_ui_queue():
def fire_ui_handlers(event, d):
global _thread_lock
global _thread_lock_enabled
if not _uiready:
# No UI handlers registered yet, queue up the messages
ui_queue.append(event)
return
if _thread_lock_enabled:
_thread_lock.acquire()
errors = []
for h in _ui_handlers:
#print "Sending event %s" % event
try:
if not _ui_logfilters[h].filter(event):
continue
# We use pickle here since it better handles object instances
# which xmlrpc's marshaller does not. Events *must* be serializable
# by pickle.
if hasattr(_ui_handlers[h].event, "sendpickle"):
_ui_handlers[h].event.sendpickle((pickle.dumps(event)))
else:
_ui_handlers[h].event.send(event)
except:
errors.append(h)
for h in errors:
del _ui_handlers[h]
if _thread_lock_enabled:
_thread_lock.release()
with bb.utils.lock_timeout(_thread_lock):
errors = []
for h in _ui_handlers:
#print "Sending event %s" % event
try:
if not _ui_logfilters[h].filter(event):
continue
# We use pickle here since it better handles object instances
# which xmlrpc's marshaller does not. Events *must* be serializable
# by pickle.
if hasattr(_ui_handlers[h].event, "sendpickle"):
_ui_handlers[h].event.sendpickle((pickle.dumps(event)))
else:
_ui_handlers[h].event.send(event)
except:
errors.append(h)
for h in errors:
del _ui_handlers[h]
def fire(event, d):
"""Fire off an Event"""
@@ -253,12 +256,12 @@ def register(name, handler, mask=None, filename=None, lineno=None, data=None):
if handler is not None:
# handle string containing python code
if isinstance(handler, str):
tmp = "def %s(e):\n%s" % (name, handler)
tmp = "def %s(e, d):\n%s" % (name, handler)
try:
code = bb.methodpool.compile_cache(tmp)
if not code:
if filename is None:
filename = "%s(e)" % name
filename = "%s(e, d)" % name
code = compile(tmp, filename, "exec", ast.PyCF_ONLY_AST)
if lineno is not None:
ast.increment_lineno(code, lineno-1)
@@ -323,21 +326,23 @@ def set_eventfilter(func):
_eventfilter = func
def register_UIHhandler(handler, mainui=False):
bb.event._ui_handler_seq = bb.event._ui_handler_seq + 1
_ui_handlers[_ui_handler_seq] = handler
level, debug_domains = bb.msg.constructLogOptions()
_ui_logfilters[_ui_handler_seq] = UIEventFilter(level, debug_domains)
if mainui:
global _uiready
_uiready = _ui_handler_seq
return _ui_handler_seq
with bb.utils.lock_timeout(_thread_lock):
bb.event._ui_handler_seq = bb.event._ui_handler_seq + 1
_ui_handlers[_ui_handler_seq] = handler
level, debug_domains = bb.msg.constructLogOptions()
_ui_logfilters[_ui_handler_seq] = UIEventFilter(level, debug_domains)
if mainui:
global _uiready
_uiready = _ui_handler_seq
return _ui_handler_seq
def unregister_UIHhandler(handlerNum, mainui=False):
if mainui:
global _uiready
_uiready = False
if handlerNum in _ui_handlers:
del _ui_handlers[handlerNum]
with bb.utils.lock_timeout(_thread_lock):
if handlerNum in _ui_handlers:
del _ui_handlers[handlerNum]
return
def get_uihandler():
@@ -851,3 +856,11 @@ class FindSigInfoResult(Event):
def __init__(self, result):
Event.__init__(self)
self.result = result
class ParseError(Event):
"""
Event to indicate parse failed
"""
def __init__(self, msg):
super().__init__()
self._msg = msg

View File

@@ -469,6 +469,7 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
basename = os.path.basename(mirrortarball)
# Kill parameters, they make no sense for mirror tarballs
uri_decoded[5] = {}
uri_find_decoded[5] = {}
elif ud.localpath and ud.method.supports_checksum(ud):
basename = os.path.basename(ud.localpath)
if basename:
@@ -517,7 +518,7 @@ def fetcher_init(d):
else:
raise FetchError("Invalid SRCREV cache policy of: %s" % srcrev_policy)
_checksum_cache.init_cache(d)
_checksum_cache.init_cache(d.getVar("BB_CACHEDIR"))
for m in methods:
if hasattr(m, "init"):
@@ -559,7 +560,6 @@ def verify_checksum(ud, d, precomputed={}, localpath=None, fatal_nochecksum=True
file against those in the recipe each time, rather than only after
downloading. See https://bugzilla.yoctoproject.org/show_bug.cgi?id=5571.
"""
if ud.ignore_checksums or not ud.method.supports_checksum(ud):
return {}
@@ -604,11 +604,7 @@ def verify_checksum(ud, d, precomputed={}, localpath=None, fatal_nochecksum=True
# If strict checking enabled and neither sum defined, raise error
if strict == "1":
messages.append("No checksum specified for '%s', please add at " \
"least one to the recipe:" % ud.localpath)
messages.extend(checksum_lines)
logger.error("\n".join(messages))
raise NoChecksumError("Missing SRC_URI checksum", ud.url)
raise NoChecksumError("\n".join(checksum_lines))
bb.event.fire(MissingChecksumEvent(ud.url, **checksum_event), d)
@@ -748,10 +744,13 @@ def subprocess_setup():
# SIGPIPE errors are known issues with gzip/bash
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
def get_autorev(d):
# only not cache src rev in autorev case
def mark_recipe_nocache(d):
if d.getVar('BB_SRCREV_POLICY') != "cache":
d.setVar('BB_DONT_CACHE', '1')
def get_autorev(d):
mark_recipe_nocache(d)
d.setVar("__BBAUTOREV_SEEN", True)
return "AUTOINC"
def get_srcrev(d, method_name='sortable_revision'):
@@ -768,7 +767,7 @@ def get_srcrev(d, method_name='sortable_revision'):
that fetcher provides a method with the given name and the same signature as sortable_revision.
"""
d.setVar("__BBSEENSRCREV", "1")
d.setVar("__BBSRCREV_SEEN", "1")
recursion = d.getVar("__BBINSRCREV")
if recursion:
raise FetchError("There are recursive references in fetcher variables, likely through SRC_URI")
@@ -850,10 +849,13 @@ FETCH_EXPORT_VARS = ['HOME', 'PATH',
'DBUS_SESSION_BUS_ADDRESS',
'P4CONFIG',
'SSL_CERT_FILE',
'NODE_EXTRA_CA_CERTS',
'AWS_PROFILE',
'AWS_ACCESS_KEY_ID',
'AWS_SECRET_ACCESS_KEY',
'AWS_DEFAULT_REGION']
'AWS_DEFAULT_REGION',
'GIT_CACHE_PATH',
'SSL_CERT_DIR']
def get_fetcher_environment(d):
newenv = {}
@@ -1215,6 +1217,7 @@ def srcrev_internal_helper(ud, d, name):
if srcrev == "INVALID" or not srcrev:
raise FetchError("Please set a valid SRCREV for url %s (possible key names are %s, or use a ;rev=X URL parameter)" % (str(attempts), ud.url), ud.url)
if srcrev == "AUTOINC":
d.setVar("__BBAUTOREV_ACTED_UPON", True)
srcrev = ud.method.latest_revision(ud, d, name)
return srcrev
@@ -1287,18 +1290,13 @@ class FetchData(object):
if checksum_name in self.parm:
checksum_expected = self.parm[checksum_name]
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az"]:
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az", "crate"]:
checksum_expected = None
else:
checksum_expected = d.getVarFlag("SRC_URI", checksum_name)
setattr(self, "%s_expected" % checksum_id, checksum_expected)
for checksum_id in CHECKSUM_LIST:
configure_checksum(checksum_id)
self.ignore_checksums = False
self.names = self.parm.get("name",'default').split(',')
self.method = None
@@ -1320,6 +1318,11 @@ class FetchData(object):
if hasattr(self.method, "urldata_init"):
self.method.urldata_init(self, d)
for checksum_id in CHECKSUM_LIST:
configure_checksum(checksum_id)
self.ignore_checksums = False
if "localpath" in self.parm:
# if user sets localpath for file, use it instead.
self.localpath = self.parm["localpath"]
@@ -1720,6 +1723,7 @@ class Fetch(object):
network = self.d.getVar("BB_NO_NETWORK")
premirroronly = bb.utils.to_boolean(self.d.getVar("BB_FETCH_PREMIRRORONLY"))
checksum_missing_messages = []
for u in urls:
ud = self.ud[u]
ud.setup_localpath(self.d)
@@ -1731,7 +1735,6 @@ class Fetch(object):
try:
self.d.setVar("BB_NO_NETWORK", network)
if m.verify_donestamp(ud, self.d) and not m.need_update(ud, self.d):
done = True
elif m.try_premirror(ud, self.d):
@@ -1803,13 +1806,20 @@ class Fetch(object):
raise ChecksumError("Stale Error Detected")
except BBFetchException as e:
if isinstance(e, ChecksumError):
if isinstance(e, NoChecksumError):
(message, _) = e.args
checksum_missing_messages.append(message)
continue
elif isinstance(e, ChecksumError):
logger.error("Checksum failure fetching %s" % u)
raise
finally:
if ud.lockfile:
bb.utils.unlockfile(lf)
if checksum_missing_messages:
logger.error("Missing SRC_URI checksum, please add those to the recipe: \n%s", "\n".join(checksum_missing_messages))
raise BBFetchException("There was some missing checksums in the recipe")
def checkstatus(self, urls=None):
"""

View File

@@ -33,7 +33,7 @@ class Crate(Wget):
return ud.type in ['crate']
def recommends_checksum(self, urldata):
return False
return True
def urldata_init(self, ud, d):
"""
@@ -56,8 +56,10 @@ class Crate(Wget):
if len(parts) < 5:
raise bb.fetch2.ParameterError("Invalid URL: Must be crate://HOST/NAME/VERSION", ud.url)
# last field is version
version = parts[len(parts) - 1]
# version is expected to be the last token
# but ignore possible url parameters which will be used
# by the top fetcher class
version, _, _ = parts[len(parts) -1].partition(";")
# second to last field is name
name = parts[len(parts) - 2]
# host (this is to allow custom crate registries to be specified
@@ -69,7 +71,8 @@ class Crate(Wget):
ud.url = "https://%s/%s/%s/download" % (host, name, version)
ud.parm['downloadfilename'] = "%s-%s.crate" % (name, version)
ud.parm['name'] = name
if 'name' not in ud.parm:
ud.parm['name'] = '%s-%s' % (name, version)
logger.debug2("Fetching %s to %s" % (ud.url, ud.parm['downloadfilename']))

View File

@@ -421,8 +421,7 @@ class Git(FetchMethod):
# It would be nice to just do this inline here by running 'git-lfs fetch'
# on the bare clonedir, but that operation requires a working copy on some
# releases of Git LFS.
tmpdir = tempfile.mkdtemp(dir=d.getVar('DL_DIR'))
try:
with tempfile.TemporaryDirectory(dir=d.getVar('DL_DIR')) as tmpdir:
# Do the checkout. This implicitly involves a Git LFS fetch.
Git.unpack(self, ud, tmpdir, d)
@@ -440,8 +439,6 @@ class Git(FetchMethod):
# downloaded.
if os.path.exists(os.path.join(tmpdir, "git", ".git", "lfs")):
runfetchcmd("tar -cf - lfs | tar -xf - -C %s" % ud.clonedir, d, workdir="%s/git/.git" % tmpdir)
finally:
bb.utils.remove(tmpdir, recurse=True)
def build_mirror_data(self, ud, d):
@@ -664,11 +661,6 @@ class Git(FetchMethod):
Check if the repository has 'lfs' (large file) content
"""
if not ud.nobranch:
branchname = ud.branches[ud.names[0]]
else:
branchname = "master"
# The bare clonedir doesn't use the remote names; it has the branch immediately.
if wd == ud.clonedir:
refname = ud.branches[ud.names[0]]
@@ -745,11 +737,11 @@ class Git(FetchMethod):
"""
Compute the HEAD revision for the url
"""
if not d.getVar("__BBSEENSRCREV"):
if not d.getVar("__BBSRCREV_SEEN"):
raise bb.fetch2.FetchError("Recipe uses a floating tag/branch '%s' for repo '%s' without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE)." % (ud.unresolvedrev[name], ud.host+ud.path))
# Ensure we mark as not cached
bb.fetch2.get_autorev(d)
bb.fetch2.mark_recipe_nocache(d)
output = self._lsremote(ud, d, "")
# Tags of the form ^{} may not work, need to fallback to other form

View File

@@ -90,7 +90,7 @@ class GitSM(Git):
# Convert relative to absolute uri based on parent uri
if uris[m].startswith('..') or uris[m].startswith('./'):
newud = copy.copy(ud)
newud.path = os.path.realpath(os.path.join(newud.path, uris[m]))
newud.path = os.path.normpath(os.path.join(newud.path, uris[m]))
uris[m] = Git._get_repo_url(self, newud)
for module in submodules:
@@ -122,6 +122,7 @@ class GitSM(Git):
url += ';protocol=%s' % proto
url += ";name=%s" % module
url += ";subpath=%s" % module
url += ";nobranch=1"
ld = d.createCopy()
# Not necessary to set SRC_URI, since we're passing the URI to

View File

@@ -72,7 +72,7 @@ class Local(FetchMethod):
filespath = d.getVar('FILESPATH')
if filespath:
locations = filespath.split(":")
msg = "Unable to find file " + urldata.url + " anywhere. The paths that were searched were:\n " + "\n ".join(locations)
msg = "Unable to find file " + urldata.url + " anywhere to download to " + urldata.localpath + ". The paths that were searched were:\n " + "\n ".join(locations)
raise FetchError(msg)
return True

View File

@@ -129,10 +129,28 @@ class NpmShrinkWrap(FetchMethod):
localpath = os.path.join(d.getVar("DL_DIR"), localfile)
# Handle local tarball and link sources
elif version.startswith("file"):
localpath = version[5:]
if not version.endswith(".tgz"):
unpack = False
# Handle git sources
elif version.startswith("git"):
elif version.startswith(("git", "bitbucket","gist")) or (
not version.endswith((".tgz", ".tar", ".tar.gz"))
and not version.startswith((".", "@", "/"))
and "/" in version
):
if version.startswith("github:"):
version = "git+https://github.com/" + version[len("github:"):]
elif version.startswith("gist:"):
version = "git+https://gist.github.com/" + version[len("gist:"):]
elif version.startswith("bitbucket:"):
version = "git+https://bitbucket.org/" + version[len("bitbucket:"):]
elif version.startswith("gitlab:"):
version = "git+https://gitlab.com/" + version[len("gitlab:"):]
elif not version.startswith(("git+","git:")):
version = "git+https://github.com/" + version
regex = re.compile(r"""
^
git\+
@@ -158,12 +176,6 @@ class NpmShrinkWrap(FetchMethod):
url = str(uri)
# Handle local tarball and link sources
elif version.startswith("file"):
localpath = version[5:]
if not version.endswith(".tgz"):
unpack = False
else:
raise ParameterError("Unsupported dependency: %s" % name, ud.url)
@@ -193,7 +205,9 @@ class NpmShrinkWrap(FetchMethod):
# This fetcher resolves multiple URIs from a shrinkwrap file and then
# forwards it to a proxy fetcher. The management of the donestamp file,
# the lockfile and the checksums are forwarded to the proxy fetcher.
ud.proxy = Fetch([dep["url"] for dep in ud.deps if dep["url"]], data)
shrinkwrap_urls = [dep["url"] for dep in ud.deps if dep["url"]]
if shrinkwrap_urls:
ud.proxy = Fetch(shrinkwrap_urls, data)
ud.needdonestamp = False
@staticmethod

View File

@@ -103,7 +103,7 @@ class SFTP(FetchMethod):
if path[:3] == '/~/':
path = path[3:]
remote = '%s%s:%s' % (user, urlo.hostname, path)
remote = '"%s%s:%s"' % (user, urlo.hostname, path)
cmd = '%s %s %s %s' % (basecmd, port, remote, lpath)

View File

@@ -26,7 +26,6 @@ from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import logger
from bb.fetch2 import runfetchcmd
from bb.utils import export_proxies
from bs4 import BeautifulSoup
from bs4 import SoupStrainer
@@ -341,7 +340,8 @@ class Wget(FetchMethod):
opener = urllib.request.build_opener(*handlers)
try:
uri = ud.url.split(";")[0]
uri_base = ud.url.split(";")[0]
uri = "{}://{}{}".format(urllib.parse.urlparse(uri_base).scheme, ud.host, ud.path)
r = urllib.request.Request(uri)
r.get_method = lambda: "HEAD"
# Some servers (FusionForge, as used on Alioth) require that the
@@ -360,23 +360,16 @@ class Wget(FetchMethod):
try:
import netrc
n = netrc.netrc()
login, unused, password = n.authenticators(urllib.parse.urlparse(uri).hostname)
add_basic_auth("%s:%s" % (login, password), r)
except (TypeError, ImportError, IOError, netrc.NetrcParseError):
auth_data = netrc.netrc().authenticators(urllib.parse.urlparse(uri).hostname)
if auth_data:
login, _, password = auth_data
add_basic_auth("%s:%s" % (login, password), r)
except (FileNotFoundError, netrc.NetrcParseError):
pass
with opener.open(r, timeout=30) as response:
pass
except urllib.error.URLError as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
except ConnectionResetError as e:
except (urllib.error.URLError, ConnectionResetError, TimeoutError) as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
@@ -644,10 +637,10 @@ class Wget(FetchMethod):
# search for version matches on folders inside the path, like:
# "5.7" in http://download.gnome.org/sources/${PN}/5.7/${PN}-${PV}.tar.gz
dirver_regex = re.compile(r"(?P<dirver>[^/]*(\d+\.)*\d+([-_]r\d+)*)/")
m = dirver_regex.search(path)
m = dirver_regex.findall(path)
if m:
pn = d.getVar('PN')
dirver = m.group('dirver')
dirver = m[-1][0]
dirver_pn_regex = re.compile(r"%s\d?" % (re.escape(pn)))
if not dirver_pn_regex.search(dirver):

View File

@@ -12,11 +12,12 @@
import os
import sys
import logging
import optparse
import argparse
import warnings
import fcntl
import time
import traceback
import datetime
import bb
from bb import event
@@ -43,18 +44,18 @@ def present_options(optionlist):
else:
return optionlist[0]
class BitbakeHelpFormatter(optparse.IndentedHelpFormatter):
def format_option(self, option):
class BitbakeHelpFormatter(argparse.HelpFormatter):
def _get_help_string(self, action):
# We need to do this here rather than in the text we supply to
# add_option() because we don't want to call list_extension_modules()
# on every execution (since it imports all of the modules)
# Note also that we modify option.help rather than the returned text
# - this is so that we don't have to re-format the text ourselves
if option.dest == 'ui':
if action.dest == 'ui':
valid_uis = list_extension_modules(bb.ui, 'main')
option.help = option.help.replace('@CHOICES@', present_options(valid_uis))
return action.help.replace('@CHOICES@', present_options(valid_uis))
return optparse.IndentedHelpFormatter.format_option(self, option)
return action.help
def list_extension_modules(pkg, checkattr):
"""
@@ -114,180 +115,205 @@ def _showwarning(message, category, filename, lineno, file=None, line=None):
warnings.showwarning = _showwarning
def create_bitbake_parser():
parser = optparse.OptionParser(
formatter=BitbakeHelpFormatter(),
version="BitBake Build Tool Core version %s" % bb.__version__,
usage="""%prog [options] [recipename/target recipe:do_task ...]
parser = argparse.ArgumentParser(
description="""\
It is assumed there is a conf/bblayers.conf available in cwd or in BBPATH which
will provide the layer, BBFILES and other configuration information.
""",
formatter_class=BitbakeHelpFormatter,
allow_abbrev=False,
add_help=False, # help is manually added below in a specific argument group
)
Executes the specified task (default is 'build') for a given set of target recipes (.bb files).
It is assumed there is a conf/bblayers.conf available in cwd or in BBPATH which
will provide the layer, BBFILES and other configuration information.""")
general_group = parser.add_argument_group('General options')
task_group = parser.add_argument_group('Task control options')
exec_group = parser.add_argument_group('Execution control options')
logging_group = parser.add_argument_group('Logging/output control options')
server_group = parser.add_argument_group('Server options')
config_group = parser.add_argument_group('Configuration options')
parser.add_option("-b", "--buildfile", action="store", dest="buildfile", default=None,
help="Execute tasks from a specific .bb recipe directly. WARNING: Does "
"not handle any dependencies from other recipes.")
general_group.add_argument("targets", nargs="*", metavar="recipename/target",
help="Execute the specified task (default is 'build') for these target "
"recipes (.bb files).")
parser.add_option("-k", "--continue", action="store_false", dest="halt", default=True,
help="Continue as much as possible after an error. While the target that "
"failed and anything depending on it cannot be built, as much as "
"possible will be built before stopping.")
general_group.add_argument("-s", "--show-versions", action="store_true",
help="Show current and preferred versions of all recipes.")
parser.add_option("-f", "--force", action="store_true", dest="force", default=False,
help="Force the specified targets/task to run (invalidating any "
"existing stamp file).")
general_group.add_argument("-e", "--environment", action="store_true",
dest="show_environment",
help="Show the global or per-recipe environment complete with information"
" about where variables were set/changed.")
parser.add_option("-c", "--cmd", action="store", dest="cmd",
help="Specify the task to execute. The exact options available "
"depend on the metadata. Some examples might be 'compile'"
" or 'populate_sysroot' or 'listtasks' may give a list of "
"the tasks available.")
parser.add_option("-C", "--clear-stamp", action="store", dest="invalidate_stamp",
help="Invalidate the stamp for the specified task such as 'compile' "
"and then run the default task for the specified target(s).")
parser.add_option("-r", "--read", action="append", dest="prefile", default=[],
help="Read the specified file before bitbake.conf.")
parser.add_option("-R", "--postread", action="append", dest="postfile", default=[],
help="Read the specified file after bitbake.conf.")
parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False,
help="Enable tracing of shell tasks (with 'set -x'). "
"Also print bb.note(...) messages to stdout (in "
"addition to writing them to ${T}/log.do_<task>).")
parser.add_option("-D", "--debug", action="count", dest="debug", default=0,
help="Increase the debug level. You can specify this "
"more than once. -D sets the debug level to 1, "
"where only bb.debug(1, ...) messages are printed "
"to stdout; -DD sets the debug level to 2, where "
"both bb.debug(1, ...) and bb.debug(2, ...) "
"messages are printed; etc. Without -D, no debug "
"messages are printed. Note that -D only affects "
"output to stdout. All debug messages are written "
"to ${T}/log.do_taskname, regardless of the debug "
"level.")
parser.add_option("-q", "--quiet", action="count", dest="quiet", default=0,
help="Output less log message data to the terminal. You can specify this more than once.")
parser.add_option("-n", "--dry-run", action="store_true", dest="dry_run", default=False,
help="Don't execute, just go through the motions.")
parser.add_option("-S", "--dump-signatures", action="append", dest="dump_signatures",
default=[], metavar="SIGNATURE_HANDLER",
help="Dump out the signature construction information, with no task "
"execution. The SIGNATURE_HANDLER parameter is passed to the "
"handler. Two common values are none and printdiff but the handler "
"may define more/less. none means only dump the signature, printdiff"
" means compare the dumped signature with the cached one.")
parser.add_option("-p", "--parse-only", action="store_true",
dest="parse_only", default=False,
help="Quit after parsing the BB recipes.")
parser.add_option("-s", "--show-versions", action="store_true",
dest="show_versions", default=False,
help="Show current and preferred versions of all recipes.")
parser.add_option("-e", "--environment", action="store_true",
dest="show_environment", default=False,
help="Show the global or per-recipe environment complete with information"
" about where variables were set/changed.")
parser.add_option("-g", "--graphviz", action="store_true", dest="dot_graph", default=False,
help="Save dependency tree information for the specified "
"targets in the dot syntax.")
parser.add_option("-I", "--ignore-deps", action="append",
dest="extra_assume_provided", default=[],
help="Assume these dependencies don't exist and are already provided "
"(equivalent to ASSUME_PROVIDED). Useful to make dependency "
"graphs more appealing")
parser.add_option("-l", "--log-domains", action="append", dest="debug_domains", default=[],
help="Show debug logging for the specified logging domains")
parser.add_option("-P", "--profile", action="store_true", dest="profile", default=False,
help="Profile the command and save reports.")
general_group.add_argument("-g", "--graphviz", action="store_true", dest="dot_graph",
help="Save dependency tree information for the specified "
"targets in the dot syntax.")
# @CHOICES@ is substituted out by BitbakeHelpFormatter above
parser.add_option("-u", "--ui", action="store", dest="ui",
default=os.environ.get('BITBAKE_UI', 'knotty'),
help="The user interface to use (@CHOICES@ - default %default).")
general_group.add_argument("-u", "--ui",
default=os.environ.get('BITBAKE_UI', 'knotty'),
help="The user interface to use (@CHOICES@ - default %(default)s).")
parser.add_option("", "--token", action="store", dest="xmlrpctoken",
default=os.environ.get("BBTOKEN"),
help="Specify the connection token to be used when connecting "
"to a remote server.")
general_group.add_argument("--version", action="store_true",
help="Show programs version and exit.")
parser.add_option("", "--revisions-changed", action="store_true",
dest="revisions_changed", default=False,
help="Set the exit code depending on whether upstream floating "
"revisions have changed or not.")
general_group.add_argument('-h', '--help', action='help',
help='Show this help message and exit.')
parser.add_option("", "--server-only", action="store_true",
dest="server_only", default=False,
help="Run bitbake without a UI, only starting a server "
"(cooker) process.")
parser.add_option("-B", "--bind", action="store", dest="bind", default=False,
help="The name/address for the bitbake xmlrpc server to bind to.")
task_group.add_argument("-f", "--force", action="store_true",
help="Force the specified targets/task to run (invalidating any "
"existing stamp file).")
parser.add_option("-T", "--idle-timeout", type=float, dest="server_timeout",
default=os.getenv("BB_SERVER_TIMEOUT"),
help="Set timeout to unload bitbake server due to inactivity, "
"set to -1 means no unload, "
"default: Environment variable BB_SERVER_TIMEOUT.")
task_group.add_argument("-c", "--cmd",
help="Specify the task to execute. The exact options available "
"depend on the metadata. Some examples might be 'compile'"
" or 'populate_sysroot' or 'listtasks' may give a list of "
"the tasks available.")
parser.add_option("", "--no-setscene", action="store_true",
dest="nosetscene", default=False,
help="Do not run any setscene tasks. sstate will be ignored and "
"everything needed, built.")
task_group.add_argument("-C", "--clear-stamp", dest="invalidate_stamp",
help="Invalidate the stamp for the specified task such as 'compile' "
"and then run the default task for the specified target(s).")
parser.add_option("", "--skip-setscene", action="store_true",
dest="skipsetscene", default=False,
help="Skip setscene tasks if they would be executed. Tasks previously "
"restored from sstate will be kept, unlike --no-setscene")
task_group.add_argument("--runall", action="append", default=[],
help="Run the specified task for any recipe in the taskgraph of the "
"specified target (even if it wouldn't otherwise have run).")
parser.add_option("", "--setscene-only", action="store_true",
dest="setsceneonly", default=False,
help="Only run setscene tasks, don't run any real tasks.")
task_group.add_argument("--runonly", action="append",
help="Run only the specified task within the taskgraph of the "
"specified targets (and any task dependencies those tasks may have).")
parser.add_option("", "--remote-server", action="store", dest="remote_server",
default=os.environ.get("BBSERVER"),
help="Connect to the specified server.")
task_group.add_argument("--no-setscene", action="store_true",
dest="nosetscene",
help="Do not run any setscene tasks. sstate will be ignored and "
"everything needed, built.")
parser.add_option("-m", "--kill-server", action="store_true",
dest="kill_server", default=False,
help="Terminate any running bitbake server.")
task_group.add_argument("--skip-setscene", action="store_true",
dest="skipsetscene",
help="Skip setscene tasks if they would be executed. Tasks previously "
"restored from sstate will be kept, unlike --no-setscene.")
parser.add_option("", "--observe-only", action="store_true",
dest="observe_only", default=False,
help="Connect to a server as an observing-only client.")
task_group.add_argument("--setscene-only", action="store_true",
dest="setsceneonly",
help="Only run setscene tasks, don't run any real tasks.")
parser.add_option("", "--status-only", action="store_true",
dest="status_only", default=False,
help="Check the status of the remote bitbake server.")
parser.add_option("-w", "--write-log", action="store", dest="writeeventlog",
default=os.environ.get("BBEVENTLOG"),
help="Writes the event log of the build to a bitbake event json file. "
"Use '' (empty string) to assign the name automatically.")
exec_group.add_argument("-n", "--dry-run", action="store_true",
help="Don't execute, just go through the motions.")
parser.add_option("", "--runall", action="append", dest="runall",
help="Run the specified task for any recipe in the taskgraph of the specified target (even if it wouldn't otherwise have run).")
exec_group.add_argument("-p", "--parse-only", action="store_true",
help="Quit after parsing the BB recipes.")
exec_group.add_argument("-k", "--continue", action="store_false", dest="halt",
help="Continue as much as possible after an error. While the target that "
"failed and anything depending on it cannot be built, as much as "
"possible will be built before stopping.")
exec_group.add_argument("-P", "--profile", action="store_true",
help="Profile the command and save reports.")
exec_group.add_argument("-S", "--dump-signatures", action="append",
default=[], metavar="SIGNATURE_HANDLER",
help="Dump out the signature construction information, with no task "
"execution. The SIGNATURE_HANDLER parameter is passed to the "
"handler. Two common values are none and printdiff but the handler "
"may define more/less. none means only dump the signature, printdiff"
" means compare the dumped signature with the cached one.")
exec_group.add_argument("--revisions-changed", action="store_true",
help="Set the exit code depending on whether upstream floating "
"revisions have changed or not.")
exec_group.add_argument("-b", "--buildfile",
help="Execute tasks from a specific .bb recipe directly. WARNING: Does "
"not handle any dependencies from other recipes.")
logging_group.add_argument("-D", "--debug", action="count", default=0,
help="Increase the debug level. You can specify this "
"more than once. -D sets the debug level to 1, "
"where only bb.debug(1, ...) messages are printed "
"to stdout; -DD sets the debug level to 2, where "
"both bb.debug(1, ...) and bb.debug(2, ...) "
"messages are printed; etc. Without -D, no debug "
"messages are printed. Note that -D only affects "
"output to stdout. All debug messages are written "
"to ${T}/log.do_taskname, regardless of the debug "
"level.")
logging_group.add_argument("-l", "--log-domains", action="append", dest="debug_domains",
default=[],
help="Show debug logging for the specified logging domains.")
logging_group.add_argument("-v", "--verbose", action="store_true",
help="Enable tracing of shell tasks (with 'set -x'). "
"Also print bb.note(...) messages to stdout (in "
"addition to writing them to ${T}/log.do_<task>).")
logging_group.add_argument("-q", "--quiet", action="count", default=0,
help="Output less log message data to the terminal. You can specify this "
"more than once.")
logging_group.add_argument("-w", "--write-log", dest="writeeventlog",
default=os.environ.get("BBEVENTLOG"),
help="Writes the event log of the build to a bitbake event json file. "
"Use '' (empty string) to assign the name automatically.")
server_group.add_argument("-B", "--bind", default=False,
help="The name/address for the bitbake xmlrpc server to bind to.")
server_group.add_argument("-T", "--idle-timeout", type=float, dest="server_timeout",
default=os.getenv("BB_SERVER_TIMEOUT"),
help="Set timeout to unload bitbake server due to inactivity, "
"set to -1 means no unload, "
"default: Environment variable BB_SERVER_TIMEOUT.")
server_group.add_argument("--remote-server",
default=os.environ.get("BBSERVER"),
help="Connect to the specified server.")
server_group.add_argument("-m", "--kill-server", action="store_true",
help="Terminate any running bitbake server.")
server_group.add_argument("--token", dest="xmlrpctoken",
default=os.environ.get("BBTOKEN"),
help="Specify the connection token to be used when connecting "
"to a remote server.")
server_group.add_argument("--observe-only", action="store_true",
help="Connect to a server as an observing-only client.")
server_group.add_argument("--status-only", action="store_true",
help="Check the status of the remote bitbake server.")
server_group.add_argument("--server-only", action="store_true",
help="Run bitbake without a UI, only starting a server "
"(cooker) process.")
config_group.add_argument("-r", "--read", action="append", dest="prefile", default=[],
help="Read the specified file before bitbake.conf.")
config_group.add_argument("-R", "--postread", action="append", dest="postfile", default=[],
help="Read the specified file after bitbake.conf.")
config_group.add_argument("-I", "--ignore-deps", action="append",
dest="extra_assume_provided", default=[],
help="Assume these dependencies don't exist and are already provided "
"(equivalent to ASSUME_PROVIDED). Useful to make dependency "
"graphs more appealing.")
parser.add_option("", "--runonly", action="append", dest="runonly",
help="Run only the specified task within the taskgraph of the specified targets (and any task dependencies those tasks may have).")
return parser
class BitBakeConfigParameters(cookerdata.ConfigParameters):
def parseCommandLine(self, argv=sys.argv):
parser = create_bitbake_parser()
options, targets = parser.parse_args(argv)
options = parser.parse_intermixed_args(argv[1:])
if options.version:
print("BitBake Build Tool Core version %s" % bb.__version__)
sys.exit(0)
if options.quiet and options.verbose:
parser.error("options --quiet and --verbose are mutually exclusive")
@@ -319,7 +345,7 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
else:
options.xmlrpcinterface = (None, 0)
return options, targets[1:]
return options, options.targets
def bitbake_main(configParams, configuration):
@@ -384,6 +410,9 @@ def bitbake_main(configParams, configuration):
return 1
def timestamp():
return datetime.datetime.now().strftime('%H:%M:%S.%f')
def setup_bitbake(configParams, extrafeatures=None):
# Ensure logging messages get sent to the UI as events
handler = bb.event.LogHandler()
@@ -391,6 +420,11 @@ def setup_bitbake(configParams, extrafeatures=None):
# In status only mode there are no logs and no UI
logger.addHandler(handler)
if configParams.dump_signatures:
if extrafeatures is None:
extrafeatures = []
extrafeatures.append(bb.cooker.CookerFeatures.RECIPE_SIGGEN_INFO)
if configParams.server_only:
featureset = []
ui_module = None
@@ -418,7 +452,7 @@ def setup_bitbake(configParams, extrafeatures=None):
retries = 8
while retries:
try:
topdir, lock = lockBitbake()
topdir, lock, lockfile = lockBitbake()
sockname = topdir + "/bitbake.sock"
if lock:
if configParams.status_only or configParams.kill_server:
@@ -429,18 +463,22 @@ def setup_bitbake(configParams, extrafeatures=None):
logger.info("Starting bitbake server...")
# Clear the event queue since we already displayed messages
bb.event.ui_queue = []
server = bb.server.process.BitBakeServer(lock, sockname, featureset, configParams.server_timeout, configParams.xmlrpcinterface)
server = bb.server.process.BitBakeServer(lock, sockname, featureset, configParams.server_timeout, configParams.xmlrpcinterface, configParams.profile)
else:
logger.info("Reconnecting to bitbake server...")
if not os.path.exists(sockname):
logger.info("Previous bitbake instance shutting down?, waiting to retry...")
logger.info("Previous bitbake instance shutting down?, waiting to retry... (%s)" % timestamp())
procs = bb.server.process.get_lockfile_process_msg(lockfile)
if procs:
logger.info("Processes holding bitbake.lock (missing socket %s):\n%s" % (sockname, procs))
logger.info("Directory listing: %s" % (str(os.listdir(topdir))))
i = 0
lock = None
# Wait for 5s or until we can get the lock
while not lock and i < 50:
time.sleep(0.1)
_, lock = lockBitbake()
_, lock, _ = lockBitbake()
i += 1
if lock:
bb.utils.unlockfile(lock)
@@ -459,9 +497,9 @@ def setup_bitbake(configParams, extrafeatures=None):
retries -= 1
tryno = 8 - retries
if isinstance(e, (bb.server.process.ProcessTimeout, BrokenPipeError, EOFError, SystemExit)):
logger.info("Retrying server connection (#%d)..." % tryno)
logger.info("Retrying server connection (#%d)... (%s)" % (tryno, timestamp()))
else:
logger.info("Retrying server connection (#%d)... (%s)" % (tryno, traceback.format_exc()))
logger.info("Retrying server connection (#%d)... (%s, %s)" % (tryno, traceback.format_exc(), timestamp()))
if not retries:
bb.fatal("Unable to connect to bitbake server, or start one (server startup failures would be in bitbake-cookerdaemon.log).")
@@ -490,5 +528,5 @@ def lockBitbake():
bb.error("Unable to find conf/bblayers.conf or conf/bitbake.conf. BBPATH is unset and/or not in a build directory?")
raise BBMainFatal
lockfile = topdir + "/bitbake.lock"
return topdir, bb.utils.lockfile(lockfile, False, False)
return topdir, bb.utils.lockfile(lockfile, False, False), lockfile

View File

@@ -99,12 +99,12 @@ def supports(fn, data):
return 1
return 0
def handle(fn, data, include = 0):
def handle(fn, data, include=0, baseconfig=False):
"""Call the handler that is appropriate for this file"""
for h in handlers:
if h['supports'](fn, data):
with data.inchistory.include(fn):
return h['handle'](fn, data, include)
return h['handle'](fn, data, include, baseconfig)
raise ParseError("not a BitBake file", fn)
def init(fn, data):

View File

@@ -9,6 +9,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
import sys
import bb
from bb import methodpool
from bb.parse import logger
@@ -269,6 +270,41 @@ class BBHandlerNode(AstNode):
data.setVarFlag(h, "handler", 1)
data.setVar('__BBHANDLERS', bbhands)
class PyLibNode(AstNode):
def __init__(self, filename, lineno, libdir, namespace):
AstNode.__init__(self, filename, lineno)
self.libdir = libdir
self.namespace = namespace
def eval(self, data):
global_mods = (data.getVar("BB_GLOBAL_PYMODULES") or "").split()
for m in global_mods:
if m not in bb.utils._context:
bb.utils._context[m] = __import__(m)
libdir = data.expand(self.libdir)
if libdir not in sys.path:
sys.path.append(libdir)
try:
bb.utils._context[self.namespace] = __import__(self.namespace)
toimport = getattr(bb.utils._context[self.namespace], "BBIMPORTS", [])
for i in toimport:
bb.utils._context[self.namespace] = __import__(self.namespace + "." + i)
mod = getattr(bb.utils._context[self.namespace], i)
fn = getattr(mod, "__file__")
funcs = {}
for f in dir(mod):
if f.startswith("_"):
continue
fcall = getattr(mod, f)
if not callable(fcall):
continue
funcs[f] = fcall
bb.codeparser.add_module_functions(fn, funcs, "%s.%s" % (self.namespace, i))
except AttributeError as e:
bb.error("Error importing OE modules: %s" % str(e))
class InheritNode(AstNode):
def __init__(self, filename, lineno, classes):
AstNode.__init__(self, filename, lineno)
@@ -320,6 +356,9 @@ def handleDelTask(statements, filename, lineno, m):
def handleBBHandlers(statements, filename, lineno, m):
statements.append(BBHandlerNode(filename, lineno, m.group(1)))
def handlePyLib(statements, filename, lineno, m):
statements.append(PyLibNode(filename, lineno, m.group(1), m.group(2)))
def handleInherit(statements, filename, lineno, m):
classes = m.group(1)
statements.append(InheritNode(filename, lineno, classes))
@@ -361,6 +400,9 @@ def finalize(fn, d, variant = None):
d.setVar('BBINCLUDED', bb.parse.get_file_depends(d))
if d.getVar('__BBAUTOREV_SEEN') and d.getVar('__BBSRCREV_SEEN') and not d.getVar("__BBAUTOREV_ACTED_UPON"):
bb.fatal("AUTOREV/SRCPV set too late for the fetcher to work properly, please set the variables earlier in parsing. Erroring instead of later obtuse build failures.")
bb.event.fire(bb.event.RecipeParsed(fn), d)
finally:
bb.event.set_handlers(saved_handlers)

View File

@@ -101,8 +101,8 @@ def get_statements(filename, absolute_filename, base_name):
cached_statements[absolute_filename] = statements
return statements
def handle(fn, d, include):
global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __infunc__, __body__, __residue__, __classname__
def handle(fn, d, include, baseconfig=False):
global __infunc__, __body__, __residue__, __classname__
__body__ = []
__infunc__ = []
__classname__ = ""
@@ -154,7 +154,7 @@ def handle(fn, d, include):
return d
def feeder(lineno, s, fn, root, statements, eof=False):
global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __def_regexp__, __python_func_regexp__, __inpython__, __infunc__, __body__, bb, __residue__, __classname__
global __inpython__, __infunc__, __body__, __residue__, __classname__
# Check tabs in python functions:
# - def py_funcname(): covered by __inpython__
@@ -265,7 +265,7 @@ def feeder(lineno, s, fn, root, statements, eof=False):
ast.handleInherit(statements, fn, lineno, m)
return
return ConfHandler.feeder(lineno, s, fn, statements)
return ConfHandler.feeder(lineno, s, fn, statements, conffile=False)
# Add us to the handlers list
from .. import handlers

View File

@@ -21,7 +21,7 @@ __config_regexp__ = re.compile( r"""
^
(?P<exp>export\s+)?
(?P<var>[a-zA-Z0-9\-_+.${}/~:]+?)
(\[(?P<flag>[a-zA-Z0-9\-_+.]+)\])?
(\[(?P<flag>[a-zA-Z0-9\-_+.][a-zA-Z0-9\-_+.@]*)\])?
\s* (
(?P<colon>:=) |
@@ -45,7 +45,8 @@ __include_regexp__ = re.compile( r"include\s+(.+)" )
__require_regexp__ = re.compile( r"require\s+(.+)" )
__export_regexp__ = re.compile( r"export\s+([a-zA-Z0-9\-_+.${}/~]+)$" )
__unset_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)$" )
__unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)\[([a-zA-Z0-9\-_+.]+)\]$" )
__unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)\[([a-zA-Z0-9\-_+.][a-zA-Z0-9\-_+.@]+)\]$" )
__addpylib_regexp__ = re.compile(r"addpylib\s+(.+)\s+(.+)" )
def init(data):
return
@@ -102,12 +103,12 @@ def include_single_file(parentfn, fn, lineno, data, error_out):
# We have an issue where a UI might want to enforce particular settings such as
# an empty DISTRO variable. If configuration files do something like assigning
# a weak default, it turns out to be very difficult to filter out these changes,
# particularly when the weak default might appear half way though parsing a chain
# particularly when the weak default might appear half way though parsing a chain
# of configuration files. We therefore let the UIs hook into configuration file
# parsing. This turns out to be a hard problem to solve any other way.
confFilters = []
def handle(fn, data, include):
def handle(fn, data, include, baseconfig=False):
init(data)
if include == 0:
@@ -144,7 +145,7 @@ def handle(fn, data, include):
# skip comments
if s[0] == '#':
continue
feeder(lineno, s, abs_fn, statements)
feeder(lineno, s, abs_fn, statements, baseconfig=baseconfig)
# DONE WITH PARSING... time to evaluate
data.setVar('FILE', abs_fn)
@@ -157,7 +158,9 @@ def handle(fn, data, include):
return data
def feeder(lineno, s, fn, statements):
# baseconfig is set for the bblayers/layer.conf cookerdata config parsing
# The function is also used by BBHandler, conffile would be False
def feeder(lineno, s, fn, statements, baseconfig=False, conffile=True):
m = __config_regexp__.match(s)
if m:
groupd = m.groupdict()
@@ -189,6 +192,11 @@ def feeder(lineno, s, fn, statements):
ast.handleUnsetFlag(statements, fn, lineno, m)
return
m = __addpylib_regexp__.match(s)
if baseconfig and conffile and m:
ast.handlePyLib(statements, fn, lineno, m)
return
raise ParseError("unparsed line: '%s'" % s, fn, lineno);
# Add us to the handlers list

View File

@@ -249,4 +249,23 @@ def persist(domain, d):
bb.utils.mkdirhier(cachedir)
cachefile = os.path.join(cachedir, "bb_persist_data.sqlite3")
return SQLTable(cachefile, domain)
try:
return SQLTable(cachefile, domain)
except sqlite3.OperationalError:
# Sqlite fails to open database when its path is too long.
# After testing, 504 is the biggest path length that can be opened by
# sqlite.
# Note: This code is called before sanity.bbclass and its path length
# check
max_len = 504
if len(cachefile) > max_len:
logger.critical("The path of the cache file is too long "
"({0} chars > {1}) to be opened by sqlite! "
"Your cache file is \"{2}\"".format(
len(cachefile),
max_len,
cachefile))
sys.exit(1)
else:
raise

View File

@@ -155,7 +155,7 @@ class RunQueueScheduler(object):
self.stamps = {}
for tid in self.rqdata.runtaskentries:
(mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
self.stamps[tid] = bb.build.stampfile(taskname, self.rqdata.dataCaches[mc], taskfn, noextra=True)
self.stamps[tid] = bb.parse.siggen.stampfile_mcfn(taskname, taskfn, extrainfo=False)
if tid in self.rq.runq_buildable:
self.buildable.append(tid)
@@ -198,15 +198,20 @@ class RunQueueScheduler(object):
curr_cpu_pressure = cpu_pressure_fds.readline().split()[4].split("=")[1]
curr_io_pressure = io_pressure_fds.readline().split()[4].split("=")[1]
curr_memory_pressure = memory_pressure_fds.readline().split()[4].split("=")[1]
exceeds_cpu_pressure = self.rq.max_cpu_pressure and (float(curr_cpu_pressure) - float(self.prev_cpu_pressure)) > self.rq.max_cpu_pressure
exceeds_io_pressure = self.rq.max_io_pressure and (float(curr_io_pressure) - float(self.prev_io_pressure)) > self.rq.max_io_pressure
exceeds_memory_pressure = self.rq.max_memory_pressure and (float(curr_memory_pressure) - float(self.prev_memory_pressure)) > self.rq.max_memory_pressure
now = time.time()
if now - self.prev_pressure_time > 1.0:
tdiff = now - self.prev_pressure_time
if tdiff > 1.0:
exceeds_cpu_pressure = self.rq.max_cpu_pressure and (float(curr_cpu_pressure) - float(self.prev_cpu_pressure)) / tdiff > self.rq.max_cpu_pressure
exceeds_io_pressure = self.rq.max_io_pressure and (float(curr_io_pressure) - float(self.prev_io_pressure)) / tdiff > self.rq.max_io_pressure
exceeds_memory_pressure = self.rq.max_memory_pressure and (float(curr_memory_pressure) - float(self.prev_memory_pressure)) / tdiff > self.rq.max_memory_pressure
self.prev_cpu_pressure = curr_cpu_pressure
self.prev_io_pressure = curr_io_pressure
self.prev_memory_pressure = curr_memory_pressure
self.prev_pressure_time = now
else:
exceeds_cpu_pressure = self.rq.max_cpu_pressure and (float(curr_cpu_pressure) - float(self.prev_cpu_pressure)) > self.rq.max_cpu_pressure
exceeds_io_pressure = self.rq.max_io_pressure and (float(curr_io_pressure) - float(self.prev_io_pressure)) > self.rq.max_io_pressure
exceeds_memory_pressure = self.rq.max_memory_pressure and (float(curr_memory_pressure) - float(self.prev_memory_pressure)) > self.rq.max_memory_pressure
return (exceeds_cpu_pressure or exceeds_io_pressure or exceeds_memory_pressure)
return False
@@ -651,8 +656,11 @@ class RunQueueData:
# Nothing to do
return 0
bb.parse.siggen.setup_datacache(self.dataCaches)
self.init_progress_reporter.start()
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
# Step A - Work out a list of tasks to run
#
@@ -698,6 +706,8 @@ class RunQueueData:
frommc = mcdependency[1]
mcdep = mcdependency[2]
deptask = mcdependency[4]
if mcdep not in taskData:
bb.fatal("Multiconfig '%s' is referenced in multiconfig dependency '%s' but not enabled in BBMULTICONFIG?" % (mcdep, dep))
if mc == frommc:
fn = taskData[mcdep].build_targets[pn][0]
newdep = '%s:%s' % (fn,deptask)
@@ -799,6 +809,7 @@ class RunQueueData:
#self.dump_data()
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
# Resolve recursive 'recrdeptask' dependencies (Part B)
#
@@ -895,6 +906,7 @@ class RunQueueData:
self.runtaskentries[tid].depends.difference_update(recursivetasksselfref)
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
#self.dump_data()
@@ -933,7 +945,7 @@ class RunQueueData:
bb.debug(1, "Task %s is marked nostamp, cannot invalidate this task" % taskname)
else:
logger.verbose("Invalidate task %s, %s", taskname, fn)
bb.parse.siggen.invalidate_task(taskname, self.dataCaches[mc], taskfn)
bb.parse.siggen.invalidate_task(taskname, taskfn)
self.target_tids = []
for (mc, target, task, fn) in self.targets:
@@ -976,6 +988,7 @@ class RunQueueData:
mark_active(tid, 1)
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
# Step C - Prune all inactive tasks
#
@@ -1015,6 +1028,7 @@ class RunQueueData:
bb.msg.fatal("RunQueue", "Could not find any tasks with the tasknames %s to run within the recipes of the taskgraphs of the targets %s" % (str(self.cooker.configuration.runall), str(self.targets)))
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
# Handle runonly
if self.cooker.configuration.runonly:
@@ -1055,6 +1069,7 @@ class RunQueueData:
logger.verbose("Assign Weightings")
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
# Generate a list of reverse dependencies to ease future calculations
for tid in self.runtaskentries:
@@ -1062,6 +1077,7 @@ class RunQueueData:
self.runtaskentries[dep].revdeps.add(tid)
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
# Identify tasks at the end of dependency chains
# Error on circular dependency loops (length two)
@@ -1078,12 +1094,14 @@ class RunQueueData:
logger.verbose("Compute totals (have %s endpoint(s))", len(endpoints))
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
# Calculate task weights
# Check of higher length circular dependencies
self.runq_weight = self.calculate_task_weights(endpoints)
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
# Sanity Check - Check for multiple tasks building the same provider
for mc in self.dataCaches:
@@ -1184,6 +1202,7 @@ class RunQueueData:
self.init_progress_reporter.next_stage()
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
# Iterate over the task list looking for tasks with a 'setscene' function
self.runq_setscene_tids = set()
@@ -1196,6 +1215,7 @@ class RunQueueData:
self.runq_setscene_tids.add(tid)
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
# Invalidate task if force mode active
if self.cooker.configuration.force:
@@ -1212,6 +1232,7 @@ class RunQueueData:
invalidate_task(fn + ":" + st, True)
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
# Create and print to the logs a virtual/xxxx -> PN (fn) table
for mc in taskData:
@@ -1224,6 +1245,7 @@ class RunQueueData:
bb.parse.siggen.tasks_resolved(virtmap, virtpnmap, self.dataCaches[mc])
self.init_progress_reporter.next_stage()
bb.event.check_for_interrupts(self.cooker.data)
bb.parse.siggen.set_setscene_tasks(self.runq_setscene_tids)
@@ -1236,6 +1258,7 @@ class RunQueueData:
dealtwith.add(tid)
todeal.remove(tid)
self.prepare_task_hash(tid)
bb.event.check_for_interrupts(self.cooker.data)
bb.parse.siggen.writeout_file_checksum_cache()
@@ -1243,9 +1266,8 @@ class RunQueueData:
return len(self.runtaskentries)
def prepare_task_hash(self, tid):
dc = bb.parse.siggen.get_data_caches(self.dataCaches, mc_from_tid(tid))
bb.parse.siggen.prep_taskhash(tid, self.runtaskentries[tid].depends, dc)
self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, self.runtaskentries[tid].depends, dc)
bb.parse.siggen.prep_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches)
self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches)
self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(tid)
def dump_data(self):
@@ -1311,10 +1333,6 @@ class RunQueue:
workerpipe = runQueuePipe(worker.stdout, None, self.cfgData, self, rqexec, fakerootlogs=fakerootlogs)
workerdata = {
"taskdeps" : self.rqdata.dataCaches[mc].task_deps,
"fakerootenv" : self.rqdata.dataCaches[mc].fakerootenv,
"fakerootdirs" : self.rqdata.dataCaches[mc].fakerootdirs,
"fakerootnoenv" : self.rqdata.dataCaches[mc].fakerootnoenv,
"sigdata" : bb.parse.siggen.get_taskdata(),
"logdefaultlevel" : bb.msg.loggerDefaultLogLevel,
"build_verbose_shell" : self.cooker.configuration.build_verbose_shell,
@@ -1399,7 +1417,7 @@ class RunQueue:
if taskname is None:
taskname = tn
stampfile = bb.build.stampfile(taskname, self.rqdata.dataCaches[mc], taskfn)
stampfile = bb.parse.siggen.stampfile_mcfn(taskname, taskfn)
# If the stamp is missing, it's not current
if not os.access(stampfile, os.F_OK):
@@ -1411,7 +1429,7 @@ class RunQueue:
logger.debug2("%s.%s is nostamp\n", fn, taskname)
return False
if taskname != "do_setscene" and taskname.endswith("_setscene"):
if taskname.endswith("_setscene"):
return True
if cache is None:
@@ -1422,8 +1440,8 @@ class RunQueue:
for dep in self.rqdata.runtaskentries[tid].depends:
if iscurrent:
(mc2, fn2, taskname2, taskfn2) = split_tid_mcfn(dep)
stampfile2 = bb.build.stampfile(taskname2, self.rqdata.dataCaches[mc2], taskfn2)
stampfile3 = bb.build.stampfile(taskname2 + "_setscene", self.rqdata.dataCaches[mc2], taskfn2)
stampfile2 = bb.parse.siggen.stampfile_mcfn(taskname2, taskfn2)
stampfile3 = bb.parse.siggen.stampfile_mcfn(taskname2 + "_setscene", taskfn2)
t2 = get_timestamp(stampfile2)
t3 = get_timestamp(stampfile3)
if t3 and not t2:
@@ -1484,6 +1502,7 @@ class RunQueue:
"""
retval = True
bb.event.check_for_interrupts(self.cooker.data)
if self.state is runQueuePrepare:
# NOTE: if you add, remove or significantly refactor the stages of this
@@ -1512,7 +1531,7 @@ class RunQueue:
if not self.dm_event_handler_registered:
res = bb.event.register(self.dm_event_handler_name,
lambda x: self.dm.check(self) if self.state in [runQueueRunning, runQueueCleanUp] else False,
lambda x, y: self.dm.check(self) if self.state in [runQueueRunning, runQueueCleanUp] else False,
('bb.event.HeartbeatEvent',), data=self.cfgData)
self.dm_event_handler_registered = True
@@ -1609,29 +1628,28 @@ class RunQueue:
else:
self.rqexe.finish()
def rq_dump_sigfn(self, fn, options):
bb_cache = bb.cache.NoCache(self.cooker.databuilder)
mc = bb.runqueue.mc_from_tid(fn)
the_data = bb_cache.loadDataFull(fn, self.cooker.collections[mc].get_file_appends(fn))
siggen = bb.parse.siggen
dataCaches = self.rqdata.dataCaches
siggen.dump_sigfn(fn, dataCaches, options)
def _rq_dump_sigtid(self, tids):
for tid in tids:
(mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
dataCaches = self.rqdata.dataCaches
bb.parse.siggen.dump_sigtask(taskfn, taskname, dataCaches[mc].stamp[taskfn], True)
def dump_signatures(self, options):
fns = set()
bb.note("Reparsing files to collect dependency data")
if bb.cooker.CookerFeatures.RECIPE_SIGGEN_INFO not in self.cooker.featureset:
bb.fatal("The dump signatures functionality needs the RECIPE_SIGGEN_INFO feature enabled")
for tid in self.rqdata.runtaskentries:
fn = fn_from_tid(tid)
fns.add(fn)
bb.note("Writing task signature files")
max_process = int(self.cfgData.getVar("BB_NUMBER_PARSE_THREADS") or os.cpu_count() or 1)
def chunkify(l, n):
return [l[i::n] for i in range(n)]
tids = chunkify(list(self.rqdata.runtaskentries), max_process)
# We cannot use the real multiprocessing.Pool easily due to some local data
# that can't be pickled. This is a cheap multi-process solution.
launched = []
while fns:
while tids:
if len(launched) < max_process:
p = Process(target=self.rq_dump_sigfn, args=(fns.pop(), options))
p = Process(target=self._rq_dump_sigtid, args=(tids.pop(), ))
p.start()
launched.append(p)
for q in launched:
@@ -1943,8 +1961,7 @@ class RunQueueExecute:
try:
module = __import__(modname, fromlist=(name,))
except ImportError as exc:
logger.critical("Unable to import scheduler '%s' from '%s': %s" % (name, modname, exc))
raise SystemExit(1)
bb.fatal("Unable to import scheduler '%s' from '%s': %s" % (name, modname, exc))
else:
schedulers.add(getattr(module, name))
return schedulers
@@ -1974,11 +1991,19 @@ class RunQueueExecute:
self.setbuildable(revdep)
logger.debug("Marking task %s as buildable", revdep)
for t in self.sq_deferred.copy():
found = None
for t in sorted(self.sq_deferred.copy()):
if self.sq_deferred[t] == task:
logger.debug2("Deferred task %s now buildable" % t)
del self.sq_deferred[t]
update_scenequeue_data([t], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False)
# Allow the next deferred task to run. Any other deferred tasks should be deferred after that task.
# We shouldn't allow all to run at once as it is prone to races.
if not found:
bb.note("Deferred task %s now buildable" % t)
del self.sq_deferred[t]
update_scenequeue_data([t], self.sqdata, self.rqdata, self.rq, self.cooker, self.stampcache, self, summary=False)
found = t
else:
bb.note("Deferring %s after %s" % (t, found))
self.sq_deferred[t] = found
def task_complete(self, task):
self.stats.taskCompleted()
@@ -2140,21 +2165,33 @@ class RunQueueExecute:
startevent = sceneQueueTaskStarted(task, self.stats, self.rq)
bb.event.fire(startevent, self.cfgData)
taskdepdata = self.sq_build_taskdepdata(task)
taskdep = self.rqdata.dataCaches[mc].task_deps[taskfn]
taskhash = self.rqdata.get_task_hash(task)
unihash = self.rqdata.get_task_unihash(task)
runtask = {
'fn' : taskfn,
'task' : task,
'taskname' : taskname,
'taskhash' : self.rqdata.get_task_hash(task),
'unihash' : self.rqdata.get_task_unihash(task),
'quieterrors' : True,
'appends' : self.cooker.collections[mc].get_file_appends(taskfn),
'taskdepdata' : self.sq_build_taskdepdata(task),
'dry_run' : False,
'taskdep': taskdep,
'fakerootenv' : self.rqdata.dataCaches[mc].fakerootenv[taskfn],
'fakerootdirs' : self.rqdata.dataCaches[mc].fakerootdirs[taskfn],
'fakerootnoenv' : self.rqdata.dataCaches[mc].fakerootnoenv[taskfn]
}
if 'fakeroot' in taskdep and taskname in taskdep['fakeroot'] and not self.cooker.configuration.dry_run:
if not mc in self.rq.fakeworker:
self.rq.start_fakeworker(self, mc)
self.rq.fakeworker[mc].process.stdin.write(b"<runtask>" + pickle.dumps((taskfn, task, taskname, taskhash, unihash, True, self.cooker.collections[mc].get_file_appends(taskfn), taskdepdata, False)) + b"</runtask>")
self.rq.fakeworker[mc].process.stdin.write(b"<runtask>" + pickle.dumps(runtask) + b"</runtask>")
self.rq.fakeworker[mc].process.stdin.flush()
else:
self.rq.worker[mc].process.stdin.write(b"<runtask>" + pickle.dumps((taskfn, task, taskname, taskhash, unihash, True, self.cooker.collections[mc].get_file_appends(taskfn), taskdepdata, False)) + b"</runtask>")
self.rq.worker[mc].process.stdin.write(b"<runtask>" + pickle.dumps(runtask) + b"</runtask>")
self.rq.worker[mc].process.stdin.flush()
self.build_stamps[task] = bb.build.stampfile(taskname, self.rqdata.dataCaches[mc], taskfn, noextra=True)
self.build_stamps[task] = bb.parse.siggen.stampfile_mcfn(taskname, taskfn, extrainfo=False)
self.build_stamps2.append(self.build_stamps[task])
self.sq_running.add(task)
self.sq_live.add(task)
@@ -2214,18 +2251,30 @@ class RunQueueExecute:
self.runq_running.add(task)
self.stats.taskActive()
if not (self.cooker.configuration.dry_run or self.rqdata.setscene_enforce):
bb.build.make_stamp(taskname, self.rqdata.dataCaches[mc], taskfn)
bb.build.make_stamp_mcfn(taskname, taskfn)
self.task_complete(task)
return True
else:
startevent = runQueueTaskStarted(task, self.stats, self.rq)
bb.event.fire(startevent, self.cfgData)
taskdepdata = self.build_taskdepdata(task)
taskdep = self.rqdata.dataCaches[mc].task_deps[taskfn]
taskhash = self.rqdata.get_task_hash(task)
unihash = self.rqdata.get_task_unihash(task)
runtask = {
'fn' : taskfn,
'task' : task,
'taskname' : taskname,
'taskhash' : self.rqdata.get_task_hash(task),
'unihash' : self.rqdata.get_task_unihash(task),
'quieterrors' : False,
'appends' : self.cooker.collections[mc].get_file_appends(taskfn),
'taskdepdata' : self.build_taskdepdata(task),
'dry_run' : self.rqdata.setscene_enforce,
'taskdep': taskdep,
'fakerootenv' : self.rqdata.dataCaches[mc].fakerootenv[taskfn],
'fakerootdirs' : self.rqdata.dataCaches[mc].fakerootdirs[taskfn],
'fakerootnoenv' : self.rqdata.dataCaches[mc].fakerootnoenv[taskfn]
}
if 'fakeroot' in taskdep and taskname in taskdep['fakeroot'] and not (self.cooker.configuration.dry_run or self.rqdata.setscene_enforce):
if not mc in self.rq.fakeworker:
try:
@@ -2235,13 +2284,13 @@ class RunQueueExecute:
self.rq.state = runQueueFailed
self.stats.taskFailed()
return True
self.rq.fakeworker[mc].process.stdin.write(b"<runtask>" + pickle.dumps((taskfn, task, taskname, taskhash, unihash, False, self.cooker.collections[mc].get_file_appends(taskfn), taskdepdata, self.rqdata.setscene_enforce)) + b"</runtask>")
self.rq.fakeworker[mc].process.stdin.write(b"<runtask>" + pickle.dumps(runtask) + b"</runtask>")
self.rq.fakeworker[mc].process.stdin.flush()
else:
self.rq.worker[mc].process.stdin.write(b"<runtask>" + pickle.dumps((taskfn, task, taskname, taskhash, unihash, False, self.cooker.collections[mc].get_file_appends(taskfn), taskdepdata, self.rqdata.setscene_enforce)) + b"</runtask>")
self.rq.worker[mc].process.stdin.write(b"<runtask>" + pickle.dumps(runtask) + b"</runtask>")
self.rq.worker[mc].process.stdin.flush()
self.build_stamps[task] = bb.build.stampfile(taskname, self.rqdata.dataCaches[mc], taskfn, noextra=True)
self.build_stamps[task] = bb.parse.siggen.stampfile_mcfn(taskname, taskfn, extrainfo=False)
self.build_stamps2.append(self.build_stamps[task])
self.runq_running.add(task)
self.stats.taskActive()
@@ -2256,7 +2305,7 @@ class RunQueueExecute:
if self.sq_deferred:
deferred_tid = list(self.sq_deferred.keys())[0]
blocking_tid = self.sq_deferred.pop(deferred_tid)
logger.warning("Runqeueue deadlocked on deferred tasks, forcing task %s blocked by %s" % (deferred_tid, blocking_tid))
logger.warning("Runqueue deadlocked on deferred tasks, forcing task %s blocked by %s" % (deferred_tid, blocking_tid))
return True
if self.failed_tids:
@@ -2413,8 +2462,7 @@ class RunQueueExecute:
if self.rqdata.runtaskentries[p].depends and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total):
continue
orighash = self.rqdata.runtaskentries[tid].hash
dc = bb.parse.siggen.get_data_caches(self.rqdata.dataCaches, mc_from_tid(tid))
newhash = bb.parse.siggen.get_taskhash(tid, self.rqdata.runtaskentries[tid].depends, dc)
newhash = bb.parse.siggen.get_taskhash(tid, self.rqdata.runtaskentries[tid].depends, self.rqdata.dataCaches)
origuni = self.rqdata.runtaskentries[tid].unihash
newuni = bb.parse.siggen.get_unihash(tid)
# FIXME, need to check it can come from sstate at all for determinism?
@@ -2499,7 +2547,7 @@ class RunQueueExecute:
self.scenequeue_notneeded.remove(tid)
(mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
self.sqdata.stamps[tid] = bb.build.stampfile(taskname + "_setscene", self.rqdata.dataCaches[mc], taskfn, noextra=True)
self.sqdata.stamps[tid] = bb.parse.siggen.stampfile_mcfn(taskname, taskfn, extrainfo=False)
if tid in self.stampcache:
del self.stampcache[tid]
@@ -2540,6 +2588,7 @@ class RunQueueExecute:
if tid in self.sqdata.valid and not origvalid:
hashequiv_logger.verbose("Setscene task %s became valid" % tid)
if harddepfail:
logger.debug2("%s has an unavailable hard dependency so skipping" % (tid))
self.sq_task_failoutright(tid)
if changed:
@@ -2814,7 +2863,8 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
(mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
realtid = tid + "_setscene"
idepends = rqdata.taskData[mc].taskentries[realtid].idepends
sqdata.stamps[tid] = bb.build.stampfile(taskname + "_setscene", rqdata.dataCaches[mc], taskfn, noextra=True)
sqdata.stamps[tid] = bb.parse.siggen.stampfile_mcfn(taskname, taskfn, extrainfo=False)
for (depname, idependtask) in idepends:
if depname not in rqdata.taskData[mc].build_targets:
@@ -2893,7 +2943,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
found = {}
for tid in rqdata.runq_setscene_tids:
(mc, fn, taskname, taskfn) = split_tid_mcfn(tid)
stamps = bb.build.find_stale_stamps(taskname, rqdata.dataCaches[mc], taskfn)
stamps = bb.build.find_stale_stamps(taskname, taskfn)
if stamps:
if mc not in found:
found[mc] = {}
@@ -2909,7 +2959,7 @@ def check_setscene_stamps(tid, rqdata, rq, stampcache, noexecstamp=False):
taskdep = rqdata.dataCaches[mc].task_deps[taskfn]
if 'noexec' in taskdep and taskname in taskdep['noexec']:
bb.build.make_stamp(taskname + "_setscene", rqdata.dataCaches[mc], taskfn)
bb.build.make_stamp_mcfn(taskname + "_setscene", taskfn)
return True, False
if rq.check_stamp_task(tid, taskname + "_setscene", cache=stampcache):
@@ -2939,11 +2989,13 @@ def update_scenequeue_data(tids, sqdata, rqdata, rq, cooker, stampcache, sqrq, s
if noexec:
sqdata.noexec.add(tid)
sqrq.sq_task_skip(tid)
logger.debug2("%s is noexec so skipping setscene" % (tid))
continue
if stamppresent:
sqdata.stamppresent.add(tid)
sqrq.sq_task_skip(tid)
logger.debug2("%s has a valid stamp, skipping" % (tid))
continue
tocheck.add(tid)
@@ -2964,6 +3016,7 @@ def update_scenequeue_data(tids, sqdata, rqdata, rq, cooker, stampcache, sqrq, s
if tid in sqrq.sq_deferred:
continue
sqdata.outrightfail.add(tid)
logger.debug2("%s already handled (fallthrough), skipping" % (tid))
class TaskFailure(Exception):
"""

View File

@@ -42,6 +42,39 @@ def serverlog(msg):
print(str(os.getpid()) + " " + datetime.datetime.now().strftime('%H:%M:%S.%f') + " " + msg)
sys.stdout.flush()
#
# When we have lockfile issues, try and find infomation about which process is
# using the lockfile
#
def get_lockfile_process_msg(lockfile):
# Some systems may not have lsof available
procs = None
try:
procs = subprocess.check_output(["lsof", '-w', lockfile], stderr=subprocess.STDOUT)
except subprocess.CalledProcessError:
# File was deleted?
pass
except OSError as e:
if e.errno != errno.ENOENT:
raise
if procs is None:
# Fall back to fuser if lsof is unavailable
try:
procs = subprocess.check_output(["fuser", '-v', lockfile], stderr=subprocess.STDOUT)
except subprocess.CalledProcessError:
# File was deleted?
pass
except OSError as e:
if e.errno != errno.ENOENT:
raise
if procs:
return procs.decode("utf-8")
return None
class idleFinish():
def __init__(self, msg):
self.msg = msg
class ProcessServer():
profile_filename = "profile.log"
profile_processed_filename = "profile.log.processed"
@@ -59,7 +92,11 @@ class ProcessServer():
self.maxuiwait = 30
self.xmlrpc = False
self.idle = None
# Need a lock for _idlefuns changes
self._idlefuns = {}
self._idlefuncsLock = threading.Lock()
self.idle_cond = threading.Condition(self._idlefuncsLock)
self.bitbake_lock = lock
self.bitbake_lock_name = lockname
@@ -76,7 +113,9 @@ class ProcessServer():
def register_idle_function(self, function, data):
"""Register a function to be called while the server is idle"""
assert hasattr(function, '__call__')
self._idlefuns[function] = data
with bb.utils.lock_timeout(self._idlefuncsLock):
self._idlefuns[function] = data
serverlog("Registering idle function %s" % str(function))
def run(self):
@@ -115,6 +154,31 @@ class ProcessServer():
return ret
def _idle_check(self):
return len(self._idlefuns) == 0 and self.cooker.command.currentAsyncCommand is None
def wait_for_idle(self, timeout=30):
# Wait for the idle loop to have cleared
with bb.utils.lock_timeout(self._idlefuncsLock):
return self.idle_cond.wait_for(self._idle_check, timeout) is not False
def set_async_cmd(self, cmd):
with bb.utils.lock_timeout(self._idlefuncsLock):
ret = self.idle_cond.wait_for(self._idle_check, 30)
if ret is False:
return False
self.cooker.command.currentAsyncCommand = cmd
return True
def clear_async_cmd(self):
with bb.utils.lock_timeout(self._idlefuncsLock):
self.cooker.command.currentAsyncCommand = None
self.idle_cond.notify_all()
def get_async_cmd(self):
with bb.utils.lock_timeout(self._idlefuncsLock):
return self.cooker.command.currentAsyncCommand
def main(self):
self.cooker.pre_serve()
@@ -129,14 +193,19 @@ class ProcessServer():
fds.append(self.xmlrpc)
seendata = False
serverlog("Entering server connection loop")
serverlog("Lockfile is: %s\nSocket is %s (%s)" % (self.bitbake_lock_name, self.sockname, os.path.exists(self.sockname)))
def disconnect_client(self, fds):
serverlog("Disconnecting Client")
serverlog("Disconnecting Client (socket: %s)" % os.path.exists(self.sockname))
if self.controllersock:
fds.remove(self.controllersock)
self.controllersock.close()
self.controllersock = False
if self.haveui:
# Wait for the idle loop to have cleared (30s max)
if not self.wait_for_idle(30):
serverlog("Idle loop didn't finish queued commands after 30s, exiting.")
self.quit = True
fds.remove(self.command_channel)
bb.event.unregister_UIHhandler(self.event_handle, True)
self.command_channel_reply.writer.close()
@@ -148,7 +217,7 @@ class ProcessServer():
self.cooker.clientComplete()
self.haveui = False
ready = select.select(fds,[],[],0)[0]
if newconnections:
if newconnections and not self.quit:
serverlog("Starting new client")
conn = newconnections.pop(-1)
fds.append(conn)
@@ -220,8 +289,8 @@ class ProcessServer():
continue
try:
serverlog("Running command %s" % command)
self.command_channel_reply.send(self.cooker.command.runCommand(command))
serverlog("Command Completed")
self.command_channel_reply.send(self.cooker.command.runCommand(command, self))
serverlog("Command Completed (socket: %s)" % os.path.exists(self.sockname))
except Exception as e:
stack = traceback.format_exc()
serverlog('Exception in server main event loop running command %s (%s)' % (command, stack))
@@ -248,7 +317,10 @@ class ProcessServer():
ready = self.idle_commands(.1, fds)
serverlog("Exiting")
if self.idle:
self.idle.join()
serverlog("Exiting (socket: %s)" % os.path.exists(self.sockname))
# Remove the socket file so we don't get any more connections to avoid races
# The build directory could have been renamed so if the file isn't the one we created
# we shouldn't delete it.
@@ -263,7 +335,7 @@ class ProcessServer():
self.sock.close()
try:
self.cooker.shutdown(True)
self.cooker.shutdown(True, idle=False)
self.cooker.notifier.stop()
self.cooker.confignotifier.stop()
except:
@@ -289,20 +361,21 @@ class ProcessServer():
except FileNotFoundError:
return None
lockcontents = get_lock_contents(lockfile)
serverlog("Original lockfile contents: " + str(lockcontents))
lock.close()
lock = None
while not lock:
i = 0
lock = None
if not os.path.exists(os.path.basename(lockfile)):
serverlog("Lockfile directory gone, exiting.")
return
while not lock and i < 30:
lock = bb.utils.lockfile(lockfile, shared=False, retry=False, block=False)
if not lock:
newlockcontents = get_lock_contents(lockfile)
if newlockcontents != lockcontents:
if not newlockcontents[0].startswith([os.getpid() + "\n", os.getpid() + " "]):
# A new server was started, the lockfile contents changed, we can exit
serverlog("Lockfile now contains different contents, exiting: " + str(newlockcontents))
return
@@ -316,80 +389,98 @@ class ProcessServer():
return
if not lock:
# Some systems may not have lsof available
procs = None
try:
procs = subprocess.check_output(["lsof", '-w', lockfile], stderr=subprocess.STDOUT)
except subprocess.CalledProcessError:
# File was deleted?
continue
except OSError as e:
if e.errno != errno.ENOENT:
raise
if procs is None:
# Fall back to fuser if lsof is unavailable
try:
procs = subprocess.check_output(["fuser", '-v', lockfile], stderr=subprocess.STDOUT)
except subprocess.CalledProcessError:
# File was deleted?
continue
except OSError as e:
if e.errno != errno.ENOENT:
raise
procs = get_lockfile_process_msg(lockfile)
msg = ["Delaying shutdown due to active processes which appear to be holding bitbake.lock"]
if procs:
msg.append(":\n%s" % str(procs.decode("utf-8")))
msg.append(":\n%s" % procs)
serverlog("".join(msg))
def idle_thread(self):
def remove_idle_func(function):
with bb.utils.lock_timeout(self._idlefuncsLock):
del self._idlefuns[function]
self.idle_cond.notify_all()
while not self.quit:
nextsleep = 0.1
fds = []
try:
self.cooker.process_inotify_updates()
except Exception as exc:
serverlog("Exception %s in inofify updates broke the idle_thread, exiting" % traceback.format_exc())
self.quit = True
with bb.utils.lock_timeout(self._idlefuncsLock):
items = list(self._idlefuns.items())
for function, data in items:
try:
retval = function(self, data, False)
if isinstance(retval, idleFinish):
serverlog("Removing idle function %s at idleFinish" % str(function))
remove_idle_func(function)
self.cooker.command.finishAsyncCommand(retval.msg)
nextsleep = None
elif retval is False:
serverlog("Removing idle function %s" % str(function))
remove_idle_func(function)
nextsleep = None
elif retval is True:
nextsleep = None
elif isinstance(retval, float) and nextsleep:
if (retval < nextsleep):
nextsleep = retval
elif nextsleep is None:
continue
else:
fds = fds + retval
except SystemExit:
raise
except Exception as exc:
if not isinstance(exc, bb.BBHandledException):
logger.exception('Running idle function')
remove_idle_func(function)
serverlog("Exception %s broke the idle_thread, exiting" % traceback.format_exc())
self.quit = True
# Create new heartbeat event?
now = time.time()
if bb.event._heartbeat_enabled and now >= self.next_heartbeat:
# We might have missed heartbeats. Just trigger once in
# that case and continue after the usual delay.
self.next_heartbeat += self.heartbeat_seconds
if self.next_heartbeat <= now:
self.next_heartbeat = now + self.heartbeat_seconds
if hasattr(self.cooker, "data"):
heartbeat = bb.event.HeartbeatEvent(now)
try:
bb.event.fire(heartbeat, self.cooker.data)
except Exception as exc:
if not isinstance(exc, bb.BBHandledException):
logger.exception('Running heartbeat function')
serverlog("Exception %s broke in idle_thread, exiting" % traceback.format_exc())
self.quit = True
if nextsleep and bb.event._heartbeat_enabled and now + nextsleep > self.next_heartbeat:
# Shorten timeout so that we we wake up in time for
# the heartbeat.
nextsleep = self.next_heartbeat - now
if nextsleep is not None:
select.select(fds,[],[],nextsleep)[0]
def idle_commands(self, delay, fds=None):
nextsleep = delay
if not fds:
fds = []
for function, data in list(self._idlefuns.items()):
try:
retval = function(self, data, False)
if retval is False:
del self._idlefuns[function]
nextsleep = None
elif retval is True:
nextsleep = None
elif isinstance(retval, float) and nextsleep:
if (retval < nextsleep):
nextsleep = retval
elif nextsleep is None:
continue
else:
fds = fds + retval
except SystemExit:
raise
except Exception as exc:
if not isinstance(exc, bb.BBHandledException):
logger.exception('Running idle function')
del self._idlefuns[function]
self.quit = True
# Create new heartbeat event?
now = time.time()
if now >= self.next_heartbeat:
# We might have missed heartbeats. Just trigger once in
# that case and continue after the usual delay.
self.next_heartbeat += self.heartbeat_seconds
if self.next_heartbeat <= now:
self.next_heartbeat = now + self.heartbeat_seconds
if hasattr(self.cooker, "data"):
heartbeat = bb.event.HeartbeatEvent(now)
try:
bb.event.fire(heartbeat, self.cooker.data)
except Exception as exc:
if not isinstance(exc, bb.BBHandledException):
logger.exception('Running heartbeat function')
self.quit = True
if nextsleep and now + nextsleep > self.next_heartbeat:
# Shorten timeout so that we we wake up in time for
# the heartbeat.
nextsleep = self.next_heartbeat - now
if not self.idle:
self.idle = threading.Thread(target=self.idle_thread)
self.idle.start()
elif self.idle and not self.idle.is_alive():
serverlog("Idle thread terminated, main thread exiting too")
bb.error("Idle thread terminated, main thread exiting too")
self.quit = True
if nextsleep is not None:
if self.xmlrpc:
@@ -458,13 +549,14 @@ start_log_datetime_format = '%Y-%m-%d %H:%M:%S.%f'
class BitBakeServer(object):
def __init__(self, lock, sockname, featureset, server_timeout, xmlrpcinterface):
def __init__(self, lock, sockname, featureset, server_timeout, xmlrpcinterface, profile):
self.server_timeout = server_timeout
self.xmlrpcinterface = xmlrpcinterface
self.featureset = featureset
self.sockname = sockname
self.bitbake_lock = lock
self.profile = profile
self.readypipe, self.readypipein = os.pipe()
# Place the log in the builddirectory alongside the lock file
@@ -528,9 +620,9 @@ class BitBakeServer(object):
os.set_inheritable(self.bitbake_lock.fileno(), True)
os.set_inheritable(self.readypipein, True)
serverscript = os.path.realpath(os.path.dirname(__file__) + "/../../../bin/bitbake-server")
os.execl(sys.executable, "bitbake-server", serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.readypipein), self.logfile, self.bitbake_lock.name, self.sockname, str(self.server_timeout or 0), str(self.xmlrpcinterface[0]), str(self.xmlrpcinterface[1]))
os.execl(sys.executable, "bitbake-server", serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.readypipein), self.logfile, self.bitbake_lock.name, self.sockname, str(self.server_timeout or 0), str(int(self.profile)), str(self.xmlrpcinterface[0]), str(self.xmlrpcinterface[1]))
def execServer(lockfd, readypipeinfd, lockname, sockname, server_timeout, xmlrpcinterface):
def execServer(lockfd, readypipeinfd, lockname, sockname, server_timeout, xmlrpcinterface, profile):
import bb.cookerdata
import bb.cooker
@@ -559,7 +651,8 @@ def execServer(lockfd, readypipeinfd, lockname, sockname, server_timeout, xmlrpc
writer = ConnectionWriter(readypipeinfd)
try:
featureset = []
cooker = bb.cooker.BBCooker(featureset, server.register_idle_function)
cooker = bb.cooker.BBCooker(featureset, server)
cooker.configuration.profile = profile
except bb.BBHandledException:
return None
writer.send("r")
@@ -678,7 +771,7 @@ class BBUIEventQueue:
self.t.start()
def getEvent(self):
with self.eventQueueLock:
with bb.utils.lock_timeout(self.eventQueueLock):
if len(self.eventQueue) == 0:
return None
@@ -693,7 +786,7 @@ class BBUIEventQueue:
return self.getEvent()
def queue_event(self, event):
with self.eventQueueLock:
with bb.utils.lock_timeout(self.eventQueueLock):
self.eventQueue.append(event)
self.eventQueueNotify.set()
@@ -729,7 +822,7 @@ class ConnectionReader(object):
return self.reader.poll(timeout)
def get(self):
with self.rlock:
with bb.utils.lock_timeout(self.rlock):
res = self.reader.recv_bytes()
return multiprocessing.reduction.ForkingPickler.loads(res)
@@ -750,7 +843,7 @@ class ConnectionWriter(object):
def _send(self, obj):
gc.disable()
with self.wlock:
with bb.utils.lock_timeout(self.wlock):
self.writer.send_bytes(obj)
gc.enable()
@@ -763,7 +856,7 @@ class ConnectionWriter(object):
# pthread_sigmask block/unblock would be nice but doesn't work, https://bugs.python.org/issue47139
process = multiprocessing.current_process()
if process and hasattr(process, "queue_signals"):
with process.signal_threadlock:
with bb.utils.lock_timeout(process.signal_threadlock):
process.queue_signals = True
self._send(obj)
process.queue_signals = False

View File

@@ -118,7 +118,7 @@ class BitBakeXMLRPCServerCommands():
"""
Run a cooker command on the server
"""
return self.server.cooker.command.runCommand(command, self.server.readonly)
return self.server.cooker.command.runCommand(command, self.server.parent, self.server.readonly)
def getEventHandle(self):
return self.event_handle

View File

@@ -14,6 +14,7 @@ import bb.data
import difflib
import simplediff
import json
import types
import bb.compress.zstd
from bb.checksum import FileChecksumCache
from bb import runqueue
@@ -25,13 +26,13 @@ hashequiv_logger = logging.getLogger('BitBake.SigGen.HashEquiv')
class SetEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, set):
if isinstance(obj, set) or isinstance(obj, frozenset):
return dict(_set_object=list(sorted(obj)))
return json.JSONEncoder.default(self, obj)
def SetDecoder(dct):
if '_set_object' in dct:
return set(dct['_set_object'])
return frozenset(dct['_set_object'])
return dct
def init(d):
@@ -53,11 +54,6 @@ class SignatureGenerator(object):
"""
name = "noop"
# If the derived class supports multiconfig datacaches, set this to True
# The default is False for backward compatibility with derived signature
# generators that do not understand multiconfig caches
supports_multiconfig_datacaches = False
def __init__(self, data):
self.basehash = {}
self.taskhash = {}
@@ -75,6 +71,27 @@ class SignatureGenerator(object):
def postparsing_clean_cache(self):
return
def setup_datacache(self, datacaches):
self.datacaches = datacaches
def setup_datacache_from_datastore(self, mcfn, d):
# In task context we have no cache so setup internal data structures
# from the fully parsed data store provided
mc = d.getVar("__BBMULTICONFIG", False) or ""
tasks = d.getVar('__BBTASKS', False)
self.datacaches = {}
self.datacaches[mc] = types.SimpleNamespace()
setattr(self.datacaches[mc], "stamp", {})
self.datacaches[mc].stamp[mcfn] = d.getVar('STAMP')
setattr(self.datacaches[mc], "stamp_extrainfo", {})
self.datacaches[mc].stamp_extrainfo[mcfn] = {}
for t in tasks:
flag = d.getVarFlag(t, "stamp-extra-info")
if flag:
self.datacaches[mc].stamp_extrainfo[mcfn][t] = flag
def get_unihash(self, tid):
return self.taskhash[tid]
@@ -89,17 +106,51 @@ class SignatureGenerator(object):
"""Write/update the file checksum cache onto disk"""
return
def stampfile_base(self, mcfn):
mc = bb.runqueue.mc_from_tid(mcfn)
return self.datacaches[mc].stamp[mcfn]
def stampfile_mcfn(self, taskname, mcfn, extrainfo=True):
mc = bb.runqueue.mc_from_tid(mcfn)
stamp = self.datacaches[mc].stamp[mcfn]
if not stamp:
return
stamp_extrainfo = ""
if extrainfo:
taskflagname = taskname
if taskname.endswith("_setscene"):
taskflagname = taskname.replace("_setscene", "")
stamp_extrainfo = self.datacaches[mc].stamp_extrainfo[mcfn].get(taskflagname) or ""
return self.stampfile(stamp, mcfn, taskname, stamp_extrainfo)
def stampfile(self, stampbase, file_name, taskname, extrainfo):
return ("%s.%s.%s" % (stampbase, taskname, extrainfo)).rstrip('.')
def stampcleanmask_mcfn(self, taskname, mcfn):
mc = bb.runqueue.mc_from_tid(mcfn)
stamp = self.datacaches[mc].stamp[mcfn]
if not stamp:
return []
taskflagname = taskname
if taskname.endswith("_setscene"):
taskflagname = taskname.replace("_setscene", "")
stamp_extrainfo = self.datacaches[mc].stamp_extrainfo[mcfn].get(taskflagname) or ""
return self.stampcleanmask(stamp, mcfn, taskname, stamp_extrainfo)
def stampcleanmask(self, stampbase, file_name, taskname, extrainfo):
return ("%s.%s.%s" % (stampbase, taskname, extrainfo)).rstrip('.')
def dump_sigtask(self, fn, task, stampbase, runtime):
def dump_sigtask(self, mcfn, task, stampbase, runtime):
return
def invalidate_task(self, task, d, fn):
bb.build.del_stamp(task, d, fn)
def invalidate_task(self, task, mcfn):
mc = bb.runqueue.mc_from_tid(mcfn)
stamp = self.datacaches[mc].stamp[mcfn]
bb.utils.remove(stamp)
def dump_sigs(self, dataCache, options):
return
@@ -128,38 +179,6 @@ class SignatureGenerator(object):
def set_setscene_tasks(self, setscene_tasks):
return
@classmethod
def get_data_caches(cls, dataCaches, mc):
"""
This function returns the datacaches that should be passed to signature
generator functions. If the signature generator supports multiconfig
caches, the entire dictionary of data caches is sent, otherwise a
special proxy is sent that support both index access to all
multiconfigs, and also direct access for the default multiconfig.
The proxy class allows code in this class itself to always use
multiconfig aware code (to ease maintenance), but derived classes that
are unaware of multiconfig data caches can still access the default
multiconfig as expected.
Do not override this function in derived classes; it will be removed in
the future when support for multiconfig data caches is mandatory
"""
class DataCacheProxy(object):
def __init__(self):
pass
def __getitem__(self, key):
return dataCaches[key]
def __getattr__(self, name):
return getattr(dataCaches[mc], name)
if cls.supports_multiconfig_datacaches:
return dataCaches
return DataCacheProxy()
def exit(self):
return
@@ -172,12 +191,9 @@ class SignatureGeneratorBasic(SignatureGenerator):
self.basehash = {}
self.taskhash = {}
self.unihash = {}
self.taskdeps = {}
self.runtaskdeps = {}
self.file_checksum_values = {}
self.taints = {}
self.gendeps = {}
self.lookupcache = {}
self.setscenetasks = set()
self.basehash_ignore_vars = set((data.getVar("BB_BASEHASH_IGNORE_VARS") or "").split())
self.taskhash_ignore_tasks = None
@@ -201,15 +217,15 @@ class SignatureGeneratorBasic(SignatureGenerator):
else:
self.twl = None
def _build_data(self, fn, d):
def _build_data(self, mcfn, d):
ignore_mismatch = ((d.getVar("BB_HASH_IGNORE_MISMATCH") or '') == '1')
tasklist, gendeps, lookupcache = bb.data.generate_dependencies(d, self.basehash_ignore_vars)
taskdeps, basehash = bb.data.generate_dependency_hash(tasklist, gendeps, lookupcache, self.basehash_ignore_vars, fn)
taskdeps, basehash = bb.data.generate_dependency_hash(tasklist, gendeps, lookupcache, self.basehash_ignore_vars, mcfn)
for task in tasklist:
tid = fn + ":" + task
tid = mcfn + ":" + task
if not ignore_mismatch and tid in self.basehash and self.basehash[tid] != basehash[tid]:
bb.error("When reparsing %s, the basehash value changed from %s to %s. The metadata is not deterministic and this needs to be fixed." % (tid, self.basehash[tid], basehash[tid]))
bb.error("The following commands may help:")
@@ -220,11 +236,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
bb.error("%s -Sprintdiff\n" % cmd)
self.basehash[tid] = basehash[tid]
self.taskdeps[fn] = taskdeps
self.gendeps[fn] = gendeps
self.lookupcache[fn] = lookupcache
return taskdeps
return taskdeps, gendeps, lookupcache
def set_setscene_tasks(self, setscene_tasks):
self.setscenetasks = set(setscene_tasks)
@@ -232,31 +244,41 @@ class SignatureGeneratorBasic(SignatureGenerator):
def finalise(self, fn, d, variant):
mc = d.getVar("__BBMULTICONFIG", False) or ""
mcfn = fn
if variant or mc:
fn = bb.cache.realfn2virtual(fn, variant, mc)
mcfn = bb.cache.realfn2virtual(fn, variant, mc)
try:
taskdeps = self._build_data(fn, d)
taskdeps, gendeps, lookupcache = self._build_data(mcfn, d)
except bb.parse.SkipRecipe:
raise
except:
bb.warn("Error during finalise of %s" % fn)
bb.warn("Error during finalise of %s" % mcfn)
raise
#Slow but can be useful for debugging mismatched basehashes
#for task in self.taskdeps[fn]:
# self.dump_sigtask(fn, task, d.getVar("STAMP"), False)
#for task in self.taskdeps[mcfn]:
# self.dump_sigtask(mcfn, task, d.getVar("STAMP"), False)
basehashes = {}
for task in taskdeps:
d.setVar("BB_BASEHASH:task-%s" % task, self.basehash[fn + ":" + task])
basehashes[task] = self.basehash[mcfn + ":" + task]
def postparsing_clean_cache(self):
#
# After parsing we can remove some things from memory to reduce our memory footprint
#
self.gendeps = {}
self.lookupcache = {}
self.taskdeps = {}
d.setVar("__siggen_basehashes", basehashes)
d.setVar("__siggen_gendeps", gendeps)
d.setVar("__siggen_varvals", lookupcache)
d.setVar("__siggen_taskdeps", taskdeps)
def setup_datacache_from_datastore(self, mcfn, d):
super().setup_datacache_from_datastore(mcfn, d)
mc = bb.runqueue.mc_from_tid(mcfn)
for attr in ["siggen_varvals", "siggen_taskdeps", "siggen_gendeps"]:
if not hasattr(self.datacaches[mc], attr):
setattr(self.datacaches[mc], attr, {})
self.datacaches[mc].siggen_varvals[mcfn] = d.getVar("__siggen_varvals")
self.datacaches[mc].siggen_taskdeps[mcfn] = d.getVar("__siggen_taskdeps")
self.datacaches[mc].siggen_gendeps[mcfn] = d.getVar("__siggen_gendeps")
def rundep_check(self, fn, recipename, task, dep, depname, dataCaches):
# Return True if we should keep the dependency, False to drop it
@@ -279,38 +301,33 @@ class SignatureGeneratorBasic(SignatureGenerator):
def prep_taskhash(self, tid, deps, dataCaches):
(mc, _, task, fn) = bb.runqueue.split_tid_mcfn(tid)
(mc, _, task, mcfn) = bb.runqueue.split_tid_mcfn(tid)
self.basehash[tid] = dataCaches[mc].basetaskhash[tid]
self.runtaskdeps[tid] = []
self.file_checksum_values[tid] = []
recipename = dataCaches[mc].pkg_fn[fn]
recipename = dataCaches[mc].pkg_fn[mcfn]
self.tidtopn[tid] = recipename
for dep in sorted(deps, key=clean_basepath):
(depmc, _, _, depmcfn) = bb.runqueue.split_tid_mcfn(dep)
depname = dataCaches[depmc].pkg_fn[depmcfn]
if not self.supports_multiconfig_datacaches and mc != depmc:
# If the signature generator doesn't understand multiconfig
# data caches, any dependency not in the same multiconfig must
# be skipped for backward compatibility
continue
if not self.rundep_check(fn, recipename, task, dep, depname, dataCaches):
if not self.rundep_check(mcfn, recipename, task, dep, depname, dataCaches):
continue
if dep not in self.taskhash:
bb.fatal("%s is not in taskhash, caller isn't calling in dependency order?" % dep)
self.runtaskdeps[tid].append(dep)
if task in dataCaches[mc].file_checksums[fn]:
if task in dataCaches[mc].file_checksums[mcfn]:
if self.checksum_cache:
checksums = self.checksum_cache.get_checksums(dataCaches[mc].file_checksums[fn][task], recipename, self.localdirsexclude)
checksums = self.checksum_cache.get_checksums(dataCaches[mc].file_checksums[mcfn][task], recipename, self.localdirsexclude)
else:
checksums = bb.fetch2.get_file_checksums(dataCaches[mc].file_checksums[fn][task], recipename, self.localdirsexclude)
checksums = bb.fetch2.get_file_checksums(dataCaches[mc].file_checksums[mcfn][task], recipename, self.localdirsexclude)
for (f,cs) in checksums:
self.file_checksum_values[tid].append((f,cs))
taskdep = dataCaches[mc].task_deps[fn]
taskdep = dataCaches[mc].task_deps[mcfn]
if 'nostamp' in taskdep and task in taskdep['nostamp']:
# Nostamp tasks need an implicit taint so that they force any dependent tasks to run
if tid in self.taints and self.taints[tid].startswith("nostamp:"):
@@ -321,7 +338,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
taint = str(uuid.uuid4())
self.taints[tid] = "nostamp:" + taint
taint = self.read_taint(fn, task, dataCaches[mc].stamp[fn])
taint = self.read_taint(mcfn, task, dataCaches[mc].stamp[mcfn])
if taint:
self.taints[tid] = taint
logger.warning("%s is tainted from a forced run" % tid)
@@ -366,9 +383,9 @@ class SignatureGeneratorBasic(SignatureGenerator):
def copy_unitaskhashes(self, targetdir):
self.unihash_cache.copyfile(targetdir)
def dump_sigtask(self, fn, task, stampbase, runtime):
tid = fn + ":" + task
def dump_sigtask(self, mcfn, task, stampbase, runtime):
tid = mcfn + ":" + task
mc = bb.runqueue.mc_from_tid(mcfn)
referencestamp = stampbase
if isinstance(runtime, str) and runtime.startswith("customfile"):
sigfile = stampbase
@@ -385,16 +402,16 @@ class SignatureGeneratorBasic(SignatureGenerator):
data['task'] = task
data['basehash_ignore_vars'] = self.basehash_ignore_vars
data['taskhash_ignore_tasks'] = self.taskhash_ignore_tasks
data['taskdeps'] = self.taskdeps[fn][task]
data['taskdeps'] = self.datacaches[mc].siggen_taskdeps[mcfn][task]
data['basehash'] = self.basehash[tid]
data['gendeps'] = {}
data['varvals'] = {}
data['varvals'][task] = self.lookupcache[fn][task]
for dep in self.taskdeps[fn][task]:
data['varvals'][task] = self.datacaches[mc].siggen_varvals[mcfn][task]
for dep in self.datacaches[mc].siggen_taskdeps[mcfn][task]:
if dep in self.basehash_ignore_vars:
continue
data['gendeps'][dep] = self.gendeps[fn][dep]
data['varvals'][dep] = self.lookupcache[fn][dep]
continue
data['gendeps'][dep] = self.datacaches[mc].siggen_gendeps[mcfn][dep]
data['varvals'][dep] = self.datacaches[mc].siggen_varvals[mcfn][dep]
if runtime and tid in self.taskhash:
data['runtaskdeps'] = self.runtaskdeps[tid]
@@ -410,7 +427,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
data['taskhash'] = self.taskhash[tid]
data['unihash'] = self.get_unihash(tid)
taint = self.read_taint(fn, task, referencestamp)
taint = self.read_taint(mcfn, task, referencestamp)
if taint:
data['taint'] = taint
@@ -441,18 +458,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
pass
raise err
def dump_sigfn(self, fn, dataCaches, options):
if fn in self.taskdeps:
for task in self.taskdeps[fn]:
tid = fn + ":" + task
mc = bb.runqueue.mc_from_tid(tid)
if tid not in self.taskhash:
continue
if dataCaches[mc].basetaskhash[tid] != self.basehash[tid]:
bb.error("Bitbake's cached basehash does not match the one we just generated (%s)!" % tid)
bb.error("The mismatched hashes were %s and %s" % (dataCaches[mc].basetaskhash[tid], self.basehash[tid]))
self.dump_sigtask(fn, task, dataCaches[mc].stamp[fn], True)
class SignatureGeneratorBasicHash(SignatureGeneratorBasic):
name = "basichash"
@@ -463,11 +468,11 @@ class SignatureGeneratorBasicHash(SignatureGeneratorBasic):
# If task is not in basehash, then error
return self.basehash[tid]
def stampfile(self, stampbase, fn, taskname, extrainfo, clean=False):
if taskname != "do_setscene" and taskname.endswith("_setscene"):
tid = fn + ":" + taskname[:-9]
def stampfile(self, stampbase, mcfn, taskname, extrainfo, clean=False):
if taskname.endswith("_setscene"):
tid = mcfn + ":" + taskname[:-9]
else:
tid = fn + ":" + taskname
tid = mcfn + ":" + taskname
if clean:
h = "*"
else:
@@ -475,12 +480,23 @@ class SignatureGeneratorBasicHash(SignatureGeneratorBasic):
return ("%s.%s.%s.%s" % (stampbase, taskname, h, extrainfo)).rstrip('.')
def stampcleanmask(self, stampbase, fn, taskname, extrainfo):
return self.stampfile(stampbase, fn, taskname, extrainfo, clean=True)
def stampcleanmask(self, stampbase, mcfn, taskname, extrainfo):
return self.stampfile(stampbase, mcfn, taskname, extrainfo, clean=True)
def invalidate_task(self, task, d, fn):
bb.note("Tainting hash to force rebuild of task %s, %s" % (fn, task))
bb.build.write_taint(task, d, fn)
def invalidate_task(self, task, mcfn):
bb.note("Tainting hash to force rebuild of task %s, %s" % (mcfn, task))
mc = bb.runqueue.mc_from_tid(mcfn)
stamp = self.datacaches[mc].stamp[mcfn]
taintfn = stamp + '.' + task + '.taint'
import uuid
bb.utils.mkdirhier(os.path.dirname(taintfn))
# The specific content of the taint file is not really important,
# we just need it to be random, so a random UUID is used
with open(taintfn, 'w') as taintf:
taintf.write(str(uuid.uuid4()))
class SignatureGeneratorUniHashMixIn(object):
def __init__(self, data):
@@ -582,7 +598,7 @@ class SignatureGeneratorUniHashMixIn(object):
# A unique hash equal to the taskhash is not very interesting,
# so it is reported it at debug level 2. If they differ, that
# is much more interesting, so it is reported at debug level 1
hashequiv_logger.debug((1, 2)[unihash == taskhash], 'Found unihash %s in place of %s for %s from %s' % (unihash, taskhash, tid, self.server))
hashequiv_logger.bbdebug((1, 2)[unihash == taskhash], 'Found unihash %s in place of %s for %s from %s' % (unihash, taskhash, tid, self.server))
else:
hashequiv_logger.debug2('No reported unihash for %s:%s from %s' % (tid, taskhash, self.server))
except ConnectionError as e:
@@ -599,8 +615,8 @@ class SignatureGeneratorUniHashMixIn(object):
unihash = d.getVar('BB_UNIHASH')
report_taskdata = d.getVar('SSTATE_HASHEQUIV_REPORT_TASKDATA') == '1'
tempdir = d.getVar('T')
fn = d.getVar('BB_FILENAME')
tid = fn + ':do_' + task
mcfn = d.getVar('BB_FILENAME')
tid = mcfn + ':do_' + task
key = tid + ':' + taskhash
if self.setscenetasks and tid not in self.setscenetasks:
@@ -659,7 +675,7 @@ class SignatureGeneratorUniHashMixIn(object):
if new_unihash != unihash:
hashequiv_logger.debug('Task %s unihash changed %s -> %s by server %s' % (taskhash, unihash, new_unihash, self.server))
bb.event.fire(bb.runqueue.taskUniHashUpdate(fn + ':do_' + task, new_unihash), d)
bb.event.fire(bb.runqueue.taskUniHashUpdate(mcfn + ':do_' + task, new_unihash), d)
self.set_unihash(tid, new_unihash)
d.setVar('BB_UNIHASH', new_unihash)
else:
@@ -719,19 +735,12 @@ class SignatureGeneratorTestEquivHash(SignatureGeneratorUniHashMixIn, SignatureG
self.server = data.getVar('BB_HASHSERVE')
self.method = "sstate_output_hash"
#
# Dummy class used for bitbake-selftest
#
class SignatureGeneratorTestMulticonfigDepends(SignatureGeneratorBasicHash):
name = "TestMulticonfigDepends"
supports_multiconfig_datacaches = True
def dump_this_task(outfile, d):
import bb.parse
fn = d.getVar("BB_FILENAME")
mcfn = d.getVar("BB_FILENAME")
task = "do_" + d.getVar("BB_CURRENTTASK")
referencestamp = bb.build.stamp_internal(task, d, None, True)
bb.parse.siggen.dump_sigtask(fn, task, outfile, "customfile:" + referencestamp)
referencestamp = bb.parse.siggen.stampfile_base(mcfn)
bb.parse.siggen.dump_sigtask(mcfn, task, outfile, "customfile:" + referencestamp)
def init_colors(enable_color):
"""Initialise colour dict for passing to compare_sigfiles()"""
@@ -1056,7 +1065,7 @@ def calc_basehash(sigdata):
basedata = ''
alldeps = sigdata['taskdeps']
for dep in alldeps:
for dep in sorted(alldeps):
basedata = basedata + dep
val = sigdata['varvals'][dep]
if val is not None:

View File

@@ -318,7 +318,7 @@ d.getVar(a(), False)
"filename": "example.bb",
})
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), set(), self.d, self.d)
self.assertEqual(deps, set(["somevar", "bar", "something", "inexpand", "test", "test2", "a"]))
@@ -365,7 +365,7 @@ esac
self.d.setVarFlags("FOO", {"func": True})
self.setEmptyVars(execs)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), set(), self.d, self.d)
self.assertEqual(deps, set(["somevar", "inverted"] + execs))
@@ -375,7 +375,7 @@ esac
self.d.setVar("FOO", "foo=oe_libinstall; eval $foo")
self.d.setVarFlag("FOO", "vardeps", "oe_libinstall")
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), set(), self.d, self.d)
self.assertEqual(deps, set(["oe_libinstall"]))
@@ -384,7 +384,7 @@ esac
self.d.setVar("FOO", "foo=oe_libinstall; eval $foo")
self.d.setVarFlag("FOO", "vardeps", "${@'oe_libinstall'}")
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), set(), self.d, self.d)
self.assertEqual(deps, set(["oe_libinstall"]))
@@ -399,7 +399,7 @@ esac
# Check dependencies
self.d.setVar('ANOTHERVAR', expr)
self.d.setVar('TESTVAR', 'anothervalue testval testval2')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), self.d)
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), set(), self.d, self.d)
self.assertEqual(sorted(values.splitlines()),
sorted([expr,
'TESTVAR{anothervalue} = Set',
@@ -418,14 +418,14 @@ esac
self.d.setVar('ANOTHERVAR', varval)
self.d.setVar('TESTVAR', 'anothervalue testval testval2')
self.d.setVar('TESTVAR2', 'testval3')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(["TESTVAR"]), self.d)
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), set(["TESTVAR"]), self.d, self.d)
self.assertEqual(sorted(values.splitlines()), sorted([varval]))
self.assertEqual(deps, set(["TESTVAR2"]))
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['testval3', 'anothervalue'])
# Check the vardepsexclude flag is handled by contains functionality
self.d.setVarFlag('ANOTHERVAR', 'vardepsexclude', 'TESTVAR')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), self.d)
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), set(), self.d, self.d)
self.assertEqual(sorted(values.splitlines()), sorted([varval]))
self.assertEqual(deps, set(["TESTVAR2"]))
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['testval3', 'anothervalue'])

View File

@@ -20,7 +20,7 @@ class ProgressWatcher:
def __init__(self):
self._reports = []
def handle_event(self, event):
def handle_event(self, event, d):
self._reports.append((event.progress, event.rate))
def reports(self):

View File

@@ -60,6 +60,15 @@ class DataExpansions(unittest.TestCase):
val = self.d.expand("${@5*12}")
self.assertEqual(str(val), "60")
def test_python_snippet_w_dict(self):
val = self.d.expand("${@{ 'green': 1, 'blue': 2 }['green']}")
self.assertEqual(str(val), "1")
def test_python_unexpanded_multi(self):
self.d.setVar("bar", "${unsetvar}")
val = self.d.expand("${@2*2},${foo},${@d.getVar('foo') + ' ${bar}'},${foo}")
self.assertEqual(str(val), "4,value_of_foo,${@d.getVar('foo') + ' ${unsetvar}'},value_of_foo")
def test_expand_in_python_snippet(self):
val = self.d.expand("${@'boo ' + '${foo}'}")
self.assertEqual(str(val), "boo value_of_foo")

View File

@@ -157,7 +157,7 @@ class EventHandlingTest(unittest.TestCase):
self._test_process.event_handler,
event,
None)
self._test_process.event_handler.assert_called_once_with(event)
self._test_process.event_handler.assert_called_once_with(event, None)
def test_fire_class_handlers(self):
""" Test fire_class_handlers method """
@@ -175,10 +175,10 @@ class EventHandlingTest(unittest.TestCase):
bb.event.fire_class_handlers(event1, None)
bb.event.fire_class_handlers(event2, None)
bb.event.fire_class_handlers(event2, None)
expected_event_handler1 = [call(event1)]
expected_event_handler2 = [call(event1),
call(event2),
call(event2)]
expected_event_handler1 = [call(event1, None)]
expected_event_handler2 = [call(event1, None),
call(event2, None),
call(event2, None)]
self.assertEqual(self._test_process.event_handler1.call_args_list,
expected_event_handler1)
self.assertEqual(self._test_process.event_handler2.call_args_list,
@@ -205,7 +205,7 @@ class EventHandlingTest(unittest.TestCase):
bb.event.fire_class_handlers(event2, None)
bb.event.fire_class_handlers(event2, None)
expected_event_handler1 = []
expected_event_handler2 = [call(event1)]
expected_event_handler2 = [call(event1, None)]
self.assertEqual(self._test_process.event_handler1.call_args_list,
expected_event_handler1)
self.assertEqual(self._test_process.event_handler2.call_args_list,
@@ -223,7 +223,7 @@ class EventHandlingTest(unittest.TestCase):
self.assertEqual(result, bb.event.Registered)
bb.event.fire_class_handlers(event1, None)
bb.event.fire_class_handlers(event2, None)
expected = [call(event1), call(event2)]
expected = [call(event1, None), call(event2, None)]
self.assertEqual(self._test_process.event_handler1.call_args_list,
expected)
@@ -237,7 +237,7 @@ class EventHandlingTest(unittest.TestCase):
self.assertEqual(result, bb.event.Registered)
bb.event.fire_class_handlers(event1, None)
bb.event.fire_class_handlers(event2, None)
expected = [call(event1), call(event2), call(event1)]
expected = [call(event1, None), call(event2, None), call(event1, None)]
self.assertEqual(self._test_process.event_handler1.call_args_list,
expected)
@@ -251,7 +251,7 @@ class EventHandlingTest(unittest.TestCase):
self.assertEqual(result, bb.event.Registered)
bb.event.fire_class_handlers(event1, None)
bb.event.fire_class_handlers(event2, None)
expected = [call(event1), call(event2), call(event1), call(event2)]
expected = [call(event1,None), call(event2, None), call(event1, None), call(event2, None)]
self.assertEqual(self._test_process.event_handler1.call_args_list,
expected)
@@ -359,9 +359,10 @@ class EventHandlingTest(unittest.TestCase):
event1 = bb.event.ConfigParsed()
bb.event.fire(event1, None)
expected = [call(event1)]
expected = [call(event1, None)]
self.assertEqual(self._test_process.event_handler1.call_args_list,
expected)
expected = [call(event1)]
self.assertEqual(self._test_ui1.event.send.call_args_list,
expected)
@@ -450,10 +451,9 @@ class EventHandlingTest(unittest.TestCase):
and disable threadlocks tests """
bb.event.fire(bb.event.OperationStarted(), None)
def test_enable_threadlock(self):
def test_event_threadlock(self):
""" Test enable_threadlock method """
self._set_threadlock_test_mockups()
bb.event.enable_threadlock()
self._set_and_run_threadlock_test_workers()
# Calls to UI handlers should be in order as all the registered
# handlers for the event coming from the first worker should be
@@ -461,20 +461,6 @@ class EventHandlingTest(unittest.TestCase):
self.assertEqual(self._threadlock_test_calls,
["w1_ui1", "w1_ui2", "w2_ui1", "w2_ui2"])
def test_disable_threadlock(self):
""" Test disable_threadlock method """
self._set_threadlock_test_mockups()
bb.event.disable_threadlock()
self._set_and_run_threadlock_test_workers()
# Calls to UI handlers should be intertwined together. Thanks to the
# delay in the registered handlers for the event coming from the first
# worker, the event coming from the second worker starts being
# processed before finishing handling the first worker event.
self.assertEqual(self._threadlock_test_calls,
["w1_ui1", "w2_ui1", "w1_ui2", "w2_ui2"])
class EventClassesTest(unittest.TestCase):
""" Event classes test class """

View File

@@ -0,0 +1,20 @@
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width"><style type="text/css">body,html {background:#fff;font-family:"Bitstream Vera Sans","Lucida Grande","Lucida Sans Unicode",Lucidux,Verdana,Lucida,sans-serif;}tr:nth-child(even) {background:#f4f4f4;}th,td {padding:0.1em 0.5em;}th {text-align:left;font-weight:bold;background:#eee;border-bottom:1px solid #aaa;}#list {border:1px solid #aaa;width:100%;}a {color:#a33;}a:hover {color:#e33;}</style>
<title>Index of /sources/libxml2/2.10/</title>
</head><body><h1>Index of /sources/libxml2/2.10/</h1>
<table id="list"><thead><tr><th style="width:55%"><a href="?C=N&amp;O=A">File Name</a>&nbsp;<a href="?C=N&amp;O=D">&nbsp;&darr;&nbsp;</a></th><th style="width:20%"><a href="?C=S&amp;O=A">File Size</a>&nbsp;<a href="?C=S&amp;O=D">&nbsp;&darr;&nbsp;</a></th><th style="width:25%"><a href="?C=M&amp;O=A">Date</a>&nbsp;<a href="?C=M&amp;O=D">&nbsp;&darr;&nbsp;</a></th></tr></thead>
<tbody><tr><td class="link"><a href="../">Parent directory/</a></td><td class="size">-</td><td class="date">-</td></tr>
<tr><td class="link"><a href="LATEST-IS-2.10.3" title="LATEST-IS-2.10.3">LATEST-IS-2.10.3</a></td><td class="size">2.5 MiB</td><td class="date">2022-Oct-14 12:55</td></tr>
<tr><td class="link"><a href="libxml2-2.10.0.news" title="libxml2-2.10.0.news">libxml2-2.10.0.news</a></td><td class="size">7.1 KiB</td><td class="date">2022-Aug-17 11:55</td></tr>
<tr><td class="link"><a href="libxml2-2.10.0.sha256sum" title="libxml2-2.10.0.sha256sum">libxml2-2.10.0.sha256sum</a></td><td class="size">174 B</td><td class="date">2022-Aug-17 11:55</td></tr>
<tr><td class="link"><a href="libxml2-2.10.0.tar.xz" title="libxml2-2.10.0.tar.xz">libxml2-2.10.0.tar.xz</a></td><td class="size">2.6 MiB</td><td class="date">2022-Aug-17 11:55</td></tr>
<tr><td class="link"><a href="libxml2-2.10.1.news" title="libxml2-2.10.1.news">libxml2-2.10.1.news</a></td><td class="size">455 B</td><td class="date">2022-Aug-25 11:33</td></tr>
<tr><td class="link"><a href="libxml2-2.10.1.sha256sum" title="libxml2-2.10.1.sha256sum">libxml2-2.10.1.sha256sum</a></td><td class="size">174 B</td><td class="date">2022-Aug-25 11:33</td></tr>
<tr><td class="link"><a href="libxml2-2.10.1.tar.xz" title="libxml2-2.10.1.tar.xz">libxml2-2.10.1.tar.xz</a></td><td class="size">2.6 MiB</td><td class="date">2022-Aug-25 11:33</td></tr>
<tr><td class="link"><a href="libxml2-2.10.2.news" title="libxml2-2.10.2.news">libxml2-2.10.2.news</a></td><td class="size">309 B</td><td class="date">2022-Aug-29 14:56</td></tr>
<tr><td class="link"><a href="libxml2-2.10.2.sha256sum" title="libxml2-2.10.2.sha256sum">libxml2-2.10.2.sha256sum</a></td><td class="size">174 B</td><td class="date">2022-Aug-29 14:56</td></tr>
<tr><td class="link"><a href="libxml2-2.10.2.tar.xz" title="libxml2-2.10.2.tar.xz">libxml2-2.10.2.tar.xz</a></td><td class="size">2.5 MiB</td><td class="date">2022-Aug-29 14:56</td></tr>
<tr><td class="link"><a href="libxml2-2.10.3.news" title="libxml2-2.10.3.news">libxml2-2.10.3.news</a></td><td class="size">294 B</td><td class="date">2022-Oct-14 12:55</td></tr>
<tr><td class="link"><a href="libxml2-2.10.3.sha256sum" title="libxml2-2.10.3.sha256sum">libxml2-2.10.3.sha256sum</a></td><td class="size">174 B</td><td class="date">2022-Oct-14 12:55</td></tr>
<tr><td class="link"><a href="libxml2-2.10.3.tar.xz" title="libxml2-2.10.3.tar.xz">libxml2-2.10.3.tar.xz</a></td><td class="size">2.5 MiB</td><td class="date">2022-Oct-14 12:55</td></tr>
</tbody></table></body></html>

View File

@@ -0,0 +1,40 @@
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width"><style type="text/css">body,html {background:#fff;font-family:"Bitstream Vera Sans","Lucida Grande","Lucida Sans Unicode",Lucidux,Verdana,Lucida,sans-serif;}tr:nth-child(even) {background:#f4f4f4;}th,td {padding:0.1em 0.5em;}th {text-align:left;font-weight:bold;background:#eee;border-bottom:1px solid #aaa;}#list {border:1px solid #aaa;width:100%;}a {color:#a33;}a:hover {color:#e33;}</style>
<title>Index of /sources/libxml2/2.9/</title>
</head><body><h1>Index of /sources/libxml2/2.9/</h1>
<table id="list"><thead><tr><th style="width:55%"><a href="?C=N&amp;O=A">File Name</a>&nbsp;<a href="?C=N&amp;O=D">&nbsp;&darr;&nbsp;</a></th><th style="width:20%"><a href="?C=S&amp;O=A">File Size</a>&nbsp;<a href="?C=S&amp;O=D">&nbsp;&darr;&nbsp;</a></th><th style="width:25%"><a href="?C=M&amp;O=A">Date</a>&nbsp;<a href="?C=M&amp;O=D">&nbsp;&darr;&nbsp;</a></th></tr></thead>
<tbody><tr><td class="link"><a href="../">Parent directory/</a></td><td class="size">-</td><td class="date">-</td></tr>
<tr><td class="link"><a href="LATEST-IS-2.9.14" title="LATEST-IS-2.9.14">LATEST-IS-2.9.14</a></td><td class="size">3.0 MiB</td><td class="date">2022-May-02 12:03</td></tr>
<tr><td class="link"><a href="libxml2-2.9.0.sha256sum" title="libxml2-2.9.0.sha256sum">libxml2-2.9.0.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:27</td></tr>
<tr><td class="link"><a href="libxml2-2.9.0.tar.xz" title="libxml2-2.9.0.tar.xz">libxml2-2.9.0.tar.xz</a></td><td class="size">3.0 MiB</td><td class="date">2022-Feb-14 18:27</td></tr>
<tr><td class="link"><a href="libxml2-2.9.1.sha256sum" title="libxml2-2.9.1.sha256sum">libxml2-2.9.1.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:28</td></tr>
<tr><td class="link"><a href="libxml2-2.9.1.tar.xz" title="libxml2-2.9.1.tar.xz">libxml2-2.9.1.tar.xz</a></td><td class="size">3.0 MiB</td><td class="date">2022-Feb-14 18:28</td></tr>
<tr><td class="link"><a href="libxml2-2.9.10.sha256sum" title="libxml2-2.9.10.sha256sum">libxml2-2.9.10.sha256sum</a></td><td class="size">88 B</td><td class="date">2022-Feb-14 18:42</td></tr>
<tr><td class="link"><a href="libxml2-2.9.10.tar.xz" title="libxml2-2.9.10.tar.xz">libxml2-2.9.10.tar.xz</a></td><td class="size">3.2 MiB</td><td class="date">2022-Feb-14 18:42</td></tr>
<tr><td class="link"><a href="libxml2-2.9.11.sha256sum" title="libxml2-2.9.11.sha256sum">libxml2-2.9.11.sha256sum</a></td><td class="size">88 B</td><td class="date">2022-Feb-14 18:43</td></tr>
<tr><td class="link"><a href="libxml2-2.9.11.tar.xz" title="libxml2-2.9.11.tar.xz">libxml2-2.9.11.tar.xz</a></td><td class="size">3.2 MiB</td><td class="date">2022-Feb-14 18:43</td></tr>
<tr><td class="link"><a href="libxml2-2.9.12.sha256sum" title="libxml2-2.9.12.sha256sum">libxml2-2.9.12.sha256sum</a></td><td class="size">88 B</td><td class="date">2022-Feb-14 18:45</td></tr>
<tr><td class="link"><a href="libxml2-2.9.12.tar.xz" title="libxml2-2.9.12.tar.xz">libxml2-2.9.12.tar.xz</a></td><td class="size">3.2 MiB</td><td class="date">2022-Feb-14 18:45</td></tr>
<tr><td class="link"><a href="libxml2-2.9.13.news" title="libxml2-2.9.13.news">libxml2-2.9.13.news</a></td><td class="size">26.6 KiB</td><td class="date">2022-Feb-20 12:42</td></tr>
<tr><td class="link"><a href="libxml2-2.9.13.sha256sum" title="libxml2-2.9.13.sha256sum">libxml2-2.9.13.sha256sum</a></td><td class="size">174 B</td><td class="date">2022-Feb-20 12:42</td></tr>
<tr><td class="link"><a href="libxml2-2.9.13.tar.xz" title="libxml2-2.9.13.tar.xz">libxml2-2.9.13.tar.xz</a></td><td class="size">3.1 MiB</td><td class="date">2022-Feb-20 12:42</td></tr>
<tr><td class="link"><a href="libxml2-2.9.14.news" title="libxml2-2.9.14.news">libxml2-2.9.14.news</a></td><td class="size">1.0 KiB</td><td class="date">2022-May-02 12:03</td></tr>
<tr><td class="link"><a href="libxml2-2.9.14.sha256sum" title="libxml2-2.9.14.sha256sum">libxml2-2.9.14.sha256sum</a></td><td class="size">174 B</td><td class="date">2022-May-02 12:03</td></tr>
<tr><td class="link"><a href="libxml2-2.9.14.tar.xz" title="libxml2-2.9.14.tar.xz">libxml2-2.9.14.tar.xz</a></td><td class="size">3.0 MiB</td><td class="date">2022-May-02 12:03</td></tr>
<tr><td class="link"><a href="libxml2-2.9.2.sha256sum" title="libxml2-2.9.2.sha256sum">libxml2-2.9.2.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:30</td></tr>
<tr><td class="link"><a href="libxml2-2.9.2.tar.xz" title="libxml2-2.9.2.tar.xz">libxml2-2.9.2.tar.xz</a></td><td class="size">3.2 MiB</td><td class="date">2022-Feb-14 18:30</td></tr>
<tr><td class="link"><a href="libxml2-2.9.3.sha256sum" title="libxml2-2.9.3.sha256sum">libxml2-2.9.3.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:31</td></tr>
<tr><td class="link"><a href="libxml2-2.9.3.tar.xz" title="libxml2-2.9.3.tar.xz">libxml2-2.9.3.tar.xz</a></td><td class="size">3.2 MiB</td><td class="date">2022-Feb-14 18:31</td></tr>
<tr><td class="link"><a href="libxml2-2.9.4.sha256sum" title="libxml2-2.9.4.sha256sum">libxml2-2.9.4.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:33</td></tr>
<tr><td class="link"><a href="libxml2-2.9.4.tar.xz" title="libxml2-2.9.4.tar.xz">libxml2-2.9.4.tar.xz</a></td><td class="size">2.9 MiB</td><td class="date">2022-Feb-14 18:33</td></tr>
<tr><td class="link"><a href="libxml2-2.9.5.sha256sum" title="libxml2-2.9.5.sha256sum">libxml2-2.9.5.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:35</td></tr>
<tr><td class="link"><a href="libxml2-2.9.5.tar.xz" title="libxml2-2.9.5.tar.xz">libxml2-2.9.5.tar.xz</a></td><td class="size">3.0 MiB</td><td class="date">2022-Feb-14 18:35</td></tr>
<tr><td class="link"><a href="libxml2-2.9.6.sha256sum" title="libxml2-2.9.6.sha256sum">libxml2-2.9.6.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:36</td></tr>
<tr><td class="link"><a href="libxml2-2.9.6.tar.xz" title="libxml2-2.9.6.tar.xz">libxml2-2.9.6.tar.xz</a></td><td class="size">3.0 MiB</td><td class="date">2022-Feb-14 18:36</td></tr>
<tr><td class="link"><a href="libxml2-2.9.7.sha256sum" title="libxml2-2.9.7.sha256sum">libxml2-2.9.7.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:37</td></tr>
<tr><td class="link"><a href="libxml2-2.9.7.tar.xz" title="libxml2-2.9.7.tar.xz">libxml2-2.9.7.tar.xz</a></td><td class="size">3.0 MiB</td><td class="date">2022-Feb-14 18:37</td></tr>
<tr><td class="link"><a href="libxml2-2.9.8.sha256sum" title="libxml2-2.9.8.sha256sum">libxml2-2.9.8.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:39</td></tr>
<tr><td class="link"><a href="libxml2-2.9.8.tar.xz" title="libxml2-2.9.8.tar.xz">libxml2-2.9.8.tar.xz</a></td><td class="size">3.0 MiB</td><td class="date">2022-Feb-14 18:39</td></tr>
<tr><td class="link"><a href="libxml2-2.9.9.sha256sum" title="libxml2-2.9.9.sha256sum">libxml2-2.9.9.sha256sum</a></td><td class="size">87 B</td><td class="date">2022-Feb-14 18:40</td></tr>
<tr><td class="link"><a href="libxml2-2.9.9.tar.xz" title="libxml2-2.9.9.tar.xz">libxml2-2.9.9.tar.xz</a></td><td class="size">3.0 MiB</td><td class="date">2022-Feb-14 18:40</td></tr>
</tbody></table></body></html>

View File

@@ -0,0 +1,19 @@
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width"><style type="text/css">body,html {background:#fff;font-family:"Bitstream Vera Sans","Lucida Grande","Lucida Sans Unicode",Lucidux,Verdana,Lucida,sans-serif;}tr:nth-child(even) {background:#f4f4f4;}th,td {padding:0.1em 0.5em;}th {text-align:left;font-weight:bold;background:#eee;border-bottom:1px solid #aaa;}#list {border:1px solid #aaa;width:100%;}a {color:#a33;}a:hover {color:#e33;}</style>
<title>Index of /sources/libxml2/</title>
</head><body><h1>Index of /sources/libxml2/</h1>
<table id="list"><thead><tr><th style="width:55%"><a href="?C=N&amp;O=A">File Name</a>&nbsp;<a href="?C=N&amp;O=D">&nbsp;&darr;&nbsp;</a></th><th style="width:20%"><a href="?C=S&amp;O=A">File Size</a>&nbsp;<a href="?C=S&amp;O=D">&nbsp;&darr;&nbsp;</a></th><th style="width:25%"><a href="?C=M&amp;O=A">Date</a>&nbsp;<a href="?C=M&amp;O=D">&nbsp;&darr;&nbsp;</a></th></tr></thead>
<tbody><tr><td class="link"><a href="../">Parent directory/</a></td><td class="size">-</td><td class="date">-</td></tr>
<tr><td class="link"><a href="2.0/" title="2.0">2.0/</a></td><td class="size">-</td><td class="date">2009-Jul-14 13:04</td></tr>
<tr><td class="link"><a href="2.1/" title="2.1">2.1/</a></td><td class="size">-</td><td class="date">2009-Jul-14 13:04</td></tr>
<tr><td class="link"><a href="2.10/" title="2.10">2.10/</a></td><td class="size">-</td><td class="date">2022-Oct-14 12:55</td></tr>
<tr><td class="link"><a href="2.2/" title="2.2">2.2/</a></td><td class="size">-</td><td class="date">2009-Jul-14 13:04</td></tr>
<tr><td class="link"><a href="2.3/" title="2.3">2.3/</a></td><td class="size">-</td><td class="date">2009-Jul-14 13:05</td></tr>
<tr><td class="link"><a href="2.4/" title="2.4">2.4/</a></td><td class="size">-</td><td class="date">2009-Jul-14 13:05</td></tr>
<tr><td class="link"><a href="2.5/" title="2.5">2.5/</a></td><td class="size">-</td><td class="date">2009-Jul-14 13:05</td></tr>
<tr><td class="link"><a href="2.6/" title="2.6">2.6/</a></td><td class="size">-</td><td class="date">2009-Jul-14 13:05</td></tr>
<tr><td class="link"><a href="2.7/" title="2.7">2.7/</a></td><td class="size">-</td><td class="date">2022-Feb-14 18:24</td></tr>
<tr><td class="link"><a href="2.8/" title="2.8">2.8/</a></td><td class="size">-</td><td class="date">2022-Feb-14 18:26</td></tr>
<tr><td class="link"><a href="2.9/" title="2.9">2.9/</a></td><td class="size">-</td><td class="date">2022-May-02 12:04</td></tr>
<tr><td class="link"><a href="cache.json" title="cache.json">cache.json</a></td><td class="size">22.8 KiB</td><td class="date">2022-Oct-14 12:55</td></tr>
</tbody></table></body></html>

View File

@@ -785,7 +785,7 @@ class FetcherLocalTest(FetcherTest):
# Fetch and check revision
self.d.setVar("SRCREV", "AUTOINC")
self.d.setVar("__BBSEENSRCREV", "1")
self.d.setVar("__BBSRCREV_SEEN", "1")
url = "git://" + self.gitdir + ";branch=master;protocol=file;" + suffix
fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download()
@@ -1401,6 +1401,9 @@ class FetchLatestVersionTest(FetcherTest):
# http://www.cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz
("cmake", "/files/v2.8/cmake-2.8.12.1.tar.gz", "", "")
: "2.8.12.1",
# https://download.gnome.org/sources/libxml2/2.9/libxml2-2.9.14.tar.xz
("libxml2", "/software/libxml2/2.9/libxml2-2.9.14.tar.xz", "", "")
: "2.10.3",
#
# packages with versions only in current directory
#
@@ -1651,7 +1654,7 @@ class GitShallowTest(FetcherTest):
self.d.setVar('BB_GIT_SHALLOW', '1')
self.d.setVar('BB_GENERATE_MIRROR_TARBALLS', '0')
self.d.setVar('BB_GENERATE_SHALLOW_TARBALLS', '1')
self.d.setVar("__BBSEENSRCREV", "1")
self.d.setVar("__BBSRCREV_SEEN", "1")
def assertRefs(self, expected_refs, cwd=None):
if cwd is None:
@@ -2196,6 +2199,12 @@ class GitShallowTest(FetcherTest):
self.assertIn("fstests.doap", dir)
class GitLfsTest(FetcherTest):
def skipIfNoGitLFS():
import shutil
if not shutil.which('git-lfs'):
return unittest.skip('git-lfs not installed')
return lambda f: f
def setUp(self):
FetcherTest.setUp(self)
@@ -2209,7 +2218,7 @@ class GitLfsTest(FetcherTest):
self.d.setVar('SRCREV', '${AUTOREV}')
self.d.setVar('AUTOREV', '${@bb.fetch2.get_autorev(d)}')
self.d.setVar("__BBSEENSRCREV", "1")
self.d.setVar("__BBSRCREV_SEEN", "1")
bb.utils.mkdirhier(self.srcdir)
self.git_init(cwd=self.srcdir)
@@ -2229,6 +2238,44 @@ class GitLfsTest(FetcherTest):
ud = fetcher.ud[uri]
return fetcher, ud
def get_real_git_lfs_file(self):
self.d.setVar('PATH', os.environ.get('PATH'))
fetcher, ud = self.fetch()
fetcher.unpack(self.d.getVar('WORKDIR'))
unpacked_lfs_file = os.path.join(self.d.getVar('WORKDIR'), 'git', "Cat_poster_1.jpg")
return unpacked_lfs_file
@skipIfNoGitLFS()
@skipIfNoNetwork()
def test_real_git_lfs_repo_succeeds_without_lfs_param(self):
self.d.setVar('SRC_URI', "git://gitlab.com/gitlab-examples/lfs.git;protocol=https;branch=master")
f = self.get_real_git_lfs_file()
self.assertTrue(os.path.exists(f))
self.assertEqual("c0baab607a97839c9a328b4310713307", bb.utils.md5_file(f))
@skipIfNoGitLFS()
@skipIfNoNetwork()
def test_real_git_lfs_repo_succeeds(self):
self.d.setVar('SRC_URI', "git://gitlab.com/gitlab-examples/lfs.git;protocol=https;branch=master;lfs=1")
f = self.get_real_git_lfs_file()
self.assertTrue(os.path.exists(f))
self.assertEqual("c0baab607a97839c9a328b4310713307", bb.utils.md5_file(f))
@skipIfNoGitLFS()
@skipIfNoNetwork()
def test_real_git_lfs_repo_succeeds(self):
self.d.setVar('SRC_URI', "git://gitlab.com/gitlab-examples/lfs.git;protocol=https;branch=master;lfs=0")
f = self.get_real_git_lfs_file()
# This is the actual non-smudged placeholder file on the repo if git-lfs does not run
lfs_file = (
'version https://git-lfs.github.com/spec/v1\n'
'oid sha256:34be66b1a39a1955b46a12588df9d5f6fc1da790e05cf01f3c7422f4bbbdc26b\n'
'size 11423554\n'
)
with open(f) as fh:
self.assertEqual(lfs_file, fh.read())
def test_lfs_enabled(self):
import shutil
@@ -2247,12 +2294,16 @@ class GitLfsTest(FetcherTest):
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
# If git-lfs cannot be found, the unpack should throw an error
with self.assertRaises(bb.fetch2.FetchError):
fetcher.download()
ud.method._find_git_lfs = lambda d: False
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
old_find_git_lfs = ud.method._find_git_lfs
try:
# If git-lfs cannot be found, the unpack should throw an error
with self.assertRaises(bb.fetch2.FetchError):
fetcher.download()
ud.method._find_git_lfs = lambda d: False
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
finally:
ud.method._find_git_lfs = old_find_git_lfs
def test_lfs_disabled(self):
import shutil
@@ -2267,17 +2318,21 @@ class GitLfsTest(FetcherTest):
fetcher, ud = self.fetch()
self.assertIsNotNone(ud.method._find_git_lfs)
# If git-lfs can be found, the unpack should be successful. A
# live copy of git-lfs is not required for this case, so
# unconditionally forge its presence.
ud.method._find_git_lfs = lambda d: True
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
old_find_git_lfs = ud.method._find_git_lfs
try:
# If git-lfs can be found, the unpack should be successful. A
# live copy of git-lfs is not required for this case, so
# unconditionally forge its presence.
ud.method._find_git_lfs = lambda d: True
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
# If git-lfs cannot be found, the unpack should be successful
# If git-lfs cannot be found, the unpack should be successful
ud.method._find_git_lfs = lambda d: False
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
ud.method._find_git_lfs = lambda d: False
shutil.rmtree(self.gitdir, ignore_errors=True)
fetcher.unpack(self.d.getVar('WORKDIR'))
finally:
ud.method._find_git_lfs = old_find_git_lfs
class GitURLWithSpacesTest(FetcherTest):
test_git_urls = {
@@ -2322,6 +2377,13 @@ class CrateTest(FetcherTest):
d = self.d
fetcher = bb.fetch2.Fetch(uris, self.d)
ud = fetcher.ud[fetcher.urls[0]]
self.assertIn("name", ud.parm)
self.assertEqual(ud.parm["name"], "glob-0.2.11")
self.assertIn("downloadfilename", ud.parm)
self.assertEqual(ud.parm["downloadfilename"], "glob-0.2.11.crate")
fetcher.download()
fetcher.unpack(self.tempdir)
self.assertEqual(sorted(os.listdir(self.tempdir)), ['cargo_home', 'download' , 'unpacked'])
@@ -2329,6 +2391,30 @@ class CrateTest(FetcherTest):
self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/glob-0.2.11/.cargo-checksum.json"))
self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/glob-0.2.11/src/lib.rs"))
@skipIfNoNetwork()
def test_crate_url_params(self):
uri = "crate://crates.io/aho-corasick/0.7.20;name=aho-corasick-renamed"
self.d.setVar('SRC_URI', uri)
uris = self.d.getVar('SRC_URI').split()
d = self.d
fetcher = bb.fetch2.Fetch(uris, self.d)
ud = fetcher.ud[fetcher.urls[0]]
self.assertIn("name", ud.parm)
self.assertEqual(ud.parm["name"], "aho-corasick-renamed")
self.assertIn("downloadfilename", ud.parm)
self.assertEqual(ud.parm["downloadfilename"], "aho-corasick-0.7.20.crate")
fetcher.download()
fetcher.unpack(self.tempdir)
self.assertEqual(sorted(os.listdir(self.tempdir)), ['cargo_home', 'download' , 'unpacked'])
self.assertEqual(sorted(os.listdir(self.tempdir + "/download")), ['aho-corasick-0.7.20.crate', 'aho-corasick-0.7.20.crate.done'])
self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/aho-corasick-0.7.20/.cargo-checksum.json"))
self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/aho-corasick-0.7.20/src/lib.rs"))
@skipIfNoNetwork()
def test_crate_url_multi(self):
@@ -2339,6 +2425,19 @@ class CrateTest(FetcherTest):
d = self.d
fetcher = bb.fetch2.Fetch(uris, self.d)
ud = fetcher.ud[fetcher.urls[0]]
self.assertIn("name", ud.parm)
self.assertEqual(ud.parm["name"], "glob-0.2.11")
self.assertIn("downloadfilename", ud.parm)
self.assertEqual(ud.parm["downloadfilename"], "glob-0.2.11.crate")
ud = fetcher.ud[fetcher.urls[1]]
self.assertIn("name", ud.parm)
self.assertEqual(ud.parm["name"], "time-0.1.35")
self.assertIn("downloadfilename", ud.parm)
self.assertEqual(ud.parm["downloadfilename"], "time-0.1.35.crate")
fetcher.download()
fetcher.unpack(self.tempdir)
self.assertEqual(sorted(os.listdir(self.tempdir)), ['cargo_home', 'download' , 'unpacked'])
@@ -2348,6 +2447,18 @@ class CrateTest(FetcherTest):
self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/time-0.1.35/.cargo-checksum.json"))
self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/time-0.1.35/src/lib.rs"))
@skipIfNoNetwork()
def test_crate_incorrect_cksum(self):
uri = "crate://crates.io/aho-corasick/0.7.20"
self.d.setVar('SRC_URI', uri)
self.d.setVarFlag("SRC_URI", "aho-corasick-0.7.20.sha256sum", hashlib.sha256("Invalid".encode("utf-8")).hexdigest())
uris = self.d.getVar('SRC_URI').split()
fetcher = bb.fetch2.Fetch(uris, self.d)
with self.assertRaisesRegexp(bb.fetch2.FetchError, "Fetcher failure for URL"):
fetcher.download()
class NPMTest(FetcherTest):
def skipIfNoNpm():
import shutil
@@ -2609,6 +2720,45 @@ class NPMTest(FetcherTest):
self.assertTrue(os.path.exists(os.path.join(self.sdir, 'node_modules', 'array-flatten', 'node_modules', 'content-type', 'package.json')))
self.assertTrue(os.path.exists(os.path.join(self.sdir, 'node_modules', 'array-flatten', 'node_modules', 'content-type', 'node_modules', 'cookie', 'package.json')))
@skipIfNoNpm()
@skipIfNoNetwork()
def test_npmsw_git(self):
swfile = self.create_shrinkwrap_file({
'dependencies': {
'cookie': {
'version': 'github:jshttp/cookie.git#aec1177c7da67e3b3273df96cf476824dbc9ae09',
'from': 'github:jshttp/cookie.git'
}
}
})
fetcher = bb.fetch.Fetch(['npmsw://' + swfile], self.d)
fetcher.download()
self.assertTrue(os.path.exists(os.path.join(self.dldir, 'git2', 'github.com.jshttp.cookie.git')))
swfile = self.create_shrinkwrap_file({
'dependencies': {
'cookie': {
'version': 'jshttp/cookie.git#aec1177c7da67e3b3273df96cf476824dbc9ae09',
'from': 'jshttp/cookie.git'
}
}
})
fetcher = bb.fetch.Fetch(['npmsw://' + swfile], self.d)
fetcher.download()
self.assertTrue(os.path.exists(os.path.join(self.dldir, 'git2', 'github.com.jshttp.cookie.git')))
swfile = self.create_shrinkwrap_file({
'dependencies': {
'nodejs': {
'version': 'gitlab:gitlab-examples/nodejs.git#892a1f16725e56cc3a2cb0d677be42935c8fc262',
'from': 'gitlab:gitlab-examples/nodejs'
}
}
})
fetcher = bb.fetch.Fetch(['npmsw://' + swfile], self.d)
fetcher.download()
self.assertTrue(os.path.exists(os.path.join(self.dldir, 'git2', 'gitlab.com.gitlab-examples.nodejs.git')))
@skipIfNoNpm()
@skipIfNoNetwork()
def test_npmsw_dev(self):
@@ -2818,7 +2968,7 @@ class GitSharedTest(FetcherTest):
super(GitSharedTest, self).setUp()
self.recipe_url = "git://git.openembedded.org/bitbake;branch=master"
self.d.setVar('SRCREV', '82ea737a0b42a8b53e11c9cde141e9e9c0bd8c40')
self.d.setVar("__BBSEENSRCREV", "1")
self.d.setVar("__BBSRCREV_SEEN", "1")
@skipIfNoNetwork()
def test_shared_unpack(self):
@@ -2849,7 +2999,7 @@ class FetchPremirroronlyLocalTest(FetcherTest):
os.mkdir(self.mirrordir)
self.reponame = "bitbake"
self.gitdir = os.path.join(self.tempdir, "git", self.reponame)
self.recipe_url = "git://git.fake.repo/bitbake"
self.recipe_url = "git://git.fake.repo/bitbake;branch=master"
self.d.setVar("BB_FETCH_PREMIRRORONLY", "1")
self.d.setVar("BB_NO_NETWORK", "1")
self.d.setVar("PREMIRRORS", self.recipe_url + " " + "file://{}".format(self.mirrordir) + " \n")
@@ -2933,6 +3083,50 @@ class FetchPremirroronlyNetworkTest(FetcherTest):
with self.assertRaises(bb.fetch2.NetworkAccess):
fetcher.download()
class FetchPremirroronlyMercurialTest(FetcherTest):
""" Test for premirrors with mercurial repos
the test covers also basic hg:// clone (see fetch_and_create_tarball
"""
def skipIfNoHg():
import shutil
if not shutil.which('hg'):
return unittest.skip('Mercurial not installed')
return lambda f: f
def setUp(self):
super(FetchPremirroronlyMercurialTest, self).setUp()
self.mirrordir = os.path.join(self.tempdir, "mirrors")
os.mkdir(self.mirrordir)
self.reponame = "libgnt"
self.clonedir = os.path.join(self.tempdir, "hg")
self.recipe_url = "hg://keep.imfreedom.org/libgnt;module=libgnt"
self.d.setVar("SRCREV", "53e8b422faaf")
self.mirrorname = "hg_libgnt_keep.imfreedom.org_.libgnt.tar.gz"
def fetch_and_create_tarball(self):
"""
Ask bitbake to download repo and prepare mirror tarball for us
"""
self.d.setVar("BB_GENERATE_MIRROR_TARBALLS", "1")
fetcher = bb.fetch.Fetch([self.recipe_url], self.d)
fetcher.download()
mirrorfile = os.path.join(self.d.getVar("DL_DIR"), self.mirrorname)
self.assertTrue(os.path.exists(mirrorfile), "Mirror tarball {} has not been created".format(mirrorfile))
## moving tarball to mirror directory
os.rename(mirrorfile, os.path.join(self.mirrordir, self.mirrorname))
self.d.setVar("BB_GENERATE_MIRROR_TARBALLS", "0")
@skipIfNoNetwork()
@skipIfNoHg()
def test_premirror_mercurial(self):
self.fetch_and_create_tarball()
self.d.setVar("PREMIRRORS", self.recipe_url + " " + "file://{}".format(self.mirrordir) + " \n")
self.d.setVar("BB_FETCH_PREMIRRORONLY", "1")
self.d.setVar("BB_NO_NETWORK", "1")
fetcher = bb.fetch.Fetch([self.recipe_url], self.d)
fetcher.download()
class FetchPremirroronlyBrokenTarball(FetcherTest):
def setUp(self):

View File

@@ -218,3 +218,26 @@ VAR = " \\
with self.assertRaises(bb.BBHandledException):
d = bb.parse.handle(f.name, self.d)['']
at_sign_in_var_flag = """
A[flag@.service] = "nonet"
B[flag@.target] = "ntb"
C[f] = "flag"
unset A[flag@.service]
"""
def test_parse_at_sign_in_var_flag(self):
f = self.parsehelper(self.at_sign_in_var_flag)
d = bb.parse.handle(f.name, self.d)['']
self.assertEqual(d.getVar("A"), None)
self.assertEqual(d.getVar("B"), None)
self.assertEqual(d.getVarFlag("A","flag@.service"), None)
self.assertEqual(d.getVarFlag("B","flag@.target"), "ntb")
self.assertEqual(d.getVarFlag("C","f"), "flag")
def test_parse_invalid_at_sign_in_var_flag(self):
invalid_at_sign = self.at_sign_in_var_flag.replace("B[f", "B[@f")
f = self.parsehelper(invalid_at_sign)
with self.assertRaises(bb.parse.ParseError):
d = bb.parse.handle(f.name, self.d)['']

View File

@@ -288,7 +288,7 @@ class RunQueueTests(unittest.TestCase):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
"BBMULTICONFIG" : "mc-1 mc_2",
"BB_SIGNATURE_HANDLER" : "TestMulticonfigDepends",
"BB_SIGNATURE_HANDLER" : "basichash",
"EXTRA_BBFILES": "${COREBASE}/recipes/fails-mc/*.bb",
}
tasks = self.run_bitbakecmd(["bitbake", "mc:mc-1:f1"], tempdir, "", extraenv=extraenv, cleanup=True)

View File

@@ -10,6 +10,7 @@
import logging
import os
import sys
import time
import atexit
import re
from collections import OrderedDict, defaultdict
@@ -729,6 +730,7 @@ class Tinfoil:
ret = self.run_command('buildTargets', targets, task)
if handle_events:
lastevent = time.time()
result = False
# Borrowed from knotty, instead somewhat hackily we use the helper
# as the object to store "shutdown" on
@@ -741,6 +743,7 @@ class Tinfoil:
try:
event = self.wait_event(0.25)
if event:
lastevent = time.time()
if event_callback and event_callback(event):
continue
if helper.eventHandler(event):
@@ -773,7 +776,7 @@ class Tinfoil:
if isinstance(event, bb.command.CommandCompleted):
result = True
break
if isinstance(event, bb.command.CommandFailed):
if isinstance(event, (bb.command.CommandFailed, bb.command.CommandExit)):
self.logger.error(str(event))
result = False
break
@@ -785,10 +788,13 @@ class Tinfoil:
self.logger.error(str(event))
result = False
break
elif helper.shutdown > 1:
break
termfilter.updateFooter()
if time.time() > (lastevent + (3*60)):
if not self.run_command('ping', handle_events=False):
print("\nUnable to ping server and no events, closing down...\n")
return False
except KeyboardInterrupt:
termfilter.clearFooter()
if helper.shutdown == 1:

View File

@@ -625,25 +625,38 @@ def main(server, eventHandler, params, tf = TerminalFilter):
printintervaldelta = 10 * 60 # 10 minutes
printinterval = printintervaldelta
lastprint = time.time()
pinginterval = 1 * 60 # 1 minute
lastevent = lastprint = time.time()
termfilter = tf(main, helper, console_handlers, params.options.quiet)
atexit.register(termfilter.finish)
while True:
# shutdown levels
# 0 - normal operation
# 1 - no new task execution, let current running tasks finish
# 2 - interrupting currently executing tasks
# 3 - we're done, exit
while main.shutdown < 3:
try:
if (lastprint + printinterval) <= time.time():
termfilter.keepAlive(printinterval)
printinterval += printintervaldelta
event = eventHandler.waitEvent(0)
if event is None:
if main.shutdown > 1:
break
if (lastevent + pinginterval) <= time.time():
ret, error = server.runCommand(["ping"])
if error or not ret:
termfilter.clearFooter()
print("No reply after pinging server (%s, %s), exiting." % (str(error), str(ret)))
return_value = 3
main.shutdown = 3
lastevent = time.time()
if not parseprogress:
termfilter.updateFooter()
event = eventHandler.waitEvent(0.25)
if event is None:
continue
lastevent = time.time()
helper.eventHandler(event)
if isinstance(event, bb.runqueue.runQueueExitWait):
if not main.shutdown:
@@ -748,15 +761,15 @@ def main(server, eventHandler, params, tf = TerminalFilter):
if event.error:
errors = errors + 1
logger.error(str(event))
main.shutdown = 2
main.shutdown = 3
continue
if isinstance(event, bb.command.CommandExit):
if not return_value:
return_value = event.exitcode
main.shutdown = 2
main.shutdown = 3
continue
if isinstance(event, (bb.command.CommandCompleted, bb.cooker.CookerExit)):
main.shutdown = 2
main.shutdown = 3
continue
if isinstance(event, bb.event.MultipleProviders):
logger.info(str(event))

View File

@@ -177,7 +177,7 @@ class gtkthread(threading.Thread):
quit = threading.Event()
def __init__(self, shutdown):
threading.Thread.__init__(self)
self.setDaemon(True)
self.daemon = True
self.shutdown = shutdown
if not Gtk.init_check()[0]:
sys.stderr.write("Gtk+ init failed. Make sure DISPLAY variable is set.\n")

View File

@@ -65,35 +65,27 @@ class BBUIEventQueue:
self.server = server
self.t = threading.Thread()
self.t.setDaemon(True)
self.t.daemon = True
self.t.run = self.startCallbackHandler
self.t.start()
def getEvent(self):
self.eventQueueLock.acquire()
if not self.eventQueue:
self.eventQueueLock.release()
return None
item = self.eventQueue.pop(0)
if not self.eventQueue:
self.eventQueueNotify.clear()
self.eventQueueLock.release()
return item
with bb.utils.lock_timeout(self.eventQueueLock):
if not self.eventQueue:
return None
item = self.eventQueue.pop(0)
if not self.eventQueue:
self.eventQueueNotify.clear()
return item
def waitEvent(self, delay):
self.eventQueueNotify.wait(delay)
return self.getEvent()
def queue_event(self, event):
self.eventQueueLock.acquire()
self.eventQueue.append(event)
self.eventQueueNotify.set()
self.eventQueueLock.release()
with bb.utils.lock_timeout(self.eventQueueLock):
self.eventQueue.append(event)
self.eventQueueNotify.set()
def send_event(self, event):
self.queue_event(pickle.loads(event))

View File

@@ -1698,22 +1698,11 @@ def disable_network(uid=None, gid=None):
f.write("%s %s 1" % (gid, gid))
def export_proxies(d):
from bb.fetch2 import get_fetcher_environment
""" export common proxies variables from datastore to environment """
variables = ['http_proxy', 'HTTP_PROXY', 'https_proxy', 'HTTPS_PROXY',
'ftp_proxy', 'FTP_PROXY', 'no_proxy', 'NO_PROXY',
'GIT_PROXY_COMMAND', 'SSL_CERT_FILE', 'SSL_CERT_DIR']
origenv = d.getVar("BB_ORIGENV")
for name in variables:
value = d.getVar(name)
if not value and origenv:
value = origenv.getVar(name)
if value:
os.environ[name] = value
newenv = get_fetcher_environment(d)
for v in newenv:
os.environ[v] = newenv[v]
def load_plugins(logger, plugins, pluginpath):
def load_plugin(name):
@@ -1838,3 +1827,16 @@ def mkstemp(suffix=None, prefix=None, dir=None, text=False):
else:
prefix = tempfile.gettempprefix() + entropy
return tempfile.mkstemp(suffix=suffix, prefix=prefix, dir=dir, text=text)
# If we don't have a timeout of some kind and a process/thread exits badly (for example
# OOM killed) and held a lock, we'd just hang in the lock futex forever. It is better
# we exit at some point than hang. 5 minutes with no progress means we're probably deadlocked.
@contextmanager
def lock_timeout(lock):
held = lock.acquire(timeout=5*60)
try:
if not held:
os._exit(1)
yield held
finally:
lock.release()

View File

@@ -11,6 +11,7 @@ import shutil
import sys
import tempfile
from bb.cookerdata import findTopdir
import bb.utils
from bblayers.common import LayerPlugin
@@ -37,7 +38,7 @@ class ActionPlugin(LayerPlugin):
sys.stderr.write("Specified layer directory %s doesn't contain a conf/layer.conf file\n" % layerdir)
return 1
bblayers_conf = os.path.join('conf', 'bblayers.conf')
bblayers_conf = os.path.join(findTopdir(),'conf', 'bblayers.conf')
if not os.path.exists(bblayers_conf):
sys.stderr.write("Unable to find bblayers.conf\n")
return 1
@@ -65,7 +66,7 @@ class ActionPlugin(LayerPlugin):
def do_remove_layer(self, args):
"""Remove one or more layers from bblayers.conf."""
bblayers_conf = os.path.join('conf', 'bblayers.conf')
bblayers_conf = os.path.join(findTopdir() ,'conf', 'bblayers.conf')
if not os.path.exists(bblayers_conf):
sys.stderr.write("Unable to find bblayers.conf\n")
return 1

View File

@@ -29,12 +29,12 @@ class QueryPlugin(LayerPlugin):
def do_show_layers(self, args):
"""show current configured layers."""
logger.plain("%s %s %s" % ("layer".ljust(20), "path".ljust(40), "priority"))
logger.plain('=' * 74)
logger.plain("%s %s %s" % ("layer".ljust(20), "path".ljust(70), "priority"))
logger.plain('=' * 104)
for layer, _, regex, pri in self.tinfoil.cooker.bbfile_config_priorities:
layerdir = self.bbfile_collections.get(layer, None)
layername = self.get_layer_name(layerdir)
logger.plain("%s %s %d" % (layername.ljust(20), layerdir.ljust(40), pri))
layername = layer
logger.plain("%s %s %s" % (layername.ljust(20), layerdir.ljust(70), pri))
def version_str(self, pe, pv, pr = None):
verstr = "%s" % pv

View File

@@ -41,12 +41,13 @@ current_releases = [
# Release slot #3 'master'
['Master','master','','Yocto Project master','master','','master'],
# Release slot #4
['Langdale','4.1','October 2022','4.1.3 (March 2023)','Support for 7 months (until May 2023)','','2.2'],
['Mickledore','4.2','April 2023','4.2.0 (April 2023)','Support for 7 months (until October 2023)','','2.4'],
# ['Langdale','4.1','October 2022','4.1.2 (January 2023)','Support for 7 months (until May 2023)','','2.2'],
# ['Honister','3.4','October 2021','3.4.2 (February 2022)','Support for 7 months (until May 2022)','26.0','1.52'],
# ['Gatesgarth','3.2','Oct 2020','3.2.4 (May 2021)','EOL','24.0','1.48'],
# Optional Release slot #4
['Dunfell','3.1','April 2021','3.1.23 (February 2023)','Stable - Long Term Support (until Apr. 2024)','23.0','1.46'],
# ['Hardknott','3.3','April 2021','3.3.5 (March 2022)','Stable - Support for 13 months (until Apr. 2022)','25.0','1.50'],
# ['Gatesgarth','3.2','Oct 2020','3.2.4 (May 2021)','EOL','24.0','1.48'],
# Optional Release slot #5
['Dunfell','3.1','April 2020','3.1.23 (February 2023)','Stable - Long Term Support (until Apr. 2024)','23.0','1.46'],
]
default_poky_layers = [

View File

@@ -23,9 +23,9 @@
<field type="CharField" name="branch">master</field>
</object>
<object model="orm.bitbakeversion" pk="4">
<field type="CharField" name="name">langdale</field>
<field type="CharField" name="name">mickledore</field>
<field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
<field type="CharField" name="branch">2.2</field>
<field type="CharField" name="branch">2.4</field>
</object>
<object model="orm.bitbakeversion" pk="5">
<field type="CharField" name="name">dunfell</field>
@@ -56,11 +56,11 @@
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/\"&gt;OpenEmbedded master&lt;/a&gt; branch.</field>
</object>
<object model="orm.release" pk="4">
<field type="CharField" name="name">langdale</field>
<field type="CharField" name="description">Openembedded Langdale</field>
<field type="CharField" name="name">mickledore</field>
<field type="CharField" name="description">Openembedded Mickledore</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">4</field>
<field type="CharField" name="branch_name">langdale</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=langdale\"&gt;OpenEmbedded Langdale&lt;/a&gt; branch.</field>
<field type="CharField" name="branch_name">mickledore</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=mickledore\"&gt;OpenEmbedded Mickledore&lt;/a&gt; branch.</field>
</object>
<object model="orm.release" pk="5">
<field type="CharField" name="name">dunfell</field>

View File

@@ -26,9 +26,9 @@
<field type="CharField" name="dirpath">bitbake</field>
</object>
<object model="orm.bitbakeversion" pk="4">
<field type="CharField" name="name">langdale</field>
<field type="CharField" name="name">mickledore</field>
<field type="CharField" name="giturl">git://git.yoctoproject.org/poky</field>
<field type="CharField" name="branch">langdale</field>
<field type="CharField" name="branch">mickledore</field>
<field type="CharField" name="dirpath">bitbake</field>
</object>
<object model="orm.bitbakeversion" pk="5">
@@ -62,11 +62,11 @@
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/"&gt;Yocto Project Master branch&lt;/a&gt;.</field>
</object>
<object model="orm.release" pk="4">
<field type="CharField" name="name">langdale</field>
<field type="CharField" name="description">Yocto Project 4.1 "Langdale"</field>
<field type="CharField" name="name">mickledore</field>
<field type="CharField" name="description">Yocto Project 4.2 "Mickledore"</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">4</field>
<field type="CharField" name="branch_name">langdale</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=langdale"&gt;Yocto Project Langdale branch&lt;/a&gt;.</field>
<field type="CharField" name="branch_name">mickledore</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=mickledore"&gt;Yocto Project Mickledore branch&lt;/a&gt;.</field>
</object>
<object model="orm.release" pk="5">
<field type="CharField" name="name">dunfell</field>
@@ -177,7 +177,7 @@
<field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">langdale</field>
<field type="CharField" name="branch">mickledore</field>
<field type="CharField" name="dirpath">meta</field>
</object>
<object model="orm.layer_version" pk="5">
@@ -222,7 +222,7 @@
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">langdale</field>
<field type="CharField" name="branch">mickledore</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="10">
@@ -267,7 +267,7 @@
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">langdale</field>
<field type="CharField" name="branch">mickledore</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
<object model="orm.layer_version" pk="15">

View File

@@ -40,7 +40,7 @@ class Spinner(threading.Thread):
""" A simple progress spinner to indicate download/parsing is happening"""
def __init__(self, *args, **kwargs):
super(Spinner, self).__init__(*args, **kwargs)
self.setDaemon(True)
self.daemon = True
self.signal = True
def run(self):

View File

@@ -24,7 +24,7 @@ class KillRunbuilds(threading.Thread):
""" Kill the runbuilds process after an amount of time """
def __init__(self, *args, **kwargs):
super(KillRunbuilds, self).__init__(*args, **kwargs)
self.setDaemon(True)
self.daemon = True
def run(self):
time.sleep(5)

View File

@@ -1,3 +1,4 @@
sphinx/__pycache__
_build/
Pipfile.lock
poky.yaml

View File

@@ -275,6 +275,19 @@ websites.
More information can be found here:
https://sublime-and-sphinx-guide.readthedocs.io/en/latest/references.html.
For external links, we use this syntax:
`link text <link URL>`__
instead of:
`link text <link URL>`_
Both syntaxes work, but the latter also creates a "link text" reference
target which could conflict with other references with the same name.
So, only use this variant when you wish to make multiple references
to this link, reusing only the target name.
See https://stackoverflow.com/questions/27420317/restructured-text-rst-http-links-underscore-vs-use
Anchor (<#link>) links are forbidden as they are not checked by Sphinx during
the build and may be broken without knowing about it.
@@ -344,13 +357,16 @@ The sphinx.ext.intersphinx extension is enabled by default
so that we can cross reference content from other Sphinx based
documentation projects, such as the BitBake manual.
References to the BitBake manual can be done:
References to the BitBake manual can directly be done:
- With a specific description instead of the section name:
:ref:`Azure Storage fetcher (az://) <bitbake:bitbake-user-manual/bitbake-user-manual-fetching:fetchers>`
:ref:`Azure Storage fetcher (az://) <bitbake-user-manual/bitbake-user-manual-fetching:fetchers>`
- With the section name:
:ref:`bitbake:bitbake-user-manual/bitbake-user-manual-intro:usage and syntax` option
- Linking to the entire BitBake manual:
:doc:`BitBake User Manual <bitbake:index>`
:ref:`bitbake-user-manual/bitbake-user-manual-intro:usage and syntax` option
If you want to refer to an entire document (or chapter) in the BitBake manual,
you have to use the ":doc:" macro with the "bitbake:" prefix:
- :doc:`BitBake User Manual <bitbake:index>`
- :doc:`bitbake:bitbake-user-manual/bitbake-user-manual-metadata`" chapter
Note that a reference to a variable (:term:`VARIABLE`) automatically points to
the BitBake manual if the variable is not described in the Reference Manual's Variable Glossary.
@@ -359,6 +375,11 @@ BitBake manual as follows:
:term:`bitbake:BB_NUMBER_PARSE_THREADS`
This would be the same if we had identical document filenames in
both the Yocto Project and BitBake manuals:
:ref:`bitbake:directory/file:section title`
Submitting documentation changes
================================

View File

@@ -5,7 +5,7 @@
<br> All Rights Reserved. Linux Foundation&reg; and Yocto Project&reg; are registered trademarks of the Linux Foundation.
<br>Linux&reg; is a registered trademark of Linus Torvalds.
<br>&copy; Copyright {{ copyright }}
<br>Last updated on {{ last_updated }}
<br>Last updated on {{ last_updated }} from the <a href="https://git.yoctoproject.org/yocto-docs/">yocto-docs</a> git repository.
</p>
</div>
</footer>

View File

@@ -1,3 +1,5 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
.. include:: <xhtml1-lat1.txt>
.. include:: <xhtml1-symbol.txt>
@@ -8,7 +10,7 @@
Permission is granted to copy, distribute and/or modify this document under the
terms of the `Creative Commons Attribution-Share Alike 2.0 UK: England & Wales
<https://creativecommons.org/licenses/by-sa/2.0/uk/>`_ as published by Creative
<https://creativecommons.org/licenses/by-sa/2.0/uk/>`__ as published by Creative
Commons.
To report any inaccuracies or problems with this (or any other Yocto Project)

View File

@@ -40,7 +40,13 @@ Compatible Linux Distribution
Make sure your :term:`Build Host` meets the
following requirements:
- 50 Gbytes of free disk space
- At least &MIN_DISK_SPACE; Gbytes of free disk space, though
much more will help to run multiple builds and increase
performance by reusing build artifacts.
- At least &MIN_RAM; Gbytes of RAM, though a modern modern build host with as
much RAM and as many CPU cores as possible is strongly recommended to
maximize build performance.
- Runs a supported Linux distribution (i.e. recent releases of Fedora,
openSUSE, CentOS, Debian, or Ubuntu). For a list of Linux
@@ -70,11 +76,9 @@ Build Host Packages
You must install essential host packages on your build host. The
following command installs the host packages based on an Ubuntu
distribution:
distribution::
.. code-block:: shell
$ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
$ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
.. note::
@@ -224,13 +228,13 @@ an entire Linux distribution, including the toolchain, from source.
Among other things, the script creates the :term:`Build Directory`, which is
``build`` in this case and is located in the :term:`Source Directory`. After
the script runs, your current working directory is set to the Build
Directory. Later, when the build completes, the Build Directory contains all the
files created during the build.
the script runs, your current working directory is set to the
:term:`Build Directory`. Later, when the build completes, the
:term:`Build Directory` contains all the files created during the build.
#. **Examine Your Local Configuration File:** When you set up the build
environment, a local configuration file named ``local.conf`` becomes
available in a ``conf`` subdirectory of the Build Directory. For this
available in a ``conf`` subdirectory of the :term:`Build Directory`. For this
example, the defaults are set to build for a ``qemux86`` target,
which is suitable for emulation. The package manager used is set to
the RPM package manager.
@@ -262,7 +266,7 @@ an entire Linux distribution, including the toolchain, from source.
For information on using the ``bitbake`` command, see the
:ref:`overview-manual/concepts:bitbake` section in the Yocto Project Overview and
Concepts Manual, or see
:ref:`bitbake:bitbake-user-manual/bitbake-user-manual-intro:the bitbake command`
:ref:`bitbake-user-manual/bitbake-user-manual-intro:the bitbake command`
in the BitBake User Manual.
#. **Simulate Your Image Using QEMU:** Once this particular image is
@@ -345,9 +349,7 @@ Follow these steps to add a hardware layer:
#. **Add Your Layer to the Layer Configuration File:** Before you can use
a layer during a build, you must add it to your ``bblayers.conf``
file, which is found in the
:term:`Build Directory` ``conf``
directory.
file, which is found in the :term:`Build Directory` ``conf`` directory.
Use the ``bitbake-layers add-layer`` command to add the layer to the
configuration file:
@@ -363,7 +365,7 @@ Follow these steps to add a hardware layer:
You can find
more information on adding layers in the
:ref:`dev-manual/common-tasks:adding a layer using the \`\`bitbake-layers\`\` script`
:ref:`dev-manual/layers:adding a layer using the \`\`bitbake-layers\`\` script`
section.
Completing these steps has added the ``meta-altera`` layer to your Yocto
@@ -398,7 +400,7 @@ The following commands run the tool to create a layer named
For more information
on layers and how to create them, see the
:ref:`dev-manual/common-tasks:creating a general layer using the \`\`bitbake-layers\`\` script`
:ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`
section in the Yocto Project Development Tasks Manual.
Where To Go Next

View File

@@ -109,8 +109,7 @@ them to the "Dependencies" section.
Some layers function as a layer to hold other BSP layers. These layers
are known as ":term:`container layers <Container Layer>`". An example of
this type of layer is OpenEmbedded's
`meta-openembedded <https://github.com/openembedded/meta-openembedded>`__
this type of layer is OpenEmbedded's :oe_git:`meta-openembedded </meta-openembedded>`
layer. The ``meta-openembedded`` layer contains many ``meta-*`` layers.
In cases like this, you need to include the names of the actual layers
you want to work with, such as::
@@ -128,7 +127,7 @@ you want to work with, such as::
and so on.
For more information on layers, see the
":ref:`dev-manual/common-tasks:understanding and creating layers`"
":ref:`dev-manual/layers:understanding and creating layers`"
section of the Yocto Project Development Tasks Manual.
Preparing Your Build Host to Work With BSP Layers
@@ -464,7 +463,7 @@ requirements are handled with the ``COPYING.MIT`` file.
Licensing files can be MIT, BSD, GPLv*, and so forth. These files are
recommended for the BSP but are optional and totally up to the BSP
developer. For information on how to maintain license compliance, see
the ":ref:`dev-manual/common-tasks:maintaining open source license compliance during your product's lifecycle`"
the ":ref:`dev-manual/licenses:maintaining open source license compliance during your product's lifecycle`"
section in the Yocto Project Development Tasks Manual.
README File
@@ -590,7 +589,7 @@ filenames correspond to the values to which users have set the
These files define things such as the kernel package to use
(:term:`PREFERRED_PROVIDER` of
:ref:`virtual/kernel <dev-manual/common-tasks:using virtual providers>`),
:ref:`virtual/kernel <dev-manual/new-recipe:using virtual providers>`),
the hardware drivers to include in different types of images, any
special software components that are needed, any bootloader information,
and also any special image format requirements.
@@ -758,7 +757,7 @@ workflow.
OpenEmbedded build system knows about. For more information on
layers, see the ":ref:`overview-manual/yp-intro:the yocto project layer model`"
section in the Yocto Project Overview and Concepts Manual. You can also
reference the ":ref:`dev-manual/common-tasks:understanding and creating layers`"
reference the ":ref:`dev-manual/layers:understanding and creating layers`"
section in the Yocto Project Development Tasks Manual. For more
information on BSP layers, see the ":ref:`bsp-guide/bsp:bsp layers`"
section.
@@ -817,7 +816,7 @@ workflow.
key configuration files are configured appropriately: the
``conf/local.conf`` and the ``conf/bblayers.conf`` file. You must
make the OpenEmbedded build system aware of your new layer. See the
":ref:`dev-manual/common-tasks:enabling your layer`"
":ref:`dev-manual/layers:enabling your layer`"
section in the Yocto Project Development Tasks Manual for information
on how to let the build system know about your new layer.
@@ -846,7 +845,7 @@ Before looking at BSP requirements, you should consider the following:
layer that can be added to the Yocto Project. For guidelines on
creating a layer that meets these base requirements, see the
":ref:`bsp-guide/bsp:bsp layers`" section in this manual and the
":ref:`dev-manual/common-tasks:understanding and creating layers`"
":ref:`dev-manual/layers:understanding and creating layers`"
section in the Yocto Project Development Tasks Manual.
- The requirements in this section apply regardless of how you package
@@ -928,7 +927,7 @@ Yocto Project:
- The name and contact information for the BSP layer maintainer.
This is the person to whom patches and questions should be sent.
For information on how to find the right person, see the
":ref:`dev-manual/common-tasks:submitting a change to the yocto project`"
":ref:`dev-manual/changes:submitting a change to the yocto project`"
section in the Yocto Project Development Tasks Manual.
- Instructions on how to build the BSP using the BSP layer.
@@ -1014,7 +1013,7 @@ the following:
- Create a ``*.bbappend`` file for the modified recipe. For information on using
append files, see the
":ref:`dev-manual/common-tasks:appending other layers metadata with your layer`"
":ref:`dev-manual/layers:appending other layers metadata with your layer`"
section in the Yocto Project Development Tasks Manual.
- Ensure your directory structure in the BSP layer that supports your
@@ -1118,7 +1117,7 @@ list describes them in order of preference:
Specifying the matching license string signifies that you agree to
the license. Thus, the build system can build the corresponding
recipe and include the component in the image. See the
":ref:`dev-manual/common-tasks:enabling commercially licensed recipes`"
":ref:`dev-manual/licenses:enabling commercially licensed recipes`"
section in the Yocto Project Development Tasks Manual for details on
how to use these variables.
@@ -1170,7 +1169,7 @@ Use these steps to create a BSP layer:
``create-layer`` subcommand to create a new general layer. For
instructions on how to create a general layer using the
``bitbake-layers`` script, see the
":ref:`dev-manual/common-tasks:creating a general layer using the \`\`bitbake-layers\`\` script`"
":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`"
section in the Yocto Project Development Tasks Manual.
- *Create a Layer Configuration File:* Every layer needs a layer
@@ -1230,7 +1229,7 @@ configuration files is to examine various files for BSP from the
:yocto_git:`Source Repositories <>`.
For a detailed description of this particular layer configuration file,
see ":ref:`step 3 <dev-manual/common-tasks:creating your own layer>`"
see ":ref:`step 3 <dev-manual/layers:creating your own layer>`"
in the discussion that describes how to create layers in the Yocto
Project Development Tasks Manual.
@@ -1357,7 +1356,7 @@ Project Reference Manual.
- :term:`EXTRA_IMAGECMD`:
Specifies additional options for image creation commands. In this
example, the "-lnp " option is used when creating the
`JFFS2 <https://en.wikipedia.org/wiki/JFFS2>`__ image.
:wikipedia:`JFFS2 <JFFS2>` image.
- :term:`WKS_FILE`: The location of
the :ref:`Wic kickstart <ref-manual/kickstart:openembedded kickstart (\`\`.wks\`\`) reference>` file used
@@ -1366,7 +1365,7 @@ Project Reference Manual.
- :term:`IMAGE_INSTALL`:
Specifies packages to install into an image through the
:ref:`image <ref-classes-image>` class. Recipes
:ref:`ref-classes-image` class. Recipes
use the :term:`IMAGE_INSTALL` variable.
- ``do_image_wic[depends]``: A task that is constructed during the

View File

@@ -91,6 +91,7 @@ rst_prolog = """
# external links and substitutions
extlinks = {
'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'),
'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'),
'yocto_home': ('https://www.yoctoproject.org%s', None),
'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None),
'yocto_dl': ('https://downloads.yoctoproject.org%s', None),

View File

@@ -0,0 +1,59 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Flashing Images Using ``bmaptool``
**********************************
A fast and easy way to flash an image to a bootable device is to use
Bmaptool, which is integrated into the OpenEmbedded build system.
Bmaptool is a generic tool that creates a file's block map (bmap) and
then uses that map to copy the file. As compared to traditional tools
such as dd or cp, Bmaptool can copy (or flash) large files like raw
system image files much faster.
.. note::
- If you are using Ubuntu or Debian distributions, you can install
the ``bmap-tools`` package using the following command and then
use the tool without specifying ``PATH`` even from the root
account::
$ sudo apt install bmap-tools
- If you are unable to install the ``bmap-tools`` package, you will
need to build Bmaptool before using it. Use the following command::
$ bitbake bmap-tools-native
Following, is an example that shows how to flash a Wic image. Realize
that while this example uses a Wic image, you can use Bmaptool to flash
any type of image. Use these steps to flash an image using Bmaptool:
#. *Update your local.conf File:* You need to have the following set
in your ``local.conf`` file before building your image::
IMAGE_FSTYPES += "wic wic.bmap"
#. *Get Your Image:* Either have your image ready (pre-built with the
:term:`IMAGE_FSTYPES`
setting previously mentioned) or take the step to build the image::
$ bitbake image
#. *Flash the Device:* Flash the device with the image by using Bmaptool
depending on your particular setup. The following commands assume the
image resides in the :term:`Build Directory`'s ``deploy/images/`` area:
- If you have write access to the media, use this command form::
$ oe-run-native bmap-tools-native bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
- If you do not have write access to the media, set your permissions
first and then use the same command form::
$ sudo chmod 666 /dev/sdX
$ oe-run-native bmap-tools-native bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
For help on the ``bmaptool`` command, use the following command::
$ bmaptool --help

View File

@@ -0,0 +1,409 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Maintaining Build Output Quality
********************************
Many factors can influence the quality of a build. For example, if you
upgrade a recipe to use a new version of an upstream software package or
you experiment with some new configuration options, subtle changes can
occur that you might not detect until later. Consider the case where
your recipe is using a newer version of an upstream package. In this
case, a new version of a piece of software might introduce an optional
dependency on another library, which is auto-detected. If that library
has already been built when the software is building, the software will
link to the built library and that library will be pulled into your
image along with the new software even if you did not want the library.
The :ref:`ref-classes-buildhistory` class helps you maintain the quality of
your build output. You can use the class to highlight unexpected and possibly
unwanted changes in the build output. When you enable build history, it records
information about the contents of each package and image and then commits that
information to a local Git repository where you can examine the information.
The remainder of this section describes the following:
- :ref:`How you can enable and disable build history <dev-manual/build-quality:enabling and disabling build history>`
- :ref:`How to understand what the build history contains <dev-manual/build-quality:understanding what the build history contains>`
- :ref:`How to limit the information used for build history <dev-manual/build-quality:using build history to gather image information only>`
- :ref:`How to examine the build history from both a command-line and web interface <dev-manual/build-quality:examining build history information>`
Enabling and Disabling Build History
====================================
Build history is disabled by default. To enable it, add the following
:term:`INHERIT` statement and set the :term:`BUILDHISTORY_COMMIT` variable to
"1" at the end of your ``conf/local.conf`` file found in the
:term:`Build Directory`::
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"
Enabling build history as
previously described causes the OpenEmbedded build system to collect
build output information and commit it as a single commit to a local
:ref:`overview-manual/development-environment:git` repository.
.. note::
Enabling build history increases your build times slightly,
particularly for images, and increases the amount of disk space used
during the build.
You can disable build history by removing the previous statements from
your ``conf/local.conf`` file.
Understanding What the Build History Contains
=============================================
Build history information is kept in ``${``\ :term:`TOPDIR`\ ``}/buildhistory``
in the :term:`Build Directory` as defined by the :term:`BUILDHISTORY_DIR`
variable. Here is an example abbreviated listing:
.. image:: figures/buildhistory.png
:align: center
:width: 50%
At the top level, there is a ``metadata-revs`` file that lists the
revisions of the repositories for the enabled layers when the build was
produced. The rest of the data splits into separate ``packages``,
``images`` and ``sdk`` directories, the contents of which are described
as follows.
Build History Package Information
---------------------------------
The history for each package contains a text file that has name-value
pairs with information about the package. For example,
``buildhistory/packages/i586-poky-linux/busybox/busybox/latest``
contains the following:
.. code-block:: none
PV = 1.22.1
PR = r32
RPROVIDES =
RDEPENDS = glibc (>= 2.20) update-alternatives-opkg
RRECOMMENDS = busybox-syslog busybox-udhcpc update-rc.d
PKGSIZE = 540168
FILES = /usr/bin/* /usr/sbin/* /usr/lib/busybox/* /usr/lib/lib*.so.* \
/etc /com /var /bin/* /sbin/* /lib/*.so.* /lib/udev/rules.d \
/usr/lib/udev/rules.d /usr/share/busybox /usr/lib/busybox/* \
/usr/share/pixmaps /usr/share/applications /usr/share/idl \
/usr/share/omf /usr/share/sounds /usr/lib/bonobo/servers
FILELIST = /bin/busybox /bin/busybox.nosuid /bin/busybox.suid /bin/sh \
/etc/busybox.links.nosuid /etc/busybox.links.suid
Most of these
name-value pairs correspond to variables used to produce the package.
The exceptions are ``FILELIST``, which is the actual list of files in
the package, and ``PKGSIZE``, which is the total size of files in the
package in bytes.
There is also a file that corresponds to the recipe from which the package
came (e.g. ``buildhistory/packages/i586-poky-linux/busybox/latest``):
.. code-block:: none
PV = 1.22.1
PR = r32
DEPENDS = initscripts kern-tools-native update-rc.d-native \
virtual/i586-poky-linux-compilerlibs virtual/i586-poky-linux-gcc \
virtual/libc virtual/update-alternatives
PACKAGES = busybox-ptest busybox-httpd busybox-udhcpd busybox-udhcpc \
busybox-syslog busybox-mdev busybox-hwclock busybox-dbg \
busybox-staticdev busybox-dev busybox-doc busybox-locale busybox
Finally, for those recipes fetched from a version control system (e.g.,
Git), there is a file that lists source revisions that are specified in
the recipe and the actual revisions used during the build. Listed
and actual revisions might differ when
:term:`SRCREV` is set to
${:term:`AUTOREV`}. Here is an
example assuming
``buildhistory/packages/qemux86-poky-linux/linux-yocto/latest_srcrev``)::
# SRCREV_machine = "38cd560d5022ed2dbd1ab0dca9642e47c98a0aa1"
SRCREV_machine = "38cd560d5022ed2dbd1ab0dca9642e47c98a0aa1"
# SRCREV_meta = "a227f20eff056e511d504b2e490f3774ab260d6f"
SRCREV_meta ="a227f20eff056e511d504b2e490f3774ab260d6f"
You can use the
``buildhistory-collect-srcrevs`` command with the ``-a`` option to
collect the stored :term:`SRCREV` values from build history and report them
in a format suitable for use in global configuration (e.g.,
``local.conf`` or a distro include file) to override floating
:term:`AUTOREV` values to a fixed set of revisions. Here is some example
output from this command::
$ buildhistory-collect-srcrevs -a
# all-poky-linux
SRCREV:pn-ca-certificates = "07de54fdcc5806bde549e1edf60738c6bccf50e8"
SRCREV:pn-update-rc.d = "8636cf478d426b568c1be11dbd9346f67e03adac"
# core2-64-poky-linux
SRCREV:pn-binutils = "87d4632d36323091e731eb07b8aa65f90293da66"
SRCREV:pn-btrfs-tools = "8ad326b2f28c044cb6ed9016d7c3285e23b673c8"
SRCREV_bzip2-tests:pn-bzip2 = "f9061c030a25de5b6829e1abf373057309c734c0"
SRCREV:pn-e2fsprogs = "02540dedd3ddc52c6ae8aaa8a95ce75c3f8be1c0"
SRCREV:pn-file = "504206e53a89fd6eed71aeaf878aa3512418eab1"
SRCREV_glibc:pn-glibc = "24962427071fa532c3c48c918e9d64d719cc8a6c"
SRCREV:pn-gnome-desktop-testing = "e346cd4ed2e2102c9b195b614f3c642d23f5f6e7"
SRCREV:pn-init-system-helpers = "dbd9197569c0935029acd5c9b02b84c68fd937ee"
SRCREV:pn-kmod = "b6ecfc916a17eab8f93be5b09f4e4f845aabd3d1"
SRCREV:pn-libnsl2 = "82245c0c58add79a8e34ab0917358217a70e5100"
SRCREV:pn-libseccomp = "57357d2741a3b3d3e8425889a6b79a130e0fa2f3"
SRCREV:pn-libxcrypt = "50cf2b6dd4fdf04309445f2eec8de7051d953abf"
SRCREV:pn-ncurses = "51d0fd9cc3edb975f04224f29f777f8f448e8ced"
SRCREV:pn-procps = "19a508ea121c0c4ac6d0224575a036de745eaaf8"
SRCREV:pn-psmisc = "5fab6b7ab385080f1db725d6803136ec1841a15f"
SRCREV:pn-ptest-runner = "bcb82804daa8f725b6add259dcef2067e61a75aa"
SRCREV:pn-shared-mime-info = "18e558fa1c8b90b86757ade09a4ba4d6a6cf8f70"
SRCREV:pn-zstd = "e47e674cd09583ff0503f0f6defd6d23d8b718d3"
# qemux86_64-poky-linux
SRCREV_machine:pn-linux-yocto = "20301aeb1a64164b72bc72af58802b315e025c9c"
SRCREV_meta:pn-linux-yocto = "2d38a472b21ae343707c8bd64ac68a9eaca066a0"
# x86_64-linux
SRCREV:pn-binutils-cross-x86_64 = "87d4632d36323091e731eb07b8aa65f90293da66"
SRCREV_glibc:pn-cross-localedef-native = "24962427071fa532c3c48c918e9d64d719cc8a6c"
SRCREV_localedef:pn-cross-localedef-native = "794da69788cbf9bf57b59a852f9f11307663fa87"
SRCREV:pn-debianutils-native = "de14223e5bffe15e374a441302c528ffc1cbed57"
SRCREV:pn-libmodulemd-native = "ee80309bc766d781a144e6879419b29f444d94eb"
SRCREV:pn-virglrenderer-native = "363915595e05fb252e70d6514be2f0c0b5ca312b"
SRCREV:pn-zstd-native = "e47e674cd09583ff0503f0f6defd6d23d8b718d3"
.. note::
Here are some notes on using the ``buildhistory-collect-srcrevs`` command:
- By default, only values where the :term:`SRCREV` was not hardcoded
(usually when :term:`AUTOREV` is used) are reported. Use the ``-a``
option to see all :term:`SRCREV` values.
- The output statements might not have any effect if overrides are
applied elsewhere in the build system configuration. Use the
``-f`` option to add the ``forcevariable`` override to each output
line if you need to work around this restriction.
- The script does apply special handling when building for multiple
machines. However, the script does place a comment before each set
of values that specifies which triplet to which they belong as
previously shown (e.g., ``i586-poky-linux``).
Build History Image Information
-------------------------------
The files produced for each image are as follows:
- ``image-files:`` A directory containing selected files from the root
filesystem. The files are defined by
:term:`BUILDHISTORY_IMAGE_FILES`.
- ``build-id.txt:`` Human-readable information about the build
configuration and metadata source revisions. This file contains the
full build header as printed by BitBake.
- ``*.dot:`` Dependency graphs for the image that are compatible with
``graphviz``.
- ``files-in-image.txt:`` A list of files in the image with
permissions, owner, group, size, and symlink information.
- ``image-info.txt:`` A text file containing name-value pairs with
information about the image. See the following listing example for
more information.
- ``installed-package-names.txt:`` A list of installed packages by name
only.
- ``installed-package-sizes.txt:`` A list of installed packages ordered
by size.
- ``installed-packages.txt:`` A list of installed packages with full
package filenames.
.. note::
Installed package information is able to be gathered and produced
even if package management is disabled for the final image.
Here is an example of ``image-info.txt``:
.. code-block:: none
DISTRO = poky
DISTRO_VERSION = 3.4+snapshot-a0245d7be08f3d24ea1875e9f8872aa6bbff93be
USER_CLASSES = buildstats
IMAGE_CLASSES = qemuboot qemuboot license_image
IMAGE_FEATURES = debug-tweaks
IMAGE_LINGUAS =
IMAGE_INSTALL = packagegroup-core-boot speex speexdsp
BAD_RECOMMENDATIONS =
NO_RECOMMENDATIONS =
PACKAGE_EXCLUDE =
ROOTFS_POSTPROCESS_COMMAND = write_package_manifest; license_create_manifest; cve_check_write_rootfs_manifest; ssh_allow_empty_password; ssh_allow_root_login; postinst_enable_logging; rootfs_update_timestamp; write_image_test_data; empty_var_volatile; sort_passwd; rootfs_reproducible;
IMAGE_POSTPROCESS_COMMAND = buildhistory_get_imageinfo ;
IMAGESIZE = 9265
Other than ``IMAGESIZE``,
which is the total size of the files in the image in Kbytes, the
name-value pairs are variables that may have influenced the content of
the image. This information is often useful when you are trying to
determine why a change in the package or file listings has occurred.
Using Build History to Gather Image Information Only
----------------------------------------------------
As you can see, build history produces image information, including
dependency graphs, so you can see why something was pulled into the
image. If you are just interested in this information and not interested
in collecting specific package or SDK information, you can enable
writing only image information without any history by adding the
following to your ``conf/local.conf`` file found in the
:term:`Build Directory`::
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "0"
BUILDHISTORY_FEATURES = "image"
Here, you set the
:term:`BUILDHISTORY_FEATURES`
variable to use the image feature only.
Build History SDK Information
-----------------------------
Build history collects similar information on the contents of SDKs (e.g.
``bitbake -c populate_sdk imagename``) as compared to information it
collects for images. Furthermore, this information differs depending on
whether an extensible or standard SDK is being produced.
The following list shows the files produced for SDKs:
- ``files-in-sdk.txt:`` A list of files in the SDK with permissions,
owner, group, size, and symlink information. This list includes both
the host and target parts of the SDK.
- ``sdk-info.txt:`` A text file containing name-value pairs with
information about the SDK. See the following listing example for more
information.
- ``sstate-task-sizes.txt:`` A text file containing name-value pairs
with information about task group sizes (e.g. :ref:`ref-tasks-populate_sysroot`
tasks have a total size). The ``sstate-task-sizes.txt`` file exists
only when an extensible SDK is created.
- ``sstate-package-sizes.txt:`` A text file containing name-value pairs
with information for the shared-state packages and sizes in the SDK.
The ``sstate-package-sizes.txt`` file exists only when an extensible
SDK is created.
- ``sdk-files:`` A folder that contains copies of the files mentioned
in ``BUILDHISTORY_SDK_FILES`` if the files are present in the output.
Additionally, the default value of ``BUILDHISTORY_SDK_FILES`` is
specific to the extensible SDK although you can set it differently if
you would like to pull in specific files from the standard SDK.
The default files are ``conf/local.conf``, ``conf/bblayers.conf``,
``conf/auto.conf``, ``conf/locked-sigs.inc``, and
``conf/devtool.conf``. Thus, for an extensible SDK, these files get
copied into the ``sdk-files`` directory.
- The following information appears under each of the ``host`` and
``target`` directories for the portions of the SDK that run on the
host and on the target, respectively:
.. note::
The following files for the most part are empty when producing an
extensible SDK because this type of SDK is not constructed from
packages as is the standard SDK.
- ``depends.dot:`` Dependency graph for the SDK that is compatible
with ``graphviz``.
- ``installed-package-names.txt:`` A list of installed packages by
name only.
- ``installed-package-sizes.txt:`` A list of installed packages
ordered by size.
- ``installed-packages.txt:`` A list of installed packages with full
package filenames.
Here is an example of ``sdk-info.txt``:
.. code-block:: none
DISTRO = poky
DISTRO_VERSION = 1.3+snapshot-20130327
SDK_NAME = poky-glibc-i686-arm
SDK_VERSION = 1.3+snapshot
SDKMACHINE =
SDKIMAGE_FEATURES = dev-pkgs dbg-pkgs
BAD_RECOMMENDATIONS =
SDKSIZE = 352712
Other than ``SDKSIZE``, which is
the total size of the files in the SDK in Kbytes, the name-value pairs
are variables that might have influenced the content of the SDK. This
information is often useful when you are trying to determine why a
change in the package or file listings has occurred.
Examining Build History Information
-----------------------------------
You can examine build history output from the command line or from a web
interface.
To see any changes that have occurred (assuming you have
:term:`BUILDHISTORY_COMMIT` = "1"),
you can simply use any Git command that allows you to view the history
of a repository. Here is one method::
$ git log -p
You need to realize,
however, that this method does show changes that are not significant
(e.g. a package's size changing by a few bytes).
There is a command-line tool called ``buildhistory-diff``, though,
that queries the Git repository and prints just the differences that
might be significant in human-readable form. Here is an example::
$ poky/poky/scripts/buildhistory-diff . HEAD^
Changes to images/qemux86_64/glibc/core-image-minimal (files-in-image.txt):
/etc/anotherpkg.conf was added
/sbin/anotherpkg was added
* (installed-package-names.txt):
* anotherpkg was added
Changes to images/qemux86_64/glibc/core-image-minimal (installed-package-names.txt):
anotherpkg was added
packages/qemux86_64-poky-linux/v86d: PACKAGES: added "v86d-extras"
* PR changed from "r0" to "r1"
* PV changed from "0.1.10" to "0.1.12"
packages/qemux86_64-poky-linux/v86d/v86d: PKGSIZE changed from 110579 to 144381 (+30%)
* PR changed from "r0" to "r1"
* PV changed from "0.1.10" to "0.1.12"
.. note::
The ``buildhistory-diff`` tool requires the ``GitPython``
package. Be sure to install it using Pip3 as follows::
$ pip3 install GitPython --user
Alternatively, you can install ``python3-git`` using the appropriate
distribution package manager (e.g. ``apt``, ``dnf``, or ``zipper``).
To see changes to the build history using a web interface, follow the
instruction in the ``README`` file
:yocto_git:`here </buildhistory-web/>`.
Here is a sample screenshot of the interface:
.. image:: figures/buildhistory-web.png
:width: 100%

View File

@@ -0,0 +1,939 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Building
********
This section describes various build procedures, such as the steps
needed for a simple build, building a target for multiple configurations,
generating an image for more than one machine, and so forth.
Building a Simple Image
=======================
In the development environment, you need to build an image whenever you
change hardware support, add or change system libraries, or add or
change services that have dependencies. There are several methods that allow
you to build an image within the Yocto Project. This section presents
the basic steps you need to build a simple image using BitBake from a
build host running Linux.
.. note::
- For information on how to build an image using
:term:`Toaster`, see the
:doc:`/toaster-manual/index`.
- For information on how to use ``devtool`` to build images, see the
":ref:`sdk-manual/extensible:using \`\`devtool\`\` in your sdk workflow`"
section in the Yocto Project Application Development and the
Extensible Software Development Kit (eSDK) manual.
- For a quick example on how to build an image using the
OpenEmbedded build system, see the
:doc:`/brief-yoctoprojectqs/index` document.
The build process creates an entire Linux distribution from source and
places it in your :term:`Build Directory` under ``tmp/deploy/images``. For
detailed information on the build process using BitBake, see the
":ref:`overview-manual/concepts:images`" section in the Yocto Project Overview
and Concepts Manual.
The following figure and list overviews the build process:
.. image:: figures/bitbake-build-flow.png
:width: 100%
#. *Set up Your Host Development System to Support Development Using the
Yocto Project*: See the ":doc:`start`" section for options on how to get a
build host ready to use the Yocto Project.
#. *Initialize the Build Environment:* Initialize the build environment
by sourcing the build environment script (i.e.
:ref:`structure-core-script`)::
$ source oe-init-build-env [build_dir]
When you use the initialization script, the OpenEmbedded build system
uses ``build`` as the default :term:`Build Directory` in your current work
directory. You can use a `build_dir` argument with the script to
specify a different :term:`Build Directory`.
.. note::
A common practice is to use a different :term:`Build Directory` for
different targets; for example, ``~/build/x86`` for a ``qemux86``
target, and ``~/build/arm`` for a ``qemuarm`` target. In any
event, it's typically cleaner to locate the :term:`Build Directory`
somewhere outside of your source directory.
#. *Make Sure Your* ``local.conf`` *File is Correct*: Ensure the
``conf/local.conf`` configuration file, which is found in the
:term:`Build Directory`, is set up how you want it. This file defines many
aspects of the build environment including the target machine architecture
through the :term:`MACHINE` variable, the packaging format used during
the build (:term:`PACKAGE_CLASSES`), and a centralized tarball download
directory through the :term:`DL_DIR` variable.
#. *Build the Image:* Build the image using the ``bitbake`` command::
$ bitbake target
.. note::
For information on BitBake, see the :doc:`bitbake:index`.
The target is the name of the recipe you want to build. Common
targets are the images in ``meta/recipes-core/images``,
``meta/recipes-sato/images``, and so forth all found in the
:term:`Source Directory`. Alternatively, the target
can be the name of a recipe for a specific piece of software such as
BusyBox. For more details about the images the OpenEmbedded build
system supports, see the
":ref:`ref-manual/images:Images`" chapter in the Yocto
Project Reference Manual.
As an example, the following command builds the
``core-image-minimal`` image::
$ bitbake core-image-minimal
Once an
image has been built, it often needs to be installed. The images and
kernels built by the OpenEmbedded build system are placed in the
:term:`Build Directory` in ``tmp/deploy/images``. For information on how to
run pre-built images such as ``qemux86`` and ``qemuarm``, see the
:doc:`/sdk-manual/index` manual. For
information about how to install these images, see the documentation
for your particular board or machine.
Building Images for Multiple Targets Using Multiple Configurations
==================================================================
You can use a single ``bitbake`` command to build multiple images or
packages for different targets where each image or package requires a
different configuration (multiple configuration builds). The builds, in
this scenario, are sometimes referred to as "multiconfigs", and this
section uses that term throughout.
This section describes how to set up for multiple configuration builds
and how to account for cross-build dependencies between the
multiconfigs.
Setting Up and Running a Multiple Configuration Build
-----------------------------------------------------
To accomplish a multiple configuration build, you must define each
target's configuration separately using a parallel configuration file in
the :term:`Build Directory` or configuration directory within a layer, and you
must follow a required file hierarchy. Additionally, you must enable the
multiple configuration builds in your ``local.conf`` file.
Follow these steps to set up and execute multiple configuration builds:
- *Create Separate Configuration Files*: You need to create a single
configuration file for each build target (each multiconfig).
The configuration definitions are implementation dependent but often
each configuration file will define the machine and the
temporary directory BitBake uses for the build. Whether the same
temporary directory (:term:`TMPDIR`) can be shared will depend on what is
similar and what is different between the configurations. Multiple MACHINE
targets can share the same (:term:`TMPDIR`) as long as the rest of the
configuration is the same, multiple :term:`DISTRO` settings would need separate
(:term:`TMPDIR`) directories.
For example, consider a scenario with two different multiconfigs for the same
:term:`MACHINE`: "qemux86" built
for two distributions such as "poky" and "poky-lsb". In this case,
you would need to use the different :term:`TMPDIR`.
Here is an example showing the minimal statements needed in a
configuration file for a "qemux86" target whose temporary build
directory is ``tmpmultix86``::
MACHINE = "qemux86"
TMPDIR = "${TOPDIR}/tmpmultix86"
The location for these multiconfig configuration files is specific.
They must reside in the current :term:`Build Directory` in a sub-directory of
``conf`` named ``multiconfig`` or within a layer's ``conf`` directory
under a directory named ``multiconfig``. Following is an example that defines
two configuration files for the "x86" and "arm" multiconfigs:
.. image:: figures/multiconfig_files.png
:align: center
:width: 50%
The usual :term:`BBPATH` search path is used to locate multiconfig files in
a similar way to other conf files.
- *Add the BitBake Multi-configuration Variable to the Local
Configuration File*: Use the
:term:`BBMULTICONFIG`
variable in your ``conf/local.conf`` configuration file to specify
each multiconfig. Continuing with the example from the previous
figure, the :term:`BBMULTICONFIG` variable needs to enable two
multiconfigs: "x86" and "arm" by specifying each configuration file::
BBMULTICONFIG = "x86 arm"
.. note::
A "default" configuration already exists by definition. This
configuration is named: "" (i.e. empty string) and is defined by
the variables coming from your ``local.conf``
file. Consequently, the previous example actually adds two
additional configurations to your build: "arm" and "x86" along
with "".
- *Launch BitBake*: Use the following BitBake command form to launch
the multiple configuration build::
$ bitbake [mc:multiconfigname:]target [[[mc:multiconfigname:]target] ... ]
For the example in this section, the following command applies::
$ bitbake mc:x86:core-image-minimal mc:arm:core-image-sato mc::core-image-base
The previous BitBake command builds a ``core-image-minimal`` image
that is configured through the ``x86.conf`` configuration file, a
``core-image-sato`` image that is configured through the ``arm.conf``
configuration file and a ``core-image-base`` that is configured
through your ``local.conf`` configuration file.
.. note::
Support for multiple configuration builds in the Yocto Project &DISTRO;
(&DISTRO_NAME;) Release does not include Shared State (sstate)
optimizations. Consequently, if a build uses the same object twice
in, for example, two different :term:`TMPDIR`
directories, the build either loads from an existing sstate cache for
that build at the start or builds the object fresh.
Enabling Multiple Configuration Build Dependencies
--------------------------------------------------
Sometimes dependencies can exist between targets (multiconfigs) in a
multiple configuration build. For example, suppose that in order to
build a ``core-image-sato`` image for an "x86" multiconfig, the root
filesystem of an "arm" multiconfig must exist. This dependency is
essentially that the
:ref:`ref-tasks-image` task in the
``core-image-sato`` recipe depends on the completion of the
:ref:`ref-tasks-rootfs` task of the
``core-image-minimal`` recipe.
To enable dependencies in a multiple configuration build, you must
declare the dependencies in the recipe using the following statement
form::
task_or_package[mcdepends] = "mc:from_multiconfig:to_multiconfig:recipe_name:task_on_which_to_depend"
To better show how to use this statement, consider the example scenario
from the first paragraph of this section. The following statement needs
to be added to the recipe that builds the ``core-image-sato`` image::
do_image[mcdepends] = "mc:x86:arm:core-image-minimal:do_rootfs"
In this example, the `from_multiconfig` is "x86". The `to_multiconfig` is "arm". The
task on which the :ref:`ref-tasks-image` task in the recipe depends is the
:ref:`ref-tasks-rootfs` task from the ``core-image-minimal`` recipe associated
with the "arm" multiconfig.
Once you set up this dependency, you can build the "x86" multiconfig
using a BitBake command as follows::
$ bitbake mc:x86:core-image-sato
This command executes all the tasks needed to create the
``core-image-sato`` image for the "x86" multiconfig. Because of the
dependency, BitBake also executes through the :ref:`ref-tasks-rootfs` task for the
"arm" multiconfig build.
Having a recipe depend on the root filesystem of another build might not
seem that useful. Consider this change to the statement in the
``core-image-sato`` recipe::
do_image[mcdepends] = "mc:x86:arm:core-image-minimal:do_image"
In this case, BitBake must
create the ``core-image-minimal`` image for the "arm" build since the
"x86" build depends on it.
Because "x86" and "arm" are enabled for multiple configuration builds
and have separate configuration files, BitBake places the artifacts for
each build in the respective temporary build directories (i.e.
:term:`TMPDIR`).
Building an Initial RAM Filesystem (Initramfs) Image
====================================================
An initial RAM filesystem (:term:`Initramfs`) image provides a temporary root
filesystem used for early system initialization, typically providing tools and
loading modules needed to locate and mount the final root filesystem.
Follow these steps to create an :term:`Initramfs` image:
#. *Create the :term:`Initramfs` Image Recipe:* You can reference the
``core-image-minimal-initramfs.bb`` recipe found in the
``meta/recipes-core`` directory of the :term:`Source Directory`
as an example from which to work.
#. *Decide if You Need to Bundle the :term:`Initramfs` Image Into the Kernel
Image:* If you want the :term:`Initramfs` image that is built to be bundled
in with the kernel image, set the :term:`INITRAMFS_IMAGE_BUNDLE`
variable to ``"1"`` in your ``local.conf`` configuration file and set the
:term:`INITRAMFS_IMAGE` variable in the recipe that builds the kernel image.
Setting the :term:`INITRAMFS_IMAGE_BUNDLE` flag causes the :term:`Initramfs`
image to be unpacked into the ``${B}/usr/`` directory. The unpacked
:term:`Initramfs` image is then passed to the kernel's ``Makefile`` using the
:term:`CONFIG_INITRAMFS_SOURCE` variable, allowing the :term:`Initramfs`
image to be built into the kernel normally.
#. *Optionally Add Items to the Initramfs Image Through the Initramfs
Image Recipe:* If you add items to the :term:`Initramfs` image by way of its
recipe, you should use :term:`PACKAGE_INSTALL` rather than
:term:`IMAGE_INSTALL`. :term:`PACKAGE_INSTALL` gives more direct control of
what is added to the image as compared to the defaults you might not
necessarily want that are set by the :ref:`ref-classes-image`
or :ref:`ref-classes-core-image` classes.
#. *Build the Kernel Image and the Initramfs Image:* Build your kernel
image using BitBake. Because the :term:`Initramfs` image recipe is a
dependency of the kernel image, the :term:`Initramfs` image is built as well
and bundled with the kernel image if you used the
:term:`INITRAMFS_IMAGE_BUNDLE` variable described earlier.
Bundling an Initramfs Image From a Separate Multiconfig
-------------------------------------------------------
There may be a case where we want to build an :term:`Initramfs` image which does not
inherit the same distro policy as our main image, for example, we may want
our main image to use ``TCLIBC="glibc"``, but to use ``TCLIBC="musl"`` in our :term:`Initramfs`
image to keep a smaller footprint. However, by performing the steps mentioned
above the :term:`Initramfs` image will inherit ``TCLIBC="glibc"`` without allowing us
to override it.
To achieve this, you need to perform some additional steps:
#. *Create a multiconfig for your Initramfs image:* You can perform the steps
on ":ref:`dev-manual/building:building images for multiple targets using multiple configurations`" to create a separate multiconfig.
For the sake of simplicity let's assume such multiconfig is called: ``initramfscfg.conf`` and
contains the variables::
TMPDIR="${TOPDIR}/tmp-initramfscfg"
TCLIBC="musl"
#. *Set additional Initramfs variables on your main configuration:*
Additionally, on your main configuration (``local.conf``) you need to set the
variables::
INITRAMFS_MULTICONFIG = "initramfscfg"
INITRAMFS_DEPLOY_DIR_IMAGE = "${TOPDIR}/tmp-initramfscfg/deploy/images/${MACHINE}"
The variables :term:`INITRAMFS_MULTICONFIG` and :term:`INITRAMFS_DEPLOY_DIR_IMAGE`
are used to create a multiconfig dependency from the kernel to the :term:`INITRAMFS_IMAGE`
to be built coming from the ``initramfscfg`` multiconfig, and to let the
buildsystem know where the :term:`INITRAMFS_IMAGE` will be located.
Building a system with such configuration will build the kernel using the
main configuration but the :ref:`ref-tasks-bundle_initramfs` task will grab the
selected :term:`INITRAMFS_IMAGE` from :term:`INITRAMFS_DEPLOY_DIR_IMAGE`
instead, resulting in a musl based :term:`Initramfs` image bundled in the kernel
but a glibc based main image.
The same is applicable to avoid inheriting :term:`DISTRO_FEATURES` on :term:`INITRAMFS_IMAGE`
or to build a different :term:`DISTRO` for it such as ``poky-tiny``.
Building a Tiny System
======================
Very small distributions have some significant advantages such as
requiring less on-die or in-package memory (cheaper), better performance
through efficient cache usage, lower power requirements due to less
memory, faster boot times, and reduced development overhead. Some
real-world examples where a very small distribution gives you distinct
advantages are digital cameras, medical devices, and small headless
systems.
This section presents information that shows you how you can trim your
distribution to even smaller sizes than the ``poky-tiny`` distribution,
which is around 5 Mbytes, that can be built out-of-the-box using the
Yocto Project.
Tiny System Overview
--------------------
The following list presents the overall steps you need to consider and
perform to create distributions with smaller root filesystems, achieve
faster boot times, maintain your critical functionality, and avoid
initial RAM disks:
- :ref:`Determine your goals and guiding principles
<dev-manual/building:goals and guiding principles>`
- :ref:`dev-manual/building:understand what contributes to your image size`
- :ref:`Reduce the size of the root filesystem
<dev-manual/building:trim the root filesystem>`
- :ref:`Reduce the size of the kernel <dev-manual/building:trim the kernel>`
- :ref:`dev-manual/building:remove package management requirements`
- :ref:`dev-manual/building:look for other ways to minimize size`
- :ref:`dev-manual/building:iterate on the process`
Goals and Guiding Principles
----------------------------
Before you can reach your destination, you need to know where you are
going. Here is an example list that you can use as a guide when creating
very small distributions:
- Determine how much space you need (e.g. a kernel that is 1 Mbyte or
less and a root filesystem that is 3 Mbytes or less).
- Find the areas that are currently taking 90% of the space and
concentrate on reducing those areas.
- Do not create any difficult "hacks" to achieve your goals.
- Leverage the device-specific options.
- Work in a separate layer so that you keep changes isolated. For
information on how to create layers, see the
":ref:`dev-manual/layers:understanding and creating layers`" section.
Understand What Contributes to Your Image Size
----------------------------------------------
It is easiest to have something to start with when creating your own
distribution. You can use the Yocto Project out-of-the-box to create the
``poky-tiny`` distribution. Ultimately, you will want to make changes in
your own distribution that are likely modeled after ``poky-tiny``.
.. note::
To use ``poky-tiny`` in your build, set the :term:`DISTRO` variable in your
``local.conf`` file to "poky-tiny" as described in the
":ref:`dev-manual/custom-distribution:creating your own distribution`"
section.
Understanding some memory concepts will help you reduce the system size.
Memory consists of static, dynamic, and temporary memory. Static memory
is the TEXT (code), DATA (initialized data in the code), and BSS
(uninitialized data) sections. Dynamic memory represents memory that is
allocated at runtime: stacks, hash tables, and so forth. Temporary
memory is recovered after the boot process. This memory consists of
memory used for decompressing the kernel and for the ``__init__``
functions.
To help you see where you currently are with kernel and root filesystem
sizes, you can use two tools found in the :term:`Source Directory`
in the
``scripts/tiny/`` directory:
- ``ksize.py``: Reports component sizes for the kernel build objects.
- ``dirsize.py``: Reports component sizes for the root filesystem.
This next tool and command help you organize configuration fragments and
view file dependencies in a human-readable form:
- ``merge_config.sh``: Helps you manage configuration files and
fragments within the kernel. With this tool, you can merge individual
configuration fragments together. The tool allows you to make
overrides and warns you of any missing configuration options. The
tool is ideal for allowing you to iterate on configurations, create
minimal configurations, and create configuration files for different
machines without having to duplicate your process.
The ``merge_config.sh`` script is part of the Linux Yocto kernel Git
repositories (i.e. ``linux-yocto-3.14``, ``linux-yocto-3.10``,
``linux-yocto-3.8``, and so forth) in the ``scripts/kconfig``
directory.
For more information on configuration fragments, see the
":ref:`kernel-dev/common:creating configuration fragments`"
section in the Yocto Project Linux Kernel Development Manual.
- ``bitbake -u taskexp -g bitbake_target``: Using the BitBake command
with these options brings up a Dependency Explorer from which you can
view file dependencies. Understanding these dependencies allows you
to make informed decisions when cutting out various pieces of the
kernel and root filesystem.
Trim the Root Filesystem
------------------------
The root filesystem is made up of packages for booting, libraries, and
applications. To change things, you can configure how the packaging
happens, which changes the way you build them. You can also modify the
filesystem itself or select a different filesystem.
First, find out what is hogging your root filesystem by running the
``dirsize.py`` script from your root directory::
$ cd root-directory-of-image
$ dirsize.py 100000 > dirsize-100k.log
$ cat dirsize-100k.log
You can apply a filter to the script to ignore files
under a certain size. The previous example filters out any files below
100 Kbytes. The sizes reported by the tool are uncompressed, and thus
will be smaller by a relatively constant factor in a compressed root
filesystem. When you examine your log file, you can focus on areas of
the root filesystem that take up large amounts of memory.
You need to be sure that what you eliminate does not cripple the
functionality you need. One way to see how packages relate to each other
is by using the Dependency Explorer UI with the BitBake command::
$ cd image-directory
$ bitbake -u taskexp -g image
Use the interface to
select potential packages you wish to eliminate and see their dependency
relationships.
When deciding how to reduce the size, get rid of packages that result in
minimal impact on the feature set. For example, you might not need a VGA
display. Or, you might be able to get by with ``devtmpfs`` and ``mdev``
instead of ``udev``.
Use your ``local.conf`` file to make changes. For example, to eliminate
``udev`` and ``glib``, set the following in the local configuration
file::
VIRTUAL-RUNTIME_dev_manager = ""
Finally, you should consider exactly the type of root filesystem you
need to meet your needs while also reducing its size. For example,
consider ``cramfs``, ``squashfs``, ``ubifs``, ``ext2``, or an
:term:`Initramfs` using ``initramfs``. Be aware that ``ext3`` requires a 1
Mbyte journal. If you are okay with running read-only, you do not need
this journal.
.. note::
After each round of elimination, you need to rebuild your system and
then use the tools to see the effects of your reductions.
Trim the Kernel
---------------
The kernel is built by including policies for hardware-independent
aspects. What subsystems do you enable? For what architecture are you
building? Which drivers do you build by default?
.. note::
You can modify the kernel source if you want to help with boot time.
Run the ``ksize.py`` script from the top-level Linux build directory to
get an idea of what is making up the kernel::
$ cd top-level-linux-build-directory
$ ksize.py > ksize.log
$ cat ksize.log
When you examine the log, you will see how much space is taken up with
the built-in ``.o`` files for drivers, networking, core kernel files,
filesystem, sound, and so forth. The sizes reported by the tool are
uncompressed, and thus will be smaller by a relatively constant factor
in a compressed kernel image. Look to reduce the areas that are large
and taking up around the "90% rule."
To examine, or drill down, into any particular area, use the ``-d``
option with the script::
$ ksize.py -d > ksize.log
Using this option
breaks out the individual file information for each area of the kernel
(e.g. drivers, networking, and so forth).
Use your log file to see what you can eliminate from the kernel based on
features you can let go. For example, if you are not going to need
sound, you do not need any drivers that support sound.
After figuring out what to eliminate, you need to reconfigure the kernel
to reflect those changes during the next build. You could run
``menuconfig`` and make all your changes at once. However, that makes it
difficult to see the effects of your individual eliminations and also
makes it difficult to replicate the changes for perhaps another target
device. A better method is to start with no configurations using
``allnoconfig``, create configuration fragments for individual changes,
and then manage the fragments into a single configuration file using
``merge_config.sh``. The tool makes it easy for you to iterate using the
configuration change and build cycle.
Each time you make configuration changes, you need to rebuild the kernel
and check to see what impact your changes had on the overall size.
Remove Package Management Requirements
--------------------------------------
Packaging requirements add size to the image. One way to reduce the size
of the image is to remove all the packaging requirements from the image.
This reduction includes both removing the package manager and its unique
dependencies as well as removing the package management data itself.
To eliminate all the packaging requirements for an image, be sure that
"package-management" is not part of your
:term:`IMAGE_FEATURES`
statement for the image. When you remove this feature, you are removing
the package manager as well as its dependencies from the root
filesystem.
Look for Other Ways to Minimize Size
------------------------------------
Depending on your particular circumstances, other areas that you can
trim likely exist. The key to finding these areas is through tools and
methods described here combined with experimentation and iteration. Here
are a couple of areas to experiment with:
- ``glibc``: In general, follow this process:
#. Remove ``glibc`` features from
:term:`DISTRO_FEATURES`
that you think you do not need.
#. Build your distribution.
#. If the build fails due to missing symbols in a package, determine
if you can reconfigure the package to not need those features. For
example, change the configuration to not support wide character
support as is done for ``ncurses``. Or, if support for those
characters is needed, determine what ``glibc`` features provide
the support and restore the configuration.
4. Rebuild and repeat the process.
- ``busybox``: For BusyBox, use a process similar as described for
``glibc``. A difference is you will need to boot the resulting system
to see if you are able to do everything you expect from the running
system. You need to be sure to integrate configuration fragments into
Busybox because BusyBox handles its own core features and then allows
you to add configuration fragments on top.
Iterate on the Process
----------------------
If you have not reached your goals on system size, you need to iterate
on the process. The process is the same. Use the tools and see just what
is taking up 90% of the root filesystem and the kernel. Decide what you
can eliminate without limiting your device beyond what you need.
Depending on your system, a good place to look might be Busybox, which
provides a stripped down version of Unix tools in a single, executable
file. You might be able to drop virtual terminal services or perhaps
ipv6.
Building Images for More than One Machine
=========================================
A common scenario developers face is creating images for several
different machines that use the same software environment. In this
situation, it is tempting to set the tunings and optimization flags for
each build specifically for the targeted hardware (i.e. "maxing out" the
tunings). Doing so can considerably add to build times and package feed
maintenance collectively for the machines. For example, selecting tunes
that are extremely specific to a CPU core used in a system might enable
some micro optimizations in GCC for that particular system but would
otherwise not gain you much of a performance difference across the other
systems as compared to using a more general tuning across all the builds
(e.g. setting :term:`DEFAULTTUNE`
specifically for each machine's build). Rather than "max out" each
build's tunings, you can take steps that cause the OpenEmbedded build
system to reuse software across the various machines where it makes
sense.
If build speed and package feed maintenance are considerations, you
should consider the points in this section that can help you optimize
your tunings to best consider build times and package feed maintenance.
- *Share the :term:`Build Directory`:* If at all possible, share the
:term:`TMPDIR` across builds. The Yocto Project supports switching between
different :term:`MACHINE` values in the same :term:`TMPDIR`. This practice
is well supported and regularly used by developers when building for
multiple machines. When you use the same :term:`TMPDIR` for multiple
machine builds, the OpenEmbedded build system can reuse the existing native
and often cross-recipes for multiple machines. Thus, build time decreases.
.. note::
If :term:`DISTRO` settings change or fundamental configuration settings
such as the filesystem layout, you need to work with a clean :term:`TMPDIR`.
Sharing :term:`TMPDIR` under these circumstances might work but since it is
not guaranteed, you should use a clean :term:`TMPDIR`.
- *Enable the Appropriate Package Architecture:* By default, the
OpenEmbedded build system enables three levels of package
architectures: "all", "tune" or "package", and "machine". Any given
recipe usually selects one of these package architectures (types) for
its output. Depending for what a given recipe creates packages,
making sure you enable the appropriate package architecture can
directly impact the build time.
A recipe that just generates scripts can enable "all" architecture
because there are no binaries to build. To specifically enable "all"
architecture, be sure your recipe inherits the
:ref:`ref-classes-allarch` class.
This class is useful for "all" architectures because it configures
many variables so packages can be used across multiple architectures.
If your recipe needs to generate packages that are machine-specific
or when one of the build or runtime dependencies is already
machine-architecture dependent, which makes your recipe also
machine-architecture dependent, make sure your recipe enables the
"machine" package architecture through the
:term:`MACHINE_ARCH`
variable::
PACKAGE_ARCH = "${MACHINE_ARCH}"
When you do not
specifically enable a package architecture through the
:term:`PACKAGE_ARCH`, The
OpenEmbedded build system defaults to the
:term:`TUNE_PKGARCH` setting::
PACKAGE_ARCH = "${TUNE_PKGARCH}"
- *Choose a Generic Tuning File if Possible:* Some tunes are more
generic and can run on multiple targets (e.g. an ``armv5`` set of
packages could run on ``armv6`` and ``armv7`` processors in most
cases). Similarly, ``i486`` binaries could work on ``i586`` and
higher processors. You should realize, however, that advances on
newer processor versions would not be used.
If you select the same tune for several different machines, the
OpenEmbedded build system reuses software previously built, thus
speeding up the overall build time. Realize that even though a new
sysroot for each machine is generated, the software is not recompiled
and only one package feed exists.
- *Manage Granular Level Packaging:* Sometimes there are cases where
injecting another level of package architecture beyond the three
higher levels noted earlier can be useful. For example, consider how
NXP (formerly Freescale) allows for the easy reuse of binary packages
in their layer
:yocto_git:`meta-freescale </meta-freescale/>`.
In this example, the
:yocto_git:`fsl-dynamic-packagearch </meta-freescale/tree/classes/fsl-dynamic-packagearch.bbclass>`
class shares GPU packages for i.MX53 boards because all boards share
the AMD GPU. The i.MX6-based boards can do the same because all
boards share the Vivante GPU. This class inspects the BitBake
datastore to identify if the package provides or depends on one of
the sub-architecture values. If so, the class sets the
:term:`PACKAGE_ARCH` value
based on the ``MACHINE_SUBARCH`` value. If the package does not
provide or depend on one of the sub-architecture values but it
matches a value in the machine-specific filter, it sets
:term:`MACHINE_ARCH`. This
behavior reduces the number of packages built and saves build time by
reusing binaries.
- *Use Tools to Debug Issues:* Sometimes you can run into situations
where software is being rebuilt when you think it should not be. For
example, the OpenEmbedded build system might not be using shared
state between machines when you think it should be. These types of
situations are usually due to references to machine-specific
variables such as :term:`MACHINE`,
:term:`SERIAL_CONSOLES`,
:term:`XSERVER`,
:term:`MACHINE_FEATURES`,
and so forth in code that is supposed to only be tune-specific or
when the recipe depends
(:term:`DEPENDS`,
:term:`RDEPENDS`,
:term:`RRECOMMENDS`,
:term:`RSUGGESTS`, and so forth)
on some other recipe that already has
:term:`PACKAGE_ARCH` defined
as "${MACHINE_ARCH}".
.. note::
Patches to fix any issues identified are most welcome as these
issues occasionally do occur.
For such cases, you can use some tools to help you sort out the
situation:
- ``state-diff-machines.sh``*:* You can find this tool in the
``scripts`` directory of the Source Repositories. See the comments
in the script for information on how to use the tool.
- *BitBake's "-S printdiff" Option:* Using this option causes
BitBake to try to establish the closest signature match it can
(e.g. in the shared state cache) and then run ``bitbake-diffsigs``
over the matches to determine the stamps and delta where these two
stamp trees diverge.
Building Software from an External Source
=========================================
By default, the OpenEmbedded build system uses the :term:`Build Directory`
when building source code. The build process involves fetching the source
files, unpacking them, and then patching them if necessary before the build
takes place.
There are situations where you might want to build software from source
files that are external to and thus outside of the OpenEmbedded build
system. For example, suppose you have a project that includes a new BSP
with a heavily customized kernel. And, you want to minimize exposing the
build system to the development team so that they can focus on their
project and maintain everyone's workflow as much as possible. In this
case, you want a kernel source directory on the development machine
where the development occurs. You want the recipe's
:term:`SRC_URI` variable to point to
the external directory and use it as is, not copy it.
To build from software that comes from an external source, all you need to do
is inherit the :ref:`ref-classes-externalsrc` class and then set
the :term:`EXTERNALSRC` variable to point to your external source code. Here
are the statements to put in your ``local.conf`` file::
INHERIT += "externalsrc"
EXTERNALSRC:pn-myrecipe = "path-to-your-source-tree"
This next example shows how to accomplish the same thing by setting
:term:`EXTERNALSRC` in the recipe itself or in the recipe's append file::
EXTERNALSRC = "path"
EXTERNALSRC_BUILD = "path"
.. note::
In order for these settings to take effect, you must globally or
locally inherit the :ref:`ref-classes-externalsrc` class.
By default, :ref:`ref-classes-externalsrc` builds the source code in a
directory separate from the external source directory as specified by
:term:`EXTERNALSRC`. If you need
to have the source built in the same directory in which it resides, or
some other nominated directory, you can set
:term:`EXTERNALSRC_BUILD`
to point to that directory::
EXTERNALSRC_BUILD:pn-myrecipe = "path-to-your-source-tree"
Replicating a Build Offline
===========================
It can be useful to take a "snapshot" of upstream sources used in a
build and then use that "snapshot" later to replicate the build offline.
To do so, you need to first prepare and populate your downloads
directory your "snapshot" of files. Once your downloads directory is
ready, you can use it at any time and from any machine to replicate your
build.
Follow these steps to populate your Downloads directory:
#. *Create a Clean Downloads Directory:* Start with an empty downloads
directory (:term:`DL_DIR`). You
start with an empty downloads directory by either removing the files
in the existing directory or by setting :term:`DL_DIR` to point to either
an empty location or one that does not yet exist.
#. *Generate Tarballs of the Source Git Repositories:* Edit your
``local.conf`` configuration file as follows::
DL_DIR = "/home/your-download-dir/"
BB_GENERATE_MIRROR_TARBALLS = "1"
During
the fetch process in the next step, BitBake gathers the source files
and creates tarballs in the directory pointed to by :term:`DL_DIR`. See
the
:term:`BB_GENERATE_MIRROR_TARBALLS`
variable for more information.
#. *Populate Your Downloads Directory Without Building:* Use BitBake to
fetch your sources but inhibit the build::
$ bitbake target --runonly=fetch
The downloads directory (i.e. ``${DL_DIR}``) now has
a "snapshot" of the source files in the form of tarballs, which can
be used for the build.
#. *Optionally Remove Any Git or other SCM Subdirectories From the
Downloads Directory:* If you want, you can clean up your downloads
directory by removing any Git or other Source Control Management
(SCM) subdirectories such as ``${DL_DIR}/git2/*``. The tarballs
already contain these subdirectories.
Once your downloads directory has everything it needs regarding source
files, you can create your "own-mirror" and build your target.
Understand that you can use the files to build the target offline from
any machine and at any time.
Follow these steps to build your target using the files in the downloads
directory:
#. *Using Local Files Only:* Inside your ``local.conf`` file, add the
:term:`SOURCE_MIRROR_URL` variable, inherit the
:ref:`ref-classes-own-mirrors` class, and use the
:term:`BB_NO_NETWORK` variable to your ``local.conf``::
SOURCE_MIRROR_URL ?= "file:///home/your-download-dir/"
INHERIT += "own-mirrors"
BB_NO_NETWORK = "1"
The :term:`SOURCE_MIRROR_URL` and :ref:`ref-classes-own-mirrors`
class set up the system to use the downloads directory as your "own
mirror". Using the :term:`BB_NO_NETWORK` variable makes sure that
BitBake's fetching process in step 3 stays local, which means files
from your "own-mirror" are used.
#. *Start With a Clean Build:* You can start with a clean build by
removing the ``${``\ :term:`TMPDIR`\ ``}`` directory or using a new
:term:`Build Directory`.
#. *Build Your Target:* Use BitBake to build your target::
$ bitbake target
The build completes using the known local "snapshot" of source
files from your mirror. The resulting tarballs for your "snapshot" of
source files are in the downloads directory.
.. note::
The offline build does not work if recipes attempt to find the
latest version of software by setting
:term:`SRCREV` to
``${``\ :term:`AUTOREV`\ ``}``::
SRCREV = "${AUTOREV}"
When a recipe sets :term:`SRCREV` to
``${``\ :term:`AUTOREV`\ ``}``, the build system accesses the network in an
attempt to determine the latest version of software from the SCM.
Typically, recipes that use :term:`AUTOREV` are custom or modified
recipes. Recipes that reside in public repositories usually do not
use :term:`AUTOREV`.
If you do have recipes that use :term:`AUTOREV`, you can take steps to
still use the recipes in an offline build. Do the following:
#. Use a configuration generated by enabling :ref:`build
history <dev-manual/build-quality:maintaining build output quality>`.
#. Use the ``buildhistory-collect-srcrevs`` command to collect the
stored :term:`SRCREV` values from the build's history. For more
information on collecting these values, see the
":ref:`dev-manual/build-quality:build history package information`"
section.
#. Once you have the correct source revisions, you can modify
those recipes to set :term:`SRCREV` to specific versions of the
software.

View File

@@ -0,0 +1,525 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Making Changes to the Yocto Project
***********************************
Because the Yocto Project is an open-source, community-based project,
you can effect changes to the project. This section presents procedures
that show you how to submit a defect against the project and how to
submit a change.
Submitting a Defect Against the Yocto Project
=============================================
Use the Yocto Project implementation of
`Bugzilla <https://www.bugzilla.org/about/>`__ to submit a defect (bug)
against the Yocto Project. For additional information on this
implementation of Bugzilla see the ":ref:`Yocto Project
Bugzilla <resources-bugtracker>`" section in the
Yocto Project Reference Manual. For more detail on any of the following
steps, see the Yocto Project
:yocto_wiki:`Bugzilla wiki page </Bugzilla_Configuration_and_Bug_Tracking>`.
Use the following general steps to submit a bug:
#. Open the Yocto Project implementation of :yocto_bugs:`Bugzilla <>`.
#. Click "File a Bug" to enter a new bug.
#. Choose the appropriate "Classification", "Product", and "Component"
for which the bug was found. Bugs for the Yocto Project fall into
one of several classifications, which in turn break down into
several products and components. For example, for a bug against the
``meta-intel`` layer, you would choose "Build System, Metadata &
Runtime", "BSPs", and "bsps-meta-intel", respectively.
#. Choose the "Version" of the Yocto Project for which you found the
bug (e.g. &DISTRO;).
#. Determine and select the "Severity" of the bug. The severity
indicates how the bug impacted your work.
#. Choose the "Hardware" that the bug impacts.
#. Choose the "Architecture" that the bug impacts.
#. Choose a "Documentation change" item for the bug. Fixing a bug might
or might not affect the Yocto Project documentation. If you are
unsure of the impact to the documentation, select "Don't Know".
#. Provide a brief "Summary" of the bug. Try to limit your summary to
just a line or two and be sure to capture the essence of the bug.
#. Provide a detailed "Description" of the bug. You should provide as
much detail as you can about the context, behavior, output, and so
forth that surrounds the bug. You can even attach supporting files
for output from logs by using the "Add an attachment" button.
#. Click the "Submit Bug" button submit the bug. A new Bugzilla number
is assigned to the bug and the defect is logged in the bug tracking
system.
Once you file a bug, the bug is processed by the Yocto Project Bug
Triage Team and further details concerning the bug are assigned (e.g.
priority and owner). You are the "Submitter" of the bug and any further
categorization, progress, or comments on the bug result in Bugzilla
sending you an automated email concerning the particular change or
progress to the bug.
Submitting a Change to the Yocto Project
========================================
Contributions to the Yocto Project and OpenEmbedded are very welcome.
Because the system is extremely configurable and flexible, we recognize
that developers will want to extend, configure or optimize it for their
specific uses.
The Yocto Project uses a mailing list and a patch-based workflow that is
similar to the Linux kernel but contains important differences. In
general, there is a mailing list through which you can submit patches. You
should send patches to the appropriate mailing list so that they can be
reviewed and merged by the appropriate maintainer. The specific mailing
list you need to use depends on the location of the code you are
changing. Each component (e.g. layer) should have a ``README`` file that
indicates where to send the changes and which process to follow.
You can send the patch to the mailing list using whichever approach you
feel comfortable with to generate the patch. Once sent, the patch is
usually reviewed by the community at large. If somebody has concerns
with the patch, they will usually voice their concern over the mailing
list. If a patch does not receive any negative reviews, the maintainer
of the affected layer typically takes the patch, tests it, and then
based on successful testing, merges the patch.
The "poky" repository, which is the Yocto Project's reference build
environment, is a hybrid repository that contains several individual
pieces (e.g. BitBake, Metadata, documentation, and so forth) built using
the combo-layer tool. The upstream location used for submitting changes
varies by component:
- *Core Metadata:* Send your patch to the
:oe_lists:`openembedded-core </g/openembedded-core>`
mailing list. For example, a change to anything under the ``meta`` or
``scripts`` directories should be sent to this mailing list.
- *BitBake:* For changes to BitBake (i.e. anything under the
``bitbake`` directory), send your patch to the
:oe_lists:`bitbake-devel </g/bitbake-devel>`
mailing list.
- *"meta-\*" trees:* These trees contain Metadata. Use the
:yocto_lists:`poky </g/poky>` mailing list.
- *Documentation*: For changes to the Yocto Project documentation, use the
:yocto_lists:`docs </g/docs>` mailing list.
For changes to other layers hosted in the Yocto Project source
repositories (i.e. ``yoctoproject.org``) and tools use the
:yocto_lists:`Yocto Project </g/yocto/>` general mailing list.
.. note::
Sometimes a layer's documentation specifies to use a particular
mailing list. If so, use that list.
For additional recipes that do not fit into the core Metadata, you
should determine which layer the recipe should go into and submit the
change in the manner recommended by the documentation (e.g. the
``README`` file) supplied with the layer. If in doubt, please ask on the
Yocto general mailing list or on the openembedded-devel mailing list.
You can also push a change upstream and request a maintainer to pull the
change into the component's upstream repository. You do this by pushing
to a contribution repository that is upstream. See the
":ref:`overview-manual/development-environment:git workflows and the yocto project`"
section in the Yocto Project Overview and Concepts Manual for additional
concepts on working in the Yocto Project development environment.
Maintainers commonly use ``-next`` branches to test submissions prior to
merging patches. Thus, you can get an idea of the status of a patch based on
whether the patch has been merged into one of these branches. The commonly
used testing branches for OpenEmbedded-Core are as follows:
- *openembedded-core "master-next" branch:* This branch is part of the
:oe_git:`openembedded-core </openembedded-core/>` repository and contains
proposed changes to the core metadata.
- *poky "master-next" branch:* This branch is part of the
:yocto_git:`poky </poky/>` repository and combines proposed
changes to BitBake, the core metadata and the poky distro.
Similarly, stable branches maintained by the project may have corresponding
``-next`` branches which collect proposed changes. For example,
``&DISTRO_NAME_NO_CAP;-next`` and ``&DISTRO_NAME_NO_CAP_MINUS_ONE;-next``
branches in both the "openembdedded-core" and "poky" repositories.
Other layers may have similar testing branches but there is no formal
requirement or standard for these so please check the documentation for the
layers you are contributing to.
The following sections provide procedures for submitting a change.
Preparing Changes for Submission
--------------------------------
#. *Make Your Changes Locally:* Make your changes in your local Git
repository. You should make small, controlled, isolated changes.
Keeping changes small and isolated aids review, makes
merging/rebasing easier and keeps the change history clean should
anyone need to refer to it in future.
#. *Stage Your Changes:* Stage your changes by using the ``git add``
command on each file you changed.
#. *Commit Your Changes:* Commit the change by using the ``git commit``
command. Make sure your commit information follows standards by
following these accepted conventions:
- Be sure to include a "Signed-off-by:" line in the same style as
required by the Linux kernel. This can be done by using the
``git commit -s`` command. Adding this line signifies that you,
the submitter, have agreed to the Developer's Certificate of
Origin 1.1 as follows:
.. code-block:: none
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
- Provide a single-line summary of the change and, if more
explanation is needed, provide more detail in the body of the
commit. This summary is typically viewable in the "shortlist" of
changes. Thus, providing something short and descriptive that
gives the reader a summary of the change is useful when viewing a
list of many commits. You should prefix this short description
with the recipe name (if changing a recipe), or else with the
short form path to the file being changed.
- For the body of the commit message, provide detailed information
that describes what you changed, why you made the change, and the
approach you used. It might also be helpful if you mention how you
tested the change. Provide as much detail as you can in the body
of the commit message.
.. note::
You do not need to provide a more detailed explanation of a
change if the change is minor to the point of the single line
summary providing all the information.
- If the change addresses a specific bug or issue that is associated
with a bug-tracking ID, include a reference to that ID in your
detailed description. For example, the Yocto Project uses a
specific convention for bug references --- any commit that addresses
a specific bug should use the following form for the detailed
description. Be sure to use the actual bug-tracking ID from
Bugzilla for bug-id::
Fixes [YOCTO #bug-id]
detailed description of change
Using Email to Submit a Patch
-----------------------------
Depending on the components changed, you need to submit the email to a
specific mailing list. For some guidance on which mailing list to use,
see the
:ref:`list <dev-manual/changes:submitting a change to the yocto project>`
at the beginning of this section. For a description of all the available
mailing lists, see the ":ref:`Mailing Lists <resources-mailinglist>`" section in the
Yocto Project Reference Manual.
Here is the general procedure on how to submit a patch through email
without using the scripts once the steps in
:ref:`dev-manual/changes:preparing changes for submission` have been followed:
#. *Format the Commit:* Format the commit into an email message. To
format commits, use the ``git format-patch`` command. When you
provide the command, you must include a revision list or a number of
patches as part of the command. For example, either of these two
commands takes your most recent single commit and formats it as an
email message in the current directory::
$ git format-patch -1
or ::
$ git format-patch HEAD~
After the command is run, the current directory contains a numbered
``.patch`` file for the commit.
If you provide several commits as part of the command, the
``git format-patch`` command produces a series of numbered files in
the current directory one for each commit. If you have more than
one patch, you should also use the ``--cover`` option with the
command, which generates a cover letter as the first "patch" in the
series. You can then edit the cover letter to provide a description
for the series of patches. For information on the
``git format-patch`` command, see ``GIT_FORMAT_PATCH(1)`` displayed
using the ``man git-format-patch`` command.
.. note::
If you are or will be a frequent contributor to the Yocto Project
or to OpenEmbedded, you might consider requesting a contrib area
and the necessary associated rights.
#. *Send the patches via email:* Send the patches to the recipients and
relevant mailing lists by using the ``git send-email`` command.
.. note::
In order to use ``git send-email``, you must have the proper Git packages
installed on your host.
For Ubuntu, Debian, and Fedora the package is ``git-email``.
The ``git send-email`` command sends email by using a local or remote
Mail Transport Agent (MTA) such as ``msmtp``, ``sendmail``, or
through a direct ``smtp`` configuration in your Git ``~/.gitconfig``
file. If you are submitting patches through email only, it is very
important that you submit them without any whitespace or HTML
formatting that either you or your mailer introduces. The maintainer
that receives your patches needs to be able to save and apply them
directly from your emails. A good way to verify that what you are
sending will be applicable by the maintainer is to do a dry run and
send them to yourself and then save and apply them as the maintainer
would.
The ``git send-email`` command is the preferred method for sending
your patches using email since there is no risk of compromising
whitespace in the body of the message, which can occur when you use
your own mail client. The command also has several options that let
you specify recipients and perform further editing of the email
message. For information on how to use the ``git send-email``
command, see ``GIT-SEND-EMAIL(1)`` displayed using the
``man git-send-email`` command.
The Yocto Project uses a `Patchwork instance <https://patchwork.yoctoproject.org/>`__
to track the status of patches submitted to the various mailing lists and to
support automated patch testing. Each submitted patch is checked for common
mistakes and deviations from the expected patch format and submitters are
notified by patchtest if such mistakes are found. This process helps to
reduce the burden of patch review on maintainers.
.. note::
This system is imperfect and changes can sometimes get lost in the flow.
Asking about the status of a patch or change is reasonable if the change
has been idle for a while with no feedback.
Using Scripts to Push a Change Upstream and Request a Pull
----------------------------------------------------------
For larger patch series it is preferable to send a pull request which not
only includes the patch but also a pointer to a branch that can be pulled
from. This involves making a local branch for your changes, pushing this
branch to an accessible repository and then using the ``create-pull-request``
and ``send-pull-request`` scripts from openembedded-core to create and send a
patch series with a link to the branch for review.
Follow this procedure to push a change to an upstream "contrib" Git
repository once the steps in :ref:`dev-manual/changes:preparing changes for submission` have
been followed:
.. note::
You can find general Git information on how to push a change upstream
in the
`Git Community Book <https://git-scm.com/book/en/v2/Distributed-Git-Distributed-Workflows>`__.
#. *Push Your Commits to a "Contrib" Upstream:* If you have arranged for
permissions to push to an upstream contrib repository, push the
change to that repository::
$ git push upstream_remote_repo local_branch_name
For example, suppose you have permissions to push
into the upstream ``meta-intel-contrib`` repository and you are
working in a local branch named `your_name`\ ``/README``. The following
command pushes your local commits to the ``meta-intel-contrib``
upstream repository and puts the commit in a branch named
`your_name`\ ``/README``::
$ git push meta-intel-contrib your_name/README
#. *Determine Who to Notify:* Determine the maintainer or the mailing
list that you need to notify for the change.
Before submitting any change, you need to be sure who the maintainer
is or what mailing list that you need to notify. Use either these
methods to find out:
- *Maintenance File:* Examine the ``maintainers.inc`` file, which is
located in the :term:`Source Directory` at
``meta/conf/distro/include``, to see who is responsible for code.
- *Search by File:* Using :ref:`overview-manual/development-environment:git`, you can
enter the following command to bring up a short list of all
commits against a specific file::
git shortlog -- filename
Just provide the name of the file for which you are interested. The
information returned is not ordered by history but does include a
list of everyone who has committed grouped by name. From the list,
you can see who is responsible for the bulk of the changes against
the file.
- *Examine the List of Mailing Lists:* For a list of the Yocto
Project and related mailing lists, see the ":ref:`Mailing
lists <resources-mailinglist>`" section in
the Yocto Project Reference Manual.
#. *Make a Pull Request:* Notify the maintainer or the mailing list that
you have pushed a change by making a pull request.
The Yocto Project provides two scripts that conveniently let you
generate and send pull requests to the Yocto Project. These scripts
are ``create-pull-request`` and ``send-pull-request``. You can find
these scripts in the ``scripts`` directory within the
:term:`Source Directory` (e.g.
``poky/scripts``).
Using these scripts correctly formats the requests without
introducing any whitespace or HTML formatting. The maintainer that
receives your patches either directly or through the mailing list
needs to be able to save and apply them directly from your emails.
Using these scripts is the preferred method for sending patches.
First, create the pull request. For example, the following command
runs the script, specifies the upstream repository in the contrib
directory into which you pushed the change, and provides a subject
line in the created patch files::
$ poky/scripts/create-pull-request -u meta-intel-contrib -s "Updated Manual Section Reference in README"
Running this script forms ``*.patch`` files in a folder named
``pull-``\ `PID` in the current directory. One of the patch files is a
cover letter.
Before running the ``send-pull-request`` script, you must edit the
cover letter patch to insert information about your change. After
editing the cover letter, send the pull request. For example, the
following command runs the script and specifies the patch directory
and email address. In this example, the email address is a mailing
list::
$ poky/scripts/send-pull-request -p ~/meta-intel/pull-10565 -t meta-intel@lists.yoctoproject.org
You need to follow the prompts as the script is interactive.
.. note::
For help on using these scripts, simply provide the ``-h``
argument as follows::
$ poky/scripts/create-pull-request -h
$ poky/scripts/send-pull-request -h
Responding to Patch Review
--------------------------
You may get feedback on your submitted patches from other community members
or from the automated patchtest service. If issues are identified in your
patch then it is usually necessary to address these before the patch will be
accepted into the project. In this case you should amend the patch according
to the feedback and submit an updated version to the relevant mailing list,
copying in the reviewers who provided feedback to the previous version of the
patch.
The patch should be amended using ``git commit --amend`` or perhaps ``git
rebase`` for more expert git users. You should also modify the ``[PATCH]``
tag in the email subject line when sending the revised patch to mark the new
iteration as ``[PATCH v2]``, ``[PATCH v3]``, etc as appropriate. This can be
done by passing the ``-v`` argument to ``git format-patch`` with a version
number.
Lastly please ensure that you also test your revised changes. In particular
please don't just edit the patch file written out by ``git format-patch`` and
resend it.
Submitting Changes to Stable Release Branches
---------------------------------------------
The process for proposing changes to a Yocto Project stable branch differs
from the steps described above. Changes to a stable branch must address
identified bugs or CVEs and should be made carefully in order to avoid the
risk of introducing new bugs or breaking backwards compatibility. Typically
bug fixes must already be accepted into the master branch before they can be
backported to a stable branch unless the bug in question does not affect the
master branch or the fix on the master branch is unsuitable for backporting.
The list of stable branches along with the status and maintainer for each
branch can be obtained from the
:yocto_wiki:`Releases wiki page </Releases>`.
.. note::
Changes will not typically be accepted for branches which are marked as
End-Of-Life (EOL).
With this in mind, the steps to submit a change for a stable branch are as
follows:
#. *Identify the bug or CVE to be fixed:* This information should be
collected so that it can be included in your submission.
See :ref:`dev-manual/vulnerabilities:checking for vulnerabilities`
for details about CVE tracking.
#. *Check if the fix is already present in the master branch:* This will
result in the most straightforward path into the stable branch for the
fix.
#. *If the fix is present in the master branch --- submit a backport request
by email:* You should send an email to the relevant stable branch
maintainer and the mailing list with details of the bug or CVE to be
fixed, the commit hash on the master branch that fixes the issue and
the stable branches which you would like this fix to be backported to.
#. *If the fix is not present in the master branch --- submit the fix to the
master branch first:* This will ensure that the fix passes through the
project's usual patch review and test processes before being accepted.
It will also ensure that bugs are not left unresolved in the master
branch itself. Once the fix is accepted in the master branch a backport
request can be submitted as above.
#. *If the fix is unsuitable for the master branch --- submit a patch
directly for the stable branch:* This method should be considered as a
last resort. It is typically necessary when the master branch is using
a newer version of the software which includes an upstream fix for the
issue or when the issue has been fixed on the master branch in a way
that introduces backwards incompatible changes. In this case follow the
steps in :ref:`dev-manual/changes:preparing changes for submission` and
:ref:`dev-manual/changes:using email to submit a patch` but modify the subject header of your patch
email to include the name of the stable branch which you are
targetting. This can be done using the ``--subject-prefix`` argument to
``git format-patch``, for example to submit a patch to the dunfell
branch use
``git format-patch --subject-prefix='&DISTRO_NAME_NO_CAP_MINUS_ONE;][PATCH' ...``.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,108 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Creating Your Own Distribution
******************************
When you build an image using the Yocto Project and do not alter any
distribution :term:`Metadata`, you are
creating a Poky distribution. If you wish to gain more control over
package alternative selections, compile-time options, and other
low-level configurations, you can create your own distribution.
To create your own distribution, the basic steps consist of creating
your own distribution layer, creating your own distribution
configuration file, and then adding any needed code and Metadata to the
layer. The following steps provide some more detail:
- *Create a layer for your new distro:* Create your distribution layer
so that you can keep your Metadata and code for the distribution
separate. It is strongly recommended that you create and use your own
layer for configuration and code. Using your own layer as compared to
just placing configurations in a ``local.conf`` configuration file
makes it easier to reproduce the same build configuration when using
multiple build machines. See the
":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`"
section for information on how to quickly set up a layer.
- *Create the distribution configuration file:* The distribution
configuration file needs to be created in the ``conf/distro``
directory of your layer. You need to name it using your distribution
name (e.g. ``mydistro.conf``).
.. note::
The :term:`DISTRO` variable in your ``local.conf`` file determines the
name of your distribution.
You can split out parts of your configuration file into include files
and then "require" them from within your distribution configuration
file. Be sure to place the include files in the
``conf/distro/include`` directory of your layer. A common example
usage of include files would be to separate out the selection of
desired version and revisions for individual recipes.
Your configuration file needs to set the following required
variables:
- :term:`DISTRO_NAME`
- :term:`DISTRO_VERSION`
These following variables are optional and you typically set them
from the distribution configuration file:
- :term:`DISTRO_FEATURES`
- :term:`DISTRO_EXTRA_RDEPENDS`
- :term:`DISTRO_EXTRA_RRECOMMENDS`
- :term:`TCLIBC`
.. tip::
If you want to base your distribution configuration file on the
very basic configuration from OE-Core, you can use
``conf/distro/defaultsetup.conf`` as a reference and just include
variables that differ as compared to ``defaultsetup.conf``.
Alternatively, you can create a distribution configuration file
from scratch using the ``defaultsetup.conf`` file or configuration files
from another distribution such as Poky as a reference.
- *Provide miscellaneous variables:* Be sure to define any other
variables for which you want to create a default or enforce as part
of the distribution configuration. You can include nearly any
variable from the ``local.conf`` file. The variables you use are not
limited to the list in the previous bulleted item.
- *Point to Your distribution configuration file:* In your ``local.conf``
file in the :term:`Build Directory`, set your :term:`DISTRO` variable to
point to your distribution's configuration file. For example, if your
distribution's configuration file is named ``mydistro.conf``, then
you point to it as follows::
DISTRO = "mydistro"
- *Add more to the layer if necessary:* Use your layer to hold other
information needed for the distribution:
- Add recipes for installing distro-specific configuration files
that are not already installed by another recipe. If you have
distro-specific configuration files that are included by an
existing recipe, you should add an append file (``.bbappend``) for
those. For general information and recommendations on how to add
recipes to your layer, see the
":ref:`dev-manual/layers:creating your own layer`" and
":ref:`dev-manual/layers:following best practices when creating layers`"
sections.
- Add any image recipes that are specific to your distribution.
- Add a ``psplash`` append file for a branded splash screen. For
information on append files, see the
":ref:`dev-manual/layers:appending other layers metadata with your layer`"
section.
- Add any other append files to make custom changes that are
specific to individual recipes.

View File

@@ -0,0 +1,52 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Creating a Custom Template Configuration Directory
**************************************************
If you are producing your own customized version of the build system for
use by other users, you might want to provide a custom build configuration
that includes all the necessary settings and layers (i.e. ``local.conf`` and
``bblayers.conf`` that are created in a new :term:`Build Directory`) and a custom
message that is shown when setting up the build. This can be done by
creating one or more template configuration directories in your
custom distribution layer.
This can be done by using ``bitbake-layers save-build-conf``::
$ bitbake-layers save-build-conf ../../meta-alex/ test-1
NOTE: Starting bitbake server...
NOTE: Configuration template placed into /srv/work/alex/meta-alex/conf/templates/test-1
Please review the files in there, and particularly provide a configuration description in /srv/work/alex/meta-alex/conf/templates/test-1/conf-notes.txt
You can try out the configuration with
TEMPLATECONF=/srv/work/alex/meta-alex/conf/templates/test-1 . /srv/work/alex/poky/oe-init-build-env build-try-test-1
The above command takes the config files from the currently active :term:`Build Directory` under ``conf``,
replaces site-specific paths in ``bblayers.conf`` with ``##OECORE##``-relative paths, and copies
the config files into a specified layer under a specified template name.
To use those saved templates as a starting point for a build, users should point
to one of them with :term:`TEMPLATECONF` environment variable::
TEMPLATECONF=/srv/work/alex/meta-alex/conf/templates/test-1 . /srv/work/alex/poky/oe-init-build-env build-try-test-1
The OpenEmbedded build system uses the environment variable
:term:`TEMPLATECONF` to locate the directory from which it gathers
configuration information that ultimately ends up in the
:term:`Build Directory` ``conf`` directory.
If :term:`TEMPLATECONF` is not set, the default value is obtained
from ``.templateconf`` file that is read from the same directory as
``oe-init-build-env`` script. For the Poky reference distribution this
would be::
TEMPLATECONF=${TEMPLATECONF:-meta-poky/conf/templates/default}
If you look at a configuration template directory, you will
see the ``bblayers.conf.sample``, ``local.conf.sample``, and
``conf-notes.txt`` files. The build system uses these files to form the
respective ``bblayers.conf`` file, ``local.conf`` file, and show
users a note about the build they're setting up
when running the ``oe-init-build-env`` setup script. These can be
edited further if needed to improve or change the build configurations
available to the users.

View File

@@ -0,0 +1,223 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Customizing Images
******************
You can customize images to satisfy particular requirements. This
section describes several methods and provides guidelines for each.
Customizing Images Using ``local.conf``
=======================================
Probably the easiest way to customize an image is to add a package by
way of the ``local.conf`` configuration file. Because it is limited to
local use, this method generally only allows you to add packages and is
not as flexible as creating your own customized image. When you add
packages using local variables this way, you need to realize that these
variable changes are in effect for every build and consequently affect
all images, which might not be what you require.
To add a package to your image using the local configuration file, use
the :term:`IMAGE_INSTALL` variable with the ``:append`` operator::
IMAGE_INSTALL:append = " strace"
Use of the syntax is important; specifically, the leading space
after the opening quote and before the package name, which is
``strace`` in this example. This space is required since the ``:append``
operator does not add the space.
Furthermore, you must use ``:append`` instead of the ``+=`` operator if
you want to avoid ordering issues. The reason for this is because doing
so unconditionally appends to the variable and avoids ordering problems
due to the variable being set in image recipes and ``.bbclass`` files
with operators like ``?=``. Using ``:append`` ensures the operation
takes effect.
As shown in its simplest use, ``IMAGE_INSTALL:append`` affects all
images. It is possible to extend the syntax so that the variable applies
to a specific image only. Here is an example::
IMAGE_INSTALL:append:pn-core-image-minimal = " strace"
This example adds ``strace`` to the ``core-image-minimal`` image only.
You can add packages using a similar approach through the
:term:`CORE_IMAGE_EXTRA_INSTALL` variable. If you use this variable, only
``core-image-*`` images are affected.
Customizing Images Using Custom ``IMAGE_FEATURES`` and ``EXTRA_IMAGE_FEATURES``
===============================================================================
Another method for customizing your image is to enable or disable
high-level image features by using the
:term:`IMAGE_FEATURES` and
:term:`EXTRA_IMAGE_FEATURES`
variables. Although the functions for both variables are nearly
equivalent, best practices dictate using :term:`IMAGE_FEATURES` from within
a recipe and using :term:`EXTRA_IMAGE_FEATURES` from within your
``local.conf`` file, which is found in the :term:`Build Directory`.
To understand how these features work, the best reference is
:ref:`meta/classes-recipe/image.bbclass <ref-classes-image>`.
This class lists out the available
:term:`IMAGE_FEATURES` of which most map to package groups while some, such
as ``debug-tweaks`` and ``read-only-rootfs``, resolve as general
configuration settings.
In summary, the file looks at the contents of the :term:`IMAGE_FEATURES`
variable and then maps or configures the feature accordingly. Based on
this information, the build system automatically adds the appropriate
packages or configurations to the
:term:`IMAGE_INSTALL` variable.
Effectively, you are enabling extra features by extending the class or
creating a custom class for use with specialized image ``.bb`` files.
Use the :term:`EXTRA_IMAGE_FEATURES` variable from within your local
configuration file. Using a separate area from which to enable features
with this variable helps you avoid overwriting the features in the image
recipe that are enabled with :term:`IMAGE_FEATURES`. The value of
:term:`EXTRA_IMAGE_FEATURES` is added to :term:`IMAGE_FEATURES` within
``meta/conf/bitbake.conf``.
To illustrate how you can use these variables to modify your image,
consider an example that selects the SSH server. The Yocto Project ships
with two SSH servers you can use with your images: Dropbear and OpenSSH.
Dropbear is a minimal SSH server appropriate for resource-constrained
environments, while OpenSSH is a well-known standard SSH server
implementation. By default, the ``core-image-sato`` image is configured
to use Dropbear. The ``core-image-full-cmdline`` and ``core-image-lsb``
images both include OpenSSH. The ``core-image-minimal`` image does not
contain an SSH server.
You can customize your image and change these defaults. Edit the
:term:`IMAGE_FEATURES` variable in your recipe or use the
:term:`EXTRA_IMAGE_FEATURES` in your ``local.conf`` file so that it
configures the image you are working with to include
``ssh-server-dropbear`` or ``ssh-server-openssh``.
.. note::
See the ":ref:`ref-manual/features:image features`" section in the Yocto
Project Reference Manual for a complete list of image features that ship
with the Yocto Project.
Customizing Images Using Custom .bb Files
=========================================
You can also customize an image by creating a custom recipe that defines
additional software as part of the image. The following example shows
the form for the two lines you need::
IMAGE_INSTALL = "packagegroup-core-x11-base package1 package2"
inherit core-image
Defining the software using a custom recipe gives you total control over
the contents of the image. It is important to use the correct names of
packages in the :term:`IMAGE_INSTALL` variable. You must use the
OpenEmbedded notation and not the Debian notation for the names (e.g.
``glibc-dev`` instead of ``libc6-dev``).
The other method for creating a custom image is to base it on an
existing image. For example, if you want to create an image based on
``core-image-sato`` but add the additional package ``strace`` to the
image, copy the ``meta/recipes-sato/images/core-image-sato.bb`` to a new
``.bb`` and add the following line to the end of the copy::
IMAGE_INSTALL += "strace"
Customizing Images Using Custom Package Groups
==============================================
For complex custom images, the best approach for customizing an image is
to create a custom package group recipe that is used to build the image
or images. A good example of a package group recipe is
``meta/recipes-core/packagegroups/packagegroup-base.bb``.
If you examine that recipe, you see that the :term:`PACKAGES` variable lists
the package group packages to produce. The ``inherit packagegroup``
statement sets appropriate default values and automatically adds
``-dev``, ``-dbg``, and ``-ptest`` complementary packages for each
package specified in the :term:`PACKAGES` statement.
.. note::
The ``inherit packagegroup`` line should be located near the top of the
recipe, certainly before the :term:`PACKAGES` statement.
For each package you specify in :term:`PACKAGES`, you can use :term:`RDEPENDS`
and :term:`RRECOMMENDS` entries to provide a list of packages the parent
task package should contain. You can see examples of these further down
in the ``packagegroup-base.bb`` recipe.
Here is a short, fabricated example showing the same basic pieces for a
hypothetical packagegroup defined in ``packagegroup-custom.bb``, where
the variable :term:`PN` is the standard way to abbreviate the reference to
the full packagegroup name ``packagegroup-custom``::
DESCRIPTION = "My Custom Package Groups"
inherit packagegroup
PACKAGES = "\
${PN}-apps \
${PN}-tools \
"
RDEPENDS:${PN}-apps = "\
dropbear \
portmap \
psplash"
RDEPENDS:${PN}-tools = "\
oprofile \
oprofileui-server \
lttng-tools"
RRECOMMENDS:${PN}-tools = "\
kernel-module-oprofile"
In the previous example, two package group packages are created with
their dependencies and their recommended package dependencies listed:
``packagegroup-custom-apps``, and ``packagegroup-custom-tools``. To
build an image using these package group packages, you need to add
``packagegroup-custom-apps`` and/or ``packagegroup-custom-tools`` to
:term:`IMAGE_INSTALL`. For other forms of image dependencies see the other
areas of this section.
Customizing an Image Hostname
=============================
By default, the configured hostname (i.e. ``/etc/hostname``) in an image
is the same as the machine name. For example, if
:term:`MACHINE` equals "qemux86", the
configured hostname written to ``/etc/hostname`` is "qemux86".
You can customize this name by altering the value of the "hostname"
variable in the ``base-files`` recipe using either an append file or a
configuration file. Use the following in an append file::
hostname = "myhostname"
Use the following in a configuration file::
hostname:pn-base-files = "myhostname"
Changing the default value of the variable "hostname" can be useful in
certain situations. For example, suppose you need to do extensive
testing on an image and you would like to easily identify the image
under test from existing images with typical default hostnames. In this
situation, you could change the default hostname to "testme", which
results in all the images using the name "testme". Once testing is
complete and you do not need to rebuild the image for test any longer,
you can easily reset the default hostname.
Another point of interest is that if you unset the variable, the image
will have no default hostname in the filesystem. Here is an example that
unsets the variable in a configuration file::
hostname:pn-base-files = ""
Having no default hostname in the filesystem is suitable for
environments that use dynamic hostnames such as virtual machines.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,82 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Using a Development Shell
*************************
When debugging certain commands or even when just editing packages,
``devshell`` can be a useful tool. When you invoke ``devshell``, all
tasks up to and including
:ref:`ref-tasks-patch` are run for the
specified target. Then, a new terminal is opened and you are placed in
``${``\ :term:`S`\ ``}``, the source
directory. In the new terminal, all the OpenEmbedded build-related
environment variables are still defined so you can use commands such as
``configure`` and ``make``. The commands execute just as if the
OpenEmbedded build system were executing them. Consequently, working
this way can be helpful when debugging a build or preparing software to
be used with the OpenEmbedded build system.
Following is an example that uses ``devshell`` on a target named
``matchbox-desktop``::
$ bitbake matchbox-desktop -c devshell
This command spawns a terminal with a shell prompt within the
OpenEmbedded build environment. The
:term:`OE_TERMINAL` variable
controls what type of shell is opened.
For spawned terminals, the following occurs:
- The ``PATH`` variable includes the cross-toolchain.
- The ``pkgconfig`` variables find the correct ``.pc`` files.
- The ``configure`` command finds the Yocto Project site files as well
as any other necessary files.
Within this environment, you can run configure or compile commands as if
they were being run by the OpenEmbedded build system itself. As noted
earlier, the working directory also automatically changes to the Source
Directory (:term:`S`).
To manually run a specific task using ``devshell``, run the
corresponding ``run.*`` script in the
``${``\ :term:`WORKDIR`\ ``}/temp``
directory (e.g., ``run.do_configure.``\ `pid`). If a task's script does
not exist, which would be the case if the task was skipped by way of the
sstate cache, you can create the task by first running it outside of the
``devshell``::
$ bitbake -c task
.. note::
- Execution of a task's ``run.*`` script and BitBake's execution of
a task are identical. In other words, running the script re-runs
the task just as it would be run using the ``bitbake -c`` command.
- Any ``run.*`` file that does not have a ``.pid`` extension is a
symbolic link (symlink) to the most recent version of that file.
Remember, that the ``devshell`` is a mechanism that allows you to get
into the BitBake task execution environment. And as such, all commands
must be called just as BitBake would call them. That means you need to
provide the appropriate options for cross-compilation and so forth as
applicable.
When you are finished using ``devshell``, exit the shell or close the
terminal window.
.. note::
- It is worth remembering that when using ``devshell`` you need to
use the full compiler name such as ``arm-poky-linux-gnueabi-gcc``
instead of just using ``gcc``. The same applies to other
applications such as ``binutils``, ``libtool`` and so forth.
BitBake sets up environment variables such as :term:`CC` to assist
applications, such as ``make`` to find the correct tools.
- It is also worth noting that ``devshell`` still works over X11
forwarding and similar situations.

View File

@@ -0,0 +1,74 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
.. _device-manager:
Selecting a Device Manager
**************************
The Yocto Project provides multiple ways to manage the device manager
(``/dev``):
- Persistent and Pre-Populated ``/dev``: For this case, the ``/dev``
directory is persistent and the required device nodes are created
during the build.
- Use ``devtmpfs`` with a Device Manager: For this case, the ``/dev``
directory is provided by the kernel as an in-memory file system and
is automatically populated by the kernel at runtime. Additional
configuration of device nodes is done in user space by a device
manager like ``udev`` or ``busybox-mdev``.
Using Persistent and Pre-Populated ``/dev``
===========================================
To use the static method for device population, you need to set the
:term:`USE_DEVFS` variable to "0"
as follows::
USE_DEVFS = "0"
The content of the resulting ``/dev`` directory is defined in a Device
Table file. The
:term:`IMAGE_DEVICE_TABLES`
variable defines the Device Table to use and should be set in the
machine or distro configuration file. Alternatively, you can set this
variable in your ``local.conf`` configuration file.
If you do not define the :term:`IMAGE_DEVICE_TABLES` variable, the default
``device_table-minimal.txt`` is used::
IMAGE_DEVICE_TABLES = "device_table-mymachine.txt"
The population is handled by the ``makedevs`` utility during image
creation:
Using ``devtmpfs`` and a Device Manager
=======================================
To use the dynamic method for device population, you need to use (or be
sure to set) the :term:`USE_DEVFS`
variable to "1", which is the default::
USE_DEVFS = "1"
With this
setting, the resulting ``/dev`` directory is populated by the kernel
using ``devtmpfs``. Make sure the corresponding kernel configuration
variable ``CONFIG_DEVTMPFS`` is set when building you build a Linux
kernel.
All devices created by ``devtmpfs`` will be owned by ``root`` and have
permissions ``0600``.
To have more control over the device nodes, you can use a device manager
like ``udev`` or ``busybox-mdev``. You choose the device manager by
defining the ``VIRTUAL-RUNTIME_dev_manager`` variable in your machine or
distro configuration file. Alternatively, you can set this variable in
your ``local.conf`` configuration file::
VIRTUAL-RUNTIME_dev_manager = "udev"
# Some alternative values
# VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
# VIRTUAL-RUNTIME_dev_manager = "systemd"

View File

@@ -0,0 +1,45 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Conserving Disk Space
*********************
Conserving Disk Space During Builds
===================================
To help conserve disk space during builds, you can add the following
statement to your project's ``local.conf`` configuration file found in
the :term:`Build Directory`::
INHERIT += "rm_work"
Adding this statement deletes the work directory used for
building a recipe once the recipe is built. For more information on
"rm_work", see the :ref:`ref-classes-rm-work` class in the
Yocto Project Reference Manual.
When you inherit this class and build a ``core-image-sato`` image for a
``qemux86-64`` machine from an Ubuntu 22.04 x86-64 system, you end up with a
final disk usage of 22 Gbytes instead of &MIN_DISK_SPACE; Gbytes. However,
&MIN_DISK_SPACE_RM_WORK; Gbytes of initial free disk space are still needed to
create temporary files before they can be deleted.
Purging Duplicate Shared State Cache Files
==========================================
After multiple build iterations, the Shared State (sstate) cache can contain
duplicate cache files for a given package, while only the most recent one
is likely to be reusable. The following command purges all but the
newest sstate cache file for each package::
sstate-cache-management.sh --remove-duplicated --cache-dir=build/sstate-cache
This command will ask you to confirm the deletions it identifies.
.. note::
The duplicated sstate cache files of one package must have the same
architecture, which means that sstate cache files with multiple
architectures are not considered as duplicate.
Run ``sstate-cache-management.sh`` for more details about this script.

View File

@@ -0,0 +1,68 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Efficiently Fetching Source Files During a Build
************************************************
The OpenEmbedded build system works with source files located through
the :term:`SRC_URI` variable. When
you build something using BitBake, a big part of the operation is
locating and downloading all the source tarballs. For images,
downloading all the source for various packages can take a significant
amount of time.
This section shows you how you can use mirrors to speed up fetching
source files and how you can pre-fetch files all of which leads to more
efficient use of resources and time.
Setting up Effective Mirrors
============================
A good deal that goes into a Yocto Project build is simply downloading
all of the source tarballs. Maybe you have been working with another
build system for which you have built up a
sizable directory of source tarballs. Or, perhaps someone else has such
a directory for which you have read access. If so, you can save time by
adding statements to your configuration file so that the build process
checks local directories first for existing tarballs before checking the
Internet.
Here is an efficient way to set it up in your ``local.conf`` file::
SOURCE_MIRROR_URL ?= "file:///home/you/your-download-dir/"
INHERIT += "own-mirrors"
BB_GENERATE_MIRROR_TARBALLS = "1"
# BB_NO_NETWORK = "1"
In the previous example, the
:term:`BB_GENERATE_MIRROR_TARBALLS`
variable causes the OpenEmbedded build system to generate tarballs of
the Git repositories and store them in the
:term:`DL_DIR` directory. Due to
performance reasons, generating and storing these tarballs is not the
build system's default behavior.
You can also use the
:term:`PREMIRRORS` variable. For
an example, see the variable's glossary entry in the Yocto Project
Reference Manual.
Getting Source Files and Suppressing the Build
==============================================
Another technique you can use to ready yourself for a successive string
of build operations, is to pre-fetch all the source files without
actually starting a build. This technique lets you work through any
download issues and ultimately gathers all the source files into your
download directory :ref:`structure-build-downloads`,
which is located with :term:`DL_DIR`.
Use the following BitBake command form to fetch all the necessary
sources without starting the build::
$ bitbake target --runall=fetch
This
variation of the BitBake command guarantees that you have all the
sources for that BitBake target should you disconnect from the Internet
and want to do the build later offline.

View File

@@ -0,0 +1,84 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Using the Error Reporting Tool
******************************
The error reporting tool allows you to submit errors encountered during
builds to a central database. Outside of the build environment, you can
use a web interface to browse errors, view statistics, and query for
errors. The tool works using a client-server system where the client
portion is integrated with the installed Yocto Project
:term:`Source Directory` (e.g. ``poky``).
The server receives the information collected and saves it in a
database.
There is a live instance of the error reporting server at
https://errors.yoctoproject.org.
When you want to get help with build failures, you can submit all of the
information on the failure easily and then point to the URL in your bug
report or send an email to the mailing list.
.. note::
If you send error reports to this server, the reports become publicly
visible.
Enabling and Using the Tool
===========================
By default, the error reporting tool is disabled. You can enable it by
inheriting the :ref:`ref-classes-report-error` class by adding the
following statement to the end of your ``local.conf`` file in your
:term:`Build Directory`::
INHERIT += "report-error"
By default, the error reporting feature stores information in
``${``\ :term:`LOG_DIR`\ ``}/error-report``.
However, you can specify a directory to use by adding the following to
your ``local.conf`` file::
ERR_REPORT_DIR = "path"
Enabling error
reporting causes the build process to collect the errors and store them
in a file as previously described. When the build system encounters an
error, it includes a command as part of the console output. You can run
the command to send the error file to the server. For example, the
following command sends the errors to an upstream server::
$ send-error-report /home/brandusa/project/poky/build/tmp/log/error-report/error_report_201403141617.txt
In the previous example, the errors are sent to a public database
available at https://errors.yoctoproject.org, which is used by the
entire community. If you specify a particular server, you can send the
errors to a different database. Use the following command for more
information on available options::
$ send-error-report --help
When sending the error file, you are prompted to review the data being
sent as well as to provide a name and optional email address. Once you
satisfy these prompts, the command returns a link from the server that
corresponds to your entry in the database. For example, here is a
typical link: https://errors.yoctoproject.org/Errors/Details/9522/
Following the link takes you to a web interface where you can browse,
query the errors, and view statistics.
Disabling the Tool
==================
To disable the error reporting feature, simply remove or comment out the
following statement from the end of your ``local.conf`` file in your
:term:`Build Directory`::
INHERIT += "report-error"
Setting Up Your Own Error Reporting Server
==========================================
If you want to set up your own error reporting server, you can obtain
the code from the Git repository at :yocto_git:`/error-report-web/`.
Instructions on how to set it up are in the README document.

View File

@@ -0,0 +1,67 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Using an External SCM
*********************
If you're working on a recipe that pulls from an external Source Code
Manager (SCM), it is possible to have the OpenEmbedded build system
notice new recipe changes added to the SCM and then build the resulting
packages that depend on the new recipes by using the latest versions.
This only works for SCMs from which it is possible to get a sensible
revision number for changes. Currently, you can do this with Apache
Subversion (SVN), Git, and Bazaar (BZR) repositories.
To enable this behavior, the :term:`PV` of
the recipe needs to reference
:term:`SRCPV`. Here is an example::
PV = "1.2.3+git${SRCPV}"
Then, you can add the following to your
``local.conf``::
SRCREV:pn-PN = "${AUTOREV}"
:term:`PN` is the name of the recipe for
which you want to enable automatic source revision updating.
If you do not want to update your local configuration file, you can add
the following directly to the recipe to finish enabling the feature::
SRCREV = "${AUTOREV}"
The Yocto Project provides a distribution named ``poky-bleeding``, whose
configuration file contains the line::
require conf/distro/include/poky-floating-revisions.inc
This line pulls in the
listed include file that contains numerous lines of exactly that form::
#SRCREV:pn-opkg-native ?= "${AUTOREV}"
#SRCREV:pn-opkg-sdk ?= "${AUTOREV}"
#SRCREV:pn-opkg ?= "${AUTOREV}"
#SRCREV:pn-opkg-utils-native ?= "${AUTOREV}"
#SRCREV:pn-opkg-utils ?= "${AUTOREV}"
SRCREV:pn-gconf-dbus ?= "${AUTOREV}"
SRCREV:pn-matchbox-common ?= "${AUTOREV}"
SRCREV:pn-matchbox-config-gtk ?= "${AUTOREV}"
SRCREV:pn-matchbox-desktop ?= "${AUTOREV}"
SRCREV:pn-matchbox-keyboard ?= "${AUTOREV}"
SRCREV:pn-matchbox-panel-2 ?= "${AUTOREV}"
SRCREV:pn-matchbox-themes-extra ?= "${AUTOREV}"
SRCREV:pn-matchbox-terminal ?= "${AUTOREV}"
SRCREV:pn-matchbox-wm ?= "${AUTOREV}"
SRCREV:pn-settings-daemon ?= "${AUTOREV}"
SRCREV:pn-screenshot ?= "${AUTOREV}"
. . .
These lines allow you to
experiment with building a distribution that tracks the latest
development source for numerous packages.
.. note::
The ``poky-bleeding`` distribution is not tested on a regular basis. Keep
this in mind if you use it.

View File

@@ -0,0 +1,40 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Optionally Using an External Toolchain
**************************************
You might want to use an external toolchain as part of your development.
If this is the case, the fundamental steps you need to accomplish are as
follows:
- Understand where the installed toolchain resides. For cases where you
need to build the external toolchain, you would need to take separate
steps to build and install the toolchain.
- Make sure you add the layer that contains the toolchain to your
``bblayers.conf`` file through the
:term:`BBLAYERS` variable.
- Set the :term:`EXTERNAL_TOOLCHAIN` variable in your ``local.conf`` file
to the location in which you installed the toolchain.
The toolchain configuration is very flexible and customizable. It
is primarily controlled with the :term:`TCMODE` variable. This variable
controls which ``tcmode-*.inc`` file to include from the
``meta/conf/distro/include`` directory within the :term:`Source Directory`.
The default value of :term:`TCMODE` is "default", which tells the
OpenEmbedded build system to use its internally built toolchain (i.e.
``tcmode-default.inc``). However, other patterns are accepted. In
particular, "external-\*" refers to external toolchains. One example is
the Mentor Graphics Sourcery G++ Toolchain. Support for this toolchain resides
in the separate ``meta-sourcery`` layer at
https://github.com/MentorEmbedded/meta-sourcery/.
See its ``README`` file for details about how to use this layer.
Another example of external toolchain layer is
:yocto_git:`meta-arm-toolchain </meta-arm/tree/meta-arm-toolchain/>`
supporting GNU toolchains released by ARM.
You can find further information by reading about the :term:`TCMODE` variable
in the Yocto Project Reference Manual's variable glossary.

View File

@@ -0,0 +1,155 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Enabling GObject Introspection Support
**************************************
`GObject introspection <https://gi.readthedocs.io/en/latest/>`__
is the standard mechanism for accessing GObject-based software from
runtime environments. GObject is a feature of the GLib library that
provides an object framework for the GNOME desktop and related software.
GObject Introspection adds information to GObject that allows objects
created within it to be represented across different programming
languages. If you want to construct GStreamer pipelines using Python, or
control UPnP infrastructure using Javascript and GUPnP, GObject
introspection is the only way to do it.
This section describes the Yocto Project support for generating and
packaging GObject introspection data. GObject introspection data is a
description of the API provided by libraries built on top of the GLib
framework, and, in particular, that framework's GObject mechanism.
GObject Introspection Repository (GIR) files go to ``-dev`` packages,
``typelib`` files go to main packages as they are packaged together with
libraries that are introspected.
The data is generated when building such a library, by linking the
library with a small executable binary that asks the library to describe
itself, and then executing the binary and processing its output.
Generating this data in a cross-compilation environment is difficult
because the library is produced for the target architecture, but its
code needs to be executed on the build host. This problem is solved with
the OpenEmbedded build system by running the code through QEMU, which
allows precisely that. Unfortunately, QEMU does not always work
perfectly as mentioned in the ":ref:`dev-manual/gobject-introspection:known issues`"
section.
Enabling the Generation of Introspection Data
=============================================
Enabling the generation of introspection data (GIR files) in your
library package involves the following:
#. Inherit the :ref:`ref-classes-gobject-introspection` class.
#. Make sure introspection is not disabled anywhere in the recipe or
from anything the recipe includes. Also, make sure that
"gobject-introspection-data" is not in
:term:`DISTRO_FEATURES_BACKFILL_CONSIDERED`
and that "qemu-usermode" is not in
:term:`MACHINE_FEATURES_BACKFILL_CONSIDERED`.
In either of these conditions, nothing will happen.
#. Try to build the recipe. If you encounter build errors that look like
something is unable to find ``.so`` libraries, check where these
libraries are located in the source tree and add the following to the
recipe::
GIR_EXTRA_LIBS_PATH = "${B}/something/.libs"
.. note::
See recipes in the ``oe-core`` repository that use that
:term:`GIR_EXTRA_LIBS_PATH` variable as an example.
#. Look for any other errors, which probably mean that introspection
support in a package is not entirely standard, and thus breaks down
in a cross-compilation environment. For such cases, custom-made fixes
are needed. A good place to ask and receive help in these cases is
the :ref:`Yocto Project mailing
lists <resources-mailinglist>`.
.. note::
Using a library that no longer builds against the latest Yocto
Project release and prints introspection related errors is a good
candidate for the previous procedure.
Disabling the Generation of Introspection Data
==============================================
You might find that you do not want to generate introspection data. Or,
perhaps QEMU does not work on your build host and target architecture
combination. If so, you can use either of the following methods to
disable GIR file generations:
- Add the following to your distro configuration::
DISTRO_FEATURES_BACKFILL_CONSIDERED = "gobject-introspection-data"
Adding this statement disables generating introspection data using
QEMU but will still enable building introspection tools and libraries
(i.e. building them does not require the use of QEMU).
- Add the following to your machine configuration::
MACHINE_FEATURES_BACKFILL_CONSIDERED = "qemu-usermode"
Adding this statement disables the use of QEMU when building packages for your
machine. Currently, this feature is used only by introspection
recipes and has the same effect as the previously described option.
.. note::
Future releases of the Yocto Project might have other features
affected by this option.
If you disable introspection data, you can still obtain it through other
means such as copying the data from a suitable sysroot, or by generating
it on the target hardware. The OpenEmbedded build system does not
currently provide specific support for these techniques.
Testing that Introspection Works in an Image
============================================
Use the following procedure to test if generating introspection data is
working in an image:
#. Make sure that "gobject-introspection-data" is not in
:term:`DISTRO_FEATURES_BACKFILL_CONSIDERED`
and that "qemu-usermode" is not in
:term:`MACHINE_FEATURES_BACKFILL_CONSIDERED`.
#. Build ``core-image-sato``.
#. Launch a Terminal and then start Python in the terminal.
#. Enter the following in the terminal::
>>> from gi.repository import GLib
>>> GLib.get_host_name()
#. For something a little more advanced, enter the following see:
https://python-gtk-3-tutorial.readthedocs.io/en/latest/introduction.html
Known Issues
============
Here are know issues in GObject Introspection Support:
- ``qemu-ppc64`` immediately crashes. Consequently, you cannot build
introspection data on that architecture.
- x32 is not supported by QEMU. Consequently, introspection data is
disabled.
- musl causes transient GLib binaries to crash on assertion failures.
Consequently, generating introspection data is disabled.
- Because QEMU is not able to run the binaries correctly, introspection
is disabled for some specific packages under specific architectures
(e.g. ``gcr``, ``libsecret``, and ``webkit``).
- QEMU usermode might not work properly when running 64-bit binaries
under 32-bit host machines. In particular, "qemumips64" is known to
not work under i686.

View File

@@ -12,7 +12,43 @@ Yocto Project Development Tasks Manual
intro
start
common-tasks
layers
customizing-images
new-recipe
new-machine
upgrading-recipes
temporary-source-code
quilt.rst
development-shell
python-development-shell
building
speeding-up-build
libraries
prebuilt-libraries
x32-psabi
gobject-introspection
external-toolchain
wic
bmaptool
securing-images
custom-distribution
custom-template-configuration-directory
disk-space
packages
efficiently-fetching-sources
init-manager
device-manager
external-scm
read-only-rootfs
build-quality
runtime-testing
debugging
changes
licenses
vulnerabilities
sbom
error-reporting-tool
wayland
qemu
.. include:: /boilerplate.rst

View File

@@ -0,0 +1,162 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
.. _init-manager:
Selecting an Initialization Manager
***********************************
By default, the Yocto Project uses :wikipedia:`SysVinit <Init#SysV-style>` as
the initialization manager. There is also support for BusyBox init, a simpler
implementation, as well as support for :wikipedia:`systemd <Systemd>`, which
is a full replacement for init with parallel starting of services, reduced
shell overhead, increased security and resource limits for services, and other
features that are used by many distributions.
Within the system, SysVinit and BusyBox init treat system components as
services. These services are maintained as shell scripts stored in the
``/etc/init.d/`` directory.
SysVinit is more elaborate than BusyBox init and organizes services in
different run levels. This organization is maintained by putting links
to the services in the ``/etc/rcN.d/`` directories, where `N/` is one
of the following options: "S", "0", "1", "2", "3", "4", "5", or "6".
.. note::
Each runlevel has a dependency on the previous runlevel. This
dependency allows the services to work properly.
Both SysVinit and BusyBox init are configured through the ``/etc/inittab``
file, with a very similar syntax, though of course BusyBox init features
are more limited.
In comparison, systemd treats components as units. Using units is a
broader concept as compared to using a service. A unit includes several
different types of entities. ``Service`` is one of the types of entities.
The runlevel concept in SysVinit corresponds to the concept of a target
in systemd, where target is also a type of supported unit.
In systems with SysVinit or BusyBox init, services load sequentially (i.e. one
by one) during init and parallelization is not supported. With systemd, services
start in parallel. This method can have an impact on the startup performance
of a given service, though systemd will also provide more services by default,
therefore increasing the total system boot time. systemd also substantially
increases system size because of its multiple components and the extra
dependencies it pulls.
On the contrary, BusyBox init is the simplest and the lightest solution and
also comes with BusyBox mdev as device manager, a lighter replacement to
:wikipedia:`udev <Udev>`, which SysVinit and systemd both use.
The ":ref:`device-manager`" chapter has more details about device managers.
Using SysVinit with udev
=========================
SysVinit with the udev device manager corresponds to the
default setting in Poky. This corresponds to setting::
INIT_MANAGER = "sysvinit"
Using BusyBox init with BusyBox mdev
====================================
BusyBox init with BusyBox mdev is the simplest and lightest solution
for small root filesystems. All you need is BusyBox, which most systems
have anyway::
INIT_MANAGER = "mdev-busybox"
Using systemd
=============
The last option is to use systemd together with the udev device
manager. This is the most powerful and versatile solution, especially
for more complex systems::
INIT_MANAGER = "systemd"
This will enable systemd and remove sysvinit components from the image.
See :yocto_git:`meta/conf/distro/include/init-manager-systemd.inc
</poky/tree/meta/conf/distro/include/init-manager-systemd.inc>` for exact
details on what this does.
Controling systemd from the target command line
-----------------------------------------------
Here is a quick reference for controling systemd from the command line on the
target. Instead of opening and sometimes modifying files, most interaction
happens through the ``systemctl`` and ``journalctl`` commands:
- ``systemctl status``: show the status of all services
- ``systemctl status <service>``: show the status of one service
- ``systemctl [start|stop] <service>``: start or stop a service
- ``systemctl [enable|disable] <service>``: enable or disable a service at boot time
- ``systemctl list-units``: list all available units
- ``journalctl -a``: show all logs for all services
- ``journalctl -f``: show only the last log entries, and keep printing updates as they arrive
- ``journalctl -u``: show only logs from a particular service
Using systemd-journald without a traditional syslog daemon
----------------------------------------------------------
Counter-intuitively, ``systemd-journald`` is not a syslog runtime or provider,
and the proper way to use ``systemd-journald`` as your sole logging mechanism is to
effectively disable syslog entirely by setting these variables in your distribution
configuration file::
VIRTUAL-RUNTIME_syslog = ""
VIRTUAL-RUNTIME_base-utils-syslog = ""
Doing so will prevent ``rsyslog`` / ``busybox-syslog`` from being pulled in by
default, leaving only ``systemd-journald``.
Summary
-------
The Yocto Project supports three different initialization managers, offering
increasing levels of complexity and functionality:
.. list-table::
:widths: 40 20 20 20
:header-rows: 1
* -
- BusyBox init
- SysVinit
- systemd
* - Size
- Small
- Small
- Big [#footnote-systemd-size]_
* - Complexity
- Small
- Medium
- High
* - Support for boot profiles
- No
- Yes ("runlevels")
- Yes ("targets")
* - Services defined as
- Shell scripts
- Shell scripts
- Description files
* - Starting services in parallel
- No
- No
- Yes
* - Setting service resource limits
- No
- No
- Yes
* - Support service isolation
- No
- No
- Yes
* - Integrated logging
- No
- No
- Yes
.. [#footnote-systemd-size] Using systemd increases the ``core-image-minimal``
image size by 160\% for ``qemux86-64`` on Mickledore (4.2), compared to SysVinit.

View File

@@ -0,0 +1,905 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Understanding and Creating Layers
*********************************
The OpenEmbedded build system supports organizing
:term:`Metadata` into multiple layers.
Layers allow you to isolate different types of customizations from each
other. For introductory information on the Yocto Project Layer Model,
see the
":ref:`overview-manual/yp-intro:the yocto project layer model`"
section in the Yocto Project Overview and Concepts Manual.
Creating Your Own Layer
=======================
.. note::
It is very easy to create your own layers to use with the OpenEmbedded
build system, as the Yocto Project ships with tools that speed up creating
layers. This section describes the steps you perform by hand to create
layers so that you can better understand them. For information about the
layer-creation tools, see the
":ref:`bsp-guide/bsp:creating a new bsp layer using the \`\`bitbake-layers\`\` script`"
section in the Yocto Project Board Support Package (BSP) Developer's
Guide and the ":ref:`dev-manual/layers:creating a general layer using the \`\`bitbake-layers\`\` script`"
section further down in this manual.
Follow these general steps to create your layer without using tools:
#. *Check Existing Layers:* Before creating a new layer, you should be
sure someone has not already created a layer containing the Metadata
you need. You can see the :oe_layerindex:`OpenEmbedded Metadata Index <>`
for a list of layers from the OpenEmbedded community that can be used in
the Yocto Project. You could find a layer that is identical or close
to what you need.
#. *Create a Directory:* Create the directory for your layer. When you
create the layer, be sure to create the directory in an area not
associated with the Yocto Project :term:`Source Directory`
(e.g. the cloned ``poky`` repository).
While not strictly required, prepend the name of the directory with
the string "meta-". For example::
meta-mylayer
meta-GUI_xyz
meta-mymachine
With rare exceptions, a layer's name follows this form::
meta-root_name
Following this layer naming convention can save
you trouble later when tools, components, or variables "assume" your
layer name begins with "meta-". A notable example is in configuration
files as shown in the following step where layer names without the
"meta-" string are appended to several variables used in the
configuration.
#. *Create a Layer Configuration File:* Inside your new layer folder,
you need to create a ``conf/layer.conf`` file. It is easiest to take
an existing layer configuration file and copy that to your layer's
``conf`` directory and then modify the file as needed.
The ``meta-yocto-bsp/conf/layer.conf`` file in the Yocto Project
:yocto_git:`Source Repositories </poky/tree/meta-yocto-bsp/conf>`
demonstrates the required syntax. For your layer, you need to replace
"yoctobsp" with a unique identifier for your layer (e.g. "machinexyz"
for a layer named "meta-machinexyz")::
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "yoctobsp"
BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/"
BBFILE_PRIORITY_yoctobsp = "5"
LAYERVERSION_yoctobsp = "4"
LAYERSERIES_COMPAT_yoctobsp = "dunfell"
Following is an explanation of the layer configuration file:
- :term:`BBPATH`: Adds the layer's
root directory to BitBake's search path. Through the use of the
:term:`BBPATH` variable, BitBake locates class files (``.bbclass``),
configuration files, and files that are included with ``include``
and ``require`` statements. For these cases, BitBake uses the
first file that matches the name found in :term:`BBPATH`. This is
similar to the way the ``PATH`` variable is used for binaries. It
is recommended, therefore, that you use unique class and
configuration filenames in your custom layer.
- :term:`BBFILES`: Defines the
location for all recipes in the layer.
- :term:`BBFILE_COLLECTIONS`:
Establishes the current layer through a unique identifier that is
used throughout the OpenEmbedded build system to refer to the
layer. In this example, the identifier "yoctobsp" is the
representation for the container layer named "meta-yocto-bsp".
- :term:`BBFILE_PATTERN`:
Expands immediately during parsing to provide the directory of the
layer.
- :term:`BBFILE_PRIORITY`:
Establishes a priority to use for recipes in the layer when the
OpenEmbedded build finds recipes of the same name in different
layers.
- :term:`LAYERVERSION`:
Establishes a version number for the layer. You can use this
version number to specify this exact version of the layer as a
dependency when using the
:term:`LAYERDEPENDS`
variable.
- :term:`LAYERDEPENDS`:
Lists all layers on which this layer depends (if any).
- :term:`LAYERSERIES_COMPAT`:
Lists the :yocto_wiki:`Yocto Project </Releases>`
releases for which the current version is compatible. This
variable is a good way to indicate if your particular layer is
current.
#. *Add Content:* Depending on the type of layer, add the content. If
the layer adds support for a machine, add the machine configuration
in a ``conf/machine/`` file within the layer. If the layer adds
distro policy, add the distro configuration in a ``conf/distro/``
file within the layer. If the layer introduces new recipes, put the
recipes you need in ``recipes-*`` subdirectories within the layer.
.. note::
For an explanation of layer hierarchy that is compliant with the
Yocto Project, see the ":ref:`bsp-guide/bsp:example filesystem layout`"
section in the Yocto Project Board Support Package (BSP) Developer's Guide.
#. *Optionally Test for Compatibility:* If you want permission to use
the Yocto Project Compatibility logo with your layer or application
that uses your layer, perform the steps to apply for compatibility.
See the
":ref:`dev-manual/layers:making sure your layer is compatible with yocto project`"
section for more information.
Following Best Practices When Creating Layers
=============================================
To create layers that are easier to maintain and that will not impact
builds for other machines, you should consider the information in the
following list:
- *Avoid "Overlaying" Entire Recipes from Other Layers in Your
Configuration:* In other words, do not copy an entire recipe into
your layer and then modify it. Rather, use an append file
(``.bbappend``) to override only those parts of the original recipe
you need to modify.
- *Avoid Duplicating Include Files:* Use append files (``.bbappend``)
for each recipe that uses an include file. Or, if you are introducing
a new recipe that requires the included file, use the path relative
to the original layer directory to refer to the file. For example,
use ``require recipes-core/``\ `package`\ ``/``\ `file`\ ``.inc`` instead
of ``require`` `file`\ ``.inc``. If you're finding you have to overlay
the include file, it could indicate a deficiency in the include file
in the layer to which it originally belongs. If this is the case, you
should try to address that deficiency instead of overlaying the
include file. For example, you could address this by getting the
maintainer of the include file to add a variable or variables to make
it easy to override the parts needing to be overridden.
- *Structure Your Layers:* Proper use of overrides within append files
and placement of machine-specific files within your layer can ensure
that a build is not using the wrong Metadata and negatively impacting
a build for a different machine. Following are some examples:
- *Modify Variables to Support a Different Machine:* Suppose you
have a layer named ``meta-one`` that adds support for building
machine "one". To do so, you use an append file named
``base-files.bbappend`` and create a dependency on "foo" by
altering the :term:`DEPENDS`
variable::
DEPENDS = "foo"
The dependency is created during any
build that includes the layer ``meta-one``. However, you might not
want this dependency for all machines. For example, suppose you
are building for machine "two" but your ``bblayers.conf`` file has
the ``meta-one`` layer included. During the build, the
``base-files`` for machine "two" will also have the dependency on
``foo``.
To make sure your changes apply only when building machine "one",
use a machine override with the :term:`DEPENDS` statement::
DEPENDS:one = "foo"
You should follow the same strategy when using ``:append``
and ``:prepend`` operations::
DEPENDS:append:one = " foo"
DEPENDS:prepend:one = "foo "
As an actual example, here's a
snippet from the generic kernel include file ``linux-yocto.inc``,
wherein the kernel compile and link options are adjusted in the
case of a subset of the supported architectures::
DEPENDS:append:aarch64 = " libgcc"
KERNEL_CC:append:aarch64 = " ${TOOLCHAIN_OPTIONS}"
KERNEL_LD:append:aarch64 = " ${TOOLCHAIN_OPTIONS}"
DEPENDS:append:nios2 = " libgcc"
KERNEL_CC:append:nios2 = " ${TOOLCHAIN_OPTIONS}"
KERNEL_LD:append:nios2 = " ${TOOLCHAIN_OPTIONS}"
DEPENDS:append:arc = " libgcc"
KERNEL_CC:append:arc = " ${TOOLCHAIN_OPTIONS}"
KERNEL_LD:append:arc = " ${TOOLCHAIN_OPTIONS}"
KERNEL_FEATURES:append:qemuall=" features/debug/printk.scc"
- *Place Machine-Specific Files in Machine-Specific Locations:* When
you have a base recipe, such as ``base-files.bb``, that contains a
:term:`SRC_URI` statement to a
file, you can use an append file to cause the build to use your
own version of the file. For example, an append file in your layer
at ``meta-one/recipes-core/base-files/base-files.bbappend`` could
extend :term:`FILESPATH` using :term:`FILESEXTRAPATHS` as follows::
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
The build for machine "one" will pick up your machine-specific file as
long as you have the file in
``meta-one/recipes-core/base-files/base-files/``. However, if you
are building for a different machine and the ``bblayers.conf``
file includes the ``meta-one`` layer and the location of your
machine-specific file is the first location where that file is
found according to :term:`FILESPATH`, builds for all machines will
also use that machine-specific file.
You can make sure that a machine-specific file is used for a
particular machine by putting the file in a subdirectory specific
to the machine. For example, rather than placing the file in
``meta-one/recipes-core/base-files/base-files/`` as shown above,
put it in ``meta-one/recipes-core/base-files/base-files/one/``.
Not only does this make sure the file is used only when building
for machine "one", but the build process locates the file more
quickly.
In summary, you need to place all files referenced from
:term:`SRC_URI` in a machine-specific subdirectory within the layer in
order to restrict those files to machine-specific builds.
- *Perform Steps to Apply for Yocto Project Compatibility:* If you want
permission to use the Yocto Project Compatibility logo with your
layer or application that uses your layer, perform the steps to apply
for compatibility. See the
":ref:`dev-manual/layers:making sure your layer is compatible with yocto project`"
section for more information.
- *Follow the Layer Naming Convention:* Store custom layers in a Git
repository that use the ``meta-layer_name`` format.
- *Group Your Layers Locally:* Clone your repository alongside other
cloned ``meta`` directories from the :term:`Source Directory`.
Making Sure Your Layer is Compatible With Yocto Project
=======================================================
When you create a layer used with the Yocto Project, it is advantageous
to make sure that the layer interacts well with existing Yocto Project
layers (i.e. the layer is compatible with the Yocto Project). Ensuring
compatibility makes the layer easy to be consumed by others in the Yocto
Project community and could allow you permission to use the Yocto
Project Compatible Logo.
.. note::
Only Yocto Project member organizations are permitted to use the
Yocto Project Compatible Logo. The logo is not available for general
use. For information on how to become a Yocto Project member
organization, see the :yocto_home:`Yocto Project Website <>`.
The Yocto Project Compatibility Program consists of a layer application
process that requests permission to use the Yocto Project Compatibility
Logo for your layer and application. The process consists of two parts:
#. Successfully passing a script (``yocto-check-layer``) that when run
against your layer, tests it against constraints based on experiences
of how layers have worked in the real world and where pitfalls have
been found. Getting a "PASS" result from the script is required for
successful compatibility registration.
#. Completion of an application acceptance form, which you can find at
:yocto_home:`/webform/yocto-project-compatible-registration`.
To be granted permission to use the logo, you need to satisfy the
following:
- Be able to check the box indicating that you got a "PASS" when
running the script against your layer.
- Answer "Yes" to the questions on the form or have an acceptable
explanation for any questions answered "No".
- Be a Yocto Project Member Organization.
The remainder of this section presents information on the registration
form and on the ``yocto-check-layer`` script.
Yocto Project Compatible Program Application
--------------------------------------------
Use the form to apply for your layer's approval. Upon successful
application, you can use the Yocto Project Compatibility Logo with your
layer and the application that uses your layer.
To access the form, use this link:
:yocto_home:`/webform/yocto-project-compatible-registration`.
Follow the instructions on the form to complete your application.
The application consists of the following sections:
- *Contact Information:* Provide your contact information as the fields
require. Along with your information, provide the released versions
of the Yocto Project for which your layer is compatible.
- *Acceptance Criteria:* Provide "Yes" or "No" answers for each of the
items in the checklist. There is space at the bottom of the form for
any explanations for items for which you answered "No".
- *Recommendations:* Provide answers for the questions regarding Linux
kernel use and build success.
``yocto-check-layer`` Script
----------------------------
The ``yocto-check-layer`` script provides you a way to assess how
compatible your layer is with the Yocto Project. You should run this
script prior to using the form to apply for compatibility as described
in the previous section. You need to achieve a "PASS" result in order to
have your application form successfully processed.
The script divides tests into three areas: COMMON, BSP, and DISTRO. For
example, given a distribution layer (DISTRO), the layer must pass both
the COMMON and DISTRO related tests. Furthermore, if your layer is a BSP
layer, the layer must pass the COMMON and BSP set of tests.
To execute the script, enter the following commands from your build
directory::
$ source oe-init-build-env
$ yocto-check-layer your_layer_directory
Be sure to provide the actual directory for your
layer as part of the command.
Entering the command causes the script to determine the type of layer
and then to execute a set of specific tests against the layer. The
following list overviews the test:
- ``common.test_readme``: Tests if a ``README`` file exists in the
layer and the file is not empty.
- ``common.test_parse``: Tests to make sure that BitBake can parse the
files without error (i.e. ``bitbake -p``).
- ``common.test_show_environment``: Tests that the global or per-recipe
environment is in order without errors (i.e. ``bitbake -e``).
- ``common.test_world``: Verifies that ``bitbake world`` works.
- ``common.test_signatures``: Tests to be sure that BSP and DISTRO
layers do not come with recipes that change signatures.
- ``common.test_layerseries_compat``: Verifies layer compatibility is
set properly.
- ``bsp.test_bsp_defines_machines``: Tests if a BSP layer has machine
configurations.
- ``bsp.test_bsp_no_set_machine``: Tests to ensure a BSP layer does not
set the machine when the layer is added.
- ``bsp.test_machine_world``: Verifies that ``bitbake world`` works
regardless of which machine is selected.
- ``bsp.test_machine_signatures``: Verifies that building for a
particular machine affects only the signature of tasks specific to
that machine.
- ``distro.test_distro_defines_distros``: Tests if a DISTRO layer has
distro configurations.
- ``distro.test_distro_no_set_distros``: Tests to ensure a DISTRO layer
does not set the distribution when the layer is added.
Enabling Your Layer
===================
Before the OpenEmbedded build system can use your new layer, you need to
enable it. To enable your layer, simply add your layer's path to the
:term:`BBLAYERS` variable in your ``conf/bblayers.conf`` file, which is
found in the :term:`Build Directory`. The following example shows how to
enable your new ``meta-mylayer`` layer (note how your new layer exists
outside of the official ``poky`` repository which you would have checked
out earlier)::
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/user/poky/meta \
/home/user/poky/meta-poky \
/home/user/poky/meta-yocto-bsp \
/home/user/mystuff/meta-mylayer \
"
BitBake parses each ``conf/layer.conf`` file from the top down as
specified in the :term:`BBLAYERS` variable within the ``conf/bblayers.conf``
file. During the processing of each ``conf/layer.conf`` file, BitBake
adds the recipes, classes and configurations contained within the
particular layer to the source directory.
Appending Other Layers Metadata With Your Layer
===============================================
A recipe that appends Metadata to another recipe is called a BitBake
append file. A BitBake append file uses the ``.bbappend`` file type
suffix, while the corresponding recipe to which Metadata is being
appended uses the ``.bb`` file type suffix.
You can use a ``.bbappend`` file in your layer to make additions or
changes to the content of another layer's recipe without having to copy
the other layer's recipe into your layer. Your ``.bbappend`` file
resides in your layer, while the main ``.bb`` recipe file to which you
are appending Metadata resides in a different layer.
Being able to append information to an existing recipe not only avoids
duplication, but also automatically applies recipe changes from a
different layer into your layer. If you were copying recipes, you would
have to manually merge changes as they occur.
When you create an append file, you must use the same root name as the
corresponding recipe file. For example, the append file
``someapp_3.1.bbappend`` must apply to ``someapp_3.1.bb``. This
means the original recipe and append filenames are version
number-specific. If the corresponding recipe is renamed to update to a
newer version, you must also rename and possibly update the
corresponding ``.bbappend`` as well. During the build process, BitBake
displays an error on starting if it detects a ``.bbappend`` file that
does not have a corresponding recipe with a matching name. See the
:term:`BB_DANGLINGAPPENDS_WARNONLY`
variable for information on how to handle this error.
Overlaying a File Using Your Layer
----------------------------------
As an example, consider the main formfactor recipe and a corresponding
formfactor append file both from the :term:`Source Directory`.
Here is the main
formfactor recipe, which is named ``formfactor_0.0.bb`` and located in
the "meta" layer at ``meta/recipes-bsp/formfactor``::
SUMMARY = "Device formfactor information"
DESCRIPTION = "A formfactor configuration file provides information about the \
target hardware for which the image is being built and information that the \
build system cannot obtain from other sources such as the kernel."
SECTION = "base"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r45"
SRC_URI = "file://config file://machconfig"
S = "${WORKDIR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
INHIBIT_DEFAULT_DEPS = "1"
do_install() {
# Install file only if it has contents
install -d ${D}${sysconfdir}/formfactor/
install -m 0644 ${S}/config ${D}${sysconfdir}/formfactor/
if [ -s "${S}/machconfig" ]; then
install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/
fi
}
In the main recipe, note the :term:`SRC_URI`
variable, which tells the OpenEmbedded build system where to find files
during the build.
Following is the append file, which is named ``formfactor_0.0.bbappend``
and is from the Raspberry Pi BSP Layer named ``meta-raspberrypi``. The
file is in the layer at ``recipes-bsp/formfactor``::
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
By default, the build system uses the
:term:`FILESPATH` variable to
locate files. This append file extends the locations by setting the
:term:`FILESEXTRAPATHS`
variable. Setting this variable in the ``.bbappend`` file is the most
reliable and recommended method for adding directories to the search
path used by the build system to find files.
The statement in this example extends the directories to include
``${``\ :term:`THISDIR`\ ``}/${``\ :term:`PN`\ ``}``,
which resolves to a directory named ``formfactor`` in the same directory
in which the append file resides (i.e.
``meta-raspberrypi/recipes-bsp/formfactor``. This implies that you must
have the supporting directory structure set up that will contain any
files or patches you will be including from the layer.
Using the immediate expansion assignment operator ``:=`` is important
because of the reference to :term:`THISDIR`. The trailing colon character is
important as it ensures that items in the list remain colon-separated.
.. note::
BitBake automatically defines the :term:`THISDIR` variable. You should
never set this variable yourself. Using ":prepend" as part of the
:term:`FILESEXTRAPATHS` ensures your path will be searched prior to other
paths in the final list.
Also, not all append files add extra files. Many append files simply
allow to add build options (e.g. ``systemd``). For these cases, your
append file would not even use the :term:`FILESEXTRAPATHS` statement.
The end result of this ``.bbappend`` file is that on a Raspberry Pi, where
``rpi`` will exist in the list of :term:`OVERRIDES`, the file
``meta-raspberrypi/recipes-bsp/formfactor/formfactor/rpi/machconfig`` will be
used during :ref:`ref-tasks-fetch` and the test for a non-zero file size in
:ref:`ref-tasks-install` will return true, and the file will be installed.
Installing Additional Files Using Your Layer
--------------------------------------------
As another example, consider the main ``xserver-xf86-config`` recipe and a
corresponding ``xserver-xf86-config`` append file both from the :term:`Source
Directory`. Here is the main ``xserver-xf86-config`` recipe, which is named
``xserver-xf86-config_0.1.bb`` and located in the "meta" layer at
``meta/recipes-graphics/xorg-xserver``::
SUMMARY = "X.Org X server configuration file"
HOMEPAGE = "http://www.x.org"
SECTION = "x11/base"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r33"
SRC_URI = "file://xorg.conf"
S = "${WORKDIR}"
CONFFILES:${PN} = "${sysconfdir}/X11/xorg.conf"
PACKAGE_ARCH = "${MACHINE_ARCH}"
ALLOW_EMPTY:${PN} = "1"
do_install () {
if test -s ${WORKDIR}/xorg.conf; then
install -d ${D}/${sysconfdir}/X11
install -m 0644 ${WORKDIR}/xorg.conf ${D}/${sysconfdir}/X11/
fi
}
Following is the append file, which is named ``xserver-xf86-config_%.bbappend``
and is from the Raspberry Pi BSP Layer named ``meta-raspberrypi``. The
file is in the layer at ``recipes-graphics/xorg-xserver``::
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append:rpi = " \
file://xorg.conf.d/98-pitft.conf \
file://xorg.conf.d/99-calibration.conf \
"
do_install:append:rpi () {
PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
if [ "${PITFT}" = "1" ]; then
install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
install -m 0644 ${WORKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
install -m 0644 ${WORKDIR}/xorg.conf.d/99-calibration.conf ${D}/${sysconfdir}/X11/xorg.conf.d/
fi
}
FILES:${PN}:append:rpi = " ${sysconfdir}/X11/xorg.conf.d/*"
Building off of the previous example, we once again are setting the
:term:`FILESEXTRAPATHS` variable. In this case we are also using
:term:`SRC_URI` to list additional source files to use when ``rpi`` is found in
the list of :term:`OVERRIDES`. The :ref:`ref-tasks-install` task will then perform a
check for an additional :term:`MACHINE_FEATURES` that if set will cause these
additional files to be installed. These additional files are listed in
:term:`FILES` so that they will be packaged.
Prioritizing Your Layer
=======================
Each layer is assigned a priority value. Priority values control which
layer takes precedence if there are recipe files with the same name in
multiple layers. For these cases, the recipe file from the layer with a
higher priority number takes precedence. Priority values also affect the
order in which multiple ``.bbappend`` files for the same recipe are
applied. You can either specify the priority manually, or allow the
build system to calculate it based on the layer's dependencies.
To specify the layer's priority manually, use the
:term:`BBFILE_PRIORITY`
variable and append the layer's root name::
BBFILE_PRIORITY_mylayer = "1"
.. note::
It is possible for a recipe with a lower version number
:term:`PV` in a layer that has a higher
priority to take precedence.
Also, the layer priority does not currently affect the precedence
order of ``.conf`` or ``.bbclass`` files. Future versions of BitBake
might address this.
Managing Layers
===============
You can use the BitBake layer management tool ``bitbake-layers`` to
provide a view into the structure of recipes across a multi-layer
project. Being able to generate output that reports on configured layers
with their paths and priorities and on ``.bbappend`` files and their
applicable recipes can help to reveal potential problems.
For help on the BitBake layer management tool, use the following
command::
$ bitbake-layers --help
The following list describes the available commands:
- ``help:`` Displays general help or help on a specified command.
- ``show-layers:`` Shows the current configured layers.
- ``show-overlayed:`` Lists overlayed recipes. A recipe is overlayed
when a recipe with the same name exists in another layer that has a
higher layer priority.
- ``show-recipes:`` Lists available recipes and the layers that
provide them.
- ``show-appends:`` Lists ``.bbappend`` files and the recipe files to
which they apply.
- ``show-cross-depends:`` Lists dependency relationships between
recipes that cross layer boundaries.
- ``add-layer:`` Adds a layer to ``bblayers.conf``.
- ``remove-layer:`` Removes a layer from ``bblayers.conf``
- ``flatten:`` Flattens the layer configuration into a separate
output directory. Flattening your layer configuration builds a
"flattened" directory that contains the contents of all layers, with
any overlayed recipes removed and any ``.bbappend`` files appended to
the corresponding recipes. You might have to perform some manual
cleanup of the flattened layer as follows:
- Non-recipe files (such as patches) are overwritten. The flatten
command shows a warning for these files.
- Anything beyond the normal layer setup has been added to the
``layer.conf`` file. Only the lowest priority layer's
``layer.conf`` is used.
- Overridden and appended items from ``.bbappend`` files need to be
cleaned up. The contents of each ``.bbappend`` end up in the
flattened recipe. However, if there are appended or changed
variable values, you need to tidy these up yourself. Consider the
following example. Here, the ``bitbake-layers`` command adds the
line ``#### bbappended ...`` so that you know where the following
lines originate::
...
DESCRIPTION = "A useful utility"
...
EXTRA_OECONF = "--enable-something"
...
#### bbappended from meta-anotherlayer ####
DESCRIPTION = "Customized utility"
EXTRA_OECONF += "--enable-somethingelse"
Ideally, you would tidy up these utilities as follows::
...
DESCRIPTION = "Customized utility"
...
EXTRA_OECONF = "--enable-something --enable-somethingelse"
...
- ``layerindex-fetch``: Fetches a layer from a layer index, along
with its dependent layers, and adds the layers to the
``conf/bblayers.conf`` file.
- ``layerindex-show-depends``: Finds layer dependencies from the
layer index.
- ``save-build-conf``: Saves the currently active build configuration
(``conf/local.conf``, ``conf/bblayers.conf``) as a template into a layer.
This template can later be used for setting up builds via :term:``TEMPLATECONF``.
For information about saving and using configuration templates, see
":ref:`dev-manual/custom-template-configuration-directory:creating a custom template configuration directory`".
- ``create-layer``: Creates a basic layer.
- ``create-layers-setup``: Writes out a configuration file and/or a script that
can replicate the directory structure and revisions of the layers in a current build.
For more information, see ":ref:`dev-manual/layers:saving and restoring the layers setup`".
Creating a General Layer Using the ``bitbake-layers`` Script
============================================================
The ``bitbake-layers`` script with the ``create-layer`` subcommand
simplifies creating a new general layer.
.. note::
- For information on BSP layers, see the ":ref:`bsp-guide/bsp:bsp layers`"
section in the Yocto
Project Board Specific (BSP) Developer's Guide.
- In order to use a layer with the OpenEmbedded build system, you
need to add the layer to your ``bblayers.conf`` configuration
file. See the ":ref:`dev-manual/layers:adding a layer using the \`\`bitbake-layers\`\` script`"
section for more information.
The default mode of the script's operation with this subcommand is to
create a layer with the following:
- A layer priority of 6.
- A ``conf`` subdirectory that contains a ``layer.conf`` file.
- A ``recipes-example`` subdirectory that contains a further
subdirectory named ``example``, which contains an ``example.bb``
recipe file.
- A ``COPYING.MIT``, which is the license statement for the layer. The
script assumes you want to use the MIT license, which is typical for
most layers, for the contents of the layer itself.
- A ``README`` file, which is a file describing the contents of your
new layer.
In its simplest form, you can use the following command form to create a
layer. The command creates a layer whose name corresponds to
"your_layer_name" in the current directory::
$ bitbake-layers create-layer your_layer_name
As an example, the following command creates a layer named ``meta-scottrif``
in your home directory::
$ cd /usr/home
$ bitbake-layers create-layer meta-scottrif
NOTE: Starting bitbake server...
Add your new layer with 'bitbake-layers add-layer meta-scottrif'
If you want to set the priority of the layer to other than the default
value of "6", you can either use the ``--priority`` option or you
can edit the
:term:`BBFILE_PRIORITY` value
in the ``conf/layer.conf`` after the script creates it. Furthermore, if
you want to give the example recipe file some name other than the
default, you can use the ``--example-recipe-name`` option.
The easiest way to see how the ``bitbake-layers create-layer`` command
works is to experiment with the script. You can also read the usage
information by entering the following::
$ bitbake-layers create-layer --help
NOTE: Starting bitbake server...
usage: bitbake-layers create-layer [-h] [--priority PRIORITY]
[--example-recipe-name EXAMPLERECIPE]
layerdir
Create a basic layer
positional arguments:
layerdir Layer directory to create
optional arguments:
-h, --help show this help message and exit
--priority PRIORITY, -p PRIORITY
Layer directory to create
--example-recipe-name EXAMPLERECIPE, -e EXAMPLERECIPE
Filename of the example recipe
Adding a Layer Using the ``bitbake-layers`` Script
==================================================
Once you create your general layer, you must add it to your
``bblayers.conf`` file. Adding the layer to this configuration file
makes the OpenEmbedded build system aware of your layer so that it can
search it for metadata.
Add your layer by using the ``bitbake-layers add-layer`` command::
$ bitbake-layers add-layer your_layer_name
Here is an example that adds a
layer named ``meta-scottrif`` to the configuration file. Following the
command that adds the layer is another ``bitbake-layers`` command that
shows the layers that are in your ``bblayers.conf`` file::
$ bitbake-layers add-layer meta-scottrif
NOTE: Starting bitbake server...
Parsing recipes: 100% |##########################################################| Time: 0:00:49
Parsing of 1441 .bb files complete (0 cached, 1441 parsed). 2055 targets, 56 skipped, 0 masked, 0 errors.
$ bitbake-layers show-layers
NOTE: Starting bitbake server...
layer path priority
==========================================================================
meta /home/scottrif/poky/meta 5
meta-poky /home/scottrif/poky/meta-poky 5
meta-yocto-bsp /home/scottrif/poky/meta-yocto-bsp 5
workspace /home/scottrif/poky/build/workspace 99
meta-scottrif /home/scottrif/poky/build/meta-scottrif 6
Adding the layer to this file
enables the build system to locate the layer during the build.
.. note::
During a build, the OpenEmbedded build system looks in the layers
from the top of the list down to the bottom in that order.
Saving and restoring the layers setup
=====================================
Once you have a working build with the correct set of layers, it is beneficial
to capture the layer setup --- what they are, which repositories they come from
and which SCM revisions they're at --- into a configuration file, so that this
setup can be easily replicated later, perhaps on a different machine. Here's
how to do this::
$ bitbake-layers create-layers-setup /srv/work/alex/meta-alex/
NOTE: Starting bitbake server...
NOTE: Created /srv/work/alex/meta-alex/setup-layers.json
NOTE: Created /srv/work/alex/meta-alex/setup-layers
The tool needs a single argument which tells where to place the output, consisting
of a json formatted layer configuration, and a ``setup-layers`` script that can use that configuration
to restore the layers in a different location, or on a different host machine. The argument
can point to a custom layer (which is then deemed a "bootstrap" layer that needs to be
checked out first), or into a completely independent location.
The replication of the layers is performed by running the ``setup-layers`` script provided
above:
#. Clone the bootstrap layer or some other repository to obtain
the json config and the setup script that can use it.
#. Run the script directly with no options::
alex@Zen2:/srv/work/alex/my-build$ meta-alex/setup-layers
Note: not checking out source meta-alex, use --force-bootstraplayer-checkout to override.
Setting up source meta-intel, revision 15.0-hardknott-3.3-310-g0a96edae, branch master
Running 'git init -q /srv/work/alex/my-build/meta-intel'
Running 'git remote remove origin > /dev/null 2>&1; git remote add origin git://git.yoctoproject.org/meta-intel' in /srv/work/alex/my-build/meta-intel
Running 'git fetch -q origin || true' in /srv/work/alex/my-build/meta-intel
Running 'git checkout -q 0a96edae609a3f48befac36af82cf1eed6786b4a' in /srv/work/alex/my-build/meta-intel
Setting up source poky, revision 4.1_M1-372-g55483d28f2, branch akanavin/setup-layers
Running 'git init -q /srv/work/alex/my-build/poky'
Running 'git remote remove origin > /dev/null 2>&1; git remote add origin git://git.yoctoproject.org/poky' in /srv/work/alex/my-build/poky
Running 'git fetch -q origin || true' in /srv/work/alex/my-build/poky
Running 'git remote remove poky-contrib > /dev/null 2>&1; git remote add poky-contrib ssh://git@push.yoctoproject.org/poky-contrib' in /srv/work/alex/my-build/poky
Running 'git fetch -q poky-contrib || true' in /srv/work/alex/my-build/poky
Running 'git checkout -q 11db0390b02acac1324e0f827beb0e2e3d0d1d63' in /srv/work/alex/my-build/poky
.. note::
This will work to update an existing checkout as well.
.. note::
The script is self-sufficient and requires only python3
and git on the build machine.
.. note::
Both the ``create-layers-setup`` and the ``setup-layers`` provided several additional options
that customize their behavior - you are welcome to study them via ``--help`` command line parameter.

View File

@@ -0,0 +1,267 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Working With Libraries
**********************
Libraries are an integral part of your system. This section describes
some common practices you might find helpful when working with libraries
to build your system:
- :ref:`How to include static library files
<dev-manual/libraries:including static library files>`
- :ref:`How to use the Multilib feature to combine multiple versions of
library files into a single image
<dev-manual/libraries:combining multiple versions of library files into one image>`
- :ref:`How to install multiple versions of the same library in parallel on
the same system
<dev-manual/libraries:installing multiple versions of the same library>`
Including Static Library Files
==============================
If you are building a library and the library offers static linking, you
can control which static library files (``*.a`` files) get included in
the built library.
The :term:`PACKAGES` and
:term:`FILES:* <FILES>` variables in the
``meta/conf/bitbake.conf`` configuration file define how files installed
by the :ref:`ref-tasks-install` task are packaged. By default, the :term:`PACKAGES`
variable includes ``${PN}-staticdev``, which represents all static
library files.
.. note::
Some previously released versions of the Yocto Project defined the
static library files through ``${PN}-dev``.
Following is part of the BitBake configuration file, where you can see
how the static library files are defined::
PACKAGE_BEFORE_PN ?= ""
PACKAGES = "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
PACKAGES_DYNAMIC = "^${PN}-locale-.*"
FILES = ""
FILES:${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
${sysconfdir} ${sharedstatedir} ${localstatedir} \
${base_bindir}/* ${base_sbindir}/* \
${base_libdir}/*${SOLIBS} \
${base_prefix}/lib/udev ${prefix}/lib/udev \
${base_libdir}/udev ${libdir}/udev \
${datadir}/${BPN} ${libdir}/${BPN}/* \
${datadir}/pixmaps ${datadir}/applications \
${datadir}/idl ${datadir}/omf ${datadir}/sounds \
${libdir}/bonobo/servers"
FILES:${PN}-bin = "${bindir}/* ${sbindir}/*"
FILES:${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \
${datadir}/gnome/help"
SECTION:${PN}-doc = "doc"
FILES_SOLIBSDEV ?= "${base_libdir}/lib*${SOLIBSDEV} ${libdir}/lib*${SOLIBSDEV}"
FILES:${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \
${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \
${datadir}/aclocal ${base_libdir}/*.o \
${libdir}/${BPN}/*.la ${base_libdir}/*.la \
${libdir}/cmake ${datadir}/cmake"
SECTION:${PN}-dev = "devel"
ALLOW_EMPTY:${PN}-dev = "1"
RDEPENDS:${PN}-dev = "${PN} (= ${EXTENDPKGV})"
FILES:${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a ${libdir}/${BPN}/*.a"
SECTION:${PN}-staticdev = "devel"
RDEPENDS:${PN}-staticdev = "${PN}-dev (= ${EXTENDPKGV})"
Combining Multiple Versions of Library Files into One Image
===========================================================
The build system offers the ability to build libraries with different
target optimizations or architecture formats and combine these together
into one system image. You can link different binaries in the image
against the different libraries as needed for specific use cases. This
feature is called "Multilib".
An example would be where you have most of a system compiled in 32-bit
mode using 32-bit libraries, but you have something large, like a
database engine, that needs to be a 64-bit application and uses 64-bit
libraries. Multilib allows you to get the best of both 32-bit and 64-bit
libraries.
While the Multilib feature is most commonly used for 32 and 64-bit
differences, the approach the build system uses facilitates different
target optimizations. You could compile some binaries to use one set of
libraries and other binaries to use a different set of libraries. The
libraries could differ in architecture, compiler options, or other
optimizations.
There are several examples in the ``meta-skeleton`` layer found in the
:term:`Source Directory`:
- :oe_git:`conf/multilib-example.conf </openembedded-core/tree/meta-skeleton/conf/multilib-example.conf>`
configuration file.
- :oe_git:`conf/multilib-example2.conf </openembedded-core/tree/meta-skeleton/conf/multilib-example2.conf>`
configuration file.
- :oe_git:`recipes-multilib/images/core-image-multilib-example.bb </openembedded-core/tree/meta-skeleton/recipes-multilib/images/core-image-multilib-example.bb>`
recipe
Preparing to Use Multilib
-------------------------
User-specific requirements drive the Multilib feature. Consequently,
there is no one "out-of-the-box" configuration that would
meet your needs.
In order to enable Multilib, you first need to ensure your recipe is
extended to support multiple libraries. Many standard recipes are
already extended and support multiple libraries. You can check in the
``meta/conf/multilib.conf`` configuration file in the
:term:`Source Directory` to see how this is
done using the
:term:`BBCLASSEXTEND` variable.
Eventually, all recipes will be covered and this list will not be
needed.
For the most part, the :ref:`Multilib <ref-classes-multilib*>`
class extension works automatically to
extend the package name from ``${PN}`` to ``${MLPREFIX}${PN}``, where
:term:`MLPREFIX` is the particular multilib (e.g. "lib32-" or "lib64-").
Standard variables such as
:term:`DEPENDS`,
:term:`RDEPENDS`,
:term:`RPROVIDES`,
:term:`RRECOMMENDS`,
:term:`PACKAGES`, and
:term:`PACKAGES_DYNAMIC` are
automatically extended by the system. If you are extending any manual
code in the recipe, you can use the ``${MLPREFIX}`` variable to ensure
those names are extended correctly.
Using Multilib
--------------
After you have set up the recipes, you need to define the actual
combination of multiple libraries you want to build. You accomplish this
through your ``local.conf`` configuration file in the
:term:`Build Directory`. An example configuration would be as follows::
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL:append = " lib32-glib-2.0"
This example enables an additional library named
``lib32`` alongside the normal target packages. When combining these
"lib32" alternatives, the example uses "x86" for tuning. For information
on this particular tuning, see
``meta/conf/machine/include/ia32/arch-ia32.inc``.
The example then includes ``lib32-glib-2.0`` in all the images, which
illustrates one method of including a multiple library dependency. You
can use a normal image build to include this dependency, for example::
$ bitbake core-image-sato
You can also build Multilib packages
specifically with a command like this::
$ bitbake lib32-glib-2.0
Additional Implementation Details
---------------------------------
There are generic implementation details as well as details that are specific to
package management systems. Following are implementation details
that exist regardless of the package management system:
- The typical convention used for the class extension code as used by
Multilib assumes that all package names specified in
:term:`PACKAGES` that contain
``${PN}`` have ``${PN}`` at the start of the name. When that
convention is not followed and ``${PN}`` appears at the middle or the
end of a name, problems occur.
- The :term:`TARGET_VENDOR`
value under Multilib will be extended to "-vendormlmultilib" (e.g.
"-pokymllib32" for a "lib32" Multilib with Poky). The reason for this
slightly unwieldy contraction is that any "-" characters in the
vendor string presently break Autoconf's ``config.sub``, and other
separators are problematic for different reasons.
Here are the implementation details for the RPM Package Management System:
- A unique architecture is defined for the Multilib packages, along
with creating a unique deploy folder under ``tmp/deploy/rpm`` in the
:term:`Build Directory`. For example, consider ``lib32`` in a
``qemux86-64`` image. The possible architectures in the system are "all",
"qemux86_64", "lib32:qemux86_64", and "lib32:x86".
- The ``${MLPREFIX}`` variable is stripped from ``${PN}`` during RPM
packaging. The naming for a normal RPM package and a Multilib RPM
package in a ``qemux86-64`` system resolves to something similar to
``bash-4.1-r2.x86_64.rpm`` and ``bash-4.1.r2.lib32_x86.rpm``,
respectively.
- When installing a Multilib image, the RPM backend first installs the
base image and then installs the Multilib libraries.
- The build system relies on RPM to resolve the identical files in the
two (or more) Multilib packages.
Here are the implementation details for the IPK Package Management System:
- The ``${MLPREFIX}`` is not stripped from ``${PN}`` during IPK
packaging. The naming for a normal RPM package and a Multilib IPK
package in a ``qemux86-64`` system resolves to something like
``bash_4.1-r2.x86_64.ipk`` and ``lib32-bash_4.1-rw:x86.ipk``,
respectively.
- The IPK deploy folder is not modified with ``${MLPREFIX}`` because
packages with and without the Multilib feature can exist in the same
folder due to the ``${PN}`` differences.
- IPK defines a sanity check for Multilib installation using certain
rules for file comparison, overridden, etc.
Installing Multiple Versions of the Same Library
================================================
There are be situations where you need to install and use multiple versions
of the same library on the same system at the same time. This
almost always happens when a library API changes and you have
multiple pieces of software that depend on the separate versions of the
library. To accommodate these situations, you can install multiple
versions of the same library in parallel on the same system.
The process is straightforward as long as the libraries use proper
versioning. With properly versioned libraries, all you need to do to
individually specify the libraries is create separate, appropriately
named recipes where the :term:`PN` part of
the name includes a portion that differentiates each library version
(e.g. the major part of the version number). Thus, instead of having a
single recipe that loads one version of a library (e.g. ``clutter``),
you provide multiple recipes that result in different versions of the
libraries you want. As an example, the following two recipes would allow
the two separate versions of the ``clutter`` library to co-exist on the
same system:
.. code-block:: none
clutter-1.6_1.6.20.bb
clutter-1.8_1.8.4.bb
Additionally, if
you have other recipes that depend on a given library, you need to use
the :term:`DEPENDS` variable to
create the dependency. Continuing with the same example, if you want to
have a recipe depend on the 1.8 version of the ``clutter`` library, use
the following in your recipe::
DEPENDS = "clutter-1.8"

View File

@@ -0,0 +1,522 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Working With Licenses
*********************
As mentioned in the ":ref:`overview-manual/development-environment:licensing`"
section in the Yocto Project Overview and Concepts Manual, open source
projects are open to the public and they consequently have different
licensing structures in place. This section describes the mechanism by
which the :term:`OpenEmbedded Build System`
tracks changes to
licensing text and covers how to maintain open source license compliance
during your project's lifecycle. The section also describes how to
enable commercially licensed recipes, which by default are disabled.
Tracking License Changes
========================
The license of an upstream project might change in the future. In order
to prevent these changes going unnoticed, the
:term:`LIC_FILES_CHKSUM`
variable tracks changes to the license text. The checksums are validated
at the end of the configure step, and if the checksums do not match, the
build will fail.
Specifying the ``LIC_FILES_CHKSUM`` Variable
--------------------------------------------
The :term:`LIC_FILES_CHKSUM` variable contains checksums of the license text
in the source code for the recipe. Following is an example of how to
specify :term:`LIC_FILES_CHKSUM`::
LIC_FILES_CHKSUM = "file://COPYING;md5=xxxx \
file://licfile1.txt;beginline=5;endline=29;md5=yyyy \
file://licfile2.txt;endline=50;md5=zzzz \
..."
.. note::
- When using "beginline" and "endline", realize that line numbering
begins with one and not zero. Also, the included lines are
inclusive (i.e. lines five through and including 29 in the
previous example for ``licfile1.txt``).
- When a license check fails, the selected license text is included
as part of the QA message. Using this output, you can determine
the exact start and finish for the needed license text.
The build system uses the :term:`S`
variable as the default directory when searching files listed in
:term:`LIC_FILES_CHKSUM`. The previous example employs the default
directory.
Consider this next example::
LIC_FILES_CHKSUM = "file://src/ls.c;beginline=5;endline=16;\
md5=bb14ed3c4cda583abc85401304b5cd4e"
LIC_FILES_CHKSUM = "file://${WORKDIR}/license.html;md5=5c94767cedb5d6987c902ac850ded2c6"
The first line locates a file in ``${S}/src/ls.c`` and isolates lines
five through 16 as license text. The second line refers to a file in
:term:`WORKDIR`.
Note that :term:`LIC_FILES_CHKSUM` variable is mandatory for all recipes,
unless the :term:`LICENSE` variable is set to "CLOSED".
Explanation of Syntax
---------------------
As mentioned in the previous section, the :term:`LIC_FILES_CHKSUM` variable
lists all the important files that contain the license text for the
source code. It is possible to specify a checksum for an entire file, or
a specific section of a file (specified by beginning and ending line
numbers with the "beginline" and "endline" parameters, respectively).
The latter is useful for source files with a license notice header,
README documents, and so forth. If you do not use the "beginline"
parameter, then it is assumed that the text begins on the first line of
the file. Similarly, if you do not use the "endline" parameter, it is
assumed that the license text ends with the last line of the file.
The "md5" parameter stores the md5 checksum of the license text. If the
license text changes in any way as compared to this parameter then a
mismatch occurs. This mismatch triggers a build failure and notifies the
developer. Notification allows the developer to review and address the
license text changes. Also note that if a mismatch occurs during the
build, the correct md5 checksum is placed in the build log and can be
easily copied to the recipe.
There is no limit to how many files you can specify using the
:term:`LIC_FILES_CHKSUM` variable. Generally, however, every project
requires a few specifications for license tracking. Many projects have a
"COPYING" file that stores the license information for all the source
code files. This practice allows you to just track the "COPYING" file as
long as it is kept up to date.
.. note::
- If you specify an empty or invalid "md5" parameter,
:term:`BitBake` returns an md5
mis-match error and displays the correct "md5" parameter value
during the build. The correct parameter is also captured in the
build log.
- If the whole file contains only license text, you do not need to
use the "beginline" and "endline" parameters.
Enabling Commercially Licensed Recipes
======================================
By default, the OpenEmbedded build system disables components that have
commercial or other special licensing requirements. Such requirements
are defined on a recipe-by-recipe basis through the
:term:`LICENSE_FLAGS` variable
definition in the affected recipe. For instance, the
``poky/meta/recipes-multimedia/gstreamer/gst-plugins-ugly`` recipe
contains the following statement::
LICENSE_FLAGS = "commercial"
Here is a
slightly more complicated example that contains both an explicit recipe
name and version (after variable expansion)::
LICENSE_FLAGS = "license_${PN}_${PV}"
In order for a component restricted by a
:term:`LICENSE_FLAGS` definition to be enabled and included in an image, it
needs to have a matching entry in the global
:term:`LICENSE_FLAGS_ACCEPTED`
variable, which is a variable typically defined in your ``local.conf``
file. For example, to enable the
``poky/meta/recipes-multimedia/gstreamer/gst-plugins-ugly`` package, you
could add either the string "commercial_gst-plugins-ugly" or the more
general string "commercial" to :term:`LICENSE_FLAGS_ACCEPTED`. See the
":ref:`dev-manual/licenses:license flag matching`" section for a full
explanation of how :term:`LICENSE_FLAGS` matching works. Here is the
example::
LICENSE_FLAGS_ACCEPTED = "commercial_gst-plugins-ugly"
Likewise, to additionally enable the package built from the recipe
containing ``LICENSE_FLAGS = "license_${PN}_${PV}"``, and assuming that
the actual recipe name was ``emgd_1.10.bb``, the following string would
enable that package as well as the original ``gst-plugins-ugly``
package::
LICENSE_FLAGS_ACCEPTED = "commercial_gst-plugins-ugly license_emgd_1.10"
As a convenience, you do not need to specify the
complete license string for every package. You can use
an abbreviated form, which consists of just the first portion or
portions of the license string before the initial underscore character
or characters. A partial string will match any license that contains the
given string as the first portion of its license. For example, the
following value will also match both of the packages
previously mentioned as well as any other packages that have licenses
starting with "commercial" or "license"::
LICENSE_FLAGS_ACCEPTED = "commercial license"
License Flag Matching
---------------------
License flag matching allows you to control what recipes the
OpenEmbedded build system includes in the build. Fundamentally, the
build system attempts to match :term:`LICENSE_FLAGS` strings found in
recipes against strings found in :term:`LICENSE_FLAGS_ACCEPTED`.
A match causes the build system to include a recipe in the
build, while failure to find a match causes the build system to exclude
a recipe.
In general, license flag matching is simple. However, understanding some
concepts will help you correctly and effectively use matching.
Before a flag defined by a particular recipe is tested against the
entries of :term:`LICENSE_FLAGS_ACCEPTED`, the expanded
string ``_${PN}`` is appended to the flag. This expansion makes each
:term:`LICENSE_FLAGS` value recipe-specific. After expansion, the
string is then matched against the entries. Thus, specifying
``LICENSE_FLAGS = "commercial"`` in recipe "foo", for example, results
in the string ``"commercial_foo"``. And, to create a match, that string
must appear among the entries of :term:`LICENSE_FLAGS_ACCEPTED`.
Judicious use of the :term:`LICENSE_FLAGS` strings and the contents of the
:term:`LICENSE_FLAGS_ACCEPTED` variable allows you a lot of flexibility for
including or excluding recipes based on licensing. For example, you can
broaden the matching capabilities by using license flags string subsets
in :term:`LICENSE_FLAGS_ACCEPTED`.
.. note::
When using a string subset, be sure to use the part of the expanded
string that precedes the appended underscore character (e.g.
``usethispart_1.3``, ``usethispart_1.4``, and so forth).
For example, simply specifying the string "commercial" in the
:term:`LICENSE_FLAGS_ACCEPTED` variable matches any expanded
:term:`LICENSE_FLAGS` definition that starts with the string
"commercial" such as "commercial_foo" and "commercial_bar", which
are the strings the build system automatically generates for
hypothetical recipes named "foo" and "bar" assuming those recipes simply
specify the following::
LICENSE_FLAGS = "commercial"
Thus, you can choose to exhaustively enumerate each license flag in the
list and allow only specific recipes into the image, or you can use a
string subset that causes a broader range of matches to allow a range of
recipes into the image.
This scheme works even if the :term:`LICENSE_FLAGS` string already has
``_${PN}`` appended. For example, the build system turns the license
flag "commercial_1.2_foo" into "commercial_1.2_foo_foo" and would match
both the general "commercial" and the specific "commercial_1.2_foo"
strings found in the :term:`LICENSE_FLAGS_ACCEPTED` variable, as expected.
Here are some other scenarios:
- You can specify a versioned string in the recipe such as
"commercial_foo_1.2" in a "foo" recipe. The build system expands this
string to "commercial_foo_1.2_foo". Combine this license flag with a
:term:`LICENSE_FLAGS_ACCEPTED` variable that has the string
"commercial" and you match the flag along with any other flag that
starts with the string "commercial".
- Under the same circumstances, you can add "commercial_foo" in the
:term:`LICENSE_FLAGS_ACCEPTED` variable and the build system not only
matches "commercial_foo_1.2" but also matches any license flag with
the string "commercial_foo", regardless of the version.
- You can be very specific and use both the package and version parts
in the :term:`LICENSE_FLAGS_ACCEPTED` list (e.g.
"commercial_foo_1.2") to specifically match a versioned recipe.
Other Variables Related to Commercial Licenses
----------------------------------------------
There are other helpful variables related to commercial license handling,
defined in the
``poky/meta/conf/distro/include/default-distrovars.inc`` file::
COMMERCIAL_AUDIO_PLUGINS ?= ""
COMMERCIAL_VIDEO_PLUGINS ?= ""
If you want to enable these components, you can do so by making sure you have
statements similar to the following in your ``local.conf`` configuration file::
COMMERCIAL_AUDIO_PLUGINS = "gst-plugins-ugly-mad \
gst-plugins-ugly-mpegaudioparse"
COMMERCIAL_VIDEO_PLUGINS = "gst-plugins-ugly-mpeg2dec \
gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
LICENSE_FLAGS_ACCEPTED = "commercial_gst-plugins-ugly commercial_gst-plugins-bad commercial_qmmp"
Of course, you could also create a matching list for those components using the
more general "commercial" string in the :term:`LICENSE_FLAGS_ACCEPTED` variable,
but that would also enable all the other packages with :term:`LICENSE_FLAGS`
containing "commercial", which you may or may not want::
LICENSE_FLAGS_ACCEPTED = "commercial"
Specifying audio and video plugins as part of the
:term:`COMMERCIAL_AUDIO_PLUGINS` and :term:`COMMERCIAL_VIDEO_PLUGINS` statements
(along with :term:`LICENSE_FLAGS_ACCEPTED`) includes the plugins or
components into built images, thus adding support for media formats or
components.
.. note::
GStreamer "ugly" and "bad" plugins are actually available through
open source licenses. However, the "ugly" ones can be subject to software
patents in some countries, making it necessary to pay licensing fees
to distribute them. The "bad" ones are just deemed unreliable by the
GStreamer community and should therefore be used with care.
Maintaining Open Source License Compliance During Your Product's Lifecycle
==========================================================================
One of the concerns for a development organization using open source
software is how to maintain compliance with various open source
licensing during the lifecycle of the product. While this section does
not provide legal advice or comprehensively cover all scenarios, it does
present methods that you can use to assist you in meeting the compliance
requirements during a software release.
With hundreds of different open source licenses that the Yocto Project
tracks, it is difficult to know the requirements of each and every
license. However, the requirements of the major FLOSS licenses can begin
to be covered by assuming that there are three main areas of concern:
- Source code must be provided.
- License text for the software must be provided.
- Compilation scripts and modifications to the source code must be
provided.
There are other requirements beyond the scope of these three and the
methods described in this section (e.g. the mechanism through which
source code is distributed).
As different organizations have different methods of complying with open
source licensing, this section is not meant to imply that there is only
one single way to meet your compliance obligations, but rather to
describe one method of achieving compliance. The remainder of this
section describes methods supported to meet the previously mentioned
three requirements. Once you take steps to meet these requirements, and
prior to releasing images, sources, and the build system, you should
audit all artifacts to ensure completeness.
.. note::
The Yocto Project generates a license manifest during image creation
that is located in ``${DEPLOY_DIR}/licenses/``\ `image_name`\ ``-``\ `datestamp`
to assist with any audits.
Providing the Source Code
-------------------------
Compliance activities should begin before you generate the final image.
The first thing you should look at is the requirement that tops the list
for most compliance groups --- providing the source. The Yocto Project has
a few ways of meeting this requirement.
One of the easiest ways to meet this requirement is to provide the
entire :term:`DL_DIR` used by the
build. This method, however, has a few issues. The most obvious is the
size of the directory since it includes all sources used in the build
and not just the source used in the released image. It will include
toolchain source, and other artifacts, which you would not generally
release. However, the more serious issue for most companies is
accidental release of proprietary software. The Yocto Project provides
an :ref:`ref-classes-archiver` class to help avoid some of these concerns.
Before you employ :term:`DL_DIR` or the :ref:`ref-classes-archiver` class, you
need to decide how you choose to provide source. The source
:ref:`ref-classes-archiver` class can generate tarballs and SRPMs and can
create them with various levels of compliance in mind.
One way of doing this (but certainly not the only way) is to release
just the source as a tarball. You can do this by adding the following to
the ``local.conf`` file found in the :term:`Build Directory`::
INHERIT += "archiver"
ARCHIVER_MODE[src] = "original"
During the creation of your
image, the source from all recipes that deploy packages to the image is
placed within subdirectories of ``DEPLOY_DIR/sources`` based on the
:term:`LICENSE` for each recipe.
Releasing the entire directory enables you to comply with requirements
concerning providing the unmodified source. It is important to note that
the size of the directory can get large.
A way to help mitigate the size issue is to only release tarballs for
licenses that require the release of source. Let us assume you are only
concerned with GPL code as identified by running the following script:
.. code-block:: shell
# Script to archive a subset of packages matching specific license(s)
# Source and license files are copied into sub folders of package folder
# Must be run from build folder
#!/bin/bash
src_release_dir="source-release"
mkdir -p $src_release_dir
for a in tmp/deploy/sources/*; do
for d in $a/*; do
# Get package name from path
p=`basename $d`
p=${p%-*}
p=${p%-*}
# Only archive GPL packages (update *GPL* regex for your license check)
numfiles=`ls tmp/deploy/licenses/$p/*GPL* 2> /dev/null | wc -l`
if [ $numfiles -ge 1 ]; then
echo Archiving $p
mkdir -p $src_release_dir/$p/source
cp $d/* $src_release_dir/$p/source 2> /dev/null
mkdir -p $src_release_dir/$p/license
cp tmp/deploy/licenses/$p/* $src_release_dir/$p/license 2> /dev/null
fi
done
done
At this point, you
could create a tarball from the ``gpl_source_release`` directory and
provide that to the end user. This method would be a step toward
achieving compliance with section 3a of GPLv2 and with section 6 of
GPLv3.
Providing License Text
----------------------
One requirement that is often overlooked is inclusion of license text.
This requirement also needs to be dealt with prior to generating the
final image. Some licenses require the license text to accompany the
binary. You can achieve this by adding the following to your
``local.conf`` file::
COPY_LIC_MANIFEST = "1"
COPY_LIC_DIRS = "1"
LICENSE_CREATE_PACKAGE = "1"
Adding these statements to the
configuration file ensures that the licenses collected during package
generation are included on your image.
.. note::
Setting all three variables to "1" results in the image having two
copies of the same license file. One copy resides in
``/usr/share/common-licenses`` and the other resides in
``/usr/share/license``.
The reason for this behavior is because
:term:`COPY_LIC_DIRS` and
:term:`COPY_LIC_MANIFEST`
add a copy of the license when the image is built but do not offer a
path for adding licenses for newly installed packages to an image.
:term:`LICENSE_CREATE_PACKAGE`
adds a separate package and an upgrade path for adding licenses to an
image.
As the source :ref:`ref-classes-archiver` class has already archived the
original unmodified source that contains the license files, you would have
already met the requirements for inclusion of the license information
with source as defined by the GPL and other open source licenses.
Providing Compilation Scripts and Source Code Modifications
-----------------------------------------------------------
At this point, we have addressed all we need to prior to generating the
image. The next two requirements are addressed during the final
packaging of the release.
By releasing the version of the OpenEmbedded build system and the layers
used during the build, you will be providing both compilation scripts
and the source code modifications in one step.
If the deployment team has a :ref:`overview-manual/concepts:bsp layer`
and a distro layer, and those
those layers are used to patch, compile, package, or modify (in any way)
any open source software included in your released images, you might be
required to release those layers under section 3 of GPLv2 or section 1
of GPLv3. One way of doing that is with a clean checkout of the version
of the Yocto Project and layers used during your build. Here is an
example:
.. code-block:: shell
# We built using the dunfell branch of the poky repo
$ git clone -b dunfell git://git.yoctoproject.org/poky
$ cd poky
# We built using the release_branch for our layers
$ git clone -b release_branch git://git.mycompany.com/meta-my-bsp-layer
$ git clone -b release_branch git://git.mycompany.com/meta-my-software-layer
# clean up the .git repos
$ find . -name ".git" -type d -exec rm -rf {} \;
One thing a development organization might want to consider for end-user
convenience is to modify
``meta-poky/conf/templates/default/bblayers.conf.sample`` to ensure that when
the end user utilizes the released build system to build an image, the
development organization's layers are included in the ``bblayers.conf`` file
automatically::
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-yocto-bsp \
##OEROOT##/meta-mylayer \
"
Creating and
providing an archive of the :term:`Metadata`
layers (recipes, configuration files, and so forth) enables you to meet
your requirements to include the scripts to control compilation as well
as any modifications to the original source.
Compliance Limitations with Executables Built from Static Libraries
-------------------------------------------------------------------
When package A is added to an image via the :term:`RDEPENDS` or :term:`RRECOMMENDS`
mechanisms as well as explicitly included in the image recipe with
:term:`IMAGE_INSTALL`, and depends on a static linked library recipe B
(``DEPENDS += "B"``), package B will neither appear in the generated license
manifest nor in the generated source tarballs. This occurs as the
:ref:`ref-classes-license` and :ref:`ref-classes-archiver` classes assume that
only packages included via :term:`RDEPENDS` or :term:`RRECOMMENDS`
end up in the image.
As a result, potential obligations regarding license compliance for package B
may not be met.
The Yocto Project doesn't enable static libraries by default, in part because
of this issue. Before a solution to this limitation is found, you need to
keep in mind that if your root filesystem is built from static libraries,
you will need to manually ensure that your deliveries are compliant
with the licenses of these libraries.
Copying Non Standard Licenses
=============================
Some packages, such as the linux-firmware package, have many licenses
that are not in any way common. You can avoid adding a lot of these
types of common license files, which are only applicable to a specific
package, by using the
:term:`NO_GENERIC_LICENSE`
variable. Using this variable also avoids QA errors when you use a
non-common, non-CLOSED license in a recipe.
Here is an example that uses the ``LICENSE.Abilis.txt`` file as
the license from the fetched source::
NO_GENERIC_LICENSE[Firmware-Abilis] = "LICENSE.Abilis.txt"

View File

@@ -0,0 +1,118 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Adding a New Machine
********************
Adding a new machine to the Yocto Project is a straightforward process.
This section describes how to add machines that are similar to those
that the Yocto Project already supports.
.. note::
Although well within the capabilities of the Yocto Project, adding a
totally new architecture might require changes to ``gcc``/``glibc``
and to the site information, which is beyond the scope of this
manual.
For a complete example that shows how to add a new machine, see the
":ref:`bsp-guide/bsp:creating a new bsp layer using the \`\`bitbake-layers\`\` script`"
section in the Yocto Project Board Support Package (BSP) Developer's
Guide.
Adding the Machine Configuration File
=====================================
To add a new machine, you need to add a new machine configuration file
to the layer's ``conf/machine`` directory. This configuration file
provides details about the device you are adding.
The OpenEmbedded build system uses the root name of the machine
configuration file to reference the new machine. For example, given a
machine configuration file named ``crownbay.conf``, the build system
recognizes the machine as "crownbay".
The most important variables you must set in your machine configuration
file or include from a lower-level configuration file are as follows:
- :term:`TARGET_ARCH` (e.g. "arm")
- ``PREFERRED_PROVIDER_virtual/kernel``
- :term:`MACHINE_FEATURES` (e.g. "apm screen wifi")
You might also need these variables:
- :term:`SERIAL_CONSOLES` (e.g. "115200;ttyS0 115200;ttyS1")
- :term:`KERNEL_IMAGETYPE` (e.g. "zImage")
- :term:`IMAGE_FSTYPES` (e.g. "tar.gz jffs2")
You can find full details on these variables in the reference section.
You can leverage existing machine ``.conf`` files from
``meta-yocto-bsp/conf/machine/``.
Adding a Kernel for the Machine
===============================
The OpenEmbedded build system needs to be able to build a kernel for the
machine. You need to either create a new kernel recipe for this machine,
or extend an existing kernel recipe. You can find several kernel recipe
examples in the Source Directory at ``meta/recipes-kernel/linux`` that
you can use as references.
If you are creating a new kernel recipe, normal recipe-writing rules
apply for setting up a :term:`SRC_URI`. Thus, you need to specify any
necessary patches and set :term:`S` to point at the source code. You need to
create a :ref:`ref-tasks-configure` task that configures the unpacked kernel with
a ``defconfig`` file. You can do this by using a ``make defconfig``
command or, more commonly, by copying in a suitable ``defconfig`` file
and then running ``make oldconfig``. By making use of ``inherit kernel``
and potentially some of the ``linux-*.inc`` files, most other
functionality is centralized and the defaults of the class normally work
well.
If you are extending an existing kernel recipe, it is usually a matter
of adding a suitable ``defconfig`` file. The file needs to be added into
a location similar to ``defconfig`` files used for other machines in a
given kernel recipe. A possible way to do this is by listing the file in
the :term:`SRC_URI` and adding the machine to the expression in
:term:`COMPATIBLE_MACHINE`::
COMPATIBLE_MACHINE = '(qemux86|qemumips)'
For more information on ``defconfig`` files, see the
":ref:`kernel-dev/common:changing the configuration`"
section in the Yocto Project Linux Kernel Development Manual.
Adding a Formfactor Configuration File
======================================
A formfactor configuration file provides information about the target
hardware for which the image is being built and information that the
build system cannot obtain from other sources such as the kernel. Some
examples of information contained in a formfactor configuration file
include framebuffer orientation, whether or not the system has a
keyboard, the positioning of the keyboard in relation to the screen, and
the screen resolution.
The build system uses reasonable defaults in most cases. However, if
customization is necessary, you need to create a ``machconfig`` file in
the ``meta/recipes-bsp/formfactor/files`` directory. This directory
contains directories for specific machines such as ``qemuarm`` and
``qemux86``. For information about the settings available and the
defaults, see the ``meta/recipes-bsp/formfactor/files/config`` file
found in the same area.
Following is an example for "qemuarm" machine::
HAVE_TOUCHSCREEN=1
HAVE_KEYBOARD=1
DISPLAY_CAN_ROTATE=0
DISPLAY_ORIENTATION=0
#DISPLAY_WIDTH_PIXELS=640
#DISPLAY_HEIGHT_PIXELS=480
#DISPLAY_BPP=16
DISPLAY_DPI=150
DISPLAY_SUBPIXEL_ORDER=vrgb

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,209 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Working with Pre-Built Libraries
********************************
Introduction
============
Some library vendors do not release source code for their software but do
release pre-built binaries. When shared libraries are built, they should
be versioned (see `this article
<https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html>`__
for some background), but sometimes this is not done.
To summarize, a versioned library must meet two conditions:
#. The filename must have the version appended, for example: ``libfoo.so.1.2.3``.
#. The library must have the ELF tag ``SONAME`` set to the major version
of the library, for example: ``libfoo.so.1``. You can check this by
running ``readelf -d filename | grep SONAME``.
This section shows how to deal with both versioned and unversioned
pre-built libraries.
Versioned Libraries
===================
In this example we work with pre-built libraries for the FT4222H USB I/O chip.
Libraries are built for several target architecture variants and packaged in
an archive as follows::
├── build-arm-hisiv300
│   └── libft4222.so.1.4.4.44
├── build-arm-v5-sf
│   └── libft4222.so.1.4.4.44
├── build-arm-v6-hf
│   └── libft4222.so.1.4.4.44
├── build-arm-v7-hf
│   └── libft4222.so.1.4.4.44
├── build-arm-v8
│   └── libft4222.so.1.4.4.44
├── build-i386
│   └── libft4222.so.1.4.4.44
├── build-i486
│   └── libft4222.so.1.4.4.44
├── build-mips-eglibc-hf
│   └── libft4222.so.1.4.4.44
├── build-pentium
│   └── libft4222.so.1.4.4.44
├── build-x86_64
│   └── libft4222.so.1.4.4.44
├── examples
│   ├── get-version.c
│   ├── i2cm.c
│   ├── spim.c
│   └── spis.c
├── ftd2xx.h
├── install4222.sh
├── libft4222.h
├── ReadMe.txt
└── WinTypes.h
To write a recipe to use such a library in your system:
- The vendor will probably have a proprietary licence, so set
:term:`LICENSE_FLAGS` in your recipe.
- The vendor provides a tarball containing libraries so set :term:`SRC_URI`
appropriately.
- Set :term:`COMPATIBLE_HOST` so that the recipe cannot be used with an
unsupported architecture. In the following example, we only support the 32
and 64 bit variants of the ``x86`` architecture.
- As the vendor provides versioned libraries, we can use ``oe_soinstall``
from :ref:`ref-classes-utils` to install the shared library and create
symbolic links. If the vendor does not do this, we need to follow the
non-versioned library guidelines in the next section.
- As the vendor likely used :term:`LDFLAGS` different from those in your Yocto
Project build, disable the corresponding checks by adding ``ldflags``
to :term:`INSANE_SKIP`.
- The vendor will typically ship release builds without debugging symbols.
Avoid errors by preventing the packaging task from stripping out the symbols
and adding them to a separate debug package. This is done by setting the
``INHIBIT_`` flags shown below.
The complete recipe would look like this::
SUMMARY = "FTDI FT4222H Library"
SECTION = "libs"
LICENSE_FLAGS = "ftdi"
LICENSE = "CLOSED"
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
# Sources available in a .tgz file in .zip archive
# at https://ftdichip.com/wp-content/uploads/2021/01/libft4222-linux-1.4.4.44.zip
# Found on https://ftdichip.com/software-examples/ft4222h-software-examples/
# Since dealing with this particular type of archive is out of topic here,
# we use a local link.
SRC_URI = "file://libft4222-linux-${PV}.tgz"
S = "${WORKDIR}"
ARCH_DIR:x86-64 = "build-x86_64"
ARCH_DIR:i586 = "build-i386"
ARCH_DIR:i686 = "build-i386"
INSANE_SKIP:${PN} = "ldflags"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
do_install () {
install -m 0755 -d ${D}${libdir}
oe_soinstall ${S}/${ARCH_DIR}/libft4222.so.${PV} ${D}${libdir}
install -d ${D}${includedir}
install -m 0755 ${S}/*.h ${D}${includedir}
}
If the precompiled binaries are not statically linked and have dependencies on
other libraries, then by adding those libraries to :term:`DEPENDS`, the linking
can be examined and the appropriate :term:`RDEPENDS` automatically added.
Non-Versioned Libraries
=======================
Some Background
---------------
Libraries in Linux systems are generally versioned so that it is possible
to have multiple versions of the same library installed, which eases upgrades
and support for older software. For example, suppose that in a versioned
library, an actual library is called ``libfoo.so.1.2``, a symbolic link named
``libfoo.so.1`` points to ``libfoo.so.1.2``, and a symbolic link named
``libfoo.so`` points to ``libfoo.so.1.2``. Given these conditions, when you
link a binary against a library, you typically provide the unversioned file
name (i.e. ``-lfoo`` to the linker). However, the linker follows the symbolic
link and actually links against the versioned filename. The unversioned symbolic
link is only used at development time. Consequently, the library is packaged
along with the headers in the development package ``${PN}-dev`` along with the
actual library and versioned symbolic links in ``${PN}``. Because versioned
libraries are far more common than unversioned libraries, the default packaging
rules assume versioned libraries.
Yocto Library Packaging Overview
--------------------------------
It follows that packaging an unversioned library requires a bit of work in the
recipe. By default, ``libfoo.so`` gets packaged into ``${PN}-dev``, which
triggers a QA warning that a non-symlink library is in a ``-dev`` package,
and binaries in the same recipe link to the library in ``${PN}-dev``,
which triggers more QA warnings. To solve this problem, you need to package the
unversioned library into ``${PN}`` where it belongs. The following are the abridged
default :term:`FILES` variables in ``bitbake.conf``::
SOLIBS = ".so.*"
SOLIBSDEV = ".so"
FILES:${PN} = "... ${libdir}/lib*${SOLIBS} ..."
FILES_SOLIBSDEV ?= "... ${libdir}/lib*${SOLIBSDEV} ..."
FILES:${PN}-dev = "... ${FILES_SOLIBSDEV} ..."
:term:`SOLIBS` defines a pattern that matches real shared object libraries.
:term:`SOLIBSDEV` matches the development form (unversioned symlink). These two
variables are then used in ``FILES:${PN}`` and ``FILES:${PN}-dev``, which puts
the real libraries into ``${PN}`` and the unversioned symbolic link into ``${PN}-dev``.
To package unversioned libraries, you need to modify the variables in the recipe
as follows::
SOLIBS = ".so"
FILES_SOLIBSDEV = ""
The modifications cause the ``.so`` file to be the real library
and unset :term:`FILES_SOLIBSDEV` so that no libraries get packaged into
``${PN}-dev``. The changes are required because unless :term:`PACKAGES` is changed,
``${PN}-dev`` collects files before `${PN}`. ``${PN}-dev`` must not collect any of
the files you want in ``${PN}``.
Finally, loadable modules, essentially unversioned libraries that are linked
at runtime using ``dlopen()`` instead of at build time, should generally be
installed in a private directory. However, if they are installed in ``${libdir}``,
then the modules can be treated as unversioned libraries.
Example
-------
The example below installs an unversioned x86-64 pre-built library named
``libfoo.so``. The :term:`COMPATIBLE_HOST` variable limits recipes to the
x86-64 architecture while the :term:`INSANE_SKIP`, :term:`INHIBIT_PACKAGE_STRIP`
and :term:`INHIBIT_SYSROOT_STRIP` variables are all set as in the above
versioned library example. The "magic" is setting the :term:`SOLIBS` and
:term:`FILES_SOLIBSDEV` variables as explained above::
SUMMARY = "libfoo sample recipe"
SECTION = "libs"
LICENSE = "CLOSED"
SRC_URI = "file://libfoo.so"
COMPATIBLE_HOST = "x86_64.*-linux"
INSANE_SKIP:${PN} = "ldflags"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
SOLIBS = ".so"
FILES_SOLIBSDEV = ""
do_install () {
install -d ${D}${libdir}
install -m 0755 ${WORKDIR}/libfoo.so ${D}${libdir}
}

View File

@@ -0,0 +1,50 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Using a Python Development Shell
********************************
Similar to working within a development shell as described in the
previous section, you can also spawn and work within an interactive
Python development shell. When debugging certain commands or even when
just editing packages, ``pydevshell`` can be a useful tool. When you
invoke the ``pydevshell`` task, all tasks up to and including
:ref:`ref-tasks-patch` are run for the
specified target. Then a new terminal is opened. Additionally, key
Python objects and code are available in the same way they are to
BitBake tasks, in particular, the data store 'd'. So, commands such as
the following are useful when exploring the data store and running
functions::
pydevshell> d.getVar("STAGING_DIR")
'/media/build1/poky/build/tmp/sysroots'
pydevshell> d.getVar("STAGING_DIR", False)
'${TMPDIR}/sysroots'
pydevshell> d.setVar("FOO", "bar")
pydevshell> d.getVar("FOO")
'bar'
pydevshell> d.delVar("FOO")
pydevshell> d.getVar("FOO")
pydevshell> bb.build.exec_func("do_unpack", d)
pydevshell>
See the ":ref:`bitbake-user-manual/bitbake-user-manual-metadata:functions you can call from within python`"
section in the BitBake User Manual for details about available functions.
The commands execute just as if the OpenEmbedded build
system were executing them. Consequently, working this way can be
helpful when debugging a build or preparing software to be used with the
OpenEmbedded build system.
Following is an example that uses ``pydevshell`` on a target named
``matchbox-desktop``::
$ bitbake matchbox-desktop -c pydevshell
This command spawns a terminal and places you in an interactive Python
interpreter within the OpenEmbedded build environment. The
:term:`OE_TERMINAL` variable
controls what type of shell is opened.
When you are finished using ``pydevshell``, you can exit the shell
either by using Ctrl+d or closing the terminal window.

View File

@@ -44,13 +44,13 @@ To use QEMU, you need to have QEMU installed and initialized as well as
have the proper artifacts (i.e. image files and root filesystems)
available. Follow these general steps to run QEMU:
1. *Install QEMU:* QEMU is made available with the Yocto Project a
#. *Install QEMU:* QEMU is made available with the Yocto Project a
number of ways. One method is to install a Software Development Kit
(SDK). See ":ref:`sdk-manual/intro:the qemu emulator`" section in the
Yocto Project Application Development and the Extensible Software
Development Kit (eSDK) manual for information on how to install QEMU.
2. *Setting Up the Environment:* How you set up the QEMU environment
#. *Setting Up the Environment:* How you set up the QEMU environment
depends on how you installed QEMU:
- If you cloned the ``poky`` repository or you downloaded and
@@ -66,7 +66,7 @@ available. Follow these general steps to run QEMU:
. poky_sdk/environment-setup-core2-64-poky-linux
3. *Ensure the Artifacts are in Place:* You need to be sure you have a
#. *Ensure the Artifacts are in Place:* You need to be sure you have a
pre-built kernel that will boot in QEMU. You also need the target
root filesystem for your target machine's architecture:
@@ -84,7 +84,7 @@ available. Follow these general steps to run QEMU:
Extensible Software Development Kit (eSDK) manual for information on
how to extract a root filesystem.
4. *Run QEMU:* The basic ``runqemu`` command syntax is as follows::
#. *Run QEMU:* The basic ``runqemu`` command syntax is as follows::
$ runqemu [option ] [...]
@@ -99,12 +99,13 @@ available. Follow these general steps to run QEMU:
Here are some additional examples to help illustrate further QEMU:
- This example starts QEMU with MACHINE set to "qemux86-64".
Assuming a standard
:term:`Build Directory`, ``runqemu``
Assuming a standard :term:`Build Directory`, ``runqemu``
automatically finds the ``bzImage-qemux86-64.bin`` image file and
the ``core-image-minimal-qemux86-64-20200218002850.rootfs.ext4``
(assuming the current build created a ``core-image-minimal``
image).
image)::
$ runqemu qemux86-64
.. note::
@@ -112,38 +113,31 @@ available. Follow these general steps to run QEMU:
and uses the most recently built image according to the
timestamp.
::
$ runqemu qemux86-64
- This example produces the exact same results as the previous
example. This command, however, specifically provides the image
and root filesystem type.
::
and root filesystem type::
$ runqemu qemux86-64 core-image-minimal ext4
- This example specifies to boot an :term:`Initramfs` image and to
enable audio in QEMU. For this case, ``runqemu`` sets the internal
variable ``FSTYPE`` to ``cpio.gz``. Also, for audio to be enabled,
an appropriate driver must be installed (see the previous
description for the ``audio`` option for more information).
::
an appropriate driver must be installed (see the ``audio`` option
in :ref:`dev-manual/qemu:\`\`runqemu\`\` command-line options`
for more information)::
$ runqemu qemux86-64 ramfs audio
- This example does not provide enough information for QEMU to
launch. While the command does provide a root filesystem type, it
must also minimally provide a `MACHINE`, `KERNEL`, or `VM` option.
::
must also minimally provide a `MACHINE`, `KERNEL`, or `VM` option::
$ runqemu ext4
- This example specifies to boot a virtual machine image
(``.wic.vmdk`` file). From the ``.wic.vmdk``, ``runqemu``
determines the QEMU architecture (`MACHINE`) to be "qemux86-64" and
the root filesystem type to be "vmdk".
::
the root filesystem type to be "vmdk"::
$ runqemu /home/scott-lenovo/vm/core-image-minimal-qemux86-64.wic.vmdk
@@ -190,7 +184,7 @@ the system does not need root privileges to run. It uses a user space
NFS server to avoid that. Follow these steps to set up for running QEMU
using an NFS server.
1. *Extract a Root Filesystem:* Once you are able to run QEMU in your
#. *Extract a Root Filesystem:* Once you are able to run QEMU in your
environment, you can use the ``runqemu-extract-sdk`` script, which is
located in the ``scripts`` directory along with the ``runqemu``
script.
@@ -204,7 +198,7 @@ using an NFS server.
runqemu-extract-sdk ./tmp/deploy/images/qemux86-64/core-image-sato-qemux86-64.tar.bz2 test-nfs
2. *Start QEMU:* Once you have extracted the file system, you can run
#. *Start QEMU:* Once you have extracted the file system, you can run
``runqemu`` normally with the additional location of the file system.
You can then also make changes to the files within ``./test-nfs`` and
see those changes appear in the image in real time. Here is an
@@ -246,11 +240,10 @@ be a problem when QEMU is running with KVM enabled. Specifically,
software compiled with a certain CPU feature crashes when run on a CPU
under KVM that does not support that feature. To work around this
problem, you can override QEMU's runtime CPU setting by changing the
``QB_CPU_KVM`` variable in ``qemuboot.conf`` in the
:term:`Build Directory` ``deploy/image``
directory. This setting specifies a ``-cpu`` option passed into QEMU in
the ``runqemu`` script. Running ``qemu -cpu help`` returns a list of
available supported CPU types.
``QB_CPU_KVM`` variable in ``qemuboot.conf`` in the :term:`Build Directory`
``deploy/image`` directory. This setting specifies a ``-cpu`` option passed
into QEMU in the ``runqemu`` script. Running ``qemu -cpu help`` returns a
list of available supported CPU types.
QEMU Performance
================
@@ -330,7 +323,7 @@ Following is the command-line help output for the ``runqemu`` command::
Simplified QEMU command-line options can be passed with:
nographic - disable video console
serial - enable a serial console on /dev/ttyS0
slirp - enable user networking, no root privileges is required
slirp - enable user networking, no root privileges required
kvm - enable KVM when running x86/x86_64 (VT-capable CPU required)
kvm-vhost - enable KVM with vhost when running x86/x86_64 (VT-capable CPU required)
publicvnc - enable a VNC server open to all hosts
@@ -428,6 +421,29 @@ command line:
networking that does not need root access but also is not as easy to
use or comprehensive as the default.
Using ``slirp`` by default will forward the guest machine's
22 and 23 TCP ports to host machine's 2222 and 2323 ports
(or the next free ports). Specific forwarding rules can be configured
by setting ``QB_SLIRP_OPT`` as environment variable or in ``qemuboot.conf``
in the :term:`Build Directory` ``deploy/image`` directory.
Examples::
QB_SLIRP_OPT="-netdev user,id=net0,hostfwd=tcp::8080-:80"
QB_SLIRP_OPT="-netdev user,id=net0,hostfwd=tcp::8080-:80,hostfwd=tcp::2222-:22"
The first example forwards TCP port 80 from the emulated system to
port 8080 (or the next free port) on the host system,
allowing access to an http server running in QEMU from
``http://<host ip>:8080/``.
The second example does the same, but also forwards TCP port 22 on the
guest system to 2222 (or the next free port) on the host system,
allowing ssh access to the emulated system using
``ssh -P 2222 <user>@<host ip>``.
Keep in mind that proper configuration of firewall software is required.
- ``kvm``: Enables KVM when running "qemux86" or "qemux86-64" QEMU
architectures. For KVM to work, all the following conditions must be
met:

View File

@@ -0,0 +1,89 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Using Quilt in Your Workflow
****************************
`Quilt <https://savannah.nongnu.org/projects/quilt>`__ is a powerful tool
that allows you to capture source code changes without having a clean
source tree. This section outlines the typical workflow you can use to
modify source code, test changes, and then preserve the changes in the
form of a patch all using Quilt.
.. note::
With regard to preserving changes to source files, if you clean a
recipe or have :ref:`ref-classes-rm-work` enabled, the
:ref:`devtool workflow <sdk-manual/extensible:using \`\`devtool\`\` in your sdk workflow>`
as described in the Yocto Project Application Development and the
Extensible Software Development Kit (eSDK) manual is a safer
development flow than the flow that uses Quilt.
Follow these general steps:
#. *Find the Source Code:* Temporary source code used by the
OpenEmbedded build system is kept in the :term:`Build Directory`. See the
":ref:`dev-manual/temporary-source-code:finding temporary source code`" section to
learn how to locate the directory that has the temporary source code for a
particular package.
#. *Change Your Working Directory:* You need to be in the directory that
has the temporary source code. That directory is defined by the
:term:`S` variable.
#. *Create a New Patch:* Before modifying source code, you need to
create a new patch. To create a new patch file, use ``quilt new`` as
below::
$ quilt new my_changes.patch
#. *Notify Quilt and Add Files:* After creating the patch, you need to
notify Quilt about the files you plan to edit. You notify Quilt by
adding the files to the patch you just created::
$ quilt add file1.c file2.c file3.c
#. *Edit the Files:* Make your changes in the source code to the files
you added to the patch.
#. *Test Your Changes:* Once you have modified the source code, the
easiest way to test your changes is by calling the :ref:`ref-tasks-compile`
task as shown in the following example::
$ bitbake -c compile -f package
The ``-f`` or ``--force`` option forces the specified task to
execute. If you find problems with your code, you can just keep
editing and re-testing iteratively until things work as expected.
.. note::
All the modifications you make to the temporary source code disappear
once you run the :ref:`ref-tasks-clean` or :ref:`ref-tasks-cleanall`
tasks using BitBake (i.e. ``bitbake -c clean package`` and
``bitbake -c cleanall package``). Modifications will also disappear if
you use the :ref:`ref-classes-rm-work` feature as described in
the ":ref:`dev-manual/disk-space:conserving disk space during builds`"
section.
#. *Generate the Patch:* Once your changes work as expected, you need to
use Quilt to generate the final patch that contains all your
modifications::
$ quilt refresh
At this point, the
``my_changes.patch`` file has all your edits made to the ``file1.c``,
``file2.c``, and ``file3.c`` files.
You can find the resulting patch file in the ``patches/``
subdirectory of the source (:term:`S`) directory.
#. *Copy the Patch File:* For simplicity, copy the patch file into a
directory named ``files``, which you can create in the same directory
that holds the recipe (``.bb``) file or the append (``.bbappend``)
file. Placing the patch here guarantees that the OpenEmbedded build
system will find the patch. Next, add the patch into the :term:`SRC_URI`
of the recipe. Here is an example::
SRC_URI += "file://my_changes.patch"

View File

@@ -0,0 +1,89 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Creating a Read-Only Root Filesystem
************************************
Suppose, for security reasons, you need to disable your target device's
root filesystem's write permissions (i.e. you need a read-only root
filesystem). Or, perhaps you are running the device's operating system
from a read-only storage device. For either case, you can customize your
image for that behavior.
.. note::
Supporting a read-only root filesystem requires that the system and
applications do not try to write to the root filesystem. You must
configure all parts of the target system to write elsewhere, or to
gracefully fail in the event of attempting to write to the root
filesystem.
Creating the Root Filesystem
============================
To create the read-only root filesystem, simply add the
"read-only-rootfs" feature to your image, normally in one of two ways.
The first way is to add the "read-only-rootfs" image feature in the
image's recipe file via the :term:`IMAGE_FEATURES` variable::
IMAGE_FEATURES += "read-only-rootfs"
As an alternative, you can add the same feature
from within your :term:`Build Directory`'s ``local.conf`` file with the
associated :term:`EXTRA_IMAGE_FEATURES` variable, as in::
EXTRA_IMAGE_FEATURES = "read-only-rootfs"
For more information on how to use these variables, see the
":ref:`dev-manual/customizing-images:Customizing Images Using Custom \`\`IMAGE_FEATURES\`\` and \`\`EXTRA_IMAGE_FEATURES\`\``"
section. For information on the variables, see
:term:`IMAGE_FEATURES` and
:term:`EXTRA_IMAGE_FEATURES`.
Post-Installation Scripts and Read-Only Root Filesystem
=======================================================
It is very important that you make sure all post-Installation
(``pkg_postinst``) scripts for packages that are installed into the
image can be run at the time when the root filesystem is created during
the build on the host system. These scripts cannot attempt to run during
the first boot on the target device. With the "read-only-rootfs" feature
enabled, the build system makes sure that all post-installation scripts
succeed at file system creation time. If any of these scripts
still need to be run after the root filesystem is created, the build
immediately fails. These build-time checks ensure that the build fails
rather than the target device fails later during its initial boot
operation.
Most of the common post-installation scripts generated by the build
system for the out-of-the-box Yocto Project are engineered so that they
can run during root filesystem creation (e.g. post-installation scripts
for caching fonts). However, if you create and add custom scripts, you
need to be sure they can be run during this file system creation.
Here are some common problems that prevent post-installation scripts
from running during root filesystem creation:
- *Not using $D in front of absolute paths:* The build system defines
``$``\ :term:`D` when the root
filesystem is created. Furthermore, ``$D`` is blank when the script
is run on the target device. This implies two purposes for ``$D``:
ensuring paths are valid in both the host and target environments,
and checking to determine which environment is being used as a method
for taking appropriate actions.
- *Attempting to run processes that are specific to or dependent on the
target architecture:* You can work around these attempts by using
native tools, which run on the host system, to accomplish the same
tasks, or by alternatively running the processes under QEMU, which
has the ``qemu_run_binary`` function. For more information, see the
:ref:`ref-classes-qemu` class.
Areas With Write Access
=======================
With the "read-only-rootfs" feature enabled, any attempt by the target
to write to the root filesystem at runtime fails. Consequently, you must
make sure that you configure processes and applications that attempt
these types of writes do so to directories with write access (e.g.
``/tmp`` or ``/var/run``).

Some files were not shown because too many files have changed in this diff Show More