Compare commits

..

757 Commits

Author SHA1 Message Date
Steve Sakoman
7dad83c7e5 build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: 62cb12967391db709315820d48853ffa4c6b4740)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-26 14:08:20 -08:00
Alexander Kanavin
dd941e5746 rust: correctly link rust-snapshot into build/stage0
This does not seem to be used in regular builds, but is beneficial
in rust selftest, where it allows dropping a custom patch
that is unsuitable for upstream (and was rejected by them).

Also remove an obsolete comment that seems related to the code
but describes something that was resolved long time ago.

I have confirmed that the rust selftest continues to pass with just
this one commit on top of master (as the following changes do break
the selftest).

(From OE-Core rev: 9b23f995fbc1886c36f02b0c6e1ccaf2ee0f6daa)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf5732e2b235ce06fa1f24fe8f0dbcbc068500e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-26 14:04:46 -08:00
Alexander Kanavin
04976a1e40 rust: use rust-snapshot binaries only in rust-native
Otherwise, use rust-native and cargo-native binaries as that allows
our native tweaks in them to be used for target/nativesdk rust -
same as for everything else written in rust.

In particular, this allows building target rust with
cargo-native that includes important reproducibility tweaks.

Unfortunately, this also breaks rust selftest, and that
is partially addressed by the following commit.

[YOCTO #15185]

(From OE-Core rev: d592bc02b0846411796c1d481c09833559d1d29f)

Signed-off-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 8f2230cb51fe22ef4711a56fecfab4858c04e35b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-26 14:04:46 -08:00
Alexander Kanavin
e4de7259e4 rust: build the default set of tools
Setting it explicitly replaces rust's default choice which is rustdoc
(needed for example in selftests and otherwise expected to be present
in typical rust installations):

https://github.com/rust-lang/rust/blob/master/config.example.toml#L320

This addresses some of the rust selftest failures but not all. Help
is appreciate to restore the selftest.

Unfortunately, this also breaks rust reproducibility (or rather exposes
that it was never properly fixed, as explained here:
https://lists.openembedded.org/g/openembedded-core/message/199288
)

(From OE-Core rev: 4d739fe248d1023eb2c3c040fc4d33273dd16bc1)

Signed-off-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 58eaf2ee6c0809bf0a0d3c1d177e62bda7241651)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-26 14:04:46 -08:00
Steve Sakoman
e3b771d7b6 Revert "rust: Add new varaible RUST_ENABLE_EXTRA_TOOLS"
This reverts commit 136a25567499191b23a4d000a06bf83a473224ca.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-26 14:04:46 -08:00
Steve Sakoman
df5c19f5d1 build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: 3c31639dd53e32e57af64d50ad168f5c3911c299)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-25 06:26:18 -08:00
Steve Sakoman
4351b5cb4b poky.conf: bump version for 5.0.7
(From meta-yocto rev: 03c7935bcdb15fd903d26828085d49c00267b8d9)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-25 06:22:54 -08:00
Jiaying Song
fdfd852797 boost: fix do_fetch error
Change the SRC_URI to the correct value due to the following error:
WARNING: boost-native-1.84.0-r0 do_fetch: Checksum failure encountered with download of https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.tar.bz2 - will attempt other sources if available

(From OE-Core rev: 7ecd0d5584b7692b58ac8039b4107c4e0836d553)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-25 06:20:37 -08:00
Harish Sadineni
c10bc18cab rust-target-config: Fix TARGET_C_INT_WIDTH with correct size
[YOCTO #15600]

The TARGET_C_INT_WIDTH value was incorrectly set to 64 instead of 32.
It is updated for PPC, Mips, and riscv64 architectures.

Discussion links for solution:
 https://lists.openembedded.org/g/openembedded-core/message/207486
 https://lists.openembedded.org/g/openembedded-core/message/207496

(From OE-Core rev: 0e02d0feba8bd48a27c41db875dcd33d46e4dc0d)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b9df8cd8b29064d115dab3bfd1ea14f94a5c0238)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-25 06:20:37 -08:00
Archana Polampalli
6ba335b401 rsync: fix CVE-2024-12747
A flaw was found in rsync. This vulnerability arises from a race condition during
rsync's handling of symbolic links. Rsync's default behavior when encountering
symbolic links is to skip them. If an attacker replaced a regular file with a
symbolic link at the right time, it was possible to bypass the default behavior
and traverse symbolic links. Depending on the privileges of the rsync process,
an attacker could leak sensitive information, potentially leading to privilege escalation.

(From OE-Core rev: e85beb88add5e94567d7221e00cabfb3d5010be7)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-25 06:20:37 -08:00
Archana Polampalli
78e33c0f8b rsync: fix CVE-2024-12088
A flaw was found in rsync. When using the `--safe-links` option, rsync fails to
properly verify if a symbolic link destination contains another symbolic link within it.
This results in a path traversal vulnerability, which may lead to arbitrary file write
outside the desired directory.

(From OE-Core rev: dad4a83c011310872cce07fc4141e66a98439cb1)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-25 06:20:37 -08:00
Archana Polampalli
6158711198 rsync: fix CVE-2024-12087
A path traversal vulnerability exists in rsync. It stems from behavior enabled
by the `--inc-recursive` option, a default-enabled option for many client options
and can be enabled by the server even if not explicitly enabled by the client.
When using the `--inc-recursive` option, a lack of proper symlink verification
coupled with deduplication checks occurring on a per-file-list basis could allow
a server to write files outside of the client's intended destination directory.
A malicious server could write malicious files to arbitrary locations named after
valid directories/paths on the client.

(From OE-Core rev: c34cbef572e18c60bb7600fda370d6c46688c7b3)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-25 06:20:37 -08:00
Archana Polampalli
dfbd3aac89 rsync: fix CVE-2024-12086
A flaw was found in rsync. It could allow a server to enumerate the contents of an
arbitrary file from the client's machine. This issue occurs when files are being
copied from a client to a server. During this process, the rsync server will send
checksums of local data to the client to compare with in order to determine what
data needs to be sent to the server. By sending specially constructed checksum values
for arbitrary files, an attacker may be able to reconstruct the data of those files
byte-by-byte based on the responses from the client.

(From OE-Core rev: 19f4e7bd965c63f19cc756e6e2bf8f58d9e1dc8d)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-25 06:20:37 -08:00
Archana Polampalli
b8832293c5 rsync: fix CVE-2024-12085
A flaw was found in the rsync daemon which could be triggered when rsync compares
file checksums. This flaw allows an attacker to manipulate the checksum length
(s2length) to cause a comparison between a checksum and uninitialized memory and
leak one byte of uninitialized stack data at a time.

(From OE-Core rev: fb8439e856d5ea10d12180020a14442c3b101e56)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-25 06:20:37 -08:00
Archana Polampalli
29909c9cf6 rsync: fix CVE-2024-12084
A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due
to improper handling of attacker-controlled checksum lengths (s2length) in the code.
When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write
out of bounds in the sum2 buffer.

(From OE-Core rev: ad0e13912b17ca19ffbd7ea6a366f7c968517fb2)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-25 06:20:37 -08:00
Richard Purdie
8e4a651917 bitbake: tests/fetch: Fix git shallow test failure with git >= 2.48
>From git 2.48 release notes:

"""
When "git fetch $remote" notices that refs/remotes/$remote/HEAD is
missing and discovers what branch the other side points with its
HEAD, refs/remotes/$remote/HEAD is updated to point to it.
"""

This means with git 2.48 onwards, there is a mystery "HEAD" revision
appearing in some of our shallow clone tests. We can avoid this by
using the same canonicalization as used for the reference revisions.

This resolves autobuilder failures on the Fedora 40 workers.

(Bitbake rev: aa0e540fc31a1c26839efd2c7785a751ce24ebfb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c83444d1210740e27b1744d3aa7c5cad4e28db2f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-25 06:20:37 -08:00
Antonin Godard
2333d6a37f test-manual/reproducible-builds: fix reproducible links
We don't run reproducible-builds on specific distros anymore, but on a
distro at random depending on what is available on the Autobuilder. Fix
the link to this builder and remove distro specific ones.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: bb9e018adcc10c642f87d0b95432783b5eb8057b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 8bd2bc3c00ca80f4c000a2a8d618a9f8ea3aa54b)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:39 -08:00
Antonin Godard
e603b95d4f Update autobuilder URLs to valkyrie
We have moved to Valkyrie which is hosted on
https://autobuilder.yoctoproject.org/valkyrie. Update the URL in the
documentation.

Also, the YOCTO_AB_URL macro was used in a single location in the
documentation so replace it by the :yocto_ab: custom extlink and remove
the macro.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: b02e90b6eb32ce57a98e0e3720848e5cdfbb69d0)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 0b0ed55d909dd11cdc9b29b105473271627c025e)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:39 -08:00
Lee Chee Yang
020d1ad995 migration-guides: add release notes for 5.0.6
(From yocto-docs rev: 5fda58d48fe0321ea3cdefd31c3c6b9702cd8f5d)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 6a22014cd1a7b147d352640088d3b8b724547ac6)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:39 -08:00
Chen Qi
9783baa9dd libgfortran: fix buildpath QA issue
The '-fdebug-prefix-map' options are used to map source files locations,
otherwise, DW_AT_comp_dir will contain buildpath.

The '-gno-record-gcc-switches' option is used to fix the buildpath introduced
by '-fintrinsic-modules-path' option, which is automatically added by fortran.
Here's some output from 'readelf --debug-dump libgfortran.so.5.0.0' when this
option is not added:
"""
<0><1a37d3>: Abbrev Number: 4 (DW_TAG_compile_unit)
   <1a37d4>   DW_AT_producer    : (indirect string, offset: 0xd653): GNU Fortran2008 14.2.0 -m64
                -march=core2 -mtune=core2 -msse3
                -mfpmath=sse -mshstk -g -O2 -O2 -fstack-protector-strong -fimplicit-none
                -fno-repack-arrays -fno-underscoring -fcf-protection=full
                -fallow-leading-underscore -fbuilding-libgfortran -fPIC
                -fintrinsic-modules-path /ala-lpggp72/qichen/Yocto/builds/build-poky/tmp/work/
                core2-64-poky-linux/libgfortran/14.2.0/recipe-sysroot-native/usr/bin/x86_64-poky-linux
                /../../lib/x86_64-poky-linux/gcc/x86_64-poky-linux/14.2.0/finclude
                -fpre-include=../../../../recipe-sysroot/usr/include/finclude/math-vector-fortran.h
"""

See https://gcc.gnu.org/pipermail/fortran/2024-October/061204.html for more
detailed information.

(From OE-Core rev: 660e00469f9c99fe733cc8b37f67438a96ff2e97)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:39 -08:00
Esben Haabendal
59fdc7d02f pulseaudio: fix webrtc audio depdency
Since pulseaudio v16.99.1, the library needed is webrtc-audio-processing-1.
This fixes

Run-time dependency webrtc-audio-processing-1 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency webrtc-audio-processing-1

../pulseaudio-17.0/meson.build:730:15: ERROR: Automatic wrap-based subproject downloading is disabled

The library is available in meta-openembedded/meta-multimedia.

(cherry picked from commit 4661c49eb4f0ed89a3d027d9a003c40744baaf38)

(From OE-Core rev: e80c3ca36f08a259e13fd94f1c87a7f5bf485a8b)

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:39 -08:00
Ross Burton
73d95d9dad classes/qemu: use tune to select QEMU_EXTRAOPTIONS, not package architecture
Using the package architecture to select the right qemu options to pass
to qemu-user is incorrect, and fails for recipes that set PACKAGE_ARCH
to MACHINE_ARCH (as the qemuppc workarounds suggest) because there are
not typically any options set for the machine name.

Solve this by using TUNE_PKGARCH instead: for the majority of recipes
this is the same value, but for machine-specific recipes it remains the
same instead of changing to the machine name.

This means we can remove the qemuppc workarounds, as they're obsolete.

Also update the gcc-testsuite recipe which uses the same pattern to use
TUNE_PKGARCH, and generalise the else codepath to avoid needing to
update the list of architectures.

[ YOCTO #15647 ]

(From OE-Core rev: 972ca555ff3aa41d32980477850c92915b6395ed)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 414b754a6cbb9cc354b1180efd5c3329568a2537)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:39 -08:00
Ross Burton
93c245a868 classes/nativesdk: also override TUNE_PKGARCH
The nativesdk class overrides PACKAGE_ARCH and unsets TUNE_FEATURES, but
as recipes might want to look at TUNE_PKGARCH too (for example, when
setting QEMU_EXTRAOPTIONS) we should also override that variable.

Otherwise, a nativesdk recipe will have the TUNE_PKGARCH of the target,
which leads to errors (eg passing mips arguments to an arm qemu).

(From OE-Core rev: 812cf123af5821c300c630cda35be8faed73b9d5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05322beb290e1db30bef49b4364f8a8e6e9f7408)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:39 -08:00
Catalin Popescu
a1cc89914c Revert "bluez5: remove configuration files from install task"
This reverts commit 49391fdcf71b32c5fd3c7b134c1d1c45cc1db388 which
introduced a bluetooth regression on systems with read-only rootfs.

When configuration files are missing, bluez tries to generate them which
fails on a read-only rootfs. As a result bluetooth service fails to
start and bluetooth is broken. Hence, configuration files need to be
installed in the rootfs in a way or another.

Bluez commit be0e79629 (build: ship all config files with --enable-datafiles,
2024-02-12) introduced configuration files installation in bluez version
5.73. However, scarthgap pulls in version 5.72, so it is responsible of the
installation of configuration files until bluez is upgraded. Scarthgap
commit 49391fdcf71b32c5fd3c7b134c1d1c45cc1db388 removed installation of
configuration files too early, hence the revert.

(From OE-Core rev: 54a7014a801ddbda2a7dfe1ab560a154064ad47e)

Signed-off-by: Catalin Popescu <catalin.popescu@leica-geosystems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:39 -08:00
Alexis Lothoré
5aca7316ac oeqa/ssh: allow to retrieve raw, unformatted ouput
The ssh target is currently well tailored to easily retrieve textual output
from a command run on a remote target. It could also be used to retrieve
raw data from a command run onto a remote target (for example, to feed this
data directly to another program), but it currently suffers two minor
issues preventing such use case:
- stderr is piped to stdout, so any error log will be mixed in the program
  output
- the final output is decoded as utf-8 and stripped

Allow to return the raw, unmodified output by adding an optional "raw"
parameter. Keep it to False by default to preserve the current behavior.
When enabled, do not return a string but the raw output as bytes.

(From OE-Core rev: 8d05dc6e2284b7ed7c32a8215b9c8bf6f7dabf00)

(From OE-Core rev: d09187db648053a763036a5209efd584b352cf31)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:39 -08:00
Aleksandar Nikolic
ce05216f7a scripts/install-buildtools: Update to 5.0.6
Update to the 5.0.6 release of the 5.0 series for buildtools.

(From OE-Core rev: 6c0372a67b410b8f7ba9b43ffd17efd2f3b439aa)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:39 -08:00
Peter Marko
d8e64cc274 ofono: patch CVE-2023-4235
Cherry-pick commit
https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=02aa0f9bad3d9e47a152fc045d0f51874d901d7e

(From OE-Core rev: 5adbece7dcbb547ea44207fa1a9ddc7d56766b1b)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:38 -08:00
Peter Marko
30506f0140 ofono: patch CVE-2023-4232
Cherry-pick commit
https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=2ff2da7ac374a790f8b2a0216bcb4e3126498225

(From OE-Core rev: 476ef12ab91aada032ea0e6acc5a0044497ace25)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:38 -08:00
Peter Marko
87143c52d6 ofono: patch CVE-2024-7540, CVE-2024-7541, CVE-2024-7542
Cherry-pick commit
https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=29ff6334b492504ace101be748b256e6953d2c2f

(From OE-Core rev: 6f55cecbff1e5be7dda7484b8b04f7ccfbdceb1b)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:38 -08:00
Peter Marko
4054d819eb socat: patch CVE-2024-54661
Picked upstream commit
https://repo.or.cz/socat.git/commitdiff/4ee1f31cf80019c5907876576d6dfd49368d660f

Since this was the only commit in 1.8.0.2 it also contained release
changes which were dropped.

(From OE-Core rev: efa7a5e5a8448ae52152ee8ebbf5c51d691a34d2)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:38 -08:00
Zhang Peng
0d1f714793 avahi: fix CVE-2024-52616
CVE-2024-52616:
A flaw was found in the Avahi-daemon, where it initializes DNS transaction IDs
randomly only once at startup, incrementing them sequentially after that. This
predictable behavior facilitates DNS spoofing attacks, allowing attackers to
guess transaction IDs.

Reference:
[https://nvd.nist.gov/vuln/detail/CVE-2024-52616]
[https://github.com/avahi/avahi/security/advisories/GHSA-r9j3-vjjh-p8vm]

Upstream patches:
[f8710bdc8b]

(From OE-Core rev: 28de3f131b17dc4165df927060ee51f0de3ada90)

Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:38 -08:00
Hitendra Prajapati
a65e0b9646 ofono: Fix multiple CVEs
Backport fixes for:

* CVE-2024-7539 - Upstream-Status: Backport from https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=389e2344f86319265fb72ae590b470716e038fdc
* CVE-2024-7543 - Upstream-Status: Backport from https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=90e60ada012de42964214d8155260f5749d0dcc7
* CVE-2024-7544 - Upstream-Status: Backport from https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=a240705a0d5d41eca6de4125ab2349ecde4c873a
* CVE-2024-7545 - Upstream-Status: Backport from https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=556e14548c38c2b96d85881542046ee7ed750bb5
* CVE-2024-7546 - Upstream-Status: Backport from https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=79ea6677669e50b0bb9c231765adb4f81c375f63
* CVE-2024-7547 - Upstream-Status: Backport from https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=305df050d02aea8532f7625d6642685aa530f9b0

(From OE-Core rev: d244d4d48615a7b08f1ab0231f074caa31790247)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:38 -08:00
Divya Chellam
b84adcd947 wget: fix CVE-2024-10524
Applications that use Wget to access a remote resource using
shorthand URLs and pass arbitrary user credentials in the URL
are vulnerable. In these cases attackers can enter crafted
credentials which will cause Wget to access an arbitrary host.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2024-10524

Upstream-patch:
https://git.savannah.gnu.org/cgit/wget.git/commit/?id=c419542d956a2607bbce5df64b9d378a8588d778

(From OE-Core rev: 425c3f55bd316a563597ff6ff95f8104848e2f10)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:38 -08:00
Chris Laplante
7aa8128bf1 bitbake: cooker: Make cooker 'skiplist' per-multiconfig/mc
Previously, the cooker skiplist was shared across multiconfigs
(including default ''). If you had a recipe that was incompatible with
several multiconfigs for different reasons, then the displayed reason
(i.e. the "ERROR: Nothing PROVIDES" and "* was skipped" messages) might
vary across invocations of bitbake. This was caused by the random order
in which recipes are parsed under different multiconfig contexts, with
each skip reason overwriting the previously assigned reason.

I hit this specificially when using COMPATIBLE_MACHINE, but
COMPATIBLE_HOST (or anything using bb.parse.SkipRecipe) would have done it too.

(Bitbake rev: 7dde14582bfd104c6da26e3f5ecf2ef37a1494ce)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:38 -08:00
Chris Laplante
c1ed07ecde bitbake: ui/knotty: respect NO_COLOR & check for tty; rename print_hyperlink => format_hyperlink
(Bitbake rev: 72a334d5d5763476d5421a902fabb303f3f84bd8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:38 -08:00
Chris Laplante
50556a2878 bitbake: ui/knotty: print log paths for failed tasks in summary
When tasks fail, it's very frustrating to have to scroll up to find the
log path(s). Many of us have the muscle memory to navigate to the 'temp'
directories under tmp/work/, but new users do not.

This change enhances the final summary to include log paths (reported
via bb.build.TaskFailed events). Here's an example:

NOTE: Tasks Summary: Attempted 856 tasks of which 853 didn't need to be rerun and 3 failed.

Summary: 3 tasks failed:
  virtual:native:/home/chris/repos/poky/meta/recipes-core/ncurses/ncurses_6.5.bb:do_fetch
    log: /home/chris/repos/poky/build/tmp/work/x86_64-linux/ncurses-native/6.5/temp/log.do_fetch.1253462
  /home/chris/repos/poky/meta/recipes-core/ncurses/ncurses_6.5.bb:do_fetch
    log: /home/chris/repos/poky/build/tmp/work/core2-64-poky-linux/ncurses/6.5/temp/log.do_fetch.1253466
  virtual:nativesdk:/home/chris/repos/poky/meta/recipes-core/ncurses/ncurses_6.5.bb:do_fetch
    log: /home/chris/repos/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-ncurses/6.5/temp/log.do_fetch.1253467
Summary: There were 3 WARNING messages.
Summary: There were 6 ERROR messages, returning a non-zero exit code.

Each log is rendered as a clickable hyperlink in the terminal. See
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

(Bitbake rev: 9c020cc314bfd0702bb1d457d94925c6e9613268)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-24 07:59:38 -08:00
Changqing Li
2240b92d62 systemd: enable create-log-dirs
By default, create-log-dirs  is enabled in systemd, and a link
/var/log/README will be created, point to {{DOC_DIR}}/README.logs, but,
for oe, there are two problems here, firstly, DOC_DIR is packaged in
another package systemd-doc, so /var/log/README is a dead link when
systemd-doc is not installed, secondly, even systemd-doc is installed,
when volatile log is used, DOC_DIR is a wrong relateive path, Refer [1].

So in commit [2], we disable create-log-dirs for above issue. with this
change, /var/log/journal is not created, and /run/log is used, this
makes systemd log always non persistent, refer [3][4]. if user need
persistent log, they need to disable volatile log, and also  change
journald.conf, make "Storage" to "persistent". This is a behavoir change.
Previously, to make systemd log persistent, user only need to disable
volatile log.

This commit reenable create-log-dirs to revert the behavior change, and
since README is not very userful, just remove it.

[ YOCTO #15678 ]

[1] https://github.com/systemd/systemd/blob/main/tmpfiles.d/legacy.conf.in#L16
[2] https://git.openembedded.org/openembedded-core/commit/?id=18d46e11d85da1f6feaba5a135931e43060024d6
[3] https://github.com/systemd/systemd/blob/main/src/journal/meson.build#L189
[4] https://www.freedesktop.org/software/systemd/man/journald.conf.html
[5] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15678

(From OE-Core rev: 92eea72a25e553c698bee9e3f551a5880bd4631c)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f82d9c997ba8cc23b472d44a43489c597bf452af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Hiago De Franco
9794a5ad9e bluez5: backport patch to fix address type when loading keys
With Linux kernel v6.6, due to commit 59b047bc9808 ("Bluetooth:
MGMT/SMP: Fix address type when using SMP over BREDR/LE"), an error
might occur when trying to automatically repair a bluetooth device, as
the key might store using a wrong/invalid address type. This happens
only with bluez5 version 5.72:

HCI Event: Link Key Request (0x17) plen 6 bdaddr 8C:98:6B:7A:BD:F0
HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6 bdaddr 8C:98:6B:7A:BD:F0

This was already solved upstream, therefore backport the patch to fix
this issue.

(From OE-Core rev: d719d02f2f3ce8f54de0e10d89a8d389edb61fed)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Robert Yang
54b2e90c01 groff: Fix race issues for parallel build
Fixed race issues for parallel build:
groff: error: couldn't exec soelim: Permission

And:
groff: error: couldn't exec grn: Permission denied

(From OE-Core rev: 44b625a820a22c99f4fa1d4ed6b6de98c5d75884)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
(cherry picked from commit b9ee7ea9ab05a1887c863dc9fccc65cb9e6850df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Bruce Ashfield
9049004910 linux-yocto/6.6: update to v6.6.69
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    a30cd70ab75a Linux 6.6.69
    ee18012c8015 block: avoid to reuse `hctx` not removed from cpuhp callback list
    937fcde0e971 ALSA: hda/realtek: Fix spelling mistake "Firelfy" -> "Firefly"
    ff4dff0bbe79 x86/cpu/intel: Drop stray FAM6 check with new Intel CPU model defines
    0098f6a62ac7 ALSA: sh: Fix wrong argument order for copy_from_iter()
    1ce362065899 btrfs: sysfs: fix direct super block member reads
    6e1a82259307 btrfs: avoid monopolizing a core when activating a swap file
    13eb3cae1d8e power: supply: gpio-charger: Fix set charge current limits
    c484dbafbae9 i2c: microchip-core: fix "ghost" detections
    e1cc0e256092 i2c: imx: add imx7d compatible string for applying erratum ERR007805
    b1f7476e07b9 PCI/MSI: Handle lack of irqdomain gracefully
    3f66c65f6525 i2c: microchip-core: actually use repeated sends
    80120bb4eef7 io_uring/sqpoll: fix sqpoll error handling races
    03041e474a6a tracing: Prevent bad count for tracing_cpumask_write
    dafa7332e7c0 tracing: Constify string literal data member in struct trace_event_call
    c1a26ea77f81 freezer, sched: Report frozen tasks as 'D' instead of 'R'
    60b57dc761d3 drm/amdkfd: pause autosuspend when creating pdd
    4312b60fa7ac drm/amdkfd: Use device based logging for errors
    9f7042ffc7f3 drm/amdkfd: drop struct kfd_cu_info
    798f21e8a655 drm/amdkfd: reduce stack size in kfd_topology_add_device()
    8406848671ce x86/cpu: Add Lunar Lake to list of CPUs with a broken MONITOR implementation
    fe48d03286b2 x86/cpu/intel: Switch to new Intel CPU model defines
    d7ac1856b6ec x86/cpu/vfm: Update arch/x86/include/asm/intel-family.h
    cb3491e875f6 x86/cpu/vfm: Add/initialize x86_vfm field to struct cpuinfo_x86
    f3a3192993da x86/cpu: Add model number for another Intel Arrow Lake mobile processor
    224d693c9203 x86/cpu: Add model number for Intel Clearwater Forest processor
    14172f8e9485 drm/amdgpu/hdp6.0: do a posting read when flushing HDP
    c9ad5cbf2495 drm/amdgpu/hdp5.0: do a posting read when flushing HDP
    f60770d660dc drm/amdgpu/hdp4.0: do a posting read when flushing HDP
    a9cb2cc5b8b5 drm/amd/amdgpu: allow use kiq to do hdp flush under sriov
    36a6e8aeae4a pmdomain: core: Add missing put_device()
    13ced1c4980e ALSA: hda/realtek: fix micmute LEDs don't work on HP Laptops
    31fc2ce99308 ALSA: hda/realtek: fix mute/micmute LEDs don't work for EliteBook X G1i
    2d2b19ed4169 sched/task_stack: fix object_is_on_stack() for KASAN tagged pointers
    1258986bbd17 MIPS: mipsregs: Set proper ISA level for virt extensions
    37ee3b66eb62 MIPS: Probe toolchain support of -msym32
    58bf93580fec blk-mq: move cpuhp callback registering out of q->sysfs_lock
    079fcc926b0b blk-mq: register cpuhp callback after hctx is added to xarray table
    12c0ddd6c551 virtio-blk: don't keep queue frozen during system suspend
    9735d40f5fde drm/dp_mst: Ensure mst_primary pointer is valid in drm_dp_mst_handle_up_req()
    5edf9f786a18 spi: omap2-mcspi: Fix the IS_ERR() bug for devm_clk_get_optional_enabled()
    3556af9a68af scsi: storvsc: Do not flag MAINTENANCE_IN return of SRB_STATUS_DATA_OVERRUN as an error
    cf4bea16bb6d scsi: mpt3sas: Diag-Reset when Doorbell-In-Use bit is set during driver load time
    cecca8b42063 spi: intel: Add Panther Lake SPI controller support
    eb9b647a6834 platform/x86: asus-nb-wmi: Ignore unknown event 0xCF
    4eb54230b0ba LoongArch: BPF: Adjust the parameter of emit_jirl()
    5fc47124442d LoongArch: Fix reserving screen info memory for above-4G firmware
    5e448ea8df48 regmap: Use correct format specifier for logging range errors
    3ad1feaa0bd0 smb: server: Fix building with GCC 15
    7dbf2af85cd3 ALSA: sh: Use standard helper for buffer accesses
    39c860c96c64 ALSA: hda/conexant: fix Z60MR100 startup pop issue
    3dea3c59c4bd udf: Skip parent dir link count update if corrupted
    f50783148ec9 scsi: megaraid_sas: Fix for a potential deadlock
    fbd7deb459b2 scsi: qla1280: Fix hw revision numbering for ISP1020/1040
    ab9ae7e789ab watchdog: mediatek: Add support for MT6735 TOPRGU/WDT
    e64809e8754a watchdog: it87_wdt: add PWRGD enable quirk for Qotom QCML04
    d4d67fa7158d tracing/kprobe: Make trace_kprobe's module callback called after jump_label update
    23681bc4b59f stddef: make __struct_group() UAPI C++-friendly
    b7f60ffdfd96 powerpc/pseries/vas: Add close() callback in vas_vm_ops struct
    dd45c8778273 mtd: rawnand: fix double free in atmel_pmecc_create_user()
    e658f1c133b8 dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset
    aa2381a1ea39 dmaengine: apple-admac: Avoid accessing registers in probe
    34d2c9c6de73 dmaengine: fsl-edma: implement the cleanup path of fsl_edma3_attach_pd()
    f2705359161f dmaengine: tegra: Return correct DMA status when paused
    8cf5aa06d074 dmaengine: dw: Select only supported masters for ACPI devices
    7f92f287b0fa dmaengine: mv_xor: fix child node refcount handling in early exit
    908806a2e789 phy: rockchip: naneng-combphy: fix phy reset
    96173874d6b8 phy: usb: Toggle the PHY power during init
    94dd7d0665ec phy: core: Fix that API devm_phy_destroy() fails to destroy the phy
    216b9f8335b5 phy: core: Fix that API devm_of_phy_provider_unregister() fails to unregister the phy provider
    58068f8b7a55 phy: core: Fix that API devm_phy_put() fails to release the phy
    80a6eeb3a73a phy: core: Fix an OF node refcount leakage in of_phy_provider_lookup()
    293b3748abab phy: core: Fix an OF node refcount leakage in _of_phy_get()
    826acec1a9f9 phy: qcom-qmp: Fix register name in RX Lane config of SC8280XP
    36094da8b402 mtd: rawnand: arasan: Fix missing de-registration of NAND
    649ba9c1712b mtd: rawnand: arasan: Fix double assertion of chip-select
    3970d6b335fb mtd: diskonchip: Cast an operand to prevent potential overflow
    15c184b4e7cf nfsd: restore callback functionality for NFSv4.0
    488304065d0d nfsd: Revert "nfsd: release svc_expkey/svc_export with rcu_work"
    0326fbf69311 bpf: Check negative offsets in __bpf_skb_min_len()
    343a932a05f4 tcp_bpf: Add sk_rmem_alloc related logic for tcp_bpf ingress redirection
    9dbc7e0e5ce5 tcp_bpf: Charge receive socket buffer in bpf_tcp_ingress()
    9ef08c3fe764 mm/vmstat: fix a W=1 clang compiler warning
    d41fa58fca6f ceph: allocate sparse_ext map only for sparse reads
    44e518abbb49 ceph: fix memory leak in ceph_direct_read_write()
    fb98248fc4a2 ceph: try to allocate a smaller extent map for sparse read
    1d6de21f0029 media: dvb-frontends: dib3000mb: fix uninit-value in dib3000_write_reg
    3ee19fb278a6 Linux 6.6.68
    fd4d53318e96 dt-bindings: net: fec: add pps channel property
    c226b0f0d8b0 drm/amdgpu: Handle NULL bo->tbo.resource (again) in amdgpu_vm_bo_update
    194532af82a1 net: fec: make PPS channel configurable
    897bab2abdac net: fec: refactor PPS channel configuration
    4cba44122663 io_uring/rw: avoid punting to io-wq directly
    41928840172e io_uring/rw: treat -EOPNOTSUPP for IOCB_NOWAIT like -EAGAIN
    6c27fc6a783c io_uring/rw: split io_read() into a helper
    d9831a655e13 epoll: Add synchronous wakeup support for ep_poll_callback
    b3ab12531d0d ceph: fix memory leaks in __ceph_sync_read()
    a07c0908e368 ceph: improve error handling and short/overflow-read logic in __ceph_sync_read()
    f006f6eaea7b ceph: validate snapdirname option length when mounting
    7094f3b6df92 of: Fix refcount leakage for OF node returned by __of_get_dma_parent()
    a7e5dc8d5da1 of: Fix error path in of_parse_phandle_with_args_map()
    50c960e79921 udmabuf: also check for F_SEAL_FUTURE_WRITE
    284760b320a0 nilfs2: prevent use of deleted inode
    cfb608b4cf22 nilfs2: fix buffer head leaks in calls to truncate_inode_pages()
    fdfa42cefba4 of/irq: Fix using uninitialized variable @addr_len in API of_irq_parse_one()
    dd3412f29899 of/irq: Fix interrupt-map cell length check in of_irq_parse_imap_parent()
    96c9ff350476 NFS/pnfs: Fix a live lock between recalled layouts and layoutget
    2ca94c8de360 io_uring: check if iowq is killed before queuing
    a73f0425f44b io_uring: Fix registered ring file refcount leak
    24047899f94e selftests/bpf: Use asm constraint "m" for LoongArch
    8b7dfdf3dbd7 selftests/memfd: run sysctl tests when PID namespace support is enabled
    2f6ad0b613cd tracing: Add "%s" check in test_event_printk()
    cc2c77b35186 tracing: Add missing helper functions in event pointer dereference check
    452e89f1588d tracing: Fix test_event_printk() to process entire print argument
    906807c734ed smb: client: fix TCP timers deadlock after rmmod
    3d2634ec0d1d KVM: x86: Play nice with protected guests in complete_hypercall_exit()
    89fcec5e466b Drivers: hv: util: Avoid accessing a ringbuffer not initialized yet
    a41ee016b5df btrfs: tree-checker: reject inline extent items with 0 ref count
    90ae5b7a1c52 vmalloc: fix accounting with i915
    0b5b0b65561b zram: fix uninitialized ZRAM not releasing backing device
    aca0f94c25de zram: refuse to use zero sized block device as backing device
    da61286b6512 hwmon: (tmp513) Fix interpretation of values of Temperature Result and Limit Registers
    7e3b14abe39a hwmon: (tmp513) Fix Current Register value interpretation
    c680302c5eeb hwmon: (tmp513) Fix interpretation of values of Shunt Voltage and Limit Registers
    81a3738bed1a hwmon: (tmp513) Use SI constants from units.h
    d0823a2fe057 hwmon: (tmp513) Simplify with dev_err_probe()
    9d207df1282a hwmon: (tmp513) Don't use "proxy" headers
    da6b2c626ae7 drm/amdgpu: don't access invalid sched
    b91184b59437 i915/guc: Accumulate active runtime on gt reset
    7871b0d81a3b i915/guc: Ensure busyness counter increases motonically
    b5e8103c46aa i915/guc: Reset engine utilization buffer before registration
    5f46feefa5ef drm/panel: novatek-nt35950: fix return value check in nt35950_probe()
    b39de5a71bac drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()
    d1b96495fa2a thunderbolt: Improve redrive mode handling
    cd8fb13924b3 USB: serial: option: add Telit FE910C04 rmnet compositions
    ec1ccad0c3b4 USB: serial: option: add MediaTek T7XX compositions
    996c88c81fec USB: serial: option: add Netprisma LCUK54 modules for WWAN Ready
    eb748a5a8c59 USB: serial: option: add MeiG Smart SLM770A
    27921a57efaf USB: serial: option: add TCL IK512 MBIM & ECM
    637b6e17f11d hexagon: Disable constant extender optimization for LLVM prior to 19.1.0
    b72d1e64984e efivarfs: Fix error on non-existent file
    666c7b77d581 i2c: riic: Always round-up when calculating bus period
    0eba9c56d77c chelsio/chtls: prevent potential integer overflow on 32bit
    efe74dd58a72 net: tun: fix tun_napi_alloc_frags()
    65fac86c3d73 KVM: x86: Cache CPUID.0xD XSTATE offsets+sizes during module init
    3e84704feefe EDAC/amd64: Simplify ECC check on unified memory controllers
    2956429c7a4e mmc: mtk-sd: disable wakeup in .remove() and in the error path of .probe()
    4ca7a0c83100 mmc: sdhci-tegra: Remove SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC quirk
    b15b92daf67c net: mdiobus: fix an OF node reference leak
    0e78c3eb72ec selftests: openvswitch: fix tcpdump execution
    576b58f39b0f netfilter: ipset: Fix for recursive locking warning
    592fc96af827 ipvs: Fix clamp() of ip_vs_conn_tab on small memory systems
    4dfa9a924008 net: ethernet: bgmac-platform: fix an OF node reference leak
    13fcc286811c net: hinic: Fix cleanup in create_rxqs/txqs()
    55a81dcf79bc ksmbd: fix broken transfers when exceeding max simultaneous operations
    8077d33fb8c8 ksmbd: count all requests in req_running counter
    ce2fade187dd net: renesas: rswitch: rework ts tags management
    6cd7cad950d9 ionic: use ee->offset when returning sprom data
    da5736f516a6 ionic: Fix netdev notifier unregister on failure
    470c5ecbac2f netdevsim: prevent bad user input in nsim_dev_health_break_write()
    2f3c62ffe881 net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()
    7a6927814b42 net/smc: check return value of sock_recvmsg when draining clc data
    935caf324b44 net/smc: check smcd_v2_ext_offset when receiving proposal msg
    295a92e3df32 net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg
    91a7c27c1444 net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg
    2e0786b3006e net/smc: check sndbuf_space again after NOSPACE flag is set in smc_poll
    2627c3e86469 net/smc: protect link down work from execute after lgr freed
    06518a75de0a cxl/region: Fix region creation for greater than x2 switches
    fa299bfc1e0e cxl/pci: Fix potential bogus return value upon successful probing
    9557ed4dcd8f tools: hv: change permissions of NetworkManager configuration file
    e5d1ae2d4d0b xfs: reset rootdir extent size hint after growfsrt
    29fcb5fef608 xfs: take m_growlock when running growfsrt
    35bd108619c2 xfs: use XFS_BUF_DADDR_NULL for daddrs in getfsmap code
    9fadc53d793c xfs: Fix the owner setting issue for rmap query in xfs fsmap
    4a82db7a4b73 xfs: conditionally allow FS_XFLAG_REALTIME changes if S_DAX is set
    b2dcbd8a928c xfs: attr forks require attr, not attr2
    27336a327b40 xfs: remove unused parameter in macro XFS_DQUOT_LOGRES
    1bee32f33c0a xfs: fix file_path handling in tracepoints
    cb95cb2450e3 xfs: convert comma to semicolon
    ca96d83c9307 xfs: don't walk off the end of a directory data block
    fe962ab3c4f1 xfs: Fix xfs_prepare_shift() range for RT
    2e63ed9b0175 xfs: Fix xfs_flush_unmap_range() range for RT
    c070b8802159 xfs: create a new helper to return a file's allocation unit
    7531c9ab2e55 xfs: declare xfs_file.c symbols in xfs_file.h
    ff627196ddc1 xfs: use consistent uid/gid when grabbing dquots for inodes
    c08d03996cea xfs: verify buffer, inode, and dquot items every tx commit
    85d0947db262 xfs: fix the contact address for the sysfs ABI documentation
    e4ee7050712a i2c: pnx: Fix timeout in wait functions
    76b63579a904 p2sb: Do not scan and remove the P2SB device when it is unhidden
    3c469a528e39 p2sb: Move P2SB hide and unhide code to p2sb_scan_and_cache()
    8b64ae60f3f9 p2sb: Introduce the global flag p2sb_hidden_by_bios
    f8c9788636f5 p2sb: Factor out p2sb_read_from_cache()
    9194a9214b04 platform/x86: p2sb: Make p2sb_get_devfn() return void
    db3667c9bbfb net: stmmac: fix TSO DMA API usage causing oops
    43fb5b0974eb usb: cdns3: Add quirk flag to enable suspend residency
    c7cc4152c0f4 PCI/AER: Disable AER service on suspend
    3e221877dd92 PCI: Use preserve_config in place of pci_flags
    0d1d7e0c6439 ASoC: Intel: sof_sdw: add quirk for Dell SKU 0B8C
    9a6a33eb6be3 ASoC: Intel: sof_sdw: fix jack detection on ADL-N variant RVP
    dbdee8456aa8 MIPS: Loongson64: DTS: Fix msi node for ls7a
    d10b8db9907e usb: cdns3-ti: Add workaround for Errata i2409
    25f760c9ecfd PCI: Add ACS quirk for Broadcom BCM5760X NIC
    db7d50a5d7c4 PCI: vmd: Create domain symlink before pci_bus_add_devices()
    4f3cb0f96a2a usb: dwc2: gadget: Don't write invalid mapped sg entries into dma_desc with iommu enabled
    97e13434b5da net: sched: fix ordering of qlen adjustment
    ab6cc4ef42d6 Linux 6.6.67
    e68cbbef3d6f x86/static-call: fix 32-bit build
    44a7b0419d35 ALSA: usb-audio: Fix a DMA to stack memory bug
    bcf0e2fda80c x86/xen: remove hypercall page
    bcca7e067909 x86/xen: use new hypercall functions instead of hypercall page
    31f29270c15b x86/xen: add central hypercall functions
    82c211ead1ec x86/xen: don't do PV iret hypercall through hypercall page
    cd95149561d5 x86/static-call: provide a way to do very early static-call updates
    8fb54fe2e709 objtool/x86: allow syscall instruction
    aac984c87ef8 x86: make get_cpu_vendor() accessible from Xen code
    fe9a8f5250ae xen/netfront: fix crash when removing device
    4a41bb9f2b40 net: rswitch: Avoid use-after-free in rswitch_poll()
    9f7a9f95dfb7 selftests/bpf: remove use of __xlated()
    ce444a00414a selftests/bpf: Add netlink helper library
    3a7d88f9814a tracing/kprobes: Skip symbol counting logic for module symbols in create_local_trace_kprobe()
    bfe9446ea1d9 bpf: sync_linked_regs() must preserve subreg_def
    4e76efda1f0a KVM: arm64: Disable MPAM visibility by default and ignore VMM writes
    e2ccaf2d0eb5 kselftest/arm64: abi: fix SVCR detection
    4a542118457d blk-iocost: Avoid using clamp() on inuse in __propagate_weights()
    ee11eaa15132 net: dsa: microchip: KSZ9896 register regmap alignment to 32 bit boundaries
    f5fcb1ff9f46 net: renesas: rswitch: fix initial MPIC register setting
    ecdcaea0e405 Bluetooth: btmtk: avoid UAF in btmtk_process_coredump
    3bf09c685e1b Bluetooth: SCO: Add support for 16 bits transparent voice setting
    263b390a826f Bluetooth: iso: Fix recursive locking warning
    0108132d7d76 Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating
    11dc486ed5d4 Bluetooth: ISO: Reassociate a socket with an active BIS
    81c4b9529ed8 ACPICA: events/evxfregn: don't release the ContextMutex that was never acquired
    c6c217c6e28a team: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL
    679b5884e61d bonding: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL
    3824c5fad18e net/sched: netem: account for backlog updates from child qdisc
    72dc88eca723 net: dsa: felix: fix stuck CPU-injected packets with short taprio windows
    27f0574253f6 netfilter: nf_tables: do not defer rule destruction via call_rcu
    8c2c8445cda8 netfilter: IDLETIMER: Fix for possible ABBA deadlock
    01b2c761503b net: renesas: rswitch: handle stop vs interrupt race
    bf8c6755f020 net: renesas: rswitch: avoid use-after-put for a device tree node
    78aa0aabb093 net: renesas: rswitch: fix leaked pointer on error path
    0c316b6e0aef net: renesas: rswitch: fix race window between tx start and complete
    af327c0f41d6 net: rswitch: Add jumbo frames handling for TX
    87388cbe9330 net: rswitch: Add a setting ext descriptor function
    0aeec4bb6a9f net: rswitch: Add unmap_addrs instead of dma address in each desc
    99ee2eb6e0fe net: rswitch: Use build_skb() for RX
    ad4bd2c039fb net: rswitch: Use unsigned int for desc related array index
    2a584b1443bd net: rswitch: Drop unused argument/return value
    f789f9d1af40 Documentation: PM: Clarify pm_runtime_resume_and_get() return value
    5b8ea6b89f92 ASoC: amd: yc: Fix the wrong return value
    d5a1ca7b5980 ALSA: control: Avoid WARN() for symlink errors
    131798aea9ae qca_spi: Make driver probing reliable
    ebaf832f1e22 qca_spi: Fix clock speed for multiple QCA7000
    3942f0b0d652 cxgb4: use port number to set mac addr
    ae5fab215f9c ACPI: resource: Fix memory resource type union access
    0d9344165273 net: sparx5: fix the maximum frame length register
    ad74e16b351d net: sparx5: fix FDMA performance issue
    f1d6afbe1ecd spi: aspeed: Fix an error handling path in aspeed_spi_[read|write]_user()
    8e9b5e14e5b9 net: mscc: ocelot: perform error cleanup in ocelot_hwstamp_set()
    3b3277267d7b net: mscc: ocelot: be resilient to loss of PTP packets during transmission
    5f2c6930c689 net: mscc: ocelot: ocelot->ts_id_lock and ocelot_port->tx_skbs.lock are IRQ-safe
    7f42e62a6e9f net: mscc: ocelot: improve handling of TX timestamp for unknown skb
    d275b713496e net: mscc: ocelot: fix memory leak on ocelot_port_add_txtstamp_skb()
    b7a79e51297f net: defer final 'struct net' free in netns dismantle
    03e661b5e7aa net: lapb: increase LAPB_HEADER_LEN
    74f0a6912926 ptp: kvm: x86: Return EOPNOTSUPP instead of ENODEV from kvm_arch_ptp_init()
    03528ff8de66 selftests: mlxsw: sharedbuffer: Ensure no extra packets are counted
    c9776bd1422e selftests: mlxsw: sharedbuffer: Remove duplicate test cases
    2be4018f4ce1 selftests: mlxsw: sharedbuffer: Remove h1 ingress test case
    bd7ddc5f921d wifi: cfg80211: sme: init n_channels before channels[] access
    325cf73a1b44 net/mlx5: DR, prevent potential error pointer dereference
    89ecda492d0a tipc: fix NULL deref in cleanup_bearer()
    4a9a7f9f745d batman-adv: Do not let TT changes list grows indefinitely
    fd0638fa60e6 batman-adv: Remove uninitialized data in full table TT response
    b2b6ecc29204 batman-adv: Do not send uninitialized TT changes
    86106974d0a8 amdgpu/uvd: get ring reference from rq scheduler
    e08dc2dc3c3f acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl
    567df47c3e45 wifi: mac80211: fix station NSS capability initialization order
    c32db61989af wifi: mac80211: clean up 'ret' in sta_link_apply_parameters()
    c07923459935 wifi: mac80211: init cnt before accessing elem in ieee80211_copy_mbssid_beacon
    f3412522f788 wifi: nl80211: fix NL80211_ATTR_MLO_LINK_ID off-by-one
    a574145ef474 rtla/timerlat: Make timerlat_hist_cpu->*_count unsigned long long
    dbec5b420397 bpf, sockmap: Fix update element with same
    b015f19fedd2 bpf, sockmap: Fix race between element replace and close()
    c2b6b47662d5 bpf,perf: Fix invalid prog_array access in perf_event_detach_bpf_prog
    68d23ee1bdf1 bpf: Fix theoretical prog_array UAF in __uprobe_perf_func()
    c7e1962a3807 bpf: Check size for BTF-based ctx access of pointer members
    0f2dd866c6b1 xfs: only run precommits once per transaction object
    08b1325d67a1 xfs: fix scrub tracepoints when inode-rooted btrees are involved
    eef2e0da3185 xfs: return from xfs_symlink_verify early on V4 filesystems
    549f2fc321ea xfs: don't drop errno values when we fail to ficlone the entire range
    b4f3bf6fe918 xfs: update btree keys correctly when _insrec splits an inode root block
    e07f9c92bd12 drm/i915: Fix NULL pointer dereference in capture_engine
    1f7659950736 drm/i915: Fix memory leak by correcting cache object name in error handler
    c0484aa1adc3 usb: dwc3: xilinx: make sure pipe clock is deselected in usb2 only mode
    8ca07a3d18f3 usb: gadget: u_serial: Fix the issue that gs_start_io crashed due to accessing null pointer
    bd8ca5c5a04a usb: typec: anx7411: fix OF node reference leaks in anx7411_typec_switch_probe()
    1c766533deb3 usb: typec: anx7411: fix fwnode_handle reference leak
    e22e4df241f7 usb: ehci-hcd: fix call balance of clocks handling routines
    35acf6d7e889 usb: gadget: midi2: Fix interpretation of is_midi1 bits
    3184e07e1240 scsi: ufs: core: Update compl_time_stamp_local_clock after completing a cqe
    6c75336869c7 usb: dwc2: Fix HCD port connection race
    700f3afe5b76 usb: dwc2: hcd: Fix GetPortStatus & SetPortFeature
    09883478938d usb: dwc2: Fix HCD resume
    a3840455f275 ata: sata_highbank: fix OF node reference leak in highbank_initialize_phys()
    a867bf10364a usb: host: max3421-hcd: Correctly abort a USB request.
    6f796a6a396d riscv: Fix IPIs usage in kfence_protect_page()
    e6c338476c80 ALSA: usb-audio: Add implicit feedback quirk for Yamaha THR5
    5baa28569c92 blk-cgroup: Fix UAF in blkcg_unpin_online()
    aa9b1d0d6a5b riscv: Fix wrong usage of __pa() on a fixmap address
    7ac2535d8ee6 tcp: check space before adding MPTCP SYN options
    bc6d8cc2c563 splice: do not checksum AF_UNIX sockets
    450a844c045f ksmbd: fix racy issue from session lookup and expire
    0252305d2964 perf/x86/intel/ds: Unconditionally drain PEBS DS when changing PEBS_DATA_CFG
    f9f85df30118 bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 73c7ebc06e9599406c9bccc7431dce74c7a117bc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3765ad18b68446727f2bbce6ab2e43a594dacdd9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Bruce Ashfield
838aede38e linux-yocto/6.6: update to v6.6.66
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    a66cdcdc9e44 Linux 6.6.66
    35163f642d91 i3c: master: svc: fix possible assignment of the same address to two devices
    43bbc5f8586e i3c: master: Remove i3c_dev_disable_ibi_locked(olddev) on device hotjoin
    1baed369508b serial: amba-pl011: fix build regression
    5eb15d2f4eb4 platform/x86: asus-wmi: Fix thermal profile initialization
    8bb7b689369e ALSA: usb-audio: Update UMP group attributes for GTB blocks, too
    fe330624b85f usb: dwc3: ep0: Don't reset resource alloc flag
    3706311ea095 net/smc: fix incorrect SMC-D link group matching logic
    7a89f5318252 ALSA: hda: Fix build error without CONFIG_SND_DEBUG
    2daba7d857e4 drm/amdgpu: rework resume handling for display (v2)
    aec3eecce11d ASoC: Intel: avs: Fix return status of avs_pcm_hw_constraints_init()
    3e26e24a301e ocfs2: Revert "ocfs2: fix the la space leak when unmounting an ocfs2 volume"
    7a670b420ef2 btrfs: add cancellation points to trim loops
    d11f14a7911e iio: invensense: fix multiple odr switch when FIFO is off
    ed968a1f1f66 xhci: dbc: Fix STALL transfer event handling
    1af5e8b1c9f3 mm/damon/vaddr: fix issue in damon_va_evenly_split_region()
    4358f241594b jffs2: Fix rtime decompressor
    6808a1812a34 jffs2: Prevent rtime decompress memory corruption
    0d5c7fcfa585 KVM: x86/mmu: Ensure that kvm_release_pfn_clean() takes exact pfn from kvm_faultin_pfn()
    67b5ed3b4d36 selftests/ftrace: adjust offset for kprobe syntax error test
    032b4122a92a vfio/mlx5: Align the page tracking max message size with the device capability
    7535956ffe5b Revert "unicode: Don't special case ignorable code points"
    1240225d838b x86: Fix build regression with CONFIG_KEXEC_JUMP enabled
    720792341f5e tracing/eprobe: Fix to release eprobe when failed to add dyn_event
    9d9bd3f7da8a clk: en7523: Initialize num before accessing hws in en7523_register_clocks()
    2a72d5cc83d6 btrfs: fix missing snapshot drew unlock when root is dead during swap activation
    b600d3040285 sched/deadline: Fix warning in migrate_enable for boosted tasks
    01ecd269755e sched/deadline: Move bandwidth accounting into {en,de}queue_dl_entity
    842010e3ca9e sched/deadline: Collect sched_dl_entity initialization
    24617f9ca8c8 sched: Unify more update_curr*()
    7f509457773e sched: Remove vruntime from trace_sched_stat_runtime()
    4db5988bb099 sched: Unify runtime accounting across classes
    654f3294c69e sched/headers: Move 'struct sched_param' out of uapi, to work around glibc/musl breakage
    b2f7d7507982 sched/fair: Rename check_preempt_curr() to wakeup_preempt()
    5787443f556e sched/fair: Rename check_preempt_wakeup() to check_preempt_wakeup_fair()
    b607a3886e61 sched/core: Prevent wakeup of ksoftirqd during idle load balance
    a2b004f5c93d sched/fair: Check idle_cpu() before need_resched() to detect ilb CPU turning busy
    f163cf9c6ae9 sched/core: Remove the unnecessary need_resched() check in nohz_csd_func()
    a13b2b9b0b0b mm/mempolicy: fix migrate_to_node() assuming there is at least one VMA in a MM
    cc424890b06b mempolicy: fix migrate_pages(2) syscall return nr_failed
    8f149bcc4d91 sched/numa: fix memory leak due to the overwritten vma->numab_state
    41f65469c33f sched/numa: Fix mm numa_scan_seq based unconditional scan
    42882b583095 io_uring/tctx: work around xa_store() allocation error issue
    c45cec53eeb4 setlocalversion: work around "git describe" performance
    2102ed90f789 smb: client: don't try following DFS links in cifs_tree_connect()
    b32ce4f9e3b7 serial: 8250_dw: Add Sophgo SG2044 quirk
    79f1a5b17bf5 rtc: cmos: avoid taking rtc_lock for extended period of time
    3fbde702748d misc: eeprom: eeprom_93cx6: Add quirk for extra read clock cycle
    691284c2cd33 powerpc/prom_init: Fixup missing powermac #size-cells
    44eb450d8ed5 ASoC: amd: yc: Add quirk for microphone on Lenovo Thinkpad T14s Gen 6 21M1CTO1WW
    8ef9ea1503d0 MIPS: Loongson64: DTS: Really fix PCIe port nodes for ls7a
    cb6d7ffca4be drm/amdgpu/vcn: reset fw_shared when VCPU buffers corrupted on vcn v4.0.3
    ddc2aa0f99e7 ASoC: amd: yc: fix internal mic on Redmi G 2022
    2c810ecfcc95 iio: light: ltr501: Add LTER0303 to the supported devices
    3fc7b49d24b1 usb: chipidea: udc: handle USB Error Interrupt if IOC not set
    57f7979aefdc fs/ntfs3: Fix case when unmarked clusters intersect with zone
    c5f89458a2ea LoongArch: Fix sleeping in atomic context for PREEMPT_RT
    ec1208b13c5e ACPI: x86: Clean up Asus entries in acpi_quirk_skip_dmi_ids[]
    353bc143066d ACPI: x86: Add skip i2c clients quirk for Acer Iconia One 8 A1-840
    295b50e95e90 f2fs: fix to shrink read extent node in batches
    76bdd3b1c256 f2fs: print message if fscorrupted was found in f2fs_new_node_page()
    ffe19e363c6f i3c: Use i3cdev->desc->info instead of calling i3c_device_get_info() to avoid deadlock
    29c80f54e362 PCI: Add ACS quirk for Wangxun FF5xxx NICs
    407476eb5f76 PCI: Add 'reset_subordinate' to reset hierarchy below bridge
    b824ea2af6e0 PCI: Detect and trust built-in Thunderbolt chips
    c37cc784af7e PCI: vmd: Set devices to D0 before enabling PM L1 Substates
    61ee910a0042 PCI: vmd: Add DID 8086:B06F and 8086:B60B for Intel client SKUs
    70d65110986e PCI: qcom: Add support for IPQ9574
    a6dc4b4fda2e i3c: mipi-i3c-hci: Mask ring interrupts before ring stop request
    880827a141e3 KMSAN: uninit-value in inode_go_dump (5)
    9669b28f81e0 f2fs: fix f2fs_bug_on when uninstalling filesystem call f2fs_evict_inode.
    562334170295 verification/dot2: Improve dot parser robustness
    7a135fd49c3e smb: client: memcpy() with surrounding object base address
    08ab71e0f618 nvdimm: rectify the illogical code within nd_dax_probe()
    9e4828b78e28 thermal/drivers/qcom/tsens-v1: Add support for MSM8937 tsens
    03bf88b1e95d pinctrl: qcom: spmi-mpp: Add PM8937 compatible
    b377ef01a3d9 pinctrl: qcom-pmic-gpio: add support for PM8937
    338368f7fe2d scsi: st: Add MTIOCGET and MTLOAD to ioctls allowed after device reset
    0e5642e73a63 scsi: st: Don't modify unknown block number in MTIOCGET
    f6d6fb563e4b leds: class: Protect brightness_show() with led_cdev->led_access mutex
    8d37cb1c8f1a clk: qcom: tcsrcc-sm8550: add SAR2130P support
    62bd597e1e87 clk: qcom: rpmh: add support for SAR2130P
    80864fe570d5 clk: qcom: rcg2: add clk_rcg2_shared_floor_ops
    c6c58505bfba scsi: lpfc: Call lpfc_sli4_queue_unset() in restart and rmmod paths
    5fe23c57abad bpf: put bpf_link's program when link is safe to be deallocated
    6ff9768a3144 scsi: ufs: core: Make DMA mask configuration more flexible
    2da32aed4a97 pinmux: Use sequential access to access desc->pinmux data
    50ddf4b0e1a4 scsi: hisi_sas: Add cond_resched() for no forced preemption model
    77c9ad0c425a rtla/timerlat: Make timerlat_top_cpu->*_count unsigned long long
    987abe82faa9 tools/rtla: fix collision with glibc sched_attr/sched_set_attr
    aceff9270e86 tracing: Use atomic64_inc_return() in trace_clock_counter()
    d62b8e0c3f36 tracing/ftrace: disable preemption in syscall probe
    1cbb632b515a pinctrl: freescale: fix COMPILE_TEST error with PINCTRL_IMX_SCU
    fdac3e251d9e netpoll: Use rcu_access_pointer() in __netpoll_setup
    843adffcbb4a net/neighbor: clear error in case strict check is not set
    ed8cf33dead6 rocker: fix link status detection in rocker_carrier_init()
    d7a6ff5dc803 ASoC: hdmi-codec: reorder channel allocation list
    d87c7db6213c Bluetooth: Set quirks for ATS2851
    ac22911f2eed Bluetooth: Support new quirks for ATS2851
    5af48b484ec0 Bluetooth: Add new quirks for ATS2851
    5e50d12cc6e9 Bluetooth: hci_core: Fix not checking skb length on hci_acldata_packet
    36af575822ef Bluetooth: btusb: Add RTL8852BE device 0489:e123 to device tables
    916b577a2cef dsa: qca8k: Use nested lock to avoid splat
    10e8a2dec9ff bpf: Call free_htab_elem() after htab_unlock_bucket()
    07c020c6d14d wifi: brcmfmac: Fix oops due to NULL pointer dereference in brcmf_sdiod_sglist_rw()
    3afd475d5af9 wifi: ipw2x00: libipw_rx_any(): fix bad alignment
    b9e52a96ec92 drm/amdgpu: set the right AMDGPU sg segment limitation
    83c45de6c6ce ALSA: usb-audio: Make mic volume workarounds globally applicable
    a8f7d6963768 virtio-net: fix overflow inside virtnet_rq_alloc
    4e3f73221deb drm/amdgpu: skip amdgpu_device_cache_pci_state under sriov
    69df145daf15 fsl/fman: Validate cell-index value obtained from Device Tree
    3b5d21b56c37 jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
    e7d376f94f72 jfs: fix array-index-out-of-bounds in jfs_readdir
    c56245baf3fd jfs: fix shift-out-of-bounds in dbSplit
    fd993b2180b4 jfs: array-index-out-of-bounds fix in dtReadFirst
    c212d91070be dma-debug: fix a possible deadlock on radix_lock
    efb054752f2c drm/amdgpu: refine error handling in amdgpu_ttm_tt_pin_userptr
    3295bd236450 netlink: specs: Add missing bitset attrs to ethtool spec
    ccc22ebf98df drm/amdgpu: Dereference the ATCS ACPI buffer
    9a1546e775f5 drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts for vega20_ih
    87210234e5a2 drm/sched: memset() 'job' in drm_sched_job_init()
    d783451a49d4 net: stmmac: Programming sequence for VLAN packets with split header
    81f4a1e9b654 net: sfp: change quirks for Alcatel Lucent G-010S-P
    556ae6c91145 drm/panel: simple: Add Microchip AC69T88A LVDS Display panel
    ffe1766a3a55 fanotify: allow reporting errors on failure to open fd
    d7a6fb6442b1 wifi: ath5k: add PCI ID for Arcadyan devices
    87b969352d38 wifi: ath5k: add PCI ID for SX76X
    706b07b7b37f net: inet6: do not leave a dangling sk pointer in inet6_create()
    25447c6aaa72 net: inet: do not leave a dangling sk pointer in inet_create()
    b4982fbf1304 net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()
    db207d19adba net: af_can: do not leave a dangling sk pointer in can_create()
    6021ccc2471b Bluetooth: RFCOMM: avoid leaving dangling sk pointer in rfcomm_sock_alloc()
    8ad09ddc63ac Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()
    157f08db9412 af_packet: avoid erroring out after sock_init_data() in packet_create()
    b77109f18a8d net/sched: cbs: Fix integer overflow in cbs_set_port_rate()
    159c6df97655 net: ethernet: fs_enet: Use %pa to format resource_size_t
    6c591b8d0153 net: fec_mpc52xx_phy: Use %pa to format resource_size_t
    cf27f38254db samples/bpf: Fix a resource leak
    a52bc92fc47e r8169: don't apply UDP padding quirk on RTL8126A
    fba2b2d0b7cc ALSA: hda/conexant: Use the new codec SSID matching
    f4306ef142bc ALSA: hda: Use own quirk lookup helper
    45e43e721e26 drm/display: Fix building with GCC 15
    6fbdc3980b70 dlm: fix possible lkb_resource null dereference
    5059372280e2 drm/radeon/r600_cs: Fix possible int overflow in r600_packet3_check()
    1a0f54cb3fea wifi: rtw89: check return value of ieee80211_probereq_get() for RNR
    1159d74ed469 drm/mcde: Enable module autoloading
    0a59c2fe8d67 drm/bridge: it6505: Enable module autoloading
    189dc7030b72 drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
    33126ee70c56 drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
    290127c6452d drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
    258b997e5119 drm/vc4: hvs: Set AXI panic modes for the HVS
    e0388a95736a drm/vc4: hdmi: Avoid log spam for audio start failure
    6e8348ec4215 HID: magicmouse: Apple Magic Trackpad 2 USB-C driver support
    66ab53850ca1 selftests/resctrl: Protect against array overflow when reading strings
    70e2f30534bb regmap: maple: Provide lockdep (sub)class for maple tree's internal lock
    2129f6faa5df soc: imx8m: Probe the SoC driver as platform driver
    3379f506f059 mmc: sdhci-esdhc-imx: enable quirks SDHCI_QUIRK_NO_LED
    63ddf8a5ec8f mmc: core: Add SD card quirk for broken poweroff notification
    8910c0217d7e media: cx231xx: Add support for Dexatek USB Video Grabber 1d19:6108
    31f9b4a22347 media: uvcvideo: Add a quirk for the Kaiweets KTI-W02 infrared camera
    f20f3416fe33 media: uvcvideo: RealSense D421 Depth module metadata
    115afb20fdff HID: add per device quirk to force bind to hid-generic
    5b1f34bf3617 spi: spi-fsl-lpspi: Adjust type of scldiv
    28ed7bc5eee0 perf/x86/amd: Warn only on new bits set
    5a4688dbf4ae ACPI: x86: Make UART skip quirks work on PCI UARTs without an UID
    cfa076596dc4 hwmon: (nct6775) Add 665-ACE/600M-CL to ASUS WMI monitoring list
    dca4e74a9185 kcsan: Turn report_filterlist_lock into a raw_spinlock
    e8483ae13100 kselftest/arm64: Don't leak pipe fds in pac.exec_sign_all()
    4c7baac247ce btrfs: do not clear read-only when adding sprout device
    a5d74fa24752 btrfs: avoid unnecessary device path update for the same device
    a5bc4e030f50 btrfs: don't take dev_replace rwsem on task already holding it
    a69752f1e5de s390/cpum_sf: Handle CPU hotplug remove during sampling
    7c27b25891b0 kselftest/arm64: Log fp-stress child startup errors to stdout
    61005057fd5c epoll: annotate racy check
    af3fde6112b2 x86/mm: Add _PAGE_NOPTISHADOW bit to avoid updating userspace page tables
    cb9945f292a8 kasan: make report_lock a raw spinlock
    625e3f5d13a7 lib: stackinit: hide never-taken branch from compiler
    03ba9477dcca ocfs2: update seq_file index in ocfs2_dlm_seq_next
    07f395d6197c mmc: core: Further prevent card detect during shutdown
    5d8525e5067a mmc: sdhci-pci: Add DMI quirk for missing CD GPIO on Vexia Edu Atla 10 tablet
    f1a99d8645d8 regmap: detach regmap from dev on regmap_exit
    f8abd03f83d5 xsk: fix OOB map writes when deleting elements
    5ea568e71d0c dma-fence: Use kernel's sort for merging fences
    ce97e7891b5d dma-fence: Fix reference leak on fence merge failure path
    4e1cb04a68af dma-buf: fix dma_fence_array_signaled v4
    8e858930695d bpf: fix OOB devmap writes when deleting elements
    94666abe8163 x86/kexec: Restore GDT on return from ::preserve_context kexec
    70d6c1badec3 modpost: Add .irqentry.text to OTHER_SECTIONS
    e2153e479e93 drm/amdgpu/hdp5.2: do a posting read when flushing HDP
    d834d20d2e86 drm/dp_mst: Fix resetting msg rx state after topology removal
    396f697500c8 drm/dp_mst: Verify request type in the corresponding down message reply
    c58947a8d4a5 drm/dp_mst: Fix MST sideband message body length check
    23b5908b11b7 cacheinfo: Allocate memory during CPU hotplug if not done from the primary CPU
    cc05aa2c0117 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again
    bd74bc9b3a8c smb3.1.1: fix posix mounts to older servers
    ccf435caa314 fs/smb/client: cifs_prime_dcache() for SMB3 POSIX reparse points
    136fca78a66d fs/smb/client: Implement new SMB3 POSIX type
    439224eb2f5b fs/smb/client: avoid querying SMB2_OP_QUERY_WSL_EA for SMB3 POSIX
    c3afea07477b nilfs2: fix potential out-of-bounds memory access in nilfs_find_entry()
    1e30b52edf17 scsi: ufs: core: Add missing post notify for power mode change
    0069928727c2 scsi: ufs: core: sysfs: Prevent div by zero
    38bd792fb676 scsi: qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt
    15369e774f27 scsi: qla2xxx: Fix use after free on unload
    dbd3f8f3ade1 scsi: qla2xxx: Supported speed displayed incorrectly for VPorts
    968bba7d1d04 scsi: qla2xxx: Fix NVMe and NPIV connect issue
    00e1503aaef7 scsi: qla2xxx: Fix abort in bsg timeout
    bafa26387438 ALSA: hda/realtek: Add support for Samsung Galaxy Book3 360 (NP730QFG)
    00a4369b3a4b ALSA: hda/realtek: Enable mute and micmute LED on HP ProBook 430 G8
    2e50b49ba498 ALSA: usb-audio: add mixer mapping for Corsair HS80
    96035c0093db arm64: ptrace: fix partial SETREGSET for NT_ARM_TAGGED_ADDR_CTRL
    8c36240460f9 arm64: Ensure bits ASID[15:8] are masked out when the kernel uses 8-bit ASIDs
    cdf81c4a8150 tracing: Fix cmp_entries_dup() to respect sort() comparison rules
    50d66c86262f can: mcp251xfd: mcp251xfd_get_tef_len(): work around erratum DS80000789E 6.
    1ac442f25c19 can: dev: can_set_termination(): allow sleeping GPIOs
    7015d9d4cc70 watchdog: rti: of: honor timeout-sec property
    164d3597d26d ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
    27de4295522e ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read
    7dfbf011a57b LoongArch: Add architecture specific huge_pte_clear()
    a7f0509556fa HID: wacom: fix when get product name maybe null pointer
    81ad32b87eb9 mm: page_alloc: move mlocked flag clearance into free_pages_prepare()
    67a102352bb2 x86/CPU/AMD: WARN when setting EFER.AUTOIBRS if and only if the WRMSR fails
    68570b5c89c5 bpf: Fix exact match conditions in trie_get_next_key()
    2e9ff3f4834c bpf: Handle in-place update for full LPM trie correctly
    c1ab31edd258 bpf: Remove unnecessary kfree(im_node) in lpm_trie_update_elem
    c5325e6e4b6d bpf: Handle BPF_EXIST and BPF_NOEXIST for LPM trie
    67e972130bb6 iio: magnetometer: yas530: use signed integer type for clamp limits
    6d3f4c72019f scatterlist: fix incorrect func name in kernel-doc
    a84d507d3290 ocfs2: free inode when ocfs2_get_init_inode() fails
    6acd8e87b6e1 drm/v3d: Enable Performance Counters before clearing them
    88237f66b142 ASoC: mediatek: mt8188-mt6359: Remove hardcoded dmic codec
    602c3038a8a6 scsi: scsi_debug: Fix hrtimer support for ndelay
    59b30afa5786 scsi: sg: Fix slab-use-after-free read in sg_release()
    c169daf3cf39 bpf: Fix narrow scalar spill onto 64-bit spilled scalar slots
    9a420d6b4065 ASoC: SOF: ipc3-topology: fix resource leaks in sof_ipc3_widget_setup_comp_dai()
    77e01dfb4fb2 ASoC: SOF: ipc3-topology: Convert the topology pin index to ALH dai index
    f65d85bc1ffd spi: mpc52xx: Add cancel_work_sync before module remove
    37eef8c2e085 tools: Override makefile ARCH variable if defined, but empty
    8a2d8958585a ALSA: usb-audio: Notify xrun for low-latency mode
    06d43e40e2f9 ALSA: seq: ump: Fix seq port updates per FB info notify
    8ddb4126e6a4 ALSA: ump: Update substream name from assigned FB names
    d3e8e4d62c88 ALSA: seq: ump: Use automatic cleanup of kfree()
    206d56f41a15 tcp_bpf: Fix the sk_mem_uncharge logic in tcp_bpf_sendmsg
    f2f6d999a934 drm/sti: Add __iomem for mixer_dbg_mxn's parameter
    6bc209dbacc5 bpftool: fix potential NULL pointer dereferencing in prog_dump()
    0fcda0c9cb15 xsk: always clear DMA mapping information when unmapping the pool
    d504dc20b768 bpf, vsock: Invoke proto::close on close()
    57c47d3cf1a6 bpf, vsock: Fix poll() missing a queue
    c3799292d639 scsi: ufs: core: Add ufshcd_send_bsg_uic_cmd() for UFS BSG
    12e24d8a005c scsi: ufs: core: Always initialize the UIC done completion
    d5be5ce82a7e drm/bridge: it6505: Fix inverted reset polarity
    485924554390 drm/bridge: it6505: update usleep_range for RC circuit charge time
    f454a3e98c30 i3c: master: Fix dynamic address leak when 'assigned-address' is present
    990da49bfcbf i3c: master: Extend address status bit to 4 and add I3C_ADDR_SLOT_EXT_DESIRED
    72863649acec i3c: master: Replace hard code 2 with macro I3C_ADDR_SLOT_STATUS_BITS
    ac0fed078bc9 i3c: master: svc: Modify enabled_events bit 7:0 to act as IBI enable counter
    07f4c0df0eb3 i3c: master: svc: use slow speed for first broadcast address
    5626d1addc2a i3c: master: support to adjust first broadcast address speed
    a68c391c6321 i3c: master: fix kernel-doc check warning
    8aa36f7e004b i3c: master: svc: add hot join support
    e7217d528ef5 i3c: master: add enable(disable) hot join in sys entry
    ed24ab98242f f2fs: fix to drop all discards after creating snapshot on lvm device
    f3ae93e738db driver core: fw_devlink: Stop trying to optimize cycle detection logic
    dce7a5c7bfa3 driver core: Add FWLINK_FLAG_IGNORE to completely ignore a fwnode link
    5c764791fb7b driver core: fw_devlink: Improve logs for cycle detection
    faa6f8ce1b15 ntp: Remove invalid cast in time offset math
    91d2be8d4bf5 powerpc/vdso: Drop -mstack-protector-guard flags in 32-bit files with clang
    d68b0e67cff7 powerpc/vdso: Refactor CFLAGS for CVDSO build
    4a9485918a04 iommu/arm-smmu: Defer probe of clients after smmu device bound
    7360a0e798f4 zram: clear IDLE flag in mark_idle()
    9c251d1381ed zram: do not mark idle slots that cannot be idle
    b7c3fd65a3ea zram: split memory-tracking and ac-time tracking
    543d8315c289 mmc: mtk-sd: Fix MMC_CAP2_CRYPTO flag setting
    7e0ccc28fad1 mmc: mtk-sd: fix devm_clk_get_optional usage
    06b7f9295a42 mmc: mtk-sd: Fix error handle of probe function
    a8ece7488716 mmc: mtk-sd: use devm_mmc_alloc_host
    c6a3fa838e51 usb: dwc3: ep0: Don't clear ep0 DWC3_EP_TRANSFER_STARTED
    3df5497b9183 usb: dwc3: ep0: Don't reset resource alloc flag (including ep0)
    65b1f31111ee usb: dwc3: gadget: Rewrite endpoint allocation flow
    395d9b40431c soc: fsl: cpm1: qmc: Set the ret error code on platform_get_irq() failure
    6885d8e7c1e3 soc: fsl: cpm1: qmc: Introduce qmc_{init,exit}_xcc() and their CPM1 version
    c73f53c7aaae soc: fsl: cpm1: qmc: Introduce qmc_init_resource() and its CPM1 version
    f865643723e9 soc: fsl: cpm1: qmc: Re-order probe() operations
    7ca6b9e73db2 soc: fsl: cpm1: qmc: Fix blank line and spaces
    850cee347212 soc/fsl: cpm: qmc: Convert to platform remove callback returning void
    2eb983f69079 serial: amba-pl011: Fix RX stall when DMA is used
    5aea1229e7ea serial: amba-pl011: Use port lock wrappers
    8d2ca6ac3711 gpio: grgpio: Add NULL check in grgpio_probe
    9cc1a6ce157d gpio: grgpio: use a helper variable to store the address of ofdev->dev
    fbc0a0c7718a xhci: Fix control transfer error on Etron xHCI host
    4a2422f67879 xhci: Don't issue Reset Device command to Etron xHCI host
    ec4e6d5944cd xhci: Combine two if statements for Etron xHCI host
    459cda7500ec xhci: remove XHCI_TRUST_TX_LENGTH quirk
    d55694547cd2 xhci: Allow RPM on the USB controller (1022:43f7) by default
    ea6b5d98fea4 KVM: arm64: Don't retire aborted MMIO instruction
    3fe534a02897 KVM: arm64: Change kvm_handle_mmio_return() return polarity
    3265aab0736f net: avoid potential UAF in default_operstate()
    4bd8ced2b9f6 net/mlx5e: Remove workaround to avoid syndrome for internal port
    97ce3a4ec55e geneve: do not assume mac header is set in geneve_xmit_skb()
    711525430d12 mlxsw: spectrum_acl_flex_keys: Use correct key block on Spectrum-4
    e5239f8671a1 mlxsw: spectrum_acl_flex_keys: Constify struct mlxsw_afk_element_inst
    5e7388444095 mlxsw: Mark high entropy key blocks
    64b67f77d993 mlxsw: Edit IPv6 key blocks to use one less block for multicast forwarding
    69f60dda481a mlxsw: spectrum_acl_flex_keys: Add 'ipv4_5b' flex key
    7598e65f990a mlxsw: Add 'ipv4_5' flex key
    e5242c5ff4c8 ethtool: Fix wrong mod state in case of verbose and no_mask bitset
    86c27603514c netfilter: nft_set_hash: skip duplicated elements pending gc run
    90bf312a6b6b netfilter: ipset: Hold module reference while requesting a module
    f6dc30c4698d net: sched: fix erspan_opt settings in cls_flower
    53c7314208c8 netfilter: nft_inner: incorrect percpu area handling under softirq
    f309733a8c9d igb: Fix potential invalid memory access in igb_init_module()
    0a4d8b1e3b28 ixgbe: downgrade logging of unsupported VF API version to debug
    2bf463e6c540 ixgbevf: stop attempting IPSEC offload on Mailbox API 1.5
    4f63de0ef87b net/qed: allow old cards not supporting "num_images" to work
    673d606683ac net/smc: fix LGR and link use-after-free issue
    f0c37002210a net/smc: initialize close_work early to avoid warning
    f59b799e52f7 net/smc: refactoring initialization of smc sock
    21f6f41e82e5 net/smc: {at|de}tach sndbuf to peer DMB if supported
    fe7ef3a10c75 net/smc: add operations to merge sndbuf with peer DMB
    988b81020ad4 net/smc: mark optional smcd_ops and check for support when called
    7e5ef8eb0547 net/smc: compatible with 128-bits extended GID of virtual ISM device
    70cfb64c882c net/smc: define a reserved CHID range for virtual ISM devices
    dd0ab991caf1 net/smc: unify the structs of accept or confirm message for v1 and v2
    8ea4fc3fefa1 net/smc: introduce sub-functions for smc_clc_send_confirm_accept()
    612c04a92730 net/smc: rename some 'fce' to 'fce_v2x' for clarity
    d00d4470bf8c tipc: Fix use-after-free of kernel socket in cleanup_bearer().
    d3ec686a369f dccp: Fix memory leak in dccp_feat_change_recv
    f43d12fd0fa8 net/ipv6: release expired exception dst cached in socket
    797a4c1f5b63 ipv6: introduce dst_rt6_info() helper
    19a788bd40fd net-timestamp: make sk_tskey more predictable in error path
    4d5a573f64e8 platform/x86: asus-wmi: Ignore return value when writing thermal policy
    5a4f732e2a8f platform/x86: asus-wmi: Fix inconsistent use of thermal policies
    6051a4b17f9e platform/x86: asus-wmi: add support for vivobook fan profiles
    426d94815e12 can: j1939: j1939_session_new(): fix skb reference counting
    3c215663b3e2 net: hsr: avoid potential out-of-bound access in fill_frame_info()
    d381c2b0d77e net/sched: tbf: correct backlog statistic for GSO packets
    70966e5bafb7 ptp: Add error handling for adjfine callback in ptp_clock_adjtime
    66127f0d1ecf net: enetc: Do not configure preemptible TCs if SIs do not support
    ea8e9f84ea15 selftests: hid: fix typo and exit code
    2f9bec0a749e netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level
    a9bcc0b70d9b netfilter: x_tables: fix LED ID check in led_tg_check()
    124834133b32 ipvs: fix UB due to uninitialized stack access in ip_vs_protocol_init()
    39df17a12746 can: f81604: f81604_handle_can_bus_errors(): fix {rx,tx}_errors statistics
    c7f3a539b180 can: ems_usb: ems_usb_rx_err(): fix {rx,tx}_errors statistics
    0fef1604a436 can: sun4i_can: sun4i_can_err(): fix {rx,tx}_errors statistics
    bbbc9e190b26 can: sja1000: sja1000_err(): fix {rx,tx}_errors statistics
    98b7477236be can: hi311x: hi3110_can_ist(): fix {rx,tx}_errors statistics
    bf92d477a9a3 can: ifi_canfd: ifi_canfd_handle_lec_err(): fix {rx,tx}_errors statistics
    dce292ffb728 can: m_can: m_can_handle_lec_err(): fix {rx,tx}_errors statistics
    112802200944 can: hi311x: hi3110_can_ist(): fix potential use-after-free
    8ac49d8fc936 can: sun4i_can: sun4i_can_err(): call can_change_state() even if cf is NULL
    c146df8292c6 can: c_can: c_can_handle_bus_err(): update statistics if skb allocation fails
    1cdd3563e147 can: gs_usb: add usb endpoint address detection at driver probe step
    e2282706eb5c can: gs_usb: add VID/PID for Xylanta SAINT3 product family
    b8a0428f1eb2 watchdog: mediatek: Make sure system reset gets asserted in mtk_wdt_restart()
    d556b4ff5854 watchdog: apple: Actually flush writes after requesting watchdog restart
    babc8a52fe69 watchdog: xilinx_wwdt: Calculate max_hw_heartbeat_ms using clock frequency
    e417b3cb55a7 iTCO_wdt: mask NMI_NOW bit for update_no_reboot_bit() call
    943e0aeece93 Linux 6.6.65
    b47d9ffb2d1d openrisc: Use asm-generic's version of fix_to_virt() & virt_to_fix()
    52ab77109035 Revert "x86/pvh: Set phys_base when calling xen_prepare_pvh()"
    dd47f7175940 Revert "x86/pvh: Call C code via the kernel virtual mapping"
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: e3cde531755be78188afc56d2f5c234073dbf666)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2db39e7791f8ed430ddfeec87ab2aa178090af45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Bruce Ashfield
cfd84b8c04 linux-yocto/6.6: update to v6.6.64
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    22a054ea1f08 Linux 6.6.64
    f3b82bb26f5b posix-timers: Target group sigqueue to current task only if not exiting
    8a799149ab45 drm/amd/pm: update current_socclk and current_uclk in gpu_metrics on smu v13.0.7
    3990ef742c06 drm/amdgpu: fix usage slab after free
    70e6599a9e78 drm/amdkfd: Use the correct wptr size
    d50b5a7ac7f5 drm: xlnx: zynqmp_dpsub: fix hotplug detection
    65bea1cb0230 drm/etnaviv: flush shader L1 cache after user commandstream
    a3d970f106bb drm/mediatek: Fix child node refcount handling in early exit
    8ab73ac97c0f drm/sti: avoid potential dereference of error pointers
    997b64c3f4c1 drm/sti: avoid potential dereference of error pointers in sti_gdp_atomic_check
    82a5312f874f drm/sti: avoid potential dereference of error pointers in sti_hqvdp_atomic_check
    ac48ddf6b023 udmabuf: use vmf_insert_pfn and VM_PFNMAP for handling mmap
    cfaf83501a0c tpm: Lock TPM chip in tpm_pm_suspend() first
    135b4819f6fb btrfs: don't BUG_ON on ENOMEM from btrfs_lookup_extent_info() in walk_down_proc()
    c062bba16246 powerpc: Adjust adding stack protector flags to KBUILD_CLAGS for clang
    0760e47fa632 powerpc: Fix stack protector Kconfig test for clang
    1bdff8a19cd6 iio: gts: fix infinite loop for gain_to_scaletables()
    e5cac3272199 iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer
    98e1f03de842 iio: Fix fwnode_handle in __fwnode_iio_channel_get_by_name()
    8e5e63d6ca95 iio: accel: kx022a: Fix raw read format
    37dfc81266d3 nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur
    1cecfdbc6bfc nfsd: make sure exp active before svc_export_show
    2eb355346c5a PCI: rockchip-ep: Fix address translation unit programming
    8b404b08be92 PCI: of_property: Assign PCI instead of CPU bus address to dynamic PCI nodes
    6f433923d3b6 dm thin: Add missing destroy_work_on_stack()
    fad9d2a96600 dm: Fix typo in error message
    c5f4540ae66e ovl: properly handle large files in ovl_security_fileattr
    4a44bcb73a0b leds: flash: mt6360: Fix device_for_each_child_node() refcounting in error paths
    5294e8abd46c thermal: int3400: Fix reading of current_uuid for active policy
    6868deee4a6b fs/proc/kcore.c: Clear ret value in read_kcore_iter after successful iov_iter_zero
    b50b631d8fce PCI: endpoint: Clear secondary (not primary) EPC in pci_epc_remove_epf()
    2bf49d724c9e PCI: keystone: Add link up check to ks_pcie_other_map_bus()
    344134ac9190 PCI: keystone: Set mode as Root Complex for "ti,keystone-pcie" compatible
    ce30d11b39e8 i3c: master: Fix miss free init_dyn_addr at i3c_master_put_i3c_addrs()
    0a0dc4834f66 i3c: master: svc: Fix pm_runtime_set_suspended() with runtime pm enabled
    cdcc26d714c9 scsi: ufs: exynos: Fix hibern8 notify callbacks
    6caff31c3d18 util_macros.h: fix/rework find_closest() macros
    308e0cc36dc4 ceph: extract entity name from device id
    33a213c04faf mm/slub: Avoid list corruption when removing a slab from the full list
    2c932d5c7aac ARM: 9431/1: mm: Pair atomic_set_release() with _read_acquire()
    ef21187c0672 ARM: 9430/1: entry: Do a dummy read from VMAP shadow
    1af22528fee8 s390/entry: Mark IRQ entries to fix stack depot warnings
    1359fd9eae29 ARM: 9429/1: ioremap: Sync PGDs for VMALLOC shadow
    7e3a8ea3d1ad ad7780: fix division by zero in ad7780_write_raw()
    8bca39b958f1 clk: qcom: gcc-qcs404: fix initial rate of GPLL3
    6aa39a78128a leds: lp55xx: Remove redundant test for invalid channel number
    3723d1c056d0 iommu/io-pgtable-arm: Fix stage-2 map/unmap for concatenated tables
    9a8b989d8958 zram: clear IDLE flag after recompression
    f8cca70b0e57 vmstat: call fold_vm_zone_numa_events() before show per zone NUMA event
    8a92dc4df89c ftrace: Fix regression with module command in stack_trace_filter
    6e290ee989dd maple_tree: refine mas_store_root() on storing NULL
    065bf5dd2163 ovl: Filter invalid inodes with missing lookup function
    b11813bc2f4e media: uvcvideo: Require entities to have a non-zero unique ID
    f83f6a6e1263 media: uvcvideo: Stop stream during unregister
    6712a28a4f92 media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()
    2dbb2307e19d media: gspca: ov534-ov772x: Fix off-by-one error in set_frame_rate()
    047178d650bc media: venus: Fix pm_runtime_set_suspended() with runtime pm enabled
    3806bec2d470 media: amphion: Fix pm_runtime_set_suspended() with runtime pm enabled
    d173aee5709b efi/libstub: Free correct pointer on failure
    5262cbf40264 media: platform: exynos4-is: Fix an OF node reference leak in fimc_md_is_isp_available
    a2ed3b780f34 media: ts2020: fix null-ptr-deref in ts2020_probe()
    9ca2c2ad6ffa media: verisilicon: av1: Fix reference video buffer pointer assignment
    b7a830bbc25d media: imx-jpeg: Ensure power suppliers be suspended before detach them
    b59ab89bc83f media: i2c: tc358743: Fix crash in the probe error path when using polling
    76ef98f9131e arm64: dts: freescale: imx8mp-verdin: Fix SD regulator startup delay
    55aebcbcfc0a media: i2c: dw9768: Fix pm_runtime_set_suspended() with runtime pm enabled
    0ba08c21c6a9 media: mtk-jpeg: Fix null-ptr-deref during unload module
    68efeff2f7fc media: imx-jpeg: Set video drvdata before register video device
    988cc10ddbde media: amphion: Set video drvdata before register video device
    71a15258f3c9 arm64: dts: ti: k3-am62-verdin: Fix SD regulator startup delay
    7477b16f8031 arm64: dts: freescale: imx8mm-verdin: Fix SD regulator startup delay
    14635785805f arm64: dts: allwinner: pinephone: Add mount matrix to accelerometer
    7897f1f8b785 md/md-bitmap: Add missing destroy_work_on_stack()
    4275ac274194 btrfs: ref-verify: fix use-after-free after invalid ref action
    757171d1369b btrfs: add a sanity check for btrfs root in btrfs_search_slot()
    99f3cd5a866d btrfs: don't loop for nowait writes when checking for cross references
    bcacb52a985f quota: flush quota_release_work upon quota writeback
    a2110964d536 xfs: remove unknown compat feature check in superblock write validation
    b8b84dcdf3ab sh: intc: Fix use-after-free bug in register_intc_controller()
    906cdbdd3b01 block, bfq: fix bfqq uaf in bfq_limit_depth()
    0ca87e506375 sunrpc: fix one UAF issue caused by sunrpc kernel tcp socket
    931be6b73830 SUNRPC: timeout and cancel TLS handshake with -ETIMEDOUT
    3811172e8c98 sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport
    065902117a5b nfs: ignore SB_RDONLY when mounting nfs
    5fab8abc2c27 cifs: unlock on error in smb3_reconfigure()
    880a661e6764 cifs: during remount, make sure passwords are in sync
    fe44c5477284 modpost: remove incorrect code in do_eisa_entry()
    625e2357c8fc smb: Initialize cfid->tcon before performing network ops
    0dd7a8b948fd Rename .data.once to .data..once to fix resetting WARN*_ONCE
    eda52d5ae82d Rename .data.unlikely to .data..unlikely
    ab8c357dbf87 init/modpost: conditionally check section mismatch to __meminit*
    52197a7c14df modpost: squash ALL_{INIT,EXIT}_TEXT_SECTIONS to ALL_TEXT_SECTIONS
    17f4332ae695 modpost: use ALL_INIT_SECTIONS for the section check from DATA_SECTIONS
    db081efa9b80 modpost: disallow the combination of EXPORT_SYMBOL and __meminit*
    a169a023e064 modpost: remove EXIT_SECTIONS macro
    2462732f35f1 modpost: remove MEM_INIT_SECTIONS macro
    95da0b40fa8c modpost: disallow *driver to reference .meminit* sections
    db5647420fb2 modpost: remove ALL_EXIT_DATA_SECTIONS macro
    4151b8e1fca8 rtc: ab-eoz9: don't fail temperature reads on undervoltage notification
    24891e0ebca5 cifs: Fix parsing reparse point with native symlink in SMB1 non-UNICODE session
    430afd3edabf cifs: Fix parsing native symlinks relative to the export
    e061482601b4 smb: client: disable directory caching when dir_cache_timeout is zero
    03a0e2520350 perf/arm-cmn: Ensure port and device id bits are set properly
    9890e6f2ec92 perf/arm-smmuv3: Fix lockdep assert in ->event_init()
    2bb3ee1bf237 9p/xen: fix release of IRQ
    e978643c4c9c 9p/xen: fix init sequence
    5da567d3f737 block: return unsigned int from bdev_io_min
    1e20e4ff3a75 nvme/multipath: Fix RCU list traversal to use SRCU primitive
    f0679539fad9 nvme-multipath: avoid hang on inaccessible namespaces
    85b9f3e63e79 nvme-multipath: implement "queue-depth" iopolicy
    a7071e2bd0fc nvme-multipath: prepare for "queue-depth" iopolicy
    18db8ae7abb5 rtc: rzn1: fix BCD to rtc_time conversion errors
    011c3320e1fc jffs2: fix use of uninitialized variable
    01d3a2293d7e ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit
    612824dd0c94 ubi: fastmap: Fix duplicate slab cache names while attaching
    074b310f0591 ubifs: Correct the total block count by deducting journal reservation
    7e66d36871d1 ubi: fastmap: wl: Schedule fm_work if wear-leveling pool is empty
    dd4b1cbcc916 rtc: check if __rtc_read_time was successful in rtc_timer_do_work()
    a990130f6770 rtc: abx80x: Fix WDT bit position of the status register
    96fd3dfb1d14 rtc: st-lpc: Use IRQF_NO_AUTOEN flag in request_irq()
    229a30ed42bb NFSv4.0: Fix a use-after-free problem in the asynchronous open()
    e7b5a40b9b38 um: Always dump trace for specified task in show_stack
    d3ca120303a7 um: Fix the return value of elf_core_copy_task_fpregs
    a875c023155e um: Fix potential integer overflow during physmem setup
    acfaf37888e0 SUNRPC: make sure cache entry active before cache_show
    dde654cad08f NFSD: Prevent a potential integer overflow
    10209665b5bf ipc: fix memleak if msg_init_ns failed in create_ipc_ns
    27d6e7eff07f f2fs: fix to do sanity check on node blkaddr in truncate_node()
    f7f33bb2dbaf lib: string_helpers: silence snprintf() output truncation warning
    9e68fcffc764 ublk: fix error code for unsupported command
    1534f6f69393 usb: dwc3: gadget: Fix looping of queued SG entries
    bb6bf24fe03b usb: dwc3: gadget: Fix checking for number of TRBs left
    5906ee369367 usb: musb: Fix hardware lockup on first Rx endpoint request
    73934e535cff smb: During unmount, ensure all cached dir instances drop their dentry
    791f83305357 smb: prevent use-after-free due to open_cached_dir error paths
    31fabf70d583 smb: Don't leak cfid when reconnect races with open_cached_dir
    921d90907eb9 smb: client: handle max length for SMB symlinks
    83cb4fb72d64 smb3: request handle caching when caching directories
    edf5b298eb36 ALSA: hda/realtek: Apply quirk for Medion E15433
    0e37c70bff7c ALSA: hda/realtek: Fix Internal Speaker and Mic boost of Infinix Y4 Max
    76e3de272587 ALSA: hda/realtek: Set PCBeep to default value for ALC274
    c917f415c18a ALSA: hda/realtek: Update ALC225 depop procedure
    bc200027ee92 ALSA: pcm: Add sanity NULL check for the default mmap fault handler
    0357abf951c4 ALSA: ump: Fix evaluation of MIDI 1.0 FB info
    e9bf513718d0 media: v4l2-core: v4l2-dv-timings: check cvt/gtf result
    305c75f402e8 soc: fsl: rcpm: fix missing of_node_put() in copy_ippdexpcr1_setting()
    378ce4e08ca2 media: wl128x: Fix atomicity violation in fmc_send_cmd()
    c68dab166532 HID: wacom: Interpret tilt data from Intuos Pro BT as signed values
    68a69ed52a8b blk-mq: Make blk_mq_quiesce_tagset() hold the tag list mutex less long
    e95080fba190 block: fix ordering between checking BLK_MQ_S_STOPPED request adding
    679b1874eba7 block: fix ordering between checking QUEUE_FLAG_QUIESCED request adding
    fe0d9800ead6 block: fix missing dispatching request when queue is started or unquiesced
    ad654c5bfe3e arm64: tls: Fix context-switching of tpidrro_el0 when kpti is enabled
    80f25003af22 ublk: fix ublk_ch_mmap() for 64K page size
    1681131bfa23 iio: gts: Fix uninitialized symbol 'ret'
    09faf32c682e sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
    8204dd589c4f um: vector: Do not use drvdata in release
    ad253966ee98 serial: 8250: omap: Move pm_runtime_get_sync
    63ff22d706bb serial: 8250_fintek: Add support for F81216E
    11af46904019 dt-bindings: serial: rs485: Fix rs485-rts-delay property
    cdbd5a1dcdc2 um: net: Do not use drvdata in release
    2d194d951895 um: ubd: Do not use drvdata in release
    5e1feafa7347 ubi: wl: Put source PEB into correct list if trying locking LEB failed
    de70a7e1f3d6 platform/chrome: cros_ec_typec: fix missing fwnode reference decrement
    46f8e2592681 smb: client: fix NULL ptr deref in crypto_aead_setkey()
    a96f9eb7add3 ksmbd: fix use-after-free in SMB request handling
    9665bbefab87 parisc/ftrace: Fix function graph tracing disablement
    185f065f458b cifs: support mounting with alternate password to allow password rotation
    4ca70a0630b0 cpufreq: mediatek-hw: Fix wrong return value in mtk_cpufreq_get_cpu_power()
    13dc02cae4e3 mtd: spi-nor: core: replace dummy buswidth from addr to data
    66f0fbc8ba18 spi: Fix acpi deferred irq probe
    856023ef032d netfilter: ipset: add missing range check in bitmap_ip_uadt
    5691e457251b gpio: exar: set value when external pull-up or pull-down is present
    d2543d75f81d Revert "serial: sh-sci: Clean sci_ports[0] after at earlycon exit"
    671bf7530c08 serial: sh-sci: Clean sci_ports[0] after at earlycon exit
    32ffdd003f6f Revert "usb: gadget: composite: fix OS descriptors w_value logic"
    69c83ff5299c wifi: brcmfmac: release 'root' node in all execution paths
    81da9c085454 wifi: ath12k: fix crash when unbinding
    8f3551f67991 wifi: rtlwifi: Drastically reduce the attempts to read efuse in case of failures
    223b546c6222 wifi: ath12k: fix warning when unbinding
    ebefd0c746a2 ARM: dts: omap36xx: declare 1GHz OPP as turbo again
    ae0ef0d756d2 usb: xhci: Fix TD invalidation under pending Set TR Dequeue
    5540869a3f75 Compiler Attributes: disable __counted_by for clang < 19.1.3
    19714c9e8885 Bluetooth: Fix type of len in rfcomm_sock_getsockopt{,_old}()
    0d53178a3d8b exfat: fix uninit-value in __exfat_get_dentry_set
    7451f7297e74 dt-bindings: iio: dac: ad3552r: fix maximum spi speed
    6a4645bc3b14 pinctrl: qcom: spmi: fix debugfs drive strength
    ee68555b979e tools/nolibc: s390: include std.h
    85cfe884668d locking/lockdep: Avoid creating new name string literals in lockdep_set_subclass()
    958275235d40 tty: ldsic: fix tty_ldisc_autoload sysctl's proc_handler
    2a9b68f2dc68 apparmor: test: Fix memory leak for aa_unpack_strdup()
    9b07fb464eb6 comedi: Flush partial mappings in error case
    1b8868b818ec fsnotify: fix sending inotify event with unexpected filename
    e5d5c04aac71 PCI: Fix use-after-free of slot->bus on hot remove
    7484289822c5 KVM: arm64: vgic-its: Clear DTE when MAPD unmaps a device
    2a4ec241dbe7 KVM: arm64: vgic-its: Add a data length check in vgic_its_save_*
    dd2f9861f275 KVM: arm64: Get rid of userspace_irqchip_in_use
    718f1712e155 KVM: arm64: vgic-its: Clear ITE when DISCARD frees an ITE
    130abaa1da82 KVM: arm64: Ignore PMCNTENSET_EL0 while checking for overflow status
    26cd7f91f27f KVM: arm64: vgic-v3: Sanitise guest writes to GICR_INVLPIR
    10c95568e7ac powerpc/pseries: Fix KVM guest detection for disabling hardlockup detector
    d79f765b2eb8 KVM: x86/mmu: Skip the "try unsync" path iff the old SPTE was a leaf SPTE
    046fb04cbce9 crypto: x86/aegis128 - access 32-bit arguments as 32-bit
    e68ca7dafecb perf/x86/intel/pt: Fix buffer full but size is 0 case
    a7fc8dce17e6 ASoC: codecs: Fix atomicity violation in snd_soc_component_get_drvdata()
    30a2d503367b ASoC: amd: yc: Add a quirk for microfone on Lenovo ThinkPad P14s Gen 5 21MES00B00
    9353cdf28d4c jfs: xattr: check invalid xattr size more strictly
    2bd7c6086641 ext4: fix FS_IOC_GETFSMAP handling
    786a552739bb ext4: supress data-race warnings in ext4_free_inodes_{count,set}()
    095694f58fe2 soc: qcom: socinfo: fix revision check in qcom_socinfo_probe()
    bdae089f4b95 ASoC: Intel: sst: Fix used of uninitialized ctx to log an error
    acf693decaa3 arm64: dts: mediatek: mt8195-cherry: Mark USB 3.0 on xhci1 as disabled
    387a4dc33bb7 Revert "arm64: dts: mediatek: mt8195-cherry: Mark USB 3.0 on xhci1 as disabled"
    b8f8b81dabe5 ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices
    22d907bcd283 btrfs: do not BUG_ON() when freeing tree block after error
    b98777309756 f2fs: fix null reference error when checking end of zone
    475d99e611d5 perf/x86/intel: Hide Topdown metrics events if the feature is not enumerated
    e4f3bb7d53b9 dm-bufio: fix warnings about duplicate slab caches
    cd1e565a5b7f drm/amd/display: Add NULL pointer check for kzalloc
    d247af7c5dbf drm/amd/display: Check phantom_stream before it is used
    8c854138b593 drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func
    ebef6616219f drm/amd/display: Check null pointer before try to access it
    ec1be3c527b4 drm/amd/display: Add NULL check for clk_mgr in dcn32_init_hw
    205e3b96cc9a drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn30_init_hw
    f14fc623dd23 dm-cache: fix warnings about duplicate slab caches
    ecb4aaa658da closures: Change BUG_ON() to WARN_ON()
    3347581bf9ed usb: ehci-spear: fix call balance of sehci clk handling routines
    74cb86e1006c ALSA: usb-audio: Fix out of bounds reads when finding clock sources
    804b96f8d0a0 xen: Fix the issue of resource not being properly released in xenbus_dev_probe()
    7cd9f0a33e73 xfs: add bounds checking to xlog_recover_process_data
    6b42ded89ba8 nvme: fix metadata handling in nvme-passthrough
    232a138bd843 scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths
    d00df6700ad1 mailbox: mtk-cmdq: Move devm_mbox_controller_register() after devm_pm_runtime_enable()
    a90cb059969b f2fs: fix fiemap failure issue when page size is 16KB
    d7f0c4c95652 gfs2: Remove and replace gfs2_glock_queue_work
    6e92dd3ac246 gfs2: Don't set GLF_LOCK in gfs2_dispose_glock_lru
    22185892fc22 ASoC: amd: yc: Fix for enabling DMIC on acp6x via _DSD entry
    2c9a5607ecba apparmor: fix 'Do simple duplicate message elimination'
    020002c76147 drm/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp
    756f30dc27ae drm/radeon: Fix spurious unplug event on radeon HDMI
    5e3a0f772d97 drm/radeon: change rdev->ddev to rdev_to_drm(rdev)
    28f6a86a2f66 drm/radeon: add helper rdev_to_drm(rdev)
    95070c084e20 ALSA: hda/realtek: Update ALC256 depop procedure
    789a72498d32 firmware_loader: Fix possible resource leak in fw_log_firmware_info()
    4a92e1030242 counter: ti-ecap-capture: Add check for clk_enable()
    5f7d46164af2 counter: stm32-timer-cnt: Add check for clk_enable()
    ed4c8fc2e71d misc: apds990x: Fix missing pm_runtime_disable()
    ce833757ba75 USB: chaoskey: Fix possible deadlock chaoskey_list_lock
    acfc4350dc2a USB: chaoskey: fail open after removal
    67970b0cc76b usb: yurex: make waiting on yurex_write interruptible
    7051f66d8158 usb: using mutex lock and supporting O_NONBLOCK flag in iowarrior_read()
    8353a251accf iio: light: al3010: Fix an error handling path in al3010_probe()
    8e0e47f038bc ipmr: fix tables suspicious RCU usage
    bba7909b511b ip6mr: fix tables suspicious RCU usage
    65ed89cad1f5 tcp: Fix use-after-free of nreq in reqsk_timer_handler().
    265f1f22fddd rxrpc: Improve setsockopt() handling of malformed user input
    9a62ca28d3f8 llc: Improve setsockopt() handling of malformed user input
    5703fb1d85f6 Bluetooth: MGMT: Fix possible deadlocks
    95f7a972194a Bluetooth: MGMT: Fix slab-use-after-free Read in set_powered_sync
    65e3a909bdab bnxt_en: Unregister PTP during PCI shutdown and suspend
    85c37802d94f bnxt_en: Refactor bnxt_ptp_init()
    c48cfa53fe96 bnxt_en: Reserve rings after PCIe AER recovery if NIC interface is down
    fd7259c1bacc net: hsr: fix hsr_init_sk() vs network/transport headers.
    41535cb14342 spi: atmel-quadspi: Fix register name in verbose logging function
    fed89cfab189 octeontx2-af: Quiesce traffic before NIX block reset
    0bbba28d4b8c octeontx2-af: RPM: fix stale FCFEC counters
    f002f21c1227 octeontx2-af: RPM: fix stale RSFEC counters
    92ada6df6ce7 octeontx2-pf: Reset MAC stats during probe
    3eda3da855da octeontx2-af: RPM: Fix low network performance
    6030d66ac03a octeontx2-af: RPM: Fix mismatch in lmac type
    7501912e5a9f net: stmmac: dwmac-socfpga: Set RX watchdog interrupt as broken
    93ccc94dd713 marvell: pxa168_eth: fix call balance of pep->clk handling routines
    6aa2ede634ad net: mdio-ipq4019: add missing error check
    836deb96383e net/ipv6: delete temporary address if mngtmpaddr is removed or unmanaged
    42251c2d1ef1 s390/iucv: MSG_PEEK causes memory leak in iucv_sock_destruct()
    f2a30e6fcd5a net: microchip: vcap: Add typegroup table terminators in kunit tests
    e3bb76fe2288 net: usb: lan78xx: Fix refcounting and autosuspend on invalid WoL configuration
    d0f06266562b tg3: Set coherent DMA mask bits to 31 for BCM57766 chipsets
    bca2c418a597 net: usb: lan78xx: Fix memory leak on device unplug by freeing PHY device
    a422ebec863d net: usb: lan78xx: Fix double free issue with interrupt buffer allocation
    3ea084dfc5a8 power: supply: rt9471: Use IC status regfield to report real charger status
    8637f400b253 power: supply: rt9471: Fix wrong WDT function regfield declaration
    7f395c87a8fe power: supply: bq27xxx: Fix registers of bq27426
    348d7d07ef3b power: supply: core: Remove might_sleep() from power_supply_put()
    0c8d50501bc1 LoongArch: BPF: Sign-extend return values
    a639cea4de29 LoongArch: Fix build failure with GCC 15 (-std=gnu23)
    7ea2a3d40142 fs_parser: update mount_api doc to match function signature
    06f2fcf49854 vfio/pci: Properly hide first-in-list PCIe extended capability
    1f7b85e5ffd8 gpio: zevio: Add missed label initialisation
    c2d6226bef96 selftests/mount_setattr: Fix failures on 64K PAGE_SIZE kernels
    6c5ddc2b68f2 vdpa/mlx5: Fix suboptimal range on iotlb iteration
    40be5b4c0c15 hwmon: (tps23861) Fix reporting of negative temperatures
    1dfc79bfc544 NFSD: Fix nfsd4_shutdown_copy()
    1c9a99c89e45 svcrdma: fix miss destroy percpu_counter in svc_rdma_proc_init()
    bd8524148dd8 nfsd: release svc_expkey/svc_export with rcu_work
    028417543535 NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir()
    eb51733ae5fc NFSD: Prevent NULL dereference in nfsd4_process_cb_update()
    242ee2b0ad9b PCI: endpoint: epf-mhi: Avoid NULL dereference if DT lacks 'mmio'
    2ffc58ec837e remoteproc: qcom_q6v5_mss: Re-order writes to the IMEM region
    ab897ca4d7bb rpmsg: glink: use only lower 16-bits of param2 for CMD_OPEN name length
    c437af60c4f1 remoteproc: qcom: pas: add minidump_id to SM8350 resources
    2f465476ff8b perf trace: Avoid garbage when not printing a syscall's arguments
    fad7be239512 perf trace: Do not lose last events in a race
    e3b4b95c2b8b perf trace: Fix tracing itself, creating feedback loops
    f38ab496c7c4 perf list: Fix topic and pmu_name argument order
    838dd342962c svcrdma: Address an integer overflow
    022c3fc12850 m68k: coldfire/device.c: only build FEC when HW macros are defined
    c178bcaccbfd m68k: mcfgpio: Fix incorrect register offset for CONFIG_M5441x
    ad8cf4a18d99 perf trace: avoid garbage when not printing a trace event's arguments
    16784362b4bd f2fs: fix to avoid forcing direct write to use buffered IO on inline_data inode
    794fa8792d4e f2fs: fix race in concurrent f2fs_stop_gc_thread
    e466b89987d8 PCI: j721e: Deassert PERST# after a delay of PCIE_T_PVPERL_MS milliseconds
    9621a3d5a4e0 PCI: j721e: Add suspend and resume support
    bea0c0e4013b PCI: j721e: Use T_PERST_CLK_US macro
    0a289ca90225 PCI: j721e: Add reset GPIO to struct j721e_pcie
    762de2993b77 PCI: cadence: Set cdns_pcie_host_init() global
    4231df767001 PCI: cadence: Extract link setup sequence from cdns_pcie_host_setup()
    5261d258e318 PCI: j721e: Add PCIe 4x lane selection support
    7c3bf691097c PCI: j721e: Add per platform maximum lane settings
    47203d68f52a PCI: Add T_PVPERL macro
    ed16873faf6a f2fs: fix to avoid use GC_AT when setting gc_mode as GC_URGENT_LOW or GC_URGENT_MID
    ecf4e6782b01 f2fs: fix to avoid potential deadlock in f2fs_record_stop_reason()
    67f4c6646011 f2fs: check curseg->inited before write_sum_page in change_curseg
    f3d586b7ab62 f2fs: fix the wrong f2fs_bug_on condition in f2fs_do_replace_block
    aac3361f6d22 perf ftrace latency: Fix unit on histogram first entry when using --use-nsec
    b6b896c2fd44 PCI: cpqphp: Fix PCIBIOS_* return value confusion
    f974480cf399 PCI: cpqphp: Use PCI_POSSIBLE_ERROR() to check config reads
    b7c4121a4390 rust: macros: fix documentation of the paste! macro
    cbc853c490c9 perf probe: Correct demangled symbols in C++ program
    2c6f6c3843df perf probe: Fix libdw memory leak
    f1b8bfe8d2f2 f2fs: fix to account dirty data in __get_secs_required()
    6b0ed65c94c2 f2fs: compress: fix inconsistent update of i_blocks in release_compress_blocks and reserve_compress_blocks
    9ac8d6636230 perf test attr: Add back missing topdown events
    0c4753453964 perf trace: Keep exited threads for summary
    380bc5a698b9 perf stat: Fix affinity memory leaks on error path
    035c6b7a13ac perf stat: Close cork_fd when create_perf_stat_counter() failed
    8e098baf6bc3 PCI: Fix reset_method_store() memory leak
    e30cab288c8d gfs2: Fix unlinked inode cleanup
    8264963475ca gfs2: Allow immediate GLF_VERIFY_DELETE work
    4389447f1b2a gfs2: Rename GLF_VERIFY_EVICT to GLF_VERIFY_DELETE
    39822f7f4963 gfs2: Replace gfs2_glock_queue_put with gfs2_glock_put_async
    67696fef78cf gfs2: Get rid of gfs2_glock_queue_put in signal_our_withdraw
    300b21886232 perf cs-etm: Don't flush when packet_queue fills up
    39e5f390c2c9 mailbox: arm_mhuv2: clean up loop in get_irq_chan_comb()
    ebe0f8dc243e smb: cached directories can be more than root file handle
    f65f4ad87797 pinctrl: k210: Undef K210_PC_DEFAULT
    0dffdb2e70f1 arm64: dts: qcom: sc8180x: Add a SoC-specific compatible to cpufreq-hw
    118aa7cacaa5 clk: clk-axi-clkgen: make sure to enable the AXI bus clock
    abdf848ce528 dt-bindings: clock: axi-clkgen: include AXI clk
    fbb13732c6ff clk: ralink: mtmips: fix clocks probe order in oldest ralink SoCs
    f85a1d06afbc clk: ralink: mtmips: fix clock plan for Ralink SoC RT3883
    72ea9a7e9e26 clk: clk-apple-nco: Add NULL check in applnco_probe
    921fcf2971a1 RDMA/mlx5: Move events notifier registration to be after device registration
    b6334d2356fc IB/mlx5: Allocate resources just before first QP/SRQ is created
    3dd9df8e5f34 fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
    1dd2d5630f0c powerpc/kexec: Fix return of uninitialized variable
    277ecc3d9797 powerpc/sstep: make emulate_vsx_load and emulate_vsx_store static
    d2f3414036be KVM: PPC: Book3S HV: Avoid returning to nested hypervisor on pending doorbells
    e7d134bd28ee KVM: PPC: Book3S HV: Stop using vc->dpdes for nested KVM guests
    a6faea503ba4 dax: delete a stale directory pmem
    8e0de82ed18b ocfs2: fix uninitialized value in ocfs2_file_read_iter()
    ae5427f88f19 cpufreq: CPPC: Fix wrong return value in cppc_get_cpu_power()
    4989d1ccf6f1 cpufreq: CPPC: Fix wrong return value in cppc_get_cpu_cost()
    6b0d7d6e6883 RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()
    451d57b22b4a RDMA/hns: Fix out-of-order issue of requester when setting FENCE
    837197f49c71 x86/tdx: Dynamically disable SEPT violations from causing #VEs
    44cb69dbec78 x86/tdx: Rename tdx_parse_tdinfo() to tdx_setup()
    d4e39b6f96fe x86/tdx: Introduce wrappers to read and write TD metadata
    d0f6d80dbc79 x86/tdx: Pass TDCALL/SEAMCALL input/output registers via a structure
    a79a114f60f1 x86/tdx: Rename __tdx_module_call() to __tdcall()
    40d3b219aeb7 x86/tdx: Make macros of TDCALLs consistent with the spec
    2765142c05a6 x86/tdx: Skip saving output regs when SEAMCALL fails with VMFailInvalid
    c72a9456fdc8 scsi: sg: Enable runtime power management
    10a6fc486ac4 scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
    7c1832287b21 scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
    ac3c9fb621de scsi: fusion: Remove unused variable 'rc'
    c28409f851ab scsi: bfa: Fix use-after-free in bfad_im_module_exit()
    d069227df10d fs/proc/kcore.c: fix coccinelle reported ERROR instances
    ed2571229155 mfd: rt5033: Fix missing regmap_del_irq_chip()
    ec3eb00526bf checkpatch: always parse orig_commit in fixes tag
    f6a2560e149e checkpatch: check for missing Fixes tags
    0ac9a7fbe907 iommu/vt-d: Fix checks and print in pgtable_walk()
    c801250a7714 iommu/vt-d: Fix checks and print in dmar_fault_dump_ptes()
    0bfed74e80cc clk: imx: imx8-acm: Fix return value check in clk_imx_acm_attach_pm_domains()
    e334c2fd518c clk: imx: clk-scu: fix clk enable state save and restore
    b92706bd0eb0 clk: imx: fracn-gppll: fix pll power up
    db62437bf2da clk: imx: fracn-gppll: correct PLL initialization flow
    791bf6190357 clk: imx: lpcg-scu: SW workaround for errata (e10858)
    cd2f9bc87711 RISC-V: KVM: Fix APLIC in_clrip and clripnum write emulation
    e435f311c55d RDMA/rxe: Set queue pair cur_qp_state when being queried
    a9b251599bd3 clk: renesas: rzg2l: Fix FOUTPOSTDIV clk
    4f2d22278e93 clk: sunxi-ng: d1: Fix PLL_AUDIO0 preset
    f37cc04fe893 RDMA/bnxt_re: Check cqe flags to know imm_data vs inv_irkey
    31978d5c5aef RDMA/rxe: Fix the qp flush warnings in req
    b4ba31e5aaff RDMA/hns: Fix cpu stuck caused by printings during reset
    8e20ac838be8 RDMA/hns: Use dev_* printings in hem code instead of ibdev_*
    44470c5eb88b RDMA/hns: Fix an AEQE overflow error caused by untimely update of eq_db_ci
    f05ef81db638 cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()
    e07570a8f2cf cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw()
    a246daa26b71 powerpc/pseries: Fix dtl_access_lock to be a rw_semaphore
    8a06435959cc mtd: spi-nor: spansion: Use nor->addr_nbytes in octal DTR mode in RD_ANY_REG_OP
    9ea8d8bf9b62 powerpc/mm/fault: Fix kfence page fault reporting
    f1290871c8aa mtd: rawnand: atmel: Fix possible memory leak
    95b9fb67e493 mtd: hyperbus: rpc-if: Add missing MODULE_DEVICE_TABLE
    29664ae6c473 mtd: hyperbus: rpc-if: Convert to platform remove callback returning void
    c5c1d1ef7083 powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init()
    92f7cc84c3db powerpc/fadump: Refactor and prepare fadump_cma_init for late init
    783df31532f9 cpufreq: loongson2: Unregister platform_driver on failure
    d4cc78bd6a25 mfd: intel_soc_pmic_bxtwc: Use IRQ domain for PMIC devices
    1b734ad0e336 mfd: intel_soc_pmic_bxtwc: Use IRQ domain for TMU device
    e1ef62e8d262 mfd: intel_soc_pmic_bxtwc: Use IRQ domain for USB Type-C device
    d80635d7ebef mfd: da9052-spi: Change read-mask to write-mask
    7c8ac49aa18a mfd: tps65010: Use IRQF_NO_AUTOEN flag in request_irq() to fix race
    a7083f0ce5f8 powerpc/vdso: Flag VDSO64 entry points as functions
    40163b26c3de scsi: hisi_sas: Enable all PHYs that are not disabled by user during controller reset
    8b12c4e29ac2 pinctrl: zynqmp: drop excess struct member description
    840295a8ff9e trace/trace_event_perf: remove duplicate samples on the first tracepoint event
    3d02397ca30b clk: mediatek: drop two dead config options
    e2f15cb48ab7 cppc_cpufreq: Use desired perf if feedback ctrs are 0 or unchanged
    c4b6c1781f6c unicode: Fix utf8_load() error path
    da2bc8a0c8f3 bpf: fix recursive lock when verdict program return SK_PASS
    aeafba58c432 wireguard: selftests: load nf_conntrack if not present
    4802caac250b netpoll: Use rcu_access_pointer() in netpoll_poll_lock
    f466641debcb erofs: handle NONHEAD !delta[1] lclusters gracefully
    de5a44f351ca Bluetooth: fix use-after-free in device_for_each_child()
    b754e831a94f ALSA: 6fire: Release resources at card release
    4507a8b9b303 ALSA: caiaq: Use snd_card_free_when_closed() at disconnection
    2938dd264852 ALSA: us122l: Use snd_card_free_when_closed() at disconnection
    e07605d855c4 ALSA: usx2y: Use snd_card_free_when_closed() at disconnection
    440f6a15700e net: rfkill: gpio: Add check for clk_enable()
    89bf1b665ba9 bpf: Force uprobe bpf program to always return 0
    38e3d796f654 drm/amdkfd: Fix wrong usage of INIT_WORK()
    d1fb89f0024d selftests: net: really check for bg process completion
    43e25adc8026 ipv6: release nexthop on device removal
    70530a2f8120 net: use unrcu_pointer() helper
    bba7266d9dc4 sock_diag: allow concurrent operation in sock_diag_rcv_msg()
    161d4fc07133 sock_diag: allow concurrent operations
    37103a9d7f12 sock_diag: add module pointer to "struct sock_diag_handler"
    5ef3e03228e1 bpf, sockmap: Fix sk_msg_reset_curr
    98c7ea7d11f2 bpf, sockmap: Several fixes to bpf_msg_pop_data
    a53ad8ab116d bpf, sockmap: Several fixes to bpf_msg_push_data
    9df2dddc083a selftests/bpf: Add push/pop checking for msg_verify_data in test_sockmap
    862b395de02d selftests/bpf: Fix total_bytes in msg_loop_rx in test_sockmap
    a1820f63dd1e selftests/bpf: Fix SENDPAGE data logic in test_sockmap
    c8803b286d9d selftests/bpf: Add txmsg_pass to pull/push/pop in test_sockmap
    c88ae0a77c21 netlink: typographical error in nlmsg_type constants definition
    c65cff783752 netfilter: nf_tables: must hold rcu read lock while iterating object type list
    5199d4a4e018 netfilter: nf_tables: skip transaction if update object is not implemented
    981af60dd6a2 netfilter: nf_tables: must hold rcu read lock while iterating expression type list
    cd38d9cdf4bb netfilter: nf_tables: avoid false-positive lockdep splat on rule deletion
    6ee1c9849cc4 netfilter: nf_tables: Introduce nf_tables_getrule_single()
    1d0f811ec145 netfilter: nf_tables: Open-code audit log call in nf_tables_getrule()
    cf7b5e0bc199 drm: use ATOMIC64_INIT() for atomic64_t
    23c3f60082ac drm/vkms: Drop unnecessary call to drm_crtc_cleanup()
    41f0b320b6ea bpf, bpftool: Fix incorrect disasm pc
    b32f915fc659 drm/msm/dpu: cast crtc_clk calculation to u64 in _dpu_core_perf_calc_clk()
    1c079dace922 wifi: wfx: Fix error handling in wfx_core_init()
    a17b9afe58c4 drm: zynqmp_kms: Unplug DRM device before removal
    237f2dbfa005 drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
    ba0599332acc drm/etnaviv: hold GPU lock across perfmon sampling
    6b1c1297bcd5 drm/etnaviv: Request pages from DMA32 zone on addressing_limited
    a3d37915f133 drm/msm/gpu: Check the status of registration to PM QoS
    1021cc87206a drm/msm/adreno: Use IRQF_NO_AUTOEN flag in request_irq()
    d6a559c5642d bpf, arm64: Remove garbage frame for struct_ops trampoline
    c6120d95c729 drm/panfrost: Remove unused id_mask from struct panfrost_model
    b955ceba2c1e selftests/bpf: fix test_spin_lock_fail.c's global vars usage
    b99db02209ca octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dcbnl.c
    3ccbc7a51886 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dmac_flt.c
    c5a6c5af4346 octeontx2-pf: handle otx2_mbox_get_rsp errors in cn10k.c
    c4eae7bac880 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_flows.c
    c0f64fd73b60 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_ethtool.c
    52c63a6a27d3 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_common.c
    bfbd0b09aff0 drm/msm/dpu: drop LM_3 / LM_4 on MSM8998
    29fa82adec3c drm/msm/dpu: drop LM_3 / LM_4 on SDM845
    b9ebac16315e drm/msm/dpu: on SDM845 move DSPP_3 to LM_5 block
    0e5bcf5136f1 drm: fsl-dcu: enable PIXCLK on LS1021A
    c4698ef8c42e wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_config_scan()
    557e07a7a487 selftests/bpf: Fix txmsg_redir of test_txmsg_pull in test_sockmap
    26f54adde839 selftests/bpf: Fix msg_verify_data in test_sockmap
    5981e6e1b50d drm/bridge: tc358767: Fix link properties discovery
    80afbcbdaf48 netdevsim: copy addresses for both in and out paths
    ef38a689f4e0 libbpf: never interpret subprogs in .text as entry programs
    452eb0e1589d ASoC: rt722-sdca: Remove logically deadcode in rt722-sdca.c
    36c79b9ff20a libbpf: fix sym_is_subprog() logic for weak global subprogs
    a8ec6447d76d drm/vc4: Match drm_dev_enter and exit calls in vc4_hvs_atomic_flush
    fff56eb08053 ice: consistently use q_idx in ice_vc_cfg_qs_msg()
    a340f9115301 ice: Support FCS/CRC strip disable for VF
    2edb61b5d3f0 virtchnl: Add CRC stripping capability
    fb5d7f68e676 wifi: ath11k: Fix CE offset address calculation for WCN6750 in SSR
    e05f60981951 bpf: Fix the xdp_adjust_tail sample prog issue
    44a21d9fbc2d libbpf: Fix output .symtab byte-order during linking
    d900a20e33d7 libbpf: Fix expected_attach_type set handling in program load callback
    65f9fe75cad1 drm/bridge: it6505: Drop EDID cache on bridge power off
    c2a04ba6f93d drm/bridge: anx7625: Drop EDID cache on bridge power off
    3340acafcce6 ASoC: dt-bindings: mt6359: Update generic node name and dmic-mode
    537f327629be ASoC: fsl_micfil: fix regmap_write_bits usage
    53507b7c6363 dt-bindings: vendor-prefixes: Add NeoFidelity, Inc
    d73da0dd2853 wifi: ath12k: Skip Rx TID cleanup for self peer
    8325a50983c1 wifi: ath10k: fix invalid VHT parameters in supported_vht_mcs_rate_nss2
    9ef3985a9e02 wifi: ath10k: fix invalid VHT parameters in supported_vht_mcs_rate_nss1
    56541262079d drm/v3d: Address race-condition in MMU flush
    fda29dff5581 drm/imx/ipuv3: Use IRQF_NO_AUTOEN flag in request_irq()
    b509546bfa1f drm/imx/dcss: Use IRQF_NO_AUTOEN flag in request_irq()
    521d4b3f1dc1 wifi: mwifiex: Use IRQF_NO_AUTOEN flag in request_irq()
    dbdca51b054f wifi: p54: Use IRQF_NO_AUTOEN flag in request_irq()
    088e10e74390 drm/omap: Fix locking in omap_gem_new_dmabuf()
    4da37fba2a6b drm/omap: Fix possible NULL dereference
    b6551479daf2 wifi: ath9k: add range check for conn_rsp_epid in htc_connect_service()
    9728b508b01a drm/vc4: hvs: Correct logic on stopping an HVS channel
    52c1716f65a5 drm/vc4: hvs: Remove incorrect limit from hvs_dlist debugfs function
    8182b5ca19c6 drm/vc4: hvs: Fix dlist debug not resetting the next entry pointer
    c7d474974954 drm/vc4: hdmi: Avoid hang with debug registers when suspended
    40c77e93cfdd drm/vc4: hvs: Don't write gamma luts on 2711
    2ee46de426cc drm/mm: Mark drm_mm_interval_tree*() functions with __maybe_unused
    6c8938e41b82 platform/x86: panasonic-laptop: Return errno correctly in show callback
    b03e713a400a HID: hyperv: streamline driver probe to avoid devres issues
    599929021528 arm64: dts: rockchip: correct analog audio name on Indiedroid Nova
    8066badaf746 media: atomisp: Add check for rgby_data memory allocation failure
    025067eeb945 firmware: arm_scpi: Check the DVFS OPP count returned by the firmware
    667b0527a3e7 selftests/resctrl: Protect against array overrun during iMC config parsing
    99ca7bddcade selftests/resctrl: Fix memory overflow due to unhandled wraparound
    feb6e4412537 selftests/resctrl: Refactor fill_buf functions
    315f9a1e1748 selftests/resctrl: Split fill_buf to allow tests finer-grained control
    367a0a92b968 arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add supplies for fixed regulators
    1e1acb879e3c arm64: dts: mediatek: mt8183-kukui-jacuzzi: Fix DP bridge supply names
    7db9c3c15fb5 arm64: dts: mediatek: mt6358: fix dtbs_check error
    dbcba9b1108a arm64: dts: mediatek: Add ADC node on MT6357, MT6358, MT6359 PMICs
    a67ebf6dcc4a arm64: dts: renesas: hihope: Drop #sound-dai-cells
    3dea2312ab45 regmap: irq: Set lockdep class for hierarchical IRQ domains
    2c8cfd167100 spi: zynqmp-gqspi: Undo runtime PM changes at driver exit time​
    48e518e705e7 spi: tegra210-quad: Avoid shift-out-of-bounds
    872bfc20abea pmdomain: ti-sci: Add missing of_node_put() for args.np
    1103d3b5a502 of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify
    be0a96cfa9c0 x86/of: Unconditionally call unflatten_and_copy_device_tree()
    ccf190dba640 um: Unconditionally call unflatten_device_tree()
    66b991a52ae6 arm64: dts: ti: k3-j721s2: Fix clock IDs for MCSPI instances
    a21e7623d782 arm64: dts: ti: k3-j721e: Fix clock IDs for MCSPI instances
    cae00563f173 arm64: dts: ti: k3-j7200: Fix clock ids for MCSPI instances
    ccdac40ce4d2 arm64: dts: ti: k3-j7200: Fix register map for main domain pmx
    4981b8a2d9fa arm64: dts: ti: k3-j7200: use ti,j7200-padconf compatible
    9810ceccd99b ARM: dts: cubieboard4: Fix DCDC5 regulator constraints
    0d9cee68a3f1 pwm: imx27: Workaround of the pwm output bug when decrease the duty cycle
    15cbeb8ae3c0 arm64: dts: mt8183: Damu: add i2c2's i2c-scl-internal-delay-ns
    8e965120d845 arm64: dts: mt8183: cozmo: add i2c2's i2c-scl-internal-delay-ns
    8b833a02b454 arm64: dts: mt8183: burnet: add i2c2's i2c-scl-internal-delay-ns
    0f627e99cca6 arm64: dts: mt8183: fennel: add i2c2's i2c-scl-internal-delay-ns
    52c3eb1c8ce8 regulator: rk808: Restrict DVS GPIOs to the RK808 variant only
    9e67b054198f cgroup/bpf: only cgroup v2 can be attached by bpf programs
    92031d660152 Revert "cgroup: Fix memory leak caused by missing cgroup_bpf_offline"
    2ef8dc16041b arm64: dts: mediatek: mt8173-elm-hana: Add vdd-supply to second source trackpad
    78a8e85b5314 arm64: dts: mt8183: kukui: Fix the address of eeprom at i2c4
    699e5e70ad34 arm64: dts: mt8183: krane: Fix the address of eeprom at i2c4
    3164cc7cf77a media: i2c: ds90ub960: Fix missing return check on ub960_rxport_read call
    f8549e3f03c1 tpm: fix signed/unsigned bug when checking event logs
    ae0ad1626018 efi/libstub: fix efi_parse_options() ignoring the default command line
    b18f8d9e2827 openrisc: Implement fixmap to fix earlycon
    91884250825f mmc: mmc_spi: drop buggy snprintf()
    4e12b09f57c2 ARM: dts: microchip: sam9x60: Add missing property atmel,usart-mode
    653847d80fa9 arm64: dts: qcom: sm6350: Fix GPU frequencies missing on some speedbins
    c24e019ca12d soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
    bfd19f48c45c soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq()
    b7394c6fba3a arm64: dts: mt8195: Fix dtbs_check error for infracfg_ao node
    0a3ba7c09ac8 arm64: dts: mt8195: Fix dtbs_check error for mutex node
    1dcb74ebda5c microblaze: Export xmb_manager functions
    882d7afaa4b8 drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend()
    d3a5e7ffbd41 spi: spi-fsl-lpspi: Use IRQF_NO_AUTOEN flag in request_irq()
    ecbc50474769 clocksource/drivers/timer-ti-dm: Fix child node refcount handling
    3ba257d80ffa clocksource/drivers:sp804: Make user selectable
    45eec49fa2fa kcsan, seqlock: Fix incorrect assumption in read_seqbegin()
    5b12a7e70b0b kcsan, seqlock: Support seqcount_latch_t
    01b61f5cef36 time: Fix references to _msecs_to_jiffies() handling of values
    7723bfe6f903 time: Partially revert cleanup on msecs_to_jiffies() documentation
    8d91bdca2f97 x86/unwind/orc: Fix unwind for newly forked tasks
    cc08c2c8e98e thermal/lib: Fix memory leak on error in thermal_genl_auto()
    1b78ac7eb6c7 tools/lib/thermal: Make more generic the command encoding function
    5cecc5786506 rcuscale: Do a proper cleanup if kfree_scale_init() fails
    a40520a7a5e6 crypto: cavium - Fix an error handling path in cpt_ucode_load_fw()
    ae5253313e0e crypto: bcm - add error check in the ahash_hmac_init function
    5a0329563e25 crypto: caam - add error check to caam_rsa_set_priv_key_form
    1fa9635a5f67 ACPI: CPPC: Fix _CPC register setting issue
    685c10269c41 hwmon: (nct6775-core) Fix overflows seen when writing limit attributes
    4ffcf7893f4b hwmon: (pmbus/core) clear faults after setting smbalert mask
    714788c6a697 hwmon: (pmbus_core) Allow to hook PMBUS_SMBALERT_MASK
    967a0e619108 rcu/kvfree: Fix data-race in __mod_timer / kvfree_call_rcu
    f5fed8a850d0 doc: rcu: update printed dynticks counter bits
    605150b4c903 crypto: inside-secure - Fix the return value of safexcel_xcbcmac_cra_init()
    830cabb61113 EDAC/igen6: Avoid segmentation fault on module unload
    6a975fbab1d2 crypto: hisilicon/qm - disable same error report before resetting
    4b3c113af8d6 amd-pstate: Set min_perf to nominal_perf for active mode performance gov
    db74e48b49ad crypto: cavium - Fix the if condition to exit loop after timeout
    5edae7a9a356 crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY
    d9338b781fe9 EDAC/{skx_common,i10nm}: Fix incorrect far-memory error source indicator
    edf58d4bebc3 EDAC/skx_common: Differentiate memory error sources
    63a2d940c719 EDAC/fsl_ddr: Fix bad bit shift operations
    ac7dfac63970 thermal: core: Initialize thermal zones before registering them
    85a57cdc1b25 crypto: qat - remove faulty arbiter config reset
    ac6ebb9edcdb EDAC/bluefield: Fix potential integer overflow
    bba6cba4dab2 firmware: google: Unregister driver_info on failure
    05c9a7a53444 crypto: qat/qat_4xxx - fix off by one in uof_get_name()
    2a064b788dee crypto: qat - remove check after debugfs_create_dir()
    1f8e2f597b91 crypto: caam - Fix the pointer passed to caam_qi_shutdown()
    b2c36fa9ac8a virtio_blk: reverse request order in virtio_queue_rqs
    519899291235 nvme-pci: reverse request order in nvme_queue_rqs
    77035e4d27e1 ext4: fix race in buffer_head read fault injection
    cca059508975 ext4: remove array of buffer_heads from mext_page_mkuptodate()
    2266fe580adf ext4: pipeline buffer reads in mext_page_mkuptodate()
    fbd359a2ee20 ext4: remove calls to to set/clear the folio error flag
    21900e847812 hfsplus: don't query the device logical block size multiple times
    13ebba9e57a6 s390/syscalls: Avoid creation of arch/arch/ directory
    fad4262bd40d block: fix bio_split_rw_at to take zone_write_granularity into account
    539fabba965e netfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATING
    ae8c963906ed cachefiles: Fix missing pos updates in cachefiles_ondemand_fd_write_iter()
    01f605a4cd74 acpi/arm64: Adjust error handling procedure in gtdt_parse_timer_block()
    b46bc5b02ded arm64: fix .data.rel.ro size assertion when CONFIG_LTO_CLANG
    d4e05e954504 m68k: mvme147: Reinstate early console
    6395a5f9eb44 m68k: mvme16x: Add and use "mvme16x.h"
    d77659d3ffba m68k: mvme147: Fix SCSI controller IRQ numbers
    cee3bff51a35 nvme-pci: fix freeing of the HMB descriptor table
    1a423bbbeaf9 initramfs: avoid filename buffer overrun
    372042443be4 mips: asm: fix warning when disabling MIPS_FP_SUPPORT
    6c63de9b4d0e ext4: avoid remount errors with 'abort' mount option
    410896624db6 brd: defer automatic disk creation until module initialization succeeds
    83d123e27623 x86/pvh: Call C code via the kernel virtual mapping
    f662b4a69e1d x86/pvh: Set phys_base when calling xen_prepare_pvh()
    aa6e32c654fc s390/pageattr: Implement missing kernel_page_present()
    a1dc0428c05a s390/cio: Do not unregister the subchannel based on DNV
    9820f3548679 kselftest/arm64: mte: fix printf type warnings about longs
    b95a1cd26a28 kselftest/arm64: mte: fix printf type warnings about __u64
    0dd9a53bb9b2 arm64: probes: Disable kprobes/uprobes on MOPS instructions
    ecc2aeeaa08a bpf: support non-r10 register spill/fill to/from stack in precision tracking
    44b1bfb5bd97 mptcp: fix possible integer overflow in mptcp_reset_tout_timer
    68f75e6f08aa drm/amd/display: Add null check for pipe_ctx->plane_state in dcn20_program_pipe
    36ff963c133a platform/x86: x86-android-tablets: Unregister devices in reverse order
    f7d9a18572fc nvme: apple: fix device reference counting
    3820b0fac773 fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats
    c7e65cab54a8 drm/amd/display: Don't refer to dc_sink in is_dsc_need_re_compute
    c3a3b6d9a938 drm/amd/display: Check null-initialized variables
    e0f6ee75f504 fs/inode: Prevent dump_mapping() accessing invalid dentry.d_name.name
    9f35cec5e4b9 drm/amd/display: Initialize denominators' default to 1
    f38b09ba6a33 drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func
    9d0f1e745e95 x86/stackprotector: Work around strict Clang TLS symbol requirements
    dc5ead0e8fc5 serial: sc16is7xx: fix invalid FIFO access with special register set
    a891938947f4 s390/pkey: Wipe copies of clear-key structures on failure
    d038693e08ad i2c: lpi2c: Avoid calling clk_get_rate during transfer
    561063997ae3 ipmr: Fix access to mfc_cache_list without lock held
    2abc2bd53e4c ARM: 9420/1: smp: Fix SMP for xip kernels
    344fb3c52923 ALSA: usb-audio: Fix Yamaha P-125 Quirk Entry
    7ed79c551c09 LoongArch: Define a default value for VM_DATA_DEFAULT_FLAGS
    65b08af3c4a1 ASoC: audio-graph-card2: Purge absent supplies for device tree nodes
    fe8c40810a11 proc/softirqs: replace seq_printf with seq_put_decimal_ull_width
    82d0f099009e drm: panel-orientation-quirks: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    0058f8ebfdb0 ASoC: stm: Prevent potential division by zero in stm32_sai_get_clk_div()
    d525fc94249a ASoC: stm: Prevent potential division by zero in stm32_sai_mclk_round_rate()
    1423de2c7ba1 ASoC: amd: yc: Support dmic on another model of Lenovo Thinkpad E14 Gen 6
    b07b441b79c2 platform/x86: thinkpad_acpi: Fix for ThinkPad's with ECFW showing incorrect fan speed
    769aa742527c can: j1939: fix error in J1939 documentation.
    3e8cc9901073 tools/lib/thermal: Remove the thermal.h soft link when doing make clean
    bb64195b56ca ASoC: tas2781: Add new driver version for tas2563 & tas2781 qfn chip
    739aac7323f0 platform/x86: dell-wmi-base: Handle META key Lock/Unlock events
    32660e18f5ca platform/x86: dell-smbios-base: Extends support to Alienware products
    fd782cb8f9d3 regulator: rk808: Add apply_bit for BUCK3 on RK809
    cb5bf9377102 firmware: arm_scmi: Reject clear channel request on A2P
    3bb3fa542835 soc: qcom: Add check devm_kasprintf() returned value
    7c92e2b55677 net: usb: qmi_wwan: add Quectel RG650V
    363473736bb0 bpf: fix filed access without lock
    3e3bc9cf3fdf x86/amd_nb: Fix compile-testing without CONFIG_AMD_NB
    1b15738a7d30 ALSA: hda/realtek: Add subwoofer quirk for Infinix ZERO BOOK 13
    9dc3380fb586 selftests/watchdog-test: Fix system accidentally reset after watchdog-test
    16009cc182ef usb: typec: use cleanup facility for 'altmodes_node'
    f083283f914b usb: add support for new USB device ID 0x17EF:0x3098 for the r8152 driver
    24fa3e9443a4 mac80211: fix user-power when emulating chanctx
    675a1803efa1 wifi: iwlwifi: mvm: Use the sync timepoint API in suspend
    9b0f6adf28b4 ASoC: Intel: sst: Support LPE0F28 ACPI HID
    92cab36cf11a ASoC: Intel: bytcr_rt5640: Add DMI quirk for Vexia Edu Atla 10 tablet
    6909df783e42 ASoC: Intel: bytcr_rt5640: Add support for non ACPI instantiated codec
    98130b150916 ASoC: codecs: rt5640: Always disable IRQs from rt5640_cancel_work()
    28f152fc9553 wifi: radiotap: Avoid -Wflex-array-member-not-at-end warnings
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: dc44be98107d4a5fa74225ff2fdf9dabd067c22b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f77ff46e2a31c7a5ced9ede51ad871e38084d33e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Bruce Ashfield
9bd3d44e21 linux-yocto/6.6: update to v6.6.63
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    bff3e13adb72 Linux 6.6.63
    62aec1e92599 mm/damon/core: copy nr_accesses when splitting region
    6cba27abb669 mm/damon/core: handle zero schemes apply interval
    b0fb9543b119 mm/damon/core: check apply interval in damon_do_apply_schemes()
    bdc136e2b05f mm: resolve faulty mmap_region() error path behaviour
    04b7efa421dc mm: refactor arch_calc_vm_flag_bits() and arm64 MTE handling
    3a6d8d3f1998 mm: refactor map_deny_write_exec()
    a97fe6889b25 mm: unconditionally close VMAs on error
    cd3ed99fca8c mm: avoid unsafe VMA hook invocation when error arises on mmap hook
    172ffd26a5af leds: mlxreg: Use devm_mutex_init() for mutex initialization
    3a741b80b345 fs/9p: fix uninitialized values during inode evict
    f111de0f0103 drm/amd/pm: Vangogh: Fix kernel memory out of bounds write
    3bc4569a727d mptcp: pm: use _rcu variant under rcu_read_lock
    fc3c73284d2e mptcp: drop lookup_by_id in lookup_addr
    416001b0412f mptcp: hold pm lock when deleting entry
    ac56c5e80e1f mptcp: update local address flags when setting it
    aa2b28ddcc26 mptcp: add userspace_pm_lookup_addr_by_id helper
    762ca2d2e3c7 mptcp: define more local variables sk
    fb79d68a36e2 NFSD: Never decrement pending_async_copies on error
    421f1a2a1afb NFSD: Initialize struct nfsd4_copy earlier
    ae267989b7b7 NFSD: Limit the number of concurrent async COPY operations
    20a10c78ac3a NFSD: Async COPY result needs to return a write verifier
    74115b3e41c7 NFSD: initialize copy->cp_clp early in nfsd4_copy for use by trace point
    db12e874e1a2 media: dvbdev: fix the logic when DVB_DYNAMIC_MINORS is not set
    efb258ec337f lib/buildid: Fix build ID parsing logic
    0c623f5692a0 staging: vchiq_arm: Use devm_kzalloc() for vchiq_arm_state allocation
    6dee8f99c690 staging: vchiq_arm: Get the rid off struct vchiq_2835_state
    6bfed8babc1a mm/damon/core: handle zero {aggregation,ops_update} intervals
    973739c94521 mm/damon/core: implement scheme-specific apply interval
    0a326fbc8f72 drm/amd/display: Adjust VSDB parser for replay feature
    5e91cd9a3417 drm/amd: Fix initialization mistake for NBIO 7.7.0
    16abd7ce81e4 nouveau: fw: sync dma after setup is called.
    8fc228ab5d38 pmdomain: imx93-blk-ctrl: correct remove path
    1a312ed8f9b2 drm/bridge: tc358768: Fix DSI command tx
    930f99a21e7f mmc: sunxi-mmc: Fix A100 compatible description
    56de724c58c0 Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K"
    32fc8cedcba6 LoongArch: Make KASAN work with 5-level page-tables
    4457bc909d1e LoongArch: Disable KASAN if PGDIR_SIZE is too large for cpu_vabits
    f04125eb9eb5 LoongArch: Fix early_numa_add_cpu() usage for FDT systems
    b0e476574004 nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint
    672668e0208f ocfs2: fix UBSAN warning in ocfs2_verify_volume()
    037108f03ed4 ALSA: hda/realtek: fix mute/micmute LEDs for a HP EliteBook 645 G10
    630adf4d66f7 ALSA: hda/realtek - Fixed Clevo platform headset Mic issue
    8bbf0ab631cd nommu: pass NULL argument to vma_iter_prealloc()
    59b49ca67cca nilfs2: fix null-ptr-deref in block_touch_buffer tracepoint
    d28b059ee477 KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN
    4b7522b0040f KVM: x86: Unconditionally set irr_pending when updating APICv state
    190b344caadc KVM: nVMX: Treat vpid01 as current if L2 is active, but with VPID disabled
    8a84765c62cc ima: fix buffer overrun in ima_eventdigest_init_common
    c4d64534d4b1 vp_vdpa: fix id_table array not null terminated error
    15c49f91cfc8 vdpa/mlx5: Fix PA offset with unaligned starting iotlb map
    d372dd09cfbf vdpa: solidrun: Fix UB bug with devres
    64e67e869425 mm: revert "mm: shmem: fix data-race in shmem_getattr()"
    843dfc804af4 ocfs2: uncache inode which has failed entering the group
    d0f16cec7977 mm: fix NULL pointer dereference in alloc_pages_bulk_noprof
    3414fc6a7888 x86/mm: Fix a kdump kernel failure on SME system when CONFIG_IMA_KEXEC=y
    bcd602ae8c46 tools/mm: fix compile error
    4b9fb3aeb90e ARM: 9419/1: mm: Fix kernel memory mapping for xip kernels
    9ea6b70fecb9 bonding: add ns target multicast address to slave device
    c67ce71d5328 net: ti: icssg-prueth: Fix 1 PPS sync
    faf81a3d64b2 stmmac: dwmac-intel-plat: fix call balance of tx_clk handling routines
    a39058e0e554 net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove
    d54ebfe8d33f net: stmmac: dwmac-visconti: use devm_stmmac_probe_config_dt()
    e6eae391e3d9 net: stmmac: dwmac-intel-plat: use devm_stmmac_probe_config_dt()
    09621bd40205 net: Make copy_safe_from_sockptr() match documentation
    007bdd7878f9 net: stmmac: dwmac-mediatek: Fix inverted handling of mediatek,mac-wol
    4ae7a3c30c32 samples: pktgen: correct dev to DEV
    789f9963bd03 net: sched: cls_u32: Fix u32's systematic failure to free IDR entries for hnodes.
    9fd5661af639 net/sched: cls_u32: replace int refcounts with proper refcounts
    a682b356eaf8 Bluetooth: btintel: Direct exception event to bluetooth stack
    fbc8cf85f6cc Bluetooth: hci_core: Fix calling mgmt_device_connected
    5b0888a87bce Revert "RDMA/core: Fix ENODEV error for iWARP test over vlan"
    897617a413e0 virtio/vsock: Fix accept_queue memory leak
    06dc488a5930 net/mlx5e: CT: Fix null-ptr-deref in add rule err flow
    2aa94921b072 net/mlx5e: clear xdp features on non-uplink representors
    93a14620b97c net/mlx5e: kTLS, Fix incorrect page refcounting
    094d1a2121ce net/mlx5: fs, lock FTE when checking if active
    ff825ab2f455 mptcp: cope racing subflow creation in mptcp_rcv_space_adjust
    a66805c9b22c mptcp: error out earlier on disconnect
    1e5305972969 drm/rockchip: vop: Fix a dereferenced before check warning
    fa8d2d141004 net: vertexcom: mse102x: Fix tx_bytes calculation
    ad975697211f sctp: fix possible UAF in sctp_v6_available()
    bbc769d2fa1b netlink: terminate outstanding dump on socket close
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: bf11ee2662b920271e9c8e4585f808616fb9c0e6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f5136e72e011fc2b9ca67d7ecd1ac7603d235c7b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Bruce Ashfield
1c34a4b9c3 linux-yocto/6.6: bsp/genericarm64: disable ARM64_SME
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp/genericarm64: disable ARM64_SME
    Date: Thu, 21 Nov 2024 15:53:35 +0000

    From upstream:

        arm64: Kconfig: Make SME depend on BROKEN for now

        commit 81235ae0c846e1fb46a2c6fe9283fe2b2b24f7dc upstream.

        Although support for SME was merged in v5.19, we've since uncovered a
        number of issues with the implementation, including issues which might
        corrupt the FPSIMD/SVE/SME state of arbitrary tasks. While there are
        patches to address some of these issues, ongoing review has highlighted
        additional functional problems, and more time is necessary to analyse
        and fix these.

        For now, mark SME as BROKEN in the hope that we can fix things properly
        in the near future. As SME is an OPTIONAL part of ARMv9.2+, and there is
        very little extant hardware, this should not adversely affect the vast
        majority of users.

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 93000533d5ab0e808e020b05234dbb9a538d65dd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ed7b6ad39bdab4e67acc7a5841b4519fd15a2dc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Bruce Ashfield
ba548333c3 linux-yocto/6.6: update to v6.6.62
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    c1036e4f14d0 Linux 6.6.62
    9da3636a4880 9p: fix slab cache name creation for real
    fc4951c3e335 mm/thp: fix deferred split unqueue naming and locking
    eb6b6d3e1f1e mm: refactor folio_undo_large_rmappable()
    0275e4021b0c mm: always initialise folio->_deferred_list
    e8769509d622 mm: support order-1 folios in the page cache
    2ad2067e9ffc mm/readahead: do not allow order-1 folio
    bc8990235fb5 mm: add page_rmappable_folio() wrapper
    71548fada7ee mm: krealloc: Fix MTE false alarm in __do_krealloc
    950ac86cff33 io_uring: fix possible deadlock in io_register_iowq_max_workers()
    d5092b0a1aaf bpf: Check validity of link->type in bpf_link_show_fdinfo()
    9dcf69612453 net: usb: qmi_wwan: add Fibocom FG132 0x0112 composition
    f08621233573 ASoC: fsl_micfil: Add sample rate constraint
    f198c09fe2ca LoongArch: Use "Exception return address" to comment ERA
    4f885fa64983 ASoC: rt722-sdca: increase clk_stop_timeout to fix clock stop issue
    e01cac3d6284 RISCV: KVM: use raw_spinlock for critical section in imsic
    bff14c38ed51 HID: lenovo: Add support for Thinkpad X1 Tablet Gen 3 keyboard
    24e8cc49c03e HID: multitouch: Add quirk for Logitech Bolt receiver w/ Casa touchpad
    1cb5bfc5bfc6 fs: Fix uninitialized value issue in from_kuid and from_kgid
    ebf63d5c82e7 ASoC: amd: yc: Fix non-functional mic on ASUS E1404FA
    34ec7bcee3d8 ASoC: amd: yc: Add quirk for ASUS Vivobook S15 M3502RA
    77c523dfb053 bpf: Fix mismatched RCU unlock flavour in bpf_out_neigh_v6
    a078a480ff3f bpf: Add sk_is_inet and IS_ICSK check in tls_sw_has_ctx_tx/rx
    6fbf6ff7549e vDPA/ifcvf: Fix pci_read_config_byte() return code handling
    5a526388d0ac nvme/host: Fix RCU list traversal to use SRCU primitive
    e8c714941811 smb: client: Fix use-after-free of network namespace.
    1a1bcca5c9ef nvme: make keep-alive synchronous operation
    e4f9fffbb1dc nvme-loop: flush off pending I/O while shutting down loop controller
    dd5d32f74fc1 net: phy: mdio-bcm-unimac: Add BCM6846 support
    bee372110e69 powerpc/powernv: Free name on error in opal_event_init()
    4c332037fcbb drm/amdkfd: Accounting pdd vram_usage for svm
    4a57f42e5ed4 nvme-multipath: defer partition scanning
    3406bfc813a9 RDMA/siw: Add sendpage_ok() check to disable MSG_SPLICE_PAGES
    c6db3a111e2d drm/vmwgfx: Limit display layout ioctl array size to VMWGFX_NUM_DISPLAY_UNITS
    87791a733a3b sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML
    839c22a2134a crypto: marvell/cesa - Disable hash algorithms
    83394e7d9421 crypto: api - Fix liveliness check in crypto_alg_tested
    d22f177935dd bpf: use kvzmalloc to allocate BPF verifier environment
    e04e64805802 nvme: disable CC.CRIME (NVME_CC_CRIME)
    8902a5223962 iommu/arm-smmu: Clarify MMU-500 CPRE workaround
    ded2b3b2bc50 HID: multitouch: Add quirk for HONOR MagicBook Art 14 touchpad
    6e306b87c035 HID: multitouch: Add support for B2402FVA track point
    f49a9d86c4cd block: Fix elevator_get_default() checking for NULL q->tag_set
    975cb1d21215 nvme: tcp: avoid race between queue_lock lock and destroy
    4b3441089235 irqchip/ocelot: Fix trigger register address
    68ec5395bc24 selftests/bpf: Verify that sync_linked_regs preserves subreg_def
    0d6c0b3b6f3f 9p: Avoid creating multiple slab caches with the same name
    a63c78c3493c 9p: v9fs_fid_find: also lookup by inode if not found dentry
    f1ab3a1bcbbc Linux 6.6.61
    b110196fec44 vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans
    4bdc5a62c6e5 hv_sock: Initializing vsk->trans to NULL to prevent a dangling pointer
    f7a08b2897da ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022
    1e8f31656ac1 ucounts: fix counter leak in inc_rlimit_get_ucounts()
    dd73c942eed7 ocfs2: remove entry once instead of null-ptr-dereference in ocfs2_xa_remove()
    c8fe8c223297 irqchip/gic-v3: Force propagation of the active state with a read-back
    4fea315a9fd8 USB: serial: option: add Quectel RG650V
    836eefa7c7e1 USB: serial: option: add Fibocom FG132 0x0112 composition
    4ffcb9d7891c USB: serial: qcserial: add support for Sierra Wireless EM86xx
    13d6ff3ca760 USB: serial: io_edgeport: fix use after free in debug printk
    69e19774f15e usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()
    35925e2b7b40 usb: typec: qcom-pmic: init value of hdr_len/txbuf_len earlier
    4abc5ee334fe usb: dwc3: fix fault at system suspend if device was already runtime suspended
    8a30da5aa960 usb: musb: sunxi: Fix accessing an released usb phy
    4877d9b2a2eb signal: restore the override_rlimit logic
    5b548fd0d298 fs/proc: fix compile warning about variable 'vmcore_mmap_ops'
    ef59a49a4b0b i2c: designware: do not hold SCL low when I2C_DYNAMIC_TAR_UPDATE is not set
    a2746ab3bbc9 filemap: Fix bounds checking in filemap_read()
    575a562f7a3e media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format
    0186347f1605 Revert "selftests/bpf: Implement get_hw_ring_size function to retrieve current and max interface size"
    bb9982d77734 Revert "wifi: mac80211: fix RCU list iterations"
    6e62dab357ee riscv/purgatory: align riscv_kernel_entry
    f04be6d68f71 btrfs: reinitialize delayed ref list after deleting it from the list
    701fae8dce72 arm64: smccc: Remove broken support for SMCCCv1.3 SVE discard hint
    22aaaa7a1a73 arm64: Kconfig: Make SME depend on BROKEN for now
    51d11ea0250d arm64/sve: Discard stale CPU state when handling SVE traps
    30db2a648550 mptcp: use sock_kfree_s instead of kfree
    1325e838089d net: vertexcom: mse102x: Fix possible double free of TX skb
    20f4eb96afe2 net: wwan: t7xx: Fix off-by-one error in t7xx_dpmaif_rx_buf_alloc()
    f749cb60a01f nfs: Fix KMSAN warning in decode_getfattr_attrs()
    203003c4ff18 posix-cpu-timers: Clear TICK_DEP_BIT_POSIX_TIMER on clone
    e639fe493614 ALSA: usb-audio: Add quirk for HP 320 FHD Webcam
    edfae9d997c7 dm-unstriped: cast an operand to sector_t to prevent potential uint32_t overflow
    036dd6e3d263 dm cache: fix potential out-of-bounds access on the first resume
    53421c3c0ee0 dm cache: optimize dirty bit checking with find_next_bit when resizing
    e57648ce325f dm cache: fix out-of-bounds access to the dirty bitset when resizing
    8cc12dab6353 dm cache: fix flushing uninitialized delayed_work on cache_ctr error
    11d5a3f8427a dm cache: correct the number of origin blocks to match the target length
    1df8231f4e99 thermal/drivers/qcom/lmh: Remove false lockdep backtrace
    a613a3924175 drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported
    3930715c1aef drm/amdgpu: Fix DPX valid mode check on GC 9.4.3
    e2574b57990d drm/amdgpu: Adjust debugfs register access permissions
    8906728f2fbd drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()
    5a8ae5fa576c drm/amdgpu: Adjust debugfs eviction and IB access permissions
    343fcd066c09 rpmsg: glink: Handle rejected intent request better
    767975d74952 pwm: imx-tpm: Use correct MODULO value for EPWM mode
    c6cdc08c25a8 ksmbd: fix slab-use-after-free in smb3_preauth_hash_rsp
    726c1568b914 ksmbd: Fix the missing xa_store error check
    1f993777275c ksmbd: check outstanding simultaneous SMB operations
    e923503a56b3 ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create
    5ba7258ff028 can: mcp251xfd: mcp251xfd_ring_alloc(): fix coalescing configuration when switching CAN modes
    91017ba42df0 can: mcp251xfd: mcp251xfd_get_tef_len(): fix length calculation
    89d8048df70c can: m_can: m_can_close(): don't call free_irq() for IRQ-less devices
    32adcb833ecc media: v4l2-ctrls-api: fix error handling for v4l2_g_ctrl()
    2d0f01aa602f media: v4l2-tpg: prevent the risk of a division by zero
    4264e26a34e3 media: pulse8-cec: fix data timestamp at pulse8_setup()
    83c152b55d88 media: cx24116: prevent overflows on SNR calculus
    784bc785a453 media: s5p-jpeg: prevent buffer overflows
    a244b82d0ae6 media: ar0521: don't overflow when checking PLL values
    bd24d8337159 ASoC: SOF: sof-client-probes-ipc4: Set param_size extension bits
    23bdbd1ef3e0 ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove
    d3304dbc2d5f thermal/of: support thermal zones w/o trips subnode
    5f2d0b607c70 tools/lib/thermal: Fix sampling handler context ptr
    57a9e9d71d77 ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init()
    a8ce18094f42 scsi: sd_zbc: Use kvzalloc() to allocate REPORT ZONES buffer
    b01f2230868b media: adv7604: prevent underflow condition when reporting colorspace
    492275748168 media: dvb_frontend: don't play tricks with underflow values
    1e461672616b media: dvbdev: prevent the risk of out of memory access
    c776231e3d0b media: stb0899_algo: initialize cfr before using it
    203d04968af0 Revert "ALSA: hda/conexant: Mute speakers at suspend / shutdown"
    1947143cb188 drivers: net: ionic: add missed debugfs cleanup to ionic_probe() error path
    996a7208dadb rxrpc: Fix missing locking causing hanging calls
    0012be71c55b net: arc: rockchip: fix emac mdio node support
    8ed7a4a39c3f net: arc: fix the device for dma_map_single/dma_unmap_single
    af0aa8aecbe8 virtio_net: Add hash_key_length check
    bfd05c68e4c6 netfilter: nf_tables: wait for rcu grace period on net_device removal
    825a80817cf1 netfilter: nf_tables: pass nft_chain to destroy function, not nft_ctx
    d122b259a717 netfilter: nf_tables: cleanup documentation
    b0a3c915529e net: stmmac: Fix unbalanced IRQ wake disable warning on single irq case
    421cf80e7dee net: phy: ti: add PHY_RST_AFTER_CLK_EN flag
    719edd9f3372 net: hns3: fix kernel crash when uninstalling driver
    4b0599a66614 e1000e: Remove Meteor Lake SMBUS workarounds
    bf5f837d9fd2 i40e: fix race condition by adding filter's intermediate sync state
    6103d401b1cf ice: change q_index variable type to s16 to store -1 value
    f32fc3becfc7 can: c_can: fix {rx,tx}_errors statistics
    ef0edfbe9eee net: enetc: allocate vf_state during PF probes
    d3fb3cc83cf3 sctp: properly validate chunk size in sctp_sf_ootb()
    345267bf3643 dt-bindings: net: xlnx,axi-ethernet: Correct phy-mode property value
    d4c52c6a2bd5 net: enetc: set MAC address to the VF net_device
    9b7c0405af66 regulator: rtq2208: Fix uninitialized use of regulator_config
    3e79ad156bed security/keys: fix slab-out-of-bounds in key_task_permission
    6173b0bfcea3 nfs: avoid i_lock contention in nfs_clear_invalid_mapping
    351f03398ba8 NFSv3: only use NFS timeout for MOUNT when protocols are compatible
    d428de979bb2 sunrpc: handle -ENOTCONN in xs_tcp_setup_socket()
    7a3ed3f12529 platform/x86/amd/pmc: Detect when STB is not available
    9d9f5c75c0c7 HID: core: zero-initialize the report buffer
    24a7ac9d3d1b arm64: dts: rockchip: Correct GPIO polarity on brcm BT nodes
    95106521c1d8 ARM: dts: rockchip: Fix the realtek audio codec on rk3036-kylin
    1a22d3723f48 ARM: dts: rockchip: Fix the spi controller on rk3036
    0f4e827100ad ARM: dts: rockchip: drop grf reference from rk3036 hdmi
    f3d09c233bea ARM: dts: rockchip: fix rk3036 acodec node
    6900713f93c8 arm64: dts: rockchip: remove orphaned pinctrl-names from pinephone pro
    15b17bbcea07 firmware: arm_scmi: Fix slab-use-after-free in scmi_bus_notifier()
    810615507942 arm64: dts: imx8mp: correct sdhc ipg clk
    5cfe9619ce8a arm64: dts: imx8-ss-vpu: Fix imx8qm VPU IRQs
    ad0a938050d3 arm64: dts: imx8qxp: Add VPU subsystem file
    f8181c545d0a arm64: dts: rockchip: remove num-slots property from rk3328-nanopi-r2s-plus
    e24351485d15 arm64: dts: rockchip: Fix LED triggers on rk3308-roc-cc
    d0beaf49abc7 arm64: dts: rockchip: Remove #cooling-cells from fan on Theobroma lion
    d09940e349f6 arm64: dts: rockchip: Remove undocumented supports-emmc property
    d0a08abbe182 arm64: dts: rockchip: Add DTS for FriendlyARM NanoPi R2S Plus
    87759aaaab5c arm64: dts: rockchip: Fix bluetooth properties on Rock960 boards
    55907bdf4858 arm64: dts: rockchip: Fix bluetooth properties on rk3566 box demo
    54d80a600051 arm64: dts: rockchip: fix i2c2 pinctrl-names property on anbernic-rg353p/v
    08e793866570 arm64: dts: rockchip: Fix reset-gpios property on brcm BT nodes
    4d580a57ec23 arm64: dts: rockchip: Fix wakeup prop names on PineNote BT node
    f1da910ee9a2 arm64: dts: rockchip: Remove hdmi's 2nd interrupt on rk3328
    771bd4dde450 arm64: dts: rockchip: Fix rt5651 compatible value on rk3399-sapphire-excavator
    27b69008d637 arm64: dts: rockchip: Fix rt5651 compatible value on rk3399-eaidk-610
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 511413f916279aa5b98efd07ef33a3b9b36b8223)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 83dc33ac568e1320e1f675eaaa5e3b75dae26733)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Bruce Ashfield
2a348d27bb linux-yocto/6.6: update to v6.6.60
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    9b5aad3a7498c Linux 6.6.60
    cc082e50375a2 fs/ntfs3: Sequential field availability check in mi_enum_attr()
    10c20d79d59ca drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing
    e979a6a626abf ASoC: SOF: ipc4-control: Add support for ALSA enum control
    3facc0417d3d7 ASoC: SOF: ipc4-control: Add support for ALSA switch control
    f01d8fc623711 ASoC: SOF: ipc4-topology: Add definition for generic switch/enum control
    d54afaef6570c SUNRPC: Remove BUG_ON call sites
    27a58a19bd20a mtd: spi-nor: winbond: fix w25q128 regression
    3d544942c0010 mm: don't install PMD mappings when THPs are disabled by the hw/process/vma
    02ec4b3bba49e mm: huge_memory: add vma_thp_disabled() and thp_disabled_by_hw()
    fc621e7a043de wifi: iwlwifi: mvm: fix 6 GHz scan construction
    f2f1fa446676c nilfs2: fix kernel bug due to missing clearing of checked flag
    a53c2d847627b wifi: mac80211: fix NULL dereference at band check in starting tx ba session
    6a91a5816b289 io_uring: always lock __io_cqring_overflow_flush
    e3fb0e6afcc39 arm64: dts: imx8ulp: correct the flexspi compatible string
    1a49b96c51063 vmscan,migrate: fix page count imbalance on node stats when demoting pages
    003d2996964c0 io_uring/rw: fix missing NOWAIT check for O_DIRECT start write
    70bbe8d0a9494 kasan: remove vmalloc_percpu test
    c60af16e1d6cc nvmet-auth: assign dh_key to NULL after kfree_sensitive
    4a39320977f9c ALSA: hda/realtek: Fix headset mic on TUXEDO Stellaris 16 Gen6 mb1
    b42adef85aca7 ALSA: hda/realtek: Fix headset mic on TUXEDO Gemini 17 Gen3
    77ddc732416b0 xfs: fix finding a last resort AG in xfs_filestream_pick_ag
    8e886e44397ba mctp i2c: handle NULL header address
    88f97a4b5843c ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow
    c117a980185ee x86/traps: move kmsan check after instrumentation_begin
    86ee1845cbbf5 x86/traps: Enable UBSAN traps on x86
    b958948ae1cb3 mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reserves
    4882a352b5df8 mei: use kvmalloc for read buffer
    cb8b81ad3e893 mptcp: init: protect sched with rcu_read_lock
    4f7ffa83fa79d iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP
    ade91f6e9848b sched/numa: Fix the potential null pointer dereference in task_numa_work()
    8c9a1ec39c698 cxl/acpi: Ensure ports ready at cxl_acpi_probe() return
    a9ed67f39f888 cxl/port: Fix cxl_bus_rescan() vs bus_rescan_devices()
    d210bc87cc4fd riscv: Remove duplicated GET_RM
    6d84e1b2e5ac0 riscv: Remove unused GENERATING_ASM_OFFSETS
    a63ba17207c50 riscv: Use '%u' to format the output of 'cpu'
    909e71f28e961 riscv: efi: Set NX compat flag in PE/COFF header
    58e78589ade88 ALSA: hda/realtek: Limit internal Mic boost on Dell platform
    ceec8ad09135c Input: edt-ft5x06 - fix regmap leak when probe fails
    c19a0c171d37f riscv: vdso: Prevent the compiler from inserting calls to memset()
    e79c1f1c9100b spi: spi-fsl-dspi: Fix crash when not using GPIO chip select
    163e6323799bd phy: freescale: imx8m-pcie: Do CMN_RST just before PHY PLL lock check
    0d86cd70fc6a7 cgroup/bpf: use a dedicated workqueue for cgroup bpf destruction
    b3c301b859c4a block: fix sanity checks in blk_rq_map_user_bvec
    0fc87887dcb3a mmc: sdhci-pci-gli: GL9767: Fix low power mode in the SD Express process
    4159cd6ab5cfe mmc: sdhci-pci-gli: GL9767: Fix low power mode on the set clock function
    8e1b52c15c811 cxl/port: Fix use-after-free, permit out-of-order decoder shutdown
    8cd25f1fce6b8 thunderbolt: Honor TMU requirements in the domain when setting TMU mode
    9523a0268924a tools/mm: -Werror fixes in page-types/slabinfo
    edd1f90505068 mm: shmem: fix data-race in shmem_getattr()
    b6f95df4f7af6 RISC-V: ACPI: fix early_ioremap to early_memremap
    1246d86e7bbde nilfs2: fix potential deadlock with newly created symlinks
    1a797936d3468 iio: light: veml6030: fix microlux value calculation
    38d6e8be234d8 iio: gts-helper: Fix memory leaks in iio_gts_build_avail_scale_table()
    62c1189668312 iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table()
    3dc0eda2cd5c6 iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr()
    adfbc08b94e7d staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()
    cedf0f1db8d5f wifi: iwlegacy: Clear stale interrupts before resuming device
    6c44abb2d4c32 wifi: cfg80211: clear wdev->cqm_config pointer on free
    5f5a939759c79 wifi: ath10k: Fix memory leak in management tx
    ee35c423042c9 wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower
    0b9be24679358 Revert "selftests/mm: replace atomic_bool with pthread_barrier_t"
    1fe6799ee9b5f Revert "selftests/mm: fix deadlock for fork after pthread_create on ARM"
    fd28d95894609 Revert "driver core: Fix uevent_show() vs driver detach race"
    a762d0fc17df2 xhci: Use pm_runtime_get to prevent RPM on unsupported systems
    809dd30ee9011 xhci: Fix Link TRB DMA in command ring stopped completion event
    7e8066811a2c4 phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend
    370814e9d512b phy: qcom: qmp-usb: fix NULL-deref on runtime suspend
    e8180a4b1cf93 usb: typec: qcom-pmic-typec: use fwnode_handle_put() to release fwnodes
    558650b18f090 usb: typec: fix unreleased fwnode_handle in typec_port_register_altmodes()
    cd205590599a3 usb: phy: Fix API devm_usb_put_phy() can not release the phy
    53e0684f3093b usbip: tools: Fix detach_port() invalid port error path
    aa03c31a001ac ALSA: usb-audio: Add quirks for Dell WD19 dock
    b3b2431ed27f4 rcu-tasks: Fix access non-existent percpu rtpcp variable in rcu_tasks_need_gpcb()
    7679283e61a8b rcu-tasks: Initialize data to eliminate RCU-tasks/do_exit() deadlocks
    dc5d4d4c12246 rcu-tasks: Add data to eliminate RCU-tasks/do_exit() deadlocks
    01a2b99ffcca8 rcu-tasks: Pull sampling of ->percpu_dequeue_lim out of loop
    7d85884576a3b USB: gadget: dummy-hcd: Fix "task hung" problem
    e028b82aba882 usb: gadget: dummy_hcd: execute hrtimer callback in softirq context
    365a13cf5baa6 usb: gadget: dummy_hcd: Set transfer interval to 1 microframe
    4a4cb56556124 usb: gadget: dummy_hcd: Switch to hrtimer transfer scheduler
    f6568620246d2 misc: sgi-gru: Don't disable preemption in GRU driver
    fe8cb9fac9793 NFS: remove revoked delegation from server's delegation list
    cc0ff7495e41b net: amd: mvme147: Fix probe banner message
    715db716a9f83 thermal: intel: int340x: processor: Add MMIO RAPL PL4 support
    56029f1bc3f1f thermal: intel: int340x: processor: Remove MMIO RAPL CPU hotplug support
    34c0344e7eac5 cifs: Fix creating native symlinks pointing to current or parent directory
    201430d21faab cifs: Improve creating native symlinks pointing to directory
    45eaaa13dd91d scsi: scsi_transport_fc: Allow setting rport state to current state
    550ef40fa6366 fs/ntfs3: Additional check in ntfs_file_release
    68b39c0765de7 fs/ntfs3: Fix general protection fault in run_is_mapped_full
    7a4ace681dbb6 fs/ntfs3: Additional check in ni_clear()
    34e3220efd666 fs/ntfs3: Fix possible deadlock in mi_read
    e91fbb21f248b fs/ntfs3: Add rough attr alloc_size check
    898c8795ec492 fs/ntfs3: Stale inode instead of bad
    84d363dbcfabc fs/ntfs3: Fix warning possible deadlock in ntfs_set_state
    5f21e3e60982c fs/ntfs3: Check if more than chunk-size bytes are written
    22cdf3be7d34f ntfs3: Add bounds checking to mi_enum_attr()
    3c73746c222a7 cxl/events: Fix Trace DRAM Event Record
    7013af5bbd281 smb: client: set correct device number on nfs reparse points
    bbc258dcdbfe5 smb: client: fix parsing of device numbers
    0eb2b767c42fa ACPI: CPPC: Make rmw_lock a raw_spin_lock
    790dc90b96481 afs: Fix missing subdir edit when renamed between parent dirs
    243d2506e7eb0 afs: Automatically generate trace tag enums
    a6fd78620f25a firmware: arm_sdei: Fix the input parameter of cpuhp_remove_state()
    2e4eb1866990e kasan: Fix Software Tag-Based KASAN with GCC
    4c3575787e988 iomap: turn iomap_want_unshare_iter into an inline function
    9bc18bb476e50 fsdax: dax_unshare_iter needs to copy entire blocks
    35adbe088888a fsdax: remove zeroing code from dax_unshare_iter
    451b0a27ca6a7 iomap: share iomap_unshare_iter predicate code with fsdax
    3c06d13ec80be iomap: don't bother unsharing delalloc extents
    61ada9422009e iomap: improve shared block detection in iomap_unshare_iter
    d4d5767c53581 bpf, test_run: Fix LIVE_FRAME frame update after a page has been recycled
    0ab3be58b45b9 netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
    31384aa2ad05c mlxsw: spectrum_ipip: Fix memory leak when changing remote IPv6 address
    598f95742fdc6 mlxsw: spectrum_ptp: Add missing verification before pushing Tx header
    c69bc67c1cb21 net: skip offload for NETIF_F_IPV6_CSUM if ipv6 header contains extension
    1f1764466c33a Bluetooth: hci: fix null-ptr-deref in hci_read_supported_codecs
    fef63832317d9 netfilter: nf_reject_ipv6: fix potential crash in nf_send_reset6()
    6a1f088f9807f netfilter: Fix use-after-free in get_info()
    ac5977001eee7 net: fix crash when config small gso_max_size/gso_ipv4_max_size
    90a6e0e1e151e bpf: Fix out-of-bounds write in trie_get_next_key()
    6a604877160fe netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write()
    e20459b5f658b bpf: Force checkpoint when jmp history is too long
    bef1f6beae90f selftests/bpf: Add bpf_percpu_obj_{new,drop}() macro in bpf_experimental.h
    597cf9748c347 net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT
    42097a9dcaee3 gtp: allow -1 to be specified as file description from userspace
    699b48fc31727 ipv4: ip_tunnel: Fix suspicious RCU usage warning in ip_tunnel_init_flow()
    07c9c26e37542 net: stmmac: TSO: Fix unbalanced DMA map/unmap for non-paged SKB data
    bf6b2cd3c55de net: stmmac: dwmac4: Fix high address display by updating reg_space[] from register values
    9f5ae743dbe9a macsec: Fix use-after-free while sending the offloading packet
    b33b410597ebe ASoC: cs42l51: Fix some error handling paths in cs42l51_probe()
    fa078b39e3f1b wifi: iwlwifi: mvm: don't add default link in fw restart flow
    3eb986c64c6bf wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd()
    3b01b9985a543 wifi: iwlwifi: mvm: disconnect station vifs if recovery failed
    148f6af754781 RDMA/bnxt_re: synchronize the qp-handle table array
    16dbff3e8d195 RDMA/bnxt_re: Fix the usage of control path spin locks
    8636072c21e39 RDMA/mlx5: Round max_rd_atomic/max_dest_rd_atomic up instead of down
    e9c62661a0697 RDMA/cxgb4: Dump vendor specific QP details
    0a59445e2cdf3 wifi: brcm80211: BRCM_TRACING should depend on TRACING
    9b5c89acc8e99 wifi: ath11k: Fix invalid ring usage in full monitor mode
    189f1bfc5c84e wifi: mac80211: skip non-uploaded keys in ieee80211_iter_keys
    021693dad10a2 mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING
    5db6e193c4ca0 wifi: iwlegacy: Fix "field-spanning write" warning in il_enqueue_hcmd()
    9cfab1f3d425c spi: geni-qcom: Fix boot warning related to pm_runtime and devres
    fb384669cb8c2 cgroup: Fix potential overflow issue when checking max_depth
    73ca1c70b8b7f Input: xpad - add support for 8BitDo Ultimate 2C Wireless Controller
    403777d303399 Input: xpad - sort xpad_device by vendor and product ID
    eabe285e1c629 thermal: core: Free tzp copy along with the thermal zone
    3eb073abba327 thermal: core: Rework thermal zone availability check
    a95a9e3089d56 thermal: core: Make thermal_zone_device_unregister() return after freeing the zone
    18abb2787b536 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e5697 pnmtologo: sync with 6.6
    43ea1c5e6eb3c lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c85 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b86219 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e5039 bpftool: Query only cgroup-related attach types
    f71bb11887bae cpu/amd: inhibit SMP check for qemux86
    c31365597a17b powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b5 usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d1 kselftest: Add a ksft_perror() helper
    06644f0d7193d drm/tilcdc: Set preferred depth
    ff7ae7b323242 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0b arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701f x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c793 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6e qemux86: add configuration symbol to select values
    630c33229e6d5 sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6e clear_warn_once: add a clear_warn_once= boot parameter
    46934791b9026 clear_warn_once: bind a timer to written reset value
    cdee9e38ff324 clear_warn_once: expand debugfs to include read support
    82b562b818419 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b1 libbpf: Fix build warning on ref_ctr_off
    9e3e1fe209827 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65b perf: x86-32: explicitly include <errno.h>
    7b57ddd89565b perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7f perf: fix bench numa compilation
    98bc2815fade4 perf: add SLANG_INC for slang.h
    17209a70b9b39 perf: add sgidefs.h to for mips builds
    9cd4258d910af perf: change --root to --prefix for python install
    8110a4f266284 perf: add 'libperl not found' warning
    bc89d5e08f773 perf: force include of <stdbool.h>
    4f6c760cc876a fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b21 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab3786 FAT: Added FAT_NO_83NAME
    cef98d22b4edf FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084a aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf21 aufs6: fix magic.mk include path
    35266bc2dc81a aufs6: adapt to v6.6
    8edede4e98be1 aufs6: core
    712248233ebe1 aufs6: standalone
    3b71a8a848d8b aufs6: mmap
    3e2924871f371 aufs6: base
    7f4907a931016 aufs6: kbuild
    d2f7b03e4aa77 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa04 yaffs2: v6.5 fixups
    cc615704b5f54 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf913 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d34 yaffs2: replace bdevname call with sprintf
    395b01cdc39d1 yaffs2: convert read_page -> readfolio
    d98b07e43ba61 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe8 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f3 yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090b yaffs: include blkdev.h
    dbd44252cd592 yaffs: fix misplaced variable declaration
    c223a10b1ac08 yaffs2: v5.6 build fixups
    90f6007cfbf41 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea10 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6e yaffs: repair yaffs_get_mtd_device
    fb98f65a466a7 yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea27 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0b yaffs: Avoid setting any ACL releated xattr
    ff4130a9c3766 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67cd fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba90565 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4a yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8b initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4d pnmtologo: use relocatable file name
    664a6a0a484ba tools: use basename to identify file in gen-mach-types
    9de64bc0c1857 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295a vt/conmakehash: improve reproducibility
    a972323151bdd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc01984 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b197 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffcd defconfigs: drop obselete options
    00fe4152df313 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf1 linux-yocto: Handle /bin/awk issues
    3d55d299f23a7 uvesafb: provide option to specify timeout for task completion
    23c068c080bea uvesafb: print error message when task timeout occurs
    edbfc939266ec compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19ab vmware: include jiffies.h
    572d84d928c87 Resolve jiffies wrapping about arp
    fdcd47cac8435 nfs: Allow default io size to be configured.
    927d488010984 check console device file on fs when booting
    57cc27f821ddf mount_root: clarify error messages for when no rootfs found
    1b53d82a81528 mconf: fix output of cflags and libraries
    1811da09f42ca menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f3 modpost: mask trivial warnings
    6de6730394846 kbuild: exclude meta directory from distclean processing
    6decd32815f53 powerpc: serialize image targets
    f6b683b38318c arm: serialize build targets
    e798b09ebf572 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f86 x86_64_defconfig: Fix warnings
    68491e5f72b61 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce30048 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b18 powerpc: kexec fix for powerpc64
    da6871c62c371 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11de mips: make current_cpu_data preempt safe
    5e94a8247ce7f mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7f mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbdc 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5d malta uhci quirks: make allowance for slow 4k(e)c
    881948cd15176 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7a arm64: defconfig: cleanup config options
    f1727c537ba8d vexpress: Pass LOADADDR to Makefile
    4474c32dc24a4 arm: ARM EABI socketcall
    75e31a2b70fd3 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 5993e3621377e77f031768fa53668f790c364847)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8c3c6dab1b4993c7f122dac86ca9c1a5640245e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Bruce Ashfield
a2df1f6d57 linux-yocto/6.6: update to v6.6.59
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    bf3af7e92bda Linux 6.6.59
    7d9868180bd1 xfrm: validate new SA's prefixlen using SA family when sel.family is unset
    7a26cb660775 task_work: make TWA_NMI_CURRENT handling conditional on IRQ_WORK
    81507f633e79 tracing: probes: Fix to zero initialize a local variable
    042804a9fff1 RDMA/bnxt_re: Fix unconditional fence for newer adapters
    67819f10702b RDMA/bnxt_re: Avoid creating fence MR for newer adapters
    1aee34ed99e9 RDMA/bnxt_re: Fix the offset for GenP7 adapters for user applications
    38ca6fd426ea ACPI: PRM: Clean up guid type in struct prm_handler_info
    d1e55eeee056 platform/x86: dell-wmi: Ignore suspend notifications
    73cc3f905ca9 ASoC: qcom: Fix NULL Dereference in asoc_qcom_lpass_cpu_platform_probe()
    24f638125cc3 ata: libata: Set DID_TIME_OUT for commands that actually timed out
    ce4a70d9b916 net: phy: dp83822: Fix reset pin definitions
    4512c448f54c selinux: improve error checking in sel_write_load()
    c79e0a18e4b3 drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too
    62c85b9a0dd7 hv_netvsc: Fix VF namespace also in synthetic NIC NETDEV_REGISTER event
    c73bca72b84b xfrm: fix one more kernel-infoleak in algo dumping
    36bd0f386b7c LoongArch: Make KASAN usable for variable cpu_vabits
    8915ed160dbd LoongArch: Enable IRQ if do_ale() triggered in irq-enabled context
    cd2cef731170 LoongArch: Get correct cores_per_package for SMT systems
    5d10f6fb2cb7 ALSA: hda/realtek: Add subwoofer quirk for Acer Predator G9-593
    0d674f2e73b4 ALSA: hda/tas2781: select CRC32 instead of CRC32_SARWATE
    60a5ba560f29 x86/lam: Disable ADDRESS_MASKING in most cases
    599eee0e9817 KVM: arm64: Don't eagerly teardown the vgic on init error
    04ed2ba07ce7 KVM: arm64: Fix shift-out-of-bounds bug
    2c4adc9b192a KVM: nSVM: Ignore nCR3[4:0] when loading PDPTEs from memory
    f421a3b18aa7 openat2: explicitly return -E2BIG for (usize > PAGE_SIZE)
    743c78d455e7 nilfs2: fix kernel bug due to missing clearing of buffer delay flag
    a299d415dd37 ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix initial lid detection issue
    795b080d9aa1 ACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context
    bdaab141edb6 ACPI: resource: Add LG 16T90SP to irq1_level_low_skip_override[]
    975ede2a7bec drm/amd: Guard against bad data for ATIF ACPI method
    004ad1a2d684 btrfs: zoned: fix zone unusable accounting for freed reserved extent
    3521754614cf btrfs: fix passing 0 to ERR_PTR in btrfs_search_dir_index_item()
    2f2684c7903e cpufreq: CPPC: fix perf_to_khz/khz_to_perf conversion exception
    33e89c16cea0 cpufreq/cppc: Move and rename cppc_cpufreq_{perf_to_khz|khz_to_perf}()
    35dbac8c328d smb: client: Handle kstrdup failures for passwords
    66921a4d8e84 ALSA: hda/realtek: Update default depop procedure
    f965dc0f099a nfsd: cancel nfsd_shrinker_work using sync mode in nfs4_state_shutdown_net
    5f0468f30c8f powercap: dtpm_devfreq: Fix error check against dev_pm_qos_add_request()
    4bdc21506f12 ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()
    8b339beb7cfe ASoC: fsl_micfil: Add a flag to distinguish with different volume control types
    f9ba85f823e7 ASoC: rsnd: Fix probe failure on HiHope boards due to endpoint parsing
    83a420e965f6 ASoC: max98388: Fix missing increment of variable slot_found
    6e4aed4acc1a ASoC: loongson: Fix component check failed on FDT systems
    f10cba3f761b ASoC: dt-bindings: davinci-mcasp: Fix interrupt properties
    5e3583b4c000 ASoC: dt-bindings: davinci-mcasp: Fix interrupts property
    773dc610ca64 net: dsa: mv88e6xxx: support 4000ps cycle counter period
    06b1c8091542 net: dsa: mv88e6xxx: read cycle counter period from hardware
    4dc655d86b54 net: dsa: mv88e6xxx: group cycle counter coefficients
    21db2f35fa97 bpf,perf: Fix perf_event_detach_bpf_prog error handling
    14bcb721d241 Bluetooth: ISO: Fix UAF on iso_sock_timeout
    d30803f6a972 Bluetooth: SCO: Fix UAF on sco_sock_timeout
    1ba33b327c3f posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime()
    7d6d46b42980 r8169: avoid unsolicited interrupts
    5d282467245f net: sched: use RCU read-side critical section in taprio_dump()
    0d4c0d2844e4 net: sched: fix use-after-free in taprio_change()
    a5cf8670acbb net/sched: act_api: deny mismatched skip_sw/skip_hw flags for actions created by classifiers
    d123062a3fdc bpf: Remove MEM_UNINIT from skb/xdp MTU helpers
    48068ccaea95 bpf: Fix overloading of MEM_UNINIT's meaning
    8a33a047bd31 bpf: Add MEM_WRITE attribute
    d1100acab464 bpf: Simplify checking size of helper accesses
    7caee37c466a net: usb: usbnet: fix name regression
    a7bdb199784f net: fix races in netdev_tx_sent_queue()/dev_watchdog()
    10cb940429c2 net/sched: adjust device watchdog timer to detect stopped queue at right time
    69076f8435c1 net: wwan: fix global oob in wwan_rtnl_policy
    433742ba96ba netfilter: xtables: fix typo causing some targets not to load on IPv6
    5ed4334fc951 fsl/fman: Fix refcount handling of fman-related devices
    275bebf5be50 fsl/fman: Save device references taken in mac_probe()
    06b526846cc9 net: dsa: mv88e6xxx: Fix error when setting port policy on mv88e6393x
    c2d2dc4f88bb octeon_ep: Add SKB allocation failures handling in __octep_oq_process_rx()
    e71146ff378c octeon_ep: Implement helper for iterating packets in Rx queue
    64854b218703 net: plip: fix break; causing plip to never transmit
    641c1beed52b be2net: fix potential memory leak in be_xmit()
    6dc937a3086e net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()
    f41bd93b3e05 netfilter: bpf: must hold reference on net namespace
    c1530660410c xfrm: respect ip protocols rules criteria when performing dst lookups
    ac1d820eaa30 xfrm: extract dst lookup parameters into a struct
    a14a075a14af tracing: Consider the NULL character when validating the event length
    6bc24db74fe4 tracing/probes: Fix MAX_TRACE_ARGS limit handling
    f475d8a0cca7 jfs: Fix sanity check in dbMount
    a94c197d4d74 LoongArch: Don't crash in stack_top() for tasks without vDSO
    3d75f500f64d platform/x86: dell-sysman: add support for alienware products
    6d52db315cfc cifs: Validate content of NFS reparse point buffer
    f47a40ee4cdb ASoC: qcom: sm8250: add qrb4210-rb2-sndcard compatible string
    1ac49babc952 udf: fix uninit-value use in udf_get_fileshortad
    493447dd8336 udf: refactor inode_bmap() to handle error
    5fc8da4d326d udf: refactor udf_next_aext() to handle error
    402c8862fe54 udf: refactor udf_current_aext() to handle error
    8c213cc21724 arm64: Force position-independent veneers
    85e70dcd1f85 ASoC: fsl_sai: Enable 'FIFO continue on error' FCONT bit
    935e5c5f93df ASoC: codecs: lpass-rx-macro: add missing CDC_RX_BCL_VBAT_RF_PROC2 to default regs values
    b3d4f2329312 ASoC: amd: yc: Add quirk for HP Dragonfly pro one
    9eb32bd23bbc drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA
    0d16f53c9111 exec: don't WARN for racy path_noexec check
    9e5f93788c9d uprobe: avoid out-of-bounds memory access of fetching args
    f0a7ea54f3dc uprobes: prevent mutex_lock() under rcu_read_lock()
    f5272c98a4a0 uprobes: prepare uprobe args buffer lazily
    1c7fa34863c7 uprobes: encapsulate preparation of uprobe args buffer
    91f62703146a tracing/probes: Support $argN in return probe (kprobe and fprobe)
    e96b42d22f66 tracing/probes: cleanup: Set trace_probe::nr_args at trace_probe_init
    5868fa7ebe66 tracing/fprobe-event: cleanup: Fix a wrong comment in fprobe event
    4fad73700867 usb: dwc3: core: Fix system suspend on TI AM62 platforms
    66e56efc45cb XHCI: Separate PORT and CAPs macros into dedicated file
    ecc8a9502b3c usb: gadget: f_uac2: fix return value for UAC2_ATTRIBUTE_STRING store
    0a2794e244d8 usb: gadget: f_uac2: fix non-newline-terminated function name
    3af6c7285413 usb: gadget: f_uac2: Replace snprintf() with the safer scnprintf() variant
    c691c2adeb75 xhci: dbc: honor usb transfer size boundaries.
    7cbcb40d4699 xhci: dbgtty: use kfifo from tty_port struct
    32bd1720ede6 xhci: dbgtty: remove kfifo_out() wrapper
    fe19d913d2c8 iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    5f029be65dca mm: khugepaged: fix the arguments order in khugepaged_collapse_file trace point
    36249a0b212e khugepaged: remove hpage from collapse_file()
    03e36dba005e khugepaged: convert alloc_charge_hpage to alloc_charge_folio
    281a0312ce41 khugepaged: inline hpage_collapse_alloc_folio()
    c556c5580646 mm/khugepaged: use a folio more in collapse_file()
    4ba70817cfad mm: convert collapse_huge_page() to use a folio
    a1afee6c6f53 mm/khugepaged: convert alloc_charge_hpage() to use folios
    cf2bb1bf0306 cdrom: Avoid barrier_nospec() in cdrom_ioctl_media_changed()
    bb0f943675a9 bpf: Fix iter/task tid filtering
    4ed32cc0939b nvme-pci: fix race condition between reset and nvme_dev_disable()
    e2c03a2c838e nvme-pci: set doorbell config before unquiescing
    ed67a5b99e4d riscv, bpf: Make BPF_CMPXCHG fully ordered
    8a377818bcf8 bpf, vsock: Drop static vsock_bpf_prot initialization
    9dd9b16018cc vsock: Update msg_count on read_skb()
    66cd51de31c6 vsock: Update rx_bytes on read_skb()
    12c3e619d34a bpf, sockmap: SK_DROP on attempted redirects of unsupported af_vsock
    9f2ccb6f3888 net/mlx5: Unregister notifier on eswitch init failure
    d88564c79d1c net/mlx5: Fix command bitmask initialization
    5ec33b1fe86d net/mlx5: Check for invalid vector index on EQ creation
    59ba6cdadb9c vmxnet3: Fix packet corruption in vmxnet3_xdp_xmit_frame
    d10cd7bf574e Bluetooth: bnep: fix wild-memory-access in proto_unregister
    97bbdc5001db bpf: Fix link info netfilter flags to populate defrag flag
    9221ae88c205 s390: Initialize psw mask in perf_arch_fetch_caller_regs()
    1ded6b12499e usb: typec: altmode should keep reference to parent
    b209c3a0bc3a smb: client: fix OOBs when building SMB2_IOCTL request
    b1813c220b76 smb: client: fix possible double free in smb2_set_ea()
    b80e9bc85bd9 scsi: target: core: Fix null-ptr-deref in target_alloc_device()
    2fe1384cbb7c net: ravb: Only advertise Rx/Tx timestamps if hardware supports it
    e9638d3e62dc ravb: Remove setting of RX software timestamp
    b94e5375ec66 genetlink: hold RCU in genlmsg_mcast()
    f8f8afc101f2 net: dsa: mv88e6xxx: Fix the max_vid definition for the MV88E6361
    997ae8da14f1 tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink().
    7218de0778ae net: bcmasp: fix potential memory leak in bcmasp_xmit()
    1999a9e050c5 drm/msm/dpu: don't always program merge_3d block
    b18db3a4fa5f irqchip/renesas-rzg2l: Fix missing put_device
    39cb86f19199 irqchip/renesas-rzg2l: Add support for suspend to RAM
    0776b25d79d8 irqchip/renesas-rzg2l: Document structure members
    05cc5e67dda8 irqchip/renesas-rzg2l: Align struct member names to tabs
    4b70478b984a net: systemport: fix potential memory leak in bcm_sysport_xmit()
    08b8f206de4c bpf: Fix truncation bug in coerce_reg_to_size_sx()
    b01fbbf38584 net: xilinx: axienet: fix potential memory leak in axienet_start_xmit()
    0017189d6057 net/smc: Fix searching in list of known pnetids in smc_pnet_add_pnetid
    79571c4d2f65 net: ethernet: aeroflex: fix potential memory leak in greth_start_xmit_gbit()
    681ce79ab6fb netdevsim: use cond_resched() in nsim_dev_trap_report_work()
    268446b40bb1 macsec: don't increment counters for an unrelated SA
    65ca9f8ddc0d drm/amd/amdgpu: Fix double unlock in amdgpu_mes_add_ring
    a4bc03078eb3 octeontx2-af: Fix potential integer overflows on integer shifts
    e61fa0d66f22 net: stmmac: dwmac-tegra: Fix link bring-up sequence
    bc52115cc41a net: usb: usbnet: fix race in probe failure
    a17874a3a5ab net/smc: Fix memory leak when using percpu refs
    95e3da26819d firmware: arm_scmi: Queue in scmi layer for mailbox implementation
    d4e44b8a6a18 drm/msm: Allocate memory for disp snapshot with kvzalloc()
    f7ad91627348 drm/msm: Avoid NULL dereference in msm_disp_state_print_regs()
    33ece6c4f0c1 drm/msm/dsi: fix 32-bit signed integer extension in pclk_rate calculation
    9f2361089152 drm/msm/dsi: improve/fix dsc pclk calculation
    dd58a5f8b308 drm/msm/dpu: check for overflow in _dpu_crtc_setup_lm_bounds()
    adde6c68bf1a drm/msm/dpu: make sure phys resources are properly initialized
    1931dc14b537 accel/qaic: Fix the for loop used to walk SG table
    5032bf57ab5d RDMA/bnxt_re: Fix the GID table length
    bf39b3532143 RDMA/bnxt_re: Update the BAR offsets
    87cb3b0054e5 RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages
    d517cadae6c3 RDMA/bnxt_re: Return more meaningful error
    05c5fcc1869a RDMA/bnxt_re: Fix out of bound check
    903f8b01c587 RDMA/bnxt_re: Fix the max CQ WQEs for older adapters
    5fcf649e4334 RDMA/bnxt_re: Support new 5760X P7 devices
    1ee5ef316a77 ipv4: give an IPv4 dev to blackhole_netdev
    3a662cc5b5d5 RDMA/srpt: Make slab cache names unique
    af29c430a343 RDMA/irdma: Fix misspelling of "accept*"
    c29fd05329a9 RDMA/cxgb4: Fix RDMA_CM_EVENT_UNREACHABLE error for iWARP
    6d91d07913ae firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()
    8971fd61210d ALSA: hda/cs8409: Fix possible NULL dereference
    509c29d0d26f sched/core: Disable page allocation in task_tick_mm_cid()
    380681a29066 task_work: Add TWA_NMI_CURRENT as an additional notify mode.
    a3fe89d4f5bb selftests/bpf: Fix cross-compiling urandom_read
    923c5ded505c drm/vmwgfx: Handle possible ENOMEM in vmw_stdu_connector_atomic_check
    119249d146d5 iio: frequency: admv4420: fix missing select REMAP_SPI in Kconfig
    1b3090ca3265 iio: frequency: {admv4420,adrf6780}: format Kconfig entries
    3e212996d21f bpf: fix kfunc btf caching for modules
    b56328660be0 s390/pci: Handle PCI error codes other than 0x3a
    6617ae800cbb selftests/bpf: fix perf_event link info name_len assertion
    0ce20181976d selftests/bpf: Add cookies check for perf_event fill_link_info test
    e909258d41b2 selftests/bpf: Use bpf_link__destroy in fill_link_info tests
    e5c2b971db09 bpf: fix unpopulated name_len field in perf_event link info
    cfd63c3a4538 bpf: Add cookie to perf_event bpf_link_info records
    99bf10e92a3f bpf: Add missed value to kprobe perf link info
    f4381ccf1ed1 ARM: dts: bcm2837-rpi-cm3-io3: Fix HDMI hpd-gpio pin
    9e3d07e503ea x86/resctrl: Avoid overflow in MB settings in bw_validate()
    b7bf17f4f92f RDMA/core: Fix ENODEV error for iWARP test over vlan
    c71957271f2e RDMA/bnxt_re: Add a check for memory allocation
    7d10555a340a RDMA/bnxt_re: Fix incorrect AVID type in WQE structure
    73e04a6114e0 RDMA/bnxt_re: Fix a possible memory leak
    90ad4e2fe3a2 bpf: Fix memory leak in bpf_core_apply
    978d1f63fc6e lib/Kconfig.debug: fix grammar in RUST_BUILD_ASSERT_ALLOW
    8552150e5d80 cpufreq/amd-pstate: Fix amd_pstate mode switch on shared memory systems
    49454f09936a bpf: devmap: provide rxq after redirect
    0fca5ed4be8e bpf: Make sure internal and UAPI bpf_redirect flags don't overlap
    de1f0ab13915 iio: accel: bma400: Fix uninitialized variable field_value in tap event handling.
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 56fa329e447215d34fc6fe5770017d9f38a87fbb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c7505c0387450c5467249828ec5c022f393b42a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Bruce Ashfield
e05cd74ab9 linux-yocto/6.6: genericarm64.cfg: enable CONFIG_DMA_CMA
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: genericarm64.cfg: enable CONFIG_DMA_CMA
    Date: Thu, 24 Oct 2024 08:49:29 +0300

    It's needed for graphics on AMD KV260.

    Cc: Bill Mills <bill.mills@linaro.org>
    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 5754841cb19c4272fe3494b5d5e450ae9876fa48)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87bbf8eaa48cfc8bca02d86bd089df61846d2ca4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:45 -08:00
Bruce Ashfield
4d62b407c7 linux-yocto/6.6: update to v6.6.58
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    18916a684a8b Linux 6.6.58
    fd6e2af79a94 ALSA: hda/conexant - Use cached pin control for Node 0x1d on HP EliteOne 1000 G2
    9698088ac770 nilfs2: propagate directory read errors from nilfs_find_entry()
    87cb3f6e0c04 selftests: mptcp: remove duplicated variables
    ec0d0fcbd5d8 selftests: mptcp: join: test for prohibited MPC to port-based endp
    d46b96f0a489 selftests: mptcp: join: change capture/checksum as bool
    229dfdc36f31 tcp: fix mptcp DSS corruption due to large pmtu xmit
    647cd4494cc3 serial: qcom-geni: fix receiver enable
    61c8f746ed83 serial: qcom-geni: fix dma rx cancellation
    7176aee5a1b2 serial: qcom-geni: revert broken hibernation support
    90e3f819e6aa serial: qcom-geni: fix polled console initialisation
    6acd19ad3aaf irqchip/sifive-plic: Unmask interrupt in plic_irq_enable()
    01282ab5182f irqchip/gic-v4: Don't allow a VMOVP on a dying VPE
    fad940e2dd78 pinctrl: apple: check devm_kasprintf() returned value
    3b36bb1fca2b pinctrl: stm32: check devm_kasprintf() returned value
    20728e86289a pinctrl: ocelot: fix system hang on level based interrupts
    481b477ab63c x86/bugs: Use code segment selector for VERW operand
    c29f192e0d44 tty: n_gsm: Fix use-after-free in gsm_cleanup_mux
    227358e89703 x86/entry_32: Clear CPU buffers after register restore in NMI return
    0c6a7e2c6012 x86/entry_32: Do not clobber user EFLAGS.ZF
    c8170b5ddc41 x86/CPU/AMD: Only apply Zenbleed fix for Zen2 during late microcode load
    6663f0c65885 x86/apic: Always explicitly disarm TSC-deadline timer
    16d7d35f1c1e x86/resctrl: Annotate get_mem_config() functions as __init
    66029078fee0 parport: Proper fix for array out-of-bounds access
    c895d48c843d serial: imx: Update mctrl old_status on RTSD interrupt
    245bee12a52d misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for OTP device
    78df42183e82 misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for EEPROM device
    c3d3501cf896 usb: dwc3: Wait for EndXfer completion before restoring GUSB2PHYCFG
    479830f6c15b usb: typec: qcom-pmic-typec: fix sink status being overwritten with RP_DEF
    86c68aa714d0 USB: serial: option: add Telit FN920C04 MBIM compositions
    90a5c64279ae USB: serial: option: add support for Quectel EG916Q-GL
    53cd1bb1f8eb xhci: Mitigate failed set dequeue pointer commands
    cc7b7050996a xhci: Fix incorrect stream context type macro
    9c696bf4ab54 xhci: tegra: fix checked USB2 port number
    dc2d5f02636c vt: prevent kernel-infoleak in con_font_get()
    885f8c873fed Bluetooth: btusb: Fix regression with fake CSR controllers 0a12:0001
    8fb8e912afb4 Bluetooth: ISO: Fix multiple init when debugfs is disabled
    59bd80df4b88 Bluetooth: Remove debugfs directory on module init failure
    05f84d86169b Bluetooth: Call iso_exit() on module unload
    232c2eb6d60c iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    d8ef39dad9b9 iio: adc: ti-ads124s08: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    48e594b77cb7 iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig
    2f76debe69b8 iio: dac: ad3552r: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    ad60bbd7c071 iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    1fcc9d634b50 iio: dac: ad5766: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    66bfe12005f6 iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    5d41abc777dc iio: frequency: adf4377: add missing select REMAP_SPI in Kconfig
    dc7a11e8cebd iio: amplifiers: ada4250: add missing select REGMAP_SPI in Kconfig
    7f06b154ffcf iio: light: opt3001: add missing full-scale range value
    2cbb41abae65 iio: light: veml6030: fix IIO device retrieval from embedded device
    6bd2b16425d4 iio: light: veml6030: fix ALS sensor resolution
    6acb0a4dac40 iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency()
    082a75594ba4 iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    e0eb585eef6c iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig
    ea8180528111 iio: dac: ltc1660: add missing select REGMAP_SPI in Kconfig
    c3a230c1df36 iio: dac: ad5770r: add missing select REGMAP_SPI in Kconfig
    64cf93b87fe3 drm/amdgpu: prevent BO_HANDLES error from being overwritten
    db0978d3ed8b drm/amdgpu/swsmu: Only force workload setup on init
    7c0763fd7974 drm/vmwgfx: Handle surface check failure correctly
    1a235af02164 drm/radeon: Fix encoder->possible_clones
    8e6ca01b3b8d scsi: ufs: core: Fix the issue of ICU failure
    7bd9af254275 scsi: ufs: core: Set SDEV_OFFLINE when UFS is shut down
    d3c4f41ae32c Input: xpad - add support for MSI Claw A1M
    a16af52f2442 selftest: hid: add the missing tests directory
    6414ab5c9c9c ublk: don't allow user copy for unprivileged device
    2762b3cc9094 io_uring/sqpoll: close race on waiting for sqring entries
    4c5b123ab289 blk-rq-qos: fix crash on rq_qos_wait vs. rq_qos_wake_function race
    c04670dffb3f x86/bugs: Do not use UNTRAIN_RET with IBPB on entry
    c42a343158ea x86/bugs: Skip RSB fill at VMEXIT
    61211f2da0be x86/entry: Have entry_ibpb() invalidate return predictions
    b28d3f44e20c x86/cpufeatures: Add a IBPB_NO_RET BUG flag
    6ccc10ed0a7d x86/cpufeatures: Define X86_FEATURE_AMD_IBPB_RET
    369535232d6a KVM: s390: Change virtual to physical address access in diag 0x258 handler
    88607ed93ee6 KVM: s390: gaccess: Check if guest address is in memslot
    82b433fb9b13 s390/sclp_vt220: Convert newlines to CRLF instead of LFCR
    ccea29b1e072 s390/sclp: Deactivate sclp after all its users
    fe2e0b6cd00a iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices
    37d9305caace mptcp: prevent MPC handshake on port-based signal endpoints
    6365900cb10e net: fec: Remove duplicated code
    1e1eb62c40e1 net: fec: Move `fec_ptp_read()` to the top of the file
    677f1df179cb maple_tree: correct tree corruption on spanning store
    9a0ab4fc28ed xfs: restrict when we try to align cow fork delalloc to cowextsz hints
    3eeac3311683 xfs: allow unlinked symlinks and dirs with zero size
    2bc2d49c36c2 xfs: fix freeing speculative preallocations for preallocated files
    740a427e8f45 xfs: fix unlink vs cluster buffer instantiation race
    0e52b98bf041 xfs: make sure sb_fdblocks is non-negative
    0aca73915dc1 xfs: allow symlinks with short remote targets
    4c99f3026cf2 xfs: convert delayed extents to unwritten when zeroing post eof blocks
    36081fd0ee37 xfs: make xfs_bmapi_convert_delalloc() to allocate the target offset
    0f726c17dfd8 xfs: make the seq argument to xfs_bmapi_convert_delalloc() optional
    f24ba2183148 xfs: match lock mode in xfs_buffered_write_iomap_begin()
    7c03b124353a xfs: use dontcache for grabbing inodes during scrub
    20adb1e2f069 xfs: revert commit 44af6c7e59b12
    5689d2345a01 xfs: enforce one namespace per attribute
    9716cdcc2f9e xfs: validate recovered name buffers when recovering xattr items
    db460c26f0b0 xfs: check shortform attr entry flags specifically
    cad051826d83 xfs: fix missing check for invalid attr flags
    0934046e3392 xfs: check opcode and iovec count match in xlog_recover_attri_commit_pass2
    c13c21f77824 xfs: require XFS_SB_FEAT_INCOMPAT_LOG_XATTRS for attr log intent item recovery
    c299188b443a xfs: remove a racy if_bytes check in xfs_reflink_end_cow_extent
    4bcef72d96b5 xfs: fix xfs_bmap_add_extent_delay_real for partial conversions
    f43bd357fde0 xfs: fix error returns from xfs_bmapi_write
    bed2b9037806 mm/swapfile: skip HugeTLB pages for unuse_vma
    a0035fc55554 mm/mglru: only clear kswapd_failures if reclaimable
    17396e32f975 mm/mremap: fix move_normal_pmd/retract_page_tables race
    6b91fd65a117 selftests/mm: fix deadlock for fork after pthread_create on ARM
    8f5fa1c677df selftests/mm: replace atomic_bool with pthread_barrier_t
    a9af9d5fb01b fat: fix uninitialized variable
    8e29f3235181 irqchip/gic-v3-its: Fix VSYNC referencing an unmapped VPE on GIC v4.1
    20b5342de51b net: microchip: vcap api: Fix memory leaks in vcap_api_encode_rule_test()
    81db1e528486 net: macb: Avoid 20s boot delay by skipping MDIO bus registration for fixed-link PHY
    8165bf83b8a6 arm64: probes: Fix uprobes for big-endian kernels
    173c13e38799 arm64: probes: Fix simulate_ldr*_literal()
    9f1e7735474e arm64: probes: Remove broken LDR (literal) uprobe support
    a3f169e39821 posix-clock: Fix missing timespec64 check in pc_clock_settime()
    75150ba93dda net: enetc: add missing static descriptor and inline keyword
    760a7c9695c0 net: enetc: disable NAPI after all rings are disabled
    a419f478b927 net: enetc: disable Tx BD rings after they are empty
    37184349468a net: enetc: block concurrent XDP transmissions during ring reconfiguration
    1c95443e44e1 net: enetc: remove xdp_drops statistic from enetc_xdp_drop()
    7b2e478abab0 mptcp: pm: fix UaF read in mptcp_pm_nl_rm_addr_or_subflow
    3c088dba8a4e ALSA: hda/conexant - Fix audio routing for HP EliteOne 1000 G2
    5511999e9615 ksmbd: fix user-after-free from session log off
    7fc7c47b9ba0 btrfs: fix uninitialized pointer free on read_alloc_one_name() error
    e11ce03b5874 btrfs: fix uninitialized pointer free in add_inode_ref()
    e9448e371c87 Linux 6.6.57
    8d5aebfff846 scsi: Revert "scsi: sd: Do not repeat the starting disk message"
    e6fc67c0efea e1000e: fix force smbus during suspend flow
    611f74b0e7fb net: ethernet: cortina: Restore TSO support
    7caf966390e6 secretmem: disable memfd_secret() if arch cannot set direct map
    e5a0031c7965 fs/proc/kcore.c: allow translation of physical memory addresses
    19a5029981c8 kthread: unpark only parked kthread
    f00545e8386e btrfs: split remaining space to discard in chunks
    73a4f5a704a2 selftests/rseq: Fix mm_cid test failure
    87070a96b1d2 selftests/mm: fix incorrect buffer->mirror size in hmm2 double_map test
    bd3222d47fae powercap: intel_rapl_tpmi: Fix bogus register reading
    697e3ddcf1f8 nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error
    b822007e8db3 device-dax: correct pgoff align in dax_set_mapping()
    8b36f4dcacb9 mptcp: pm: do not remove closing subflows
    b8be15d1ae7e mptcp: handle consistently DSS corruption
    143ffa7878e2 net: phy: Remove LED entry from LEDs list on unregister
    28a2c3e51d09 net: dsa: lan9303: ensure chip reset and wait for READY status
    3be342e0332a net: Fix an unsafe loop on the list
    563e6892e21d net: explicitly clear the sk pointer, when pf->create fails
    31c62224e91c ata: libata: avoid superfluous disk spin down + spin up during hibernation
    a448ced30802 mptcp: fallback when MPTCP opts are dropped after 1st data
    7994a4849c8b scsi: ufs: Use pre-calculated offsets in ufshcd_init_lrb()
    e04642a207f1 scsi: wd33c93: Don't use stale scsi_pointer value
    867639300759 Bluetooth: hci_conn: Fix UAF in hci_enhanced_setup_sync
    55f2bd90b9fb drm/i915/hdcp: fix connector refcounting
    937943c04250 drm/vc4: Stop the active perfmon before being destroyed
    07c51108d9e2 drm/v3d: Stop the active perfmon before being destroyed
    fb1643d00a50 hid: intel-ish-hid: Fix uninitialized variable 'rv' in ish_fw_xfer_direct_dma
    0b97fe09f099 usb: gadget: core: force synchronous registration
    0770cda1e40f usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip
    cb8b441f73a6 usb: xhci: Fix problem with xhci resume from suspend
    38aef06ea2fd usb: dwc3: core: Stop processing of pending events if controller is halted
    936564b4dafa Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant"
    1fa959e74e50 HID: plantronics: Workaround for an unexcepted opposite volume key
    c1846e023899 HID: multitouch: Add support for lenovo Y9000P Touchpad
    1c3b4c90479a HID: amd_sfh: Switch to device-managed dmam_alloc_coherent()
    11381eea8897 hwmon: (adt7470) Add missing dependency on REGMAP_I2C
    f5033290daa1 hwmon: (adm9240) Add missing dependency on REGMAP_I2C
    fe5866fc1254 hwmon: (mc34vr500) Add missing dependency on REGMAP_I2C
    de90999ec3de hwmon: (tmp513) Add missing dependency on REGMAP_I2C
    2caf6c42629e hwmon: intel-m10-bmc-hwmon: relabel Columbiaville to CVL Die Temperature
    26b177ecdd31 wifi: mac80211: Avoid address calculations via out of bounds array indexing
    ea912d384d8e hid-asus: add ROG Ally X prod ID to quirk list
    1815b3236d6b HID: asus: add ROG Z13 lightbar
    5ec4596a0ba9 HID: asus: add ROG Ally N-Key ID and keycodes
    f74210883e53 HID: i2c-hid: Skip SET_POWER SLEEP for Cirque touchpad on system suspend
    64575ec3d24a HID: i2c-hid: Renumber I2C_HID_QUIRK_ defines
    e600ee984f72 HID: i2c-hid: Remove I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV quirk
    b289b83409a6 HID: mcp2200: added driver for GPIOs of MCP2200
    84a5feebba10 rcu/nocb: Fix rcuog wake-up from offline softirq
    174caf7a16d6 rcu/nocb: Make IRQs disablement symmetric
    8bb79eb1db85 slip: make slhc_remember() more robust against malicious packets
    8fe992ff3df4 ppp: fix ppp_async_encode() illegal access
    c246bfbb35fb phonet: Handle error of rtnl_register_module().
    a8e473f7454a phonet: no longer hold RTNL in route_dumpit()
    4597c3866d04 mpls: Handle error of rtnl_register_module().
    ff7abccdd581 mpls: no longer hold RTNL in mpls_netconf_dump_devconf()
    ba5366b87c0d rtnetlink: add RTNL_FLAG_DUMP_UNLOCKED flag
    c8c76f1550b9 rtnetlink: change nlk->cb_mutex role
    f4df31a05153 mctp: Handle error of rtnl_register_module().
    60bfd345cc9b bridge: Handle error of rtnl_register_module().
    ca15d2882d8a vxlan: Handle error of rtnl_register_module().
    35b72beac967 rtnetlink: Add bulk registration helpers for rtnetlink message handlers.
    eae7435b48ff net: do not delay dst_entries_add() in dst_release()
    64121e36fdce netfilter: fib: check correct rtable in vrf setups
    997f67d813ce netfilter: xtables: avoid NFPROTO_UNSPEC where needed
    b4ff011609d0 sctp: ensure sk_state is set to CLOSED if hashing fails in sctp_listen_start
    a63850d0d941 btrfs: zoned: fix missing RCU locking in error message when loading zone info
    25c5ef253a4c net: ibm: emac: mal: fix wrong goto
    1edf039ee017 net/sched: accept TCA_STAB only for root qdisc
    ba578ecdd161 e1000e: change I219 (19) devices to ADP
    57c5053eaa5f igb: Do not bring the device up after non-fatal error
    703c4d820b31 i40e: Fix macvlan leak by synchronizing access to mac_filter_hash
    29d7aa1857b2 ice: Flush FDB entries before reset
    3b66266aa7ec ice: rename switchdev to eswitch
    fa6ab2d78c19 ice: Fix netif_is_ice() in Safe Mode
    a91c6e117079 powercap: intel_rapl_tpmi: Ignore minor version change
    f0a6c431d20d platform/x86/intel/tpmi: Add defines to get version information
    1e4a5eed757c gpio: aspeed: Use devm_clk api to manage clock source
    2a165df9ce20 gpio: aspeed: Add the flush write to ensure the write complete.
    cfa836da7f4c nouveau/dmem: Fix privileged error in copy engine channel
    0aac3fb641cc drm/nouveau: pass cli to nouveau_channel_new() instead of drm+device
    ca57186f2dec net: dsa: b53: fix jumbo frames on 10/100 ports
    dd5b3a830540 net: dsa: b53: allow lower MTUs on BCM5325/5365
    94c4cb9b9113 net: dsa: b53: fix max MTU for BCM5325/BCM5365
    bd1f41c3abd1 net: dsa: b53: fix max MTU for 1g switches
    f9a966afcd76 net: dsa: b53: fix jumbo frame mtu check
    1d068c925418 net: ethernet: adi: adin1110: Fix some error handling path in adin1110_read_fifo()
    826e9b748dec Revert "net: stmmac: set PP_FLAG_DMA_SYNC_DEV only if XDP is enabled"
    dd64ea033756 thermal: intel: int340x: processor: Fix warning during module unload
    335a4cbcaa6b thermal: int340x: processor_thermal: Set feature mask before proc_thermal_add
    80a146b9bb08 net: phy: bcm84881: Fix some error handling paths
    38b2d5a57d12 Bluetooth: RFCOMM: FIX possible deadlock in rfcomm_sk_state_change
    597ea17d84d3 selftests: net: no_forwarding: fix VID for $swp2 in one_bridge_two_pvids() test
    3453f5839420 netfilter: br_netfilter: fix panic with metadata_dst skb
    446be5505ea0 rxrpc: Fix uninitialised variable in rxrpc_send_data()
    2daffbd861de tcp: fix TFO SYN_RECV to not zero retrans_stamp with retransmits out
    718c49f840ef tcp: new TCP_INFO stats for RTO events
    04dce9a12050 tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's safe
    e676ca60ad2a tcp: fix to allow timestamp undo if no retransmits were sent
    9ca634676ff6 net: phy: dp83869: fix memory corruption when enabling fiber
    fca41e5fa491 NFSv4: Prevent NULL-pointer dereference in nfs42_complete_copies()
    dedc14e1301a SUNRPC: Fix integer overflow in decode_rc_list()
    fde7db1c0614 ice: fix VLAN replay after reset
    803f31073b08 ice: set correct dst VSI in only LAN filters
    4ab072325c62 NFSD: Mark filecache "down" if init fails
    1fab0233720f x86/amd_nb: Add new PCI IDs for AMD family 1Ah model 60h
    9736678bc21c x86/amd_nb: Add new PCI IDs for AMD family 0x1a
    688872c4ea4a fbdev: sisfb: Fix strbuf array overflow
    0809fb86ad13 smb: client: fix UAF in async decryption
    f7fb5dda5553 fbcon: Fix a NULL pointer dereference issue in fbcon_putcs
    65b2d49e55fe drm/amd/display: Check null pointer before dereferencing se
    0ef6e016eb53 scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance
    ab88c77894aa scsi: lpfc: Add ELS_RSP cmd to the list of WQEs to flush in lpfc_els_flush_cmd()
    5da9855385bc driver core: bus: Return -EIO instead of 0 when show/store invalid bus attribute
    d885c464c250 driver core: bus: Fix double free in driver API bus_register()
    a84ae28d710b staging: vme_user: added bound check to geoid
    5b53a7a6bdba tools/iio: Add memory allocation failure check for trigger_name
    b01793cc63dd virtio_pmem: Check device status before requesting flush
    784744b01b08 netfilter: nf_reject: Fix build warning when CONFIG_BRIDGE_NETFILTER=n
    5b04f41abaf8 netfilter: nf_nat: don't try nat source port reallocation for reverse dir clash
    1215e29918af LoongArch: Fix memleak in pci_acpi_scan_root()
    0b700d29ebad comedi: ni_routing: tools: Check when the file could not be opened
    0be52823e51c usb: dwc2: Adjust the timing of USB Driver Interrupt Registration in the Crashkernel Scenario
    01ac64e09261 usb: chipidea: udc: enable suspend interrupt after usb reset
    b72bf5cade51 usb: typec: tipd: Free IRQ only if it was requested before
    e418d91195d2 serial: protect uart_port_dtr_rts() in uart_shutdown() too
    339273a9ddfe clk: imx: Remove CLK_SET_PARENT_GATE for DRAM mux for i.MX7D
    7fb5f957213b remoteproc: imx_rproc: Use imx specific hook for find_loaded_rsc_table
    7af8d697b70f media: videobuf2-core: clear memory related fields in __vb2_plane_dmabuf_put()
    a39416d8597a riscv/kexec_file: Fix relocation type R_RISCV_ADD16 and R_RISCV_SUB16 unknown
    740a6059c367 soundwire: cadence: re-check Peripheral status with delayed_work
    99002ae8a1a8 RDMA/mlx5: Enforce umem boundaries for explicit ODP page faults
    a29a9c2c9dce riscv: avoid Imbalance in RAS
    50c4307e8261 mfd: intel_soc_pmic_chtwc: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    fa840ba4bd9f ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race condition
    f4ce3b5d26ce io_uring: check if we need to reschedule during overflow flush
    30884833361b RISC-V: Don't have MAX_PHYSMEM_BITS exceed phys_addr_t
    ea0256e393e0 i3c: master: cdns: Fix use after free vulnerability in cdns_i3c_master Driver Due to Race Condition
    8f53f6f96678 PCI: Mark Creative Labs EMU20k2 INTx masking as broken
    f8e2a0416a68 i2c: i801: Use a different adapter-name for IDF adapters
    2488685858ed PCI: Add ACS quirk for Qualcomm SA8775P
    f829cb4535ba clk: bcm: bcm53573: fix OF node leak in init
    ccb8e44ae3e2 RDMA/rtrs-srv: Avoid null pointer deref during path establishment
    bd9a77a93049 PCI: Add function 0 DMA alias quirk for Glenfly Arise chip
    1598bf01006d soundwire: intel_bus_common: enable interrupts before exiting reset
    a195a42dd25c RDMA/mad: Improve handling of timed out WRs of mad agent
    6ba8ecf9aa4e ktest.pl: Avoid false positives with grub2 skip regex
    5d5e3b4cbe8e bpf: Prevent tail call between progs attached to different hooks
    96b128028801 s390/cpum_sf: Remove WARN_ON_ONCE statements
    e789b7fdd7ba ext4: nested locking for xattr inode
    58c0648e4c77 ext4: don't set SB_RDONLY after filesystem errors
    cadbdd78e049 bpf, x64: Fix a jit convergence issue
    5575beab1b26 s390/mm: Add cond_resched() to cmm_alloc/free_pages()
    78cddbd77595 s390/facility: Disable compile time optimization for decompressor code
    c43622d6f917 bpf: Check percpu map value size first
    aaa880f8a9a5 selftests/bpf: Fix ARG_PTR_TO_LONG {half-,}uninitialized test
    1881193bf2cb Input: synaptics-rmi4 - fix UAF of IRQ domain on driver removal
    6e20720b1229 zram: don't free statically defined names
    6272936fd242 zram: free secondary algorithms names
    c556e72cea2a ntfs3: Change to non-blocking allocation in ntfs_d_hash
    fd94986382d1 virtio_console: fix misc probe bugs
    5e20797c824b fs/ntfs3: Refactor enum_rstbl to suppress static checker
    cdb1efee542c fs/ntfs3: Fix sparse warning in ni_fiemap
    16f93bdd61e4 fs/ntfs3: Do not call file_modified if collapse range failed
    939b4b2c008d drm/amd/display: Revert "Check HDCP returned status"
    b505e4fc411c drm/amd/display: Remove a redundant check in authenticated_dp
    1a7ca970112c lib/build_OID_registry: avoid non-destructive substitution for Perl < 5.13.2 compat
    dcfaf8b500db jbd2: fix kernel-doc for j_transaction_overhead_buffers
    5f77c8e84ae4 Bluetooth: Fix usage of __hci_cmd_sync_status
    66c43605be89 selftests: Introduce Makefile variable to list shared bash scripts
    f45c65b1b941 selftests: net: Remove executable bits from library scripts
    ab656dd9fc0d libsubcmd: Don't free the usage string
    03cec19f546d perf sched: Move curr_pid and cpu_last_switched initialization to perf_sched__{lat|map|replay}()
    4078f1d442d8 perf sched: Move curr_thread initialization to perf_sched__map()
    e649fb7f8361 perf sched: Fix memory leak in perf_sched__map()
    85ca3d45bd40 perf sched: Move start_work_mutex and work_done_wait_mutex initialization to perf_sched__replay()
    86052433693b bootconfig: Fix the kerneldoc of _xbc_exit()
    f0fc028b6f1f e1000e: move force SMBUS near the end of enable_ulp function
    1fe83044fdc9 i40e: Include types.h to some headers
    f717743ecfdf i40e: Fix ST code value for Clause 45
    a47a759e435b scsi: sd: Do not repeat the starting disk message
    9e6075e112ee scsi: Remove scsi device no_start_on_resume flag
    2e561175e9cf ASoC: tas2781: mark dvc_tlv with __maybe_unused
    9c122d020a62 ata: ahci: Add mask_port_map module parameter
    924c0af49c63 spi: spi-fsl-lpspi: remove redundant spi_controller_put call
    18f3fdb17496 riscv: cpufeature: Fix thead vector hwcap removal
    5915b8981ad6 tracing: Have saved_cmdlines arrays all in one allocation
    26c907b8d887 libceph: init the cursor when preparing sparse read in msgr2
    fb90d9729549 pds_core: no health-thread in VF path
    bd1521e0ea9a Revert "powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2"
    43987659fa9c bus: mhi: ep: Do not allocate memory for MHI objects from DMA zone
    39601f49c9e0 bus: mhi: ep: Add support for async DMA read operation
    b6af3a95417b bus: mhi: ep: Add support for async DMA write operation
    a77e5950f93f bus: mhi: ep: Introduce async read/write callbacks
    efdfa92a823a bus: mhi: ep: Rename read_from_host() and write_to_host() APIs
    be6c52b059a2 drm/crtc: fix uninitialized variable use even harder
    0d3d2236a0e0 ALSA: hda/realtek: cs35l41: Fix device ID / model name
    c800174e0865 ALSA: hda/realtek: cs35l41: Fix order and duplicates in quirks table
    e87cb9dd3fad tracing: Remove precision vsnprintf() check from print event
    9dd05dac697c drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP (again)
    452c0740d72c net: ethernet: cortina: Drop TSO support
    6e0d0554d857 riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro
    50e33567bc4a gfs2: Revert "ignore negated quota changes"
    8251e3b0ce92 gfs2: qd_check_sync cleanups
    e51c5aff8480 gfs2: Revert "introduce qd_bh_get_or_undo"
    9060935b4b8b phy: qualcomm: eusb2-repeater: Rework init to drop redundant zero-out loop
    fa3532b1540f phy: qualcomm: phy-qcom-eusb2-repeater: Add tuning overrides
    e905bc71e7ed ASoC: cs35l56: Load tunings for the correct speaker models
    9790a7acc352 Revert "PCI/MSI: Provide stubs for IMS functions"
    7745e14f4c03 net: fec: don't save PTP state if PTP is unsupported
    ac20736861f3 unicode: Don't special case ignorable code points
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: a9e80c6809a0b1d0f0146b6e55a2313124b8adc3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e8a5b1c53d9cae12b4f3c6d3259be55df5f1d2f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:44 -08:00
Bruce Ashfield
0db4e19952 linux-yocto/6.6: update to v6.6.56
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    d4576c567009 Linux 6.6.56
    1e0f696469d6 Revert "perf callchain: Fix stitch LBR memory leaks"
    9b15f68c4127 Linux 6.6.55
    e334ae4a0cd5 perf python: Allow checking for the existence of warning options in clang
    3faea7810e2b Revert "ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path"
    e0aba0c6d521 null_blk: Fix return value of nullb_device_power_store()
    e0b065ec636d drm/amd/display: enable_hpo_dp_link_output: Check link_res->hpo_dp_link_enc before using it
    776ebdeee65b perf report: Fix segfault when 'sym' sort key is not used
    eada63e6e337 drm/amd/display: Revert Avoid overflow assignment
    de4841fca84f crypto: octeontx* - Select CRYPTO_AUTHENC
    25613e6d9841 vhost/scsi: null-ptr-dereference in vhost_scsi_get_req()
    cdf4bbbdb956 rxrpc: Fix a race between socket set up and I/O thread creation
    b538fefeb102 net: stmmac: move the EST lock to struct stmmac_priv
    aaadb755f2d6 null_blk: fix null-ptr-dereference while configuring 'power' and 'submit_queues'
    b2b02202f87d null_blk: Remove usage of the deprecated ida_simple_xx() API
    2deb10a99671 platform/x86: think-lmi: Fix password opcode ordering for workstations
    e115c1b5de55 efi/unaccepted: touch soft lockup during memory accept
    50f4b57e9a9d drm/bridge: adv7511: fix crash on irq during probe
    fd4d5cd7a2e8 iommufd: Fix protection fault in iommufd_test_syz_conv_iova
    69a1e2d938db net: dsa: fix netdev_priv() dereference before check on non-DSA netdevice events
    164936b2fc88 netfilter: nf_tables: restore set elements when delete set fails
    a1bd2a38a1c6 netfilter: nf_tables: fix memleak in map from abort path
    b90778973293 ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
    1428da2f4a33 Revert "drm/amd/display: Skip Recompute DSC Params if no Stream on Link"
    d253f71605e4 drm/rockchip: vop: enable VOP_FEATURE_INTERNAL_RGB on RK3066
    907717eea14c btrfs: drop the backref cache during relocation if we commit
    4dc6ea8b4d9d btrfs: relocation: constify parameters where possible
    5ae94c639777 btrfs: relocation: return bool from btrfs_should_ignore_reloc_root
    ce31847f109c ACPI: battery: Fix possible crash when unregistering a battery hook
    2deeb3c748da ACPI: battery: Simplify battery hook locking
    712d30f9a505 clk: qcom: gcc-sc8180x: Add GPLL9 support
    1c723d785adb r8169: add tally counter fields added with RTL8125
    f02fcb7283b1 r8169: Fix spelling mistake: "tx_underun" -> "tx_underrun"
    736da4240815 iio: pressure: bmp280: Fix waiting time for BMP3xx configuration
    ae6724f9f13e iio: pressure: bmp280: Fix regmap for BMP280 device
    5da669d9ee26 iio: pressure: bmp280: Use BME prefix for BME280 specifics
    b71b2d704a93 iio: pressure: bmp280: Improve indentation and line wrapping
    afe335a6c5e2 iio: pressure: bmp280: Allow multiple chips id per family of devices
    c059a2661a1d dt-bindings: clock: qcom: Add GPLL9 support on gcc-sc8180x
    65e71cffb833 dt-bindings: clock: qcom: Add missing UFS QREF clocks
    fc1ed6f791e3 remoteproc: k3-r5: Delay notification of wakeup event
    e1df6bbf4771 remoteproc: k3-r5: Acquire mailbox handle during probe routine
    9eac174a9b89 media: imx335: Fix reset-gpio handling
    2b00bc1d7d40 media: i2c: imx335: Enable regulator supplies
    e6be95592c9f RDMA/mana_ib: use the correct page table index based on hardware page size
    6c95c700f2b6 net: mana: Add support for page sizes other than 4KB on ARM64
    86b6cf7e253b net: mana: Enable MANA driver on ARM64 with 4K page size
    1f997b1d13e0 sched: psi: fix bogus pressure spikes from aggregation race
    c83a80d8b84f lib/buildid: harden build ID parsing logic
    f941d779622b build-id: require program headers to be right after ELF header
    a94ec40b9405 drm/amd/display: Allow backlight to go below `AMDGPU_DM_DEFAULT_MIN_BACKLIGHT`
    54ad9c760854 mm: z3fold: deprecate CONFIG_Z3FOLD
    5b981d8335e1 uprobes: fix kernel info leak via "[uprobes]" vma
    24f7989ed2e1 io_uring/net: harden multishot termination case for recv
    3c38faa39e6c arm64: errata: Expand speculative SSBS workaround once more
    9a3e9aab606d arm64: cputype: Add Neoverse-N3 definitions
    c7e0da744932 i2c: synquacer: Deal with optional PCLK correctly
    6109f5319bfd i2c: synquacer: Remove a clk reference from struct synquacer_i2c
    316be4911f63 i2c: core: Lock address during client device instantiation
    4a2be5a72865 i2c: create debugfs entry per adapter
    aac871e493fc platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors
    2dbc42f554b3 platform/x86: x86-android-tablets: Create a platform_device from module_init()
    ce5ec367994d kconfig: qconf: fix buffer overflow in debug links
    eebc10e92477 cpufreq: intel_pstate: Make hwp_notify_lock a raw spinlock
    68d603f467a7 drm/amd/display: Fix system hang while resume with TBT monitor
    487f6450bcb9 drm/amd/display: Add HDR workaround for specific eDP
    579a0a84e3c0 drm/sched: Add locking to drm_sched_entity_modify_sched
    451c87d21db6 drm/i915/gem: fix bitwise and logical AND mixup
    a8023f8b5598 close_range(): fix the logics in descriptor table trimming
    310d95316791 rtla: Fix the help text in osnoise and timerlat top tools
    8b0f0a268ddb tracing/timerlat: Fix duplicated kthread creation due to CPU online/offline
    a6e9849063a6 tracing/timerlat: Fix a race during cpuhp processing
    a4a05ceffe8f tracing/timerlat: Drop interface_lock in stop_kthread()
    79250decc9ab tracing/hwlat: Fix a race during cpuhp processing
    b8c118c2a2ad ceph: fix cap ref leak via netfs init_request
    e676e4ea76bb mac802154: Fix potential RCU dereference issue in mac802154_scan_worker
    830c03e58beb Bluetooth: hci_event: Align BR/EDR JUST_WORKS paring with LE
    2f4e3926bc50 net: pcs: xpcs: fix the wrong register that was written back
    7c5cd531d093 gpio: davinci: fix lazy disable
    0f41f383b5a6 cpufreq: Avoid a bad reference count on CPU node
    ed87190e9d9c btrfs: wait for fixup workers before stopping cleaner kthread during umount
    521cfe23fbcb btrfs: send: fix invalid clone operation for file that got its size decreased
    7ad0c5868f2f btrfs: fix a NULL pointer dereference when failed to start a new trasacntion
    d7674ed0dcd4 ACPI: resource: Add Asus ExpertBook B2502CVA to irq1_level_low_skip_override[]
    27ec4a380bc1 ACPI: resource: Add Asus Vivobook X1704VAP to irq1_level_low_skip_override[]
    c7d10fa7d769 cachefiles: fix dentry leak in cachefiles_open_file()
    195e42c9a92f Input: adp5589-keys - fix adp5589_gpio_get_value()
    7c3f04223aaf Input: adp5589-keys - fix NULL pointer dereference
    cda7d597245f rtc: at91sam9: fix OF node leak in probe() error path
    03582f475242 net: stmmac: Fix zero-division error when disabling tc cbs
    cd9ce830facd tomoyo: fallback to realpath if symlink's pathname does not exist
    af3122f5fdc0 gso: fix udp gso fraglist segmentation after pull from frag_list
    718a752bd746 vrf: revert "vrf: Remove unnecessary RCU-bh critical section"
    73328d2af5aa iio: magnetometer: ak8975: Fix reading for ak099xx sensors
    3374f06f9544 smb3: fix incorrect mode displayed for read-only files
    472973229cb0 smb: client: use actual path when queryfs
    868e843e522d clk: qcom: clk-alpha-pll: Fix CAL_L_VAL override for LUCID EVO PLL
    5bdb3cc0cced clk: qcom: gcc-sc8180x: Fix the sdcc2 and sdcc4 clocks freq table
    ea3a6938cb9b media: qcom: camss: Fix ordering of pm_runtime_enable
    c2218a82f795 media: qcom: camss: Remove use_count guard in stop_streaming
    8c860f35867a clk: qcom: gcc-sm8250: Do not turn off PCIe GDSCs during gdsc_disable()
    b0686aedc5f1 media: venus: fix use after free bug in venus_remove due to race condition
    56770d1e01d6 clk: qcom: gcc-sm8150: De-register gcc_cpuss_ahb_clk_src
    7e21770654f5 clk: samsung: exynos7885: Update CLKS_NR_FSYS after bindings fix
    8cf5c85d5edf clk: qcom: clk-rpmh: Fix overflow in BCM vote
    1229485abfce media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags
    e6f63d04c03e clk: qcom: gcc-sm8450: Do not turn off PCIe GDSCs during gdsc_disable()
    6fa24b41d3b5 media: sun4i_csi: Implement link validate for sun4i_csi subdev
    fb2867420e4e clk: qcom: dispcc-sm8250: use CLK_SET_RATE_PARENT for branch clocks
    fc71c2395893 remoteproc: k3-r5: Fix error handling when power-up failed
    bd588d52562a clk: rockchip: fix error for unknown clocks
    eb4df5e36a6e media: ov5675: Fix power on/off delay timings
    acc5103a0a8c aoe: fix the potential use-after-free problem in more places
    1587db113004 riscv: Fix kernel stack size when KASAN is enabled
    83b39493cd00 RDMA/mana_ib: use the correct page size for mapping user-mode doorbell page
    4ac637122930 i3c: master: svc: Fix use after free vulnerability in svc_i3c_master Driver Due to Race Condition
    6b17072c7db5 NFSD: Fix NFSv4's PUTPUBFH operation
    f7d8ee9db943 nfsd: map the EBADMSG to nfserr_io to avoid warning
    33658acea064 nfsd: fix delegation_blocked() to block correctly for at least 30 seconds
    be8d32ebfa0b perf hist: Update hist symbol when updating maps
    bebb4c240500 perf python: Disable -Wno-cast-function-type-mismatch if present on clang
    bf0b3b352594 exfat: fix memory leak in exfat_load_bitmap()
    9a2585ad17cd riscv: define ILLEGAL_POINTER_VALUE for 64bit
    8f91116f3682 arm64: Subscribe Microsoft Azure Cobalt 100 to erratum 3194386
    5f5ec16bd14d arm64: fix selection of HAVE_DYNAMIC_FTRACE_WITH_ARGS
    d52c5652e7dc ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate
    86a89e75e9e4 ocfs2: fix null-ptr-deref when journal load failed.
    84543da867c9 ocfs2: remove unreasonable unlock in ocfs2_read_blocks
    ef768020366f ocfs2: cancel dqi_sync_work before freeing oinfo
    637c00e06564 ocfs2: reserve space for inline xattr before attaching reflink tree
    8d176ca5d915 ocfs2: fix uninit-value in ocfs2_get_block()
    e7a801014726 ocfs2: fix the la space leak when unmounting an ocfs2 volume
    e3a9fc1520a6 mm: krealloc: consider spare memory for __GFP_ZERO
    fd3496243409 jbd2: correctly compare tids with tid_geq function in jbd2_fc_begin_commit
    1c62dc0d82c6 jbd2: stop waiting for space when jbd2_cleanup_journal_tail() returns error
    393331e16ce2 resource: fix region_intersects() vs add_memory_driver_managed()
    b57b53e8ffcd drm: omapdrm: Add missing check for alloc_ordered_workqueue
    0022085f11c6 of/irq: Support #msi-cells=<0> in of_msi_get_domain
    d657d28641ec of: address: Report error on resource bounds overflow
    25b7a6703728 drm/rockchip: vop: clear DMA stop bit on RK3066
    a17dfde57704 parisc: Fix stack start for ADDR_NO_RANDOMIZE personality
    62f3e58c4e39 parisc: Allow mmap(MAP_STACK) memory to automatically expand upwards
    42451ba0d6e1 parisc: Fix 64-bit userspace syscall path
    89bbc55d6b16 ext4: mark fc as ineligible using an handle in ext4_xattr_set()
    c5771f1c484c ext4: use handle to mark fc as ineligible in __track_dentry_update()
    d13a3558e824 ext4: fix fast commit inode enqueueing during a full journal commit
    1552199ace59 ext4: fix incorrect tid assumption in jbd2_journal_shrink_checkpoint_list()
    80dccb81b7db ext4: fix incorrect tid assumption in ext4_wait_for_tail_page_commit()
    f55ecc58d07a ext4: update orig_path in ext4_find_extent()
    9203817ba46e ext4: fix timer use-after-free on failed mount
    68a69cf60660 ext4: fix double brelse() the buffer of the extents path
    8162ee5d94b8 ext4: aovid use-after-free in ext4_ext_insert_extent()
    1b558006d98b ext4: drop ppath from ext4_ext_replay_update_ex() to avoid double-free
    93051d16b312 ext4: fix incorrect tid assumption in __jbd2_log_wait_for_space()
    5efccdee4a7d ext4: dax: fix overflowing extents beyond inode size when partially writing
    8c762b4e1921 ext4: fix incorrect tid assumption in ext4_fc_mark_ineligible()
    f4308d8ee384 ext4: propagate errors from ext4_find_extent() in ext4_insert_range()
    8fe117790b37 ext4: fix slab-use-after-free in ext4_split_extent_at()
    a56e5f389d42 ext4: correct encrypted dentry name hash when not casefolded
    2d64e7dada22 ext4: no need to continue when the number of entries is 1
    9cdf65c6c311 ALSA: hda/realtek: Add a quirk for HP Pavilion 15z-ec200
    762650cd5e7f ALSA: hda/realtek: Add quirk for Huawei MateBook 13 KLV-WX9
    3624416ab149 ALSA: line6: add hw monitor volume control to POD HD500X
    228a8b952cf4 ALSA: usb-audio: Add native DSD support for Luxman D-08u
    9d125aab4c47 ALSA: usb-audio: Add delay quirk for VIVO USB-C HEADSET
    aba1be9a804f ALSA: core: add isascii() check to card ID generator
    633d3456849d ALSA: hda/tas2781: Add new quirk for Lenovo Y990 Laptop
    c923bc874659 drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS
    6e6f89549c66 drm/mediatek: ovl_adaptor: Add missing of_node_put()
    3eff30f2c315 parisc: Fix itlb miss handler for 64-bit programs
    9fca08c06a8d perf/core: Fix small negative period being ignored
    888f728d81f8 power: supply: hwmon: Fix missing temp1_max_alarm attribute
    7febcf11742f spi: bcm63xx: Fix missing pm_runtime_disable()
    f2d0b351e03f spi: bcm63xx: Fix module autoloading
    0a42f6360798 dt-bindings: clock: exynos7885: Fix duplicated binding
    ff580d01301e memory: tegra186-emc: drop unused to_tegra186_emc()
    028258156f65 firmware: tegra: bpmp: Drop unused mbox_client_to_bpmp()
    bf47be5479b3 ovl: fail if trusted xattrs are needed but caller lacks permission
    6fcd6feaf132 rust: sync: require `T: Sync` for `LockedBy::access`
    d6c159c066d2 i2c: designware: fix controller is holding SCL low while ENABLE bit is disabled
    b80dc74c386f i2c: xiic: Fix pm_runtime_set_suspended() with runtime pm enabled
    625a77b68c96 media: i2c: ar0521: Use cansleep version of gpiod_set_value()
    c0e00163f804 i2c: xiic: Wait for TX empty to avoid missed TX NAKs
    7e263fd6efba i2c: qcom-geni: Use IRQF_NO_AUTOEN flag in request_irq()
    22a1f8a5b56b i2c: stm32f7: Do not prepare/unprepare clock during runtime suspend/resume
    8176d4878ed2 platform/x86: ISST: Fix the KASAN report slab-out-of-bounds bug
    b8c0aee7c2a5 Revert "ALSA: hda: Conditionally use snooping for AMD HDMI"
    2c74d33dbfd9 selftests: vDSO: fix vdso_config for s390
    0fe35c473713 selftests: vDSO: fix ELF hash table entry size for s390x
    676727021dbd powerpc/vdso: Fix VDSO data access when running in a non-root time namespace
    dfb569762ce7 selftests/mm: fix charge_reserved_hugetlb.sh test
    b88842a9f1b8 selftests: vDSO: fix vDSO symbols lookup for powerpc64
    d3b90ed9a08d selftests: vDSO: fix vdso_config for powerpc
    6c8aff20229f selftests: vDSO: fix vDSO name for powerpc
    9629c0c3e876 perf: Really fix event_function_call() locking
    42cd165b4cf8 perf callchain: Fix stitch LBR memory leaks
    e2955fbe08b0 spi: rpc-if: Add missing MODULE_DEVICE_TABLE
    106f10fef0b9 accel/ivpu: Add missing MODULE_FIRMWARE metadata
    4019391dfe37 selftests: breakpoints: use remaining time to check if suspend succeed
    c2aa41032872 spi: s3c64xx: fix timeout counters in flush_fifo
    dbda70bbe421 selftest: hid: add missing run-hid-tools-tests.sh
    494380a4e4c0 spi: spi-cadence: Fix missing spi_controller_is_target() check
    97aa3293db69 spi: spi-cadence: Fix pm_runtime_set_suspended() with runtime pm enabled
    97f76711a90e spi: spi-cadence: Use helper function devm_clk_get_enabled()
    d6e3898d62a8 spi: spi-imx: Fix pm_runtime_set_suspended() with runtime pm enabled
    c2d9f9a7837a bpftool: Fix undefined behavior in qsort(NULL, 0, ...)
    390b9e54cdfd iomap: handle a post-direct I/O invalidate race in iomap_write_delalloc_release
    ad762c520471 bpftool: Fix undefined behavior caused by shifting into the sign bit
    d43776b90765 ext4: fix i_data_sem unlock order in ext4_ind_migrate()
    34b2096380ba ext4: avoid use-after-free in ext4_ext_show_leaf()
    1fe2852720cd ext4: ext4_search_dir should return a proper error
    b111ae42bbfd bpf: Make the pointer returned by iter next method valid
    18f06bacc197 ksmbd: add refcnt to ksmbd_conn struct
    f5e30a30fce7 platform/x86: lenovo-ymc: Ignore the 0x0 state
    4298813a43f7 drm/amdgpu/gfx10: use rlc safe mode for soft recovery
    c20cd3d6d261 drm/amdgpu/gfx11: use rlc safe mode for soft recovery
    e16a6d1a3357 powerpc/pseries: Use correct data types from pseries_hp_errorlog struct
    fe2c86e1927e of/irq: Refer to actual buffer size in of_irq_parse_one()
    b511474f4958 drm/amd/pm: ensure the fw_info is not null before using it
    3ffbdc977d80 drm/amdgpu/gfx9: use rlc safe mode for soft recovery
    8361e3f78828 drm/amdgpu: Block MMR_READ IOCTL in reset
    c474a1a75599 drm/radeon/r100: Handle unknown family in r100_cp_init_microcode()
    ee5d547006d3 scsi: NCR5380: Initialize buffer for MSG IN and STATUS transfers
    66a403d89b73 perf: Fix event_function_call() locking
    deb78dc859dd drm/amdgpu: fix unchecked return value warning for amdgpu_gfx
    5e0e1a941e57 scsi: lpfc: Update PRLO handling in direct attached topology
    55119faf5abc scsi: aacraid: Rearrange order of struct aac_srb_unit
    adf290fe434c perf,x86: avoid missing caller address in stack traces captured in uprobe
    4ee08b4a7201 drm/printer: Allow NULL data in devcoredump printer
    c7630935d9a4 drm/amd/display: Initialize get_bytes_per_element's default to 1
    a1495acc6234 drm/amd/display: Avoid overflow assignment in link_dp_cts
    929506d56714 drm/amd/display: Fix index out of bounds in DCN30 color transformation
    122e3a7a8c7b drm/amd/display: Fix index out of bounds in degamma hardware format translation
    0d38a0751143 drm/amd/display: Fix index out of bounds in DCN30 degamma hardware format translation
    be2ca7a2c156 drm/amd/display: Check link_res->hpo_dp_link_enc before using it
    42d31a336438 drm/amd/display: Check stream before comparing them
    fb557a36b0b9 drm/stm: ltdc: reset plane transparency after plane disable
    64f38c08b592 platform/x86: touchscreen_dmi: add nanote-next quirk
    651ba62c255f HID: multitouch: Add support for Thinkpad X12 Gen 2 Kbd Portfolio
    71cfb54e0f0c drm/amdkfd: Fix resource leak in criu restore queue
    fe90214179d5 drm/amdgpu: enable gfxoff quirk on HP 705G4
    a3c8cbefce38 drm/amdgpu: add raven1 gfxoff quirk
    c076b3746224 jfs: Fix uninit-value access of new_ea in ea_buffer
    9288a9676c52 drm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs
    4155dff76a8c scsi: smartpqi: correct stream detection
    7fff9a9f866e jfs: check if leafidx greater than num leaves per dmap tree
    4218b31ecc7a jfs: Fix uaf in dbFreeBits
    f04925a02ea2 jfs: UBSAN: shift-out-of-bounds in dbFindBits
    cf6f3ebd6312 drm/amd/display: fix double free issue during amdgpu module unload
    75839e2365b6 drm/amd/display: Add null check for 'afb' in amdgpu_dm_plane_handle_cursor_update (v2)
    9641bc4adf84 drm/amd/display: Check null pointers before using dc->clk_mgr
    4778982c73d6 drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'
    6ec7c739346c HID: Ignore battery for all ELAN I2C-HID devices
    29d2d5eda393 ata: sata_sil: Rename sil_blacklist to sil_quirks
    8fcf85196adc ata: pata_serverworks: Do not use the term blacklist
    e47e563c6f0d drm/amd/display: Add null check for top_pipe_to_program in commit_planes_for_stream
    30ceb873cc2e drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer
    44e4aeaef96b drm/amdgpu: disallow multiple BO_HANDLES chunks in one submit
    0a1741d10da2 drm/stm: Avoid use-after-free issues with crtc and plane
    dfdbc5ba10fb iommu/vt-d: Fix potential lockup if qi_submit_sync called with 0 count
    54e86bfec010 iommu/vt-d: Always reserve a domain ID for identity setup
    1c36eb173249 power: reset: brcmstb: Do not go into infinite loop if reset fails
    2d56271fce96 rcuscale: Provide clear error when async specified without primitives
    fdda354f60a5 fbdev: pxafb: Fix possible use after free in pxafb_task()
    36bfefb6baaa fbdev: efifb: Register sysfs groups through driver core
    4b101d2f40df hwmon: (nct6775) add G15CF to ASUS WMI monitoring list
    2de5fd836bd6 x86/syscall: Avoid memcpy() for ia32 syscall_get_arguments()
    e9df4c61079e selftests/nolibc: avoid passing NULL to printf("%s")
    fc975b8daba2 tools/nolibc: powerpc: limit stack-protector workaround to GCC
    6cc4e5eaadae ALSA: hdsp: Break infinite MIDI input flush loop
    7a5574099670 ALSA: asihpi: Fix potential OOB array access
    ddd52c9fe992 x86/kexec: Add EFI config table identity mapping for kexec kernel
    407abc7e0c7f x86/pkeys: Restore altstack access in sigreturn()
    19059128205f x86/pkeys: Add PKRU as a parameter in signal handling functions
    ef6c1ed5887f tools/x86/kcpuid: Protect against faulty "max subleaf" values
    71faa656b8e7 ASoC: codecs: wsa883x: Handle reading version failure
    70d5e30b0a3c ALSA: usb-audio: Add logitech Audio profile quirk
    fb2ed616af7e ALSA: usb-audio: Replace complex quirk lines with macros
    0bf9779cd954 ALSA: usb-audio: Define macros for quirk table entries
    077e1b7cd521 x86/ioapic: Handle allocation failures gracefully
    864f68a24293 ALSA: usb-audio: Add input value sanity checks for standard types
    f888741fcfab nfp: Use IRQF_NO_AUTOEN flag in request_irq()
    fef7b51f22cf wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_cmd_802_11_scan_ext()
    0a630d690b7f wifi: mt76: mt7915: hold dev->mt76.mutex while disabling tx worker
    833ebae26663 wifi: mt76: mt7915: add dummy HW offload of IEEE 802.11 fragmentation
    b4f8240bc389 can: netlink: avoid call to do_set_data_bittiming callback with stale can_priv::ctrlmode
    b017f4f6709a drivers/perf: arm_spe: Use perf_allow_kernel() for permissions
    8552508033b2 proc: add config & param to block forcing mem writes
    8b2906e1349a ACPICA: iasl: handle empty connection_node
    f37319609335 wifi: mac80211: fix RCU list iterations
    6dcadb2ed3b7 wifi: iwlwifi: mvm: avoid NULL pointer dereference
    324116255492 wifi: iwlwifi: mvm: use correct key iteration
    5cce1c07bf89 tcp: avoid reusing FIN_WAIT2 when trying to find port in connect() process
    27fe713c62a1 netpoll: Ensure clean state on setup failures
    b60d2bc676e4 crypto: simd - Do not call crypto_alloc_tfm during registration
    0f6dab0b79f1 net: atlantic: Avoid warning about potential string truncation
    f989162f55ed ipv4: Mask upper DSCP bits and ECN bits in NETLINK_FIB_LOOKUP family
    239ac7faeaea wifi: rtw89: correct base HT rate mask for firmware
    d4c4653b60de ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR).
    0d6255e512b3 bnxt_en: Extend maximum length of version string by 1 byte
    74834f4a6c19 net: mvpp2: Increase size of queue_name buffer
    12d26aa7fd3c tipc: guard against string buffer overrun
    4588ea78d390 ACPICA: check null return of ACPI_ALLOCATE_ZEROED() in acpi_db_convert_to_package()
    93d065b704bd ACPI: EC: Do not release locks during operation region accesses
    90ec583a85c4 wifi: rtw88: select WANT_DEV_COREDUMP
    7a552bc2f3ef wifi: ath11k: fix array out-of-bound access in SoC stats
    d0e4274d9dc9 wifi: ath12k: fix array out-of-bound access in SoC stats
    1ab2cfe19700 blk_iocost: fix more out of bound shifts
    29dbea4c56df ACPI: CPPC: Add support for setting EPP register in FFH
    716dae9686fe ACPI: video: Add force_vendor quirk for Panasonic Toughbook CF-18
    cc026a7f9be6 Bluetooth: btrtl: Set msft ext address filter quirk for RTL8852B
    18ed567ad0aa Bluetooth: btusb: Add Realtek RTL8852C support ID 0x0489:0xe122
    37a6fc0d8fca net: sched: consistently use rcu_replace_pointer() in taprio_change()
    3f5625e9e92b wifi: mt76: mt7915: disable tx worker during tx BA session enable/disable
    1c6db07811fb e1000e: avoid failing the system during pm_suspend
    13ca2b3568fb ACPICA: Fix memory leak if acpi_ps_get_next_field() fails
    0b02303431a3 ACPICA: Fix memory leak if acpi_ps_get_next_namepath() fails
    68a8e45743d6 ACPI: PAD: fix crash in exit_round_robin()
    0a94777ba4ca net: hisilicon: hns_mdio: fix OF node leak in probe()
    359a218ce1a9 net: hisilicon: hns_dsaf_mac: fix OF node leak in hns_mac_get_info()
    f62bf4ffeba5 net: hisilicon: hip04: fix OF node leak in probe()
    143edf098b80 net/xen-netback: prevent UAF in xenvif_flush_hash()
    04053e55dd50 wifi: cfg80211: Set correct chandef when starting CAC
    d76360adabd6 wifi: iwlwifi: mvm: drop wrong STA selection in TX
    191e8d525620 wifi: iwlwifi: mvm: Fix a race in scan abort flow
    82465e05ca6f ice: Adjust over allocation of memory in ice_sched_add_root_node() and ice_sched_add_node()
    21ba7132a911 crypto: octeontx2 - Fix authenc setkey
    0ac97b001cce crypto: octeontx - Fix authenc setkey
    6300199be334 crypto: x86/sha256 - Add parentheses around macros' single arguments
    e37e34883503 wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit
    fdc73f2cfbe8 wifi: rtw89: avoid to add interface to list twice when SER
    e6e4cfb5f6d6 wifi: ath9k: fix possible integer overflow in ath9k_get_et_stats()
    40346cbb19ad ALSA: hda/conexant: Fix conflicting quirk for System76 Pangolin
    b0f3c6a2d0bd ALSA: gus: Fix some error handling paths related to get_bpos() usage
    2c3c1f87cf7e cifs: Do not convert delimiter when parsing NFS-style symlinks
    c6db81c550ce cifs: Fix buffer overflow when parsing NFS reparse points
    92e71ccd8fd4 ASoC: imx-card: Set card.owner to avoid a warning calltrace if SND=m
    f8f081578b5b ALSA: hda/generic: Unconditionally prefer preferred_dacs pairs
    e4c886dd24a3 cifs: Remove intermediate object of failed create reparse call
    fa72abf31bd0 ALSA: hda/realtek: Fix the push button function for the ALC257
    466129e3d0ad ALSA: mixer_oss: Remove some incorrect kfree_const() usages
    0152c81f61fa ASoC: atmel: mchp-pdmc: Skip ALSA restoration if substream runtime is uninitialized
    28234f8ab69c Bluetooth: L2CAP: Fix not validating setsockopt user input
    6a6baa1ee7a9 Bluetooth: ISO: Fix not validating setsockopt user input
    dea46e246ef0 media: usbtv: Remove useless locks in usbtv_video_free()
    0c18a64039aa Bluetooth: hci_sock: Fix not validating setsockopt user input
    b66ff9a3fc90 loop: don't set QUEUE_FLAG_NOMERGES
    3000f3a86dd0 i2c: xiic: Try re-initialization on bus busy timeout
    7c48b5a6c32c i2c: xiic: improve error message when transfer fails to start
    7f64cb5b4d8c sctp: set sk_state back to CLOSED if autobind fails in sctp_listen_start
    25a54df40841 dt-bindings: net: xlnx,axi-ethernet: Add missing reg minItems
    1372c7579ec5 iomap: constrain the file range passed to iomap_file_unshare
    f9620e2a665a ppp: do not assume bh is held in ppp_channel_bridge_input()
    d9dfd41e32cc net: test for not too small csum_start in virtio_net_hdr_to_skb()
    ea8cad4ca5e0 ipv4: ip_gre: Fix drops of small packets in ipgre_xmit
    a9ad307c0dde net: stmmac: dwmac4: extend timeout for VLAN Tag register busy bit check
    9b0ee571d20a net: add more sanity checks to qdisc_pkt_len_init()
    25ab0b87dbd8 net: avoid potential underflow in qdisc_pkt_len_init() with UFO
    da143240028c net: fec: Reload PTP registers after link-state change
    dc5fb264168c net: fec: Restart PPS after link state change
    e66e38d07b31 net: ethernet: lantiq_etop: fix memory disclosure
    718b66340364 net: Fix gso_features_check to check for both dev->gso_{ipv4_,}max_size
    dae9b99bd21f net: Add netif_get_gro_max_size helper for GRO
    f0a84ad84d98 Bluetooth: btmrvl: Use IRQF_NO_AUTOEN flag in request_irq()
    b90907696c30 Bluetooth: L2CAP: Fix uaf in l2cap_connect
    4883296505aa Bluetooth: MGMT: Fix possible crash on mgmt_index_removed
    4e3542f40f3a netfilter: nf_tables: prevent nf_skb_duplicated corruption
    fe9ccbf1b749 selftests: netfilter: Fix nft_audit.sh for newer nft binaries
    271b4904727b net: wwan: qcom_bam_dmux: Fix missing pm_runtime_disable()
    96858258de2f net: ieee802154: mcr20a: Use IRQF_NO_AUTOEN flag in request_irq()
    8691a82abf0c netfilter: uapi: NFTA_FLOWTABLE_HOOK is NLA_NESTED
    fab615ac9fcb net/mlx5e: Fix crash caused by calling __xfrm_state_delete() twice
    0168ab6fbd9e net/mlx5e: Fix NULL deref in mlx5e_tir_builder_alloc()
    1c252d64652e net/mlx5: Added cond_resched() to crdump collection
    26fad69b34fc net/mlx5: Fix error path in multi-packet WQE transmit
    70db858273c7 net: sparx5: Fix invalid timestamps
    d6c4c0867086 ieee802154: Fix build error
    11ab19d48ab8 ceph: remove the incorrect Fw reference check when dirtying pages
    10a58555e0bb mailbox: bcm2835: Fix timeout during suspend mode
    b372b484d232 mailbox: rockchip: fix a typo in module autoloading
    7879ad0aa996 drm/amdgpu: Fix get each xcp macro
    f42595fb8fdb scsi: pm8001: Do not overwrite PCI queue mapping
    6b63cda2d4f4 scsi: st: Fix input/output error on empty drive reset
    86fdd1806461 jump_label: Fix static_key_slow_dec() yet again
    33f3e832275e jump_label: Simplify and clarify static_key_fast_inc_cpus_locked()
    e67534bd31d7 static_call: Replace pointless WARN_ON() in static_call_module_notify()
    c0abbbe8c98c static_call: Handle module init failure correctly in static_call_del_module()
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 0bd693d60a5e82f2aca99aa6ba21da217884a4e2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7829fdb1f05cf04d55d25db2d3ff705626008105)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:44 -08:00
Mark Hatle
85ceda54ce cve-update-nvd2-native: Handle BB_NO_NETWORK and missing db
The custom do_fetch routine is ignoring BB_NO_NETWORK, add a check for this
as the correct behavior for the user is to set:
  CVE_DB_UPDATE_INTERVAL = "-1"

If CVE_DB_UPDATE_INTERNAL is set to -1, check that a DB file exists, if not
we need to error so the user can deal with this.

Note, MIRRORs are NOT handled by this code.

(From OE-Core rev: 062c125f41c3fc3fec0938b24f847ed566357c84)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 337c0806d2784d74bee8d6420fb8b4d48795d5fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 2bc4623a910dfa3a22cd054ea1e0f2dd59d74eea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-18 06:26:44 -08:00
Antonin Godard
7117d115ea ref-manual: move runtime-testing section to the test-manual
In the same fashion as the previous commit ("ref-manual/packages: move
ptest section to the test-manual"), move the runtime testing section of
the development tasks manual to the test environment manual.

Add a link to it from the test-manual/intro document.

(From yocto-docs rev: 79aa34db34def525a11c41d951365bcb891318c4)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 6b44257874858db3aa426d3e84a79c41cb4937a3)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Antonin Godard
3f782b6e45 ref-manual/packages: move ptest section to the test-manual
[ YOCTO #15106 ]

It makes more sense to document ptests in the test-manual. Since ptests
are still related to packages, keep a link to ptests from packages.rst
to the test-manual.

Reported-by: Yoann Congal <yoann.congal@smile.fr>
(From yocto-docs rev: 110e15c4407dfc03c7d931e4488eb43dbfad7570)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit b389c06b709e4791e1cce5e8a5b58f6b0cd03a14)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Antonin Godard
da6fec8a1d SSTATE_MIRRORS/SOURCE_MIRROR_URL: add instructions for mirror authentication
[ YOCTO #15218 ]

There are different ways of configuring the build host when
authentication to a mirror (SSTATE_MIRRORS or SOURCE_MIRROR_URL) is
required.

Document these methods, and begin with the preferred approach which is
to edit ~/.netrc appropriately. When that is not possible, specifying
the credentials from the URL is also possible, so document it as well.

Reported-by: peter.zsifkovits@at.bosch.com
Tested-by: Antonin Godard <antonin.godard@bootlin.com> # Debian 12 container
(From yocto-docs rev: 728d6fc872c4646004919f3487a5ee0bae2d16e9)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 4c303cce0627e0f2ce52e72597541e220585aaed)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Antonin Godard
eda687eb0d ref-manual/devtool-reference: add warning note on deploy-target and shared objects
The command `devtool deploy-target` does not handle any dependency of
the application, even when properly listed in DEPENDS or RDEPENDS. While
the current documentation was clear on that, it felt needed to add a
note on the fact that build-time dependencies may also result in
runtime dependencies, especially for people new to the project.

Add a warning block below the existing deploy-target documentation.
Also, link to the Overview and Concepts page, which explains it
thoroughly.

[ YOCTO #14377 ]

Reported-By: Robert Berger <pokylinux@reliableembeddedsystems.com>
(From yocto-docs rev: 2b9ad30e440951d8c9e2182cea3841e6e326943f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 56c84004daad5f8a5db53e36852331435d57c8af)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Antonin Godard
1c0c8e4b90 contributor-guide/submit-changes.rst: suggest to remove the git signature
By default when sending patches Git adds the git version at the bottom
of the patch, which is not necessary in most cases. Suggest to remove it
when configuring Git when sending patches.

Suggested-By: Jaekyu Lee <jaekyu.lee@lge.com>
(From yocto-docs rev: 05455e916b3c94a73b358ac4f4189cc66bec35f2)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit d3465691231f10466703198a831a681803ffdfad)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Antonin Godard
466e5def1b ref-manual/qa-checks: remove patch-status-core/patch-status-noncore
These QA checks were merged as "patch-status" after commit
61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3 ("insane: Improve patch-status
layer filtering") in OE-Core.

[ YOCTO #15345 ]

Reported-By: Diego Sueiro <diego.sueiro@arm.com>
(From yocto-docs rev: 4f18055f796d43e7e6901da0ee9537a165bdf2a5)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 3f3a9f53fea6c7d533b9e999dc959dcc3bed7745)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Trevor Gamblin
08b9ccdba3 reproducible-builds.rst: show how to build a single package
Add a bit to the "Can we prove the project is reproducible?" section to
show how OEQA_REPRODUCIBLE_TEST_TARGET can be used to test a single
package (rather than the world build), as this may be useful for
maintainers.

[YOCTO #15619]

(From yocto-docs rev: 6430ed0572ca5a6e10629aa27a05d4b262e87548)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit c4bc09f61621938086be377653121d6b4e62b570)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Changqing Li
11ebb86111 sanity.bbclass: skip check_userns for non-local uid
Bitbake preserve network for non-local uid, refer [1],
so check_userns is not needed for non-local uid

[1] https://git.openembedded.org/bitbake/commit/?id=4eafae7904bae6e5c6bc50356e8a9077f2e207fa

(From OE-Core rev: c3e0666dd2624c20c5f32657846d6f044046205b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 808d0cece22bcbee15236717e158da247cbedaf1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Mikko Rapeli
e146288bcb ovmf-native: remove .pyc files from install
They break builds which share sstate files on different
machines and paths:

ERROR: ovmf-edk2-stable202408-r0 do_prepare_recipe_sysroot: 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:extend_recipe_sysroot(d)
     0003:
File: '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/classes-global/staging.bbclass', lineno: 624, function: extend_recipe_sysroot
     0620:
     0621:    # Handle deferred binfiles
     0622:    for l in binfiles:
     0623:        (targetdir, dest) = binfiles[l]
 *** 0624:        staging_copyfile(l, targetdir, dest, postinsts, seendirs)
     0625:
     0626:    bb.note("Installed into sysroot: %s" % str(msg_adding))
     0627:    bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))
     0628:
File: '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/classes-global/staging.bbclass', lineno: 165, function: staging_copyfile
     0161:        os.symlink(linkto, dest)
     0162:        #bb.warn(c)
     0163:    else:
     0164:        try:
 *** 0165:            os.link(c, dest)
     0166:        except OSError as err:
     0167:            if err.errno == errno.EXDEV:
     0168:                bb.utils.copyfile(c, dest)
     0169:            else:
Exception: FileExistsError: [Errno 17] File exists: '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-667282/tmp/sysroots-components/x86_64/ovmf-native/usr/bin/edk2_basetools/BaseTools/Source/Python/AutoGen/__pycache__/WorkspaceAutoGen.cpython-312.pyc' -> '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-667282/tmp/work/core2-64-poky-linux/ovmf/edk2-stable202408/recipe-sysroot-native/usr/bin/edk2_basetools/BaseTools/Source/Python/AutoGen/__pycache__/WorkspaceAutoGen.cpython-312.pyc'

(From OE-Core rev: d89f2533f1b394f443117d6c935ee04a3c6741e7)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit facd9e17fa53e2fb3a828b3f179cfb659be75d37)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Xiangyu Chen
ffa9b87ec8 lttng-modules: fix sched_stat_runtime changed in Linux 6.6.66
The following commit has been backported into the 6.6.y branch.

See upstream commit:

    commit 5fe6ec8f6ab549b6422e41551abb51802bd48bc7
    Author: Peter Zijlstra <peterz@infradead.org>
    Date:   Mon Nov 6 13:41:43 2023 +0100

        sched: Remove vruntime from trace_sched_stat_runtime()

That caused building the lttng-modules report compile error:

       tracepoint-event-impl.h:133:6: error: conflicting types for
       'trace_sched_stat_runtime';

The fix is still pending on lttng review board, backport it to oe-core to
de-block the build issue.

(From OE-Core rev: 598b2f27d74e08eb6089eadad68f80b2f1ef71de)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Mark Hatle
339c54b220 populate_sdk_ext: write_local_conf add shutil import
Add shutil import to resolve error:

Exception: NameError: name 'shutil' is not defined, Did you forget to import 'shutil'

(From OE-Core rev: 759fb4bb4f5d5cf7f124f64b9314a34e41f58d23)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b64263a43b4d82f1ebba13815bccb8a8cd3127f9)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Soumya Sambu
55c2943e43 python3-requests: upgrade 2.32.0 -> 2.32.3
Changelog:
https://requests.readthedocs.io/en/latest/community/updates/#release-history

2.32.3 (2024-05-29)
  * Bugfixes - Fixed bug breaking the ability to specify custom SSLContexts
    in sub-classes of HTTPAdapter. (#6716)
  * Fixed issue where Requests started failing to run on Python versions
    compiled without the ssl module. (#6724)

2.32.2 (2024-05-21)
  * Deprecations - To provide a more stable migration for custom HTTPAdapters
    impacted by the CVE changes in 2.32.0, we’ve renamed _get_connection to a
        new public API, get_connection_with_tls_context. Existing custom
        HTTPAdapters will need to migrate their code to use this new API.
        get_connection is considered deprecated in all versions of
        Requests>=2.32.0.
  * A minimal (2-line) example has been provided in the linked PR to ease
    migration, but we strongly urge users to evaluate if their custom adapter
        is subject to the same issue described in CVE-2024-35195. (#6710)

2.32.1 (2024-05-20)
  * Bugfixes - Add missing test certs to the sdist distributed on PyPI.

https://github.com/psf/requests/compare/v2.32.0...v2.32.3

Also transition to using python_setuptools_build_meta.

(From OE-Core rev: e1787271b07c605df2843d82d65e1c3d2e2114e6)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Divya Chellam
21fdfa9f06 libxml2: Upgrade 2.12.8 -> 2.12.9
Changes between 2.12.8 -> 2.12.9
================================
https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.9

Security
* [CVE-2024-40896] Fix XXE protection in downstream code

Improvements
* Undeprecate xmlKeepBlanksDefault.

(From OE-Core rev: 774b10921b1e46d99338bb8c047d7f094d5ce7bd)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Guðni Már Gilbert
321943e627 python3: upgrade 3.12.7 -> 3.12.8
Changelog:
https://docs.python.org/release/3.12.8/whatsnew/changelog.html#python-3-12-8

(From OE-Core rev: db5081254adacf6c87269fd43af7199267ad535c)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Guðni Már Gilbert
a7abc52998 python3: upgrade 3.12.6 -> 3.12.7
Changelog:
https://docs.python.org/release/3.12.7/whatsnew/changelog.html#python-3-12-7

(From OE-Core rev: 197048667f69ed559baf54831eb7b1606320f3e8)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
aszh07
e5c348378f libarchive: Fix CVE-2024-20696
Add Patch file to fix CVE-2024-20696

CVE: CVE-2024-20696

(From OE-Core rev: a3b0a4a53e99e4faa42a6e7be5713b12acc63dba)

Signed-off-by: Nitin Wankhade <nitin.wankhade@kpit.com>
Signed-off-by: Nikhil R <nikhilr5@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Peter Marko
fc9273a57e gstreamer1.0: ignore CVEs fixed in plugins recipes
These were fixed in previous commits.

(From OE-Core rev: 5c582778954a05f102e292a0516b73b010d289a0)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Peter Marko
6a76806ceb gstreamer1.0-plugins-base: patch CVE-2024-47835
Pick commit from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8039

(From OE-Core rev: e9113fafef9cb2f060c9728d1e1bebdd76baad47)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Peter Marko
cd24f9434e gstreamer1.0-plugins-good: patch several CVEs
Pick commits from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8042

(From OE-Core rev: 4763e9911e82c886a02727bf654872280138d83e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Peter Marko
1eed4bd135 gstreamer1.0-plugins-good: patch CVE-2024-47774
Pick commit from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8043

(From OE-Core rev: cc560b159f6629bc018ce6d832551a81d4c3f8c8)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Peter Marko
731ed65861 gstreamer1.0-plugins-good: patch CVE-2024-47606
Pick commit related to gstreamer from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8032

(From OE-Core rev: d68a84dd3419811ec7f487907d7412c6105979d0)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Peter Marko
77aed6aa09 gstreamer1.0-plugins-good: patch CVE-2024-47606
Pick commit related to plugins-good from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8032

(From OE-Core rev: 30f2b1c6b10e064ce0f0f1910d2740e6ccc86251)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Peter Marko
6a37fba5a7 gstreamer1.0-plugins-base: patch CVE-2024-47600
Pick commit from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8034

(From OE-Core rev: 13e66d4e616e66d278cd96bb04da4cc7e599626b)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Peter Marko
76825dc65a gstreamer1.0-plugins-good: patch CVE-2024-47599
Pick commits from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8040

(From OE-Core rev: ba5545302daee0fb5ac2f3ca45cf8524cee278dc)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:36 -08:00
Peter Marko
7e005c1f66 gstreamer1.0-plugins-base: patch CVE-2024-47542
Pick commits from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8033

(From OE-Core rev: 8a0c3c92ec3bf150c0697d25c70ad149b2d82f0e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:35 -08:00
Peter Marko
2187501065 gstreamer1.0-plugins-base: patch CVE-2024-47541
Pick commits from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8036

(From OE-Core rev: c81dae9e755d28eb514bfa32426ef2d8fff78e56)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:35 -08:00
Peter Marko
2bf4325722 gstreamer1.0-plugins-good: patch several CVEs
Pick commits from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8057

(From OE-Core rev: 4edd9caa9703e067167c4a185c7338c4e89f795b)

Signed-off-by: Peter Marko <peter.marko@siemens.com>

fixup! gstreamer1.0-plugins-good: patch CVE-2024-47540 and CVE-2024-47601

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:35 -08:00
Peter Marko
144b7586d1 gstreamer1.0-plugins-good: patch CVE-2024-47613
Pick commit from:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8041

(From OE-Core rev: 6236088fc43f7d2e8a01bb6e3937969ced8a7f6d)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:35 -08:00
Peter Marko
0ebfc58642 gstreamer1.0-plugins-base: patch CVE-2024-47615
Pick commits from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8038

(From OE-Core rev: fbf7092a67703ff3101cce55bf33bcfc24339503)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:35 -08:00
Peter Marko
130884e63e gstreamer1.0-plugins-base: patch CVE-2024-47607
Pick commit from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8037

(From OE-Core rev: 0cdac58a6a7ec25404b8a67508604844d282345a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:35 -08:00
Peter Marko
0d591c95a3 gstreamer1.0-plugins-base: patch CVE-2024-47538
Pick commit from:
* https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8035

(From OE-Core rev: e7dbf6d73a11e6e9ec16035711179f451044eb09)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:35 -08:00
Peter Marko
6895713392 gstreamer1.0-plugins-good: fix several CVEs
Cherry-pick commits from branch 1.22 per [1].
Also cherry-pick [2] so these apply cleanly.

[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8059
[2] 62de06c7a4

(From OE-Core rev: 33c2611c3998f25bf606b5a940c09b70ce04674c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:25:35 -08:00
Antonin Godard
60b5842348 poky.conf: add new tested distros
These are currently tested on the autobuilder for Scarthgap.

(From meta-yocto rev: bd166d1fb8dc1bed7e71bd06b970a3da9149203e)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-26 05:50:14 -08:00
Michael Opdenacker
47b43a94da dev-manual/bmaptool.rst: simplify and fix instructions
- Remove duplicate instructions

- Detail how to run bmaptool directly if you installed it on your host
  instead of building it through the ``bmaptool-native`` recipe,
  as running "oe-run-native bmaptool-native bmaptool ..." won't work
  in this case.

- Use "chmod a+w" instead of "chmod 666", better advice,
  and only run "chmod" in the option that runs "oe-run-native"

(From yocto-docs rev: a1e4f18af6b0b10cece83c53ebb14052a0b94314)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 4afa71ef6e5bf1db126c80e6d987f588d0b5a086)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Michael Opdenacker
e19629f1fc dev-manual/bmaptool.rst: correct command for bmaptool-native
Using only "bitbake bmaptool-native", running "oe-run-native bmaptool-native bmaptool ..."
fails as follows:

Error: Have you run 'bitbake bmaptool-native -caddto_recipe_sysroot'?

Running the "bitbake bmaptool-native -caddto_recipe_sysroot" target
is actually sufficient.

(From yocto-docs rev: c43eea3875e265c8a62b9f7323365b8d740a39f8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 72fe904a3bbb5e2c7279ab1f119c2beca200dcf2)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Michael Opdenacker
37f15b8e70 dev-manual: fix styling of references to bmaptool
To follow the styling conventions when we are
refering to the name of a tool instead of the command itself
(documentation/standards.md).

This also improves the HTML rendering of the bmaptools subsection.

(From yocto-docs rev: 55146fae45e8c2de1d0f7242f1c89f3e165d77c9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit c569d840c4b6f43e10629b6f1ff45189211e27a9)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Antonin Godard
a789e8622a Update the documentation for SRCPV
The variable SRCPV is deprecated since 4.3. Instead of including SRCPV
in PV, including the sign "+" is enough for bitbake to add the source
control information to PKGV during the packaging phase.

Update the documentation for SRCPV and the places where it was used.
When instructions previously referred to SRCPV, replace by mentioning to
include "+" in the assignment.

In most examples, "+git" is added to PV as it is the most popular SCM.
Simply adding "+" is also possible, although it is better practice to
include the SCM name, so give that example.

Update the gcompat example with l3afpad as it didn't include "+git" in
its PV definition anymore.

(From yocto-docs rev: ef4d259842d9b1dd2d08ee38e00f932852f70543)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit ee16c96202e5027d1a8d7e89e11c25f127c78326)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Alexander Kanavin
52a2a1101a rust: add reproducibility patch to eliminate host leakage
[YOCTO #15185]

(From OE-Core rev: 01423828248b75e1f5afe2e5959ccd971df875cd)

Signed-off-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 924df18b47e9a69fa295bafe37bdb39d8eaea2bb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Ross Burton
c75016dcf3 python3: add dependency on -compression to -core
importlib.metadata is part of -core, but that will import zipfile which
is part of -compression.

Obviously this shows that our packaging of the Python modules is not
optimal.  I plan to follow up with a redesign of the splitting which
focuses on simply pulling out the larger or esoteric modules and
having a more featureful core.

(From OE-Core rev: 05166eafb99cf8c7adb6879277069ab384a2f8df)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Khem Raj
a56d901283 python3: Drop empty patch
The fix brought by this patch is already part of python 3.12.3
therefore drop it.

(From OE-Core rev: 555623d2378138fdcfae95c04e06ba384cebab5b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Sunil Dora
19fce77a5f gcc: Fix c++: tweak for Wrange-loop-construct
This commit updates the warning to use a check for "trivially constructible" instead of
"trivially copyable." The original check was incorrect, as "trivially copyable" only applies
to types that can be copied trivially, whereas "trivially constructible" is the correct check
for types that can be trivially default-constructed.

This change ensures the warning is more accurate and aligns with the proper type traits.

LLVM accepted a similar fix:
https://github.com/llvm/llvm-project/issues/47355

PR c++/116731 [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731]

(From OE-Core rev: 614a8e3a06003dfcbf1f32dc2d6f4d18f74b71a4)

Signed-off-by: Marek Polacek <polacek@redhat.com>
Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Archana Polampalli
59a2ca0cfe ffmpeg: fix CVE-2024-35368
FFmpeg n7.0 is affected by a Double Free via the rkmpp_retrieve_frame
function within libavcodec/rkmppdec.c.

(From OE-Core rev: 53528caafa576a2f6417436cc0dba8be06e75048)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Archana Polampalli
3d0ff200b3 ffmpeg: fix CVE-2024-35367
FFmpeg n6.1.1 has an Out-of-bounds Read via libavcodec/ppc/vp8dsp_altivec.c,
static const vec_s8 h_subpel_filters_outer

(From OE-Core rev: 64d77d422d3c99d8a246ab03edfb54d9d185326e)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Archana Polampalli
93dc7300c0 ffmpeg: fix CVE-2024-35366
FFmpeg n6.1.1 is Integer Overflow. The vulnerability exists in the parse_options
function of sbgdec.c within the libavformat module. When parsing certain options,
the software does not adequately validate the input. This allows for negative
duration values to be accepted without proper bounds checking.

(From OE-Core rev: a07bc254011736c0f0445607c56609be677ea8a7)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Jiaying Song
8f8989071a subversion: fix CVE-2024-46901
Insufficient validation of filenames against control characters in
Apache Subversion repositories served via mod_dav_svn allows
authenticated users with commit access to commit a corrupted revision,
leading to disruption for users of the repository. All versions of
Subversion up to and including Subversion 1.14.4 are affected if serving
repositories via mod_dav_svn. Users are recommended to upgrade to
version 1.14.5, which fixes this issue. Repositories served via other
access methods are not affected.

References:
https://nvd.nist.gov/vuln/detail/CVE-2024-46901

Upstream patches:
https://subversion.apache.org/security/CVE-2024-46901-advisory.txt

(From OE-Core rev: 16c212bd9a9e9c35256ff308da72a518c76ce11d)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Yash Shinde
1e47fd8e44 binutils: Fix CVE-2024-53589
A buffer overflow vulnerability exists in GNU Binutils’ objdump utility
when processing tekhex format files. The vulnerability occurs in the
Binary File Descriptor (BFD) library’s tekhex parser during format identification.
Specifically, the issue manifests when attempting to read 8 bytes at an address
that precedes the global variable ‘_bfd_std_section’, resulting in an out-of-bounds read.

Backport a patch from upstream to fix CVE-2024-53589.
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=e0323071916878e0634a6e24d8250e4faff67e88]

(From OE-Core rev: 15635eb807ea1cbf0fd04e0cbe9cf169df107a05)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-23 05:46:32 -08:00
Antonin Godard
aee2a47dd9 system-requirements.rst: add dependencies for pdf builds
With the recent changes from commit
bd6265ca323fac547a197bb516dc4a9ef3897508 ("doc: Makefile: add support
for xelatex"), the list of dependencies needs to be updated.

The initial list of dependencies was made for Ubuntu/Debian, and the
packages were translated for the other distros using pkgs.org.

Add them separately from the rest of the dependencies as they pull a
_lot_ of additional dependencies (for LaTeX).

Move the texlive-fncychap documentation dependency to the PDF specific
dependency.

Notes:
- Fedora/OpenSUSE do not have the "lang-all" texlive collection, so
  install all available languages.
- AlmaLinux does not seem to provide texlive-collection-fontsextra,
  texlive-collection-lang*, and texlive-collection-latexextra, so add a
  warning about that.

(From yocto-docs rev: 804240fa86fee63d0d2dd029d941cf14b23bd730)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 02c090718ac602f7d4760dd28dadbf0631668d49)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-18 06:43:48 -08:00
Antonin Godard
24c9c0a423 system-requirements: update list of supported distros
To match the list in meta-poky/conf/distro/poky.conf.

(From yocto-docs rev: 74639cae135e254814c350f01f6e333d6d764fe9)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit c9c3f6896e4bc967a9b394574532735babb70397)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-18 06:43:48 -08:00
Antonin Godard
dc9f46de28 system-requirements: add fedora 39 to supported distros
(From yocto-docs rev: 7b829845aa5a06bdcad0005fc44b24e2757a3d84)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit dc7fd0e56fbfed77975f6b4ed2106331476ef7f3)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-18 06:43:48 -08:00
Antonin Godard
e92efa5fe9 poky.yaml.in: replace inkscape dependency by librsvg2-bin
inkscape used to be a requirement to convert SVG images to PNGs/PDFs,
but we replaced it recently by rsvg-convert.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 19e18d3019209e9789461502bc5147856faef9c3)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 8c0bb4e41c203a0a7a31c2bdc26834d87a83413a)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-18 06:43:48 -08:00
Antonin Godard
5b7a72ec8a poky.yaml.in: add missing locales dependency
This is a requirement for building the documentation, otherwise we get
(on Ubuntu 24.04):

     File "/usr/lib/python3.12/locale.py", line 615, in setlocale
       return _setlocale(category, locale)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   locale.Error: unsupported locale setting

(From yocto-docs rev: 1b0353a230dce361fe29d4d184aebd9af28a9937)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 0943a7b67ef0012b5d9badc15e0c579dbb9014ae)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-18 06:43:48 -08:00
Antonin Godard
52e57af6a8 Gather dependencies in poky.yaml.in
We used to have packages here and there in system-requirements.rst for
each distro. Instead, gather all the dependencies in poky.yaml.in so we
have an overview of what we provide for each distro.

Use yaml ">" to list the dependencies in alphabetical order, one entry
per line, which makes them easier to read and compare among distros.

Rename UBUNTU_… variables to UBUNTU_DEBIAN_…, since these are used for
both distros.

(From yocto-docs rev: 33c0656706f5110381681b212877d39ec2148cc6)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 1ed6118b7cf1b5dcbfca753c83fa30fb97bf44ad)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-18 06:43:48 -08:00
Guénaël Muller
ccdf8c615f ref-manual: use standardized method accross both ubuntu and debian for locale install
Modify locale installation method to be standard accross all debian-based distributions.
Pre-existing method is available only on Ubuntu, locale-gen tool has no parameter in Debian.

(From yocto-docs rev: 70212d4780df6b7b74bd5c428d71b49d9a91c403)

Signed-off-by: Guénaël Muller <guenael.muller@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Tested-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 30002019198a168e48537407bb928facb26af82a)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-18 06:43:48 -08:00
Richard Purdie
704d1395b1 cve-update-nvd2-native: Tweak to work better with NFS DL_DIR
After much debugging, the corruption issues on the autobuilder appear to
be due to the way sqlite accesses database files. It doesn't change the
file timestamp after making changes, which for reasons unknown, confuses
NFS. As soon as the file is touched, NFS becomes fine again accross the
whole cluster, as if by magic.

We could try and debug further but putting a "touch" call into the code
is easy and harmless. Lets hope this removes this annoying source of
errors.

(From OE-Core rev: b19b1e905d966443c4e4d17dfaeb299ae2526575)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-18 06:43:48 -08:00
Steve Sakoman
2541a8171f build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: 336eec6808710f260a5336ca8ca98139a80ccb14)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:24:12 -08:00
Steve Sakoman
6a80352d51 poky.conf: bump version for 5.0.6
(From meta-yocto rev: e9b828fdf46d3b3ad6ccd51710845bdfd29357bb)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:54 -08:00
Ross Burton
61ec07c6cf sanity: check for working user namespaces
If user namespaces are not available (typically because AppArmor is
blocking them), alert the user.

We consider network isolation sufficiently important that this is a fatal
error, and the user will need to configure AppArmor to allow bitbake to
create a user namespace.

[ YOCTO #15592 ]

(From OE-Core rev: 3577ceca39c7c3be81563de9ccf06a805f61d3ca)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b6af956fe6e876957a49d4abf425e8c789bf0459)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:54 -08:00
Guðni Már Gilbert
6ae367c861 dnf: drop python3-iniparse from DEPENDS and RDEPENDS
python3-iniparse dependency was dropped 2019, see the
following commit as reference:
d7d0e0e2f9

When looking at the Git history, this happened around tag 4.2.1

(From OE-Core rev: 3273ace1e5e4b0573ceaa44f2710f651db9ae525)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:54 -08:00
Guðni Már Gilbert
30fd1ca222 python3-poetry-core: drop python3-six from RDEPENDS
Looking at the history, python3-six was removed as a dependency
in the poetry.lock file in v1.5.2

Even before v1.5.2 and until now (v1.9.1) there is no code in
the package which imports the six module. So it can be safely
dropped from the recipe.

(From OE-Core rev: 09378088bba46b6e505f69381496da0ecd0ecf2c)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:54 -08:00
Guðni Már Gilbert
418996278d systemd-boot: drop intltool-native from DEPENDS
intltool was dropped as a dependency in v236
See commit for reference:
c81217920e

(From OE-Core rev: fffffc22e9cdfee5afe05baadaae941785f5a18b)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:54 -08:00
Guðni Már Gilbert
83293db0bc systemd: drop intltool-native from DEPENDS
intltool was dropped as a dependency in v236
See commit for reference:
c81217920e

(From OE-Core rev: 60e6fd2b7e3adfbe4260cd266dbe245c745344a9)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:54 -08:00
Divya Chellam
a5e0237596 libpam: fix CVE-2024-10041
A vulnerability was found in PAM. The secret information is
stored in memory, where the attacker can trigger the victim
program to execute by sending characters to its standard
input (stdin). As this occurs, the attacker can train the
branch predictor to execute an ROP chain speculatively.
This flaw could result in leaked passwords, such as those
found in /etc/shadow while performing authentications.

References:
https://security-tracker.debian.org/tracker/CVE-2024-10041

Upstream patches:
b3020da7da

(From OE-Core rev: 0e76d9bf150ac3bf96081cc1bda07e03e16fe994)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:54 -08:00
Peter Marko
cbafea41f5 qemu: set CVE-2024-6505 to fixed
CVE patch was removed on last upgrade as fixing commit was backported to
stable 8.2.x branch.

NVD DB has this CVE as version-less (with "-").
So explicit status set is needed to mark it as fixed.

(From OE-Core rev: 64359ec3b60ae68d39c2e6444f903fd20e397cff)

(From OE-Core rev: 33050bf82add43409675122a8f29acbcda4e8439)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:53 -08:00
Archana Polampalli
c2186ed9ea ffmpeg: fix CVE-2024-7055
A vulnerability was found in FFmpeg up to 7.0.1. It has been classified as critical.
This affects the function pnm_decode_frame in the library /libavcodec/pnmdec.c.
The manipulation leads to heap-based buffer overflow. It is possible to initiate
the attack remotely. The exploit has been disclosed to the public and may be used.
Upgrading to version 7.0.2 is able to address this issue. It is recommended to
upgrade the affected component. The associated identifier of this vulnerability is VDB-273651.

(From OE-Core rev: 71a9c2d01ad8ed83f9da6e6b9541fcf1d9baed48)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:53 -08:00
Archana Polampalli
ac0988d9f2 ffmpeg: fix CVE-2023-49528
Buffer Overflow vulnerability in FFmpeg version n6.1-3-g466799d4f5, allows a
local attacker to execute arbitrary code and cause a denial of service (DoS)
via the af_dialoguenhance.c:261:5 in the de_stereo component.

(From OE-Core rev: a5e0e1f8be3c6611c09158c80e26848ae3d4f4e7)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:53 -08:00
Archana Polampalli
9edd744fd8 ffmpeg: fix CVE-2023-50007
Buffer Overflow vulnerability in Ffmpeg v.n6.1-3-g466799d4f5 allows a local
attacker to execute arbitrary code via theav_samples_set_silence function
in the libavutil/samplefmt.c:260:9 component.

(From OE-Core rev: b63ba0bff9e5b5e73d50b2b3ff805418fa98d7e5)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:53 -08:00
Archana Polampalli
34611ec3cb ffmpeg: fix CVE-2024-28661
Some of the changes are already present in recipe version

Ref:
148ada5577
https://ffmpeg.org/security.html

(From OE-Core rev: 4ca1544e95e327c7060efa845aa69c2a1eb1d782)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:53 -08:00
Archana Polampalli
2f5de1668c ffmpeg: fix CVE-2023-49501
Buffer Overflow vulnerability in Ffmpeg v.n6.1-3-g466799d4f5 allows a
local attacker to execute arbitrary code via the config_eq_output function
in the libavfilter/asrc_afirsrc.c:495:30 component.

(From OE-Core rev: 873025145d42ffe75d421884160ec299d85d21ef)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-13 05:21:53 -08:00
Richard Purdie
f636d6eed7 resulttool: Improve repo layout for oeselftest results
Having all oe-selftest results on top of each other results in a large 640MB
json file which is hard to use. Split the results out per machine and test type.

This also stops the toolchain raw logs from overwriting each other meaning more
than one MACHINE is preserved.

(From OE-Core rev: 92cb4641ff4ec8c1f681bca21cfeaf2ba6923ab7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4b890f04bc7d147b4a11b824a84f3d2abd75ac54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:15 -08:00
Richard Purdie
7c85649416 resulttool: Trim the precision of duration information
The duration values have pointless amounts of precision. Removing some of the
least significant digits reduces result size and makes the results easier to read.

(From OE-Core rev: 7460a4bb50c696c39add79c2b299b5e636532b8c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a789a2e6d97bb8efd663226a17db8d1ca6c1e40f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:15 -08:00
Richard Purdie
23f695fc77 resulttool: Clean up repoducible build logs
We've improved the data stored for reproduicible builds. Teach resulttool how
to apply those cleanups when reprocessing data so we can reduce results file
sizes and make the data easier to process.

(From OE-Core rev: 82acc3b1e410afd40fe8a67c77bfe69add95066e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b799c57ae6d61c1b1c7035c8a2c4ba6ee08d1a81)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:15 -08:00
Richard Purdie
b30a7b6224 resulttool: Handle ltp rawlogs as well as ptest
Improve the rawlogs handling to include ltp logs as well as the ptest ones to
reduce the size of the results git repos.

(From OE-Core rev: 6b164f7fe556824c85873ce2ca4257b3a4956cdf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a0a1954d559609c2c1ca16936d0d68eb3c4c6b45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:15 -08:00
Richard Purdie
05b32cacc0 resulttool: Add --logfile-archive option to store mode
Storing the log files inside the testresults git repo isn't scaling and isn't
really appropriate use of a git repository. Allow these to be optionally stored
in a separate filesystem location so the git repo can remain managable.

(From OE-Core rev: 3472833b50b5ec97ec19f510ba926ab6aa5429b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1afc0f3d7e93fa8496be241e9622d3b9a6904bd5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:15 -08:00
Richard Purdie
d349ce2700 resulttool: Fix passthrough of --all files in store mode
When using store mode, --all was broken as not all files were being preserved.
Fix this by limiting the scope of the git rm command.

(From OE-Core rev: 461140bede110b561f0bae46255d6a9435329e97)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9604561d2022b6c76b1cb4186d40800d1affdd2b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:15 -08:00
Richard Purdie
29e16888a5 oeqa/utils/gitarchive: Return tag name and improve exclude handling
Tweak the gitarchive exclude handling not to error if excluded files
don't match.

Also return the tagname created so that other code can then use it.

(From OE-Core rev: 0a5b4fabf8bf9b559295bb4d2583809ca11522f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1adba3430faffdf6217b6a00533a3b48a9388abc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:15 -08:00
Richard Purdie
a7ccf5b7bd resulttool: Use single space indentation in json output
Using 4 space indentation in resulted in hundreds of megabytes of extra file size
in general use. Reduce this to make filesizes more managable and reduce the processing
cost. Some level of indentation and spacing does make the files more readable and allows
use of git diff so we need to retain some of it.

(From OE-Core rev: 03fef3a99186863a0c460bd89bad40f2360a6930)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a274cdcaf852cca9497f0358f44dda99c06aacbe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:14 -08:00
Richard Purdie
710ddc100c resulttool: Allow store to filter to specific revisions
We have a challenge on the autobuilder where test results from both OE-Core
and poky are being mixed together during result storage which is confusing the
data. Add a way to filter to specific revisions as the least worst way to fix
the various issues this is causing.

(From OE-Core rev: 974a6d5ebebc279df7c6994df7bd8c5d462e4447)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3f276a0dc65341668788853be2cf27ab6aa12b13)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:14 -08:00
Richard Purdie
e1c3e84dd5 selftest/reproducible: Clean up pathnames
There are several problems with these paths. Firstly they contain full
system paths which depend upon where the test was run. These are pretty
pointless and just take up a lot of space making the results files large.

Secondly, they contain the same path twice. The reference and target path
will always be the same thing in two different locations.

Strip off the prefix and remove the duplication. This does change the output
data but that can't really be avoided. It does shrink the results data and makes
it more readable.

(From OE-Core rev: 44ee8f69db5e008b5ac5e0dbf390bb4fcf704f07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 81a44de36e864b08687451fd85aeba7c529fd7f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:14 -08:00
Richard Purdie
96900f953f selftest/reproducible: Drop rawlogs
The "rawlogs" data consists of a long string of results data which is
already in a structured data format. I can't see this is adding much
value in duplciating the data but it does create a huge string with a
lot of long problematic pathnames and inflates the results data size.

I suggest we drop this data as obsolete and not necessary.

(From OE-Core rev: 296f64cbf83c40759b368526335502a6b130aa14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b2c70fab2ffa409b861d83f048b65d458d03a90)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:14 -08:00
Changqing Li
924cf07fc0 rxvt-unicode.inc: disable the terminfo installation by setting TIC to :
Without this change, TIC is the native tic in recipe-sysroot-native.
By default, native tic has set its default terminfo path to native path:
${datadir}/terminfo; $HOME/.terminfo

When sstate cache is used, the cached native tic's terminfo path could
be a path not exist on current host, then native tic will try to install
terminfo to HOME dir, cause host contamination.

Disable the terminfo installation by setting TIC to :

(From OE-Core rev: 846071ec89d3dc5f392e9203c4e7e1e3ea27892c)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe35ead2c3135a18c346e7baa31d34b15c3e2d95)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:14 -08:00
Richard Purdie
de0a865f2d do_package/sstate/sstatesig: Change timestamp clamping to hash output only
The code was changing the timestamps of the files in the do_package output,
particularly the files added for debug sources. This was to do two things:

a) make do_package sstate more reproducible
b) ensure better hash equivalence matching

Unfortuately the debug source files are hardlinks into the source tree for
efficiency so touching these, touches a lot of files in ${B} and ${S}. This
causes unpredictable effects if compile is run again for example, or could
cause compiling in the install task.

The hash equivalence matching is of key importance but we can mimic that
using clamping of the file timestamps in the depsig output used to generate
the hashes.

This patch drops the global timestamp clamping, instead allowing the files
to retain their creation timestamps into sstate. This makes do_package sstate
slightly less reproducibile. We could clamp the sstate timestamps but that
would lead to two different sets of timestamps depending on whether the
data came from sstate or not. I'd prefer to have consistent code behaviour,
rather than differing behavhour depending on whether data came from sstate
or not.

If we wanted to have reproducibiliy and fix the "corruption" of S/B and have
consistent codepaths, the only other option would be two copies of the
sources, which could end up huge and seems the least desireable option.

This patch therefore drops the timestamp clamping in the sstate files
and tweaks the depsig data generation to clamp the timestamps for do_package
instead since this seems the best compromise.

I validated that rpm/deb/ipk files still generate correctly as before.

(From OE-Core rev: 9df0bf5775ec96773e77c489ba6a443037d65ab6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 475759fdab7200488b2a568b2ba1aa31a456d113)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:14 -08:00
Hongxu Jia
de191df9f6 ovmf: fix CVE-2024-1298
Backport fix from upstream to resolve CVE-2024-1298

  284dbac43d

(From OE-Core rev: 2a6825a8ad6e5a600e458614ff7bb676ec9c5fac)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:14 -08:00
Hongxu Jia
7bd9a000b6 ovmf: fix CVE-2024-38796
Backport fix from upstream to resolve CVE-2024-38796

  c95233b852

(From OE-Core rev: 01743182b7a4bcbd47157a49da7af7b41546434c)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:14 -08:00
Richard Purdie
ae41df7b37 bitbake: runqueue: Fix scenetask processing performance issue
Analysis shows that "bitbake core-image-ptest-all" spends a lot of
time in scenequeue_updatecounters and much of it is rebuilding a set
which doens't change. Reorder the code to avoid that performance
glitch.

(Bitbake rev: f40a3a477d5241b697bf2fb030dd804c1ff5839f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 923c19b9713e398d8e66e6d4422dfd4c18a03486)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:14 -08:00
Richard Purdie
ac3e66f1a6 bitbake: runqueue: Optimise setscene loop processing
Rather than looping through things we looped through on the previous execution,
start looping where we left off for setscene processing. This gives speed
improvements depending on the kind of build being executed.

(Bitbake rev: 28569e9796d4b34d7b77b4f79074ab7854850386)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00f4d932e3af0eeb333339cbe942010fc76dee0f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:14 -08:00
Richard Purdie
4f26b1b6a5 bitbake: runqueue: Fix performance of multiconfigs with large overlap
There have been complaints about the performance of large multiconfig builds
for a while. The key missing data point was that the builds needed to have large
overlaps in sstate objects. This can be simulated by building the same things with
just different TMPDIRs. In runqueue/bitbake terms this equates to large numbers of
deferred tasks.

The issue is that the expensive checks in the setscene loop were hit every time
through runqueue's execute function before the check on deferred tasks. This leads
to task execution starvation as that only happens once per iteration.

Move the skip check earlier in the function which speeds things up enormously
and should improve performance of such builds for users.

(Bitbake rev: db083cfe9e33c9fd7ffeead7b8c6023a5d581976)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9c6c506757f2b3e28c8b20513b45da6b4659c95f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:54:14 -08:00
Lee Chee Yang
159527cadf migration-guides: add release notes for 4.0.23
(From yocto-docs rev: 12d0ba4f496b2b28a188d34fc36e36895f397079)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 5835cb574881d57785f099c768467177d077e867)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Antonin Godard
d50df94381 ref-manual: classes: fix bin_package description
The previous bin_package description was confusing: it would instruct to
use the git fetcher to extract the content of an RPM package using the
`subpath` option - but that's not possible as the git fetcher can be
used to clone a repository but not to do the extraction.

Update the description by telling what it really does and what it
doesn't do, and by giving an HTTPS+RPM example.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 13c9f861547490a734a7e6396ac0b8f416863f70)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 305f024bf99ba02b153eed0cebe3d36594868497)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Lee Chee Yang
54315a03b6 migration-guides: add release notes for 5.0.5
(From yocto-docs rev: 0a3a2dceb265112c97359f4366f66bd4b48f4310)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 4175839e718db49bf6971e900c1cf176d03458d7)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Antonin Godard
a8580b726a standards.md: add a section on admonitions
We try to limit our usage of these admonitions to `note` and `warning`,
as the Sphinx documentation warns that most themes only style these two
admonitions. So add a section on that.

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 2c28575c9aa0ca77d9c21f0833bacb19d44a7931)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit f86ffa1b1dcf0665c17424eee87b6bead09960f6)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Gassner, Tobias.ext
aad028a455 rootfs: Ensure run-postinsts is not uninstalled for read-only-rootfs-delayed-postinsts
This patch ensures that pkg_postinst_ontarget task is executed for read only rootfs when
read-only-rootfs-delayed-postinsts is set as IMAGE_FEATURES. The issue was that run-postinsts
could be uninstalled at the end of rootfs construction and that shouldn't happen for
the delayed usecase.

In addition to the fix, a test in meta/lib/oeqa/selftest/cases/overlayfs.py testing
the fix has been implemented.

(From OE-Core rev: e0c4f2f69723f64a29ba35c4de5fb1a7c79ef718)

Signed-off-by: Gassner, Tobias.ext <tobias.gassner.ext@karlstorz.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 60f587475dda99eaa07848880058b69286b8900e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Florian Kreutzer
04886dab5e dropbear: backport fix for concurrent channel open/close
Prevents sporadic crashes of dropbear server when multiple channels are
active at the same time.

Upstream discussion:
https://github.com/mkj/dropbear/pull/326/commits
https://github.com/mkj/dropbear/issues/321

Issue was introduced in dropbear-2022.83 and fixed in v2024.86.

(From OE-Core rev: 808972c0418a64fbed2134b55f25fb90e5d498e9)

Signed-off-by: Florian Kreutzer <florian.kreutzer.oss@rohde-schwarz.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Robert Yang
4509002b44 libgcrypt: Fix building error with '-O2' in sysroot path
* Backport a patch to fix:
$ . oe-init-build-env build-O2
$ bitbake libgcrypt
random/rndjent.c:40:10: fatal error: stdio.h: No such file or directory

* Remove 0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch which
  is fixed by the backported patch.

Note, master branch's libgcrypt_1.11.0.bb has already fixed this problem.

(From OE-Core rev: c091ae2c6d45a95f0707b649bbe556275420e5e9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Markus Volk
6741c78d3f ninja: fix build with python 3.13
python 3.13 removed the pipes module. Thus build fails for host machines that run python 3.13

This commit adds a backport patch to use subprocess module instead

(From OE-Core rev: f357486da3374f7b49d6956260b5b3200f562e02)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Markus Volk
2d0d967bea gcc: add a backport patch to fix an issue with tzdata 2024b
There is an issue in the std::chrono::tzdb parser that causes problems
since the tzdata-2024b release started using %z in the main format.

As a real world problem I encounter an issue with the waybar clock module,
which ignores the timezone setting and only shows system time.

(From OE-Core rev: 05d05d9c199de6ec81d2ee9b06f0bff84a9144be)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Yogita Urade
2775596cb2 qemu: upgrade 8.2.3 -> 8.2.7
This includes fix for: CVE-2024-4693, CVE-2024-6505 and CVE-2024-7730

General changelog for 8.2: https://wiki.qemu.org/ChangeLog/8.2

Droped:
0001-target-riscv-kvm-change-KVM_REG_RISCV_FP_F-to-u32.patch
0002-target-riscv-kvm-change-KVM_REG_RISCV_FP_D-to-u64.patch
0003-target-riscv-kvm-change-timer-regs-size-to-u64.patch
CVE-2024-4467 and CVE-2024-7409 since already contained the fix.

(From OE-Core rev: 7983ad282c37f8c1125da5bab96489e5d0039948)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Deepthi Hemraj
c6ec0e1bfd glibc: stable 2.39 branch updates
Below commits on glibc-2.39 stable branch are updated.
dcaf51b41e elf: Change ldconfig auxcache magic number (bug 32231)
b3c51635ef Make tst-strtod-underflow type-generic
b74be22f65 Add crt1-2.0.o for glibc 2.0 compatibility tests
fcdf98f38c Add tests of more strtod special cases
3edc0f22a6 Add more tests of strtod end pointer
988de94538 Make tst-strtod2 and tst-strtod5 type-generic
a2f7087237 powerpc64le: Build new strtod tests with long double ABI flags (bug 32145)
6624318c89 Do not set errno for overflowing NaN payload in strtod/nan (bug 32045)
63bcc01744 Improve NaN payload testing
86369c9ee4 Make __strtod_internal tests type-generic
a7be595c67 Fix strtod subnormal rounding (bug 30220)
9cfeccf65a More thoroughly test underflow / errno in tst-strtod-round
293e4e3c90 Test errno setting on strtod overflow in tst-strtod-round
d8b4fc3653 Add tests of fread
373aab3e52 stdio-common: Add new test for fdopen

Testresults:
After update	|Before update	 |Difference
PASS: 4889	|PASS: 4885	 |PASS: +4
FAIL: 229	|FAIL: 229	 |FAIL: 0
XPASS: 4	|XPASS: 4	 |XPASS: 0
XFAIL: 16	|XFAIL: 16	 |XFAIL: 0
UNSUPPORTED: 227|UNSUPPORTED: 227|UNSUPPORTED: 0

(From OE-Core rev: c658dfd63f2e92cdb4aa59e7deb3771619844b8c)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Aleksandar Nikolic
80c9ece4c6 scripts/install-buildtools: Update to 5.0.5
Update to the 5.0.5 release of the 5.0 series for buildtools.

(From OE-Core rev: 97841ea6f6d3d8225b4865e389815090f153ee55)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Soumya Sambu
9dd9984b48 python3-requests: upgrade 2.32.1 -> 2.32.2
https://requests.readthedocs.io/en/latest/community/updates/#id2

2.32.2 (2024-05-21)
  * Deprecations - To provide a more stable migration for custom HTTPAdapters
    impacted by the CVE changes in 2.32.0, we’ve renamed _get_connection to a
	new public API, get_connection_with_tls_context. Existing custom
	HTTPAdapters will need to migrate their code to use this new API.
	get_connection is considered deprecated in all versions of
	Requests>=2.32.0.
  * A minimal (2-line) example has been provided in the linked PR to ease
    migration, but we strongly urge users to evaluate if their custom adapter
	is subject to the same issue described in CVE-2024-35195. (#6710)

https://github.com/psf/requests/compare/v2.32.1...v2.32.2

(From OE-Core rev: 5b420f3526729809f11b187f48469a7a86d6a93a)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Trevor Gamblin
673d092e20 python3-urllib3: upgrade 2.2.1 -> 2.2.2
(From OE-Core rev: 32fdd5673c25084af4ba295b271455cd92ca09d5)

(From OE-Core rev: ee42ec7146a7c3ceb25c1e0f5afee93849cf9143)

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: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Jinfeng Wang
d80d8de556 tzdata&tzcode-native: upgrade 2024a -> 2024b
(From OE-Core rev: 76fcb907f4db9ec64669d81e5e9c6baffac71973)

Signed-off-by: Jinfeng Wang <jinfeng.wang.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit c8d3edb2562ea4d980186e78b4abb5a94b1d7b22)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Changqing Li
51dbc10084 libsoup: fix CVE-2024-52530, CVE-2024-52531
CVE-2024-52531:
GNOME libsoup before 3.6.1 allows a buffer overflow in applications that
perform conversion to UTF-8 in soup_header_parse_param_list_strict.
Input received over the network cannot trigger this.

Refer:
https://nvd.nist.gov/vuln/detail/CVE-2024-52531

CVE-2024-52530:
GNOME libsoup before 3.6.0 allows HTTP request smuggling in some
configurations because '\0' characters at the end of header names are
ignored, i.e., a "Transfer-Encoding\0: chunked" header is treated the
same as a "Transfer-Encoding: chunked" header.

Refer:
https://nvd.nist.gov/vuln/detail/CVE-2024-52530

(From OE-Core rev: 0af9ac076cdbab70f526520acbbb0c38d237c407)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Hitendra Prajapati
c7d5e09c10 libsndfile: fix CVE-2024-50612
Upstream-Status: Backport from 4755f5bd78

(From OE-Core rev: c427c0e22775a615e442d76b45bb3ec5dae067e2)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Peter Marko
b2ffc21086 builder: set CVE_PRODUCT
Builder is a common word and there are many other builder components
which makes us to ignore CVEs for all of them.
There is already 1 ignored and currently 3 new ones.

Instead, set product to yocto to filter them.

(From OE-Core rev: 408c987e9134180616f27ae5df3f59166eeaa6d9)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:25 -08:00
Changqing Li
1cb4e6a502 acpica: fix CVE-2024-24856
The memory allocation function ACPI_ALLOCATE_ZEROED does not guarantee a
successful allocation, but the subsequent code directly dereferences the
pointer that receives it, which may lead to null pointer dereference. To
fix this issue, a null pointer check should be added. If it is null,
return exception code AE_NO_MEMORY.

Refer: https://nvd.nist.gov/vuln/detail/CVE-2024-24856

(From OE-Core rev: 5c590ccd1973d343f47e7b7171691400490dfc1a)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:24 -08:00
Jiaying Song
6653eb6e90 python3-zipp: fix CVE-2024-5569
A Denial of Service (DoS) vulnerability exists in the jaraco/zipp
library, affecting all versions prior to 3.19.1. The vulnerability is
triggered when processing a specially crafted zip file that leads to an
infinite loop. This issue also impacts the zipfile module of CPython, as
features from the third-party zipp library are later merged into
CPython, and the affected code is identical in both projects. The
infinite loop can be initiated through the use of functions affecting
the `Path` module in both zipp and zipfile, such as `joinpath`, the
overloaded division operator, and `iterdir`. Although the infinite loop
is not resource exhaustive, it prevents the application from responding.
The vulnerability was addressed in version 3.19.1 of jaraco/zipp.

References:
https://nvd.nist.gov/vuln/detail/CVE-2024-5569

Upstream patches:
79a309fe54
564fcc10cd
58115d2be9
c18417ed29

(From OE-Core rev: ec77cfe12f0790c7e3cf2d9bf00e47b4c653997c)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:24 -08:00
Chris Laplante
1876097252 bitbake: fetch2: use persist_data context managers
Python 3.13 emits a ResourceWarning for unclosed sqlite3 `Connection`s.
See https://docs.python.org/3/whatsnew/3.13.html#sqlite3

The previous commit fixed persist_data's context manager to close the
connection, but we were never actually using `with` in the first place.

This change is not necessary on 'master' because persist_data was
removed.

(Bitbake rev: 6c2641f7a9e92c1b82e306f59ddd3c1249c52cbf)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:24 -08:00
Chris Laplante
52d9241ee5 bitbake: persist_data: close connection in SQLTable __exit__
A Connection's __exit__ does not close the connection, but rather deals
with transactions. See https://docs.python.org/3/library/sqlite3.html#how-to-use-the-connection-context-manager

This change is not necessary on 'master' because persist_data was
removed.

(Bitbake rev: c9ea354c2df3d94b9ebe7810e83df9efb6007013)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:24 -08:00
Richard Purdie
dbb243bf0b bitbake: fetch/wget: Increase timeout to 100s from 30s
Testing shows the worst case CDN response time can be up to 100s. The wget fetcher
is used for accessing sstate from the CDN so increase our timeouts there to match
our worst case repsonse times.

(Bitbake rev: c7f282cd27edfd78830b61db586ed669808893a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:24 -08:00
Joshua Watt
d77302b2fe bitbake: Remove custom exception backtrace formatting
Removes the code in bitbake to show custom backtrace formatting for
exceptions. In particular, the bitbake exception code prints function
arguments, which while helpful is a security problem when passwords and
other secrets can be passed as function arguments.

As it turns out, the handling of the custom serialized exception stack
frames was pretty much made obsolete by d7db75020ed ("event/msg: Pass
formatted exceptions"), which changed the events to pass a preformatted
stacktrack list of strings, but the passing of the serialized data was
never removed.

Change all the code to use the python traceback API to format exceptions
instead of the custom code; conveniently traceback.format_exception()
also returns a list of stack trace strings, so it can be used as a drop
in replacement for bb.exception.format_exception()

(Bitbake rev: c25e7ed128b9fd5b53d28d678238e2f3af52ef8b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-06 05:50:24 -08:00
Richard Purdie
fd5231a544 bitbake: fetch2/git: Use quote from shlex, not pipes
The pipes module is removed in python 3.13. It was already using the
quote function from shlex so use that directly instead.

The module already imports shlex too so it is an easy substitution.

(Bitbake rev: 70bd343fb273ad174e56d08c8b80c5594501e030)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-28 05:36:00 -08:00
Steve Sakoman
1e93d7555f llvm: reduce size of -dbg package
Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of
the debug symbols

  Level 1 produces minimal information, enough for making backtraces in
  parts of the program that you don't plan to debug. This includes
  descriptions of functions and external variables, and line number
  tables, but no information about local variables.

This makes the sstate objects a lot more manageable, and packaging
faster.

(From OE-Core rev: dac630ab5ee7aa6c5c7c294093adbd11b116c765)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Steve Sakoman
8574cb4d51 webkitgtk: fix erroneous use of unsuported DEBUG_LEVELFLAG variable
The version bump to 2.44.3 mistakenly changed the recipe to use
DEBUG_LEVELFLAG, which is unsupported in scarthgap.

Restore the original use of DEBUG_FLAGS

(From OE-Core rev: ba0d06f3004bb59368f796e4501a574b4575cad4)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Regis Dargent
1e8b49999a udev-extraconf: fix network.sh script did not configure hotplugged interfaces
Udev script network.sh is called when a new ethernet interface is plugged (eg. USB).
Due to some (old) missing files, this script does nothing, instead of configuring the
interfaces with ifup.
I just commented the corresponding lines to allow the script to reach the part where
it calls ifup.

(From OE-Core rev: cf881c1b96bf93a8a36b7d6ac83aa053ee059ba6)

Signed-off-by: Regis Dargent <regis.dargent@gmail.com>

Fixes [YOCTO 15616]

network.sh relies on (long) missing files (eg. /etc/network/options,
/etc/init.d/network) to decide if it should configure the new network
interface (ifup) or put its name in /etc/udev_network_queue for future
initialization by /etc/init.d/network service.
The actual result was that the new hotplugged interface was never
automatically configured.
Removing the obsolete tests allows the script to do its intended job.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 160f7139172ffdf510a0d7d4e85f7fbaac7fd000)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Jagadeesh Krishnanjanappa
13728e7d08 tune-cortexa32: set tune feature as armv8a
Cortexa32 is a 32-bit armv8a architecture processor, so set the tune feature
as armv8a instead of aarch64 which is 64-bit armv8a architecture.

It solves the following build error while compiling libgcc-initial
and libssp-nonshared.
-- snip --
aarch64-poky-linux-musl-gcc: error: unrecognized command-line option '-mfpu=neon'
aarch64-poky-linux-musl-gcc: error: unrecognized command-line option '-mfloat-abi=hard'
-- snip --

(From OE-Core rev: a83ead146c15772970c7ca649e81929302349033)

Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3b898270aca62559dfa42ed71d296fe8a8b46a41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Ross Burton
ef6f0cc60b groff: fix rare build race in hdtbl
It's possible to build the hdtbl examples before grn has been build:

groff: error: couldn't exec grn: No such file or directory

Backport a dependency fix from upstream.

[ YOCTO #15610 ]

(From OE-Core rev: 40003e1f1444f6202b068dcde632571be208594e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d590a32423d05cefc4e7282f971f633b3fa0b941)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Ross Burton
f4d2e59433 tcl: skip io-13.6 test case
---- Result was:
{abcdefghj
01234} 0
---- Result should have been (exact matching):
{abcdefghj
} 1 01234 0
==== io-13.6 FAILED

This test is documented as failing on slow machines, so just skip it.

[ YOCTO #15407 ]

(From OE-Core rev: 2a44845ab1ca7d10e64d09fd5feb5becfc16aabe)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f69183586655294c9aed6687cebe57767c2f3eb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Richard Purdie
b0c9ca3600 qemurunner: Clean up serial_lock handling
Avoid "RuntimeError: release unlocked lock" since the lock shouldn't
be locked even in the error path. Add a try/finally path to ensure
this.

(From OE-Core rev: 78f86c946d37d15b044be158e22e9853009cae27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b0732ee009ca47580d1d2ad75334f4aa50e6efd5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Pavel Zhukov
1a526844db package_rpm: Check if file exists before open()
Exception handler tries to read() /etc/passwd file in sysroot
and if file doesn't exist for any reason then it raises FileNotFoundError
exception which mask the original source of the problem and makes
debugging of the issue more difficult.

Fixes:
Exception: FileNotFoundError: [Errno 2] No such file or directory:
'/codebuild/output/src1899304708/src/build/tmp-container/work/core2-64-oe-linux/emqx-bin/4.3.12/recipe-sysroot/etc/passwd'

(From OE-Core rev: 1adfa8b78991764ed1f9951c5bee5412553f3b9d)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4ad9a0e0b11eb7bc5a3dd45fc8945e094ea949e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Robert Yang
c81f1bb300 cml1.bbclass: do_diffconfig: Don't override .config with .config.orig
Fixed:
1) $ bitbake virtual/kernel -cmenuconfig
Do some changes and save the new config to default .config.
2) $ bitbake virtual/kernel -cdiffconfig
The config fragment is dumped into ${WORKDIR}/fragment.cfg.

But the .config which was saved by step #1 is overridden by .config.orig, so
the changes will be lost if run 'bitbake virtual/kernel'

And the following comment is for subprocess.call(), not for shutil.copy(),
so move subprocess.call() to the correct location.
    # No need to check the exit code as we know it's going to be
    # non-zero, but that's what we expect.

(From OE-Core rev: 7ec97c40696d3b2dda777f68b9ad07430969dc16)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6cccf6b02f92dad514e65fd779ff659b19eb6be7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Richard Purdie
3fab614b0a oeqa/runtime/ssh: Fix incorrect timeout fix
I'd meant to change the command timeout in the previous change, fix
the correct one.

(From OE-Core rev: 419c96d17205fc9485869ab0fc1f27de52c31789)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb991988cb23be2c8947171726ada321f27e6eed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Richard Purdie
ae98542b90 oeqa/runtime/ssh: Rework ssh timeout
After the changes to improve this test, we keep seeing image testing ssh
failures, particularly on mips.

It looks like part of the problem is that on a loaded system, 5s is too short
for mips to reliably establish an ssh connection. I've seen logs where it keeps
timing out and fails to work, then the debug code successfully uses ssh later after
everything else fails.

Change the timings/retries to give slow platforms enough time to respond.

(From OE-Core rev: 55780565831a1a5fa292d82b2b04943fb9ddc82e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ba64ccf3ad6e40461219b72d60eb0fe5cb38fddd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Chen Qi
e57dc303e1 toolchain-shar-extract.sh: exit when post-relocate-setup.sh fails
When LD_LIBRARY_PATH is set, post-relocate-setup.sh will fail and
exit properly. But such failure is ignored and the SDK installation
will continue and tell user that things succeed. This is misleading.
So exit immediately if post-relocate-setup.sh fails.

Fixes [Yocto #15586]

(From OE-Core rev: 1ecc2102cc8f4fbcf32c1296e1f7549c774380ac)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c8e2dcc1f71aa33cc6e56dfdebebbe7ef010c944)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Ross Burton
ddd907e591 strace: download release tarballs from GitHub
Switch to downloading the release tarballs from GitHub.  Their CDN is
rock solid, and strace.io is hosted inside Russia which some networks
are blocking.

(From OE-Core rev: 0ed862a612af7a6389e68cdcb2e94bd005bf64c2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bbdbd6d943a64e5b0dae4c2ee705d017fb7ef80e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Alexander Kanavin
7bbee0e49e package_rpm: restrict rpm to 4 threads
TL;DR version:

with this, and the previous compression level changes
I am seeing drastic speedups in package_write_rpm completion times:

webkitgtk goes from 78 seconds to 37 seconds
glibc-locale goes from 399 seconds to 58 seconds (!)

The long version:

rpm uses multithreading for two purposes:

- spawning compressors (which are nowadays themselves
multi-threaded, so the feature is not as useful as it once
was)
- parallel file classification

While the former behaves well on massively parallel CPUs
(it was written and verified here :), the latter was then added
by upstream and only benchmarked on their very old, slow laptop,
apparently:
41f0e214f2

On anything more capable it starts showing pathologic behavior,
presumably from spawning massive amount of very short-lived threads,
and then having to synchronize them. For example classifying glibc-locale
takes
5m20s with 256 threads (default on my machine!)
1m49s with 64 threads
59s with 16 threads
48s with 8 threads

Even a more typical recipe like webkitgtk is affected:
47s with 256 threads
32s with 64 threads
27s with 16 or 8 threads

I have found that the optimal amount is actually four: this also
means that only four compressors are running at a time, but
as they're themselves using threads, and typical recipes are dominated
by just two or three large packages, this does not affect overall
completion time.

(From OE-Core rev: 8cbf3a2cddbff1728bd3d1382c3fec00b604501e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Alexander Kanavin
71da054b97 package_rpm: use zstd's default compression level
zstd uses 3 by default, while 19 is the highest and slowest.
It's not clear why 19 was picked to begin with, possibly
I copy-pasted it from rpm's examples without thinking:
https://git.yoctoproject.org/poky/commit/?h=master-next&id=4a4d5f78a6962dda5f63e9891825c80a8a87bf66

This brings significant speedups in rpm's compression step:
for example compressing webkitgtk takes 11s instead of 36s.

The rpm size increases from 175648k to 234860k. I think it's
a worthy default tradeoff.

(From OE-Core rev: 515fc186d796eaf3bfce41bd17a908ff283242ce)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Changqing Li
055a8f6fc8 sysvinit: backport patch for fixing one issue of pidof
When a program is a link to an executable, and this executable is
handled by update-alternatives, renamed to a different name, cmd
`pidof full_path_of_program` will not work.

Eg:
/usr/sbin/httpd -> /usr/sbin/httpd.apache2
`pidof /usr/sbin/httpd` cannot get pid of the process httpd

Backport the patch to fix above issue.

(From OE-Core rev: 60e6fe983c82d8a62fc07d9271d44d0cb072f0fd)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Guðni Már Gilbert
ca10bad4db libpam: drop cracklib from DEPENDS
cracklib was dropped as a dependency in libpam v1.5.0
See the following commit as reference:
d702ff714c

(From OE-Core rev: 7d0c32584846f6cd12e5bda046fb7ad8f8821de4)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Guðni Már Gilbert
d6bb2db3a5 shared-mime-info: drop itstool-native from DEPENDS
itstool was dropped as a dependency in shared-mime-info
release v2.2 (2022-03-27)

(From OE-Core rev: 604afb6f71e6bcefc89319d8066a87c27bb55352)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Bin Lan
0bfd0a4246 lttng-ust: backport patch to fix cmake-multiple-shared-libraries build error
There are the following error when building doc/examples/cmake-multiple-shared-libraries:
ld: warning: liblttng-ust-common.so.1, needed by lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)
ld: warning: liblttng-ust-tracepoint.so.1, needed by lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)
ld: warning: liblttng-ust-common.so.1, needed by lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)
ld: warning: liblttng-ust-tracepoint.so.1, needed by lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)
ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_common_alloc_tls'
ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_after_fork_parent'
ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_after_fork_child'
ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_urcu_after_fork_parent'
ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_tp_probe_unregister_queue_release'
ld: lttng-ust/2.13.8/build/src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `lttng_ust_cancelstate_disable_pop'
collect2: error: ld returned 1 exit status

This change set removes the old patch file 0001-Makefile.am-update-rpath-link.patch,
adds a new patch file 0001-Fix-Build-examples-when-rpath-is-stripped-from-in-bu.patch.

(From OE-Core rev: d416e36bf55f9b23102ca8bc6216851467f86bcb)

Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89394da1cbe98652e1d0bd59c762ff7da2d6a113)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Clayton Casciato
3593709b59 uboot-sign: fix concat_dtb arguments
Fixes [YOCTO #15642]

Ensure empty argument passed from do_uboot_assemble_fitimage is passed to
concat_dtb

(From OE-Core rev: 583580eb5dbfdf898a70bf9e8f31c5a717e986f4)

Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3c473785e5ceef677ff2b77c5fc17f5704c622f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Wang Mingyu
04334a7542 wireless-regdb: upgrade 2024.07.04 -> 2024.10.07
(From OE-Core rev: 9ca71d120210c3ca51e7d65b0244200ef5dba3d3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f124bb09a798d94eca5e93387bc361b147ce53f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Deepthi Hemraj
51556aa6da binutils: stable 2.42 branch update
Below commits on binutils-2.42 stable branch are updated.
09ba78f0513 LoongArch: ld:Report an error when seeing an unrecognized relocation
00abcf39930 s390: Add arch15 instructions
caf72067a77 s390: Relax risbg[n]z, risb{h|l}gz, {rns|ros|rxs}bgt operand constraints
543a22c7ee3 s390: Simplify (dis)assembly of insn operands with const bits
7c94c87d463 s390: Align opcodes to lower-case
fffb4fae823 s390: Flag conditional branch relative insns as condjump
2d238ecbe50 s390: Use proper string lengths when parsing opcode table flags
10d0dd2ba2b s390: Whitespace fixes in conditional branch flavor descriptions
10a143e273c LoongArch: Add elfNN_loongarch_mkobject to initialize LoongArch tdata
9055fbe5ffb LoongArch: The symbol got type can only be obtained after initialization

Tested on qemux86_64.
There were no additional PASS or FAIL after the update

(From OE-Core rev: 312c522787e72fffb9eb1b49e97aeaf24db27d2d)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Randy MacLeod
fb691445b2 systemd: stable update 255.4 -> 255.13
Full change log:
   https://github.com/systemd/systemd-stable/compare/v255.4...v255.13

Refreshed most of the musl patches using devtool to eliminate patch fuzz.

(From OE-Core rev: 39eb4070503a96311e52f44ab1ea3cdbd6795182)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Hitendra Prajapati
03e5a3f5f5 ghostscript: upgrade 10.03.1 -> 10.04.0
avoid-host-contamination.patch
refreshed for 10.04.0

Changelog:
===========
- addresses CVEs: CVE-2024-46951, CVE-2024-46952, CVE-2024-46953, CVE-2024-46954, CVE-2024-46955, CVE-2024-46956
- add protection for device selection from PostScript input.
- efforts in code hygiene and maintainability continue.
- The usual round of bug fixes, compatibility changes, and incremental improvements.
- add the capability to build with the Tesseract OCR engine.

(From OE-Core rev: a0c802e9b1d8400589aede20e52f40d10a344314)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Vijay Anusuri
938174660a glib-2.0: Backport fix for CVE-2024-52533
Upstream-Status: Backport from ec0b708b98

Reference: https://security-tracker.debian.org/tracker/CVE-2024-52533

(From OE-Core rev: 61e270156015be8c09d45a5065deed5f7b1fde96)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:30 -08:00
Hitendra Prajapati
a0e25e6652 libsoup: fix CVE-2024-52532
Upstream-Status: Backport from 6adc0e3eb7 && 29b96fab25

(From OE-Core rev: 5a28744c74270905d4b29285589a399df4c9cb68)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 06:11:29 -08:00
Antonin Godard
d1c25a3ce4 dev-manual: bblock: use warning block instead of attention
Sphinx recommends using warning and note here:
https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#directives

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: cafa551d0927f56854f823e51f3de690f17423cd)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit ed49067f172637d38d470a864feed2a02bd84c66)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Antonin Godard
bc6bd220a0 dev-manual: document how to provide confs from layer.conf
Add a section on providing global level configuration from the
layer.conf file. Since this file is parsed at an earlier stage in the
parsing process, it's not possible to combine bb.utils.contains and
{DISTRO,MACHINE}_FEATURES to conditionally set some configurations.

This patch documents:

- First that this file can be used for providing such configuration.
- Then demonstrate how to conditionally provide them, using a technique
  that is currently used in meta-virtualization
  (https://git.yoctoproject.org/meta-virtualization/tree/conf/layer.conf#n50).

Fixes [YOCTO #12688].

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 36f2a230ca810b1dd221b7c8ce71e8086291131a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 31e5bd3e82e11f77da2abd96eb8c17a7c8194b7c)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Antonin Godard
a9cdf867e4 conf.py: add a bitbake_git extlink
To make references to the bitbake repo, add an extlink for it and use it
in the docs with ":bitbake_git:`lib/bb/utils.py </tree/lib/bb/utils.py>`".

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: f0e98d65e3dbdf7c9bed135285f21da8d084edc0)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 8bf3c656ec54a582c75ca7c135121a15f8e4f631)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Antonin Godard
217e1de9e8 sphinx-static/switchers.js.in: do not refer to URL_ROOT anymore
This variable was removed from the Sphinx-generated
documentation_options.js, thus breaking the current implementation of
our switchers.js. Like searchtools.js, which is also generated by
Sphinx, use document.documentElement.dataset.content_root as a
replacement.

To be backwards-compatible to get one or the other.

(From yocto-docs rev: d8f4e179dd80e2f2618adfe12dbddad4bd29d488)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 2849690abf94872e259e712128e90413f3b9a2f2)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Antonin Godard
1371c1106b doc: add a download page for epub and pdf
These files are placed in the _static directory during publish. Note
that Sphinx does not complain if files do not exist during compilation
(since they are copied at the end). This is why this was used instead of
the ":download:" role.

(From yocto-docs rev: a422a2f4fe452d6f01685717961f6acdf09217de)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 38aa55418426227203fe3a106fa1e85494a57c12)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Michael Opdenacker
656b0274b2 doc: Makefile: publish pdf and epub versions too
Copy the generated files in the special _static directory.

Fixes [YOCTO #14357]

(From yocto-docs rev: 1ee04ff4798be042e9404fca08bbfb7058c79053)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit b6974695993599959c0d5b7436aa290ee5d0dfca)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Antonin Godard
1ca844121b doc: Makefile: add support for xelatex
This patch makes the "latexpdf" target compile the documentation with
xelatex instead of the default pdflatex engine.

The reason behind this is stated in [YOCTO #14357]: pdflatex does not
support compiling foreign characters, so we need to resort to another
engine, here xelatex.

It also increases the texmf config buf_size to 10000000 to avoid a
compilation error.

(From yocto-docs rev: 22f2365417ea5a9a7970e2475925f4f8eb983acf)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 93848842b3ad8aa6b9c9f46d60f2c2ad396c6971)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Antonin Godard
4a5e9aa5a2 doc: Makefile: remove inkscape, replace by rsvg-convert
Remove inkscape as it is not part of meta/, and use librsvg so we can
ship it in a buildtools tarball for the autobuilder workers.

(From yocto-docs rev: c45b401d8a1794dec2c5bd42633b9b7fac44ed82)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 0caa432b888209bd80443df230143761e1faf415)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Talel BELHAJSALEM
4c01aca2ec contributor-guide: Remove duplicated words
Remove "and then" as it is duplicated.

(From yocto-docs rev: 4eb28bf7e1ee52ee5abb5302169685d849cf1b91)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 52ed947120e400620277a58f895294b558a9324e)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Jiaying Song
94338b35b7 libxml-parser-perl: fix do_fetch error
Change the SRC_URI to the correct value due to the following error:
WARNING: libxml-parser-perl-native-2.47-r0 do_fetch: Failed to fetch URL https://search.cpan.org/CPAN/modules/by-module/XML/XML-Parser-2.47.tar.gz, attempting MIRRORS if available

(From OE-Core rev: c9d5a6c480c377399a7dc998f3755e42072e19a6)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Jiaying Song
70a8910063 enchant2: fix do_fetch error
Change the SRC_URI to the correct value due to the following error:
WARNING: enchant2-2.6.7-r0 do_fetch: Failed to fetch URL https://github.com/AbiWord/enchant/releases/download/v2.6.7/enchant-2.6.7.tar.gz, attempting MIRRORS if available

(From OE-Core rev: 15337a58f77de3d0a30b73fcd836349df811ca39)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Harish Sadineni
e1958af36c binutils: Add missing perl modules to RDEPENDS for nativesdk variant
In SDK, missing perl modules causes 'x86_64-pokysdk-linux-gp-display-html --help' to abort with below errors..
  - Can't locate bignum.pm in @INC (you may need to install the feature module).
  - Can't locate Math/BigInt.pm in @INC (you may need to install the Math::BigInt module)

By adding the following perl modules to RDEPENDS fixes the above errors:
  nativesdk-perl-module-bignum
  nativesdk-perl-module-bigint
  nativesdk-perl-module-math-bigint

(patch taken to master branch with following commit id: 05f1099acbbb10b6ce33ea117d313749f7dc4a47)

(From OE-Core rev: a1317e52260eed9961291d461e48a4915ffc36bc)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Richard Purdie
679b1842bb pseudo: Fix envp bug and add posix_spawn wrapper
Fix pseudo with python 3.13 by adding a wrapper for posix_spawn and
fixing a NULL pointer dereference in envp handling it uncovered. This
fixes issues on Fedora 41.

(From OE-Core rev: 782fc8c12deaf713a60c62c34914b585ff150ddf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d80e20d70d170397f9827c5a5fc75ad1f2e8cd94)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Philip Lorenz
582da2a157 cmake: Fix sporadic issues when determining compiler internals
When `-pipe` is enabled, GCC passes data between its different
executables using pipes instead of temporary files. This leads to issues
when cmake attempts to infer compiler internals via the `-v` parameter
as each executable will print to `stderr` in parallel.

In turn this may lead to compilation issues down the line as for example
the system include directories could not be determined properly which
may then propagate to issues such as:

    recipe-sysroot/usr/include/c++/11.3.0/cstdlib:75:15: fatal error:
        stdlib.h: No such file or directory
    |    75 | #include_next <stdlib.h>
    |       |               ^~~~~~~~~~
    | compilation terminated.
    | ninja: build stopped: subcommand failed.
    | WARNING: exit code 1 from a shell command.

Fix this stripping `-pipe` from the command line used to determine
compiler internals.

(From OE-Core rev: ef5c060a939416b4034be1b8b81f9035b23534b7)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Peter Marko
b7d43e74a0 expat: upgrade 2.6.3 -> 2.6.4
Handle CVE-2024-50602

(From OE-Core rev: e53da1a3bfd62b6b1771f9026fed8fd04e97f7b4)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Peter Marko
e7335e4f0a gstreamer1.0: set status for CVE-2024-0444
This is patched in gstreamer1.0-plugins-bad in 1.22 branch since 1.22.9
via [1].
cpe product is set to gstreamer, they share source git repository.

[1] 394d5066f8

(From OE-Core rev: 5ea630617daf0897e5a1edd7482f705e1e7997fe)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Peter Marko
855c30fc81 curl: patch CVE-2024-9681
Picked commit [1] per solution described in [2].

[1] https://github.com/curl/curl/commit/a94973805df96269bf
[2] https://curl.se/docs/CVE-2024-9681.html

(From OE-Core rev: 19663c559b72a0d14ddd0792be325284a6e16edc)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Peter Marko
19b2afe4af dropbear: backport patch for CVE-2023-48795
Documentation for this patch is under
66bc1fcdee

(From OE-Core rev: 2ab0b4212aee85c77c3667ccfaedbe9540e78e3f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-18 06:59:35 -08:00
Steve Sakoman
dce4163d42 build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: a051a066da2874b95680d0353dfa18c1d56b2670)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 06:03:57 -08:00
Steve Sakoman
98d2128bd5 poky.conf: bump version for 5.0.5
(From meta-yocto rev: 5b35be724c236536f25e66bebd42e21bbe5c127c)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Julien Stephan
6607529f19 dev-manual: add bblock documentation
bblock is a helper tool to lock/unlock tasks and recipes to specific
signatures. Add a documentation page for it.

(From yocto-docs rev: e882cb3e5816d081eb05cb83488f286cca70e0c6)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit a082aa39840587d3af6c3f4a2c2747564ca37414)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Julien Stephan
233dd66bad ref-manual: variables: add SIGGEN_LOCKEDSIGS* variables
Variables SIGGEN_LOCKEDSIGS, SIGGEN_LOCKEDSIGS_TASKSIG_CHECK and
SIGGEN_LOCKEDSIGS_TYPES are used to lock specific tasks to specific
signatures. They are used by bitbake -S <lockedsigs> and bblock, so add
documentation for them.

(From yocto-docs rev: 2d7795833fb044e2377f042998fe139cd1543d97)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 32e3995bed2836f549866ec3b8ad254bdda37dbf)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Julien Stephan
948b6bb320 styles: vocabularies: Yocto: add sstate
Add sstate as an accepted word to avoid errors when runnign make
stylecheck.

(From yocto-docs rev: ae3d79adfaefe86cff55b6fca6e2250cba040b67)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 1c50726296e876747ea3f862729e953f025ce619)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Julien Stephan
f6ac0554af documentation: Makefile: add SPHINXLINTDOCS to specify subset to sphinx-lint
make sphinx-lint runs sphinx-lint on the whole documentation which can be
long and reports a lot or errors/warnings. Let's add a new
SHPINXLINTDOCS variable to allow specifying a subset, just as VALEDOCS
does. Keep variable assignment aligned and also use $(SOURCEDIR) by
default for SPHINXLINTDOCS and VALEDOCS variables.

Also update the README file and fix a typo in Link checking section
title.

(From yocto-docs rev: c478ef829433c431456835bca240df44ffe8fcca)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Tested-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 3dfe7b5c746af31de74f67cf88214e5d52bdb65d)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Julien Stephan
5c781e69d7 README: add instruction to run Vale on a subset
make stylecheck runs Vale on the whole documentation which can be long
and reports a lot of errors/warnings. We can run Vale on a subset using
the VALEDOCS variable, so update documentation to highlight it.

(From yocto-docs rev: e75064520f86c9fd674acff3dd16c88dcc489ba6)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Tested-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 262237f72534c983e178231cb6839ed69709c443)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Antonin Godard
8d694594e1 conf.py: rename :cve: role to :cve_nist:
Newer versions of Sphinx already define a :cve: role that points to
cve.org, instead of the role we defined in conf.py that points to
nvd.nist.gov.

Rename our role to :cve_nist: to avoid warnings (treated as errors).
This is also backwards compatible, meaning we can build the doc with an
older Sphinx if needed.

The file were automatically replaced with following command:

find . -name '*.rst' -exec sed -i 's/:cve:/:cve_nist:/g' {} \+

Cherry pick:

* remove changes to release-notes-5.1.rst, does not exist on this branch.

* release-notes-5.0.4.rst: apply the command to this file as it was
  treated previously.

Suggested-By: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 5b86879b3b5f3c51bc7fa5dd2848cf1153a22242)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 15fa3b7e85dde50d7236c1738ad607531cc654b8)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Steve Sakoman
28385f2040 release-notes-4.0: update BB_HASHSERVE_UPSTREAM for new infrastructure
Public hashserver is now at hashserv.yoctoproject.org:8686

(From yocto-docs rev: 5aeb6a6b2799fb72abbfb272271e3175eca14b37)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Antonin Godard
90e5f29976 ref-manual: devtool-reference: document missing commands
Give a brief description for important commands that made it into
devtool or that were missing from this quick reference document.

(From yocto-docs rev: cf679f2aa05ef1b5872d97820629375a5c7f4610)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 6238adae1b072c9e09c558038d397dfac6ec109f)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Antonin Godard
f189e96904 ref-manual: devtool-reference: refresh example outputs
Previous outputs were missing some commands and options, some others
were obsolete.

(From yocto-docs rev: a0b1cec6f572cf7edd0575c70612ee27fe1239b3)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 1c83037707b4c981a70c968ba04ded502f9bffbf)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Antonin Godard
987ed7b050 ref-manual: release-process: add a reference to the doc's release
When reading the stable releases section, we want to know for which
release the documentation was built. Use &DISTRO_NAME; to refer to the
current release.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: fb5bbfbe7138ad5643b2929dd77d8cb79bc9c74c)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 05ee6844d710beb844bbdac892888879847f6d22)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Antonin Godard
28bb97b525 ref-manual: release-process: update releases.svg with month after "Current"
This way we put a timestamp on the image, so that someone looking at the
image on an old release tarball has a representation of the release "as
of <date>".

Here set "Oct. 24" as it was the last time the file was updated.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: e69a050d6f2350701f1042750b4e38739d3b6402)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 7b62bbec900bc84a31e4686839e774ba7bd5ae9f)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Hiago De Franco
297776b0bf weston: backport patch to allow neatvnc < v0.9.0
Currently weston 13.0.3 with neatvnc 0.8.1 does not compile when using
VNC:

| Dependency neatvnc found: NO found 0.8.1 but need: '< 0.8.0' ;
matched: '>= 0.7.0'

However weston upstream already increased the allowed version to 0.9.0,
since neatvnc 0.8.0 does not introduce any changes that breaks API used
by the VNC backend. Therefore, backport this patch.

(From OE-Core rev: 4aa19f4444feb3968110935818d8628a95672539)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8516496018a3ee9e81a67d4682bf9784d0eab2bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Aditya Tayade
d2da6b5c56 e2fsprogs: removed 'sed -u' option
In embedded box, sed might be provided another providers like Busybox,
hence use generic options whenever possible.
/bin/sed -> /etc/alternatives/sed
/etc/alternatives/sed -> /bin/busybox.nosuid

Here used 'sed -u' option is not necessary, hence removed it.

Fixes below error:
sed: invalid option -- 'u'

Also added 'set -eux' option which halts execution of the script
on any failures.

(From OE-Core rev: 5b3b290baa0a83f493b7ca25d5ffa5ff279bcc69)

Signed-off-by: Aditya Tayade <Aditya.Tayade@kpit.com>
Signed-off-by: Pawan Badganchi <Pawan.Badganchi@kpit.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07caee1829d2a61bc018fe0e37ecd482922179ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Vijay Anusuri
bed155a9f7 xserver-xorg: upgrade 21.1.13 -> 21.1.14
Includes security fix CVE-2024-9632

Ref: https://lists.x.org/archives/xorg/2024-October/061765.html

(From OE-Core rev: 79fed0fa3e25e29ed15c2e80c736a44535556a67)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 957ba32bc6fdffd3a796a04ba222fae6cd673f7e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Martin Jansa
fa4c9ed2e5 python3-lxml=v5.0.2
* minor upgrade to fix building with gcc-14 on host
* contains 31 commits:
  https://github.com/lxml/lxml/compare/lxml-5.0.0...lxml-5.0.2
  the important one for gcc-14 is:
  663041a56a

* https://bugs.launchpad.net/lxml/+bug/2045435
* https://bugs.gentoo.org/917562

(From OE-Core rev: baa0ba7084533907c0735dcb58b4432e0b3072df)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Peter Marko
3aa52c32a0 go: upgrade 1.22.7 -> 1.22.8
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.7..go1.22.8
aeccd613c8 (tag: go1.22.8) [release-branch.go1.22] go1.22.8
b4086b7c16 [release-branch.go1.22] syscall: skip TestAmbientCapsUserns when restricted, document
6fab4b9a9e [release-branch.go1.22] runtime: size maps.Clone destination bucket array safely
71655f14ce [release-branch.go1.22] cmd/cgo: correct padding required by alignment

[1] https://github.com/golang/go/compare/go1.22.7...go1.22.8

(From OE-Core rev: 552b9913b25107d7a34611b499b7811896b5f098)

(From OE-Core rev: f3bc0483519fcf08f5e3ccbbbb29de0ec4fc927e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Peter Marko
f8cef7cc1a go: upgrade 1.22.6 -> 1.22.7
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.6..go1.22.7
7529d09a11 (tag: go1.22.7) [release-branch.go1.22] go1.22.7
d4c53812e6 [release-branch.go1.22] go/build/constraint: add parsing limits
2092294f2b [release-branch.go1.22] encoding/gob: cover missed cases when checking ignore depth
b232596139 [release-branch.go1.22] go/parser: track depth in nested element lists
e87be9833e [release-branch.go1.22] runtime: on AIX, fix call to _cgo_sys_thread_create in _rt0_ppc64_aix_lib
676d6100d8 [release-branch.go1.22] cmd/fix: support go versions with patch release
0a525a3ed0 [release-branch.go1.22] os: fix Chtimes test flakes

Fixes CVE-2024-34155, CVE-2024-34156 and CVE-2024-34158

[1] https://github.com/golang/go/compare/go1.22.6...go1.22.7

(From OE-Core rev: 92d609c49c0870ca10fcc39d52a801109d65a98b)

(From OE-Core rev: 4a0ccebab099b3654097ca6ba591eefce58a410e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Wang Mingyu
dabe9e157f orc: upgrade 0.4.39 -> 0.4.40
Changelog:
===========
- Security: Minor follow-up fixes for CVE-2024-40897
- powerpc: fix div255w which still used the inexact substitution
- x86: work around old GCC versions (pre 9.0) having broken xgetbv
  implementations
- x86: consider MSYS2/Cygwin as Windows for ABI purposes only
- x86: handle unnatural and misaligned array pointers
- orccodemem: Assorted memory mapping fixes
- Fix include header use from C++
- Some compatibility fixes for Musl
- ppc: Disable VSX and ISA 2.07 for Apple targets
- ppc: Allow detection of ppc64 in Mac OS
- x86: Fix non-C11 typedefs
- meson: Fix detecting XSAVE on older AppleClang
- x86: try fixing AVX detection again by adding check for XSAVE
- Check return values of malloc() and realloc()

(From OE-Core rev: a11152a65f27521ec9a546b4dd3c16d04bbd9db4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ed7e4eb12491968c5f962b7e89d557c2c6d86a33)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Deepthi Hemraj
43955da4e1 rust-llvm: Fix CVE-2024-0151
(From OE-Core rev: 175e22f2df542b0e1eb638c43c11eeefe794b0b7)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Richard Purdie
35e6556f78 cve_check: Use a local copy of the database during builds
Rtaher than trying to use a sqlite database over NFS from DL_DIR, work from
a local copy in STAGING DIR after fetching.

(From OE-Core rev: 57de6545695ac11816d670959d9e63666de08e3d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 03596904392d257572a905a182b92c780d636744)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Peter Marko
74d6b31f9f cve-check: add support for cvss v4.0
https://nvd.nist.gov/general/news/cvss-v4-0-official-support

CVSS v4.0 was released in November 2023
NVD announced support for it in June 2024

Current stats are:
* cvss v4 provided, but also v3, so cve-check showed a value
sqlite> select count(*) from nvd where scorev4 != 0.0 and scorev3 != 0.0;
2069
* only cvss v4 provided, so cve-check did not show any
sqlite> select count(*) from nvd where scorev4 != 0.0 and scorev3 = 0.0;
260

(From OE-Core rev: 358dbfcd80ae1fa414d294c865dd293670c287f0)

(From OE-Core rev: 290407b3785bce2d22212a7ab9d3a349c8935cc0)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-09 05:53:57 -08:00
Richard Purdie
3198afac87 bitbake: tests/fetch: Use our own mirror of mobile-broadband-provider to decouple from gnome gitlab
GNOME gitlab has occasional downtime which impacts bitbake-selftest
and causes autobuilder failures. Switch to our own mirror for test
purposes to avoid those issues.

(Bitbake rev: 377eba2361850adfb8ce7e761ef9c76be287f88c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91e268b11ed683bd197026f9b36001f6d54ee05c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:12:00 -07:00
Richard Purdie
9149036240 bitbake: tests/fetch: Use our own mirror of sysprof to decouple from gnome gitlab
GNOME gitlab has occasional downtime which impacts bitbake-selftest
and causes autobuilder failures. Switch to our own mirror for test
purposes to avoid those issues.

(Bitbake rev: 12e2b11e4038138ad1a02b9d4d36d0904fbc820d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 008808755ed6cfeb6c41273e69ce718f0833c26c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:12:00 -07:00
Robert Yang
80bb376273 bitbake: gitsm: Remove downloads/tmpdir when failed
The tmpdir such as downloads/tmplp3cnemv won't be removed without this fix.

(Bitbake rev: 6894f68204130713d3651fceacadc7f8061174a8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2ba8d3214759142afc11f0a88d80eb30a8bcde3a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:12:00 -07:00
Robert Yang
d0073c82ad bitbake: gitsm: Add call_process_submodules() to remove duplicated code
There are 14 lines can be removed, and can make it easy to maintain.

(Bitbake rev: 76de94d46ce270c4e485f8178725973adf0f42eb)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ea2c1ac079d63349407a69172ff80cd9acc7252)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:12:00 -07:00
Jose Quaresma
45e1c243c2 bitbake: bitbake: doc/user-manual: Update the BB_HASHSERVE_UPSTREAM
(Bitbake rev: 220f202471cd03c7c8f08649845c59e0601bc07d)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:12:00 -07:00
Lee Chee Yang
2f136ed7ed migration-guide: add release notes for 4.0.22
(From yocto-docs rev: 74369923b34b879275cd1d5af6d73e57be757078)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 9563855ccd92e21fb6f8320c96a3a83e115c947e)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Antonin Godard
7799e6ed20 ref-manual: release-process: refresh the current LTS releases
Mention that Scarthgap the latest LTS in a bullet list next to
Kirkstone. Reword the parapraph a bit to make it clearer after this
change.

Reviewed-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
(From yocto-docs rev: 0ed10e173457bf28338115a063cfa42c88a541d8)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit afeded9939777d88bf4cb9ebf7a61aadd476642d)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Antonin Godard
03f47f247f ref-manual: release-process: update releases.svg
* Add Walnascar release.
* Remove dunfell, gatesgarth, hardknott, honister: these release are not
  supported anymore. Start from kirkstone, which is still supported.

(From yocto-docs rev: 098dd6eaa072b96ba34c15616f973f1c03eaee75)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit aa9a580c8c57af4baa4fb24a43487fb7afc258e5)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Antonin Godard
5310947604 ref-manual: faq: add q&a on class appends
Add the suggestion by Richard to the FAQ, with some minor rewordings and
additional punctuations.

Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: a030626167905034e24589119453ca6f5fb41cfe)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 2466a5e7973bf6e724f1cf0b42f838065847d283)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Antonin Godard
cab2c6b225 overview-manual: concepts: add details on package splitting
The package splitting section of the overview manual currently lacks any
explanation of how package splitting is implemented and redirects to
the package class, which is not really understandable for newcomers to
the project.

This patch adds a short explanation of what is done:

* How the PACKAGES variable is defined.
* How the FILES variable is defined.
* How the two work together.
* How to add a custom package.

This should give enough details to a new user on what package splitting
achieves and how to add a custom package.

Adresses [YOCTO #13225]

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: ccda7c8bb890a290fb41e104f6d818076f4eeaa8)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 143c3cacdec36c9d7ab81c89bbcc12c0c3936bd9)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Antonin Godard
ddace1be70 ref-manual: structure.rst: document missing tmp/ dirs
Document `hosttools/`, `pkgdata/` and add some more information on
`work-shared/`.

Adresses [YOCTO #14543].

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 5958b3c7546d71fdd1693c26747e0196c6aaf277)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 372b5b4ca55819c294970b20aa8b8d8167144329)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Robert Yang
5feebd85ed release-notes-5.0.rst: NO_OUTPUT -> NO_COLOR
(From yocto-docs rev: 5becb08c498cf7cd2af006ed3b0422e39f1ab6b6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(cherry picked from commit ac4c4455d40dc0852d95461a3a10d687d2aedd6e)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Antonin Godard
9d948925b1 ref-manual: merge patch-status-* to patch-status
These are not distinct anymore and check for any patches in any layer.

(From yocto-docs rev: a27e4c426bfb039c9a2a4b7971a74c1fc05e6274)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 300c585909743754e0e6662d48d43834c031b835)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Antonin Godard
a47165d780 ref-manual: add missing OPKGBUILDCMD variable
(From yocto-docs rev: 207dcc17f065760b6a28e762195ed2c48db95935)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit a6a2c8e48995200c9c3be7096f34d912427de145)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Antonin Godard
948b044d9c ref-manual: add missing EXTERNAL_KERNEL_DEVICETREE variable
This variable can be used to specify one or more compiled device tree or
device tree overlays to use in addition to the one compiled by the
kernel.

(From yocto-docs rev: 1a8c810eaab846379c6fc37960c7e41a5c7af9ba)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 6566ffceab3780dc5ecbfe26f786ebe6ff17e693)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Antonin Godard
c00c032e03 ref-manual: add missing TESTIMAGE_FAILED_QA_ARTIFACTS
This variable lists space-separated paths on the target to retrieve onto
the host, when inheriting testimage.

(From yocto-docs rev: 519a149521a01156c51b472d246ce0b01a74dbfc)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 2537642d2cdf844dc5f6027fb3097aac52162c1f)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Antonin Godard
90798fdc88 ref-manual: add missing CVE_CHECK manifest variables
Variables that can be used for toggling creation of manifest and
specifying the path to the output in the deploy directory.

(From yocto-docs rev: ec12435c8068c3fb78f11c9a550827e25beb6d67)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 14131a42a7ea8bbae2165c1b8dbcabd5f28b2b22)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Aleksandar Nikolic
86373fe16b ref-manual: introduce CVE_CHECK_REPORT_PATCHED variable
(From yocto-docs rev: e84fca10400b0f2862d7d0344fb19df5b1e6dc62)

Signed-off-by: Aleksandar Nikolic <an010@live.com>
Reviewed-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f585a68a8f35f31814e408dd973ea7345adbbacf)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Lee Chee Yang
ab921f9d4c migration-guides: add release notes for 5.0.4
(From yocto-docs rev: 659579ec4e5e1011c362cb51fe9d94c0e69a5b47)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Sergei Zhmylev
beb0bbf9f6 lsb-release: fix Distro Codename shell escaping
(From OE-Core rev: bcd4e6d77dc7455a453e69b6d37769ec94cc02ad)

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7b5824c547b1348713e992a8bebd40577a0c5709)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Jonas Gorski
43ab6d2a04 rootfs-postcommands.bbclass: make opkg status reproducible
opkg stores the current time as Installed-Time in its status file when
installing packages to the rootfs. Make this reproducible by replacing
Installed-Time with ${REPRODUCIBLE_TIMESTAMP_ROOTFS}, which then also
matches the files' datestamps.

Based on OpenWrt's approach for the issue [1].

[1] https://github.com/openwrt/openwrt/blob/main/include/rootfs.mk#L103

(From OE-Core rev: 0520ec21a0f595a68c2869dbe613633f0594d3d3)

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61a9b1b1cb618ce90ba7886036f41263075c07df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Ross Burton
7f10158815 icu: update patch Upstream-Status
(From OE-Core rev: d49f8eaf777152237b626750c17dbbcadd4c1939)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 717eb63df55f11d3eb4353ae1364a5781adfce76)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Jiaying Song
86c190e353 liba52: fix do_fetch error
Change the SRC_URI to the correct value due to the following error:

WARNING: liba52-0.7.4-r0.vr2401 do_fetch: Failed to fetch URL http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz, attempting MIRRORS if available

(From OE-Core rev: 2a95bb8acf3f212ceb5347bade00a7bdbc525022)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Bruce Ashfield
818c8bfb92 linux-yocto/6.6: update to v6.6.54
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    63a57420cf79 Linux 6.6.54
    cada2646b748 Revert: "dm-verity: restart or panic on an I/O error"
    646749b423c4 spi: atmel-quadspi: Fix wrong register value written to MR
    4c0c5dcb5471 x86/tdx: Fix "in-kernel MMIO" check
    440fba897c5a thunderbolt: Fix NULL pointer dereference in tb_port_update_credits()
    e2ab9fd64d4f thunderbolt: Fix minimum allocated USB 3.x and PCIe bandwidth
    3dc5525d59da thunderbolt: Send uevent after asymmetric/symmetric switch
    6b5630297e94 wifi: brcmfmac: add linefeed at end of file
    72a3aef9640e iio: magnetometer: ak8975: Fix 'Unexpected device' error
    18b5ee7bf700 perf/arm-cmn: Fail DTC counter allocation correctly
    e43caacf6110 usb: yurex: Fix inconsistent locking bug in yurex_read()
    790c630ab0e7 bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()
    7390c461264c Documentation: KVM: fix warning in "make htmldocs"
    d669e7829007 i2c: isch: Add missed 'else'
    88dfb1dd17d6 i2c: aspeed: Update the stop sw state when the bus recovery occurs
    b35a42bdaf18 mm/damon/vaddr: protect vma traversal in __damon_va_thre_regions() with rcu read lock
    6ec62dba4a19 module: Fix KCOV-ignored file name
    236eb2f95ad0 spi: fspi: add support for imx8ulp
    934760569134 mm: only enforce minimum stack gap size if it's sensible
    e1e734c1a085 lockdep: fix deadlock issue between lockdep and rcu
    bd24f30f5068 dm-verity: restart or panic on an I/O error
    b3c10ac84c5a bpf: lsm: Set bpf_lsm_blob_sizes.lbs_task to 0
    722e9e5acccf mm/filemap: optimize filemap folio adding
    734594d41c8e lib/xarray: introduce a new helper xas_get_order
    ff3c557fa93e mm/filemap: return early if failed to allocate memory for split
    4d0261cea469 thunderbolt: Improve DisplayPort tunnel setup process to be more robust
    aed38a3eaf65 thunderbolt: Configure asymmetric link if needed and bandwidth allows
    9b6933e9bddc thunderbolt: Add support for asymmetric link
    8f053095e13e thunderbolt: Introduce tb_switch_depth()
    e07bc5858e3e thunderbolt: Introduce tb_for_each_upstream_port_on_path()
    18dcdadc9941 thunderbolt: Introduce tb_port_path_direction_downstream()
    5ac89bb0062e thunderbolt: Change bandwidth reservations to comply USB4 v2
    7b85d751081b thunderbolt: Make is_gen4_link() available to the rest of the driver
    22081f720764 thunderbolt: Use weight constants in tb_usb3_consumed_bandwidth()
    c014f37411d5 thunderbolt: Use constants for path weight and priority
    ae2d54f5e5e9 thunderbolt: Create multiple DisplayPort tunnels if there are more DP IN/OUT pairs
    6870e5b499f1 thunderbolt: Expose tb_tunnel_xxx() log macros to the rest of the driver
    95f53ccfe6ed thunderbolt: Use tb_tunnel_dbg() where possible to make logging more consistent
    90135c317d17 thunderbolt: Fix debug log when DisplayPort adapter not available for pairing
    159b1b45300c dt-bindings: spi: nxp-fspi: add imx8ulp support
    eb95bd96465c dt-bindings: spi: nxp-fspi: support i.MX93 and i.MX95
    f56a6d9c267e btrfs: fix race setting file private on concurrent lseek using same fd
    971d03cd457a btrfs: update comment for struct btrfs_inode::lock
    a0cc053ba1e2 btrfs: reorder btrfs_inode to fill gaps
    0131bf19a141 btrfs: subpage: fix the bitmap dump which can cause bitmap corruption
    459b724c3c31 lib/bitmap: add bitmap_{read,write}()
    32e93cae4dc4 x86/entry: Remove unwanted instrumentation in common_interrupt()
    d5c5afdb9e1e x86/idtentry: Incorporate definitions/declarations of the FRED entries
    1d8c1add5e36 serial: don't use uninitialized value in uart_poll_init()
    88e26a196aa4 tty: serial: kgdboc: Fix 8250_* kgdb over serial
    73c1928a0076 pps: add an error check in parport_attach
    8b48ea27185d pps: remove usage of the deprecated ida_simple_xx() API
    aafeabf2765f usb: xhci: fix loss of data on Cadence xHC
    eef5d6219a81 xhci: Add a quirk for writing ERST in high-low order
    225643310df7 USB: misc: yurex: fix race between read and write
    eff6dde4c3a0 usb: yurex: Replace snprintf() with the safer scnprintf() variant
    8526ca3bc8af soc: versatile: realview: fix soc_dev leak during device remove
    c48d5ad1c4b8 soc: versatile: realview: fix memory leak during device remove
    f6bda3f118e3 ARM: dts: imx6ul-geam: fix fsl,pins property in tscgrp pinctrl
    45f690fae473 spi: fspi: involve lut_num for struct nxp_fspi_devtype_data
    1b8cf11b3ca5 padata: use integer wrap around to prevent deadlock on seq_nr overflow
    62004f17039d cpuidle: riscv-sbi: Use scoped device node handling to fix missing of_node_put
    662ec52260cc icmp: change the order of rate limits
    e0be8f2d64d6 EDAC/igen6: Fix conversion of system address to physical memory address
    2a4a997adb36 nfs: fix memory leak in error path of nfs4_do_reclaim
    4d3d0869eccb fs: Fix file_set_fowner LSM hook inconsistencies
    0eed942bc65d vfs: fix race between evice_inodes() and find_inode()&iput()
    ca2a69fdd6af arm64: dts: rockchip: Correct the Pinebook Pro battery design capacity
    eea02200cb8c arm64: dts: qcom: sa8775p: Mark APPS and PCIe SMMUs as DMA coherent
    4fff20cff6e2 arm64: dts: rockchip: Raise Pinebook Pro's panel backlight PWM frequency
    0e6774ec012b arm64: errata: Enable the AC03_CPU_38 workaround for ampere1a
    93e1215f3fe0 arm64: esr: Define ESR_ELx_EC_* constants as UL
    1b4089d56778 hwrng: cctrng - Add missing clk_disable_unprepare in cctrng_resume
    3fd8e444e824 hwrng: bcm2835 - Add missing clk_disable_unprepare in bcm2835_rng_init
    5ad4d0b64820 hwrng: mtk - Use devm_pm_runtime_enable
    7cb51731f24b f2fs: fix to check atomic_file in f2fs ioctl interfaces
    5e0de753bfe8 f2fs: Require FMODE_WRITE for atomic write ioctls
    56d865167992 f2fs: avoid potential int overflow in sanity_check_area_boundary()
    0c598a021718 f2fs: prevent possible int overflow in dir_block_index()
    b18a5c8382c8 f2fs: fix several potential integer overflows in file offsets
    4adf6514949f btrfs: always update fstrim_range on failure in FITRIM ioctl
    6a6a5751c06a btrfs: tree-checker: fix the wrong output of data backref objectid
    534230eebae5 debugobjects: Fix conditions in fill_pool()
    c1ba1f2ca1b8 wifi: mt76: mt7615: check devm_kasprintf() returned value
    eed8db8203a8 wifi: rtw88: 8822c: Fix reported RX band width
    de0cb07dc2c3 wifi: rtw88: 8821cu: Remove VID/PID 0bda:c82c
    8e4b60ae8a04 wifi: mt76: mt7996: fix NULL pointer dereference in mt7996_mcu_sta_bfer_he
    cf23427dd75b wifi: mt76: mt7915: check devm_kasprintf() returned value
    0a74a9b148d3 wifi: mt76: mt7921: Check devm_kasprintf() returned value
    cb0125ec3d99 perf/x86/intel/pt: Fix sampling synchronization
    19fd2f2c5fb3 efistub/tpm: Use ACPI reclaim memory for event log to avoid corruption
    ca659f380469 ACPI: resource: Add another DMI match for the TongFang GMxXGxx
    f0921ecd4ddc ACPI: sysfs: validate return type of _STR method
    df6a82a6b06e drbd: Add NULL check for net_conf to prevent dereference in state validation
    42ac42d79039 drbd: Fix atomicity violation in drbd_uuid_set_bm()
    a3028d70a563 crypto: ccp - Properly unregister /dev/sev on sev PLATFORM_STATUS failure
    633bd1d6be1a serial: qcom-geni: fix fifo polling timeout
    e29a1f8b74a9 xhci: Set quirky xHC PCI hosts to D3 _after_ stopping and freeing them.
    f7ba350f4e7d tty: rp2: Fix reset with non forgiving PCIe host bridges
    7420c1bf7fc7 firmware_loader: Block path traversal
    18ed6a331881 bus: mhi: host: pci_generic: Fix the name for the Telit FE990A
    3ae13d48686b bus: integrator-lm: fix OF node leak in probe()
    4f7908ebafd5 usb: dwc2: drd: fix clock gating on USB role switch
    19fb05d2e5c3 usb: cdnsp: Fix incorrect usb_request status
    a0b4cbeb0936 USB: class: CDC-ACM: fix race between get_serial and set_serial
    7bcd961dcb5a USB: misc: cypress_cy7c63: check for short transfer
    ef08eb1605f5 USB: appledisplay: close race between probe and completion handler
    090386dbedbc arm64: dts: mediatek: mt8195-cherry: Mark USB 3.0 on xhci1 as disabled
    1e44ee6cdd12 usbnet: fix cyclical race on disconnect with work queue
    d71300d07f39 wifi: rtw88: Fix USB/SDIO devices not transmitting beacons
    9ecd9d7ad7f0 can: esd_usb: Remove CAN_CTRLMODE_3_SAMPLES for CAN-USB/3-FD
    ccc87864b097 scsi: mac_scsi: Disallow bus errors during PDMA send
    0120c7762f25 scsi: mac_scsi: Refactor polling loop
    6e8dc2050a4a scsi: mac_scsi: Revise printk(KERN_DEBUG ...) messages
    09b06c2591fa scsi: ufs: qcom: Update MODE_MAX cfg_bw value
    568c7c4c77ee scsi: sd: Fix off-by-one error in sd_read_block_characteristics()
    facf1e49a04a ata: libata-scsi: Fix ata_msense_control() CDL page reporting
    6ab95e27b777 ksmbd: handle caseless file creation
    30fe2a885c28 ksmbd: allow write with FILE_APPEND_DATA
    3c1fd66a1914 ksmbd: make __dir_empty() compatible with POSIX
    ef83620438d7 fs: Create a generic is_dot_dotdot() utility
    ae619de5000b powerpc/atomic: Use YZ constraints for DS-form instructions
    a3765b497a4f KEYS: prevent NULL pointer dereference in find_asymmetric_key()
    c886061bbdd1 drm/amd/display: Validate backlight caps are sane
    9ce1ee22dc68 drm/amd/display: Round calculated vtotal
    55fcbe5f6086 drm/amd/display: Add HDMI DSC native YCbCr422 support
    a53841b074cc drm/amd/display: Skip Recompute DSC Params if no Stream on Link
    4777225ec89f KVM: Use dedicated mutex to protect kvm_usage_count to avoid deadlock
    beef3353c601 KVM: x86: Move x2APIC ICR helper above kvm_apic_write_nodecode()
    7eae461dc357 KVM: x86: Enforce x2APIC's must-be-zero reserved ICR bits
    d5d6489b9211 KVM: arm64: Add memory length checks and remove inline in do_ffa_mem_xfer
    0188ea5facba Input: i8042 - add another board name for TUXEDO Stellaris Gen5 AMD line
    09d94ac8b25f Input: i8042 - add TUXEDO Stellaris 15 Slim Gen6 AMD to i8042 quirk table
    c18dca92da2a Input: i8042 - add TUXEDO Stellaris 16 Gen5 AMD to i8042 quirk table
    2a26c3122d01 Input: adp5588-keys - fix check on return code
    cd6dd564ae7d iommufd: Protect against overflow of ALIGN() during iova allocation
    e48edd476291 Revert "media: tuners: fix error return code of hybrid_tuner_request_state()"
    a4c2fbed2037 soc: versatile: integrator: fix OF node leak in probe() error path
    c3533bf2ed1d soc: fsl: cpm1: tsa: Fix tsa_write8()
    543a3c7dbd5b ASoC: rt5682: Return devm_of_clk_add_hw_provider to transfer the error
    513d60f41945 Revert "soc: qcom: smd-rpm: Match rpmsg channel instead of compatible"
    02a370c4fc0f PCI: xilinx-nwl: Fix off-by-one in INTx IRQ handler
    3d8573abdc65 PCI: Use an error code with PCIe failed link retraining
    a200897dc704 PCI: Correct error reporting with PCIe failed link retraining
    f23785c6e7d3 PCI: imx6: Fix missing call to phy_power_off() in error handling
    b91d041e0756 PCI: dra7xx: Fix threaded IRQ request for "dra7xx-pcie-main" IRQ
    894f21117f63 PCI: Clear the LBMS bit after a link retrain
    fb1769573574 PCI: Revert to the original speed after PCIe failed link retraining
    38dee6edb700 Remove *.orig pattern from .gitignore
    01ad0576f092 io_uring/sqpoll: do not put cpumask on stack
    859f62a2f904 io_uring/sqpoll: retain test for whether the CPU is valid
    adbb44539b56 xen: allow mapping ACPI data using a different physical address
    161fd69123b0 xen: move checks for e820 conflicts further up
    79fec62d0f9b Revert "net: libwx: fix alloc msix vectors failed"
    0851b1ec650a drm/vmwgfx: Prevent unmapping active read buffers
    b5d38f1d4acb drm/amd/display: Fix Synaptics Cascaded Panamera DSC Determination
    49d3a4ad57c5 mm: call the security_mmap_file() LSM hook in remap_file_pages()
    4bdf75c2ef33 io_uring: check for presence of task_work rather than TIF_NOTIFY_SIGNAL
    358124ba2cea io_uring/sqpoll: do not allow pinning outside of cpuset
    da2bb8e177a4 netfilter: nf_tables: use rcu chain hook list iterator from netlink dump path
    b3f7607f2003 netfilter: ctnetlink: compile ctnetlink_label_size with CONFIG_NF_CONNTRACK_EVENTS
    668f4df6d6df netfilter: nf_tables: Keep deleted flowtable hooks until after RCU
    3e8ac2743d48 net: stmmac: set PP_FLAG_DMA_SYNC_DEV only if XDP is enabled
    e9e3424d6d4b virtio_net: Fix mismatched buf address when unmapping for small packets
    ccd3e6ff05e5 bonding: Fix unnecessary warnings and logs from bond_xdp_get_xmit_slave()
    00a0c2d49bb5 net: qrtr: Update packets cloning when broadcasting
    570f7d8c9bf1 tcp: check skb is non-NULL in tcp_rto_delta_us()
    88297d3c1a71 net: ipv6: select DST_CACHE from IPV6_RPL_LWTUNNEL
    d2abc3790718 net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition
    af4b8a704f26 netfilter: nf_reject_ipv6: fix nf_reject_ip6_tcphdr_put()
    89bab8310a0a net: xilinx: axienet: Fix packet counting
    bcce13930b2e net: xilinx: axienet: Schedule NAPI in two steps
    9360d077d319 Revert "dm: requeue IO if mapping table not yet available"
    66e78ade976d ep93xx: clock: Fix off by one in ep93xx_div_recalc_rate()
    ca64edd7ae93 vhost_vdpa: assign irq bypass producer token correctly
    70a180b8d84b cxl/pci: Fix to record only non-zero ranges
    c16fa6d5018b interconnect: icc-clk: Add missed num_nodes initialization
    257c7a39092e coresight: tmc: sg: Do not leak sg_table
    5060a1be9399 serial: 8250: omap: Cleanup on error in request_irq
    b8e45b910525 driver core: Fix a potential null-ptr-deref in module_add_driver()
    fdc637d4f5fb dt-bindings: iio: asahi-kasei,ak8975: drop incorrect AK09116 compatible
    7387270b6837 iio: magnetometer: ak8975: drop incorrect AK09116 compatible
    c5a4a27666e0 iio: magnetometer: ak8975: Convert enum->pointer for data in the match tables
    2bc96d4ea9e1 iio: chemical: bme680: Fix read/write ops to device by adding mutexes
    5d86a29db8a3 ABI: testing: fix admv8818 attr description
    dd69fb026c97 driver core: Fix error handling in driver API device_rename()
    0f115888eaa9 iio: adc: ad7606: fix standby gpio state to match the documentation
    48617707401e iio: adc: ad7606: fix oversampling gpio array
    30b9bf4b4107 nvme-multipath: system fails to create generic nvme device
    ecb8a79d21fb spi: atmel-quadspi: Avoid overwriting delay register settings
    54fd87259c85 lib/sbitmap: define swap_lock as raw_spinlock_t
    93773e446197 spi: spi-fsl-lpspi: Undo runtime PM changes at driver exit time
    2016d58567b6 spi: atmel-quadspi: Undo runtime PM changes at driver exit time
    649ec8b30df1 f2fs: fix to don't set SB_RDONLY in f2fs_handle_critical_error()
    f9ce2f550d53 f2fs: get rid of online repaire on corrupted directory
    66b1b8254d20 f2fs: clean up w/ dotdot_name
    364afd8aa824 f2fs: prevent atomic file from being dirtied before commit
    b6f186bd6aee f2fs: compress: don't redirty sparse cluster during {,de}compress
    4263b3ef81e4 f2fs: compress: do sanity check on cluster when CONFIG_F2FS_CHECK_FS is on
    fc18e655b62a f2fs: fix to avoid use-after-free in f2fs_stop_gc_thread()
    f2971778b2cb f2fs: support .shutdown in f2fs_sops
    783b6ca3428f f2fs: atomic: fix to truncate pagecache before on-disk metadata truncation
    1bb0686a2e8a f2fs: fix to wait page writeback before setting gcing flag
    87f9d26fcc50 f2fs: Create COW inode from parent dentry for atomic write
    67c3c4638f22 f2fs: fix to avoid racing in between read and OPU dio write
    6c59f87e1eea f2fs: reduce expensive checkpoint trigger frequency
    d889928bbc69 f2fs: atomic: fix to avoid racing w/ GC
    8edf3a4038f4 crypto: powerpc/p10-aes-gcm - Disable CRYPTO_AES_GCM_P10
    21b4fa3bffc0 crypto: caam - Pad SG length when allocating hash edesc
    318f70857caa nfsd: return -EINVAL when namelen is 0
    a1afbbb5276f nfsd: call cache_put if xdr_reserve_space returns NULL
    b743922b5aad ntb: Force physically contiguous allocation of rx ring buffers
    fd8932cf6b76 ntb_perf: Fix printk format
    16e5bed6c188 ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
    b15dd2aa7987 RDMA/irdma: fix error message in irdma_modify_qp_roce()
    0d50ae281a17 RDMA/cxgb4: Added NULL check for lookup_atid
    21ada6915c45 riscv: Fix fp alignment bug in perf_callchain_user()
    6eff336b103f RDMA/mlx5: Obtain upper net device only when needed
    e8721e9ba113 RDMA/hns: Fix restricted __le16 degrades to integer issue
    b3b7ff07675c RDMA/hns: Optimize hem allocation performance
    288ecfd3e8aa RDMA/hns: Fix 1bit-ECC recovery address in non-4K OS
    3ab289914eab RDMA/hns: Fix VF triggering PF reset in abnormal interrupt handler
    094a1821903f RDMA/hns: Fix spin_unlock_irqrestore() called with IRQs enabled
    69d9566822af RDMA/hns: Fix the overflow risk of hem_list_calc_ba_range()
    d2d9c5127122 RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08
    85e37ac13906 RDMA/hns: Don't modify rq next block addr in HIP09 QPC
    b972bade1578 watchdog: imx_sc_wdt: Don't disable WDT in suspend
    613a8d27d1e1 RDMA/mlx5: Limit usage of over-sized mkeys from the MR cache
    7838f6c8a64b RDMA/erdma: Return QP state in erdma_query_qp
    95248d7497bc PCI: kirin: Fix buffer overflow in kirin_pcie_parse_port()
    d08754be993f IB/core: Fix ib_cache_setup_one error flow cleanup
    4c49d34f87a2 pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function
    a685bc3524f3 nfsd: fix refcount leak when file is unhashed after being found
    982dfdfd59b1 nfsd: remove unneeded EEXIST error check in nfsd_do_file_acquire
    6ba262477994 clk: rockchip: rk3588: Fix 32k clock name for pmu_24m_32k_100m_src_p
    521d101e9e8f clk: starfive: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    8758691ea89a clk: ti: dra7-atl: Fix leak of of_nodes
    01b9be936ee8 RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds
    effc10f00cf8 RDMA/rtrs: Reset hb_missed_cnt after receiving other traffic from peer
    c6b9f971b439 media: mediatek: vcodec: Fix H264 stateless decoder smatch warning
    dbe5b7373801 media: mediatek: vcodec: Fix VP8 stateless decoder smatch warning
    588bcce9e64c media: mediatek: vcodec: Fix H264 multi stateless decoder smatch warning
    08d13bcb9cea clk: at91: sama7g5: Allocate only the needed amount of memory for PLLs
    b6edb3fd96bf pinctrl: single: fix missing error code in pcs_probe()
    8b7df76356d0 RDMA/iwcm: Fix WARNING:at_kernel/workqueue.c:#check_flush_dependency
    451249bb8d44 media: platform: rzg2l-cru: rzg2l-csi2: Add missing MODULE_DEVICE_TABLE
    4f201a94ac52 PCI: xilinx-nwl: Clean up clock on probe failure/removal
    f1058b0780b4 PCI: xilinx-nwl: Fix register misspelling
    18a672c62d73 nvdimm: Fix devs leaks in scan_labels()
    e39cc0c37d7c x86/PCI: Check pcie_find_root_port() return for NULL
    597c72f4d162 leds: pca995x: Fix device child node usage in pca995x_probe()
    d14451d91a11 leds: pca995x: Use device_for_each_child_node() to access device child nodes
    dbba3fce3e2f leds: leds-pca995x: Add support for NXP PCA9956B
    583314ebaae7 clk: qcom: dispcc-sm8250: use special function for Lucid 5LPE PLL
    4ddb580089e3 clk: qcom: ipq5332: Register gcc_qdss_tsctr_clk_src
    e85ab507882d PCI: keystone: Fix if-statement expression in ks_pcie_quirk()
    8e152448d0a0 firewire: core: correct range of block for case of switch statement
    390de4d01bc1 PCI: Wait for Link before restoring Downstream Buses
    58f31be7dfbc drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error
    527ab3eb3b0b drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error
    075a0ce1fa28 Input: ilitek_ts_i2c - add report id message validation
    831886bf1a5a Input: ilitek_ts_i2c - avoid wrong input subsystem sync
    a3552e2f7d30 pinctrl: ti: ti-iodelay: Fix some error handling paths
    85427d5109c2 pinctrl: ti: iodelay: Use scope based of_node_put() cleanups
    ccc7cdf49634 pinctrl: Use device_get_match_data()
    a12e8a92909e pinctrl: ti: ti-iodelay: Convert to platform remove callback returning void
    bbf297b4cdc1 leds: bd2606mvv: Fix device child node usage in bd2606mvv_probe()
    676bf8fcf387 clk: qcom: dispcc-sm8550: use rcg2_shared_ops for ESC RCGs
    ffb0ae195b28 clk: qcom: dispcc-sm8650: Update the GDSC flags
    65a25e42a491 clk: qcom: dispcc-sm8550: use rcg2_ops for mdss_dptx1_aux_clk_src
    59938d4f05f4 clk: qcom: dispcc-sm8550: fix several supposed typos
    77c859e8b8a9 clk: rockchip: Set parent rate for DCLK_VOP clock on RK3228
    d271e66f74b5 remoteproc: imx_rproc: Initialize workqueue earlier
    2941577c764b remoteproc: imx_rproc: Correct ddr alias for i.MX8M
    af70d9395d7c clk: imx: imx8qxp: Parent should be initialized earlier than the clock
    d64513b2dab1 clk: imx: imx8qxp: Register dc0_bypass0_clk before disp clk
    5b44298953f3 clk: imx: imx8mp: fix clock tree update of TF-A managed clocks
    908165b5d369 clk: imx: fracn-gppll: fix fractional part of PLL getting lost
    ed323659a011 clk: imx: composite-7ulp: Check the PCC present bit
    c1eb71fd985d clk: imx: composite-93: keep root clock on when mcore enabled
    73034d130b0a clk: imx: composite-8m: Enable gate clk with mcore_booted
    554c590d229d clk: imx: composite-8m: Less function calls in __imx8m_clk_hw_composite() after error detection
    c2ee6de22dac clk: imx: imx6ul: fix default parent for enet*_ref_sel
    bd553be1cfb2 clk: imx: clk-audiomix: Correct parent clock for earc_phy and audpll
    3ba5a2e91c70 perf time-utils: Fix 32-bit nsec parsing
    022f9328ef17 perf sched timehist: Fixed timestamp error when unable to confirm event sched_in time
    fa0720b32afa perf stat: Display iostat headers correctly
    505ec05002c7 perf sched timehist: Fix missing free of session in perf_sched__timehist()
    88c4b5dd2107 perf report: Fix --total-cycles --stdio output error
    297871cb5115 perf ui/browser/annotate: Use global annotation_options
    4c857dcf34a5 perf annotate: Move some source code related fields from 'struct annotation' to 'struct annotated_source'
    4ef032d89995 perf annotate: Split branch stack cycles info from 'struct annotation'
    ba18185bea37 perf inject: Fix leader sampling inserting additional samples
    1490a5dbd55f perf mem: Free the allocated sort string, fixing a leak
    a634fa8e480a bpf: Zero former ARG_PTR_TO_{LONG,INT} args in case of error
    abf7559b4ff6 bpf: Improve check_raw_mode_ok test for MEM_UNINIT-tagged types
    a2c8dc7e2180 bpf: Fix helper writes to read-only maps
    81197a9b4510 bpf: Fix bpf_strtol and bpf_strtoul helpers for 32bit
    257f9e5185eb nilfs2: fix potential oob read in nilfs_btree_check_delete()
    0f28b3b51fc1 nilfs2: determine empty node blocks as corrupted
    21839b6fbc3c nilfs2: fix potential null-ptr-deref in nilfs_btree_insert()
    66f3fc741177 sched/numa: Fix the vma scan starving issue
    e3a2d3f6c40e sched/numa: Complete scanning of inactive VMAs when there is no alternative
    cb7846df6b4f sched/numa: Complete scanning of partial VMAs regardless of PID activity
    7f01977665d7 sched/numa: Move up the access pid reset logic
    6654e54ae7e7 sched/numa: Trace decisions related to skipping VMAs
    707e9a6c880f sched/numa: Rename vma_numab_state::access_pids[] => ::pids_active[], ::next_pid_reset => ::pids_active_reset
    ba4eb7f25886 sched/numa: Document vma_numab_state fields
    faeff8b1ee2e ext4: check stripe size compatibility on remount as well
    2a6579ef5f25 ext4: avoid OOB when system.data xattr changes underneath the filesystem
    dd3f90e8c470 ext4: return error on ext4_find_inline_entry
    9f70768554ac ext4: avoid negative min_clusters in find_group_orlov()
    fae0793abdab ext4: avoid potential buffer_head leak in __ext4_new_inode()
    7a349feead81 ext4: avoid buffer_head leak in ext4_mark_inode_used()
    72eef5226fbe smackfs: Use rcu_assign_pointer() to ensure safe assignment in smk_set_cipso
    e4006410b0f5 ext4: clear EXT4_GROUP_INFO_WAS_TRIMMED_BIT even mount with discard
    cfd257f5e85b kthread: fix task state in kthread worker if being frozen
    b7d6e724e42a xz: cleanup CRC32 edits from 2018
    2288b54b96dc bpf: correctly handle malformed BPF_CORE_TYPE_ID_LOCAL relos
    fc2b89707e47 samples/bpf: Fix compilation errors with cf-protection option
    33ef0b25b022 selftests/bpf: Fix error compiling tc_redirect.c with musl libc
    8553067f1cae selftests/bpf: Fix compile if backtrace support missing in libc
    7824530b80ba selftests/bpf: Fix redefinition errors compiling lwt_reroute.c
    a7d322fd3be8 selftests/bpf: Fix flaky selftest lwt_redirect/lwt_reroute
    fb99b106ad38 selftests/bpf: Fix C++ compile error from missing _Bool type
    99c03869599c selftests/bpf: Fix error compiling test_lru_map.c
    564d1abf506b selftests/bpf: Fix arg parsing in veristat, test_progs
    d57f8de839e4 selftests/bpf: Fix errors compiling cg_storage_multi.h with musl libc
    96416a7e4884 selftests/bpf: Fix errors compiling decap_sanity.c with musl libc
    0bc023e2f600 selftests/bpf: Fix errors compiling lwt_redirect.c with musl libc
    397192f81476 selftests/bpf: Fix compiling core_reloc.c with musl-libc
    227b50fe66eb selftests/bpf: Fix compiling tcp_rtt.c with musl-libc
    fe81b3df3cf9 selftests/bpf: Fix compiling flow_dissector.c with musl-libc
    7d8d5840453a selftests/bpf: Fix compiling kfree_skb.c with musl-libc
    425d4934e4f8 selftests/bpf: Fix compiling parse_tcp_hdr_opt.c with musl-libc
    52f5ed9461f4 selftests/bpf: Fix include of <sys/fcntl.h>
    4730b07ef774 selftests/bpf: Add a cgroup prog bpf_get_ns_current_pid_tgid() test
    17536f3b7262 selftests/bpf: Refactor out some functions in ns_current_pid_tgid test
    d6e16c33e093 selftests/bpf: Replace CHECK with ASSERT_* in ns_current_pid_tgid test
    bedda119babc selftests/bpf: Fix missing BUILD_BUG_ON() declaration
    4bff8cc537ce selftests/bpf: Fix missing UINT_MAX definitions in benchmarks
    2388d181667a selftests/bpf: Fix missing ARRAY_SIZE() definition in bench.c
    103c0431c7fb selftests/bpf: Drop unneeded error.h includes
    c8c590f07ad7 selftests/bpf: Implement get_hw_ring_size function to retrieve current and max interface size
    7c877bad03fb selftests/bpf: Fix error compiling bpf_iter_setsockopt.c with musl libc
    db5cde7b4386 selftests/bpf: Fix compile error from rlim_t in sk_storage_map.c
    7572c32f8ef2 selftests/bpf: Use pid_t consistently in test_progs.c
    b0b99c1226ea tools/runqslower: Fix LDFLAGS and add LDLIBS support
    cd1b7f772f56 selftests/bpf: Fix wrong binary in Makefile log output
    97e4a3ba9de7 selftests/bpf: Add CFLAGS per source file and runner
    5d99839bfe1c bpf: Temporarily define BPF_NO_PRESEVE_ACCESS_INDEX for GCC
    01aa0d2861be bpf: Disable some `attribute ignored' warnings in GCC
    5de3bd34dd5b bpf: Use -Wno-error in certain tests when building with GCC
    b6529a310dfa selftests/bpf: Fix error linking uprobe_multi on mips
    e7d263b2947c selftests/bpf: Workaround strict bpf_lsm return value check.
    5a4f8de92dd7 sched/fair: Make SCHED_IDLE entity be preempted in strict hierarchy
    82478cb8a23b tpm: Clean up TPM space after command failure
    9c21cdae4b93 xen/swiotlb: fix allocated size
    d1691e977860 xen/swiotlb: add alignment check for dma buffers
    ac8ec1268e7a xen: tolerate ACPI NVS memory overlapping with Xen allocated memory
    149fbd6aecdb xen: add capability to remap non-RAM pages to different PFNs
    f12153eece97 xen: move max_pfn in xen_memory_setup() out of function scope
    242d0c3c40cc xen: introduce generic helper checking for memory map conflicts
    35a10211dec2 minmax: avoid overly complex min()/max() macro arguments in xen
    27f113dc120c ata: libata: Clear DID_TIME_OUT for ATA PT commands with sense data
    f7b4ba5f78f2 HID: wacom: Do not warn about dropped packets for first packet
    85572bf646e4 HID: wacom: Support sequence numbers smaller than 16-bit
    cafeba3c2a1f xen: use correct end address of kernel for conflict checking
    37c40c01cf1a drivers:drm:exynos_drm_gsc:Fix wrong assignment in gsc_bind()
    614773a4e536 drm/msm: fix %s null argument error
    476945372b1f drm/msm/dsi: correct programming sequence for SM8350 / SM8450
    52d571a21349 ipmi: docs: don't advertise deprecated sysfs entries
    cbd26fc9ec4c drm/msm/a5xx: workaround early ring-buffer emptiness check
    d9bef5ba5638 drm/msm/a5xx: fix races in preemption evaluation stage
    dfd012052bfb drm/msm/a5xx: properly clear preemption records on resume
    b9415145327c drm/msm/a5xx: disable preemption in submits by default
    7e34440a3d06 drm/msm: Fix incorrect file name output in adreno_request_fw()
    a02d92e8eb55 powerpc/vdso: Inconditionally use CFUNC macro
    efdf2af50b31 powerpc/8xx: Fix kernel vs user address comparison
    6b7a006ab003 powerpc/8xx: Fix initial memory mapping
    415a2c218370 drm/mediatek: Use spin_lock_irqsave() for CRTC event lock
    5b9b8cd28950 drm/mediatek: Fix missing configuration flags in mtk_crtc_ddp_config()
    c1ba4b8ca799 jfs: fix out-of-bounds in dbNextAG() and diAlloc()
    baeb8628ab7f scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del()
    9263023a0b04 drm/vc4: hdmi: Handle error case of pm_runtime_resume_and_get
    087b88088015 drm/bridge: lontium-lt8912b: Validate mode in drm_bridge_funcs::mode_valid()
    fa94d60546d2 drm/radeon/evergreen_cs: fix int overflow errors in cs track offsets
    656803ab1ad2 drm/rockchip: dw_hdmi: Fix reading EDID when using a forced mode
    9ec05e0b4ac4 drm/rockchip: vop: Allow 4096px width scaling
    8e7760ed234f drm/amd/amdgpu: Properly tune the size of struct
    53c18f7baf0c scsi: NCR5380: Check for phase match during PDMA fixup
    464fd60a16d2 scsi: smartpqi: revert propagate-the-multipath-failure-to-SML-quickly
    de67850b4019 drm/radeon: properly handle vbios fake edid sizing
    78b9e10b3bd1 drm/amdgpu: properly handle vbios fake edid sizing
    ddf9ff244d70 drm/amd/display: Add null check for set_output_gamma in dcn30_set_output_transfer_func
    fc8b0b8dbdba drm/stm: ltdc: check memory returned by devm_kzalloc()
    6e513c2e9460 drm/stm: Fix an error handling path in stm_drm_platform_probe()
    8e6f4aa43b79 pmdomain: core: Harden inter-column space in debug summary
    c390a26db31a iommu/arm-smmu-qcom: apply num_context_bank fixes for SDM630 / SDM660
    7acaef4f28b6 iommu/arm-smmu-qcom: Work around SDM845 Adreno SMMU w/ 16K pages
    324e1ec46356 iommu/arm-smmu-qcom: hide last LPASS SMMU context bank from linux
    0f0222d5abe9 mtd: rawnand: mtk: Fix init error path
    e502a0db3422 mtd: rawnand: mtk: Factorize out the logic cleaning mtk chips
    ca63b1cbcd99 mtd: rawnand: mtk: Use for_each_child_of_node_scoped()
    9b52ee18f6d2 rcu/nocb: Fix RT throttling hrtimer armed from offline CPU
    4e31e504201f mtd: powernv: Add check devm_kasprintf() returned value
    e109a01f3d56 iommu/amd: Do not set the D bit on AMD v2 table entries
    9b97d6b08b7f fbdev: hpfb: Fix an error handling path in hpfb_dio_probe()
    508a550eec10 power: supply: max17042_battery: Fix SOC threshold calc w/ no current sense
    05dba1274e7d power: supply: axp20x_battery: Remove design from min and max voltage
    cbb2313e76d3 hwmon: (ntc_thermistor) fix module autoloading
    590960a5b3b3 mtd: slram: insert break after errors in parsing the map
    0a27e17475d4 hwmon: (max16065) Fix alarm attributes
    fc702f5c3d24 hwmon: (max16065) Remove use of i2c_match_id()
    0c7af15f64b6 hwmon: (max16065) Fix overflows seen when writing limits
    f606b9ac4abb ASoC: loongson: fix error release
    886ea81de41f m68k: Fix kernel_clone_args.flags in m68k_clone()
    cc08ac5f42c3 ALSA: hda: cs35l41: fix module autoloading
    c239cfa322ee selftests/ftrace: Add required dependency for kprobe tests
    7000e5f31ccf ASoC: tas2781-i2c: Get the right GPIO line
    92b53ece5d37 ASoC: tas2781-i2c: Drop weird GPIO code
    ac7976b67277 ASoC: tas2781: Use of_property_read_reg()
    c0f652180696 ASoC: tas2781: remove unused acpi_subysystem_id
    06a95f7184ab ASoC: rt5682s: Return devm_of_clk_add_hw_provider to transfer the error
    17c72808dbbd x86/mm: Use IPIs to synchronize LAM enablement
    ecd4adebb852 arm64: dts: mediatek: mt8195: Correct clock order for dp_intf*
    27106b0a292e clocksource/drivers/qcom: Add missing iounmap() on errors in msm_dt_timer_init()
    ee7e02e780f1 reset: k210: fix OF node leak in probe() error path
    cfbf049d1605 reset: berlin: fix OF node leak in probe() error path
    b2cce50abd4e ARM: versatile: fix OF node leak in CPUs prepare
    01f986dc6411 ARM: dts: imx7d-zii-rmu2: fix Ethernet PHY pinctrl property
    58bd96e5ec45 ARM: dts: microchip: sama7g5: Fix RTT clock
    e91e803da1e5 spi: bcmbca-hsspi: Fix missing pm_runtime_disable()
    7c84cb5a3990 arm64: dts: ti: k3-j721e-beagleboneai64: Fix reversed C6x carveout locations
    ff8444011fe5 arm64: dts: ti: k3-j721e-sk: Fix reversed C6x carveout locations
    6d91b3f570ab arm64: dts: rockchip: Correct vendor prefix for Hardkernel ODROID-M1
    c742692fad4a ARM: dts: microchip: sam9x60: Fix rtc/rtt clocks
    514265b1f154 arm64: dts: renesas: r9a07g044: Correct GICD and GICR sizes
    c2bae2675ca6 arm64: dts: renesas: r9a07g054: Correct GICD and GICR sizes
    7d0be3622399 arm64: dts: renesas: r9a07g043u: Correct GICD and GICR sizes
    1ccd886abf45 regulator: Return actual error in of_regulator_bulk_get_all()
    3bf127bc2695 spi: ppc4xx: Avoid returning 0 when failed to parse and map IRQ
    6699567b0bbb firmware: arm_scmi: Fix double free in OPTEE transport
    bd7fa63736c7 arm64: dts: mediatek: mt8186: Fix supported-hw mask for GPU OPPs
    8d81cd1a048a arm64: dts: exynos: exynos7885-jackpotlte: Correct RAM amount to 4GB
    1b08f7b5f56d spi: ppc4xx: handle irq_of_parse_and_map() errors
    80f5bfbb80ea block: fix potential invalid pointer dereference in blk_add_partition
    0d7ddfc89284 block: print symbolic error name instead of error code
    5740c0fa9367 io_uring/io-wq: inherit cpuset of cgroup in io worker
    7b3a35584db4 io_uring/io-wq: do not allow pinning outside of cpuset
    c3eba0a4e940 block, bfq: fix procress reference leakage for bfqq in merge chain
    0780451f03bf block, bfq: fix uaf for accessing waker_bfqq after splitting
    0c9b52bfee0e erofs: fix incorrect symlink detection in fast symlink
    81b048b9484b cachefiles: Fix non-taking of sb_writers around set/removexattr
    19f3bec2ac4b block, bfq: don't break merge chain in bfq_split_bfqq()
    e50c9a352676 block, bfq: choose the last bfqq from merge chain in bfq_setup_cooperator()
    7faed2896d78 block, bfq: fix possible UAF for bfqq->bic with merge chain
    6e73b946a379 nbd: fix race between timeout and normal completion
    75a5e5909b1f ublk: move zone report data out of request pdu
    0ceb2f2b5c81 ipv6: avoid possible NULL deref in rt6_uncached_list_flush_dev()
    2b5e904deabb net: tipc: avoid possible garbage value
    a46add42bd06 net: ipv6: rpl_iptunnel: Fix memory leak in rpl_input
    50d062b6cc90 r8169: disable ALDPS per default for RTL8125
    1e8fc4ffa955 net: enetc: Use IRQF_NO_AUTOEN flag in request_irq()
    905e83c61bdc bareudp: Pull inner IP header on xmit.
    61761f08e361 bareudp: Pull inner IP header in bareudp_udp_encap_recv().
    a4a70cba57aa Bluetooth: btusb: Fix not handling ZPL/short-transfer
    d7572187bce6 can: m_can: m_can_close(): stop clocks after device has been shut down
    7fb4f5605c3e can: m_can: enable NAPI before enabling interrupts
    c3d941cc734e can: bcm: Clear bo->bcm_proc_read after remove_proc_entry().
    80bd490ac0a3 sock_map: Add a cond_resched() in sock_hash_free()
    7eebbdde4b94 Bluetooth: hci_sync: Ignore errors from HCI_OP_REMOTE_NAME_REQ_CANCEL
    ea8d90a5b04a Bluetooth: hci_core: Fix sending MGMT_EV_CONNECT_FAILED
    84398204c5df wifi: wilc1000: fix potential RCU dereference issue in wilc_parse_join_bss_param
    058c9026ad79 wifi: mac80211: use two-phase skb reclamation in ieee80211_do_stop()
    cacdc1189841 wifi: cfg80211: fix two more possible UBSAN-detected off-by-one errors
    2780657f7f53 wifi: mt76: mt7996: fix uninitialized TLV data
    2d9f3e56b9d5 wifi: mt76: mt7996: ensure 4-byte alignment for beacon commands
    15c1d606fa75 wifi: mt76: mt7915: fix rx filter setting for bfee functionality
    9f05824b35a4 wifi: cfg80211: fix UBSAN noise in cfg80211_wext_siwscan()
    0940196c3d62 wifi: mt76: mt7603: fix mixed declarations and code
    aa3e0db35a60 crypto: hisilicon/qm - inject error before stopping queue
    8b21a9b1d8f0 crypto: hisilicon/qm - reset device before enabling it
    7803e8cdaa84 crypto: hisilicon/hpre - mask cluster timeout error
    4589bb97e42f pm:cpupower: Add missing powercap_set_enabled() stub function
    fb2d057539ed x86/sgx: Fix deadlock in SGX NUMA node search
    6f68e1e9ade6 wifi: mt76: mt7996: fix EHT beamforming capability check
    c07082fa2421 wifi: mt76: mt7996: fix HE and EHT beamforming capabilities
    29516e5db9c6 wifi: mt76: mt7996: fix wmm set of station interface to 3
    7146e5aeff6d wifi: mt76: mt7996: fix traffic delay when switching back to working channel
    50d87e3b7098 wifi: mt76: mt7996: use hweight16 to get correct tx antenna
    818dd118f4a9 wifi: mt76: mt7915: fix oops on non-dbdc mt7986
    4d3608ae154b cpufreq: ti-cpufreq: Introduce quirks to handle syscon fails appropriately
    c902e515b6b4 perf/arm-cmn: Ensure dtm_idx is big enough
    5418a61e3207 perf/arm-cmn: Fix CCLA register offset
    a687d9d1fedd perf/arm-cmn: Refactor node ID handling. Again.
    a1b25661a04a perf/arm-cmn: Improve debugfs pretty-printing for large configs
    f5c4ec8d0e2f perf/arm-cmn: Rework DTC counters (again)
    814b8bc5cc0a netfilter: nf_tables: remove annotation to access set timeout while holding lock
    9431e5eddcc1 netfilter: nf_tables: reject expiration higher than timeout
    2a5e648a0cb6 netfilter: nf_tables: reject element expiration with no timeout
    08b25d59ffb0 netfilter: nf_tables: elements with timeout below CONFIG_HZ never expire
    8ad28208be7b ACPI: CPPC: Fix MASK_VAL() usage
    fa3ef5ea3ff4 can: j1939: use correct function name in comment
    37c5024e464c kselftest/arm64: Actually test SME vector length changes via sigreturn
    666a46a90f18 drivers/perf: hisi_pcie: Fix TLP headers bandwidth counting
    6206a0edb29b drivers/perf: hisi_pcie: Record hardware counts correctly
    39dd1f1f48d3 padata: Honor the caller's alignment in case of chunk_size 0
    1661f1352b55 wifi: iwlwifi: mvm: increase the time between ranging measurements
    2c4a7b501422 wifi: iwlwifi: config: label 'gl' devices as discrete
    305b7827cf5d wifi: iwlwifi: remove AX101, AX201 and AX203 support from LNL
    d54455a3a965 wifi: mac80211: don't use rate mask for offchannel TX either
    3b839d461904 drivers/perf: Fix ali_drw_pmu driver interrupt status clearing
    be158b7e6a46 kselftest/arm64: signal: fix/refactor SVE vector length enumeration
    288cbc505e20 powercap: intel_rapl: Fix off by one in get_rpi()
    9fc60f2bdd43 ARM: 9410/1: vfp: Use asm volatile in fmrx/fmxr macros
    c82ea72d96dd mount: handle OOM on mnt_warn_timestamp_expiry
    032ca566f589 RISC-V: KVM: Fix to allow hpmcounter31 from the guest
    3c39f253e2c9 RISC-V: KVM: Allow legacy PMU access from guest
    a72a99da7a8f RISC-V: KVM: Fix sbiret init before forwarding to userspace
    07b90bbfe9c9 wifi: rtw88: remove CPT execution branch never used
    32ba3160889e arm64: signal: Fix some under-bracketed UAPI macros
    f0525a641a4a net: stmmac: dwmac-loongson: Init ref and PTP clocks rate
    0a9445aa8e8f wifi: ath12k: fix invalid AMPDU factor calculation in ath12k_peer_assoc_h_he()
    aafd6ad1d9d6 wifi: ath12k: match WMI BSS chan info structure with firmware definition
    d45fe0115edf wifi: ath12k: fix BSS chan info request WMI command
    dda028a8aa3c wifi: ath9k: Remove error checks when creating debugfs entries
    fb1862ce2664 wifi: brcmfmac: introducing fwil query functions
    c3cfcf51b4e0 wifi: brcmfmac: export firmware interface functions
    9349283fc6b8 ACPI: PMIC: Remove unneeded check in tps68470_pmic_opregion_probe()
    e55fcc821db0 crypto: xor - fix template benchmarking
    1b8178a2ae27 wifi: rtw88: always wait for both firmware loading attempts
    b3e360e00d21 EDAC/synopsys: Fix error injection on Zynq UltraScale+
    23752ababd72 EDAC/synopsys: Fix ECC status and IRQ control race condition
    4ad9fa5c30ed Linux 6.6.53
    51297ef7ad78 USB: usbtmc: prevent kernel-usb-infoleak
    39d69238899a USB: serial: pl2303: add device id for Macrosilicon MS3020
    3a2532d88251 can: mcp251xfd: move mcp251xfd_timestamp_start()/stop() into mcp251xfd_chip_start/stop()
    fa45741f1e90 can: mcp251xfd: properly indent labels
    26b0a1cd9f22 x86/mm: Switch to new Intel CPU model defines
    ab51a98de8d5 nvme-pci: qdepth 1 quirk
    c4e98006092b gpiolib: cdev: Ignore reconfiguration without direction
    53dc61ae5cff Revert "wifi: cfg80211: check wiphy mutex is held for wdev mutex"
    424bd79517ce netfilter: nf_tables: missing iterator type in lookup walk
    f24d8abc2bb8 netfilter: nft_set_pipapo: walk over current view on netlink dump
    94d6fe6b6e6e netfilter: nft_socket: Fix a NULL vs IS_ERR() bug in nft_socket_cgroup_subtree_level()
    f07e28e4c623 netfilter: nft_socket: make cgroupsv2 matching work with namespaces
    ea71c39d4638 powercap/intel_rapl: Add support for AMD family 1Ah
    e615cd84dcf8 drm: Expand max DRM device number to full MINORBITS
    f6b589e36153 accel: Use XArray instead of IDR for minors
    d2e3d344e20e drm: Use XArray instead of IDR for minors
    c726dea9d0c8 ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()
    1f6e167d6753 ocfs2: add bounds checking to ocfs2_xattr_find_entry()
    4c21bba38b94 spi: spidev: Add missing spi_device_id for jg10309-01
    c20e89c96f14 block: Fix where bio IO priority gets set
    532ba43dcef8 tools: hv: rm .*.cmd when make clean
    f0759b097377 x86/hyperv: Set X86_FEATURE_TSC_KNOWN_FREQ when Hyper-V provides frequency
    fabc4ed200f9 smb: client: fix hang in wait_for_response() for negproto
    e79896417c03 spi: bcm63xx: Enable module autoloading
    745fe9f19d04 drm: komeda: Fix an issue related to normalized zpos
    d7c126497de6 ALSA: hda: add HDMI codec ID for Intel PTL
    16fb61afffdb ASoC: amd: yc: Add a quirk for MSI Bravo 17 (D7VEK)
    a9affc6dd8b0 spi: spidev: Add an entry for elgin,jg10309-01
    5a8f8d49bcd7 ASoC: fix module autoloading
    b3cc98bd86e8 ASoC: tda7419: fix module autoloading
    1803f06c86b0 ASoC: google: fix module autoloading
    7675ab5900a8 ASoC: intel: fix module autoloading
    ec39e3104a77 ASoC: Intel: soc-acpi-cht: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    740253ebb552 can: mcp251xfd: mcp251xfd_ring_init(): check TX-coalescing configuration
    021cd8f0e479 wifi: iwlwifi: clear trans->state earlier upon error
    9902dacd5b0b wifi: mac80211: free skb on error path in ieee80211_beacon_get_ap()
    4d0a900ec470 wifi: iwlwifi: mvm: don't wait for tx queues if firmware is dead
    2c61b561baf9 wifi: iwlwifi: mvm: pause TCM when the firmware is stopped
    8587a0ed5f07 wifi: iwlwifi: mvm: fix iwl_mvm_max_scan_ie_fw_cmd_room()
    0d07f12e1f06 wifi: iwlwifi: mvm: fix iwl_mvm_scan_fits() calculation
    dfa94a93f7b7 wifi: iwlwifi: lower message level for FW buffer destination
    8a834f251f6c LoongArch: Define ARCH_IRQ_INIT_FLAGS as IRQ_NOPROBE
    d44cfa992b6b net: ftgmac100: Ensure tx descriptor updates are visible
    001eaeaac79d platform/x86: x86-android-tablets: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    1bab72a2b985 microblaze: don't treat zero reserved memory regions as error
    76f74a1c3d5d hwmon: (asus-ec-sensors) remove VRM temp X570-E GAMING
    af08f4506114 pinctrl: at91: make it work with current gpiolib
    013180bf2314 scsi: lpfc: Fix overflow build issue
    49a9fe95eb6f ALSA: hda/realtek - FIxed ALC285 headphone no sound
    4a31d48c096b ALSA: hda/realtek - Fixed ALC256 headphone no sound
    50dcf4b7b76c ASoC: allow module autoloading for table board_ids
    b7420317a90d ASoC: allow module autoloading for table db1200_pids
    0627ba94347b ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile
    aef267374152 ASoC: SOF: mediatek: Add missing board compatible
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: e5b89f3b426a06fea79ef550cc90fa7b51a4450f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 533d46e8c01994a0c2d89d0758fc6b0e7f1174f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Bruce Ashfield
f619e371a1 linux-yocto/6.6: update to v6.6.52
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    561bbd55f91a Linux 6.6.52
    bd9c3c2d7e44 riscv: dts: starfive: add assigned-clock* to limit frquency
    e43364f578cd ASoC: meson: axg-card: fix 'use-after-free'
    2a01f3b7b19b pinctrl: meteorlake: Add Arrow Lake-H/U ACPI ID
    b9d510e08504 cifs: Fix signature miscalculation
    6ec7cbc7f578 ASoC: codecs: avoid possible garbage value in peb2466_reg_read()
    86238603c8f4 drm/i915/guc: prevent a possible int overflow in wq offsets
    f9e08c201705 spi: geni-qcom: Fix incorrect free_irq() sequence
    64cdc5d11442 spi: geni-qcom: Undo runtime PM changes at driver exit time
    ff65ae25d3cb drm/amd/amdgpu: apply command submission parser for JPEG v1
    54268468399e drm/amdgpu/atomfirmware: Silence UBSAN warning
    def80cdb2676 drm/nouveau/fb: restore init() for ramgp102
    eb7fc8b65cea dma-buf: heaps: Fix off-by-one in CMA heap fault handler
    8e1ffb257982 drm/syncobj: Fix syncobj leak in drm_syncobj_eventfd_ioctl
    28425a10a4fa soundwire: stream: Revert "soundwire: stream: fix programming slave ports for non-continous port maps"
    af9ca9ca3e44 spi: nxp-fspi: fix the KASAN report out-of-bounds bug
    a8632ef4fc13 tracing/osnoise: Fix build when timerlat is not enabled
    34fcac26216c net: dpaa: Pad packets to ETH_ZLEN
    fc8c0cec1b48 net: dsa: felix: ignore pending status of TAS module when it's disabled
    83e6fb59040e netfilter: nft_socket: fix sk refcount leaks
    033a71efabac selftests: net: csum: Fix checksums for packets with non-zero padding
    38859fb5bdb6 net: ftgmac100: Enable TX interrupt to avoid TX timeout
    5bfbf2c18cf5 octeontx2-af: Modify SMQ flush sequence to drop packets
    7ae890ee1947 fou: fix initialization of grc
    65feee671e37 net/mlx5: Fix bridge mode operations when there are no VFs
    4bb9745cc3d3 net/mlx5: Verify support for scheduling element and TSAR type
    9f806d095955 net/mlx5: Correct TASR typo into TSAR
    fa2e98068d25 net/mlx5: Add missing masks and QoS bit masks for scheduling elements
    f015f63cc9c4 net/mlx5: Explicitly set scheduling element and TSAR type
    f7e7dbdfc093 net/mlx5e: Add missing link mode to ptys2ext_ethtool_map
    4ce59074d53c IB/mlx5: Rename 400G_8X speed to comply to naming convention
    93fd5e028b29 net/mlx5e: Add missing link modes to ptys2ethtool_map
    02518dc443cd net/mlx5: Update the list of the PCI supported devices
    e8db32a90248 igb: Always call igb_xdp_ring_update_tail() under Tx lock
    cbaed60c69f0 ice: fix VSI lists confusion when adding VLANs
    01a786ada184 ice: fix accounting for filters shared by multiple VSIs
    d21559e2037e ice: Fix lldp packets dropping after changing the number of channels
    1bc085e9977f hwmon: (pmbus) Conditionally clear individual status bits for pmbus rev >= 1.2
    14f6a11ea21e selftests/bpf: Support SOCK_STREAM in unix_inet_redir_to_connected()
    8295194a50eb cxl/core: Fix incorrect vendor debug UUID define
    cb735cf79aa1 eeprom: digsy_mtc: Fix 93xx46 driver probe failure
    7853c146f8b4 drm/amd/display: Fix FEC_READY write on DP LT
    27bbf0b1cac9 drm/amd/display: Disable error correction if it's not supported
    d72432755b12 arm64: dts: rockchip: fix PMIC interrupt pin in pinctrl for ROCK Pi E
    b1e1daf0125e net: xilinx: axienet: Fix race in axienet_stop
    a95a24fcaee1 mm: avoid leaving partial pfn mappings around in error case
    2ae1beb3ab4f x86/hyperv: fix kexec crash due to VP assist page corruption
    9b27991f3fb7 dm-integrity: fix a race condition when accessing recalc_sector
    4ec0d8dbd702 net: tighten bad gso csum offset check in virtio_net_hdr
    1705209b3e2a minmax: reduce min/max macro expansion in atomisp driver
    3844bc360e16 arm64: dts: rockchip: override BIOS_DISABLE signal via GPIO hog on RK3399 Puma
    d52643ced186 arm64: dts: rockchip: fix eMMC/SPI corruption when audio has been used on RK3399 Puma
    7e2e638c5909 selftests: mptcp: join: restrict fullmesh endp on 1st sf
    6452b162549c mptcp: pm: Fix uaf in __timer_delete_sync
    c54fc405a060 platform/x86: panasonic-laptop: Allocate 1 entry extra in the sinf array
    6821a82616f6 platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses
    d07216aa30e8 NFS: Avoid unnecessary rescanning of the per-server delegation list
    d8a7055ffd39 NFSv4: Fix clearing of layout segments in layoutreturn
    75e6572ccb78 smb/server: fix return value of smb2_open()
    91043a573ca7 Input: i8042 - add Fujitsu Lifebook E756 to i8042 quirk table
    57ac3b43fb1f drm/msm/adreno: Fix error return if missing firmware-name
    c5331c6342fd platform/surface: aggregator_registry: Add support for Surface Laptop Go 3
    64f8ed257cec platform/surface: aggregator_registry: Add Support for Surface Pro 10
    86a1aaee7f44 scripts: kconfig: merge_config: config files: add a trailing newline
    1d5c7d0a49ec HID: multitouch: Add support for GT7868Q
    11eb4a8228f6 Input: synaptics - enable SMBus for HP Elitebook 840 G2
    3acb2392df34 Input: ads7846 - ratelimit the spi_sync error message
    5ee7efa629bf btrfs: update target inode's ctime on unlink
    ab8f0c4986c7 net: hns3: use correct release function during uninitialization
    4bfee9346d8c wifi: mt76: mt7921: fix NULL pointer access in mt7921_ipv6_addr_change
    4a9a1edd9c49 powerpc/mm: Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL
    af252750bf3b net: phy: vitesse: repair vsc73xx autonegotiation
    31b9fc3d0c10 drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
    7d42d19973cb drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
    9569e1fd06fa net: ethernet: use ip_hdrlen() instead of bit shift
    28123a54f887 usbnet: ipheth: fix carrier detection in modes 1 and 4
    4d1cfa3afb86 usbnet: ipheth: do not stop RX on failing RX callback
    9c8c230e2e15 usbnet: ipheth: drop RX URBs with no payload
    c2fb33a7fed5 usbnet: ipheth: remove extraneous rx URB length check
    78bce66914db ksmbd: override fsids for smb2_query_info()
    5a199eedfdc8 ksmbd: override fsids for share path check
    2278629c3ebb nvmem: u-boot-env: error if NVMEM device is too small
    368fa77b7945 nvmem: u-boot-env: improve coding style
    2eea394c31cb nvmem: u-boot-env: use nvmem device helpers
    ae91c9c7b67d nvmem: u-boot-env: use nvmem_add_one_cell() nvmem subsystem helper
    820b1b981aeb nvmem: core: add nvmem_dev_size() helper
    f7dc14df1bde iio: adc: ad7124: fix DT configuration parsing
    fbed74005829 iio: adc: ad7124: Switch from of specific to fwnode based property handling
    bfc8dab8c73a device property: Introduce device_for_each_child_node_scoped()
    fce8373d3153 device property: Add cleanup.h based fwnode_handle_put() scope based cleanup.
    6d1dc55b5bab Linux 6.6.51
    611e4281117a Bluetooth: hci_sync: Fix UAF on hci_abort_conn_sync
    4d6cf010d876 Bluetooth: hci_sync: Fix UAF on create_le_conn_complete
    78155f30beeb Bluetooth: hci_sync: Fix UAF in hci_acl_create_conn_sync
    50b6744c12fa spi: spi-fsl-lpspi: Fix off-by-one in prescale max
    7b5595f33c3c btrfs: fix race between direct IO write and fsync when using same fd
    8eeda5fb5938 x86/mm: Fix PTI for i386 some more
    a2977c0ca3e9 membarrier: riscv: Add full memory barrier in switch_mm()
    136a29d8112d ublk_drv: fix NULL pointer dereference in ublk_ctrl_start_recovery()
    bd29d8452079 riscv: Do not restrict memory size because of linear mapping on nommu
    8289dc916e9e riscv: Fix toolchain vector detection
    b27ea9c96efd smb: client: fix double put of @cfile in smb2_rename_path()
    52b688c8087b gpio: modepin: Enable module autoloading
    9ceae54e65a3 gpio: rockchip: fix OF node leak in probe()
    60d54a45dbbb drm/i915/fence: Mark debug_fence_free() with __maybe_unused
    a65ebba87337 drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused
    7c391eaf2c63 clk: qcom: gcc-sm8550: Don't park the USB RCG at registration time
    a5e871d26ba1 clk: qcom: gcc-sm8550: Don't use parking clk_ops for QUPs
    b9bb9634368e ASoC: sunxi: sun4i-i2s: fix LRCLK polarity in i2s mode
    f39bde3f7825 ASoc: SOF: topology: Clear SOF link platform name upon unload
    05500a48d80d nvme-pci: allocate tagset on reset if necessary
    489f2913a63f nvmet-tcp: fix kernel crash if commands allocation fails
    585c598082e1 ASoC: tegra: Fix CBB error during probe()
    af4d5630d991 powerpc/vdso: Don't discard rela sections
    547acc20e567 powerpc/64e: Define mmu_pte_psize static
    8ea58996f539 powerpc/64e: split out nohash Book3E 64-bit code
    8ebe3bb3688a powerpc/64e: remove unused IBM HTW code
    eaccebe663b2 clk: qcom: ipq9574: Update the alpha PLL type for GPLLs
    37b65ea6c7ad crypto: starfive - Fix nent assignment in rsa dec
    02b3f8860963 crypto: starfive - Align rsa input data to 32-bit
    872f86e1757b ata: libata-scsi: Check ATA_QCFLAG_RTF_FILLED before using result_tf
    c8d4acb32530 ata: libata-scsi: Remove redundant sense_buffer memsets
    302ba299c31e drm/amdgpu: handle gfx12 in amdgpu_display_verify_sizes
    5f2a2bf25395 drm/amd: Add gfx12 swizzle mode defs
    5ea24ddc26a7 can: mcp251xfd: rx: add workaround for erratum DS80000789E 6 of mcp2518fd
    6cdc3fc4fb2f can: mcp251xfd: clarify the meaning of timestamp
    bf501ab4cbfe can: mcp251xfd: rx: prepare to workaround broken RX FIFO head index erratum
    2370061f0707 can: mcp251xfd: mcp251xfd_handle_rxif_ring_uinc(): factor out in separate function
    62ca6d3a905b arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry
    acf9ef8d1b1f arm64: acpi: Move get_cpu_for_acpi_id() to a header
    47c310fbaaf4 ACPI: processor: Fix memory leaks in error paths of processor_add()
    6bf77014db58 ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()
    241bce1c757d workqueue: Improve scalability of workqueue watchdog touch
    5ff0a4414195 workqueue: wq_watchdog_touch is always called with valid CPU
    0eceaa9d0560 Revert "mm: skip CMA pages when they are not available"
    9a9974713de8 mm/vmscan: use folio_migratetype() instead of get_pageblock_migratetype()
    c4b69bee3f4e perf/aux: Fix AUX buffer serialization
    9faed52b98e1 uprobes: Use kzalloc to allocate xol area
    7eeb7189c4d4 clocksource/drivers/timer-of: Remove percpu irq related code
    444c3927a0c1 clocksource/drivers/imx-tpm: Fix next event not taking effect sometime
    c4f27b17d384 clocksource/drivers/imx-tpm: Fix return -ETIME when delta exceeds INT_MAX
    39e7e593418c VMCI: Fix use-after-free when removing resource in vmci_resource_remove()
    6ed45748c19b Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic
    de6946be9c8b uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind
    3d1baf322a3a nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc
    1f33d9f1d9ac binder: fix UAF caused by offsets overwrite
    f77dc8a75859 misc: fastrpc: Fix double free of 'buf' in error path
    7d301dd2722f usb: dwc3: Avoid waking up gadget during startxfer
    f224f3729779 usb: cdns2: Fix controller reset issue
    6ef746b0b63f usb: dwc3: core: update LC timer as per USB Spec V3.2
    314125cbae48 iio: adc: ad7124: fix chip ID mismatch
    66d0d59afe55 iio: adc: ad7606: remove frstdata check for serial mode
    fb5d58f238c4 iio: adc: ad7124: fix config comparison
    ecc8e1bcac27 iio: fix scale application in iio_convert_raw_to_processed_unlocked
    cb0f3f0c102b iio: buffer-dmaengine: fix releasing dma channel on error
    dc12e49f970b staging: iio: frequency: ad9834: Validate frequency parameter value
    5c007a980450 intel: legacy: Partial revert of field get conversion
    4fe707a29789 tcp: process the 3rd ACK with sk_socket for TFO/MPTCP
    3b843046dbbe cpufreq: amd-pstate: fix the highest frequency issue which limits performance
    1ec40a175a48 cpufreq: amd-pstate: Enable amd-pstate preferred core support
    0b983c08ca81 ACPI: CPPC: Add helper to get the highest performance value
    e0316069fae7 riscv: Use accessors to page table entries instead of direct dereference
    59c9160a7ee3 riscv: mm: Only compile pgtable.c if MMU
    1a8b2391e06e mm: Introduce pudp/p4dp/pgdp_get() functions
    193b1fc1cbca riscv: Use WRITE_ONCE() when setting page table entries
    6c4a878e1cc8 NFSv4: Add missing rescheduling points in nfs_client_return_marked_delegations
    07f384c5be1f smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()
    b777131d03be ata: pata_macio: Use WARN instead of BUG
    ff62110ec522 spi: spi-fsl-lpspi: limit PRESCALE bit in TCR register
    32ee0520159f MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed
    d942e855324a lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
    7ead730af11e of/irq: Prevent device address out-of-bounds read in interrupt map walk
    c3af7e460a52 Squashfs: sanity check symbolic link size
    6604d76253e7 usbnet: ipheth: race between ipheth_close and error handling
    a4858b00a1ec Input: uinput - reject requests with unreasonable number of slots
    60dc4ee0428d HID: amd_sfh: free driver_data after destroying hid device
    30e9ce7cd559 HID: cougar: fix slab-out-of-bounds Read in cougar_report_fixup
    fc9fabeee107 s390/vmlinux.lds.S: Move ro_after_init section behind rodata section
    f1eb69aa8562 btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry()
    16ccaf581da4 spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware
    d43fde5ebfe7 kselftests: dmabuf-heaps: Ensure the driver name is null-terminated
    5a022269abb2 i3c: mipi-i3c-hci: Error out instead on BUG_ON() in IBI DMA setup
    1f489656d506 i3c: master: svc: resend target address when get NACK
    c03185f4a23e vfs: Fix potential circular locking through setxattr() and removexattr()
    e42ea96d6d36 regmap: maple: work around gcc-14.1 false-positive warning
    fd8e14122374 LoongArch: Use correct API to map cmdline in relocate_kernel()
    938acd8e3aa0 net: dpaa: avoid on-stack arrays of NR_CPUS elements
    013dae4735d2 Bluetooth: btnxpuart: Fix Null pointer dereference in btnxpuart_flush()
    9fd29738377c tcp: Don't drop SYN+ACK for simultaneous connect().
    78c6e39fef5c PCI: Add missing bridge lock to pci_bus_lock()
    ce2e63804abf riscv: set trap vector earlier
    124451bbc2d3 cxl/region: Verify target positions using the ordered target list
    41a0f85e268d btrfs: replace BUG_ON() with error handling at update_ref_for_cow()
    7d1df13bf078 btrfs: clean up our handling of refs == 0 in snapshot delete
    e7469c65b3c5 btrfs: replace BUG_ON with ASSERT in walk_down_proc()
    951b696db188 fs/ntfs3: Check more cases when directory is corrupted
    6b1b0a86d9c1 smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()
    6922ab293262 drm/amdgpu: reject gang submit on reserved VMIDs
    c2618dcb26c7 wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()
    abc8b81b6fc7 dma-mapping: benchmark: Don't starve others when doing the test
    e16c4c245150 jbd2: avoid mount failed when commit block is partial submitted
    3236afd1a2fa ext4: fix possible tid_t sequence overflows
    077c7e5fee4b drm/amdgpu: Set no_hw_access when VF request full GPU fails
    030958c2d05e libbpf: Add NULL checks to bpf_object__{prev_map,next_map}
    4b83b207f006 ASoc: TAS2781: replace beXX_to_cpup with get_unaligned_beXX for potentially broken alignment
    8fecb75bff1b hwmon: (w83627ehf) Fix underflows seen when writing limit attributes
    2f695544084a hwmon: (nct6775-core) Fix underflows seen when writing limit attributes
    46e4fd338d5b hwmon: (lm95234) Fix underflows seen when writing limit attributes
    6891b11a0c62 hwmon: (adc128d818) Fix underflows seen when writing limit attributes
    3a986d134402 crypto: qat - fix unintentional re-enabling of error interrupts
    7b1d779647af scsi: pm80xx: Set phy->enable_completion only when we wait for it
    2f49e05d6b58 scsi: ufs: core: Remove SCSI host only if added
    c83d464b82a8 wifi: rtw88: usb: schedule rx work after everything is set up
    c5b30148ef3b virtio_ring: fix KMSAN error for premapped mode
    b82d4d5c736f pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv
    72377cee3f46 devres: Initialize an uninitialized struct member
    ec5b47a37017 um: line: always fill *error_out in setup_one_line()
    84a6b76b2859 cgroup: Protect css->cgroup write under css_set_lock
    7cfa7abb240c iommu/vt-d: Handle volatile descriptor status read
    8b3267428333 dm init: Handle minors larger than 255
    67786b291e77 ASoC: topology: Properly initialize soc_enum values
    8bdbc44c6d26 phy: zynqmp: Take the phy mutex in xlate
    441e6f5829be firmware: cs_dsp: Don't allow writes to read-only controls
    e997b357b13a xen: privcmd: Fix possible access to a freed kirqfd instance
    2b110cce19c8 selftests: net: enable bind tests
    97d627461504 net: dsa: vsc73xx: fix possible subblocks range of CAPT block
    c6c535a44469 net: bridge: br_fdb_external_learn_add(): always set EXT_LEARN
    565eb51b3d80 r8152: fix the firmware doesn't work
    1df42be305fe fou: Fix null-ptr-deref in GRO.
    40531583c5cd bareudp: Fix device stats updates.
    f8d6acb19f4a bpf, net: Fix a potential race in do_sock_getsockopt()
    2174a3c36899 net/socket: Break down __sys_getsockopt
    e88c16a4f07e net/socket: Break down __sys_setsockopt
    09fba0162ba0 bpf: Add sockptr support for setsockopt
    4a746fb253fa bpf: Add sockptr support for getsockopt
    07200e313cb5 usbnet: modern method to get random MAC
    81e5622c052b ice: do not bring the VSI up, if it was down before the XDP setup
    2f057db2fb29 ice: protect XDP configuration with a mutex
    26928c8f00f6 net: phy: Fix missing of_node_put() for leds
    217539e994e5 hwmon: (hp-wmi-sensors) Check if WMI event data exists
    ed60aab60641 igc: Unlock on error in igc_io_resume()
    249c88e7fb45 Bluetooth: MGMT: Fix not generating command complete for MGMT_OP_DISCONNECT
    d56412ee7cf9 Bluetooth: hci_sync: Introduce hci_cmd_sync_run/hci_cmd_sync_run_once
    d948e1ffa1d4 Bluetooth: hci_sync: Attempt to dequeue connection attempt
    1499f79995c7 Bluetooth: hci_sync: Add helper functions to manipulate cmd_sync queue
    98f66ea456d5 Bluetooth: hci_conn: Fix UAF Write in __hci_acl_create_connection_sync
    e78bd85af297 Bluetooth: Remove pending ACL connection attempts
    c57edb548276 Bluetooth: hci_conn: Only do ACL connections sequentially
    9cd7289bcc24 Bluetooth: hci_event: Use HCI error defines instead of magic values
    a22cbf1e085b Bluetooth: qca: If memdump doesn't work, re-enable IBS
    503901d3c9e5 can: kvaser_pciefd: Use a single write when releasing RX buffers
    6587b387cd54 can: kvaser_pciefd: Move reset of DMA RX buffers to the end of the ISR
    00e4c69422c0 can: kvaser_pciefd: Rename board_irq to pci_irq
    42408507362d can: kvaser_pciefd: Remove unnecessary comment
    c1fb6226795d can: kvaser_pciefd: Skip redundant NULL pointer check in ISR
    c5e236744db6 regulator: core: Stub devm_regulator_bulk_get_const() if !CONFIG_REGULATOR
    dc2694e474b7 platform/x86: dell-smbios: Fix error path in dell_smbios_init()
    efe8effe1380 ice: Add netif_device_attach/detach into PF reset flow
    4dde04370503 igb: Fix not clearing TimeSync interrupts for 82580
    0a9423f99ded cifs: Fix FALLOC_FL_ZERO_RANGE to preflush buffered part of target region
    b4b2115d1f50 rust: kbuild: fix export of bss symbols
    4de4e53bbd13 rust: Use awk instead of recent xargs
    0e52907493fd can: mcp251xfd: fix ring configuration when switching from CAN-CC to CAN-FD mode
    db5aca78e260 can: m_can: Release irq on error in m_can_open
    4377b79323df can: bcm: Remove proc entry when dev is unregistered.
    9a41def4c48f drm/amdgpu: check for LINEAR_ALIGNED correctly in check_tiling_flags_gfx6
    dfafee0a7b51 drm/amd/display: Check denominator pbn_div before used
    dd48992a8a90 pcmcia: Use resource_size function on resource object
    b4987d0236d5 media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse
    6970213c7e7d Input: ili210x - use kvmalloc() to allocate buffer for firmware update
    576d0fb6f8d4 PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0)
    7b645e687086 ice: Check all ice_vsi_rebuild() errors in function
    4ef01846c686 vfio/spapr: Always clear TCEs before unsetting the window
    4676bacc6eaf media: vivid: don't set HDMI TX controls if there are no HDMI outputs
    2521ba3cfa1d drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts
    8bc7b3ce33e6 drm/amdgpu: Fix smatch static checker warning
    1bd1fe1109fc drm/amd/display: Check HDCP returned status
    874e3bb302f9 drm/amd/display: Run DC_LOG_DC after checking link->link_enc
    b2a50ffdd1a0 usb: gadget: aspeed_udc: validate endpoint index for ast udc
    4292441b87b8 usb: uas: set host status byte on data completion error
    d22d72e2bf9c wifi: brcmsmac: advertise MFP_CAPABLE to enable WPA3
    56b7104b823b leds: spi-byte: Call of_node_put() on error path
    6ae2e315a388 media: vivid: fix wrong sizeimage value for mplane
    1741021fc120 riscv: kprobes: Use patch_text_nosync() for insn slots
    d670934d4fc9 fs/ntfs3: One more reason to mark inode bad
    a56330761950 udf: Avoid excessive partition lengths
    415f3634d53c wifi: iwlwifi: mvm: use IWL_FW_CHECK for link ID check
    54921e9a7a8e netfilter: nf_conncount: fix wrong variable type
    75758ca26cb5 iommu: sun50i: clear bypass register
    4ebd15ab4b85 x86/kmsan: Fix hook for unaligned accesses
    9c2450cf5d65 af_unix: Remove put_pid()/put_cred() in copy_peercred().
    29ac5a9b6e9c irqchip/armada-370-xp: Do not allow mapping IRQ 0 and 1
    9a173212a318 accel/habanalabs/gaudi2: unsecure edma max outstanding register
    53f17409abf6 ELF: fix kernel.randomize_va_space double read
    3c9e7909df15 bpf, verifier: Correct tail_call_reachable for bpf prog
    b181e96e8043 smack: unix sockets: fix accept()ed socket label
    838c2cfdb6be wifi: ath12k: fix firmware crash due to invalid peer nss
    b366b1e1dda7 wifi: ath12k: fix uninitialize symbol error on ath12k_peer_assoc_h_he()
    fd05943b054b ALSA: hda: Add input value sanity checks to HDMI channel map controls
    4a67c7c03830 ALSA: control: Apply sanity check of input values for user elements
    337266ada863 drm/i915: Do not attempt to load the GSC multiple times
    0a1a961bde43 nilfs2: fix state management in error path of log writing function
    8c6e43b3d5f1 nilfs2: protect references to superblock parameters exposed in sysfs
    9d8c3a585d56 nilfs2: fix missing cleanup on rollforward recovery error
    d4a9039a7b3d sched: sch_cake: fix bulk flow accounting logic for host fairness
    18a5a1694046 ila: call nf_unregister_net_hooks() sooner
    c8219a27fa43 tcp_bpf: fix return value of tcp_bpf_sendmsg()
    94479011f4f5 Revert "drm/amdgpu: align pp_power_profile_mode with kernel docs"
    73d20d08d39e x86/apic: Make x2apic_disable() work correctly
    55c834bc9f82 x86/fpu: Avoid writing LBR bit to IA32_XSS unless supported
    ec36815215d7 net: mctp-serial: Fix missing escapes on transmit
    9e0bff4900b5 net: mana: Fix error handling in mana_create_txq/rxq's NAPI cleanup
    05e08297c3c2 eventfs: Use list_del_rcu() for SRCU protected list variable
    e0d724932ad1 fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF
    3c6b4bcf3784 userfaultfd: fix checks for huge PMDs
    4a594acc12d5 userfaultfd: don't BUG_ON() if khugepaged yanks our page table
    b4fdabffae14 tracing/timerlat: Add interface_lock around clearing of kthread in stop_kthread()
    993ecb4ec1f3 tracing: Avoid possible softlockup in tracing_iter_reset()
    8c72f0b2c45f tracing/timerlat: Only clear timer if a kthread exists
    7a5f01828edf tracing/osnoise: Use a cpumask to know what threads are kthreads
    d034bff62fae spi: rockchip: Resolve unbalanced runtime PM / system PM handling
    1b2770e27d6d mm: vmalloc: ensure vmap_block is initialised before adding to queue
    c318a4bb36f2 kexec_file: fix elfcorehdr digest exclusion when CONFIG_CRASH_HOTPLUG=y
    8fecde9c3f9a can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open
    f58f23328932 clk: qcom: clk-alpha-pll: Fix the trion pll postdiv set rate API
    229493828da0 clk: qcom: clk-alpha-pll: Fix the pll post div mask
    72f4fc5fb291 clk: starfive: jh7110-sys: Add notifier for PLL0 clock
    f36df5cc866f fuse: fix memory leak in fuse_create_open
    bfd55cd4295a fuse: use unsigned type for getxattr/listxattr size truncation
    ad6451ab31e1 fuse: update stats for pages in dropped aux writeback list
    a7fa220ebb41 mmc: cqhci: Fix checking of CQHCI_HALT state
    4c6520627bbe mmc: sdhci-of-aspeed: fix module autoloading
    5b4bf3948875 mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K
    115a755bb38d mmc: core: apply SD quirks earlier during probe
    84996e92a184 Bluetooth: MGMT: Ignore keys being loaded with invalid type
    c4252955e1fb Revert "Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE"
    f9275893b07f rust: macros: provide correct provenance when constructing THIS_MODULE
    d6344cc86f31 rust: types: Make Opaque::get const
    77ee2eaee4d9 nvme-pci: Add sleep quirk for Samsung 990 Evo
    85f03ca98e07 rtmutex: Drop rt_mutex::wait_lock before scheduling
    0b46b4ac929f x86/kaslr: Expose and use the end of the physical memory address space
    2f4d7b702668 irqchip/gic-v2m: Fix refcount leak in gicv2m_of_init()
    0eaf812aa150 perf/x86/intel: Limit the period on Haswell
    ef00818c50cf x86/tdx: Fix data leak in mmio_read()
    c0fbc9593b18 ata: libata: Fix memory leak for error path in ata_host_alloc()
    f75881f54c05 ksmbd: Unlock on in ksmbd_tcp_set_interfaces()
    41bc256da7e4 ksmbd: unset the binding mark of a reused connection
    5a72d1edb084 smb: client: fix double put of @cfile in smb2_set_path_size()
    d84ab6661e8d powerpc/qspinlock: Fix deadlock in MCS queue
    c1f23443da3f ALSA: hda/realtek: Support mute LED on HP Laptop 14-dq2xxx
    421c2701a9fe ALSA: hda/realtek: add patch for internal mic in Lenovo V145
    638e61b00208 ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices
    6c7c519c4dc0 KVM: SVM: Don't advertise Bus Lock Detect to guest if SVM support is missing
    c98bb4f15e7f KVM: SVM: fix emulation of msr reads/writes of MSR_FS_BASE and MSR_GS_BASE
    939375737b5a KVM: x86: Acquire kvm->srcu when handling KVM_SET_VCPU_EVENTS
    5d13afd021eb ASoC: dapm: Fix UAF for snd_soc_pcm_runtime object
    b0804c286ccf net: microchip: vcap: Fix use-after-free error in kunit test
    dde33a9d0b80 sch/netem: fix use after free in netem_dequeue
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: b73beae708877b94b3ea8eea653c8df39fc7a30e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b1a48c9a70d78082ecb23ba98fd833716077023)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Anuj Mittal
c8b8639251 sqlite3: upgrade 3.45.1 -> 3.45.3
(From OE-Core rev: a5c24e05e8397e2e353d2d27d9da98375f6ec036)

(From OE-Core rev: 3d42e2e7328bfc0066cf3a7a90ae447f3961c5f4)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Rohini Sangam
5536f35186 vim: Upgrade 9.1.0698 -> 9.1.0764
This includes CVE-fix for CVE-2024-45306 and CVE-2024-47814

Changes between 9.1.0698 -> 9.1.0764
====================================
https://github.com/vim/vim/compare/v9.1.0698...v9.1.0764

(From OE-Core rev: 7dc4956d4eeb1ffe7fe5df1ed55197c0b5a1bc79)

Signed-off-by: Rohini Sangam <rsangam@mvista.com>
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f0e5e63399e544063c79b0b1f9555c820b0604c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Shunsuke Tokumoto
8dae11e0b5 python3-setuptools: Add "python:setuptools" to CVE_PRODUCT
Since there are vulnerabilities that cannot be detected by the existing
CVE_PRODUCT, add "python:setuptools" to CVE_PRODUCT.

https://nvd.nist.gov/vuln/detail/CVE-2013-1633
https://nvd.nist.gov/vuln/detail/CVE-2022-40897

(From OE-Core rev: 85b61bf9cefc024faefa083c37ce88ba9c7355e1)

Signed-off-by: Shunsuke Tokumoto <s-tokumoto@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aa1c8d97efc6640a1cffa2459d9b20ad1f7309b0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
aszh07
a44d507151 ffmpeg: Add "libswresample libavcodec" to CVE_PRODUCT
Currently, CVE_PRODUCT only detects vulnerabilities where the product is "ffmpeg".

However, there are also vulnerabilities where the product is "libswresample",
and "libavcodec" as shown below.
https://app.opencve.io/vendors/?vendor=ffmpeg

Therefore, add "libswresample libavcodec" to CVE_PRODUCT to detect vulnerabilities
where the product is "libswresample libavcodec" as well.

(From OE-Core rev: cebbbf76c029c5bf5563aca515b1c025c3644bf8)

Signed-off-by: aszh07 <mail2szahir@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Peter Marko
c146cf43c7 openssl: patch CVE-2024-9143
Pick patch from branch openssl-3.2.

(From OE-Core rev: df9cd27e23f051fb02391ca62d29f152f36f76fe)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Joshua Watt
a34743f178 bitbake: asyncrpc: Use client timeout for websocket open timeout
The default connection timeout for websockets is 10 seconds, so use the
provided client timeout instead (which defaults to 30 seconds).

(Bitbake rev: 270c0c8bdc802c04fd3021c082d58cf8e8d68d82)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23681775e5941e54ebead469addf708fca1e6beb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-30 08:30:00 -07:00
Peter Kjellerstedt
200d12b6a5 image.bbclass: Drop support for ImageQAFailed exceptions in image_qa
After commit 905e224849fbbed1719e0add231b00e2d570b3b4 (image_qa: fix
error handling), any unexpected exceptions in do_image_qa() would result
in a variable being set, but never used, effectively hiding the error.

Since image_qa now calls oe.qa.exit_if_errors(), remove the support for
oe.utils.ImageQAFailed and instead rely on the called functions to call
oe.qa.handle_error() themselves. This matches what do_package_qa() does.

Also update the description of do_image_qa() to explain that the called
functions are expected to call oe.qa.handle_error() themselves.

[ YOCTO #15601 ]

(From OE-Core rev: a1b28a88bc7697371ab166b18587b615d6d39c8e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c3e111c965af2bc56533633c376b70b7fa5e1de)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Paul Barker
8156bb675c meta-ide-support: Mark recipe as MACHINE-specific
meta-ide-support:do_write_test_data dumps the bitbake data dictionary to
a file using export2json(). As this obviously includes the value of
MACHINE, and other MACHINE-specific variables, the recipe needs to be
marked as MACHINE-specific.

RP: Note that this patch does change the name of the environment script
since it is no longer package arch specific but machine arch specific.

[RP: Fix selftest to reference new environment file]
(From OE-Core rev: bec6b535c9a817a5ed51453bcb9ecae0b81a8590)

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3be2bc8a9b0c9d6a178329c8b451a6bedf255d6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Louis Rannou
2c09c72cf1 image_qa: fix error handling
Make ImageQAFailed inherit BBHandledException so exceptions raised in tests are
catched when the actual test function is executed by bb.utils.better_exec.

Change the do_image_qa tasks so errors are handled with oe.qa.handle_error. Add
some comment to explain this requires to list the test in ERROR_QA or WARN_QA.

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

(From OE-Core rev: 8fe7aef17eefa70e3f7c07077b8c695e5c00ed5e)

Signed-off-by: Louis Rannou <louis.rannou@non.se.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 905e224849fbbed1719e0add231b00e2d570b3b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Richard Purdie
cbd445e044 libsdl2: Fix non-deterministic configure option for libsamplerate
The libsamplerate option was floating and being enabled on some systems
and not others. Fix this to be deterministic.

(From OE-Core rev: 7ee654579ccf818708989251a97662ea11218d14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61455a839e568a3ae7e059ea95c02a1c88d39e1a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Teresa Remmet
f9fd48d759 recipes-bsp: usbutils: Fix usb-devices command using busybox
Unknown find parameter -printf makes usb-devices script unusable with
busybox. Replace the parameter to fix this issue.

(From OE-Core rev: bb7dad01066d22c3cc4465bdf39ec4e310821d15)

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c7c9f827e914b7c27856d995da553a2e41372321)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Paul Gerber
e6acba1518 uboot-sign: fix counters in do_uboot_assemble_fitimage
Without unsetting `j` and `k` for each `UBOOT_MACHINE`, `j` and `k`
are incremented in the same frequency as `i` and therefore `$j -eq $i`
and `$k -eq $i` is always true for the first `type` from `UBOOT_CONFIG`
and the first `binary` from `UBOOT_BINARIES`.

(From OE-Core rev: 7f81c38e91563d6d77621a3bfcb155cd226c9b74)

Signed-off-by: Paul Gerber <paul.gerber@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3aef55c7ceb654b0012f20618bfd6ead1ef578b6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Jörg Sommer
f43ef3aa92 runqemu: Fix detection of -serial parameter
The pattern `-serial` matches also `-device usb-serial` and `virtio-serial`
which are not the desired parameter. This causes the serial console ttyS1 is
missing and Systemd's getty@ttyS1 fails constantly.

(From OE-Core rev: 44c1f003d617ac20527926b4b321ffd1fe4462bb)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b6d035894120b45b42f146ab5b3110522c58d178)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Jaeyoon Jung
008e269c6b makedevs: Fix matching uid/gid
Correct the length to compare in convert2guid() to fix an issue where it
ends up with returning a wrong id that matches partially. Also fix the
length of usr_buf and grp_buf in interpret_table_entry() which are used
as arguments of convert2guid().

(From OE-Core rev: 865b7149da5dd6301c1d9805a1e7bac8dcac82a9)

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ca9d193a21e6b8669c4da1a68cd5e0791bb80a4b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:41 -07:00
Claus Stovgaard
9d9325d07b lib/oe/package-manager: skip processing installed-pkgs with empty globs
We can skip processing the installed-pkgs file if globs is empty.
This is the case if self.d.getVar for IMAGE_INSTALL_COMPLEMENTARY
returns an empty string. If globs is an empty string the result from
processing with empty glob in oe-pkgdata-util will always be 0 packages
to install.

Instead of return early on this we just skip and still generate the
locale archive if needed.

(From OE-Core rev: f944a1be484378c733d7fd835dc17e210f1c2705)

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 160c45c83d5addf01e4834cf896af871bd6fca7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Purushottam Choudhary
3d6bbf83ea virglrenderer: Add patch to fix -int-conversion build issue
Fix int conversion related error during compilation
as some of the platforms where EGLNativeDisplayType
is an int instead of a pointer with GCC-14.

(From OE-Core rev: 17049482f0a112781026376245437c4c8343d28a)

Signed-off-by: Purushottam Choudhary <purushottam27.kumar@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f71f4936a273262343e34f278e6cfcc1e419aea3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Richard Purdie
75ac1f529a license: Fix directory layout issues
There are several issues:

a) pointless empty directories were being created as a path wasn't
   fixed in a previous commit
b) SSTATE_PKGARCH wasn't being captured into the task signature
   since it is in the ignore list by default. We want to capture
   the absolute value, not the dependencies
c) with those issues fixed, cross/native issues became apparent so
   those need to be fixed too.

(From OE-Core rev: a31b46627a85ea871deb760f3d0008de72ceb439)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backport from oe-core master: f68aed302a0e4b86fb8c16a6ef4e7295bed48b86

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Khem Raj
302fd9c095 libpcre2: Update base uri PhilipHazel -> PCRE2Project
(From OE-Core rev: 31861ad29c18ee76185970335fe86441ffba0442)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bd6d18228835773163a085070651e13ed961d66d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Alexander Kanavin
597c051923 sysvinit: take release tarballs from github
Upstream no longer publishes them on savannah, e.g.
release announcement for 3.10:
https://lists.gnu.org/archive/html/sysvinit-devel/2024-07/msg00016.html

There's been several new versions since:
https://github.com/slicer69/sysvinit/releases

(From OE-Core rev: e39cad8d845ee17517e69c2935567a9316ab8d22)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6cb71eaf3d225de14e62cfc1b76dc8094f8f4aed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Jörg Sommer
d6951e3ce3 ptest-runner: Update 2.4.4 -> 2.4.5
Changelog:

aea9f42 ptest_list_remove: Fix pointer adjustment of prev and next

(From OE-Core rev: edb7968fe272e6afd89b01471f7949ccf730f295)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f70ec9bcd379b5fc4c85d7479d42789c2e22f4a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Yogita Urade
0402f54b66 ruby: upgrade 3.2.2 -> 3.3.5
Includes fix for CVE-2024-41123 & CVE-2024-41946

Release notes:
https://github.com/ruby/ruby/releases/tag/v3_3_5

Rebase:
0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
0006-Make-gemspecs-reproducible.patch

Drop:
0001-fiddle-Use-C11-_Alignof-to-define-ALIGN_OF-when-poss.patch
0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
CVE-2023-36617_1.patch
CVE-2023-36617_2.patch
CVE-2024-27281.patch
CVE-2024-27282.patch
(merged upstream)

0001-template-Makefile.in-do-not-write-host-cross-cc-item.patch
0002-template-Makefile.in-filter-out-f-prefix-map.patch
remove_has_include_macros.patch
(code rewritten upstream)

License-Update: Updated LEGAL section

(From OE-Core rev: 69ffe5bc09260918fb32bfcb29586dcaa1958a5c)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Macpaul Lin
711c934229 linux-firmware: upgrade 20240312 -> 20240909
License-Update: additional files

(From OE-Core rev: 14b1560b2fb303eb63fc1c6853ca4e3e8ef9355b)

Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Hitendra Prajapati
f88e92a7b3 libarchive: fix CVE-2024-48957 & CVE-2024-48958
Backport fixes for:

* CVE-2024-48957 - Upstream-Status: Backport from 3006bc5d02
* CVE-2024-48958 - Upstream-Status: Backport from a1cb648d52

(From OE-Core rev: 8b520c3cea136591128f6601718c23334afd7a55)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Hitendra Prajapati
afbf467405 cups: Backport fix for CVE-2024-47175
Upstream-Status: Backport from
9939a70b75
&
04bb2af452
&
e0630cd18f
&
1e6ca5913e
&
2abe1ba8a6

Reference: https://security-tracker.debian.org/tracker/CVE-2024-47175

(From OE-Core rev: f00847d91eb9440c9f1bc2f34cd0edd2af490f78)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Peter Marko
fc449a98b6 rust: ignore CVE-2024-43402
This CVE was created because fix for CVE-2024-24576 was incomplete.
Ignore the new CVE in the same way as the old one.

See https://nvd.nist.gov/vuln/detail/CVE-2024-43402

(From OE-Core rev: 6ed9968bf3e35aca316227ee23294c683f77055d)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-18 06:04:40 -07:00
Lee Chee Yang
cd44e6bd40 migration-guide: add release notes for 4.0.21
(From yocto-docs rev: a854b398db797394677ac8e15b5459373c1c3cd3)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Martin Jansa
890f63b6bf meta-world-pkgdata: Inherit nopackages
Since this is a recipe with PACKAGES = "", inherit the nopackages
class to skip the various packaging functions which wouldn't do anything anyway.

This fixes errors from buildhistory changes where packages-split would be empty.

(From OE-Core rev: 5ea3ba00532265165e0d30f6d2eed568f5b5867f)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Martin Jansa
a3987f60df populate_sdk_base: inherit nopackages
Since this bbclass sets PACKAGES = "", inherit the nopackages
class to skip the various packaging functions which wouldn't
do anything anyway.

This fixes errors from buildhistory changes where packages-split would be empty.

e.g. meta-toolchain build now fails with:
| DEBUG: Executing shell function buildhistory_list_pkg_files
| find: ".../meta-toolchain/1.0/packages-split/*": No such file or directory
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function buildhistory_emit_pkghistory finished

(From OE-Core rev: 2462cceaeec362d85a469ec0668ed92a092e725c)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Atharva Nandanwar <atharvanandanwar@outlook.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Wang Mingyu
92d7f055c4 cryptodev: upgrade 1.13 -> 1.14
0001-Disable-installing-header-file-provided-by-another-p.patch
0001-tests-Makefile-do-not-use-Werror.patch
removed since they're included in 1.14

Changelog:
===========
* Fix compilation issues after API changes in several Linux kernels
* Split install targets to help package maintainers

(From OE-Core rev: 749f297f5d94fc97a5ade8f7cb0321d7286b2521)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Acked-by: Chirag Shilwant <c-shilwant@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Hitendra Prajapati
4639bc9503 webkitgtk: upgrade 2.44.1 -> 2.44.3
Remove below patches which already fix in this upgraded version.

0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch
0002-More-dynamicDowncast-adoption-in-platform-code.patch

(From OE-Core rev: 9a05f72805fa4c8ac408024bc8cd51892ad4a37c)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Deepesh Varatharajan
2186202022 glibc: stable 2.39 branch updates.
Below commits on glibc-2.39 stable branch are updated.
84f6bfce2c libio: Attempt wide backup free only for non-legacy code
4e382ce01c debug: Fix read error handling in pcprofiledump
7f5027995f elf: Fix tst-dlopen-tlsreinit1.out test dependency
27a0c6b490 elf: Avoid re-initializing already allocated TLS in dlopen (bug 31717)
e3d5d2d350 elf: Clarify and invert second argument of _dl_allocate_tls_init
28c4f32f71 elf: Support recursive use of dynamic TLS in interposed malloc
5ff30b2f75 nptl: Use <support/check.h> facilities in tst-setuid3
cae418638e posix: Use <support/check.h> facilities in tst-truncate and tst-truncate64
a500b48bd2 ungetc: Fix backup buffer leak on program exit [BZ #27821]
70939528c6 ungetc: Fix uninitialized read when putting into unused streams [BZ #27821]
f0c308ab23 Make tst-ungetc use libsupport
3c5f493d87 stdio-common: Add test for vfscanf with matches longer than INT_MAX [BZ #27650]
98de2f2bae support: Add FAIL test failure helper
e73fd06b7f string: strerror, strsignal cannot use buffer after dlmopen (bug 32026)
37c2aa4eaa Define __libc_initial for the static libc
49953727d1 x86: Fix bug in strchrnul-evex512 [BZ #32078]
81631a0dd1 Adjust check-local-headers test for libaudit 4.0
9fbbe86f7c x32/cet: Support shadow stack during startup for Linux 6.10
eeff407b19 x86-64: Remove sysdeps/x86_64/x32/dl-machine.h
1ab7faf86d support: Add options list terminator to the test driver
6eebc92cb2 manual/stdio: Further clarify putc, putwc, getc, and getwc
afc15c2044 Fix name space violation in fortify wrappers (bug 32052)
5a5eb72d8e resolv: Fix tst-resolv-short-response for older GCC (bug 32042)
7f5ccdd8af Add mremap tests
a8c230c881 mremap: Update manual entry
9f349d02c6 linux: Update the mremap C implementation [BZ #31968]
127ef30c46 Enhanced test coverage for strncmp, wcsncmp
3b25c7fa87 Enhance test coverage for strnlen, wcsnlen
4bdcc1963b manual: make setrlimit() description less ambiguous
b71a51189d manual/stdio: Clarify putc and putwc
946006d37c malloc: add multi-threaded tests for aligned_alloc/calloc/malloc
f11b7178a1 malloc: avoid global locks in tst-aligned_alloc-lib.c
51db012c94 resolv: Track single-request fallback via _res._flags (bug 31476)
8c9fbc6651 resolv: Do not wait for non-existing second DNS response after error (bug 30081)
fc1dc39984 resolv: Allow short error responses to match any query (bug 31890)
cb19cef087 elf: Fix localplt.awk for DT_RELR-enabled builds (BZ 31978)
f6a75fddf4 Fix usage of _STACK_GROWS_DOWN and _STACK_GROWS_UP defines [BZ 31989]

Results before updates as below:

No. of passes                     4581
No. of expected passes            2
No. of expected failures          16
No. of unexpected failures        214
No. of unsupported tests          45

Results after updates as below:

No. of passes                     4605
No. of expected passes            2
No. of expected failures          16
No. of unexpected failures        212
No. of unsupported tests          46

(From OE-Core rev: d652964e2bd860473b2d39f57b92e51d646672bf)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Peter Marko
c6844e50df wpa-supplicant: Patch security advisory 2024-2
Pick patches according to
http://w1.fi/security/2024-2/sae-h2h-and-incomplete-downgrade-protection-for-group-negotiation.txt
SAE H2E and incomplete downgrade protection for group negotiation

(From OE-Core rev: 44f1d5f08c6dfbd03d2997fc6fa8f257339589fa)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Peter Marko
eca9779e43 wpa-supplicant: Patch CVE-2024-3596
Picked patches according to
http://w1.fi/security/2024-1/hostapd-and-radius-protocol-forgery-attacks.txt

First patch is style commit picked to have a clean cherry-pick of all
mentioned commits without any conflict.
Patch CVE-2024-3596_07.patch has hostapd code removed as it is not
present in wpa-supplicant download tarball.

(From OE-Core rev: 2352c8a1282b7b11a542eb7a821625580c8395fa)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Peter Marko
e828e0364a wpa-supplicant: Ignore CVE-2024-5290
NVD CVE report [1] links Ubuntu bug [2] which has a very good
description/discussion about this issue.
It applies only to distros patching wpa-supplicant to allow non-root
users (e.g. via netdev group) to load modules.
This is not the case of Yocto.

Quote:
So upstream isn't vulnerable as they only expose the dbus interface to
root. Downstreams like Ubuntu and Chromium added a patch that grants
access to the netdev group. The patch is the problem, not the upstream
code IMHO.

There is also a commit [3] associated with this CVE, however that only
provides build-time configuration to limit paths which can be accessed
but it acts only as a mitigation for distros which allow non-root users
to load crafted modules.

[1] https://nvd.nist.gov/vuln/detail/CVE-2024-5290
[2] https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/2067613
[3] https://w1.fi/cgit/hostap/commit/?id=c84388ee4c66bcd310db57489eac4a75fc600747

(From OE-Core rev: 33548479f66164f486efdb6aeba2de7da2b5b0c9)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Khem Raj
ff5c6bd86f openssh: Mark CVE-2023-51767 as wont-fix
(From OE-Core rev: 1b4bada6c003ef743df09283e45953e6d9ea4c5a)

(From OE-Core rev: 9376c14f367477a8d02df1331908e3df3bd009b6)

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>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:38 -07:00
Khem Raj
ff0f3fca81 gnupg: Document CVE-2022-3219 and mark wontfix
(From OE-Core rev: f10f9c3a8d2c17d5a6c3f0b00749e5b34a66e090)

(From OE-Core rev: 1bce8a63edd93070bdd8e8a518a6d359e3fbf0ba)

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>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-11 05:47:37 -07:00
Jaeyoon Jung
c799f73a47 makedevs: Fix issue when rootdir of / is given
Treating rootdir "/" as "" leads an error in parse_devtable(). Preserve
it as it is given and use a separate variable for path name prepending.
Another minor fix is to add a return statement at the end of
convert2guid() to avoid an error with -Werror=return-type.

(From OE-Core rev: 3d894863f442188bad446095bd7fdd82665bb54b)

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d52e6276c687a8950bde21850072ddf14893fb2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Richard Purdie
6f48df063e bitbake.conf: Add truncate to HOSTTOOLS
Some wic images need this command. Since it is part of coreutils, it doesn't really
cost anything to have in HOSTTOOLS and it avoids signifiant build dependencies on
coreutils-native.

[YOCTO #15571]

(From OE-Core rev: 85451cdaee4718233211da1e43db01f5cd2b1aff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 522000ce5c4f0201cbe42d7826b6a8489ed10117)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Yi Zhao
9bbf3a7362 rpm: fix expansion of %_libdir in macros
There is a patch in oe-core[1] to avoid hardcoded paths in macros. It
tries to use libdir to expand %_libdir in macros.in. However, in
upstream commit[2], libdir for macros in CMakeLists.txt is set to
${prefix}/=LIB=, which causes %_libdir to expand to ${prefix}/=LIB=
instead of the correct path in the final macros.

On target:
$ rpm --showrc | grep _libdir
[snip]
-13: _libdir    ${prefix}/=LIB=
[snip]

This also causes %__pkgconfig_path in fileattrs/pkgconfig.attr to become
an invalid regular expression when building rpm packages. This results a
warning in log.do_package_write_rpm in all packages:

Warning: Ignoring invalid regular expression ^((${prefix}/=LIB=|usr/share)/pkgconfig/.*.pc|usr/bin/pkg-config)$

Set libdir to ${CMAKE_INSTALL_FULL_LIBDIR} instead of ${prefix}/=LIB= to
make sure it is expanded to the correct path in macros.

After the patch:
On target:
$ rpm --showrc | grep _libdir
[snip]
-13: _libdir    /usr/lib
[snip]

[1] https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
[2] d2abb7a487

(From OE-Core rev: 7c7f95668d270a825c7d3d235ec2b8d4e7eb0b9f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ae0e217145f45d065124aeb0a7d72a0c25f621ef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Alexander Kanavin
c5e470dbbf pulseaudio, desktop-file-utils: correct freedesktop.org -> www.freedesktop.org SRC_URI
Server's https certificate isn't valid for freedesktop.org without www prefix.

(From OE-Core rev: 60f411d19a9ea5297911eed64902e1cb65358e35)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d7ce9da33498869384b26a6fda05c37e7b2c3565)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Adrian Freihofer
1f79d3af0e kernel-fitimage: fix external dtb check
If EXTERNAL_KERNEL_DEVICETREE and dtb_image_sect are empty variables
dtb_path ends up as "/" which is available on most Unix systems but
probably not the dtb_path which is needed here. Checking for a file
makes more sense and also solves the issue with the "/".

(From OE-Core rev: 74054f3614922e331620a4dcb37975c5f679ab4e)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c8f629b6991449cc6726f48a607d9e1bd50807ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Adrian Freihofer
bf9a4b750d kernel-fitimage: fix intentation
white space changes only.
- python part should be 4 spaces, not 8.
- use tabs for shell

(From OE-Core rev: 667aab25e83c84c0daccd43eda574ae34c75c8a7)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 000079a973e8c97d496ca721259437880a7ea70d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Richard Purdie
8f0499abe6 scripts/install-buildtools: Update to 5.0.3
Update to the 5.0.3 release of the 5.0 series for buildtools.

(From OE-Core rev: 9028036392df4c49895c3c980596d26e0461febb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c922ca720a0c3b7b4d3d3187539e7cf77d93d457)
Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Aleksandar Nikolic
c0a82370fd install-buildtools: update base-url, release and installer version
Update the following default values:
- DEFAULT_BASE_URL (https instead of http)
- DEFAULT_RELEASE (5.0.1)
- DEFAULT_INSTALLER_VERSION (5.0.1)

(From OE-Core rev: 2c4b9af5e3f385b296e2ce0e1d8a0c43937a7334)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b2ebb965a5aa128b05ed7ddc9216171463777732)
Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Aleksandar Nikolic
60e2f32a43 install-buildtools: fix "test installation" step
The "Test installation" step fails with some harmless error messages
(see [1]). This can however make a user think that the buildtools
have not been installed correctly.

Two reasons for the error messages:
- some envvars in the environment-setup-<arch>-pokysdk-linux file
  start and end with double quotes (e.g., PATH) and are as such
  written into python os.environ. This leads that their usage is
  not valid later when testing the installation. This patch removes
  the double quotes before writing, if they are present.
- if installation directory (install_dir), given through the option
  --directory, is given as a relative path, checking if the path to
  a tool (e.g., gcc) in buildtools starts it will always fail. This
  patch converts the install_dir variable to an absolute path.

[1]
ERROR: Something went wrong: tar not found in ./build-tools
ERROR: Something went wrong: installation failed

(From OE-Core rev: 915c48232b0e66915720bff9c745825fa169fa65)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e4eb0b14ecf9bd2fba13260441c9d86eb348f41e)
Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Aleksandar Nikolic
4ad1e92c10 install-buildtools: remove md5 checksum validation
No need to validate with the md5 checksum, as the file is not even
uploaded to the Yocto release webpage (the download never failed due
to a wrong indentation of an else statement). For validation purposes,
use the sha256 checksum only.

(From OE-Core rev: 081ac6c177860c1bd7e2d4f4b873f3a760864d21)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b740d2f9d40aef1e18c022d1e82b4fb2c5c1fc22)
Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Victor Kamensky
e7e5720dd4 systemtap: fix systemtap-native build error on Fedora 40
Backport of couple patches from upstream.

(From OE-Core rev: bca8aa07ce0cea82f6f17381efaeba897edab265)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc486f26db46c562e35f770c16edf3f4035e536e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Konrad Weihmann
2b073f0eaa testexport: fallback for empty IMAGE_LINK_NAME
if IMAGE_LINK_NAME is set empty to disable the symlinking
for image artifacts in deploy, testexport fails, as the path assembly
is incorrect.
In that case fallback to IMAGE_NAME

(From OE-Core rev: bd723b611e937b8532ebcd485db61a3eae46091d)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c1d098e6dd08fa3a5aafca656457ac6badcef89)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Konrad Weihmann
89b7eef375 testimage: fallback for empty IMAGE_LINK_NAME
if IMAGE_LINK_NAME is set empty to disable the symlinking
for image artifacts in deploy, testimage fails, as the path assembly
is incorrect.
In that case fallback to IMAGE_NAME

(From OE-Core rev: 1b026479e6d86d43d68ba26bed4b31dac91fc327)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c7a4e7e294992acc589c62adcaf6cd32659f2f9b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Konrad Weihmann
a335a496d2 runqemu: keep generating tap devices
in case there is no tap device the script tries to
generate a new one.
The new device is then unguarded for a moment, so
the newly generated device could be acquired
by a different instance or user, before it is locked to
the instance with acquire_taplock.
To fix that keep generating new tap devices in case
the lock can't be acquired up to 5 times.
If no tap device can be locked it fails in the existing
error handling

(From OE-Core rev: ae4e4fb703f63402cacbef772e70082e5760f78a)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23876576d054ebbab9b02c0012782aa56feda123)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Bruce Ashfield
ddbf9f68f9 linux-yocto/6.6: update to v6.6.50
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    ad07a29023ce Linux 6.6.50
    9d24eaa21731 i2c: Use IS_REACHABLE() for substituting empty ACPI functions
    f5e9a22d19bb virtio_net: Fix napi_skb_cache_put warning
    d8915d271630 media: uvcvideo: Enforce alignment of frame and interval
    e3a95f29647a drm/amd/display: Skip wbscl_set_scaler_filter if filter is null
    e50bec62acae drm/amd/display: Check BIOS images before it is used
    67cf14c04ff0 drm/amd/display: use preferred link settings for dp signal only
    800a5ab673c4 drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX
    154a50bf4221 drm/amd/display: added NULL check at start of dc_validate_stream
    da696cbb4794 drm/amd/display: Don't use fsleep for PSR exit waits on dmub replay
    381113ef01e2 drm/amdgpu: add lock in kfd_process_dequeue_from_device
    ddfe95f2e1fc drm/amdgpu: add lock in amdgpu_gart_invalidate_tlb
    494b42f35fc2 drm/amdgpu: add skip_hw_access checks for sriov
    2e91ea29622c block: remove the blk_flush_integrity call in blk_integrity_unregister
    72f022ebb9de driver: iio: add missing checks on iio_info's callback access
    6290d3f5883d f2fs: fix to do sanity check on blocks for inline_data inode
    862b19f0b1c2 wifi: cfg80211: make hash table duplicates more survivable
    63ca5b467011 hwmon: (k10temp) Check return value of amd_smn_read()
    20bf2920a869 dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor
    cd3851ef3f7d dmaengine: altera-msgdma: use irq variant of spin_lock/unlock while invoking callbacks
    9d567126474e drm/bridge: tc358767: Check if fully initialized before signalling HPD event via IRQ
    d9612c66af36 gfs2: Revert "Add quota_change type"
    d93a2f86b0a9 crypto: stm32/cryp - call finalize with bh disabled
    68957f511ba4 drm/meson: plane: Add error handling
    ae9018e3f61b net/mlx5e: SHAMPO, Fix incorrect page release
    0b722b813c7d platform/chrome: cros_ec_lpc: MEC access can use an AML mutex
    4be9fd15c3c8 smack: tcp: ipv4, fix incorrect labeling
    4c1145144c94 regmap: spi: Fix potential off-by-one when calculating reserved size
    54a11ce4ff2a drm/amdgu: fix Unintentional integer overflow for mall size
    69f397e60c3b net: remove NULL-pointer net parameter in ip_metrics_convert
    fc1b1e135c3f fsnotify: clear PARENT_WATCHED flags lazily
    3b9f2d9301ae usb: typec: ucsi: Fix null pointer dereference in trace
    73ec94aac593 usbip: Don't submit special requests twice
    f576acf75227 media: v4l2-cci: Always assign *val
    37d9fd31347e rcu/nocb: Remove buggy bypass lock contention mitigation
    f9a9cf96c3d4 pwm: xilinx: Fix u32 overflow issue in 32-bit width PWM mode.
    04e787f836e2 ionic: fix potential irq name truncation
    fd867e74fa4d RDMA/efa: Properly handle unexpected AQ completions
    220725de5aa5 soc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host()
    a6978d1b7bb8 hwspinlock: Introduce hwspin_lock_bust()
    e51077ad1bf4 wifi: mac80211: check ieee80211_bss_info_change_notify() against MLD
    7cdb51585589 PCI: al: Check IORESOURCE_BUS existence during probe
    ea37096a6a92 cpufreq: scmi: Avoid overflow of target_freq in fast switch
    0bd1be7e84f5 wifi: iwlwifi: remove fw_running op
    0798e4330b54 drm/amdgpu: update type of buf size to u32 for eeprom functions
    cdc65b5f9998 drm/kfd: Correct pinned buffer handling at kfd restore and validate process
    1107129305c1 wifi: rtw89: ser: avoid multiple deinit on same CAM
    7e8d106ca98a drm/amd/pm: check negtive return for table entries
    7d265772e44d drm/amdgpu: the warning dereferencing obj for nbio_v7_4
    025798f44b8d drm/amd/pm: check specific index for smu13
    d0230b372068 drm/amd/pm: check specific index for aldebaran
    4ab720b6aa1e drm/amdgpu: fix the waring dereferencing hive
    0aad97bf6d0b drm/amdgpu: fix dereference after null check
    d116bb921e8b drm/amdgpu: Fix the warning division or modulo by zero
    58350786dbbd drm/amdgpu/pm: Check input value for CUSTOM profile mode setting on legacy SOCs
    eba7c58b7a83 wifi: ath11k: initialize 'ret' in ath11k_qmi_load_file_target_mem()
    17d89c79181e wifi: ath12k: initialize 'ret' in ath12k_qmi_load_file_target_mem()
    59f742e55a46 apparmor: fix possible NULL pointer dereference
    f163ba83e607 drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device
    d0a43bf367ed drm/amdgpu: fix mc_data out-of-bounds read warning
    f2b7a9f3839e drm/amdgpu: fix ucode out-of-bounds read warning
    f9267972490f drm/amdgpu: Fix out-of-bounds read of df_v1_7_channel_number
    e6ea3b8fe398 drm/amdkfd: Check debug trap enable before write dbg_ev_file
    a60d1f7ff62e drm/amdgpu: Fix out-of-bounds write warning
    f71ef2bb69dd drm/amdgpu: Fix the uninitialized variable warning
    3ad44174a576 drm/amdgpu/pm: Fix uninitialized variable agc_btc_response
    3e04fa97077d drm/amdgpu/pm: Fix uninitialized variable warning for smu10
    97667de35ba7 drm/amd/pm: fix uninitialized variable warnings for vangogh_ppt
    4dfec5f5501a drm/amd/amdgpu: Check tbo resource pointer
    4003bac78438 drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box
    8406158a5464 drm/amd/display: Skip inactive planes within ModeSupportAndSystemConfiguration
    3dc6bb57dab3 drm/amd/display: Ensure index calculation will not overflow
    94b0689984dd drm/amd/display: Fix Coverity INTEGER_OVERFLOW within decide_fallback_link_setting_max_bw_policy
    af43ed726fa5 drm/amd/display: Spinlock before reading event
    313d3dd4ca0e drm/amd/display: Fix Coverity INTEGER_OVERFLOW within dal_gpio_service_create
    13faa9d401a5 drm/amd/display: Fix Coverity INTERGER_OVERFLOW within construct_integrated_info
    cb63090a17d3 drm/amd/display: Check msg_id before processing transcation
    21f9cb44f8c6 drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]
    8b5ccf3d0119 drm/amd/display: Add array index check for hdcp ddc access
    48e0b68e2360 drm/amd/display: Check index for aux_rd_interval before using
    94cb77700fa4 drm/amd/display: Stop amdgpu_dm initialize when stream nums greater than 6
    08e7755f754e drm/amd/display: Check gpio_id before used as array index
    30e60db4296c drm/amdgpu: avoid reading vf2pf info size from FB
    1a2c89396ddc drm/amd/pm: fix uninitialized variable warnings for vega10_hwmgr
    f1e261ced9bc drm/amd/pm: fix the Out-of-bounds read warning
    4711b1347cb9 drm/amd/pm: Fix negative array index read
    59dd0d4b3326 drm/amd/pm: fix warning using uninitialized value of max_vid_step
    1dbce92f3250 drm/amd/pm: fix uninitialized variable warning for smu8_hwmgr
    fc0cb02efdfb drm/amd/pm: fix uninitialized variable warning
    a2f2beaba783 drm/amdgpu/pm: Check the return value of smum_send_msg_to_smc
    da22d1b98d9d drm/amdgpu: fix overflowed array index read warning
    d2fe7ac613a1 drm/amd/display: Assign linear_pitch_alignment even for VM
    761964b756c6 drm/amdgpu: Fix uninitialized variable warning in amdgpu_afmt_acr
    3d2e1b82558b mptcp: pr_debug: add missing \n at the end
    a088190f3fbf mptcp: avoid duplicated SUB_CLOSED events
    1f4ca105abb5 selftests: mptcp: join: stop transfer when check is done (part 2.2)
    5803af655fd5 selftests: mptcp: join: disable get and dump addr checks
    81f2e73e73fb selftests: mptcp: join: test for flush/re-add endpoints
    f9ca09beedda selftests: mptcp: join: check re-re-adding ID 0 signal
    a417ef47a665 selftests: mptcp: join: validate event numbers
    b66609e9aa7c selftests: mptcp: add mptcp_lib_events helper
    0a37a0ec0d7d selftests: mptcp: join: check re-adding init endp with != id
    43ca9a10d052 selftests: mptcp: join: check re-using ID of unused ADD_ADDR
    a95e3e702ce4 selftests: mptcp: add explicit test case for remove/readd
    8863e430e6dc selftests: mptcp: join: cannot rm sf if closed
    a17d1419126b selftests: mptcp: declare event macros in mptcp_lib
    485bb1981a2e selftests: mptcp: userspace pm get addr tests
    1b8af4ba00b2 selftests: mptcp: dump userspace addrs list
    05867195c96f selftests: mptcp: userspace pm create id 0 subflow
    2a72ceb86359 mptcp: pm: fix RM_ADDR ID for the initial subflow
    0229074a5170 mptcp: make pm_remove_addrs_and_subflows static
    489f245e00f0 ASoC: codecs: ES8326: button detect issue
    2eb143e0962c ASoC: amd: yc: Support mic on Lenovo Thinkpad E14 Gen 6
    cc300463aa06 net: usb: qmi_wwan: add MeiG Smart SRM825L
    2ea1fab2df6c dma-debug: avoid deadlock between dma debug vs printk and netconsole
    b1322bc32a34 i2c: Fix conditional for substituting empty ACPI functions
    8b28f8c5d124 spi: hisi-kunpeng: Add validation for the minimum value of speed_hz
    533e175c82ad ASoC: amd: yc: Support mic on HP 14-em0002la
    77e5d743a8cf smb: client: fix FSCTL_GET_REPARSE_POINT against NetApp
    ad3bc43e7296 net/mlx5: DR, Fix 'stack guard page was hit' error in dr_rule
    f8b39e2da7d9 ALSA: seq: ump: Explicitly reset RPN with Null RPN
    9062e98473a9 ALSA: seq: ump: Transmit RPN/NRPN message at each MSB/LSB data reception
    7c34c6894779 ALSA: seq: ump: Use the common RPN/bank conversion context
    4ed4e84939ac ALSA: ump: Explicitly reset RPN with Null RPN
    5a494fdbfc63 ALSA: ump: Transmit RPN/NRPN message at each MSB/LSB data reception
    bd819563d5c3 ALSA: hda/conexant: Mute speakers at suspend / shutdown
    8f11fbe1199b ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown
    9b090ccd80cc btrfs: tree-checker: validate dref root and objectid
    02c19d769d2b scsi: ufs: core: Bypass quick recovery if force reset is needed
    8d1af5c6af5c scsi: ufs: core: Check LSDBS cap when !mcq
    512bd0cd535b drm: panel-orientation-quirks: Add quirk for OrangePi Neo
    d5618eaea886 drm/fb-helper: Don't schedule_work() to flush frame buffer during panic()
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: cd5b6da1e2ca2e331adeebd5db43d07603f65283)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6687a404a7b3c9d3b28832204b1d9ce575f12e13)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Bruce Ashfield
87ffcb9381 linux-yocto/6.6: update to v6.6.49
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    df1a7cc5e00f Linux 6.6.49
    d60839a73a26 apparmor: fix policy_unpack_test on big endian systems
    8a3995a3ffec scsi: aacraid: Fix double-free on probe failure
    790a8d36f96b arm64: dts: freescale: imx93-tqma9352-mba93xxla: fix typo
    7cf7de0f3572 arm64: dts: freescale: imx93-tqma9352: fix CMA alloc-ranges
    f8fb2cd48653 arm64: dts: imx93: update default value for snps,clk-csr
    d0c54c294926 arm64: dts: imx93: add nvmem property for eqos
    1e59301fcc30 arm64: dts: imx93: add nvmem property for fec1
    228d69f93898 arm64: dts: imx8mp-beacon-kit: Fix Stereo Audio on WM8962
    8aaca1c9fb9a ARM: dts: omap3-n900: correct the accelerometer orientation
    d54696813cf4 usb: cdnsp: fix for Link TRB with TC
    72be846dc76e usb: cdnsp: fix incorrect index in cdnsp_get_hw_deq function
    8fc7c9dcfe38 usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes()
    70b43c33669e usb: dwc3: st: add missing depopulate in probe error path
    e1e5e8ea2731 usb: dwc3: st: fix probed platform device ref count on probe error path
    7bb11a75dd4d usb: dwc3: core: Prevent USB core invalid event buffer address access
    df2daed52923 usb: dwc3: omap: add missing depopulate in probe error path
    b3e8696e0374 ARM: dts: imx6dl-yapp43: Increase LED current to match the yapp4 HW design
    6d9f4783868b USB: serial: option: add MeiG Smart SRM825L
    03e3156ea7e5 scsi: sd: Ignore command SYNCHRONIZE CACHE error if format in progress
    cdf7efe4b02a firmware: qcom: scm: Mark get_wq_ctx() as atomic call
    ea3b6ec38bed cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller
    1efdbf5323c9 soc: qcom: pmic_glink: Fix race during initialization
    c704091b5911 soc: qcom: pmic_glink: Actually communicate when remote goes down
    ef80520be0ff soc: qcom: cmd-db: Map shared memory as WC, not WB
    56ad559cf6d8 nfc: pn533: Add poll mod list filling check
    55526afdbb52 net: busy-poll: use ktime_get_ns() instead of local_clock()
    f6f5e39a3fe7 drm/amd/display: avoid using null object of framebuffer
    b65116bee7b5 sctp: fix association labeling in the duplicate COOKIE-ECHO case
    28c67f0f84f8 gtp: fix a potential NULL pointer dereference
    6b598069164a bonding: change ipsec_lock from spin lock to mutex
    19792758339b bonding: extract the use of real_device into local variable
    124a688ed36c bonding: implement xdo_dev_state_free and call it after deletion
    7aa9f978c2b6 selftests: forwarding: local_termination: Down ports on cleanup
    7e7d0bd538d5 selftests: forwarding: no_forwarding: Down ports on cleanup
    84f17718a0b8 netfilter: nf_tables_ipv6: consider network offset in netdev/egress validation
    94ab317024ba ethtool: check device is present when getting link settings
    1a525d99dc93 wifi: iwlwifi: fw: fix wgds rev 3 exact size
    8e51088d9123 netfilter: nf_tables: restore IP sanity checks for netdev/egress
    99912d85fa89 iommu: Do not return 0 from map_pages if it doesn't do anything
    c8525821ecb1 Bluetooth: hci_core: Fix not handling hibernation actions
    662a55986b88 Bluetooth: btnxpuart: Fix random crash seen while removing driver
    9aa6e15c0108 Bluetooth: btnxpuart: Handle FW Download Abort scenario
    9d5df94ce0e2 Bluetooth: btnxpuart: Resolve TX timeout error in power save stress test
    7df36cceb934 dmaengine: dw: Add memory bus width verification
    e1b63d054ee0 dmaengine: dw: Add peripheral bus width verification
    24775bfdf435 phy: xilinx: phy-zynqmp: Fix SGMII linkup failure on resume
    ffd2e852dc54 dmaengine: dw-edma: Do not enable watermark interrupts for HDMA
    d3c9a2a6caa8 dmaengine: dw-edma: Fix unmasking STOP and ABORT interrupts for HDMA
    b47ff45c4a87 soundwire: stream: fix programming slave ports for non-continous port maps
    954e1893fe85 phy: fsl-imx8mq-usb: fix tuning parameter name
    b547cab1ebdb iommufd: Do not allow creating areas without READ or WRITE
    459584258d47 selinux,smack: don't bypass permissions check in inode_setsecctx hook
    05d2e16a9e3a Revert "change alloc_pages name in dma_map_ops to avoid name conflicts"
    288d398df80c cifs: Fix FALLOC_FL_PUNCH_HOLE support
    881aee27ce7d mm: Fix missing folio invalidation calls during truncation
    9de10f5b7ba9 ovl: ovl_parse_param_lowerdir: Add missed '\n' for pr_err
    dce7cbeaa10f ovl: fix wrong lowerdir number check for parameter Opt_lowerdir
    0e1c9709d70b ovl: pass string to ovl_parse_layer()
    c15123bbe379 pinctrl: starfive: jh7110: Correct the level trigger configuration of iev register
    2ebdb6e98705 pinctrl: mediatek: common-v2: Fix broken bias-disable for PULL_PU_PD_RSEL_TYPE
    805cb277fbc0 ASoC: SOF: amd: Fix for acp init sequence
    30464c3174e1 ASoC: amd: acp: fix module autoloading
    2dfbf8991e49 thermal: of: Fix OF node leak in of_thermal_zone_find() error paths
    31019a2ab4a0 thermal: of: Fix OF node leak in thermal_of_trips_init() error path
    0199a29ec6e9 of: Introduce for_each_*_child_of_node_scoped() to automate of_node_put() handling
    d967f6ae3149 usb: typec: fix up incorrectly backported "usb: typec: tcpm: unregister existing source caps before re-registration"
    4ed03758ddf0 tracing: Have format file honor EVENT_FILE_FL_FREED
    9a9716bbbf3d drm/vmwgfx: Fix prime with external buffers
    39defab0ebf0 drm/amdgpu/swsmu: always force a state reprogram on init
    11182b33faf3 drm/amdgpu: align pp_power_profile_mode with kernel docs
    09c423d6fcd5 selftests: mptcp: join: check re-re-adding ID 0 endp
    99c17b3be7e3 selftests: mptcp: join: no extra msg if no counter
    a81c87ac6080 selftests: mptcp: join: check removing ID 0 endpoint
    dc14d542e683 mptcp: pm: ADD_ADDR 0 is not a new address
    53e2173172d2 mptcp: pm: fix ID 0 endp usage after multiple re-creations
    78b04149868d mptcp: pm: do not remove already closed subflows
    edfbc14a4beb mptcp: pm: send ACK on an active subflow
    26e0f27405db mptcp: pm: reset MPC endp ID when re-added
    6d6c14563347 mptcp: pm: skip connecting to already established sf
    1448d9a34ce4 mptcp: pm: reuse ID 0 after delete and re-add
    9e40cd795900 mptcp: sched: check both backup in retrans
    255bc4fc4f6a mptcp: close subflow when receiving TCP+FIN
    c04cac9a59c4 net: mana: Fix race of mana_hwc_post_rx_wqe and new hwc response
    8e4084ed2bd6 wifi: mwifiex: duplicate static structs used in driver instances
    9d5e5908f063 wifi: wfx: repair open network AP mode
    cb739d3ce51c of: Add cleanup.h based auto release via __free(device_node) markings
    4ed45fe99ec9 pinctrl: single: fix potential NULL dereference in pcs_get_function()
    d80bdfaa48c1 pinctrl: rockchip: correct RK3328 iomux width flag for GPIO2-B pins
    a01859dd6aeb smb/client: avoid dereferencing rdata=NULL in smb2_new_read_req()
    44013260666f btrfs: run delayed iputs when flushing delalloc
    51722b99f41f btrfs: fix a use-after-free when hitting errors inside btrfs_submit_chunk()
    f6758eb7928e LoongArch: Remove the unused dma-direct.h
    b1922c3102f1 ALSA: seq: Skip event type filtering for UMP events
    c77dee530e77 Linux 6.6.48
    a2081b8cabbe tools: move alignment-related macros to new <linux/align.h>
    8f04edd554d1 Input: MT - limit max slots
    3d68d1076040 Revert "s390/dasd: Establish DMA alignment"
    b8d7b897e1e5 net: ngbe: Fix phy mode set to external phy
    118fd997612d ksmbd: fix race condition between destroy_previous_session() and smb2 operations()
    c6372cbd919b drm/amdgpu/vcn: not pause dpg for unified queue
    44bb8f18a63b drm/amdgpu/vcn: identify unified queue in sw init
    e0aeb26b04ec NFSD: simplify error paths in nfsd_svc()
    b12caa8f0888 selftests/bpf: Add a test to verify previous stacksafe() fix
    7cad3174cc79 bpf: Fix a kernel verifier crash in stacksafe()
    19b4397c4a15 mm/numa: no task_numa_fault() call if PTE is changed
    c789a78151c1 mm/numa: no task_numa_fault() call if PMD is changed
    bb121128fd58 ALSA: timer: Relax start tick time check for slave timer elements
    1f3b52c0fdc8 igc: Fix qbv tx latency by setting gtxoffset
    ad569ac6055f drm/panel: nt36523: Set 120Hz fps for xiaomi,elish panels
    ab7554fb515b drm/msm/mdss: specify cfg bandwidth for SDM670
    cc9006d00da4 hwmon: (ltc2992) Fix memory leak in ltc2992_parse_dt()
    f0974e6bc385 tcp: do not export tcp_twsk_purge()
    3d3a8654a53b platform/x86/intel/ifs: Call release_firmware() when handling errors.
    50fe8565a9be Revert "drm/amd/display: Validate hw_points_num before using it"
    8e1f64d44664 Revert "usb: gadget: uvc: cleanup request when not in correct state"
    ce2f28a549f1 selftests: mptcp: join: check re-using ID of closed subflow
    f845af67e79e selftests: mptcp: join: validate fullmesh endp on 1st sf
    9a9afbbc3fbf mptcp: pm: avoid possible UaF when selecting endp
    b762e1e301bd mptcp: pm: fullmesh: select the right ID later
    a7a692b79104 mptcp: pm: only in-kernel cannot have entries with ID 0
    9907af6a28a6 mptcp: pm: check add_addr_accept_max before accepting new ADD_ADDR
    d20bf2c96d7f mptcp: pm: only decrement add_addr_accepted for MPJ req
    43cf912b0b0f mptcp: pm: only mark 'subflow' endp as available
    01db51846874 mptcp: pm: remove mptcp_pm_remove_subflow()
    257d56fbfff9 mptcp: pm: re-using ID of unused flushed subflows
    7b64bdbfcf6f mptcp: pm: re-using ID of unused removed subflows
    cb24bdcdecba mptcp: pm: re-using ID of unused removed ADD_ADDR
    cc29c5546c6a nouveau/firmware: use dma non-coherent allocator
    d25fd6eb26a7 pmdomain: imx: wait SSAR when i.MX93 power domain on
    e6d49dd41e14 pmdomain: imx: scu-pd: Remove duplicated clocks
    7bbf8f8b8861 mmc: dw_mmc: allow biu and ciu clocks to defer
    c1b17191abc5 mmc: mtk-sd: receive cmd8 data when hs400 tuning fail
    9d7629bec5c3 KVM: arm64: Make ICC_*SGI*_EL1 undef in the absence of a vGICv3
    2d7cb80bfff3 cxgb4: add forgotten u64 ivlan cast before shift
    11343059daf8 Input: i8042 - use new forcenorestore quirk to replace old buggy quirk combination
    fdda14aba729 Input: i8042 - add forcenorestore quirk to leave controller untouched even on s3
    2b5f22ea55ca HID: wacom: Defer calculation of resolution until resolution_code is known
    ac5d3baf141a MIPS: Loongson64: Set timer mode in cpu-probe
    242665bd914a net: dsa: microchip: fix PTP config failure when using multiple ports
    50553ea7cbd3 drm/amdgpu: Validate TA binary size
    09982d418ac6 ksmbd: the buffer of smb2 query dir response has at least 1 byte
    76df3a1970dd scsi: core: Fix the return value of scsi_logical_block_count()
    064dd929c765 Bluetooth: MGMT: Add error handling to pair_device()
    0fa4b4aadb2b smb: client: ignore unhandled reparse tags
    cac2815f49d3 mmc: mmc_test: Fix NULL dereference on allocation failure
    88c232fd0629 drm/msm: fix the highest_bank_bit for sc7180
    aba75693331e drm/msm/mdss: Handle the reg bus ICC path
    707601fcf652 drm/msm/mdss: Rename path references to mdp_path
    9611899f42e3 drm/msm/mdss: switch mdss to use devm_of_icc_get()
    8b93b3e1589e drm/msm/dpu: take plane rotation into account for wide planes
    1af8f3db50c2 drm/msm/dpu: try multirect based on mdp clock limits
    a3c5815b07f4 drm/msm/dpu: cleanup FB if dpu_format_populate_layout fails
    6f3aea37aac4 drm/msm/dp: reset the link phy params before link training
    3fb61718bcbe drm/msm/dpu: move dpu_encoder's connector assignment to atomic_enable()
    8e7ef27e4e8f drm/msm/dpu: capture snapshot on the first commit_done timeout
    801f49c83bac drm/msm/dpu: split dpu_encoder_wait_for_event into two functions
    da7243e52264 drm/msm/dpu: drop MSM_ENC_VBLANK support
    e86721b0d02c drm/msm/dpu: use drmm-managed allocation for dpu_encoder_phys
    4a2798cc24ba drm/msm/dp: fix the max supported bpp logic
    69da87fb0dd4 drm/msm/dpu: don't play tricks with debug macros
    6be50c8991d7 net: ovs: fix ovs_drop_reasons error
    4bf322e5af8e net: xilinx: axienet: Fix dangling multicast addresses
    14ebcb4a67dc net: xilinx: axienet: Always disable promiscuous mode
    7a8c74df7c97 octeontx2-af: Fix CPT AF register offset calculation
    0279c35d242d netfilter: flowtable: validate vlan header
    fa4e6ae38574 bnxt_en: Fix double DMA unmapping for XDP_REDIRECT
    124b428fe280 ipv6: prevent possible UAF in ip6_xmit()
    6ab6bf731354 ipv6: fix possible UAF in ip6_finish_output2()
    af1dde074ee2 ipv6: prevent UAF in ip6_send_skb()
    cfa692e7e71b udp: fix receiving fraglist GSO packets
    577d6c061946 netem: fix return value if duplicate enqueue fails
    f7d8c2fabd39 net: dsa: mv88e6xxx: Fix out-of-bound access
    8ea80ff5d829 igb: cope with large MAX_SKB_FRAGS
    da7d3fddced7 dpaa2-switch: Fix error checking in dpaa2_switch_seed_bp()
    c864bf016692 ice: fix truesize operations for PAGE_SIZE >= 8192
    e9a1df12d530 ice: fix ICE_LAST_OFFSET formula
    5898525275b2 ice: fix page reuse when PAGE_SIZE is over 8k
    996ba2f0d755 bonding: fix xfrm state handling when clearing active slave
    4582d4ff413a bonding: fix xfrm real_dev null pointer dereference
    0707260a1831 bonding: fix null pointer deref in bond_ipsec_offload_ok
    f2b3d38d7986 bonding: fix bond_ipsec_offload_ok return type
    467ee0d4c567 ip6_tunnel: Fix broken GRO
    9a131a509935 netfilter: nft_counter: Synchronize nft_counter_reset() against reader.
    b1ac83483e8a netfilter: nft_counter: Disable BH in nft_counter_offload_stats().
    00425508f30b kcm: Serialise kcm_sendmsg() for the same socket.
    ed37ac430c70 net: mctp: test: Use correct skb for route input check
    99580ae890ec tcp: prevent concurrent execution of tcp_sk_exit_batch
    7348061662c7 tcp/dccp: do not care about families in inet_twsk_purge()
    9624febd6968 tcp/dccp: bypass empty buckets in inet_twsk_purge()
    03225025384d selftests: udpgro: report error when receive failed
    440efd86cda2 tc-testing: don't access non-existent variable on exception
    e83b49ecb569 net: mscc: ocelot: serialize access to the injection/extraction groups
    ff7f554bbd75 net: mscc: ocelot: fix QoS class for injected packets with "ocelot-8021q"
    dd17e1e68255 net: mscc: ocelot: use ocelot_xmit_get_vlan_info() also for FDMA and register injection
    4177f2b0a348 Bluetooth: SMP: Fix assumption of Central always being Initiator
    50ce49116477 Bluetooth: hci_core: Fix LE quote calculation
    9b707444bebc drm/amdkfd: reserve the BO before validating it
    15e3bbd83bf5 ALSA: hda/tas2781: Use correct endian conversion
    9dcb933a161e platform/surface: aggregator: Fix warning when controller is destroyed in probe
    114858d71382 drm/amd/amdgpu: command submission parser for JPEG
    a50a25dc0ce0 drm/amd/display: fix cursor offset on rotation 180
    6490f063d54b drm/amd/display: Enable otg synchronization logic for DCN321
    d15fc910b618 drm/amd/display: Adjust cursor position
    f0e8658790b1 btrfs: send: allow cloning non-aligned extent if it ends at i_size
    1bca9776ed27 btrfs: replace sb::s_blocksize by fs_info::sectorsize
    de7bad86345c mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0
    983e6b2636f0 change alloc_pages name in dma_map_ops to avoid name conflicts
    f2ce57463dd3 selftests: memfd_secret: don't build memfd_secret test on unsupported arches
    7b0e822d6546 selftests/mm: log run_vmtests.sh results in TAP format
    b4426da8c17c tools/testing/selftests/mm/run_vmtests.sh: lower the ptrace permissions
    b77471c6760a mm: fix endless reclaim on machines with unaccepted memory
    00b395e95a01 dm suspend: return -ERESTARTSYS instead of -EINTR
    84557cd61182 riscv: entry: always initialize regs->a0 to -ENOSYS
    e84f4400bf8c i2c: stm32f7: Add atomic_xfer method to driver
    2ff51719ec61 jfs: define xtree root and page independently
    34ba4f29f3d9 gtp: pull network headers in gtp_dev_xmit()
    9c375a95669e nvme: fix namespace removal list
    6019283e1e35 EDAC/skx_common: Allow decoding of SGX addresses
    81bd4b07a4f3 ionic: check cmd_regs before copying in or out
    1ae3ff27c6f2 ionic: use pci_is_enabled not open code
    a855d1297985 hrtimer: Prevent queuing of hrtimer without a function callback
    3cc03d1dbdcf drm/amdgpu: fix dereference null return value for the function amdgpu_vm_pt_parent
    82f20194bf46 nvme: use srcu for iterating namespace list
    913c30f827e1 Revert "bpf, sockmap: Prevent lock inversion deadlock in map delete elem"
    1b2631dd54fb selftests/bpf: Fix a few tests for GCC related warnings.
    73c50bd10478 nvmet-rdma: fix possible bad dereference when freeing rsps
    e9c0aa6c3dfd ext4: set the type of max_zeroout to unsigned int to avoid overflow
    4ca547488de8 irqchip/gic-v3-its: Remove BUG_ON in its_vpe_irq_domain_alloc
    def4422ff0eb usb: dwc3: core: Skip setting event buffers for host only controllers
    c0076d2c8d45 platform/x86: lg-laptop: fix %s null argument warning
    14bd62d58018 clocksource: Make watchdog and suspend-timing multiplication overflow safe
    831420f210a3 irqchip/renesas-rzg2l: Do not set TIEN and TINT source at the same time
    d8d4da5c689d s390/iucv: fix receive buffer virtual vs physical address confusion
    7ad21517c397 openrisc: Call setup_memory() earlier in the init sequence
    fbc63fb16544 NFS: avoid infinite loop in pnfs_update_layout.
    4ff710fdf72f nvmet-tcp: do not continue for invalid icreq
    be285b8dd29b net: hns3: add checking for vf id of mailbox
    454ba1740cb5 rtc: nct3018y: fix possible NULL dereference
    664ad87c36c8 firmware: cirrus: cs_dsp: Initialize debugfs_root to invalid
    7ff15407c404 Bluetooth: bnep: Fix out-of-bound access
    5469f609be9f nvme: clear caller pointer on identify failure
    5419f3001e9e usb: gadget: fsl: Increase size of name buffer for endpoints
    428fb40bd951 f2fs: fix to do sanity check in update_sit_entry
    b9b019acfb72 btrfs: delete pointless BUG_ON check on quota root in btrfs_qgroup_account_extent()
    c7e0e8acc59a btrfs: change BUG_ON to assertion in tree_move_down()
    48256173f200 btrfs: send: handle unexpected inode in header process_recorded_refs()
    4eb8be942efc btrfs: send: handle unexpected data in header buffer in begin_cmd()
    46ca3ec9b8b1 btrfs: handle invalid root reference found in may_destroy_subvol()
    6be930556d28 btrfs: push errors up from add_async_extent()
    981a749cef8e btrfs: tests: allocate dummy fs_info and root in test_find_delalloc()
    f379c3f49e95 btrfs: change BUG_ON to assertion when checking for delayed_node root
    315471004b84 btrfs: defrag: change BUG_ON to assertion in btrfs_defrag_leaves()
    a7fec145b086 btrfs: delayed-inode: drop pointless BUG_ON in __btrfs_remove_delayed_item()
    97db7b598766 powerpc/boot: Only free if realloc() succeeds
    9c96b5b05648 powerpc/boot: Handle allocation failure in simple_realloc()
    881613a97540 f2fs: stop checkpoint when get a out-of-bounds segment
    23494bccd256 rxrpc: Don't pick values out of the wire header when setting up security
    cbdac8249fc9 parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367
    0f7acd8cefdb memory: stm32-fmc2-ebi: check regmap_read return value
    1a45994fb218 x86: Increase brk randomness entropy for 64-bit systems
    60563755c93c md: clean up invalid BUG_ON in md_ioctl
    9cf3b89b4f84 netlink: hold nlk->cb_mutex longer in __netlink_dump_start()
    0e07c0c84afe tick: Move got_idle_tick away from common flags
    6d4fbad0efbf clocksource/drivers/arm_global_timer: Guard against division by zero
    533893c2e033 accel/habanalabs: fix debugfs files permissions
    0b9f748da2ae virtiofs: forbid newlines in tags
    a48d12797eef hrtimer: Select housekeeping CPU during migration
    53b2f3539958 gpio: sysfs: extend the critical section for unregistering sysfs devices
    932490268c44 drm/lima: set gp bus_stop bit before hard reset
    aeecb08b6420 net/sun3_82586: Avoid reading past buffer in debug output
    6d3ff0437e1a wifi: iwlwifi: mvm: avoid garbage iPN
    2f50c1ea7fde media: drivers/media/dvb-core: copy user arrays safely
    12b5b959080a scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list()
    342352caf06f fs: binfmt_elf_efpic: don't use missing interpreter's properties
    b1397fb4a779 media: pci: cx23885: check cx23885_vdev_init() return
    1fb112cefadb kernfs: fix false-positive WARN(nr_mmapped) in kernfs_drain_open_files
    d5a9588cc389 riscv: blacklist assembly symbols for kprobe
    18b9264a1389 quota: Remove BUG_ON from dqget()
    30bbdff9e19d wifi: ath12k: Add missing qmi_txn_cancel() calls
    535e9bd0e8f8 fuse: fix UAF in rcu pathwalks
    e968edf6ecba afs: fix __afs_break_callback() / afs_drop_open_mmap() race
    56a1bf2b8357 btrfs: zlib: fix and simplify the inline extent decompression
    0a56dcce6b82 ext4: do not trim the group with corrupted block bitmap
    5b7766ab913b nvmet-trace: avoid dereferencing pointer too early
    9b139b16b58e EDAC/skx_common: Filter out the invalid address
    73567149beaf gfs2: Refcounting fix in gfs2_thaw_super
    3cde81f8ad3e Bluetooth: hci_conn: Check non NULL function before calling for HFP offload
    7a3e7f1ed601 evm: don't copy up 'security.evm' xattr
    e9c902dd3695 drm/rockchip: vop2: clear afbc en and transform bit for cluster window at linear mode
    9324cbc465a6 ionic: no fw read when PCI reset failed
    b41d5ce6b210 ionic: prevent pci disable of already disabled device
    fb768e05712d powerpc/pseries/papr-sysparm: Validate buffer object lengths
    cbd7ab7d7ef7 hwmon: (pc87360) Bounds check data->innr usage
    61db7910e8c2 ASoC: SOF: ipc4: check return value of snd_sof_ipc_msg_data
    9badede60704 powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu
    dff1afeaeaf6 memory: tegra: Skip SID programming if SID registers aren't set
    9064a70eee97 drm/msm: Reduce fallout of fence signaling vs reclaim hangs
    edb39f621bad block: Fix lockdep warning in blk_mq_mark_tag_wait
    c58f7770456b arm64: Fix KASAN random tag seed initialization
    855538373007 powerpc/topology: Check if a core is online
    f17c3a37b22a cpu/SMT: Enable SMT only if a core is online
    881eb2fae123 rust: fix the default format for CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT
    b4dad0cab687 rust: suppress error messages from CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT
    34e1335905f2 rust: work around `bindgen` 0.69.0 issue
    7d805d925529 hwmon: (ltc2992) Avoid division by zero
    67288cbb7ac2 IB/hfi1: Fix potential deadlock on &irq_src_lock and &dd->uctxt_lock
    c357e4cf5830 clk: visconti: Add bounds-checking coverage for struct visconti_pll_provider
    30819471054a wifi: iwlwifi: check for kmemdup() return value in iwl_parse_tlv_firmware()
    0a1a3c11fc33 wifi: iwlwifi: fw: Fix debugfs command sending
    1cbdaf141a5d wifi: iwlwifi: abort scan when rfkill on but device enabled
    355aec2ed84d gfs2: setattr_chown: Add missing initialization
    1a327862eb13 wifi: mac80211: flush STA queues on unauthorization
    e9f610050369 scsi: spi: Fix sshdr use
    3b2f36068c28 ASoC: SOF: Intel: hda-dsp: Make sure that no irq handler is pending before suspend
    66ddb97699b2 iommu/arm-smmu-qcom: Add SDM670 MDSS compatible
    9649d26dc9ad media: qcom: venus: fix incorrect return value
    abbba0768c8c drm/tegra: Zero-initialize iosys_map
    5ee7df8143c1 binfmt_misc: cleanup on filesystem umount
    ebf6f517d3f3 md/raid5-cache: use READ_ONCE/WRITE_ONCE for 'conf->log'
    03be3489b165 accel/habanalabs: fix bug in timestamp interrupt handling
    db5ba2c1ed16 accel/habanalabs: export dma-buf only if size/offset multiples of PAGE_SIZE
    fa8cb3102fe4 accel/habanalabs/gaudi2: unsecure tpc count registers
    e6571cff84da media: s5p-mfc: Fix potential deadlock on condlock
    14dde93c3136 platform/x86/intel/ifs: Validate image size
    8464e99e3808 staging: ks7010: disable bh on tx_dev_lock
    a8b30d53a1e9 drm/amd/display: Validate hw_points_num before using it
    1b60d354a4de usb: gadget: uvc: cleanup request when not in correct state
    d2defcddfe90 wifi: mt76: fix race condition related to checking tx queue fill status
    b87691d733cf staging: iio: resolver: ad2s1210: fix use before initialization
    84d617388059 wifi: ath11k: fix ath11k_mac_op_remain_on_channel() stack usage
    55e9057c8a95 media: radio-isa: use dev_name to fill in bus_info
    14fafdfdadf9 drm/amdkfd: Move dma unmapping after TLB flush
    7620f9c3bdc5 i3c: mipi-i3c-hci: Do not unmap region not mapped for transfer
    6c85c7c9a8cd i3c: mipi-i3c-hci: Remove BUG() when Ring Abort request times out
    98ed3f40f22d wifi: ath12k: fix WARN_ON during ath12k_mac_update_vif_chan
    10b1f8525415 drm/bridge: tc358768: Attempt to fix DSI horizontal timings
    8653d7bddf81 s390/smp,mcck: fix early IPI handling
    0b9c00d9fae7 RDMA/rtrs: Fix the problem of variable not initialized fully
    75a92689e36b i2c: riic: avoid potential division by zero
    a2225b7af5d6 cgroup: Avoid extra dereference in css_populate_dir()
    a4dc7424561c wifi: cw1200: Avoid processing an invalid TIM IE
    97f381703914 sched/topology: Handle NUMA_NO_NODE in sched_numa_find_nth_cpu()
    7ede6ef04c9f net: ethernet: mtk_wed: check update_wo_rx_stats in mtk_wed_update_rx_stats()
    81ba4dd37a28 rcu: Eliminate rcu_gp_slow_unregister() false positive
    e160de344f52 rcu: Dump memory object info if callback function is invalid
    4a2f09460141 mm: Remove kmem_valid_obj()
    ee6669b463ca wifi: iwlwifi: mvm: fix recovery flow in CSA
    86f22e7cce02 wifi: mac80211: fix BA session teardown race
    268f84a82753 wifi: cfg80211: check wiphy mutex is held for wdev mutex
    f34056c3050e wifi: mac80211: lock wiphy in IP address notifier
    5a002f41ebff ASoC: cs35l45: Checks index of cs35l45_irqs[]
    8574cdabb526 ssb: Fix division by zero issue in ssb_calc_clock_rate
    ec71cc24b0d4 drm/amdgpu: access RLC_SPM_MC_CNTL through MMIO in SRIOV runtime
    695f692bcd72 drm/amd/amdgpu/imu_v11_0: Increase buffer size to ensure all possible values can be stored
    51e4630ef0d1 drm/amd/pm: fix error flow in sensor fetching
    c3254bc09f46 ALSA: hda/realtek: Fix noise from speakers on Lenovo IdeaPad 3 15IAU7
    a8544dec14a7 gpio: mlxbf3: Support shutdown() function
    fa1d4de7265c net: hns3: fix a deadlock problem when config TC during resetting
    1d2f4a731613 net: hns3: use the user's cfg after reset
    a6c0178c81a1 net: hns3: fix wrong use of semaphore up
    d4b8c4bb7714 selftests: net: lib: kill PIDs before del netns
    fc9cae2199b8 selftests: net: lib: ignore possible errors
    921f1acf0c3c vsock: fix recursive ->recvmsg calls
    f123293db16d netfilter: nf_tables: Add locking for NFT_MSG_GETOBJ_RESET requests
    4340de3e659c netfilter: nf_tables: Introduce nf_tables_getobj_single
    cf4ebf779739 netfilter: nf_tables: Carry reset boolean in nft_obj_dump_ctx
    f3b7dc8b6c9a netfilter: nf_tables: nft_obj_filter fits into cb->ctx
    959c9bf85fe2 netfilter: nf_tables: Carry s_idx in nft_obj_dump_ctx
    2c6a79b94e39 netfilter: nf_tables: A better name for nft_obj_filter
    ba9b99d909e1 netfilter: nf_tables: Unconditionally allocate nft_obj_filter
    83d37714c151 netfilter: nf_tables: Drop pointless memset in nf_tables_dump_obj
    bb6231e53361 netfilter: nf_tables: Audit log dump reset after the fact
    74e6eb7fd27e netfilter: nf_queue: drop packets with cloned unconfirmed conntracks
    c7b760499f77 netfilter: flowtable: initialise extack before use
    7b825f91a071 netfilter: allow ipv6 fragments to arrive on different devices
    227355ad4e4a tcp: Update window clamping condition
    ff8292bb10ec mptcp: correct MPTCP_SUBFLOW_ATTR_SSN_OFFSET reserved size
    c920ab13d713 mlxbf_gige: disable RX filters until RX path initialized
    326a89321f9d net: ethernet: mtk_wed: fix use-after-free panic in mtk_wed_setup_tc_block_cb()
    b3917d8a4e01 net: dsa: vsc73xx: check busy flag in MDIO operations
    cec515531e4f net: dsa: vsc73xx: use read_poll_timeout instead delay loop
    e077f5192811 net: dsa: vsc73xx: pass value in phy_write operation
    948ee178f46e net: axienet: Fix register defines comment description
    ef23c18ab88e atm: idt77252: prevent use after free in dequeue_rx()
    6c88d53bcf8e net/mlx5e: Correctly report errors for ethtool rx flows
    b3b9a87adee9 net/mlx5e: Take state lock during tx timeout reporter
    920dff7f4369 igc: Fix reset adapter logics when tx mode change
    01ad5058b826 igc: Fix qbv_config_change_errors logics
    3fa593db4592 igc: Fix packet still tx after gate close by reducing i226 MAC retry buffer
    944f2d4db9ce bpf: Fix updating attached freplace prog in prog_array map
    730f7a5e44d8 s390/uv: Panic for set and remove shared access UVC errors
    09717678737b drm/amdgpu/jpeg4: properly set atomics vmid field
    0e93fa4027cf drm/amdgpu/jpeg2: properly set atomics vmid field
    f1aa7c509aa7 memcg_write_event_control(): fix a user-triggerable oops
    2685a2b9e55d drm/amdgpu: Actually check flags for all context ops.
    d3ba98ce5c18 btrfs: tree-checker: add dev extent item checks
    9baca56eb073 btrfs: zoned: properly take lock to read/update block group's zoned variables
    251508b933f6 btrfs: tree-checker: reject BTRFS_FT_UNKNOWN dir type
    f7668d033940 mm/memory-failure: use raw_spinlock_t in struct memory_failure_cpu
    5295951b53bd selinux: add the processing of the failure of avc_add_xperms_decision()
    01a6b34b602a selinux: fix potential counting error in avc_add_xperms_decision()
    dfaa39b05a6c fs/netfs/fscache_cookie: add missing "n_accesses" check
    4291f94f8c6b wifi: brcmfmac: cfg80211: Handle SSID based pmksa deletion
    221cf8321757 net: mana: Fix doorbell out of order violation and avoid unnecessary doorbell rings
    65f20b174ec0 net: mana: Fix RX buf alloc_size alignment and atomic op panic
    753f1745146e rtla/osnoise: Prevent NULL dereference in error handling
    67d1d8cc5904 i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume
    dd72ae8b0fce fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE
    97a532c3ac4f bitmap: introduce generic optimized bitmap_size()
    ef725854f898 btrfs: rename bitmap_set_bits() -> btrfs_bitmap_set_bits()
    9805a8811781 s390/cio: rename bitmap_size() -> idset_bitmap_size()
    706cc80260d3 fs/ntfs3: add prefix to bitmap_size() and use BITS_TO_U64()
    b9bda5f6012d vfs: Don't evict inode under the inode lru traversing context
    a6bba25f15e7 dm persistent data: fix memory allocation failure
    00df2f486838 dm resume: don't return EINVAL when signalled
    0237b5517ccb arm64: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE
    d2c7680250ef ACPI: EC: Evaluate _REG outside the EC scope more carefully
    03fd525dfefe ACPICA: Add a depth argument to acpi_execute_reg_methods()
    6861faf4232e i2c: tegra: Do not mark ACPI devices as irq safe
    36ebafda35f8 riscv: change XIP's kernel_map.size to be size of the entire kernel
    051c0a558154 KVM: s390: fix validity interception issue when gisa is switched off
    93a7e2856951 s390/dasd: fix error recovery leading to data corruption on ESE devices
    31ba13202c74 ALSA: hda/tas2781: fix wrong calibrated data order
    18b3ad2a3cc8 thunderbolt: Mark XDomain as unplugged when router is removed
    6b99de301d78 xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration
    9dd9078485eb ALSA: usb-audio: Support Yamaha P-125 quirk entry
    82d06b816332 ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET
    5cff754692ad char: xillybus: Check USB endpoints when probing device
    435fc9cae23d char: xillybus: Refine workqueue handling
    a7ad105b1225 char: xillybus: Don't destroy workqueue from work item running on it
    ac42e0f0eb66 fuse: Initialize beyond-EOF page contents before setting uptodate
    61eb7aae8b16 selinux: revert our use of vma_is_initial_heap()
    c2a3b181f08f Revert "usb: typec: tcpm: clear pd_event queue in PORT_RESET"
    ea13bd807f1c Revert "misc: fastrpc: Restrict untrusted app to attach to privileged PD"
    7adc8a3d5da8 Revert "ACPI: EC: Evaluate orphan _REG under EC device"
    63e80efa6341 tty: atmel_serial: use the correct RTS flag.
    8eb92cfca6c2 tty: serial: fsl_lpuart: mark last busy before uart_add_one_port
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 39c6afcac2c9a8633baedaa7c8f58f3692e27e89)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4dbd9650040a5e9b839b4d508953a05d008a0bcc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Bruce Ashfield
47ca33058e linux-yocto/6.6: update to v6.6.47
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    4c1a2d4cd9a5 Linux 6.6.47
    88042e41534b Revert "ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error"
    fb6f56244af3 media: Revert "media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()"
    60d90e158261 KVM: arm64: Don't pass a TLBI level hint when zapping table entries
    2c770086e079 KVM: arm64: Don't defer TLB invalidation when zapping table entries
    f3c60ab676bb cgroup: Move rcu_head up near the top of cgroup_root
    6419341b6b2b mm/debug_vm_pgtable: drop RANDOM_ORVALUE trick
    e2bf9ba1d3d7 Revert "Input: bcm5974 - check endpoint type before starting traffic"
    6fb93eeb25e5 Revert "jfs: fix shift-out-of-bounds in dbJoin"
    49df34d2b7da binfmt_flat: Fix corruption when not offsetting data start
    f95d175a9e5f ALSA: usb: Fix UBSAN warning in parse_audio_unit()
    5472b587cf71 fs/ntfs3: Do copy_to_user out of run_lock
    f650148b4394 jfs: Fix shift-out-of-bounds in dbDiscardAG
    6ea10dbb1e6c jfs: fix null ptr deref in dtInsertEntry
    3db4395332e7 fou: remove warn in gue_gro_receive on unsupported protocol
    263df78166d3 f2fs: fix to cover read extent cache access with lock
    ae00e6536a2d f2fs: fix to do sanity check on F2FS_INLINE_DATA flag in inode during GC
    bd104cbb9d3f bpf, net: Use DEV_STAT_INC()
    3f6bbe6e07e5 ext4: sanity check for NULL pointer after ext4_force_shutdown
    3a2c70baf62b ext4: convert ext4_da_do_write_end() to take a folio
    8a3ac7fb3696 wifi: cfg80211: restrict NL80211_ATTR_TXQ_QUANTUM values
    5b485efcb6a6 mm/page_table_check: support userfault wr-protect entries
    737fb7853acd ext4: do not create EA inode under buffer lock
    f2a77188a396 ext4: fold quota accounting into ext4_xattr_inode_lookup_create()
    4ea65e2095e9 Bluetooth: RFCOMM: Fix not validating setsockopt user input
    0f1061332030 nfc: llcp: fix nfc_llcp_setsockopt() unsafe copies
    ae7f73e64e9b net: add copy_safe_from_sockptr() helper
    bae45e9b78e8 mISDN: fix MISDN_TIME_STAMP handling
    107449cfb217 fs: Annotate struct file_handle with __counted_by() and use struct_size()
    63f13eb5d627 bpf: Avoid kfree_rcu() under lock in bpf_lpm_trie.
    ef33f0296893 bpf: Replace bpf_lpm_trie_key 0-length array with flexible array
    5fbbd952e7c3 pppoe: Fix memory leak in pppoe_sendmsg()
    84c176fbecd1 net: sctp: fix skb leak in sctp_inq_free()
    6cee13d8d4e0 net:rds: Fix possible deadlock in rds_message_put
    a2f2e5a4c907 quota: Detect loops in quota tree
    0252e359afa5 Input: bcm5974 - check endpoint type before starting traffic
    2cea502f58d6 net: tls, add test to capture error on large splice
    2fdcf3c4ad74 erofs: avoid debugging output for (de)compressed data
    ca9b877a2e2c reiserfs: fix uninit-value in comp_keys
    984ed0567f5d Squashfs: fix variable overflow triggered by sysbot
    2dbaa75748ac squashfs: squashfs_read_data need to check if the length is 0
    0b24b7941086 jfs: fix shift-out-of-bounds in dbJoin
    3999d26986be net: don't dump stack on queue timeout
    e4a4435787dd jfs: fix log->bdev_handle null ptr deref in lbmStartIO
    9641706cbbc2 jfs: Convert to bdev_open_by_dev()
    4365d0d660ac fs: Convert to bdev_open_by_dev()
    e58695f6c556 wifi: mac80211: fix change_address deadlock during unregister
    be31c9be8764 wifi: mac80211: take wiphy lock for MAC addr change
    77100f2e8412 tcp_metrics: optimize tcp_metrics_flush_all()
    dd9542ae7c7c cgroup: Make operations on the cgroup root_list RCU safe
    bcd514804394 genirq/cpuhotplug: Retry with cpu_online_mask when migration fails
    20dbad7525c6 genirq/cpuhotplug: Skip suspended interrupts when restoring affinity
    a47b54846ac7 nvme/pci: Add APST quirk for Lenovo N60z laptop
    26273f5f4cf6 mm: gup: stop abusing try_grab_folio
    9eae19001439 nfsd: make svc_stat per-network namespace instead of global
    9ae63aab0df8 nfsd: remove nfsd_stats, make th_cnt a global counter
    b670a59817ec nfsd: make all of the nfsd stats per-network namespace
    6f8d6ed3426a nfsd: expose /proc/net/sunrpc/nfsd in net namespaces
    5b3a1ecf0790 nfsd: rename NFSD_NET_* to NFSD_STATS_*
    2e8076df20f3 sunrpc: use the struct net as the svc proc private
    791be93cf182 sunrpc: remove ->pg_stats from svc_program
    465bb0f1f48b sunrpc: pass in the sv_stats struct through svc_create_pooled
    032ed4c630cd nfsd: stop setting ->pg_stats for unused stats
    1257fe22e14e sunrpc: don't change ->sv_stats if it doesn't exist
    9b31d561f475 NFSD: Fix frame size warning in svc_export_parse()
    5bc2b8f225e9 NFSD: Rewrite synopsis of nfsd_percpu_counters_init()
    9d91b004df9a LoongArch: Define __ARCH_WANT_NEW_STAT in unistd.h
    7c3e55d8b463 ASoC: topology: Fix route memory corruption
    bd865c769002 ASoC: topology: Clean up route loading
    d2a2a4714d80 exec: Fix ToCToU between perm check and set-uid/gid usage
    2879d995e569 pnmtologo: sync with 6.6
    99fd042016c7 Linux 6.6.46
    7ba27f14161f btrfs: fix double inode unlock for direct IO sync writes
    1c3b01b519e5 Revert "selftests: mptcp: simult flows: mark 'unbalanced' tests as flaky"
    9d97114f2fd0 selftests: mptcp: join: test both signal & subflow
    e80cf3fc4ee1 selftests: mptcp: join: ability to invert ADD_ADDR check
    64815ba15880 mptcp: pm: do not ignore 'subflow' if 'signal' flag is also set
    9a4a4c0b8eeb mptcp: pm: don't try to create sf if alloc failed
    432535f52e7c mptcp: pm: reduce indentation blocks
    c2389c074973 xfs: fix log recovery buffer allocation for the legacy h_size fixup
    37e79836d6a4 nouveau: set placement to original placement on uvmm validate.
    2ae4d5821852 mm/hugetlb: fix potential race in __update_and_free_hugetlb_folio()
    d43ff9428954 tools headers arm64: Sync arm64's cputype.h with the kernel sources
    e7f3e5fb20c5 ipv6: fix source address selection with route leak
    717c91c6ed73 netfilter: nf_tables: prefer nft_chain_validate
    0a108bde616a btrfs: fix corruption after buffer fault in during direct IO append write
    a5c399fe433a mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines
    6ea9aa8d97e6 mm: huge_memory: don't force huge page alignment on 32 bit
    94220b35aeba Revert "drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update"
    163f7dd80237 block: use the right type for stub rq_integrity_vec()
    d4c67071f481 mptcp: pm: deny endp with signal + subflow + port
    8165c84431b3 selftests: mptcp: fix error path
    fff9b9208c1d mptcp: pm: fix backup support in signal endpoints
    07bb418cb0b4 mptcp: fully established after ADD_ADDR echo on MPJ
    ea12dbf570ef drm/radeon: Remove __counted_by from StateArray.states[]
    81d34df84362 drm/mgag200: Bind I2C lifetime to DRM device
    6946b7b00531 drm/mgag200: Set DDC timeout in milliseconds
    b3aa563f2135 drm/lima: Mark simple_ondemand governor as softdep
    28c060cd370d drm/dp_mst: Skip CSN if topology probing is not done yet
    6f8765a70670 drm/bridge: analogix_dp: properly handle zero sized AUX transactions
    78f1990b6bf8 sched/core: Fix unbalance set_rq_online/offline() in sched_cpu_deactivate()
    4c15b20c26a4 sched/core: Introduce sched_set_rq_on/offline() helper
    65727331b601 sched/smt: Fix unbalance sched_smt_present dec/inc
    41d856565d64 sched/smt: Introduce sched_smt_present_inc/dec() helper
    8a90d3fc7c24 x86/mtrr: Check if fixed MTRRs exist before saving them
    8728e3fc7208 x86/paravirt: Fix incorrect virt spinlock setting on bare metal
    866992f0d452 btrfs: avoid using fixed char array size for tree names
    772f83194278 selftests: mm: add s390 to ARCH check
    2ef3d120d19f eventfs: Use SRCU for freeing eventfs_inodes
    b59603a114fa eventfs: Don't return NULL in eventfs_create_dir()
    c7cd840b8e2b smb3: fix setting SecurityFlags when encryption is required
    924f788c906d padata: Fix possible divide-by-0 panic in padata_mt_helper()
    a172c7b22bc2 tracing: Fix overflow in get_free_elt()
    f31fe63838e9 power: supply: axp288_charger: Round constant_charge_voltage writes down
    e1ab8ca8034f power: supply: axp288_charger: Fix constant_charge_voltage writes
    da5e1ee0eb12 power: supply: qcom_battmgr: return EAGAIN when firmware service is not up
    e32f7c84438f LoongArch: Enable general EFI poweroff method
    0688cacd0e93 genirq/irqdesc: Honor caller provided affinity in alloc_desc()
    2ce998fabc63 irqchip/xilinx: Fix shift out of bounds
    d0137ce03fe5 kcov: properly check for softirq context
    6f48f45c7bde ASoC: amd: yc: Add quirk entry for OMEN by HP Gaming Laptop 16-n0xxx
    642a0b7453da parisc: fix a possible DMA corruption
    8d26093f8124 parisc: fix unaligned accesses in BPF
    37a060b64ae8 memcg: protect concurrent access to mem_cgroup_idr
    e3ad50387628 serial: core: check uartclk for zero to avoid divide by zero
    65d76c0aa2b7 timekeeping: Fix bogus clock_was_set() invocation in do_adjtimex()
    ae5848cb5b28 ntp: Safeguard against time_constant overflow
    726f4c241e17 tracefs: Use generic inode RCU for synchronizing freeing
    a49f7de9b8e9 tracefs: Fix inode allocation
    4d035c743c3e driver core: Fix uevent_show() vs driver detach race
    9d6193fd9108 clocksource: Fix brown-bag boolean thinko in cs_watchdog_read()
    03c3855528ab clocksource: Scale the watchdog read retries automatically
    b5cf99eb7a7c ntp: Clamp maxerror and esterror to operating range
    2ac6deb9998b vhost-vdpa: switch to use vmf_insert_pfn() in the fault handler
    b9d604933d5f tick/broadcast: Move per CPU pointer access into the atomic section
    8bf58028d58c scsi: ufs: core: Fix hba->last_dme_cmd_tstamp timestamp updating logic
    74eda70a56be scsi: ufs: core: Do not set link to OFF state while waking up from hibernation
    80d0624d0a8f scsi: mpi3mr: Avoid IOMMU page faults on REPORT ZONES
    d67546814d14 usb: gadget: u_audio: Check return codes from usb_ep_enable and config_ep_by_speed.
    54b7f68025a0 usb: gadget: u_serial: Set start_delayed during suspend
    a4f0d0a0139c usb: gadget: midi2: Fix the response for FB info with block 0xff
    1a9df57d5745 usb: gadget: core: Check for unset descriptor
    0761ba080a0d USB: serial: debug: do not echo input by default
    128e82e41cf7 usb: vhci-hcd: Do not drop references before new references are gained
    22628010c596 ALSA: hda/hdmi: Yet more pin fix for HP EliteDesk 800 G4
    a70ed69f9b35 ALSA: hda/realtek: Add Framework Laptop 13 (Intel Core Ultra) to quirks
    09c0f5f9db33 ALSA: hda: Add HP MP9 G4 Retail System AMS to force connect list
    535df7f896a5 ALSA: line6: Fix racy access to midibuf
    d64fc94f7bb2 drm/client: fix null pointer dereference in drm_client_modeset_probe
    d73de3c64476 drm/i915/gem: Adjust vma offset for framebuffer mmap offset
    0da0b06165d8 drm/amdgpu: Forward soft recovery errors to userspace
    718d83f66fb0 drm/amd/display: Skip Recompute DSC Params if no Stream on Link
    4b09513ce93b drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
    81ac1e888460 module: make waiting for a concurrent module loader interruptible
    bdb3679cf318 module: warn about excessively long module waits
    c0f767dea583 cifs: cifs_inval_name_dfs_link_error: correct the check for fullpath
    885283269275 ASoC: meson: axg-fifo: fix irq scheduling issue with PREEMPT_RT
    a59ee7038912 ALSA: usb-audio: Re-add ScratchAmp quirk entries
    a2c0f5df8b6b spi: spi-fsl-lpspi: Fix scldiv calculation
    c25b8a3f016a i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume
    233419a329d1 i2c: qcom-geni: Add missing clk_disable_unprepare in geni_i2c_runtime_resume
    a4155dec0199 kprobes: Fix to check symbol prefixes correctly
    25ad6909c86e bpf: kprobe: remove unused declaring of bpf_kprobe_override
    ae68eee1af4f i2c: smbus: Send alert notifications to all devices if source not found
    b66c92b7d17e ASoC: SOF: Remove libraries from topology lookups
    b15602915957 spi: spidev: Add missing spi_device_id for bh2228fv
    641de16bb3b0 ASoC: sti: add missing probe entry for player and reader
    8485d324aa03 ASoC: codecs: wsa884x: Correct Soundwire ports mask
    192af3ce5747 ASoC: codecs: wsa884x: parse port-mapping information
    e79e2d8f7a25 ASoC: codecs: wsa883x: Correct Soundwire ports mask
    986141e384dc ASoC: codecs: wsa883x: parse port-mapping information
    f4bbf2f2f5f1 ASoC: codecs: wsa881x: Correct Soundwire ports mask
    733677fc391e ASoC: codecs: wcd938x-sdw: Correct Soundwire ports mask
    1534b11275b7 i2c: smbus: Improve handling of stuck alerts
    745eec68a307 arm64: errata: Expand speculative SSBS workaround (again)
    8defe5195138 arm64: cputype: Add Cortex-A725 definitions
    44094ae235cd arm64: cputype: Add Cortex-X1C definitions
    b9bf53354e98 arm64: errata: Expand speculative SSBS workaround
    771746afa0b8 arm64: errata: Unify speculative SSBS errata logic
    88ef8dd94f8b arm64: cputype: Add Cortex-X925 definitions
    ef6e6d1062c8 arm64: cputype: Add Cortex-A720 definitions
    fc4675620ac8 arm64: cputype: Add Cortex-X3 definitions
    93696d8f96a9 arm64: errata: Add workaround for Arm errata 3194386 and 3312417
    527e7e72c9ac arm64: cputype: Add Neoverse-V3 definitions
    e5b9593843b7 arm64: cputype: Add Cortex-X4 definitions
    1ae80faeccfe arm64: barrier: Restore spec_bar() macro
    4167bf778008 arm64: Add Neoverse-V2 part
    6772c4868a8e net: drop bad gso csum_start and offset in virtio_net_hdr
    12f98cc6fb07 sched/cputime: Fix mul_u64_u64_div_u64() precision for cputime
    b56dee6c9b08 irqchip/loongarch-cpu: Fix return value of lpic_gsi_to_irq()
    57ab379d781c irqchip/meson-gpio: Convert meson_gpio_irq_controller::lock to 'raw_spinlock_t'
    b547433efa79 scsi: mpt3sas: Avoid IOMMU page faults on REPORT ZONES
    2d451ec01e66 profiling: remove profile=sleep support
    c26524044485 SUNRPC: Fix a race to wake a sync task
    1e8b7fb427af s390/sclp: Prevent release of buffer in I/O
    6dacca9fbe52 jbd2: avoid memleak in jbd2_journal_write_metadata_buffer
    e7abdad660ed ext4: fix uninitialized variable in ext4_inlinedir_to_tree
    850304152d36 media: xc2028: avoid use-after-free in load_firmware_cb()
    7f855b668137 media: uvcvideo: Fix the bandwdith quirk on USB 3.x
    5b835d12cfb9 media: uvcvideo: Ignore empty TS packets
    4cc2a94d96ca drm/amd/display: Add null checker before passing variables
    a59941605a2e drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update
    a29c1e51ef3a media: amphion: Remove lock in s_ctrl callback
    2e538944996d drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr
    1adb5ebe205e drm/amdgpu: Add lock around VF RLCG interface
    641dac64178c drm/admgpu: fix dereferencing null pointer context
    3a01bf2ca9f8 drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules
    b89616333979 drm/amdgpu: Fix the null pointer dereference to ras_manager
    09544cd95c68 drm/amdgpu/pm: Fix the null pointer dereference for smu7
    837ab17ceef9 drm/amdgpu/pm: Fix the param type of set_power_profile_mode
    bc93cfde69b7 drm/amdgpu: fix potential resource leak warning
    479ccc213217 drm/amd/display: Add delay to improve LTTPR UHBR interop
    4d9adcb94d55 Bluetooth: btnxpuart: Shutdown timer and prevent rearming when driver unloading
    d9e846072fcd btrfs: fix bitmap leak when loading free space cache on duplicate entry
    ba4dedb71356 btrfs: do not clear page dirty inside extent_write_locked_range()
    a006e6c4a8a0 net: stmmac: qcom-ethqos: enable SGMII loopback during DMA reset on sa8775p-ride-r3
    759822a3300c can: mcp251xfd: tef: update workaround for erratum DS80000789E 6 of mcp2518fd
    1333fd55d12e can: mcp251xfd: tef: prepare to workaround broken TEF FIFO tail index erratum
    81f086d913be wifi: nl80211: don't give key data to userspace
    5cc9745e2ea1 udf: prevent integer overflow in udf_bitmap_free_blocks()
    9be0805597b3 PCI: Add Edimax Vendor ID to pci_ids.h
    412f97f36062 af_unix: Don't retry after unix_state_lock_nested() in unix_stream_connect().
    5ce414edb383 selftests/bpf: Fix send_signal test with nested CONFIG_PARAVIRT
    650e24748e1e net/mlx5e: SHAMPO, Fix invalid WQ linked list unlink
    9b034650f369 wifi: ath12k: fix memory leak in ath12k_dp_rx_peer_frag_setup()
    c6ea738e3feb wifi: nl80211: disallow setting special AP channel widths
    c2775ae4d922 xen: privcmd: Switch from mutex to spinlock for irqfds
    9747b722125c ACPI: SBS: manage alarm sysfs attribute through psy core
    e1f6d71b42bf ACPI: battery: create alarm sysfs attribute atomically
    9e1923b395ba clocksource/drivers/sh_cmt: Address race condition for clock events
    4991cb2d434c rcu: Fix rcu_barrier() VS post CPUHP_TEARDOWN_CPU invocation
    c63b44fb33dd block: change rq_integrity_vec to respect the iterator
    775a9ba16c9f md/raid5: avoid BUG_ON() while continue reshape after reassembling
    3fd53466dbff md: do not delete safemode_timer in mddev_suspend
    7adbf9b5c826 rcutorture: Fix rcu_torture_fwd_cb_cr() data race
    95cf80c93432 hwmon: corsair-psu: add USB id of HX1200i Series 2023 psu
    1b955f786a4b gpio: prevent potential speculation leaks in gpio_device_get_desc()
    c0780672805e net: fec: Stop PPS on driver remove
    73780807c67c net: bcmgenet: Properly overlay PHY and MAC Wake-on-LAN capabilities
    207e88155410 l2tp: fix lockdep splat
    a7d2808d6757 net: dsa: bcm_sf2: Fix a possible memory leak in bcm_sf2_mdio_register()
    f7dc578abe4f net/smc: add the max value of fallback reason count
    1a7a06e90e53 Bluetooth: hci_sync: avoid dup filtering when passive scanning with adv monitor
    b4af69d51dfd Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()
    3e94132335cd ice: Fix reset handler
    3b1fae78bebe net: linkwatch: use system_unbound_wq
    e3145ca904fa net: bridge: mcast: wait for previous gc cycles when removing port
    f2c353227de1 net: usb: qmi_wwan: fix memory leak for not ip packets
    1407be30fc17 sctp: Fix null-ptr-deref in reuseport_add_sock().
    6a78a2903875 wifi: ath12k: fix soft lockup on suspend
    7091b094dd68 wifi: ath12k: add CE and ext IRQ flag to indicate irq_handler
    5c18b150e4cb wifi: ath12k: rename the sc naming convention to ab
    0397a48c4bd6 smb: client: handle lack of FSCTL_GET_REPARSE_POINT support
    fbb384e3f000 x86/mm: Fix pti_clone_entry_text() for i386
    ca07aab70dd3 x86/mm: Fix pti_clone_pgtable() alignment assumption
    c7b46f69d132 jump_label: Fix the fix, brown paper bags galore
    79b316264f57 platform/x86/intel/ifs: Initialize union ifs_status to zero
    3d0d7713dd3f platform/x86/intel/ifs: Gen2 Scan test support
    b399e6a23359 platform/x86/intel/ifs: Store IFS generation number
    69508cc9a9a8 irqchip/mbigen: Fix mbigen node address layout
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: c363c4254ad2a8be5b2e8aa45df28ebd70594157)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 475c48dae4fcc316ecbb12d32a7a57377af1da85)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Bruce Ashfield
9195f05793 linux-yocto/6.6: fix genericarm64 config warning
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: genericarm64: drop CONFIG_MTD_NAND_FSL_IFC
    Date: Tue, 13 Aug 2024 15:17:10 -0400

    We are getting the following warning in recent 6.6+ kernels:

        WARNING: linux-yocto-6.6.45+git-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration:

        [NOTE]: 'CONFIG_MTD_NAND_FSL_IFC' last val (y) and .config val (n) do not match
        [INFO]: CONFIG_MTD_NAND_FSL_IFC : n
        [INFO]: raw config text:

            config MTD_NAND_FSL_IFC
                    tristate "Freescale IFC NAND controller"
                    depends on (FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST) && HAS_IOMEM && FSL_IFC && MTD_RAW_NAND && MTD
                    help
                      Various Freescale chips e.g P1010, include a NAND Flash machine
                      with built-in hardware ECC capabilities.
                      Enabling this option will enable you to use this to control
                      external NAND devices.

            Config 'MTD_NAND_FSL_IFC' has the following Direct dependencies (MTD_NAND_FSL_IFC=n):
                    FSL_SOC(undefined/n) || ARCH_LAYERSCAPE(=y) || SOC_LS1021A(undefined/n) || COMPILE_TEST(=n) (=y) && HAS_IOMEM(=y) && FSL_IFC(=n) && MTD_RAW_NAND(=y) && MTD(=y)
            Parent dependencies are:
                 SOC_LS1021A [SOC_LS1021A] MTD [y] ARCH_LAYERSCAPE [y] HAS_IOMEM [y] FSL_SOC [FSL_SOC] COMPILE_TEST [n] MTD_RAW_NAND [y] FSL_IFC [n]
        [INFO]: config 'CONFIG_MTD_NAND_FSL_IFC' was set, but it wasn't assignable, check (parent) dependencies

    The most significant missing option that is disabling this config value
    is FSL_SOC, which is only defined in arch/powerpc.

    As such, there's no sense keeping this option in the genericarm64 config
    as it is only enabled via arch/powerpc.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: a52167cfd29cec1f7604d3cfc0b369eeb51c81fd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3809e8255e65c0013bf2012559b825be6c1221d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Bruce Ashfield
86821b18c1 linux-yocto/6.6: update to v6.6.45
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    878fbff41def Linux 6.6.45
    ee3c845787b6 mptcp: prevent BPF accessing lowat from a subflow socket.
    6f2b21806e9a selftests: mptcp: join: check backup support in signal endp
    8213b98e55ce selftests: mptcp: join: validate backup in MPJ
    ffe8c864c89f selftests: mptcp: always close input's FD if opened
    bf39cfc0236f mptcp: fix duplicate data handling
    bd1d1fc4bc61 mptcp: pm: only set request_bkup flag when sending MP_PRIO
    19bf32929bc0 mptcp: fix bad RCVPRUNED mib accounting
    6721cbaa04e5 mptcp: mib: count MPJ with backup flag
    e680e635ed06 mptcp: fix NL PM announced address accounting
    8ed3e34c766e mptcp: distinguish rcv vs sent backup flag in requests
    201b76f62453 mptcp: fix user-space PM announced address accounting
    7e927022495a r8169: don't increment tx_dropped in case of NETDEV_TX_BUSY
    f2b5be33a3b5 net: usb: sr9700: fix uninitialized variable use in sr_mdio_read
    6c0473c9ac50 drm/i915: Fix possible int overflow in skl_ddi_calculate_wrpll()
    a62c98142ca1 drm/virtio: Fix type of dma-fence context variable
    a8943969f9ea drm/vmwgfx: Fix a deadlock in dma buf fence polling
    f5043e69aeb2 Revert "ALSA: firewire-lib: operate for period elapse event in process context"
    5f8a5a1dd269 Revert "ALSA: firewire-lib: obsolete workqueue for period update"
    8dd4a10fdc00 ALSA: seq: ump: Optimize conversions from SysEx to UMP
    79d3823e1f7d ALSA: hda/realtek: Add quirk for Acer Aspire E5-574G
    b4dd36f912f2 ALSA: usb-audio: Correct surround channels in UAC1 channel map
    add243b7f6ce mptcp: sched: check both directions for backup
    da72e783afd2 protect the fetch of ->fd[fd] in do_dup2() from mispredictions
    0caf15bee7b1 btrfs: do not subtract delalloc from avail bytes
    ae29e6f764f6 btrfs: zoned: fix zone_unusable accounting on making block group read-write again
    92566c0fd72b HID: wacom: Modify pen IDs
    b8774d3137e5 platform/chrome: cros_ec_proto: Lock device when updating MKBP version
    5e5a29bd54a2 rust: SHADOW_CALL_STACK is incompatible with Rust
    dd0aaa9ac450 arm64: jump_label: Ensure patched jump_labels are visible to all CPUs
    40208cdbb2a7 riscv: Fix linear mapping checks for non-contiguous memory regions
    917f598209f3 riscv/mm: Add handling for VM_FAULT_SIGSEGV in mm_fault_error()
    fa12277fa218 perf: riscv: Fix selecting counters in legacy mode
    10b26868bfb2 riscv: remove unused functions in traps_misaligned.c
    93e2beae841b ipv6: fix ndisc_is_useropt() handling for PIO
    5635301ed5bc igc: Fix double reset adapter triggered from a single taprio cmd
    82b9a3804a8b net/mlx5e: Add a check for the return value from mlx5_port_set_eth_ptys
    daab2cc17b6b net/mlx5e: Fix CT entry update leaks of modify header context
    db4ba08c2371 net/mlx5e: Require mlx5 tc classifier action support for IPsec prio capability
    98884e89c90d net/mlx5: Fix missing lock on sync reset reload
    f6f846005d2b net/mlx5: Lag, don't use the hardcoded value of the first port
    315d00c7bc92 net/mlx5: Fix error handling in irq_pool_request_irq
    6b6c2ebd83f2 net/mlx5: Always drain health in shutdown callback
    e85b9b6a87be netfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().
    70014b73d753 netfilter: iptables: Fix null-ptr-deref in iptable_nat_table_init().
    2c2868a76667 ALSA: hda: Conditionally use snooping for AMD HDMI
    2094996159b4 net: phy: micrel: Fix the KSZ9131 MDI-X status issue
    eb2926cad1cf net: mvpp2: Don't re-use loop iterator
    9541f99b2651 drm/i915/hdcp: Fix HDCP2_STREAM_STATUS macro
    01437282fd39 net/iucv: fix use after free in iucv_sock_close()
    9ac083de42b4 ice: add missing WRITE_ONCE when clearing ice_rx_ring::xdp_prog
    ac2a3c759d3a ice: replace synchronize_rcu with synchronize_net
    9016d17f4ff6 ice: don't busy wait for Rx queue disable in ice_qp_dis()
    77292f935d7e ice: respect netif readiness in AF_XDP ZC related ndo's
    582b6c7dd019 i915/perf: Remove code to update PWR_CLK_STATE for gen12
    0db00726578c rtnetlink: Don't ignore IFLA_TARGET_NETNSID when ifname is specified in rtnl_dellink().
    4ea83a051838 net: axienet: start napi before enabling Rx/Tx
    1cfdc250b3d2 tcp: Adjust clamping window for applications specifying SO_RCVBUF
    f9fef23a81db tcp: annotate data-races around tp->window_clamp
    124a4885b55f mptcp: give rcvlowat some love
    ae8853d0a382 Bluetooth: hci_sync: Fix suspending with wrong filter policy
    b0c470d67b7d Bluetooth: btintel: Fail setup on error
    bc7734418c08 ALSA: hda: conexant: Fix headset auto detect fail in the polling mode
    b45cbfa204b2 net: phy: realtek: add support for RTL8366S Gigabit PHY
    fcfb8ceafba4 wifi: cfg80211: fix reporting failed MLO links status with cfg80211_connect_done
    d7cc186d0973 sched: act_ct: take care of padding in struct zones_ht_key
    c98d6c23fbb5 drm/vmwgfx: Trigger a modeset when the screen moves
    b67643bffe2e drm/vmwgfx: Fix overlay when using Screen Targets
    f23cd66933fe drm/nouveau: prime: fix refcount underflow
    1b46b23561d8 perf tool: fix dereferencing NULL al->maps
    0a5ca73babec HID: amd_sfh: Move sensor discovery before HID device initialization
    181f9b56193d ARM: 9406/1: Fix callchain_trace() return value
    f4675c8ee758 MIPS: dts: loongson: Fix ls2k1000-rtc interrupt
    3544efb889c1 MIPS: dts: loongson: Fix liointc IRQ polarity
    fcf20dc29320 MIPS: Loongson64: DTS: Fix PCIe port nodes for ls7a
    0bcd599a0f61 perf: imx_perf: fix counter start and config sequence
    c91c8d3830fa dmaengine: fsl-edma: change the memory access from local into remote mode in i.MX 8QM
    417b64e4c823 dmaengine: fsl-edma: clean up unused "fsl,imx8qm-adma" compatible string
    ba20b7f28e54 dmaengine: fsl-edma: add i.MX8ULP edma support
    5f8de773d43c dmaengine: fsl-edma: add address for channel mux register in fsl_edma_chan
    4239571c5db4 f2fs: assign CURSEG_ALL_DATA_ATGC if blkaddr is valid
    f911be1165d6 f2fs: fix to avoid use SSR allocate when do defragment
    00fbc7ba4943 mm/page_alloc: fix pcp->count race between drain_pages_zone() vs __rmqueue_pcplist()
    4abfa277c242 mm: page_alloc: control latency caused by zone PCP draining
    dde5e5343d2b mm: restrict the pcp batch scale factor to avoid too long latency
    340bbe90cc7d fbdev: vesafb: Detect VGA compatibility from screen info's VESA attributes
    a168da3182f8 firmware/sysfb: Update screen_info for relocated EFI framebuffers
    f5dce77f3f7d video: Provide screen_info_get_pci_dev() to find screen_info's PCI device
    5b4d995dfdd0 video: Add helpers for decoding screen_info
    bab0a828543a fbdev/vesafb: Replace references to global screen_info by local pointer
    ccab04dc573e PCI: Add pci_get_base_class() helper
    43e73206cf46 KVM: nVMX: Check for pending posted interrupts when looking for nested events
    459403bc66a9 KVM: nVMX: Add a helper to get highest pending from Posted Interrupt vector
    65b2514e0392 KVM: VMX: Move posted interrupt descriptor out of VMX code
    ebfed7bebd9e KVM: VMX: Split off vmx_onhyperv.{ch} from hyperv.{ch}
    93ac74cd6fef leds: triggers: Flush pending brightness before activating trigger
    9ce3c14f0d3c leds: trigger: Call synchronize_rcu() before calling trig->activate()
    587cf9c0f76e leds: trigger: Store brightness set by led_trigger_event()
    73a26eada593 leds: trigger: Remove unused function led_trigger_rename_static()
    e3fd01a81053 cpufreq: qcom-nvmem: fix memory leaks in probe error paths
    51a45209a8bf cpufreq: qcom-nvmem: Simplify driver data allocation
    df7363307ead ext4: check the extent status again before inserting delalloc block
    f12fbb9599e2 ext4: factor out a common helper to query extent map
    c6cba59072c6 ext4: convert to exclusive lock while inserting delalloc extents
    7849e9b5ba87 ext4: refactor ext4_da_map_blocks()
    ffde3af4b29b sysctl: always initialize i_uid/i_gid
    96f1d909cdd7 sysctl: treewide: drop unused argument ctl_table_root::set_ownership(table)
    13886221ad7c sysctl: allow to change limits for posix messages queues
    8d5b1a9ff844 sysctl: allow change system v ipc sysctls inside ipc namespace
    34e788045d0c thermal/drivers/broadcom: Fix race between removal and clock disable
    103881e6363c thermal: bcm2835: Convert to platform remove callback returning void
    0b4e4da51e28 arm64: dts: qcom: sdm845: Disable SS instance in Parkmode for USB
    a27753e685e5 arm64: dts: qcom: sdm845: switch USB QMP PHY to new style of bindings
    affc4de9451e arm64: dts: qcom: sdm845: switch USB+DP QMP PHY to new style of bindings
    1a0bff67f491 arm64: dts: qcom: ipq8074: Disable SS instance in Parkmode for USB
    cd4f3ad55bfb arm64: dts: qcom: msm8998: Disable SS instance in Parkmode for USB
    267a485c1573 arm64: dts: qcom: msm8998: switch USB QMP PHY to new style of bindings
    5bf33793d18a arm64: dts: qcom: sc7280: Disable SuperSpeed instances in park mode
    f879a830862f arm64: dts: qcom: sc7280: switch USB+DP QMP PHY to new style of bindings
    fde04340358d arm64: dts: qcom: sc7180: Disable SuperSpeed instances in park mode
    2359355ddfaf arm64: dts: qcom: sc7180: switch USB+DP QMP PHY to new style of bindings
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 9a0ae731678c4f863e6bf4c83f03573e6d393eb9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00878005c6a398db70efc29b46424d9b8233024c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Bruce Ashfield
3956ef3cca linux-yocto/6.6: update to v6.6.44
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    43ea1c5e6eb3c lib/build_OID_registry: take -stable reproducibility changes
    7213910600667 Linux 6.6.44
    acbd66c10d7bc fs: don't allow non-init s_user_ns for filesystems without FS_USERNS_MOUNT
    77848b379e9f8 nvme-pci: add missing condition check for existence of mapped data
    766b0e807e1d5 io_uring: fix io_match_task must_hold
    b62841e49a2b7 iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
    97dfb89415fd7 s390/cpum_cf: Fix endless loop in CF_DIAG event stop
    b4d781ddaee39 s390/pci: Allow allocation of more than 1 MSI interrupt
    3eab85f45ff12 s390/pci: Refactor arch_setup_msi_irqs()
    da0a3ebf9a96f ceph: fix incorrect kmalloc size of pagevec mempool
    6d98741dbd130 ASoC: TAS2781: Fix tasdev_load_calibrated_data()
    be6d86df474df ASoC: Intel: use soc_intel_is_byt_cr() only when IOSF_MBI is reachable
    af1125de16725 spi: spidev: add correct compatible for Rohm BH2228FV
    6443a4028539c ASoC: sof: amd: fix for firmware reload failure in Vangogh platform
    8772be96705a9 nvme-pci: Fix the instructions for disabling power management
    3feda3677e8bb spi: microchip-core: ensure TX and RX FIFOs are empty at start of a transfer
    783f42b77d33d spi: microchip-core: fix init function not setting the master and motorola modes
    0b0b75928852d spi: microchip-core: switch to use modern name
    c41d2178d61b9 spi: microchip-core: only disable SPI controller when register value change requires it
    1dc6d9fd4828f spi: microchip-core: defer asserting chip select until just before write to TX FIFO
    11e0f3c888b2e spi: microchip-core: fix the issues in the isr
    0e51f66977e33 ASoC: SOF: imx8m: Fix DSP control regmap retrieval
    64dc362dee403 auxdisplay: ht16k33: Drop reference after LED registration
    f4c6ebb053cc9 lirc: rc_dev_get_from_fd(): fix file leak
    4f79a18af9d6e powerpc: fix a file leak in kvm_vcpu_ioctl_enable_cap()
    6c920754f62ce apparmor: Fix null pointer deref when receiving skb during sock creation
    ddc79556641ee mISDN: Fix a use after free in hfcmulti_tx()
    c3496314c53e7 bpf: Fix a segment issue when downgrading gso_size
    7704460acd7f5 net: nexthop: Initialize all fields in dumped nexthops
    4384135d22174 net: stmmac: Correct byte order of perfect_match
    76ddf84a52f0d tipc: Return non-zero value from tipc_udp_addr2str() on error
    5c82010cef30c netfilter: nft_set_pipapo_avx2: disable softinterrupts
    b6426eabb4f71 ice: Fix recipe read procedure
    d9f01090912b4 net: bonding: correctly annotate RCU in bond_should_notify_peers()
    42f493bd6cb8f ipv4: Fix incorrect source address in Record Route option
    1f07fab9e0864 MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later
    9c79502ab7eb1 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    ba709e7807f78 bpf, events: Use prog to emit ksymbol event for main program
    1fe97f68fce1b dma: fix call order in dmam_free_coherent
    772f9c31bfde0 af_unix: Disable MSG_OOB handling for sockets in sockmap/sockhash
    297a14fde2d3d libbpf: Fix no-args func prototype BTF dumping syntax
    390c17cab13b5 selftests/bpf: fexit_sleep: Fix stack allocation for arm64
    019167c74117d kbuild: avoid build error when single DTB is turned into composite DTB
    fbcd51e0d977a f2fs: fix to update user block counts in block_operations()
    8aeab1af9d9bf watchdog: rzg2l_wdt: Check return status of pm_runtime_put()
    fb45265610cc7 watchdog: rzg2l_wdt: Use pm_runtime_resume_and_get()
    abde880b7920b f2fs: fix start segno of large section
    0aa0284818d2c um: time-travel: fix signal blocking race/hang
    f66d436204e9f um: time-travel: fix time-travel-start option
    7eaa06967b0fe phy: zynqmp: Enable reference clock correctly
    1cffbf30f865a phy: cadence-torrent: Check return value on register read
    0d820e1ca8efe dmaengine: ti: k3-udma: Fix BCHAN count with UHC and HC channels
    ff14eadc27866 jfs: Fix array-index-out-of-bounds in diFree
    9e58df60f6ceb kdb: Use the passed prompt in kdb_position_cursor()
    7b01bf24f391c kdb: address -Wformat-security warnings
    f44a25a8bfe0c f2fs: fix to truncate preallocated blocks in f2fs_file_open()
    73a9260b7366d s390/mm: Fix VM_FAULT_HWPOISON handling in do_exception()
    2cc8973bdc4d6 PCI/DPC: Fix use-after-free on concurrent DPC and hot-removal
    9b6742dcdc597 PCI: Introduce cleanup helpers for device reference counts and locks
    86e7bdc50bc6a wifi: mac80211: track capability/opmode NSS separately
    4211d065ef5cd mm/mglru: fix ineffective protection calculation
    be56dfc9be060 nilfs2: handle inconsistent state in nilfs_btnode_create_block()
    6c0cf6022aeec minmax: scsi: fix mis-use of 'clamp()' in sr.c
    34e4dfe838f7a Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x13d3:0x3591
    499ca9ddd4e4f Bluetooth: btusb: Add RTL8852BE device 0489:e125 to device tables
    3f83f52ae0822 video: logo: Drop full path of the input filename in generated file
    32c3c30a97f93 lib/build_OID_registry: don't mention the full path of the script in output
    7ca762dcf1fca rbd: don't assume RBD_LOCK_STATE_LOCKED for exclusive mappings
    36913dedee7d0 rbd: rename RBD_LOCK_STATE_RELEASING and releasing_wait
    1901f1cf7c2c3 drm/panfrost: Mark simple_ondemand governor as softdep
    92d3ca3f465c8 drm/etnaviv: don't block scheduler when GPU is still active
    cf9b29f2d42cc MIPS: Loongson64: Test register availability before use
    6c695c3ce76ae MIPS: Loongson64: reset: Prioritise firmware service
    690d62d1ebb92 MIPS: Loongson64: Remove memory node for builtin-dtb
    f7097b5fda08d MIPS: Loongson64: env: Hook up Loongsson-2K
    27479037e8c44 MIPS: dts: loongson: Fix GMAC phy node
    97f099862aa4c MIPS: ip30: ip30-console: Add missing include
    f29119b301d59 MIPS: dts: loongson: Add ISA node
    2de4d41862944 remoteproc: imx_rproc: Fix refcount mistake in imx_rproc_addr_init
    6c9ea3547fad2 remoteproc: imx_rproc: Skip over memory region when node value is NULL
    83ada7dfaf400 remoteproc: stm32_rproc: Fix mailbox interrupts queuing
    9a2acb02c1eca rbd: don't assume rbd_is_lock_owner() for exclusive mappings
    dcb5620d2dedf dm-verity: fix dm_is_verity_target() when dm-verity is builtin
    47e85f7121255 selftests/sigaltstack: Fix ppc64 GCC build
    ff5bbbdee0828 RDMA/iwcm: Fix a use-after-free related to destroying CM IDs
    aa9ccec6e215b platform: mips: cpu_hwmon: Disable driver on unsupported hardware
    bbaeff660657c watchdog/perf: properly initialize the turbo mode timestamp and rearm counter
    0cff6d4953091 rtc: abx80x: Fix return value of nvmem callback on read
    625fd91308467 rtc: isl1208: Fix return value of nvmem callbacks
    12880cc086dee drm/i915/dp: Don't switch the LTTPR mode on an active link
    a90e900f71da2 drm/i915/dp: Reset intel_dp->link_trained before retraining the link
    e150f0171c0c0 drm/amd/amdgpu: Fix uninitialized variable warnings
    3237905352379 drm/amdgpu: reset vm state machine after gpu reset(vram lost)
    e290feb8b749a drm/dp_mst: Fix all mstb marked as not probed after suspend/resume
    b29c910cfa242 drm/udl: Remove DRM_CONNECTOR_POLL_HPD
    9d74e50098492 drm/amdgpu/sdma5.2: Update wptr registers as well as doorbell
    05c0fb20ca3e0 drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8
    899857dd71e34 perf/x86/intel/pt: Fix a topa_entry base address calculation
    8f5f3db3fa484 perf/x86/intel/pt: Fix topa_entry base length
    344bb09f4f991 perf/x86/intel/ds: Fix non 0 retire latency on Raptorlake
    76d4ab96bb235 perf/x86/intel/uncore: Fix the bits of the CHA extended umask for SPR
    7d049cd1345c0 perf stat: Fix the hard-coded metrics calculation on the hybrid
    104e258a00403 perf: Fix event leak upon exec and file release
    05d3fd599594a perf: Fix event leak upon exit
    f6be298cc1042 scsi: qla2xxx: validate nvme_local_port correctly
    314efe3f87949 scsi: qla2xxx: Complete command early within lock
    bf192b8be12ca scsi: qla2xxx: Fix flash read failure
    3f43a7da1ef05 scsi: qla2xxx: Reduce fabric scan duplicate code
    56c0f66f86232 scsi: qla2xxx: Use QP lock to search for bsg
    571d7f2a08836 scsi: qla2xxx: Fix for possible memory corruption
    bc78c3f944dc1 scsi: qla2xxx: Unable to act on RSCN for port online
    87c25fcb95aaf scsi: qla2xxx: During vport delete send async logout explicitly
    45230f31f5529 scsi: lpfc: Allow DEVICE_RECOVERY mode after RSCN receipt if in PRLI_ISSUE state
    13749b8d498e7 rtc: cmos: Fix return value of nvmem callbacks
    ab14e199b91ca mm/numa_balancing: teach mpol_to_str about the balancing mode
    21bd3f9e7f924 irqchip/imx-irqsteer: Handle runtime power management correctly
    8b0e8b33dc2ff irqdomain: Fixed unbalanced fwnode get and put
    b67552d7c61f5 devres: Fix memory leakage caused by driver API devm_free_percpu()
    7a76022d53553 devres: Fix devm_krealloc() wasting memory
    d62389073a5b9 ice: Add a per-VF limit on number of FDIR filters
    d77250329dbb7 gve: Fix an edge case for TSO skb validity check
    57fe01d3d0427 kobject_uevent: Fix OOB access within zap_modalias_env()
    f7150b2d5ec34 ASoC: amd: yc: Support mic on Lenovo Thinkpad E16 Gen 2
    414f5028f149a ASoC: SOF: ipc4-topology: Preserve the DMA Link ID for ChainDMA on unprepare
    70a9f00de77f3 kbuild: Fix '-S -c' in x86 stack protector scripts
    75243c9b18f3a decompress_bunzip2: fix rare decompression failure
    460016444ab25 mm: fix old/young bit handling in the faulting path
    5a5625a83eac9 block: fix deadlock between sd_remove & sd_release
    3aba1db19b380 ubi: eba: properly rollback inside self_check_eba
    17c312eb11597 clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use
    b82d43000b8f3 f2fs: use meta inode for GC of COW file
    271fda62e8601 f2fs: use meta inode for GC of atomic file
    077f0e24b27c4 f2fs: fix return value of f2fs_convert_inline_inode()
    e62ff092a42f4 f2fs: fix to don't dirty inode for readonly filesystem
    1789db628bc50 f2fs: fix to force buffered IO on inline_data inode
    b4205dfcfe961 ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value
    5a33c922b2ad4 scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds
    2cac0df3324b5 fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed
    f17cbe5545852 efi/libstub: Zero initialize heap allocated struct screen_info
    ea4f77946226d hostfs: fix dev_t handling
    b579ea3516c37 dev/parport: fix the array out-of-bounds risk
    a1d85fc6bd250 binder: fix hang of unregistered readers
    e22b88f234a1f PCI: loongson: Enable MSI in LS7A Root Complex
    a5b1cce14a49f PCI: rockchip: Use GPIOD_OUT_LOW flag while requesting ep_gpio
    a30211c670489 PCI: dw-rockchip: Fix initial PERST# GPIO value
    09b15029a393d PCI: hv: Return zero, not garbage, when reading PCI_INTERRUPT_PIN
    23837335c3c11 parisc: Fix warning at drivers/pci/msi/msi.h:121
    e91173e375f75 hwrng: amd - Convert PCIBIOS_* return codes to errnos
    8d70d6114610a tools/memory-model: Fix bug in lock.cat
    fe3a28bfeb54b ALSA: usb-audio: Add a quirk for Sonix HD USB Camera
    3e81a7a91307f ALSA: usb-audio: Move HD Webcam quirk to the right place
    923d326f3c515 ALSA: usb-audio: Fix microphone sound on HD webcam.
    689e0780b2290 ALSA: ump: Force 1 Group for MIDI1 FBs
    ad4ab148a50f3 ALSA: ump: Don't update FB name for static blocks
    647cbf2ac6ef0 KVM: nVMX: Request immediate exit iff pending nested event needs injection
    e06f46fdf039c KVM: VMX: Split out the non-virtualization part of vmx_interrupt_blocked()
    5d104a5e99642 media: ivsc: csi: don't count privacy on as error
    b57b5c89d88ed media: uvcvideo: Fix integer overflow calculating timestamp
    82b85a747abe0 jbd2: avoid infinite transaction commit loop
    b81c3758c1df0 jbd2: precompute number of transaction descriptor blocks
    7a8532b537ca0 jbd2: make jbd2_journal_get_max_txn_bufs() internal
    358bc85269d6a media: imx-pxp: Fix ERR_PTR dereference in pxp_probe()
    787b7348ad349 media: ivsc: csi: add separate lock for v4l2 control handler
    04a4668b087a5 leds: mt6360: Fix memory leak in mt6360_init_isnk_properties()
    655cc01889fa9 md/md-bitmap: fix writing non bitmap pages
    f67774b763de8 leds: ss4200: Convert PCIBIOS_* return codes to errnos
    e44eb9d83dcd7 drivers: soc: xilinx: check return status of get_api_version()
    4b060d11633d5 wifi: rtw88: usb: Fix disconnection after beacon loss
    c755c01b3f12f wifi: mwifiex: Fix interface type change
    27be7ff9ffb4a selftests/landlock: Add cred_transfer test
    6a74f52aabb11 trace/pid_list: Change gfp flags in pid_list_fill_irq()
    f1fd860bb2086 io_uring: tighten task exit cancellations
    c3893d9de8ee1 ext4: make sure the first directory block is not a hole
    9d241b7a39af1 ext4: check dot and dotdot of dx_root before making dir indexed
    8d04ddba51f9e m68k: amiga: Turn off Warp1260 interrupts during boot
    57053b3bcf340 udf: Avoid using corrupted block bitmap buffer
    d3ea49fb4a661 task_work: Introduce task_work_cancel() again
    0475bba01abcf task_work: s/task_work_cancel()/task_work_cancel_func()/
    f2d6c5b8ef116 cifs: mount with "unix" mount option for SMB1 incorrectly handled
    31553d20b4220 cifs: fix reconnect with SMB1 UNIX Extensions
    160235efb4f9b cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path
    691aada75653d apparmor: use kvfree_sensitive to free data->data
    4ccd37085976e drm/amd/display: Check for NULL pointer
    bf0ac89faf642 scsi: qla2xxx: Fix optrom version displayed in FDMI
    46d2ef2729578 drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes
    2d209b2f862f6 drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes
    8d01e63faac11 io_uring/io-wq: limit retrying worker initialisation
    8a31e8ff48096 ext2: Verify bitmap and itable block numbers before using them
    9c4e40b9b7312 hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()
    2c59cc6147808 ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error
    ce477199c53e3 ata: libata-scsi: Do not overwrite valid sense data when CK_COND=1
    66fa52edd32cd media: venus: fix use after free in vdec_close
    2b1aec0e6c1b9 char: tpm: Fix possible memory leak in tpm_bios_measurements_open()
    5a7c16a8b393b ata: libata-scsi: Fix offsets for the fixed format sense data
    fcebdc0d49d27 fuse: verify {g,u}id mount options correctly
    7ca529748b2df sched/fair: set_load_weight() must also call reweight_task() for SCHED_IDLE tasks
    b047898a9f4b6 NFSD: Support write delegations in LAYOUTGET
    46cb65e5b19ab ipv6: take care of scope when choosing the src addr
    0aa47c27f8a2a ipv4: fix source address selection with route leak
    5c07084001e15 kernel: rerun task_work while freezing in get_signal()
    c205565e0f2f4 btrfs: fix extent map use-after-free when adding pages to compressed bio
    5a041d25b6704 af_packet: Handle outgoing VLAN packets without hardware offloading
    9e541c2d60baa net: netconsole: Disable target before netpoll cleanup
    3a58c590f6bd1 tick/broadcast: Make takeover of broadcast hrtimer reliable
    a0495607c1f6f dt-bindings: thermal: correct thermal zone node name limit
    a7ac198f8dba7 exfat: fix potential deadlock on __exfat_get_dentry_set
    d849da88f7dad x86/efistub: Revert to heap allocated boot_params for PE entrypoint
    c12db5aa54152 x86/efistub: Avoid returning EFI_SUCCESS on error
    3e1e4763618d7 mm/mglru: fix overshooting shrinker memory
    0038abf9ddec9 mm: mmap_lock: replace get_memcg_path_buf() with on-stack buffer
    d6510f234c7d1 mm/mglru: fix div-by-zero in vmpressure_calc_level()
    99a49b670ede4 mm/hugetlb: fix possible recursive locking detected warning
    c311d65129ba1 hugetlb: force allocating surplus hugepages on mempolicy allowed nodes
    16896914bace8 landlock: Don't lose track of restrictions on cred_transfer
    cc3368064c68a LoongArch: Check TIF_LOAD_WATCH to enable user space watchpoint
    8fe6e8cb5fba5 sbitmap: fix io hung due to race on sbitmap_word::cleared
    a3e4c8f8da2c8 sbitmap: use READ_ONCE to access map->word
    e511167e65d33 s390/dasd: fix error checks in dasd_copy_pair_store()
    145bc12827186 powerpc/8xx: fix size given to set_huge_pte_at()
    acb2835abe41d fs/ntfs3: Keep runs for $MFT::$ATTR_DATA and $MFT::$ATTR_BITMAP
    f8599ff1a0b99 fs/ntfs3: Missed error return
    58ebd50d22529 fs/ntfs3: Fix the format of the "nocase" mount option
    99eb4449cf0f5 rtc: interface: Add RTC offset to alarm after fix-up
    a3fd1a14ddfd4 nilfs2: avoid undefined behavior in nilfs_cnt32_ge macro
    8acbcc5067acb fs/proc/task_mmu: properly detect PM_MMAP_EXCLUSIVE per page of PMD-mapped THPs
    cdeba6d1cfb10 fs/proc/task_mmu: don't indicate PM_MMAP_EXCLUSIVE without PM_PRESENT
    92e8bd49ab486 fs/proc/task_mmu.c: add_to_pagemap: remove useless parameter addr
    3aa4d9163ae18 fs/proc/task_mmu: indicate PM_FILE for PMD-mapped file THP
    09c5a17293e76 pinctrl: renesas: r8a779g0: Fix TPU suffixes
    798a182fb3946 pinctrl: renesas: r8a779g0: Fix TCLK suffixes
    6b8ba65b09285 pinctrl: renesas: r8a779g0: FIX PWM suffixes
    637cb96dc70c2 pinctrl: renesas: r8a779g0: Fix IRQ suffixes
    37198b25defcd pinctrl: renesas: r8a779g0: Fix (H)SCIF3 suffixes
    70b7259e6f8cc pinctrl: renesas: r8a779g0: Fix (H)SCIF1 suffixes
    e59258c5649c5 pinctrl: renesas: r8a779g0: Fix FXR_TXEN[AB] suffixes
    8cdbe6ebfd176 pinctrl: renesas: r8a779g0: Fix CANFD5 suffix
    a0bfea5e7e8b9 fs/ntfs3: Fix field-spanning write in INDEX_HDR
    ab09df593db51 fs/ntfs3: Drop stray '\' (backslash) in formatting string
    d0c3ba56fb642 fs/ntfs3: Correct undo if ntfs_create_inode failed
    53173e3865acb fs/ntfs3: Replace inode_trylock with inode_lock
    e0ed0ea337fd2 pinctrl: freescale: mxs: Fix refcount of child
    a9b717514070e pinctrl: ti: ti-iodelay: fix possible memory leak when pinctrl_enable() fails
    cbcdfab9b9417 pinctrl: ti: ti-iodelay: Drop if block with always false condition
    197c5c80353be pinctrl: single: fix possible memory leak when pinctrl_enable() fails
    99ae0689ab567 pinctrl: core: fix possible memory leak when pinctrl_enable() fails
    d51dc9f949c37 pinctrl: rockchip: update rk3308 iomux routes
    bcd4e15e7e481 fs/ntfs3: Add missing .dirty_folio in address_space_operations
    055f22654ae3c fs/ntfs3: Fix getting file type
    2f4ddb5a17739 fs/ntfs3: Missed NI_FLAG_UPDATE_PARENT setting
    645da4f92c782 fs/ntfs3: Deny getting attr data block in compressed frame
    c4df2d482137b fs/ntfs3: Fix transform resident to nonresident for compressed files
    f37b756a2350d fs/ntfs3: Merge synonym COMPRESSION_UNIT and NTFS_LZNT_CUNIT
    967879893cfe4 net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports
    50816049b1dc4 net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports
    935dec4e42773 ipv4: Fix incorrect TOS in fibmatch route get reply
    015d29dbe450e ipv4: Fix incorrect TOS in route get reply
    4afbac11f2f62 net: flow_dissector: use DEBUG_NET_WARN_ON_ONCE
    9b66bb1c586cc gve: Fix XDP TX completion handling when counters overflow
    3dd428039e06e ipvs: properly dereference pe in ip_vs_add_service
    69b6a67f70529 netfilter: nf_set_pipapo: fix initial map fill
    744bd92e0b902 netfilter: nft_set_pipapo: constify lookup fn args where possible
    27662b46f2ada netfilter: ctnetlink: use helper function to calculate expect ID
    08e4d9209a033 bnxt_re: Fix imm_data endianness
    ac45a09a19ca9 RDMA: Fix netdev tracker in ib_device_set_netdev
    60708cb279f34 RDMA/core: Remove NULL check before dev_{put, hold}
    ddeff5d66e120 iommu/vt-d: Fix identity map bounds in si_domain_init()
    e22ea60d2cabd RDMA/hns: Fix insufficient extend DB for VFs.
    7bf1e00d95168 RDMA/hns: Fix undifined behavior caused by invalid max_sge
    b47c078787d9e RDMA/hns: Fix shift-out-bounds when max_inline_data is 0
    4d480e45cb7ff RDMA/hns: Fix missing pagesize and alignment check in FRMR
    f098ad96ebb0f RDMA/hns: Fix unmatch exception handling when init eq table fails
    72bbfe07f7ea4 RDMA/hns: Check atomic wr length
    a60111f96ef49 macintosh/therm_windtunnel: fix module unload.
    4af273068f0d1 powerpc/xmon: Fix disassembly CPU feature checks
    924464999a7c3 PCI: dwc: Fix index 0 incorrectly being interpreted as a free ATU slot
    6c1a7c00baacf PCI: qcom-ep: Disable resources unconditionally during PERST# assert
    f59ae465b28a1 MIPS: Octeron: remove source file executable bit
    aa8cc8b237d96 clk: en7523: fix rate divider for slic and spi clocks
    56a118f5c7d54 clk: qcom: Park shared RCGs upon registration
    7e8e9d3d4ecfd clk: qcom: kpss-xcc: Return of_clk_add_hw_provider to transfer the error
    adbaa8f99c9a1 crypto: qat - extend scope of lock in adf_cfg_add_key_value_param()
    846ee3b60abf4 nvmem: rockchip-otp: set add_legacy_fixed_of_cells config option
    90d41ebe0cd46 net: missing check virtio
    30bd459366944 vhost/vsock: always initialize seqpacket_allow
    3750e92cccf09 PCI: endpoint: Fix error handling in epf_ntb_epc_cleanup()
    0e27e2e8697b8 PCI: endpoint: Clean up error handling in vpci_scan_bus()
    99b642dac24f6 ASoC: amd: Adjust error handling in case of absent codec device
    3dbfcd4d68f54 Input: elan_i2c - do not leave interrupt disabled on suspend failure
    480d281743ded RDMA/device: Return error earlier if port in not valid
    52cfbd6d9a1e9 mtd: make mtd_test.c a separate module
    5e1659d71c099 ASoC: max98088: Check for clk_prepare_enable() error
    6e891b0406b24 powerpc/prom: Add CPU info to hardware description string later
    e977bf4c61c6b hwrng: core - Fix wrong quality calculation at hw rng registration
    57600a7dd2b52 scsi: lpfc: Fix a possible null pointer dereference
    b32e36e398e28 ASoC: qcom: Adjust issues in case of DT error in asoc_qcom_lpass_cpu_platform_probe()
    9fbfef061f3f6 RDMA/rxe: Don't set BTH_ACK_MASK for UC or UD QPs
    f79ae071ba348 RDMA/mlx5: Use sq timestamp as QP timestamp when RoCE is disabled
    36812619d2b47 RDMA/mlx4: Fix truncated output warning in alias_GUID.c
    f0583d6dea6c8 RDMA/mlx4: Fix truncated output warning in mad.c
    8f8b4da72f1bd Input: qt1050 - handle CHIP_ID reading error
    48eecce940eff interconnect: qcom: qcm2290: Fix mas_snoc_bimc RPM master ID
    e2c0cc7976174 clk: qcom: gpucc-sa8775p: Update wait_val fields for GPU GDSC's
    9d6cff2b3734b clk: qcom: gpucc-sa8775p: Park RCG's clk source at XO during disable
    5d7c8436e3f90 clk: qcom: gpucc-sa8775p: Remove the CLK_IS_CRITICAL and ALWAYS_ON flags
    e37d8e79ce115 clk: qcom: gcc-sa8775p: Update the GDSC wait_val fields and flags
    48de26f358ae6 clk: qcom: gpucc-sm8350: Park RCG's clk source at XO during disable
    77765f8fc08a1 RDMA/cache: Release GID table even if leak is detected
    9cc5d640d20d4 usb: typec-mux: nb7vpq904m: unregister typec switch on probe error and remove
    5f7b12db1fa44 ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
    417fb74fa7920 ASoc: tas2781: Enable RCA-based playback without DSP firmware download
    93090f08cf7a5 RDMA/mlx5: Set mkeys for dmabuf at PAGE_SIZE
    0b6bef6202963 coresight: Fix ref leak when of_coresight_parse_endpoint() fails
    b8bdda6811778 KVM: PPC: Book3S HV: Fix the get_one_reg of SDAR
    74e308be5b496 KVM: PPC: Book3S HV: Fix the set_one_reg for MMCR3
    d115e1759d189 iio: frequency: adrf6780: rm clk provider include
    b6f7aac2b1bb0 clk: qcom: camcc-sc7280: Add parent dependency to all camera GDSCs
    698f30703f53f clk: qcom: gcc-sc7280: Update force mem core bit for UFS ICE clock
    993cace4f39f6 scsi: ufs: mcq: Fix missing argument 'hba' in MCQ_OPR_OFFSET_n
    526a877c6273d PCI: rcar: Demote WARN() to dev_warn_ratelimited() in rcar_pcie_wakeup()
    0a6f1b5fe8ef8 PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()
    24e2490c58454 PCI: keystone: Don't enable BAR 0 for AM654x
    764d75ce552b6 PCI: keystone: Relocate ks_pcie_set/clear_dbi_mode()
    4cd2eca07fa32 PCI: Fix resource double counting on remove & rescan
    31ff8464ef540 iio: Fix the sorting functionality in iio_gts_build_avail_time_table
    0cd55c6e6d90c SUNRPC: Fixup gss_status tracepoint error output
    c7e94ab3ae78e sparc64: Fix incorrect function signature and add prototype for prom_cif_init
    051a246bae056 leds: flash: leds-qcom-flash: Test the correct variable in init
    1e81d6c383da1 ext4: avoid writing unitialized memory to disk in EA inodes
    6b18e4eff352a ext4: don't track ranges in fast_commit if inode has inlined data
    5d52f871c7f00 NFSv4.1 another fix for EXCHGID4_FLAG_USE_PNFS_DS for DS server
    3b45d190eb7a2 SUNRPC: avoid soft lockup when transmitting UDP to reachable server.
    83e025da9f427 xprtrdma: Fix rpcrdma_reqs_reset()
    5b042b7b3fee6 mfd: omap-usb-tll: Use struct_size to allocate tll
    05e4efd12fca6 mfd: rsmu: Split core code into separate module
    3fc173fb4f3d1 perf intel-pt: Fix exclude_guest setting
    f24f95be74dde perf intel-pt: Fix aux_watermark calculation for 64-bit size
    645753ce91cd5 media: venus: flush all buffers in output plane streamoff
    844801d980561 drm/mediatek/dp: Fix spurious kfree()
    8f0d32c78732f drm/mediatek/dp: switch to ->edid_read callback
    c6e67df64783e ext4: fix infinite loop when replaying fast_commit
    016accce9da6d drm/mediatek: Remove less-than-zero comparison of an unsigned value
    c327a4fafe139 Revert "leds: led-core: Fix refcount leak in of_led_get()"
    4b1f303bdecea drm/qxl: Add check for drm_cvt_mode
    6b723caa4ec2f drm/etnaviv: fix DMA direction handling for cached RW buffers
    7678d9b3487ee perf report: Fix condition in sort__sym_cmp()
    6b3b9c234ce05 perf pmus: Fixes always false when compare duplicates aliases
    fa423fe6d9ca5 perf test: Make test_arm_callgraph_fp.sh more robust
    98c14a4d37f75 drm/msm/dpu: drop validity checks for clear_pending_flush() ctl op
    724ec08c6e0df drm/msm/dsi: set VIDEO_COMPRESSION_MODE_CTRL_WC
    cb8aa9d2a4c8a leds: trigger: Unregister sysfs attributes before calling deactivate()
    be50a293ebc61 media: imx-jpeg: Drop initial source change event if capture has been setup
    176509258f77c drm/mediatek: Add OVL compatible name for MT8195
    5dbb98e7fa42b drm/mediatek: Turn off the layers with zero width or height
    7445f2ab56da5 drm/mediatek: Fix destination alpha error in OVL
    7b59d750d43dd drm/mediatek: Fix XRGB setting error in Mixer
    35447af296ae1 drm/mediatek: Fix XRGB setting error in OVL
    232c04216cbf0 drm/mediatek: Use 8-bit alpha in ETHDR
    df55acaac4bb7 drm/mediatek: Add missing plane settings when async update
    74e622f30737e media: renesas: vsp1: Store RPF partition configuration per RPF instance
    fe2025b8f977e media: renesas: vsp1: Fix _irqsave and _irq mix
    c276c2bfd785b media: rcar-csi2: Cleanup subdevice in remove()
    3b6d4821dd076 media: rcar-csi2: Disable runtime_pm in probe error
    ea4f6c74d41f8 media: rcar-vin: Fix YUYV8_1X16 handling for CSI-2
    c6ad6096f9ce5 drm: zynqmp_kms: Fix AUX bus not getting unregistered
    b2f9bfe76d460 drm: zynqmp_dpsub: Fix an error handling path in zynqmp_dpsub_probe()
    afb83918e1a95 media: uvcvideo: Override default flags
    6dbe1b7697920 media: uvcvideo: Add quirk for invalid dev_sof in Logitech C920
    7b0155fe8f7e8 media: uvcvideo: Quirk for invalid dev_sof in Logitech C922
    991df39499e55 media: uvcvideo: Disable autosuspend for Insta360 Link
    6377b078e5593 media: i2c: imx219: fix msr access command sequence
    6c1358bbdd5b3 saa7134: Unchecked i2c_transfer function result fixed
    fa6950e4dab8e ipmi: ssif_bmc: prevent integer overflow on 32bit systems
    27465601abe1a x86/shstk: Make return uprobe work with shadow stack
    1c109f23b271a media: mediatek: vcodec: Handle invalid decoder vsi
    8736604ef5335 s390/uv: Don't call folio_wait_writeback() without a folio reference
    79bcb67ed9bb6 s390/mm: Convert gmap_make_secure to use a folio
    098ca9219c496 s390/mm: Convert make_page_secure to use a folio
    249212ceb4187 media: v4l: async: Fix NULL pointer dereference in adding ancillary links
    88a45f9dc1845 media: i2c: Fix imx412 exposure control
    ff64b8197203e media: imon: Fix race getting ictx->lock
    f543af2e0a6df media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()
    3d8fd92939e21 media: pci: ivtv: Add check for DMA map result
    9414381fea73c drm/bridge: it6505: fix hibernate to resume no display issue
    2918b50ad6a7f drm/bridge: Fixed a DP link training bug
    c9bec33bd4cf4 drm/panel: boe-tv101wum-nl6: Check for errors on the NOP in prepare()
    93296c252789d drm/panel: boe-tv101wum-nl6: If prepare fails, disable GPIO before regulators
    93486f4f4810d drm/panel: himax-hx8394: Handle errors from mipi_dsi_dcs_set_display_on() better
    6d72626808325 drm/amdgpu: Remove GC HW IP 9.3.0 from noretry=1
    67b4592a7d74e drm/amdgpu: Check if NBIO funcs are NULL in amdgpu_device_baco_exit
    ae1dd0a379e41 drm/amdgpu: Fix memory range calculation
    0af2e5cb74514 drm/amd/pm: Fix aldebaran pcie speed reporting
    8d869d02a10e5 drm/mipi-dsi: Fix theoretical int overflow in mipi_dsi_generic_write_seq()
    4e9d95a132d0b drm/mipi-dsi: Fix theoretical int overflow in mipi_dsi_dcs_write_seq()
    cd1885ae4cbf1 drm/amdkfd: Fix CU Masking for GFX 9.4.3
    5b78b88aa00a6 drm/arm/komeda: Fix komeda probe failing if there are no links in the secondary pipeline
    86d201285a29e drm/rockchip: vop2: Fix the port mux of VP2
    c43046d7e7a49 net: bridge: mst: Check vlan state for egress decision
    bf0ce5aa5f252 xdp: fix invalid wait context of page_pool_destroy()
    e8558b800ea1a Bluetooth: btnxpuart: Add handling for boot-signature timeout errors
    e19f7b046ac23 Bluetooth: btintel: Refactor btintel_set_ppag()
    424b424fad37a Bluetooth: hci_bcm4377: Use correct unit for timeouts
    7c1118588aa66 selftests: forwarding: devlink_lib: Wait for udev events after reloading
    9d40fd516aeae bpf: Fix null pointer dereference in resolve_prog_type() for BPF_PROG_TYPE_EXT
    33a1321fb9a93 bpf: Eliminate remaining "make W=1" warnings in kernel/bpf/btf.o
    b0ff0cd0847b0 bna: adjust 'name' buf size of bna_tcb and bna_ccb structures
    5306d9a55492f bpf: annotate BTF show functions with __printf
    67f4e66b34a4b selftests/resctrl: Fix closing IMC fds on error and open-code R+W instead of loops
    384dc568e3b2f selftests/resctrl: Convert perror() to ksft_perror() or ksft_print_msg()
    ec204ab6c2a9e selftests/resctrl: Move run_benchmark() to a more fitting file
    a2cb20de7a21a selftests/bpf: Close obj in error path in xdp_adjust_tail
    691ec7043122c selftests/bpf: Null checks for links in bpf_tcp_ca
    2a789fc168614 selftests/bpf: Close fd in error path in drop_on_reuseport
    d179ebed94c73 locking/rwsem: Add __always_inline annotation to __down_write_common() and inlined callers
    9a95e70726337 wifi: virt_wifi: don't use strlen() in const context
    477163b7f58e2 gss_krb5: Fix the error handling path for crypto_sync_skcipher_setkey
    36e92b5edc8e0 wifi: virt_wifi: avoid reporting connection success with wrong SSID
    4b66e79650cf0 xfrm: call xfrm_dev_policy_delete when kill policy
    0c92f090170a4 xfrm: fix netdev reference count imbalance
    7a0edc3d83aff wifi: rtw89: Fix array index mistake in rtw89_sta_info_get_iter()
    ef49102bfa364 perf/x86/intel/cstate: Fix Alderlake/Raptorlake/Meteorlake
    0c8a2ef120b81 perf: Fix default aux_watermark calculation
    3e43ad7df75ab perf: Prevent passing zero nr_pages to rb_alloc_aux()
    3d5fa18ea1612 perf: Fix perf_aux_size() for greater-than 32-bit size
    69da07e53ce9b perf/x86/intel/pt: Fix pt_topa_entry_for_page() address calculation
    77bf25dab8cee bpftool: Mount bpffs when pinmaps path not under the bpffs
    878c90b54b839 xfrm: Export symbol xfrm_dev_state_delete.
    0f6b8aed5d915 wifi: rtl8xxxu: 8188f: Limit TX power index
    150b7f9a914a0 wifi: rtw89: 8852b: fix definition of KIP register number
    802de757097bb netfilter: nf_tables: rise cap on SELinux secmark context
    fed3317b2d3f5 ipvs: Avoid unnecessary calls to skb_is_gso_sctp
    d5f53edd43daf xfrm: Fix unregister netdevice hang on hardware offload.
    c276044f2661d libbpf: Checking the btf_type kind when fixing variable offsets
    16c5cb3280b8d net: fec: Fix FEC_ECR_EN1588 being cleared on link-down
    e6c691f6626aa net: fec: Refactor: #define magic constants
    fe2ead240c31e udf: Fix bogus checksum computation in udf_rename()
    67b5f1054197e wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he()
    0675037972d12 wifi: cfg80211: fix typo in cfg80211_calculate_bitrate_he()
    51a8a235f2403 wifi: ath11k: fix wrong handling of CCMP256 and GCMP ciphers
    fc5cdbe1be31f jump_label: Fix concurrency issues in static_key_slow_dec()
    a1359e085d75d perf/x86: Serialize set_attr_rdpmc()
    f7c2f0e0cb5cb mlxsw: spectrum_acl: Fix ACL scale regression and firmware errors
    0e59c2d228532 mlxsw: spectrum_acl_erp: Fix object nesting warning
    1936fa05a1808 lib: objagg: Fix general protection fault
    e382588b8d149 udf: Fix lock ordering in udf_evict_inode()
    be953b4eb420c selftests/bpf: Check length of recv in test_sockmap
    a9e46f955409a net/smc: set rmb's SG_MAX_SINGLE_ALLOC limitation only when CONFIG_ARCH_NO_SG_CHAIN is defined
    44aa1e461ccd1 tcp: fix races in tcp_v[46]_err()
    bc4f9c2ccd68a tcp: fix race in tcp_write_err()
    ecc6836d63513 tcp: add tcp_done_with_error() helper
    c42b268bee48f wifi: ath12k: fix wrong definition of CE ring's base address
    3e779817167a2 wifi: ath11k: fix wrong definition of CE ring's base address
    586c7fb1f5bed wifi: ath11k: Update Qualcomm Innovation Center, Inc. copyrights
    0de96f9a82308 wifi: ath12k: fix firmware crash during reo reinject
    8126f82dab7bd wifi: ath12k: fix invalid memory access while processing fragmented packets
    e99d9b16ff153 wifi: ath12k: change DMA direction while mapping reinjected packets
    7797efc98e715 net: esp: cleanup esp_output_tail_tcp() in case of unsupported ESPINTCP
    d8ffeb5bd59ab selftests/bpf: Fix prog numbers in test_sockmap
    f3c9773d9c3dc bpftool: Un-const bpf_func_info to fix it for llvm 17 and newer
    3d4e3a37cce4e wifi: ath12k: Fix tx completion ring (WBM2SW) setup failure
    cf484c84c69d5 wifi: ath12k: Correct 6 GHz frequency value in rx status
    0c1c95850d870 wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device
    d027ac4a08541 firmware: turris-mox-rwtm: Initialize completion before mailbox
    6173dd13f65f3 firmware: turris-mox-rwtm: Fix checking return value of wait_for_completion_timeout()
    2f4f8d171ecc5 firmware: turris-mox-rwtm: Do not complete if there are no waiters
    9312a63da77c0 vmlinux.lds.h: catch .bss..L* sections into BSS")
    e6c9eca327e6a ARM: spitz: fix GPIO assignment for backlight
    b8cdefdaa555b m68k: cmpxchg: Fix return value for default case in __arch_xchg()
    13a71384ae6a8 cpufreq/amd-pstate: Fix the scaling_max_freq setting on shared memory CPPC systems
    72ff9d26964a3 arm64: dts: qcom: sm6350: Add missing qcom,non-secure-domain property
    c2e8bdc0d08ec arm64: dts: rockchip: fixes PHY reset for Lunzn Fastrhino R68S
    78beab7a91293 arm64: dts: rockchip: disable display subsystem for Lunzn Fastrhino R6xS
    d1568659662cb arm64: dts: rockchip: remove unused usb2 nodes for Lunzn Fastrhino R6xS
    215b1aaa73d85 arm64: dts: rockchip: fix pmu_io supply for Lunzn Fastrhino R6xS
    d523659f7abbc arm64: dts: rockchip: fix usb regulator for Lunzn Fastrhino R6xS
    bca0d0102fcde arm64: dts: rockchip: fix regulator name for Lunzn Fastrhino R6xS
    becbe98ceeb1f arm64: dts: rockchip: Add missing power-domains for rk356x vop_mmu
    da8ea49d00921 x86/xen: Convert comma to semicolon
    2e67d5cdc3706 arm64: dts: imx8mp: Fix pgc vpu locations
    713750aadbd0f arm64: dts: imx8mp: add HDMI power-domains
    0150dbc01d266 arm64: dts: imx8mp: Fix pgc_mlmix location
    1beddcda55d54 arm64: dts: imx8mp: Add NPU Node
    1667b2756216e m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages
    d5cfd8da7e353 arm64: dts: renesas: r9a07g054: Add missing hypervisor virtual timer IRQ
    fc46ee662496f arm64: dts: renesas: r9a07g044: Add missing hypervisor virtual timer IRQ
    35dcc7e3bd258 arm64: dts: renesas: r9a07g043u: Add missing hypervisor virtual timer IRQ
    ad15922975042 arm64: dts: renesas: r8a779g0: Add missing hypervisor virtual timer IRQ
    880c61a7cae2c arm64: dts: renesas: r8a779f0: Add missing hypervisor virtual timer IRQ
    5baa02d5c07f2 arm64: dts: renesas: r8a779a0: Add missing hypervisor virtual timer IRQ
    878177c7dd2da arm64: dts: rockchip: Fix mic-in-differential usage on rk3568-evb1-v10
    e15757553b27f arm64: dts: rockchip: Fix mic-in-differential usage on rk3566-roc-pc
    3f2f40a1d1959 arm64: dts: rockchip: Drop invalid mic-in-differential on rk3568-rock-3a
    3f75eb9f99635 arm64: dts: amlogic: setup hdmi system clock
    fbb1f7ab0b15b arm64: dts: amlogic: add power domain to hdmitx
    b44836994a749 arm64: dts: amlogic: gx: correct hdmi clocks
    3cfa05f9e1ab9 arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add ports node for anx7625
    0580ecfcafb79 arm64: dts: mediatek: mt8183-kukui: Fix the value of `dlg,jack-det-rate` mismatch
    db85bab1a46a2 arm64: dts: mediatek: mt7622: fix "emmc" pinctrl mux
    d014162a3e7ab arm64: dts: mediatek: mt8192-asurada: Add off-on-delay-us for pp3300_mipibrdg
    94a6cd9f279cc arm64: dts: mediatek: mt8183-kukui: Drop bogus output-enable property
    440a052ff9b89 arm64: dts: mediatek: mt8195: Fix GPU thermal zone name for SVS
    80d8afcaecf3d ARM: dts: imx6qdl-kontron-samx6i: fix PCIe reset polarity
    5b2db0b42fa71 ARM: dts: imx6qdl-kontron-samx6i: fix SPI0 chip selects
    e71469e2af115 ARM: dts: imx6qdl-kontron-samx6i: fix board reset
    3b96e42127ab2 ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset
    e139b742a7efb ARM: dts: imx6qdl-kontron-samx6i: fix phy-mode
    7120acc1a1c66 arm64: dts: amlogic: sm1: fix spdif compatibles
    665272557447f arm64: dts: rockchip: Increase VOP clk rate on RK3328
    d48f3bb4314fa soc: qcom: pdr: fix parsing of domains lists
    3e815626d73e0 soc: qcom: pdr: protect locator_addr with the main mutex
    aad41f4c169bc soc: qcom: icc-bwmon: Fix refcount imbalance seen during bwmon_remove
    fab4a7b23492e arm64: dts: qcom: qdu1000: Add secure qfprom node
    7267936f3c115 arm64: dts: qcom: qdu1000-idp: drop unused LLCC multi-ch-bit-off
    051ac32bedab2 arm64: dts: ti: k3-am62-verdin: Drop McASP AFIFOs
    7eb34eae2463b arm64: dts: ti: k3-am625-beagleplay: Drop McASP AFIFOs
    22646c52e42bb arm64: dts: ti: k3-am62x: Drop McASP AFIFOs
    c22649e217457 memory: fsl_ifc: Make FSL_IFC config visible and selectable
    21dec02291f67 OPP: ti: Fix ti_opp_supply_probe wrong return values
    d94eb194aacb3 cpufreq: ti-cpufreq: Handle deferred probe with dev_err_probe()
    4b493143662a8 arm64: dts: qcom: qrb4210-rb2: make L9A always-on
    b6271fb067bfb ARM: dts: stm32: Add arm,no-tick-in-suspend to STM32MP15xx STGEN timer
    0fffc2e1bf40a ARM: dts: sunxi: remove duplicated entries in makefile
    a96e60a6ea681 soc: xilinx: rename cpu_number1 to dummy_cpu_number
    adc0b5c113ab9 arm64: dts: qcom: sa8775p: mark ethernet devices as DMA-coherent
    33fb3e38c98c1 arm64: dts: qcom: msm8996: specify UFS core_clk frequencies
    a86a568567583 arm64: dts: rockchip: Update WIFi/BT related nodes on rk3308-rock-pi-s
    0c4c1b7daf23b arm64: dts: rockchip: Add mdio and ethernet-phy nodes to rk3308-rock-pi-s
    30ee9e5ecc5fd arm64: dts: rockchip: Add pinctrl for UART0 to rk3308-rock-pi-s
    96155dc8c99e7 arm64: dts: rockchip: Add sdmmc related properties on rk3308-rock-pi-s
    459f84f8ee8db soc: qcom: rpmh-rsc: Ensure irqs aren't disabled by rpmh_rsc_send_data() callers
    762384e9cc656 soc: qcom: pmic_glink: Handle the return value of pmic_glink_init
    4bf50c7dcd393 arm64: dts: qcom: msm8998: enable adreno_smmu by default
    23e44279f23e6 arm64: dts: qcom: sdm850-lenovo-yoga-c630: fix IPA firmware path
    d74b0b6c67efc arm64: dts: qcom: msm8996-xiaomi-common: drop excton from the USB PHY
    4d460ea917e75 arm64: dts: qcom: sm8450: add power-domain to UFS PHY
    bfe998470dc45 arm64: dts: qcom: sm8350: add power-domain to UFS PHY
    f43134d6188fd arm64: dts: qcom: sm8250: add power-domain to UFS PHY
    cf2ca135496ad arm64: dts: qcom: sm8250: switch UFS QMP PHY to new style of bindings
    928691e768b17 arm64: dts: qcom: sm6350: add power-domain to UFS PHY
    3832f6d4f4b11 arm64: dts: qcom: sm6115: add power-domain to UFS PHY
    15a0aec207cec arm64: dts: qcom: sdm845: add power-domain to UFS PHY
    23ce7878ed7ba arm64: dts: qcom: sc8180x: add power-domain to UFS PHY
    9a39bcdaa6c84 arm64: dts: qcom: sc8180x: switch UFS QMP PHY to new style of bindings
    72a9e5ffd4837 arm64: dts: qcom: sc8180x: Correct PCIe slave ports
    5bf6767c13d20 hwmon: (max6697) Fix swapped temp{1,8} critical alarms
    feb57c9a4f8d5 hwmon: (max6697) Fix underflow when writing limit attributes
    0804bd05f3354 pwm: atmel-tcb: Fix race condition and convert to guards
    390645c5c1642 drm/meson: fix canvas release in bind function
    908ce7f56847a nvmet-auth: fix nvmet_auth hash error handling
    386171ae7fa8b pwm: stm32: Always do lazy disabling
    00893662707a5 md: Don't wait for MD_RECOVERY_NEEDED for HOT_REMOVE_DISK ioctl
    2a6849a2b6bea block/mq-deadline: Fix the tag reservation code
    b2c67e1f80deb block: Call .limit_depth() after .hctx has been set
    ff36cc0bc63a7 hwmon: (adt7475) Fix default duty on fan is disabled
    96226fbed566f cgroup/cpuset: Prevent UAF in proc_cpuset_show()
    aea95c68b7459 kernfs: Convert kernfs_path_from_node_locked() from strlcpy() to strscpy()
    c8a36455a0fb7 x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos
    56d4e76223aac x86/pci/xen: Fix PCIBIOS_* return code handling
    12b24c1cee71d x86/pci/intel_mid_pci: Fix PCIBIOS_* return code handling
    f6c475c3dc440 x86/of: Return consistent error type from x86_of_pci_irq_enable()
    f04da10d2cbc1 hfsplus: fix to avoid false alarm of circular locking
    c8cae1c194268 x86/kconfig: Add as-instr64 macro to properly evaluate AS_WRUSS
    23a19655fb56f block: initialize integrity buffer to zero before writing it to media
    1cfdfb965e274 ubd: untagle discard vs write zeroes not support handling
    3236c24532839 ubd: refactor the interrupt handler
    b37d68ab60c58 platform/chrome: cros_ec_debugfs: fix wrong EC message version
    2d0738a8322bf md: fix deadlock between mddev_suspend and flush bio
    43b75d54398ac rcu/tasks: Fix stale task snaphot for Tasks Trace
    c25ae63de6805 EDAC, i10nm: make skx_common.o a separate module
    754b569bc801c spi: atmel-quadspi: Add missing check for clk_prepare
    df8e2a3eabcf9 spi: spi-microchip-core: Fix the number of chip selects supported
    310377719c544 powerpc/configs: Update defconfig with now user-visible CONFIG_FSL_IFC
    35046aea43c85 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b86219 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e5039 bpftool: Query only cgroup-related attach types
    f71bb11887bae cpu/amd: inhibit SMP check for qemux86
    c31365597a17b powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b5 usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d1 kselftest: Add a ksft_perror() helper
    06644f0d7193d drm/tilcdc: Set preferred depth
    ff7ae7b323242 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0b arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701f x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c793 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6e qemux86: add configuration symbol to select values
    630c33229e6d5 sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6e clear_warn_once: add a clear_warn_once= boot parameter
    46934791b9026 clear_warn_once: bind a timer to written reset value
    cdee9e38ff324 clear_warn_once: expand debugfs to include read support
    82b562b818419 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b1 libbpf: Fix build warning on ref_ctr_off
    9e3e1fe209827 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65b perf: x86-32: explicitly include <errno.h>
    7b57ddd89565b perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7f perf: fix bench numa compilation
    98bc2815fade4 perf: add SLANG_INC for slang.h
    17209a70b9b39 perf: add sgidefs.h to for mips builds
    9cd4258d910af perf: change --root to --prefix for python install
    8110a4f266284 perf: add 'libperl not found' warning
    bc89d5e08f773 perf: force include of <stdbool.h>
    4f6c760cc876a fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b21 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab3786 FAT: Added FAT_NO_83NAME
    cef98d22b4edf FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084a aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf21 aufs6: fix magic.mk include path
    35266bc2dc81a aufs6: adapt to v6.6
    8edede4e98be1 aufs6: core
    712248233ebe1 aufs6: standalone
    3b71a8a848d8b aufs6: mmap
    3e2924871f371 aufs6: base
    7f4907a931016 aufs6: kbuild
    d2f7b03e4aa77 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa04 yaffs2: v6.5 fixups
    cc615704b5f54 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf913 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d34 yaffs2: replace bdevname call with sprintf
    395b01cdc39d1 yaffs2: convert read_page -> readfolio
    d98b07e43ba61 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe8 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f3 yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090b yaffs: include blkdev.h
    dbd44252cd592 yaffs: fix misplaced variable declaration
    c223a10b1ac08 yaffs2: v5.6 build fixups
    90f6007cfbf41 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea10 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6e yaffs: repair yaffs_get_mtd_device
    fb98f65a466a7 yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea27 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0b yaffs: Avoid setting any ACL releated xattr
    ff4130a9c3766 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67cd fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba90565 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4a yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8b initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4d pnmtologo: use relocatable file name
    664a6a0a484ba tools: use basename to identify file in gen-mach-types
    9de64bc0c1857 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295a vt/conmakehash: improve reproducibility
    a972323151bdd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc01984 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b197 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffcd defconfigs: drop obselete options
    00fe4152df313 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf1 linux-yocto: Handle /bin/awk issues
    3d55d299f23a7 uvesafb: provide option to specify timeout for task completion
    23c068c080bea uvesafb: print error message when task timeout occurs
    edbfc939266ec compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19ab vmware: include jiffies.h
    572d84d928c87 Resolve jiffies wrapping about arp
    fdcd47cac8435 nfs: Allow default io size to be configured.
    927d488010984 check console device file on fs when booting
    57cc27f821ddf mount_root: clarify error messages for when no rootfs found
    1b53d82a81528 mconf: fix output of cflags and libraries
    1811da09f42ca menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f3 modpost: mask trivial warnings
    6de6730394846 kbuild: exclude meta directory from distclean processing
    6decd32815f53 powerpc: serialize image targets
    f6b683b38318c arm: serialize build targets
    e798b09ebf572 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f86 x86_64_defconfig: Fix warnings
    68491e5f72b61 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce30048 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b18 powerpc: kexec fix for powerpc64
    da6871c62c371 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11de mips: make current_cpu_data preempt safe
    5e94a8247ce7f mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7f mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbdc 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5d malta uhci quirks: make allowance for slow 4k(e)c
    881948cd15176 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7a arm64: defconfig: cleanup config options
    f1727c537ba8d vexpress: Pass LOADADDR to Makefile
    4474c32dc24a4 arm: ARM EABI socketcall
    75e31a2b70fd3 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: a7ad0b7b301a858346493781401c531b0423e8eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 92dd9b9f8f696018fa5176245a8db3e760fc7186)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Bruce Ashfield
0246b9c40b kernel-devsrc: remove 64 bit vdso cmd files
In a similar way to the other architectures, 64 bit arches
can also require vdso generation. If we leave the .cmd files
around, they'll be packaged and generate build errors:

   ERROR: kernel-devsrc-1.0-r0 do_package_qa: QA Issue: File /usr/lib/modules/6.10.0-yocto-standard/build/include/generated/.vdso64-offsets.h.cmd in package kernel-devsrc contains reference to TMPDIR [buildpaths]
So we add the file to our remove list and avoid the issue.

(From OE-Core rev: 0a9e8fcd29cf6feae437d202baea52775eca5af9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0238a49f57c83600909b0f3773a1569bcd13551c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Bruce Ashfield
2ce4299682 linux-yocto/6.6: update to v6.6.43
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    58b0425ff5df Linux 6.6.43
    aa6a5704cab8 tap: add missing verification for short frame
    d5ad89b7d01e tun: add missing verification for short frame
    73ae349534eb filelock: Fix fcntl/close race recovery compat path
    2c71ab5270b0 ALSA: seq: ump: Skip useless ports for static blocks
    0dbe2b3bb3f8 ALSA: pcm_dmaengine: Don't synchronize DMA channel when DMA is paused
    6782e4f60e39 arm64: dts: qcom: sdm630: Disable SS instance in Parkmode for USB
    9583ad410f33 arm64: dts: qcom: ipq6018: Disable SS instance in Parkmode for USB
    b96d67d87302 arm64: dts: qcom: sm6350: Disable SS instance in Parkmode for USB
    2a3ce77c0a1c arm64: dts: qcom: msm8996: Disable SS instance in Parkmode for USB
    104456f7f4e4 arm64: dts: qcom: qrb4210-rb2: switch I2C2 to i2c-gpio
    d80ab0197054 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
    15e218ab0ac0 ALSA: hda/realtek: Enable headset mic on Positivo SU C1400
    9f0fb112647b usb: gadget: midi2: Fix incorrect default MIDI2 protocol setup
    6ae7265a7b81 fs/ntfs3: Validate ff offset
    f3124d51e4e7 fs/ntfs3: Add a check for attr_names and oatbl
    17440dbc66ab jfs: don't walk off the end of ealist
    e05a24289db9 ocfs2: add bounds checking to ocfs2_check_dir_entry()
    4edb0a84e6b3 drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq()
    31cf7ebee80a Linux 6.6.42
    9e67589a4a7b cachefiles: fix slab-use-after-free in cachefiles_withdraw_cookie()
    9dd7f5663899 cachefiles: fix slab-use-after-free in fscache_withdraw_volume()
    5c5a577a2cc6 netfs, fscache: export fscache_put_volume() and add fscache_try_get_volume()
    6f1fc7fea4b2 wifi: iwlwifi: mvm: don't wake up rx_sync_waitq upon RFKILL
    ba780cb0cf9a wifi: mac80211: disable softirqs for queued frame handling
    de3994a44ebc wifi: cfg80211: wext: set ssids=NULL for passive scans
    9ca15d7699b1 of/irq: Disable "interrupt-map" parsing for PASEMI Nemo
    b0fc1bd2514b Bluetooth: L2CAP: Fix deadlock
    16380f52b721 mm: page_ref: remove folio_try_get_rcu()
    170ce55eff1f ARM: 9324/1: fix get_user() broken with veneer
    c15682ed16c1 cifs: fix noisy message on copy_file_range
    05ffaf48e22f ALSA: hda: Use imply for suggesting CONFIG_SERIAL_MULTI_INSTANTIATE
    dcd61f34f6e2 spi: mux: set ctlr->bits_per_word_mask
    e41db26543ef selftests/bpf: Extend tcx tests to cover late tcx_entry release
    f08956d8e0f8 hfsplus: fix uninit-value in copy_name
    54f137ee27cc selftests/vDSO: fix clang build errors and warnings
    69f6e9be8713 selftest/timerns: fix clang build failures for abs() calls
    8a3f2ad55f6f ASoC: SOF: Intel: hda-pcm: Limit the maximum number of periods by MAX_BDL_ENTRIES
    d59ccdc4ab4d ksmbd: return FILE_DEVICE_DISK instead of super magic
    bd3ca9bb56aa spi: imx: Don't expect DMA for i.MX{25,35,50,51,53} cspi devices
    55f6da7051e9 riscv: stacktrace: fix usage of ftrace_graph_ret_addr()
    b0fe6e72e690 drivers/perf: riscv: Reset the counter to hpmevent mapping while starting cpus
    d454b32bd2b1 wifi: iwlwifi: properly set WIPHY_FLAG_SUPPORTS_EXT_KEK_KCK
    c09e07857ccd fs: better handle deep ancestor chains in is_subdir()
    f13c96e0e325 drm/radeon: check bo_va->bo is non-NULL before using it
    607731f315d1 drm/amd/display: Fix refresh rate range for some panel
    6ecf239f71ef drm/amd/display: Account for cursor prefetch BW in DML1 mode support
    531e7852fb62 drm/amd/display: Add refresh rate range check
    a2cfe94aa1e2 erofs: ensure m_llen is reset to 0 if metadata is invalid
    b803f30ea23e bluetooth/l2cap: sync sock recv cb and release
    fb02ce1686fb Bluetooth: btnxpuart: Enable Power Save feature on startup
    d6cbce183706 Bluetooth: hci_core: cancel all works upon hci_unregister_dev()
    58911b7abeb5 tee: optee: ffa: Fix missing-field-initializers warning
    945658c21105 scsi: libsas: Fix exp-attached device scan after probe failure scanned in again after probe failed
    f23c3d1ca9c4 powerpc/eeh: avoid possible crash when edev->pdev changes
    e512a59b4726 powerpc/pseries: Whitelist dtl slub object for copying to userspace
    cf3f20313a54 net: mac802154: Fix racy device stats updates by DEV_STATS_INC() and DEV_STATS_ADD()
    30ac8d5e1ba2 net: usb: qmi_wwan: add Telit FN912 compositions
    16cb62c3a625 ASoC: amd: yc: Fix non-functional mic on ASUS M5602RA
    c305a708bcab ALSA: dmaengine_pcm: terminate dmaengine before synchronize
    85b47cd51509 ALSA: hda/relatek: Enable Mute LED on HP Laptop 15-gw0xxx
    802a745caf89 ALSA: PCM: Allow resume only for suspended streams
    267c61c4afed ibmvnic: Add tx check to prevent skb leak
    f88aeff5a173 btrfs: qgroup: fix quota root leak after quota disable failure
    9f25bd7013a3 platform/x86: lg-laptop: Use ACPI device handle when evaluating WMAB/WMBB
    477112af1d48 platform/x86: lg-laptop: Change ACPI device id
    c98123cedbb7 platform/x86: lg-laptop: Remove LGEX0815 hotkey handling
    cd337341cf73 platform/x86: wireless-hotkey: Add support for LG Airplane Button
    939f33bf73f4 platform/mellanox: nvsw-sn2201: Add check for platform_device_add_resources
    0a31b3fdc7e7 s390/sclp: Fix sclp_init() cleanup on failure
    38608d072fcd octeontx2-pf: Fix coverity and klockwork issues in octeon PF driver
    e2ecdddca80d gpio: pca953x: fix pca953x_irq_bus_sync_unlock race
    e4fca9acc7c5 can: kvaser_usb: fix return value for hif_usb_send_regout
    528466f921aa Input: ads7846 - use spi_device_id table
    e7ba46682ae3 nvme: fix NVME_NS_DEAC may incorrectly identifying the disk as EXT_LBA.
    21cb9c4f5bff ASoC: rt722-sdca-sdw: add debounce time for type detection
    e18dfef2b51e ASoC: SOF: sof-audio: Skip unprepare for in-use widgets on error rollback
    9d944d4aa97a ASoC: ti: omap-hdmi: Fix too long driver name
    02c6dd05b095 ASoC: ti: davinci-mcasp: Set min period size using FIFO config
    3b0b50a695cc ALSA: dmaengine: Synchronize dma channel after drop()
    e3394dcb8101 bytcr_rt5640 : inverse jack detect for Archos 101 cesium
    1a13bf4d6a75 ASoC: topology: Do not assign fields that are already set
    ab5a6208b4d6 ASoC: topology: Fix references to freed memory
    423b0c32b0ad Input: xpad - add support for ASUS ROG RAIKIRI PRO
    57534d83687b ASoC: rt722-sdca-sdw: add silence detection register as volatile
    14f445365f91 Input: i8042 - add Ayaneo Kun to i8042 quirk table
    66b1dbc55d8f Input: elantech - fix touchpad state on resume for Lenovo N24
    be7b66d360d2 mips: fix compat_sys_lseek syscall
    94288fc3a19f ALSA: hda: cs35l56: Select SERIAL_MULTI_INSTANTIATE
    86a6a3964f60 drm/amdgpu: Indicate CU havest info to CP
    c436a2351c8d selftests: openvswitch: Set value to nla flags.
    b235848f40ed cpumask: limit FORCE_NR_CPUS to just the UP case
    4bcb8e4c9ff6 spi: Fix OCTAL mode support
    9155f7654461 ALSA: hda/realtek: Add more codec ID to no shutup pins list
    808e92e8c2e7 drm/vmwgfx: Fix missing HYPERVISOR_GUEST dependency
    82c7a4cf14aa KVM: PPC: Book3S HV: Prevent UAF in kvm_spapr_tce_attach_iommu_group()
    1d45fff5da5c ALSA: hda/realtek: Support Lenovo Thinkbook 16P Gen 5
    fe9644efd867 wifi: cfg80211: wext: add extra SIOCSIWSCAN data check
    4871dd2f7193 ALSA: hda: cs35l56: Fix lifecycle of codec pointer
    10967873b807 nvmet: always initialize cqe.result
    ae84383c96d6 nvme: avoid double free special payload
    b241d17aa19f drm/mediatek: Call drm_atomic_helper_shutdown() at shutdown time
    97f71343f794 drm: panel-orientation-quirks: Add quirk for Aya Neo KUN
    208fde6de0f0 drm/exynos: dp: drop driver owner initialization
    24be4091b801 iomap: Fix iomap_adjust_read_range for plen calculation
    53e0b76603dd mei: demote client disconnect warning on suspend to debug
    bd56b910fa94 fs/file: fix the check in find_next_fd()
    7c6ec0827cfe cachefiles: make on-demand read killable
    c32ee78fbc67 cachefiles: Set object to close if ondemand_id < 0 in copen
    36d845ccd7bf cachefiles: add consistency check for copen/cread
    3146a6af8272 nfs: don't invalidate dentries on transient errors
    e3adf9987e90 nfs: Avoid flushing many pages with NFS_FILE_SYNC
    8cebc59d6e8c nfs: propagate readlink errors in nfs_symlink_filler
    b98090699319 NFSv4: Fix memory leak in nfs4_set_security_label
    c7734ddaea85 HID: Ignore battery for ELAN touchscreens 2F2C and 4116
    dd93f857ecc9 input: Add support for "Do Not Disturb"
    39bd2e1c7990 input: Add event code for accessibility key
    d9be8eeab03e kconfig: remove wrong expr_trans_bool()
    737161b438fc kconfig: gconf: give a proper initial state to the Save button
    08f03186b96e null_blk: fix validation of block size
    69a978c7fe2f arm64: armv8_deprecated: Fix warning in isndep cpuhp starting process
    522c3336c202 ila: block BH in ila_output()
    127707132f70 net: ipv6: rpl_iptunnel: block BH in rpl_output() and rpl_input()
    9d88edbe3d4a Input: silead - Always support 10 fingers
    b0f79bda5501 of/irq: Factor out parsing of interrupt-map parent phandle+args from of_irq_parse_raw()
    c9edeb94d16f selftests/futex: pass _GNU_SOURCE without a value to the compiler
    b182dede1a0c selftests/openat2: Fix build warnings on ppc64
    91bf0634230f selftests: cachestat: Fix build warnings on ppc64
    a1834cfcdf2e wifi: mac80211: fix UBSAN noise in ieee80211_prep_hw_scan()
    f5e6b9d765d6 wifi: iwlwifi: mvm: Fix scan abort handling with HW rfkill
    4ae145f29fa0 wifi: iwlwifi: mvm: properly set 6 GHz channel direct probe option
    ef227372b6dd wifi: iwlwifi: mvm: handle BA session teardown in RF-kill
    2d3381e88467 wifi: iwlwifi: mvm: Handle BIGTK cipher in kek_kck cmd
    e25fae980084 wifi: iwlwifi: mvm: remove stale STA link data during restart
    e34b6aa96999 wifi: iwlwifi: mvm: d3: fix WoWLAN command version lookup
    c084a02e3e20 wifi: cfg80211: fix 6 GHz scan request building
    92df1422bac9 wifi: mac80211: handle tasklet frames before stopping
    8936ae49130b wifi: mac80211: apply mcast rate only if interface is up
    dade6785c4a0 wifi: mac80211: mesh: init nonpeer_pm to active by default in mesh sdata
    2a6da27d091b tools/power/cpupower: Fix Pstate frequency reporting on AMD Family 1Ah CPUs
    a0156b837e21 ACPI: EC: Avoid returning AE_OK on errors in address space handler
    5e49b9b5056f ACPI: EC: Abort address space access upon error
    113fa39675f3 efi/libstub: zboot.lds: Discard .discard sections
    b76194fc3b9d scsi: qedf: Set qed_slowpath_params to zero before use
    e949e39acdf4 scsi: qedf: Wait for stag work during unload
    80c971d99c04 scsi: qedf: Don't process stag work during unload and recovery
    74fac04ec2f4 scsi: sr: Fix unintentional arithmetic wraparound
    c28ba74c674e scsi: core: alua: I/O errors for ALUA state transitions
    5f5d0799eb0a filelock: Remove locks reliably when fcntl/close race is detected
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    2eaf5c0d8191 Linux 6.6.41
    eb7641fae20c i2c: rcar: fix error code in probe()
    e243c1176d2e kbuild: Make ld-version.sh more robust against version string changes
    dae3543db8f0 x86/bhi: Avoid warning in #DB handler due to BHI mitigation
    2f5f0eb01641 x86/entry/64: Remove obsolete comment on tracing vs. SYSRET
    f73481d9a8fb x86/entry: Rename ignore_sysret()
    557d62e49e71 i2c: rcar: clear NO_RXDMA flag after resetting
    bc6632549c01 i2c: testunit: avoid re-issued work after read message
    4d2d0491b3b1 i2c: rcar: ensure Gen3+ reset does not disturb local targets
    988c31331863 i2c: rcar: introduce Gen4 devices
    4c029f04e47e i2c: rcar: reset controller is mandatory for Gen3+
    ff3d2cf3befb i2c: mark HostNotify target address as used
    5bfec9c2b8d6 i2c: rcar: bring hardware to known state when probing
    c1bf973f57b7 btrfs: tree-checker: add type and sequence check for inline backrefs
    448a2500d171 sched: Move psi_account_irqtime() out of update_rq_clock_task() hotpath
    4dc200e31553 ext4: avoid ptr null pointer dereference
    60f61514374e nilfs2: fix kernel bug on rename operation of broken directory
    6b05ad408f09 selftests/net: fix gro.c compilation failure due to non-existent opt_ipproto_off
    11078e2d1146 mm/damon/core: merge regions aggressively when max_nr_regions is unmet
    93893eacb372 mm/shmem: disable PMD-sized page cache if needed
    5e305b5986dc misc: fastrpc: Restrict untrusted app to attach to privileged PD
    aeab0a85bbe1 misc: fastrpc: Fix ownership reassignment of remote heap
    8b8b82dcf393 misc: fastrpc: Fix memory leak in audio daemon attach operation
    ba602c70c778 misc: fastrpc: Copy the complete capability structure to user
    143982d84ea1 misc: fastrpc: Avoid updating PD type for capability request
    2b2fb816afc7 misc: fastrpc: Fix DSP capabilities request
    b6a5c681d71d wireguard: send: annotate intentional data race in checking empty queue
    f89f44e4147f wireguard: queueing: annotate intentional data race in cpu round robin
    6638a203abad wireguard: allowedips: avoid unaligned 64-bit memory accesses
    6a43cd61b834 wireguard: selftests: use acpi=off instead of -no-acpi for recent QEMU
    e408184365c7 cpufreq: Allow drivers to advertise boost enabled
    2ca2fd474d86 cpufreq: ACPI: Mark boost policy as enabled when setting boost
    08985dd4d145 ACPI: processor_idle: Fix invalid comparison with insertion sort for latency
    9525af1f58f6 libceph: fix race between delayed_work() and ceph_monc_stop()
    f0cc5f7cb43f pmdomain: qcom: rpmhpd: Skip retention level for Power Domains
    cd94cac4069a Fix userfaultfd_api to return EINVAL as expected
    b5634da5d189 ALSA: hda/realtek: Limit mic boost on VAIO PRO PX
    77f64c3df43d ALSA: hda/realtek: Enable Mute LED on HP 250 G7
    9e6b110af097 ALSA: hda/realtek: add quirk for Clevo V5[46]0TU
    23efa74cfe6e tty: serial: ma35d1: Add a NULL check for of_node
    639868f1cb87 platform/x86: toshiba_acpi: Fix array out-of-bounds access
    c01f9a6461dc nvmem: core: only change name to fram for current attribute
    c3debec57729 nvmem: meson-efuse: Fix return value of nvmem callbacks
    5f97b616e2e1 nvmem: rmem: Fix return value of rmem_read()
    25712a379167 arm64: dts: qcom: sc8280xp-x13s: fix touchscreen power on
    1e353014286d arm64: dts: qcom: sa8775p: Correct IRQ number of EL2 non-secure physical timer
    618edb821a80 iio: trigger: Fix condition for own trigger
    9e84b1ba5c98 ksmbd: discard write access to the directory open
    a0c42ddd0969 mm/filemap: make MAX_PAGECACHE_ORDER acceptable to xarray
    06b5a69c27ec mm/filemap: skip to create PMD-sized page cache if needed
    28acd531c9a3 mm: vmalloc: check if a hash-index is in cpu_possible_mask
    794fa52b9463 s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()
    9339641b99fb xhci: always resume roothubs if xHC was reset during resume
    a3d83021fd04 hpet: Support 32-bit userspace
    814a99ba6991 misc: microchip: pci1xxxx: Fix return value of nvmem callbacks
    647d61aef106 USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor
    d1205033e912 usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()
    add279faeb55 usb: dwc3: pci: add support for the Intel Panther Lake
    20836c953dc2 USB: Add USB_QUIRK_NO_SET_INTF quirk for START BP-850k
    5ae6a64f1821 USB: serial: mos7840: fix crash on resume
    511751182c10 USB: serial: option: add Rolling RW350-GL variants
    8ee097aecf3d USB: serial: option: add Netprisma LCUK54 series modules
    4e8c0883a21c USB: serial: option: add support for Foxconn T99W651
    9201d38054b7 USB: serial: option: add Fibocom FM350-GL
    8d320260f096 USB: serial: option: add Telit FN912 rmnet compositions
    5aaeb60b91ff USB: serial: option: add Telit generic core-dump composition
    32b96db30775 net: ks8851: Fix potential TX stall after interface reopen
    80ece0013730 net: ks8851: Fix deadlock with the SPI chip variant
    dfcdd7f89e40 tcp: avoid too many retransmit packets
    b75f281bddeb tcp: use signed arithmetic in tcp_rtx_probe0_timed_out()
    1e116c18e32b Revert "sched/fair: Make sure to try to detach at least one movable task"
    87f3ceb2b143 cifs: fix setting SecurityFlags to true
    8665fb96a393 octeontx2-af: fix issue with IPv4 match for RSS
    0207c7988838 octeontx2-af: fix issue with IPv6 ext match for RSS
    2c41eaa8fba1 octeontx2-af: fix detection of IP layer
    d24b124a960f octeontx2-af: fix a issue with cpt_lf_alloc mailbox
    22b864f7d7fd octeontx2-af: replace cpt slot with lf id on reg write
    0e1792662247 i40e: fix: remove needless retries of NVM update
    cf3c2372d6d0 ARM: davinci: Convert comma to semicolon
    392cff2f86a2 firmware: cs_dsp: Use strnlen() on name fields in V1 wmfw files
    8246bbf818ed ASoC: SOF: Intel: hda: fix null deref on system suspend entry
    76ea8e13aaef firmware: cs_dsp: Prevent buffer overrun when processing V2 alg headers
    3a9cd924aec1 firmware: cs_dsp: Validate payload length before processing block
    90ab191b7d18 firmware: cs_dsp: Return error if block header overflows file
    9c9877a96e03 firmware: cs_dsp: Fix overflow checking of wmfw header
    6bd5afff3911 arm64: dts: qcom: sc8180x: Fix LLCC reg property again
    21379c6fc818 s390: Mark psw in __load_psw_mask() as __unitialized
    d6c686c01c5f net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket
    799a34901b63 net/sched: Fix UAF when resolving a clash
    c5fd77ca13d6 udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port().
    feeeeb4c0a79 ethtool: netlink: do not return SQI value if link is down
    099502ca4109 ppp: reject claimed-as-LCP but actually malformed packets
    853f8cd459f7 net: ethernet: mtk-star-emac: set mac_managed_pm when probing
    936983051868 bpf: Fail bpf_timer_cancel when callback is being cancelled
    e97c862e0b4c bpf: replace bpf_timer_init with a generic helper
    591003567401 bpf: make timer data struct more generic
    e65a49b948b5 bpf: fix order of args in call to bpf_map_kvcalloc
    9d23909ae041 net: ethernet: lantiq_etop: fix double free in detach
    5266302cb2c7 i40e: Fix XDP program unloading while removing the driver
    7e9092d7ac2d net: fix rc7's __skb_datagram_iter()
    13bf7ce31239 octeontx2-af: Fix incorrect value output on error path in rvu_check_rsrc_availability()
    b180739b45a3 skmsg: Skip zero length skb in sk_msg_recvmsg
    0370f6670010 net: phy: microchip: lan87xx: reinit PHY after cable test
    230bb13650b0 bpf: Fix too early release of tcx_entry
    124886cf2059 tcp: fix incorrect undo caused by DSACK of TLP retransmit
    e304a6751433 net: bcmasp: Fix error code in probe()
    cbfc844cbe77 vfs: don't mod negative dentry count when on shrinker list
    f71ebe7b3e84 fs/dcache: Re-use value stored to dentry->d_flags instead of re-reading
    432b06b69d1d filelock: fix potential use-after-free in posix_lock_inode
    cae91b5cf9b8 dsa: lan9303: Fix mapping between DSA port number and PHY address
    6bb6bd3dd6f3 cachefiles: add missing lock protection when polling
    de045a82e1a4 cachefiles: cyclic allocation of msg_id to avoid reuse
    d3179bae72b1 cachefiles: wait for ondemand_object_worker to finish when dropping object
    ed60c1a82d6d cachefiles: cancel all requests for the object that is being dropped
    32e0a9a79937 cachefiles: stop sending new request when dropping object
    189438643427 cachefiles: narrow the scope of triggering EPOLLIN events in ondemand mode
    a04cc7f00d48 cachefiles: propagate errors from vfs_getxattr() to avoid infinite loop
    f476dffc52ea vfio/pci: Init the count variable in collecting hot-reset devices
    c3111b3cf388 scsi: ufs: core: Fix ufshcd_abort_one racing issue
    bed089600833 scsi: ufs: core: Fix ufshcd_clear_cmd racing issue
    797323d1cf92 mm: prevent derefencing NULL ptr in pfn_section_valid()
    fc19e231688c Compiler Attributes: Add __uninitialized macro
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 26fb3e533df840fb6548349df6f2fcf4f1e2421c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e074b457cc4782aafae9a5f6cb8907d6dd6a96f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Bruce Ashfield
eeb167a394 linux-yocto/6.6: update to v6.6.40
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    1a515bd58d15 Linux 6.6.40
    69bed24c8213 Revert "usb: xhci: prevent potential failure in handle_tx_event() for Transfer events without TRB"
    2ced7518a03d Linux 6.6.39
    95b1362540b7 nilfs2: fix incorrect inode allocation from reserved inodes
    9ac895a881b2 null_blk: Do not allow runt zone with zone capacity smaller then zone size
    1ba66b121100 drm/amdgpu: silence UBSAN warning
    49458c09755e ALSA: ump: Set default protocol when not given explicitly
    d4b55b137965 spi: cadence: Ensure data lines set to low during dummy-cycle period
    056478b4321b nfc/nci: Add the inconsistency check between the input data length and count
    9db55f64386d kbuild: fix short log for AS in link-vmlinux.sh
    5502c1f1d0d7 nvmet: fix a possible leak when destroy a ctrl during qp establishment
    f61cea47ad6f platform/x86: touchscreen_dmi: Add info for the EZpad 6s Pro
    487dc376a83c platform/x86: touchscreen_dmi: Add info for GlobalSpace SolT IVW 11.6" tablet
    fc525ed8cb0f regmap-i2c: Subtract reg size from max_write
    b955b47905ed nvme: adjust multiples of NVME_CTRL_PAGE_SIZE in offset
    9258d795978f connector: Fix invalid conversion in cn_proc.h
    39d31edcf95a dma-mapping: benchmark: avoid needless copy_to_user if benchmark fails
    e6e1eda06b70 nvme-multipath: find NUMA path only for online numa-node
    8f174c5db1e0 vhost-scsi: Handle vhost_vq_work_queue failures for events
    4d1de71e630b ALSA: hda/realtek: Enable headset mic of JP-IK LEAP W502 with ALC897
    aa8b1d6073c1 fs/ntfs3: Mark volume as dirty if xattr is broken
    92e494a7568b i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr
    3aeea9e1277c clk: mediatek: mt8183: Only enable runtime PM on mt8183-mfgcfg
    66b6da0cc64c clk: qcom: clk-alpha-pll: set ALPHA_EN bit for Stromer Plus PLLs
    0fcb94e0ee89 clk: qcom: gcc-sm6350: Fix gpll6* & gpll7 parents
    583bea0902a9 media: dw2102: fix a potential buffer overflow
    28d0ecc52f6c ima: Avoid blocking in RCU read-side critical section
    cecffd9e3c46 arm64: dts: rockchip: Fix the DCDC_REG2 minimum voltage on Quartz64 Model B
    f1313ea92f82 bnx2x: Fix multiple UBSAN array-index-out-of-bounds
    7a8b1cfcb25b net: stmmac: dwmac-qcom-ethqos: fix error array size
    45a4aef06355 mtd: rawnand: rockchip: ensure NVDDR timings are rejected
    dbbc4cf0d5c1 mtd: rawnand: Bypass a couple of sanity checks during NAND identification
    70bb95e034fd mtd: rawnand: Fix the nand_read_data_op() early check
    0fd8ce12f97c mtd: rawnand: Ensure ECC configuration is propagated to upper layers
    c6036baea4ba powerpc/64s: Fix unnecessary copy to 0 when kernel is booted at address 0
    d10e3c39001e powerpc/pseries: Fix scv instruction crash with kexec
    14c78d69dbca clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common
    ba02424852d2 clk: qcom: gcc-ipq9574: Add BRANCH_HALT_VOTED flag
    33de7c47a19a drm: panel-orientation-quirks: Add quirk for Valve Galileo
    004b7fe6ca8c drm/amdgpu/atomfirmware: silence UBSAN warning
    744b229f0913 drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
    f6620df12cb6 Revert "mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again"
    dd0aa13fda82 fsnotify: Do not generate events for O_PATH file descriptors
    07ce8ad4eb60 can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct
    e2d8aa4c7635 Bluetooth: qca: Fix BT enable failure again for QCA6390 after warm reboot
    a635d93ad99b Bluetooth: hci_bcm4377: Fix msgid release
    155d9c9ed129 scsi: mpi3mr: Use proper format specifier in mpi3mr_sas_port_add()
    72aa369e4e62 f2fs: Add inline to f2fs_build_fault_attr() stub
    f8e960be923f btrfs: fix adding block group to a reclaim list and the unused list during reclaim
    bd16a7ee339a mm: avoid overflows in dirty throttling logic
    79ad410c5b58 mm: optimize the redundant loop of mm_update_owner_next()
    3ab40870edb8 nilfs2: add missing check for inode numbers on directory entries
    9194f8ca5752 nilfs2: fix inode number range checks
    991f036cabc3 Revert "igc: fix a log entry using uninitialized netdev"
    9bdd0bf23ffe platform/x86: toshiba_acpi: Fix quickstart quirk handling
    69787793e7f0 cpu: Fix broken cmdline "nosmp" and "maxcpus=0"
    b0a41715ed23 gpiolib: of: add polarity quirk for TSC2005
    f8b55a465b0e mlxsw: core_linecards: Fix double memory deallocation in case of invalid INI file
    76965648fe68 inet_diag: Initialize pad field in struct inet_diag_req_v2
    4116ec648354 selftests: make order checking verbose in msg_zerocopy selftest
    946ba4e645b0 selftests: fix OOM in msg_zerocopy selftest
    b75e33eae866 bonding: Fix out-of-bounds read in bond_option_arp_ip_targets_set()
    55a40406aac5 netfilter: nf_tables: unconditionally flush pending work before notifier
    7692c9b6baac riscv: kexec: Avoid deadlock in kexec crash path
    5ed821a8e9d3 wifi: wilc1000: fix ies_len type in connect path
    dee87316b5f5 gpio: mmio: do not calculate bgpio_bits via "ngpios"
    e3af5b14e763 net: ntb_netdev: Move ntb_netdev_rx_handler() to call netif_rx() from __netif_rx()
    9edc7a83cd40 net: txgbe: initialize num_q_vectors for MSI/INTx interrupts
    702b17f72de2 net: allow skb_datagram_iter to be called from any context
    895f5633a036 gpiolib: of: fix lookup quirk for MIPS Lantiq
    e536e6efa65f e1000e: Fix S0ix residency on corporate systems
    f4513867bae5 KVM: s390: fix LPSWEY handling
    8c2debdd170e tcp_metrics: validate source addr length
    4970e48f83db bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX
    045669710464 Bluetooth: ISO: Check socket flag instead of hcon
    38263088b845 Bluetooth: Ignore too large handle values in BIG
    1ae31b357a77 Bluetooth: hci_event: Fix setting of unicast qos interval
    a9f4a9b27fde net/mlx5e: Add mqprio_rl cleanup and free in mlx5e_priv_cleanup()
    3e3551f87029 net/mlx5: E-switch, Create ingress ACL when needed
    8a7fc2362d6d UPSTREAM: tcp: fix DSACK undo in fast recovery to call tcp_try_to_open()
    9e8f0c53a535 net: phy: phy_device: Fix PHY LED blinking code comment
    617075792b7c mac802154: fix time calculation in ieee802154_configure_durations()
    abe067dc3a66 vhost_task: Handle SIGKILL by flushing work and exiting
    f5bb72196f49 vhost: Release worker mutex during flushes
    a86f9633f70a vhost: Use virtqueue mutex for swapping worker
    76d7b869b3b9 tools/power turbostat: Remember global max_die_id
    3ee21e14c8c3 cdrom: rearrange last_media_change check to avoid unintentional overflow
    e130d4fc196b btrfs: scrub: initialize ret in scrub_simple_mirror() to fix compilation warning
    90a01aefb84b s390/pkey: Wipe sensitive data on failure
    d0bbbf31462a jffs2: Fix potential illegal address access in jffs2_free_inode
    b5f1844c0561 serial: imx: Raise TX trigger level to 8
    586b41060113 scsi: mpi3mr: Sanitise num_phys
    44958ca9e400 f2fs: check validation of fault attrs in f2fs_build_fault_attr()
    7e5471b5efeb bpf: Avoid uninitialized value in BPF_CORE_READ_BITFIELD
    92160970bfe8 igc: fix a log entry using uninitialized netdev
    c80d53c484e8 selftests/net: fix uninitialized variables
    ee123d5655f7 powerpc/xmon: Check cpu id in commands "c#", "dp#" and "dx#"
    4e40bc50daae kunit: Fix timeout message
    6a3cacf6d3cf orangefs: fix out-of-bounds fsid access
    7c91479c6f83 powerpc/64: Set _IO_BASE to POISON_POINTER_DELTA not 0 for CONFIG_PCI=n
    e0cd887ad86e i2c: i801: Annotate apanel_addr as __ro_after_init
    8ac224e9371d media: dvb-frontends: tda10048: Fix integer overflow
    29ce81f97991 media: s2255: Use refcount_t instead of atomic_t for num_channels
    0f9d21eca4ac media: dvb-frontends: tda18271c2dd: Remove casting during div
    3f25b5f16354 net: dsa: mv88e6xxx: Correct check for empty list
    79ef1a5593fd thermal/drivers/mediatek/lvts_thermal: Check NULL ptr on lvts_data
    547cb9931406 wifi: mt76: mt7996: add sanity checks for background radar trigger
    ff6b26be1303 wifi: mt76: replace skb_put with skb_put_zero
    9a24eb8010c2 usb: xhci: prevent potential failure in handle_tx_event() for Transfer events without TRB
    c727e46f0cc8 Input: ff-core - prefer struct_size over open coded arithmetic
    50c6c51972e9 firmware: dmi: Stop decoding on broken entry
    58405d6eff39 sctp: prefer struct_size over open coded arithmetic
    864a02425045 riscv: Apply SiFive CIP-1200 workaround to single-ASID sfence.vma
    af19067bd58f media: dw2102: Don't translate i2c read into write
    3fac5aecb593 drm/amdgpu: fix the warning about the expression (int)size - len
    7e0fbceae1e6 drm/amdgpu: fix uninitialized scalar variable warning
    8e5cbc820ab4 drm/amd/display: Fix uninitialized variables in DM
    95ad20ee3c4e drm/amd/display: Skip finding free audio for unknown engine_id
    96bf81cc1bd0 drm/amd/display: Check pipe offset before setting vblank
    9933eca6ada0 drm/amd/display: Check index msg_id before read or write
    e55077badb90 drm/amdgpu: Initialize timestamp for some legacy SOCs
    855ae72c2031 drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc
    646e13f0a65b drm/amdgpu: Fix uninitialized variable warnings
    5c217253c76c media: mediatek: vcodec: Only free buffer VA that is not NULL
    b502d4a08875 crypto: aead,cipher - zeroize key buffer after use
    1ee644460fe8 RISC-V: KVM: Fix the initial sample period value
    e7d193073a22 selftests/bpf: dummy_st_ops should reject 0 for non-nullable params
    a1a629fc373c selftests/bpf: do not pass NULL for non-nullable params in dummy_st_ops
    264451a364db selftests/bpf: adjust dummy_st_ops_success to detect additional error
    b6ded5316ec5 scsi: qedf: Make qedf_execute_tmf() non-preemptible
    b8c5f635997f IB/core: Implement a limit on UMAD receive List
    c15bb7c940be media: dvb-usb: dib0700_devices: Add missing release_firmware()
    47abb68e1734 media: dvb: as102-fe: Fix as10x_register_addr packing
    0f37946c62c4 powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.
    04d531b9a187 drm/lima: fix shared irq handling on driver remove
    7fc8d9a525b5 crypto: hisilicon/debugfs - Fix debugfs uninit process issue
    3ead19aa341d leds: an30259a: Use devm_mutex_init() for mutex initialization
    7d2a6abec028 locking/mutex: Introduce devm_mutex_init()
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: ce98d567662ace9f7899c15c49be6350356805d5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ce7ce269f1b1157c907b96cba17daf8cff643746)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Bruce Ashfield
1638059297 linux-yocto/6.6: update to v6.6.38
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    2928631d5304 Linux 6.6.38
    e3540e5a7054 Revert "bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()"
    a5c2956637ba Revert "powerpc/bpf: rename powerpc64_jit_data to powerpc_jit_data"
    466562d7646b Revert "powerpc/bpf: use bpf_jit_binary_pack_[alloc|finalize|free]"
    9fef36cad60d Revert "bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()"
    8fa96e44d36c Linux 6.6.37
    8417af02247e tracing/net_sched: NULL pointer dereference in perf_trace_qdisc_reset()
    18630d83b770 serial: 8250_omap: Fix Errata i2310 with RX FIFO level check
    633c861c0e85 serial: imx: only set receiver level if it is zero
    843836bfc199 cxl/region: check interleave capability
    a9e099e29e92 cxl/region: Avoid null pointer dereference in region lookup
    f12be1a1fdee cxl/region: Move cxl_dpa_to_region() work to the region driver
    3b758696cc4a arm64: dts: rockchip: Add sound-dai-cells for RK3368
    a96a83c939d9 arm64: dts: rockchip: fix PMIC interrupt pin on ROCK Pi E
    d530fe86286b arm64: dts: rockchip: make poweroff(8) work on Radxa ROCK 5A
    c6639892ca95 ARM: dts: rockchip: rk3066a: add #sound-dai-cells to hdmi node
    619c5fe7d3da arm64: dts: rockchip: Fix the value of `dlg,jack-det-rate` mismatch on rk3399-gru
    b6970ce861d8 arm64: dts: rockchip: Rename LED related pinctrl nodes on rk3308-rock-pi-s
    c49af0075f3e arm64: dts: rockchip: Fix SD NAND and eMMC init on rk3308-rock-pi-s
    c5978b996260 mm/page_alloc: Separate THP PCP into movable and non-movable categories
    07caf754f696 Revert "cpufreq: amd-pstate: Fix the inconsistency in max frequency units"
    d83df7de2b0a pwm: stm32: Refuse too small period requests
    00432384ec40 erofs: fix NULL dereference of dif->bdev_handle in fscache mode
    c636bb37f886 syscalls: fix sys_fanotify_mark prototype
    e04886b50c3e syscalls: fix compat_sys_io_pgetevents_time64 usage
    836359247b04 ftruncate: pass a signed offset
    062e256516d7 ata: libata-core: Fix double free on error
    d8d54126880c ata: ahci: Clean up sysfs file on error
    3e72558c1711 can: mcp251xfd: fix infinite loop when xmit fails
    73fb6df4e6d1 batman-adv: Don't accept TT entries for out-of-spec VIDs
    01f58871af9c drm/amdgpu/atomfirmware: fix parsing of vram_info
    89d8a851543e drm/amd/display: Send DP_TOTAL_LTTPR_CNT during detection if LTTPR is present
    7ece609b0ce7 drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes
    06dec31a0a51 drm/i915/gt: Fix potential UAF by revoke of fence registers
    330c8c145384 drm/amdgpu: avoid using null object of framebuffer
    f29fcfbf6067 drm/fbdev-dma: Only set smem_start is enable per module option
    cb751e48bbcf drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes
    16682588ead4 drm/drm_file: Fix pid refcounting race
    5515a8165257 hexagon: fix fadvise64_64 calling conventions
    32dffe1365c3 csky, hexagon: fix broken sys_sync_file_range
    a0bfefcb61a7 btrfs: zoned: fix initial free space detection
    91878a2bc88e sh: rework sync_file_range ABI
    829974305d8e kbuild: Install dtb files as 0644 in Makefile.dtbinst
    d2683b2d1ec2 irqchip/loongson-liointc: Set different ISRs for different cores
    52bbae429b86 cpu/hotplug: Fix dynstate assignment in __cpuhp_setup_state_cpuslocked()
    c5a51cfe943d irqchip/loongson-eiointc: Use early_cpu_to_node() instead of cpu_to_node()
    da3cabfd8b31 cpufreq: intel_pstate: Use HWP to initialize ITMT if CPPC is missing
    ff1121d2214b PCI/MSI: Fix UAF in msi_capability_init
    177e33b655d3 net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new
    b6f78276b9aa net: can: j1939: recover socket queue on CAN bus error during BAM transmission
    ab2a683938ba net: can: j1939: Initialize unused data in j1939_send_one()
    31020bea754d tty: mcf: MCF54418 has 10 UARTS
    1d994fb58e72 ALSA: hda/realtek: fix mute/micmute LEDs don't work for EliteBook 645/665 G11.
    d3ebc5597ec2 serial: bcm63xx-uart: fix tx after conversion to uart_port_tx_limited()
    60dc1a2a3f13 serial: core: introduce uart_port_tx_limited_flags()
    d75b8ae150e9 serial: imx: set receiver level before starting uart
    e67d7f38008e serial: 8250_omap: Implementation of Errata i2310
    2ab254507c87 Revert "serial: core: only stop transmit when HW fifo is empty"
    6b80ccc0acc8 usb: dwc3: core: Workaround for CSR read timeout
    ab99c4be9457 usb: dwc3: core: Add DWC31 version 2.00a controller
    e63059271945 usb: ucsi: stm32: fix command completion handling
    519610e20e8a usb: typec: ucsi: glink: fix child node release in probe function
    9ed8e8c440f5 usb: gadget: aspeed_udc: fix device address configuration
    17e2956633ca usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    f536f09eb45e usb: atm: cxacru: fix endpoint checking in cxacru_bind()
    bcf78eca0967 usb: musb: da8xx: fix a resource leak in probe()
    a96915ffc956 usb: gadget: printer: fix races against disable
    9dec26eda3b2 usb: gadget: printer: SS+ support
    cc2bce1fe1e6 net: usb: ax88179_178a: improve link status logs
    055b4e3d6beb iio: chemical: bme680: Fix sensor data read operation
    b5967393d50e iio: chemical: bme680: Fix overflows in compensate() functions
    93709966cec9 iio: chemical: bme680: Fix calibration data variable
    133828897c81 iio: chemical: bme680: Fix pressure value output
    7387777aeb2c iio: accel: fxls8962af: select IIO_BUFFER & IIO_KFIFO_BUF
    1ce8be8442cd iio: adc: ad7266: Fix variable checking bug
    8c65da9b153a ata,scsi: libata-core: Do not leak memory for ata_port struct members
    119c97ace2a9 ata: libata-core: Fix null pointer dereference on error
    84ee4515a81b i2c: testunit: discard write requests while old command is running
    37bec254ee75 i2c: testunit: don't erase registers after STOP
    b89b0af97dc5 kbuild: Fix build target deb-pkg: ln: failed to create hard link
    4edc6c5b3157 kbuild: doc: Update default INSTALL_MOD_DIR from extra to updates
    8fd89aa382a5 counter: ti-eqep: enable clock at probe
    da6c6adba557 iio: xilinx-ams: Don't include ams_ctrl_channels in scan_mask
    7fb456c3c6e1 mmc: sdhci: Do not lock spinlock around mmc_gpio_get_ro()
    3336979b6a75 mmc: sdhci: Do not invert write-protect twice
    006e04ae96bd mmc: sdhci-pci: Convert PCIBIOS_* return codes to errnos
    485d9421719b mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard
    50a68792a945 mmc: sdhci-pci-o2micro: Convert PCIBIOS_* return codes to errnos
    88e0ad40d08a mm: fix incorrect vbq reference in purge_fragmented_block
    bc5e98e004ce nfs: drop the incorrect assertion in nfs_swap_rw()
    c05ffb693bfb ocfs2: fix DIO failure due to insufficient transaction credits
    c2a78811ff9b pinctrl: qcom: spmi-gpio: drop broken pm8008 support
    9b95f63d54a7 Revert "MIPS: pci: lantiq: restore reset gpio polarity"
    d0be1c8ee425 parisc: use generic sys_fanotify_mark implementation
    16222beb9f8e x86: stop playing stack games in profile_pc()
    591c0650b9e6 randomize_kstack: Remove non-functional per-arch entropy filtering
    67ccb6b02154 gpiolib: cdev: Disallow reconfiguration without direction (uAPI v1)
    74eb70ce6790 riscv: stacktrace: convert arch_stack_walk() to noinstr
    f16c10e05f14 drm/amdgpu: Fix pci state save during mode-1 reset
    abb84c462000 RISC-V: fix vector insn load/store width mask
    2d83492259ad gpio: davinci: Validate the obtained number of IRQs
    0ca8656457be drm/panel: simple: Add missing display timing flags for KOE TX26D202VM0BWA
    e834fecf6611 nvme: fixup comment for nvme RDMA Provider Type
    41e58607a57c drm/radeon/radeon_display: Decrease the size of allocated memory
    3429ef5f5090 gfs2: Fix NULL pointer dereference in gfs2_log_flush
    ed4434b8b1c9 soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message
    79c9ea0d425b irqchip/loongson: Select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP for IRQ_LOONGARCH_CPU
    06fa2d9445e0 media: dvbdev: Initialize sbuf
    d8f5ce3cb9ad ALSA: emux: improve patch ioctl data validation
    80575b252ab0 crypto: ecdh - explicitly zeroize private_key
    69f49527aea1 net/dpaa2: Avoid explicit cpumask var allocation on stack
    724e7965af05 net/iucv: Avoid explicit cpumask var allocation on stack
    8ac281d42337 RDMA/restrack: Fix potential invalid address access
    d812ae6e02bd bpf: Mark bpf prog stack with kmsan_unposion_memory in interpreter mode
    e6bb84cb47e3 wifi: ieee80211: check for NULL in ieee80211_mle_size_ok()
    5266cbcf3ad1 mtd: partitions: redboot: Added conversion of operands to a larger type
    94111446fa12 x86/fpu: Fix AMD X86_BUG_FXSAVE_LEAK fixup
    df475f71d42e vduse: Temporarily fail if control queue feature requested
    8d4d14536c06 vduse: validate block features only with block devices
    1618f7a875ff drm/panel: ilitek-ili9881c: Fix warning with GPIO controllers that sleep
    08f6c05feb1d bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()
    f99feda5684a powerpc/bpf: use bpf_jit_binary_pack_[alloc|finalize|free]
    103391940092 powerpc/bpf: rename powerpc64_jit_data to powerpc_jit_data
    fdd411af8178 bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()
    3243e64eb4d8 net: mana: Fix possible double free in error handling path
    952bf8df2225 netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers
    b5418b416223 ALSA: seq: Fix missing MSB in MIDI2 SPP conversion
    b4b26d23a1e2 tcp: fix tcp_rcv_fastopen_synack() to enter TCP_CA_Loss for failed TFO
    91fe991e02c2 powerpc: restore some missing spu syscalls
    55aed1491bd3 parisc: use correct compat recv/recvfrom syscalls
    61ff73933b68 sparc: fix compat recv/recvfrom syscalls
    035c504121e5 sparc: fix old compat_sys_select()
    784079f69787 net: dsa: microchip: fix wrong register write when masking interrupt
    f981ca3fcf89 ALSA: seq: Fix missing channel at encoding RPN/NRPN MIDI2 messages
    fdae4d139f47 Fix race for duplicate reqsk on identical SYN
    cf0291a67967 btrfs: use NOFS context when getting inodes during logging and log replay
    3ebda17c46d3 netfilter: fix undefined reference to 'netfilter_lwtunnel_*' when CONFIG_SYSCTL=n
    14e51ea78b4c xdp: Remove WARN() from __xdp_reg_mem_model()
    b36267d996fb ice: Rebuild TC queues on VSI queue reconfiguration
    9d36f6312bc0 net: dsa: microchip: use collision based back pressure mode
    96c8693fc11c net: phy: micrel: add Microchip KSZ 9477 to the device table
    23f0624bcba2 ibmvnic: Free any outstanding tx skbs during scrq reset
    511804ab701c bpf: Fix overrunning reservations in ringbuf
    942901e0fc74 mlxsw: spectrum_buffers: Fix memory corruptions on Spectrum-4 systems
    ba4d75a8f411 openvswitch: get related ct labels from its master if it is not confirmed
    2ef957de4e2d net: dsa: microchip: fix initial port flush problem
    29bc9e7c7539 ASoC: fsl-asoc-card: set priv->pdev before using it
    032a2ec27dab ASoC: amd: acp: remove i2s configuration check in acp_i2s_probe()
    e158ed266fc1 ASoC: amd: acp: add a null check for chip_pdev structure
    05cbeb0803ef s390/pci: Add missing virt_to_phys() for directed DIBV
    8d02ead6d015 bpf: Add missed var_off setting in coerce_subreg_to_size_sx()
    185dca875591 bpf: Add missed var_off setting in set_sext32_default_val()
    b377d4df8fb0 ASoC: q6apm-lpass-dai: close graph on prepare errors
    f74bb396f120 workqueue: Increase worker desc's length to 32
    6ffd06c3715c ASoC: atmel: atmel-classd: Re-add dai_link->platform to fix card init
    6de2e5820477 ASoC: atmel: convert not to use asoc_xxx()
    2886b30b1c11 ASoC: mediatek: mt8183-da7219-max98357: Fix kcontrol name collision
    4932ddb9fd3f ASoC: rockchip: i2s-tdm: Fix trcm mode by setting clock on right mclk
    00da1ddd6936 wifi: mac80211: Use flexible array in struct ieee80211_tim_ie
    2dcc136eef30 selftests: mptcp: userspace_pm: fixed subtest names
    528c3a4ceb38 selftests: mptcp: print_test out of verify_listener_events
    71d21704d24e MIPS: pci: lantiq: restore reset gpio polarity
    2838dfa5290f pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set
    b85dec60a374 pinctrl: rockchip: use dedicated pinctrl type for RK3328
    14f6c7bf21ce pinctrl: rockchip: fix pinmux bits for RK3328 GPIO3-B pins
    98db00947697 pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pins
    4038c57bf616 pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER
    f1d05111b39f Input: ili210x - fix ili251x_read_touch_data() return value
    d9933caf865e usb: typec: ucsi: Ack also failed Get Error commands
    64ab9d2d1bd0 usb: typec: ucsi: Never send a lone connector change ack
    dd7c4e370444 iio: pressure: bmp280: Fix BMP580 temperature reading
    3f199b4e3987 iio: pressure: fix some word spelling errors
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 349fc38a62931833f510652d519f4057c5b2cc50)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7c803a65d231b4586124cf86de7d22a47584fcdf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Bruce Ashfield
ee26c35bef linux-yocto/6.6: update to v6.6.36
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    61945f2f69d0 Linux 6.6.36
    b3f7525556fb Revert "mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default"
    9de62e88310c hid: asus: asus_report_fixup: fix potential read out of bounds
    25f8b9a7811a kprobe/ftrace: fix build error due to bad function definition
    a08936934676 net/sched: unregister lockdep keys in qdisc_create/qdisc_alloc error path
    b552a47cc81b ASoC: Intel: sof-sdw: really remove FOUR_SPEAKER quirk
    56aa62ff36f3 drm/amd/display: revert Exit idle optimizations before HDCP execution
    988a03e31e07 LoongArch: Fix entry point in kernel image header
    eae6e7dbd1b6 efi/loongarch: Directly position the loaded image file
    d9a5d5c49306 vgacon: rework screen_info #ifdef checks
    05f263c166ad riscv: force PAGE_SIZE linear mapping if debug_pagealloc is enabled
    5f03d4f286b8 riscv: Don't use PGD entries for the linear mapping
    65ac09c96588 x86/cpu: Fix x86_match_cpu() to match just X86_VENDOR_INTEL
    71cf8cfd1906 x86/cpu/vfm: Add new macros to work with (vendor/family/model) values
    6408fcfea4c3 tracing: Add MODULE_DESCRIPTION() to preemptirq_delay_test
    7261d27bcc09 nbd: Fix signal handling
    193820ee0c1c nbd: Improve the documentation of the locking assumptions
    afcd1a3ac37d ocfs2: update inode fsync transaction id in ocfs2_unlink and ocfs2_link
    10fc3a1813ea ocfs2: convert to new timestamp accessors
    1dbb1a3181d8 wifi: rtl8xxxu: enable MFP support with security flag of RX descriptor
    b30c9b111837 perf script: Show also errors for --insn-trace option
    0ea11a112408 perf: script: add raw|disasm arguments to --insn-trace option
    23b1940096b6 spi: stm32: qspi: Clamp stm32_qspi_get_mode() output to CCR_BUSWIDTH_4
    299c0cb3aaab arm64: dts: imx8qm-mek: fix gpio number for reg_usdhc2_vmmc
    6e77a7c0bdfc spi: stm32: qspi: Fix dual flash mode sanity test in stm32_qspi_setup()
    211deb3e31ed dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema
    f712670a91fc dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema
    391251d496e2 i2c: ocores: set IACK bit after core is enabled
    84d3549d54f5 mm/page_table_check: fix crash on ZONE_DEVICE
    250fad18b0c9 tcp: clear tp->retrans_stamp in tcp_rcv_fastopen_synack()
    856cf3305f11 mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default
    08cfaa12171d serial: 8250_dw: Revert "Move definitions to the shared header"
    231f18e8e93c efi/x86: Free EFI memory map only when installing a new one.
    637619b02cc3 kcov: don't lose track of remote references during softirqs
    ae30200eccd4 gcov: add support for GCC 14
    67bcecd78060 ocfs2: fix NULL pointer dereference in ocfs2_abort_trigger()
    0550ad87711f ocfs2: fix NULL pointer dereference in ocfs2_journal_dirty()
    63f894de08e1 dt-bindings: dma: fsl-edma: fix dma-channels constraints
    b065d79ed06a drm/amdgpu: fix UBSAN warning in kv_dpm.c
    9e57611182a8 drm/radeon: fix UBSAN warning in kv_dpm.c
    e7bda1f8ba84 drm/i915/mso: using joiner is not possible with eDP MSO
    9f3b02cc05df ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7 14AHP9
    b03d8b4a646f ALSA: hda/realtek: Limit mic boost on N14AP7
    dd3068d81d1c ALSA: hda/realtek: fix mute/micmute LEDs don't work for ProBook 445/465 G11.
    10252816227c ovl: fix encoding fid for lower only root
    cd2f51797607 RDMA/mlx5: Follow rb_key.ats when creating new mkeys
    637a3bebcd57 RDMA/mlx5: Remove extra unlock on error path
    94646324833d RDMA/rxe: Fix data copy for IB_SEND_INLINE
    72040b4f9934 KVM: x86: Always sync PIR to IRR prior to scanning I/O APIC routes
    48bb62859d47 KVM: arm64: Disassociate vcpus from redistributor region on teardown
    a937ef951bba KVM: Fix a data race on last_boosted_vcpu in kvm_vcpu_on_spin()
    32a62a6b1052 LoongArch: Fix multiple hardware watchpoint issues
    75ecfab9bf9c LoongArch: Trigger user-space watchpoints correctly
    4b26f9ace31f LoongArch: Fix watchpoint setting error
    450df994f32a cifs: fix typo in module parameter enable_gcm_256
    eacfd7f07eb0 scsi: ufs: core: Free memory allocated for model before reinit
    bf1e8c21f2be btrfs: retry block group reclaim without infinite loop
    454c454ed645 net: do not leave a dangling sk pointer, when socket creation fails
    f08e079bdde1 net: usb: ax88179_178a: improve reset check
    78a6136e949f net: stmmac: Assign configured channel value to EXTTS event
    555672188053 locking/atomic: scripts: fix ${atomic}_sub_and_test() kerneldoc
    677ff4589f15 ext4: fix slab-out-of-bounds in ext4_mb_find_good_group_avg_frag_lists()
    82d5a4ba46b3 ext4: avoid overflow when setting values via sysfs
    db3d39869e53 arm64: defconfig: enable the vf610 gpio driver
    17095b1d79ae ACPI: EC: Evaluate orphan _REG under EC device
    d63c635e226d RDMA/mana_ib: Ignore optional access flags for MRs
    e0deb0e9c967 RDMA/mlx5: Add check for srq max_sge attribute
    3b733016d878 RDMA/mlx5: Fix unwind flow as part of mlx5_ib_stage_init_init
    a6d6332a005e firmware: psci: Fix return value from psci_system_suspend()
    2a215410cf59 io_uring/rsrc: fix incorrect assignment of iter->nr_segs in io_import_fixed
    87e0621a6b36 spi: spi-imx: imx51: revert burst length calculation back to bits_per_word
    434c6b924e1f ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."
    83936d4ecd0a arm64: dts: freescale: imx8mm-verdin: enable hysteresis on slow input pin
    563788af0767 arm64: dts: imx93-11x11-evk: Remove the 'no-sdio' property
    c41f973a68f3 arm64: dts: freescale: imx8mp-venice-gw73xx-2x: fix BT shutdown GPIO
    625c4fda1188 arm64: dts: imx8mp: Fix TC9595 input clock on DH i.MX8M Plus DHCOM SoM
    332af18d1ab1 arm64: dts: imx8mp: Fix TC9595 reset GPIO on DH i.MX8M Plus DHCOM SoM
    90d29da11445 thermal/drivers/mediatek/lvts_thermal: Return error in case of invalid efuse data
    47a0fe77b6c8 regulator: bd71815: fix ramp values
    79cee58de38f dmaengine: ioatdma: Fix missing kmem_cache_destroy()
    6f47c1e98700 dmaengine: fsl-edma: avoid linking both modules
    30d2259c5ebb dmaengine: ioatdma: Fix kmemleak in ioat_pci_probe()
    fb6e3d4d43ac dmaengine: ioatdma: Fix error path in ioat3_dma_probe()
    ab9501ecaac9 dmaengine: ioatdma: Fix leaking on version mismatch
    faa35db78b05 dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list
    186d77852555 regulator: core: Fix modpost error "regulator_get_regmap" undefined
    163868ec1f6c RDMA/rxe: Fix responder length checking for UD request packets
    9f06731c4eca spi: cs42l43: Correct SPI root clock speed
    5f338cb5ca96 RDMA/bnxt_re: Fix the max msix vectors macro
    7bcca7108c5b net: usb: rtl8150 fix unintiatilzed variables in rtl8150_get_link_ksettings
    ad22071b8e0e bnxt_en: Restore PTP tx_avail count in case of skb_pad() error
    714782d58099 ice: Fix VSI list rule with ICE_SW_LKUP_LAST type
    325f8ab7765d netfilter: move the sysctl nf_hooks_lwtunnel into the netfilter core
    d62df86c1720 seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and End.DX6 behaviors
    94dd411c18d7 netfilter: ipset: Fix suspicious rcu_dereference_protected()
    3ee9c732d672 octeontx2-pf: Fix linking objects into multiple modules
    096a93e1c46e octeontx2-pf: Add error handling to VLAN unoffload handling
    3ef2a16a1d17 virtio_net: fixing XDP for fully checksummed packets handling
    ef609fd73433 virtio_net: checksum offloading handling fix
    a71b686418ee net: stmmac: No need to calculate speed divider when offload is disabled
    a674424c23db selftests: openvswitch: Use bash as interpreter
    666e934d749e ptp: fix integer overflow in max_vclocks_store
    9126fd82e9ed sched: act_ct: add netns into the key of tcf_ct_flow_table
    b57a4a2dc874 tipc: force a dst refcount before doing decryption
    5f926aa96b08 net/sched: act_api: fix possible infinite loop in tcf_idr_check_alloc()
    284fd7e97b92 net/sched: act_api: rely on rcu in tcf_idr_check_alloc
    123eaaf63602 net: phy: mxl-gpy: Remove interrupt mask clearing from config_init
    de4fc1091af1 net: lan743x: Support WOL at both the PHY and MAC appropriately
    41805c46d550 net: lan743x: disable WOL upon resume to restore full data path operation
    6b2dfc4ff3f6 qca_spi: Make interrupt remembering atomic
    ef0394ca2595 netns: Make get_net_ns() handle zero refcount net
    f897d7171652 xfrm6: check ip6_dst_idev() return value in xfrm6_get_saddr()
    73e7c8ca6ad7 ipv6: prevent possible NULL dereference in rt6_probe()
    b6947723c9ea ipv6: prevent possible NULL deref in fib6_nh_init()
    b6ebe4fed73e netrom: Fix a memory leak in nr_heartbeat_expiry()
    d940be596b28 ALSA: hda/realtek: Enable headset mic on IdeaPad 330-17IKB 81DM
    7f9644782c55 bpf: Avoid splat in pskb_pull_reason
    5a24f876b5ce ALSA: hda: tas2781: Component should be unbound before deconstruction
    8be82acd4ee3 ALSA: hda: cs35l56: Component should be unbound before deconstruction
    08fa10b26592 cipso: fix total option length computation
    23a52ca69c4b net: mvpp2: use slab_build_skb for oversized frames
    082b3d4e7889 btrfs: zoned: allocate dummy checksums for zoned NODATASUM writes
    823e42971f8f ice: avoid IRQ collision to fix init failure on ACPI S3 resume
    83de3ace795b ALSA/hda: intel-dsp-config: Document AVS as dsp_driver option
    590f9d97cd31 ALSA: hda/realtek: Remove Framework Laptop 16 from quirks
    55d5d0817436 tracing: Build event generation tests only as modules
    2cd4854ef14a mips: bmips: BCM6358: make sure CBR is correctly set
    fe5a1bfad443 MIPS: Routerboard 532: Fix vendor retry check code
    b89c2c56a010 ALSA: seq: ump: Fix missing System Reset message handling
    ff27bd8e1788 ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()
    fae0e055d01d PCI: Do not wait for disconnected devices when resuming
    96a0e06dfe0c ACPI: EC: Install address space handler at the namespace root
    448efb7ea0bf cpufreq: amd-pstate: fix memory leak on CPU EPP exit
    618fbf4c910a vfio/pci: Collect hot-reset devices to local buffer
    287b569a5b91 tty: add the option to have a tty reject a new ldisc
    a94a56004082 usb: gadget: function: Remove usage of the deprecated ida_simple_xx() API
    404fb6c4c842 serial: exar: adding missing CTI and Exar PCI ids
    982ae3376c4c serial: imx: Introduce timeout when waiting on transmitter empty
    1c33fd17383f MIPS: Octeon: Add PCIe link status check
    1036d3ea7a32 f2fs: don't set RO when shutting down f2fs
    7196289190d5 PCI/PM: Avoid D3cold for HP Pavilion 17 PC/1972 PCIe Ports
    6f999660a621 udf: udftime: prevent overflow in udf_disk_stamp_to_time()
    38e6a5296615 usb: typec: ucsi_glink: drop special handling for CCI_BUSY
    eba944dffe0b usb: dwc3: pci: Don't set "linux,phy_charger_detect" property on Lenovo Yoga Tab2 1380
    e151ae1ee065 Avoid hw_desc array overrun in dw-axi-dmac
    10132ccf99f4 usb: misc: uss720: check for incompatible versions of the Belkin F5U002
    eddeb8d941d5 f2fs: remove clear SB_INLINECRYPT flag in default_options
    971c3be5dbf6 usb: gadget: uvc: configfs: ensure guid to be valid before set
    ae0d1ea3e8cd kprobe/ftrace: bail out if ftrace was killed
    23afcd52af06 ext4: fix uninitialized ratelimit_state->lock access in __ext4_fill_super()
    54f514a03676 iommu/arm-smmu-v3: Free MSIs in case of ENOMEM
    89bed5c84450 power: supply: cros_usbpd: provide ID table for avoiding fallback match
    4569c9641e76 platform/x86: p2sb: Don't init until unassigned resources have been assigned
    2ff4b9a2f016 powerpc/io: Avoid clang null pointer arithmetic warnings
    f066882293b5 media: mtk-vcodec: potential null pointer deference in SCP
    23d3c898d584 media: intel/ipu6: Fix build with !ACPI
    3ad0034910a5 powerpc/pseries: Enforce hcall result buffer validity and size
    ff1de429c2b5 ALSA: hda/realtek: Add quirks for Lenovo 13X
    bdbc4ca77f5e drm/lima: mask irqs in timeout path before hard reset
    022db5d6a8bd drm/lima: add mask irq callback to gp and pp
    171f438a878e ASoC: Intel: sof_sdw: add quirk for Dell SKU 0C0F
    38bf3b41b628 ASoC: Intel: sof_sdw: add JD2 quirk for HP Omen 14
    a63054e677fd platform/x86: toshiba_acpi: Add quirk for buttons on Z830
    8f3ade4b60b6 drm/amd/display: Exit idle optimizations before HDCP execution
    d7b8159dddc8 Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
    810e6a1da6f5 ACPI: video: Add backlight=native quirk for Lenovo Slim 7 16ARH7
    18fa9a90a0ae HID: asus: fix more n-key report descriptors if n-key quirked
    a956f64ca8d1 HID: Add quirk for Logitech Casa touchpad
    85edd783f453 wifi: mt76: mt7921s: fix potential hung tasks during chip recovery
    3f1a155950a1 netpoll: Fix race condition in netpoll_owner_active
    4882e92c8881 net: dsa: realtek: keep default LED state in rtl8366rb
    c4dbe5501ff9 kselftest: arm64: Add a null pointer check
    6d8b2c5206dd net/sched: fix false lockdep warning on qdisc root lock
    2f037b28a7bf net: sfp: add quirk for ATS SFP-GE-T 1000Base-TX module
    fa85b016a56b scsi: qedi: Fix crash while reading debugfs attribute
    76ce2f912524 drop_monitor: replace spin_lock by raw_spin_lock
    2d42aacea8cb ACPI: x86: Add PNP_UART1_SKIP quirk for Lenovo Blade2 tablets
    c572d3a92023 af_packet: avoid a false positive warning in packet_setsockopt()
    946a635b1a2e wifi: ath9k: work around memset overflow warning
    2685008a5f9a batman-adv: bypass empty buckets in batadv_purge_orig_ref()
    ef063f0f5c79 selftests/bpf: Fix flaky test btf_map_in_map/lookup_update
    5270950a3bc1 selftests/bpf: Prevent client connect before server bind in test_tc_tunnel.sh
    c5dc2d8eb398 ssb: Fix potential NULL pointer dereference in ssb_device_uevent()
    fd841ee01fb4 block/ioctl: prefer different overflow check
    3afcca7bccd0 rcutorture: Fix invalid context warning when enable srcu barrier testing
    93b7d5820296 rcutorture: Make stall-tasks directly exit when rcutorture tests end
    2e5ed1130eda rcutorture: Fix rcu_torture_one_read() pipe_count overflow comment
    9e810bd99582 io_uring/sqpoll: work around a potential audit memory leak
    b101f0bfb637 crypto: hisilicon/qm - Add the err memory release process to qm uninit
    9f21886370db crypto: hisilicon/sec - Fix memory leak for sec resource release
    7220b9795dab padata: Disable BH when taking works lock on MT path
    0eeb28d7e136 fs/writeback: bail out if there is no more inodes for IO and queued once
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 6eb25fb60f1fa2ba5653622b144f2e24cc85c69c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 728e00206b70d9fcd2d00ad86c28cc4c86c21f4b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:15 -07:00
Deepesh Varatharajan
5aa9ee518a binutils: stable 2.42 branch updates
Below commits on binutils-2.42 stable branch are updated.

8a6764d35e5 libctf: fix ref leak of names of newly-inserted non-root-visible types
d9ddfab9be2 ld: Move foo before delete in dl5.cc
3e92ae5088c ld: Avoid folding new and delete pairs

Results before updates as below:

No. of expected passes            302
No. of unexpected failures        2
No. of untested testcases         1
No. of unsupported tests          7

Results after updates as below:

No. of expected passes            302
No. of unexpected failures        2
No. of untested testcases         1
No. of unsupported tests          7

(From OE-Core rev: cfa318fd4a0a6bfa9899a366189ef6a75f000770)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:14 -07:00
Hitendra Prajapati
598e7d69d5 curl: fix CVE-2024-8096
Upstream-Status: Backport from aeb1a281ca

(From OE-Core rev: 6efcd8aea340186df484afc07a2b63a2c2a3af66)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-02 06:15:14 -07:00
Steve Sakoman
2034fc38eb build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: f888dd911529a828820799a7a1b75dfd3a44847c)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 08:07:33 -07:00
Alexis Lothoré
bf88a67b45 oeqa/postactions: fix exception handling
The current exception handler in list_and_fetch_failed_tests_artifacts
expects a non-exisiting variable and then fail to display the original
exception message since it raises a new one. The issue has been introduced
with commit 6e80b2ab66 ("oeqa/utils/postactions: transfer whole archive
over ssh instead of doing individual copies"). Now that tests artifacts are
now handled individually, there's no point of trying to print individual
names in the exception.

(From OE-Core rev: 60a7448abce091eb8c1cb953058fade0beb8b670)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a50e72bb64fb8b0d14c23164eaeeabd9c271ac19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 08:04:40 -07:00
Steve Sakoman
88c86347f7 build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: 4785c5d9f256aa82570d2534e3f82aab3386d280)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:12:16 -07:00
Steve Sakoman
70676a7d4c poky.conf: bump version for 5.0.4
(From meta-yocto rev: 9b6836117e35258aac4f7b1e7c7d10a420fe9370)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Jörg Sommer
71d86290d4 doc/features: describe distribution feature pni-name
(From yocto-docs rev: d71081dd14a9d75ace4d1c62472374f37b4a888d)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Jörg Sommer
85cc3e078d doc/features: remove duplicate word in distribution feature ext2
(From yocto-docs rev: ff4e9d2e516c57c1d0664462ff588666c1fd93a0)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Alban Bedel
0df8d7de17 bind: Fix build with the httpstats package config enabled
------C65ED3E1A5DE826CA595746785F6AF6F
To: openembedded-core@lists.openembedded.org
CC: Alban Bedel <alban.bedel@aerq.com>
Subject: [PATCH] bind: Fix build with the `httpstats` package config enabled
Date: Wed, 11 Sep 2024 08:26:47 +0200
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain
MIME-Version: 1.0

When the `httpstats` package config is enabled configure fails with
the error:

> configure: error: Specifying libxml2 installation path is not
> supported, adjust PKG_CONFIG_PATH instead

Drop the explicit path from `--with-libxml2` to solve this issue.

(From OE-Core rev: b87811febbb1a33182d8a3eb8c0f671548ae999a)

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9b076fa51f5e6fd685066fb817c47239960778e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Mark Hatle
40eac6fe62 create-sdpx-2.2.bbclass: Switch from exists to isfile checking debugsrc
While debugsrc is almost always a file (or link), there are apparently
cases where a directory could be returned from the dwarfsrcfiles
processing.  When this happens, the hashing fails and an error results
when building the SPDX documents.

(From OE-Core rev: cc24c32795e6894387a6e7ebc9b1d9f4215621f0)

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>
(cherry picked from commit 02e262c291c0b2066132b4cb2ca5fda8145284a9)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Guðni Már Gilbert
cd4eeb1fb6 bluez5: remove redundant patch for MAX_INPUT
The solution to the problem upstream was fixed by the following commit:
ca6546fe52

Now MAX_INPUT is defined for non-glibc systems such as musl.
This fix was added in BlueZ 5.67.

(From OE-Core rev: a2532944258334c9f64b673278040dd5e27489d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Colin McAllister
d29097d143 busybox: Fix cut with "-s" flag
This fixes and issue that allows blank lines to be incorrectly output
when the "-s" flag is included. This issue propogates into the
populate-volatile.sh script in initscripts. If a volatiles drop file
contains blank lines, a blank line will be included in combined users,
which will incorrectly result in a difference in the number of combined
users versus defined users. If this happens, the volatiles file will not
be executed.

(From OE-Core rev: dfbcf0581ab3dd47037726a7b8aa06f777792473)

(From OE-Core rev: 5f75aaf0489f40bd35cdd27322e4d1189e30a9e4)

Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Colin McAllister
c7094c4a28 udev-extraconf: Add collect flag to mount
Adds extra "--collect" flag to the mount command within
automount_systemd. This is intended to fix an observed deadlock after
rapidly inserting and removing external media. This is because if the
mount command fails, the transient mount will enter a failed state. The
next time the media is inserted, automount_systemd bails because the
first consition finds that the file path for the failed transient mount
still exists. This leaves the external media unmounted and cannot be
mounted until the mount is fixed via systemctl or the device is
rebooted.

Adding "--collect" ensures that the transient mount is cleaned up after
entering a failed state, which ensures that the media can still be
mounted when it's re-inserted.

(From OE-Core rev: f0cda74d73eb8c14cd6f695f514108f1e94984a6)

(From OE-Core rev: 33de458b758c2fe430b515ff419dd200ea97ca0b)

Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Khem Raj
ae6525ed2e gcc: Fix spurious '/' in GLIBC_DYNAMIC_LINKER on microblaze
(From OE-Core rev: d143981f78a85a4c5e057528f4bad7acefd46465)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backport from master OE-Core rev: f0eac82b9a1e4549b7d918df768c369ed7ab5183

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Chen Qi
dc5dd6ec19 qemu: back port patches to fix riscv64 build failure
Backport patches to fix riscv64 build failure.

(From OE-Core rev: ab7d0dcb49606651505bf167fd919bc969d97eed)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Richard Purdie
0979d14d54 buildhistory: Simplify intercept call sites and drop SSTATEPOSTINSTFUNC usage
We planned to drop SSTATEPOSTINSTFUNC some time ago with the introduction of
postfuncs. Finally get around to doing that which should make the buildhistory
code a little more readable.

Unfortunately ordering the buildhistory function calls after the sstate ones is
difficult without coding that into the sstate class. This patch does that to
ensure everything functions as expected until we can find a better way. This is
still likely preferable than the generic sstate postfuncs support since the function
flow is much more readable.

(From OE-Core rev: 466c505b779dec2ba790f4e6cde7fbb35037f4ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9e2a8fa2f0305ef1247ec405555612326f798f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Pedro Ferreira
4a64de8691 buildhistory: Restoring files from preserve list
This fix will ensure that, when we activate feature
`BUILDHISTORY_RESET`, files marked to keep on feature
`BUILDHISTORY_PRESERVE` will indeed exist is buildhistory
final path since they are moved to buildhistory/old but
not restored at any point.

(From OE-Core rev: 93ee5b0ee71a51daba9a332e8dba93d78a849677)

Signed-off-by: Pedro Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f68a45aa238ae5fcdfaca71ba0e7015e9cb720e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Pedro Ferreira
4c0730341e buildhistory: Fix intermittent package file list creation
The directory that buildhistory_list_pkg_files writes to during do_package
is created by do_packagedata so a clean buildhistory doesn't have
files-in-package written during the first build since packagedata happens
after do_package.

Ensure the output package folder is created to avoid missing
files-in-package.txt files.

Also it ensures that in case of `find` fails we leave with
a hard error instead of hiding the error on the for loop.

(From OE-Core rev: eb94b09a9183e0b0d9cfc45287e0967ae185c099)

Signed-off-by: Pedro Silva Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8de9b8c1e199896b9a7bc5ed64967c6bfbf84bea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Peter Marko
d7249c50ec python3: Upgrade 3.12.5 -> 3.12.6
Includes security fixes for CVE-2024-7592, CVE-2024-8088, CVE-2024-6232,
CVE-2023-27043 and other bug fixes.

Removed below patches, as the fix is included in 3.12.6 upgrade:
1. CVE-2024-7592.patch
2. CVE-2024-8088.patch

Release Notes:
https://www.python.org/downloads/release/python-3126/

(From OE-Core rev: aa492b1fd5973c37b8fa2cd17d28199eba46afcc)

(From OE-Core rev: 6688a8ff2e1cbf6ad8ebd1b89ec6c929caf6a161)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Trevor Gamblin
b9a2619bc8 python3: skip readline limited history tests
Python 3.12.5 is failing a newer ptest for reading/writing limited
history when editline (default) is set in PACKAGECONFIG. Skip it for now
until a proper fix (if any) is determined.

A bug has been opened upstream: https://github.com/python/cpython/issues/123018

(From OE-Core rev: de569ddffd5ea36b70c56df21dec9c892e5dee7d)

(From OE-Core rev: 98b3a3e3f79a3edaa4cf2cfbf58eb84553d65e1e)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Trevor Gamblin
a8086d489e python3: upgrade 3.12.4 -> 3.12.5
Changelog: https://docs.python.org/release/3.12.5/whatsnew/changelog.html

(From OE-Core rev: d9e2ebd6b24b802d1d4cd38b3b910e068c308809)

(From OE-Core rev: ae0e8f6932359959535e901e64bdb47189de14cd)

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: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Siddharth Doshi
a2803e528c openssl: Upgrade 3.2.2 -> 3.2.3
Updated SRC_URI link and format due to change in openssl website.

CVE's Fixed by upgrade:
CVE-2024-5535: Fixed possible buffer overread in SSL_select_next_proto().
CVE-2024-6119: Fixed possible denial of service in X.509 name checks

- Removed backports of CVE-2024-5535 as it is already fixed.
- Removed first hunk of 0001-Added-handshake-history-reporting-when-test-fails.patch as the copyright years are already updated in test/helpers/handshake.c file

Detailed Information:
https://github.com/openssl/openssl/blob/openssl-3.2/CHANGES.md#changes-between-322-and-323-3-sep-2024

(From OE-Core rev: 2155e3016a98ae0db28488dcc5176437e6f8b24a)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Vijay Anusuri
263e0c2f1a libpcap: Security fix for CVE-2023-7256 & CVE-2024-8006
Reference:
https://security-tracker.debian.org/tracker/CVE-2023-7256
https://security-tracker.debian.org/tracker/CVE-2024-8006

Upstream commits:
73da0d4d65
2aa69b04d8
8a633ee5b9

(From OE-Core rev: 00e809013a51c1af4979bcff0b3ae3eb7a4d4a20)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Steve Sakoman
5413343d48 Revert "wpa-supplicant: Upgrade 2.10 -> 2.11"
This version bump adds new features and should not have been taken.

This reverts commit 35c2b5f56bca789b9723a144fda0a130a67a860c.

(From OE-Core rev: 79ed0dba62404b9de3cd97bc861dea8779416afc)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-25 05:07:47 -07:00
Richard Purdie
1678bb9ee2 libedit: Make docs generation deterministic
The presence or lack of nroff on the host was changing the doc type. Stop
the code from looking at host paths outside HOSTTOOLS and hence cause the
doc type to be deterministic and reproducible.

(From OE-Core rev: 343f40b0bc8ef65cc1e2abd6c9c33bb2e08bad3d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 918e2b266eba6779f19f65349f85caa880ba45e7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Richard Purdie
3884757bc4 ruby: Make docs generation deterministic
The presence or lack of nroff on the host was changing the doc type. Set it
explicitly to be deterministic and reproducible.

(From OE-Core rev: 9ed723d1972b4e1bd1ae799661194ccbd4c6c759)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f5053abb8957acf358b518ee3c76146dc5f4eb6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Niko Mauno
c5126983d9 python3-maturin: Fix cross compilation issue for armv7l, mips64, ppc
When bitbaking python3-rpds-py it built extension module as:

  site-packages/rpds/rpds.cpython-312-armv7l-linux-gnueabihf.so

Which caused error on target:

  root@qemuarm:~# python3 -c "from rpds import HashTrieMap, HashTrieSet, List"
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib/python3.12/site-packages/rpds/__init__.py", line 1, in <module>
      from .rpds import *
  ModuleNotFoundError: No module named 'rpds.rpds'

Where as it should have been:

  site-packages/rpds/rpds.cpython-312-arm-linux-gnueabihf.so

Associated upstream bug report:
https://github.com/PyO3/maturin/issues/2203

Associated upstream pull request:
https://github.com/PyO3/maturin/pull/2204

Note - mitigation has not been tested with musl:
https://github.com/PyO3/maturin/pull/2204#issuecomment-2323952320

(From OE-Core rev: 32a8a7379008cc6e367b7664c5b10b29f0bb8136)

(From OE-Core rev: d2f73e3840c21997b918d1f1cfae965c618c1076)

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Niko Mauno
585bd3edba gcr: Fix LICENSE
The contents of the COPYING file included in the current source code
package match those of LGPL-2.0 license, which seems to have been the
case since 2011 commit
c6691faa03

(From OE-Core rev: f3ae58b741e4e6e3a5196ff75fcc4da6ee89d0b9)

(From OE-Core rev: 422bee7302ea26403e0ac048d3a0e72988be83b3)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Niko Mauno
a439b55e5c tiff: Fix LICENSE
The contents of the LICENSE.md file included in the current source
code package match those of libtiff license, which seems to have been
the case since 1999 commit
0ef31e1f62
where it was added with filename COPYRIGHT and was then changed to
LICENSE.md in 2022 commit
fa1d6d787f

(From OE-Core rev: 71d8e8b03349ab18dca558055c2b3a3687785ddf)

(From OE-Core rev: 5495cf45ce74e79be3b8d9b1195f65e253c62828)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Niko Mauno
7472a8be65 zip: Fix LICENSE
The contents of the LICENSE file included in the current source code
package match those of Info-ZIP license, which seems to originate from
the year 2007:

  This is version 2007-Mar-4 of the Info-ZIP license.

(From OE-Core rev: 3739a1af61ff6f0faca23bb565f9e71666953715)

(From OE-Core rev: c9bc2bc9c9d0482b13b27505b57df050ebe01898)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Niko Mauno
8da9de3186 unzip: Fix LICENSE
The contents of the LICENSE file included in the current source code
package match those of Info-ZIP license, which seems to originate from
the year 2009:

  This is version 2009-Jan-02 of the Info-ZIP license.

(From OE-Core rev: e7c9368e56a6ad90b4ffbba1b765e2b3a331c796)

(From OE-Core rev: f4b84a234662bc8f68e54d4753d9f03e4c2e7931)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Niko Mauno
0791976de0 dejagnu: Fix LICENSE
The contents of the COPYING file included in the current source code
package match those of GPL-3.0-only license, which seems to have been
the case since 2008 commit
http://git.savannah.gnu.org/gitweb/?p=dejagnu.git;a=commitdiff;h=9bebe7b9bfb9b02e5e4d86ad74e8ce3eb32a36b9;hp=50fbdd118dba066e201c73a8b0155381cd65a32d
("* COPYING: Update to GPL version 3.")

(From OE-Core rev: 26b71cfb7815a096c5962629801cc3bc85147284)

(From OE-Core rev: 718f6cb5ecf33529efb126f9eda67041f42bd7bf)

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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Niko Mauno
dab891d2dc iw: Fix LICENSE
The contents of the COPYING file included in the source code match
those of ISC license:
https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/tree/COPYING?h=v6.9
which seems to have been in effect since 2008 commit
https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit?id=622c36ae94a880fb53f7f051f1b26616f5b553c1
("license under ISC").

(From OE-Core rev: 87da7445a2a77fe73e3524cd50112842e91235b6)

(From OE-Core rev: cfb0352f1c89729e11259bfe3a7ebcaf7193620f)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Richard Purdie
0aa69e15f1 expat: 2.6.2 -> 2.6.3
Includes fixes for CVE-2024-45490, CVE-2024-45491 and CVE-2024-45492.

https://blog.hartwork.org/posts/expat-2-6-3-released/

(From OE-Core rev: 5cf92f8164d6d03756997e6b9cfb6d37ef5a273a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc96903d915db0dfde382a26bb7ec57d0d37e62e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Siddharth Doshi
8a8d815bf8 vim: Upgrade 9.1.0682 -> 9.1.0698
This includes CVE-fix for CVE-2024-43790 and CVE-2024-43802

Changes between 9.1.0682 -> 9.1.0698
====================================
https://github.com/vim/vim/compare/v9.1.0682...v9.1.0698

(From OE-Core rev: 829e474534777b2154f1b1246c5792b3159dacb1)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e530265415d93e3f49ec7874cf720aad18ab2e22)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Michael Halstead
7a6923bdd9 yocto-uninative: Update to 4.6 for glibc 2.40
(From OE-Core rev: 0a8ba360f111d379af436de86e0a990be02910bb)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b29bfd333dffe635ab67475dcd8d22ad8b114c84)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-19 05:11:35 -07:00
Benjamin Szőke
703740d19f mc: fix source URL
new URL for sources: http://ftp.midnight-commander.org/

(From OE-Core rev: 7e11701698a9f38a5e3e0499c0c2edd98d32a85d)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 03c4052718a9b8392b25e1770630317b8cf29fbe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Jon Mason
6191a86bbe openssh: add backported header file include
Backport upstream patch to add a missing header.  The patch says it is
for systemd, but I am seeing build issues when building openssh with
clang and musl.  The issue being seen is:
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
And similar deprecated warnings.  This patch resolves the issue.

Original patch can be found at
88351eca17

This issue was introduced with OE-Core 1c9d3c22718bf49ae85c2d06e0ee60ebdc2fd0c1
1c9d3c2271

Patch suggested by Khem Raj.

(From OE-Core rev: ae4064a8a60b60bee8a32a454e8784fcf1ecd318)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Jon Mason
40d43dd8f4 oeqa/runtime/ssh: increase the number of attempts
Under high load, the ssh test is hitting the amount of retries.
Increase it to 20 to avoid this issue.  This would increase the maximum
failure time from 50 seconds (5 * 10) to 100 seconds.

(From OE-Core rev: 4581b5793f310d2f1f0c80bfe1a5f8743416c4fc)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c796438eec5dd6b4671b798f85506bc89ff402ab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Wang Mingyu
c0aed6b0f2 wireless-regdb: upgrade 2024.05.08 -> 2024.07.04
(From OE-Core rev: d2b83ae234668bccd81ae4b53ca06196d398573b)

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 b460d2d55a35450564ea04255153b0a3bf715530)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Wang Mingyu
f5d5ad980b libdnf: upgrade 0.73.1 -> 0.73.2
Changelog:
==========
- context: use rpmtsAddReinstallElement() when doing a reinstall
- MergedTransaction: Fix invalid memory access when dropping items
- ConfigParser: fix use-out-of-scope leaks
- Since we use rpmtsAddReinstallElement rpm also uninstalls the package
- Fix countme bucket calculation

(From OE-Core rev: 20b67ad71cfa3eac35b2514067f87d79d9c3da2e)

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 9cf8330068503a5721640763309c4c74f293a94d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Wang Mingyu
aea897cff8 libadwaita: upgrade 1.5.1 -> 1.5.2
Changelog:
==========
- AdwAlertDialog
  - Fix unmatched va_start()
  - Fix setting default widget when removing a response
- AdwBreakpointCondition
  - Fix leaks when parsing
- AdwBreakpointBin
  - Fix a leak
- AdwDialog
  - Fix toggling presentation mode
  - Fix close button ignoring :can-close
  - Fix ::close-attempt not emitting in some cases
  - Fix swipe area for bottom sheets
  - Leak fixes
- AdwHeaderBar
  - Fix initial focus for the back button
  - Fix split view links in docs
- AdwMessageDialog
  - Fix unmatched va_start()
- AdwSpinRow
  - Fix ::input handling
- AdwTabButton
  - Fix needs-attention badge on RTL
- AdwTabView
  - Accessibility fixes
- AdwViewStack
  - Accessibility fixes
- Translation updates
  - Nepali

(From OE-Core rev: 5cc094b5ba1a6e685b01ff35130c4e69fdc7e0ec)

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 25b8f5059061bf52257117ba7d54031a31388fb1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Siddharth Doshi
3c8d846bf0 wpa-supplicant: Upgrade 2.10 -> 2.11
License-Update:
===============
- README: Change in copyright years as per https://w1.fi/cgit/hostap/commit/README?id=d945ddd368085f255e68328f2d3b020ceea359af
- wpa_supplicant/wpa_supplicant.c: Change in copyright years as per https://w1.fi/cgit/hostap/commit/wpa_supplicant/wpa_supplicant.c?id=d945ddd368085f255e68328f2d3b020ceea359af

CVE's Fixed:
===========
- CVE-2024-5290 wpa_supplicant: wpa_supplicant loading arbitrary shared objects allowing privilege escalation
- CVE-2023-52160 wpa_supplicant: potential authorization bypass

Changes between 2.10 -> 2.11:
============================
https://w1.fi/cgit/hostap/commit/wpa_supplicant/ChangeLog?id=d945ddd368085f255e68328f2d3b020ceea359af

Note:
=====
Patches
0001-build-Re-enable-options-for-libwpa_client.so-and-wpa.patch,
0002-Fix-removal-of-wpa_passphrase-on-make-clean.patch,
0001-Install-wpa_passphrase-when-not-disabled.patch,
0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch (CVE-2023-52160)
are already fixed and hence removing them.

(From OE-Core rev: 35c2b5f56bca789b9723a144fda0a130a67a860c)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 824eb0641dc6001a5e9ad7a685e60c472c9fdce8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Wang Mingyu
50cd89849b cups: upgrade 2.4.9 -> 2.4.10
Changelog:
===========
- Fixed error handling when reading a mixed "1setOf" attribute.
- Fixed scheduler start if there is only domain socket to listen on

0001-use-echo-only-in-init.patch
0002-don-t-try-to-run-generated-binaries.patch
0004-cups-fix-multilib-install-file-conflicts.patch
refreshed for 2.4.10.

(From OE-Core rev: 01039c35a89de4bbd1410b3ee08a99cf325adf2b)

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 dd7a978d2d7feb11f6c265ba812c8ca29912ebc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Vijay Anusuri
25376fc0c7 apr: upgrade 1.7.4 -> 1.7.5
Refreshed patch 0001-configure-Remove-runtime-test-for-mmap-that-can-map-.patch

Includes security fix
CVE-2023-49582

changelog:
https://downloads.apache.org/apr/CHANGES-APR-1.7

(From OE-Core rev: e650030ec8fe37b84e6ae37a2305453cc59fda31)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5d9498466526451910fa02862f8860b2bb81df8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Alexander Kanavin
143639cb8e apr: drop 0007-explicitly-link-libapr-against-phtread-to-make-gold-.patch
At some point this became unnecessary, as tested by building apr
with DISTRO_FEATURES:append = " ld-is-gold"

The logs do confirm that (previously) problematic binary links without errors.

(From OE-Core rev: c04d1ca0d4f1c7236a5093e7be5ef51633c503fd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c041932f14cf552b0446732ce0cca6537f3286ab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Dmitry Baryshkov
71a245b2d6 xserver-xorg: fix CVE-2023-5574 status
If XvFB is enabled, the CVE_STATUS for CVE-2023-5574 should be
'unpatched' rather than the empty string. Otherwise SDPX checker
complains:

xserver-xorg-2_21.1.13-r0 do_create_spdx: Unknown CVE status

(From OE-Core rev: 9965028d74b3c480f7556d299d616999822b79bf)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ec5dcbdd7c922df25ce90b04902d9c7c749a8c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Soumya Sambu
31ea437bf7 python3: Fix CVE-2024-8088
There is a HIGH severity vulnerability affecting the CPython "zipfile"
module. When iterating over names of entries in a zip archive (for example,
methodsof "zipfile.ZipFile" like "namelist()", "iterdir()", "extractall()",
etc) the process can be put into an infinite loop with a maliciously crafted
zip archive. This defect applies when reading only metadata or extracting
the contents of the zip archive. Programs that are not handling
user-controlled zip archives are not affected.

References:
https://nvd.nist.gov/vuln/detail/CVE-2024-8088

Upstream-Patch:
7ae310c56a

(From OE-Core rev: 2d98276ba70ed6c44afecd42a7352f1b3030438f)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Soumya Sambu
9541ad9650 python3: Fix CVE-2024-7592
There is a LOW severity vulnerability affecting CPython, specifically the
'http.cookies' standard library module. When parsing cookies that contained
backslashes for quoted characters in the cookie value, the parser would use
an algorithm with quadratic complexity, resulting in excess CPU resources
being used while parsing the value.

References:
https://nvd.nist.gov/vuln/detail/CVE-2024-7592

Upstream-Patch:
dcc3eaef98

(From OE-Core rev: 3bb9684eef5227e7b1280ee9051884310b0d0b7f)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Soumya Sambu
67aa29393d python3-setuptools: Fix CVE-2024-6345
A vulnerability in the package_index module of pypa/setuptools versions up to 69.1.1 allows for
remote code execution via its download functions. These functions, which are used to download
packages from URLs provided by users or retrieved from package index servers, are susceptible
to code injection. If these functions are exposed to user-controlled inputs, such as package
URLs, they can execute arbitrary commands on the system. The issue is fixed in version 70.0.

References:
https://nvd.nist.gov/vuln/detail/CVE-2024-6345

Upstream-patch:
88807c7062

(From OE-Core rev: 468c5a4e12b9d38768b00151c55fd27b2b504f3b)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-09 06:08:10 -07:00
Bartosz Golaszewski
8637aa34f0 linux-firmware: add a package for ath12k firmware
Add the firmware package for the ATH12K module.

(From OE-Core rev: 553f31396a5d966ab827f1c4b807ef46649080d0)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
[DB: added rdepends from PN to PN-ath12k]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Changqing Li
d40d52e8de libcap-ng: update SRC_URI
Refer [1], people.redhat.com has certificate issue, so update SRC_URI
to fix do_fetch warning

[1] https://github.com/stevegrubb/libcap-ng/issues/56

(From OE-Core rev: ba5d05337c97ec14d00939f02ecdd6aeab126822)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Changqing Li
8bfdb53247 expect-native: fix do_compile failure with gcc-14
In native.bbclass, CFLAGS is overrided by 'CFLAGS = "${BUILD_CFLAGS}"',
this make "CFLAGS +=" not work for expect-native, use append to make it
also work for native.

(From OE-Core rev: 6974c6548cae62529d96d4ceb3a296707d4adae5)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Quentin Schulz
d72fe250e4 weston-init: fix weston not starting when xwayland is enabled
When xwayland PACKAGECONFIG option is set, xwayland is enabled in
weston.ini. However, if the xwayland module isn't installed, weston will
refuse to start with the following error message:
Failed to load module: /usr/lib/libweston-13/xwayland.so: cannot open shared object file: No such file or directory

Therefore, whenever the xwayland PACKAGECONFIG is set, weston-init
should depend on weston-xwayland to bring this module in.

Fixes: fdbe559c66c9 ("weston.init: enabled xwayland")
(From OE-Core rev: ba66fa75e57f94d35bfd703075ea6706879c63cb)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fa2314125318634108452af4e40c9eeee260767c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Niko Mauno
b5f4d8952a util-linux: Add PACKAGECONFIG option to mitigate rootfs remount error
The 2.39 version of util-linux took new file descriptors based mount
kernel API into use. In relation to this change, the upstream release
notes in
https://github.com/util-linux/util-linux/blob/v2.39/Documentation/releases/v2.39-ReleaseNotes#L14-L21
mention that

  This change is very aggressive to libmount code, but hopefully, it does not introduce regressions in traditional mount(8) behavior.

After observing following failure when booting a board using a bit
older 6.1 series kernel together with initramfs rootfs based boot flow

  [FAILED] Failed to start Remount Root and Kernel File Systems.
  See 'systemctl status systemd-remount-fs.service' for details.

closer inspection revealed:

  demoboard ~ # systemctl status -l systemd-remount-fs.service
  x systemd-remount-fs.service - Remount Root and Kernel File Systems
       Loaded: loaded (/usr/lib/systemd/system/systemd-remount-fs.service; enabled-runtime; preset: disabled)
       Active: failed (Result: exit-code) since Wed 2024-08-14 14:53:48 UTC; 1min 22s ago
         Docs: man:systemd-remount-fs.service(8)
               https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
      Process: 76 ExecStart=/usr/lib/systemd/systemd-remount-fs (code=exited, status=1/FAILURE)
     Main PID: 76 (code=exited, status=1/FAILURE)

  Aug 14 14:53:48 demoboard systemd-remount-fs[76]: /usr/bin/mount for / exited with exit status 32.
  Aug 14 14:53:48 demoboard systemd-remount-fs[81]: mount: /: mount point not mounted or bad option.
  Aug 14 14:53:48 demoboard systemd-remount-fs[81]:        dmesg(1) may have more information after failed mount system call.
  Aug 14 14:53:48 demoboard systemd[1]: systemd-remount-fs.service: Main process exited, code=exited, status=1/FAILURE
  Aug 14 14:53:48 demoboard systemd[1]: systemd-remount-fs.service: Failed with result 'exit-code'.
  Aug 14 14:53:48 demoboard systemd[1]: Failed to start Remount Root and Kernel File Systems.

also consequentially, 'systemctl status' reported:

  State: degraded

When issuing 'strace -ff mount -o remount /' the failure occurred at

  mount_setattr(3, "", AT_EMPTY_PATH, {attr_set=MOUNT_ATTR_RDONLY|MOUNT_ATTR_NOATIME|MOUNT_ATTR_NODIRATIME, attr_clr=MOUNT_ATTR_NOSUID|MOUNT_ATTR_NODEV|MOUNT_ATTR_NOEXEC|MOUNT_ATTR_NOATIME|MOUNT_ATTR_STRICTATIME|MOUNT_ATTR_NOSYMFOLLOW|0x40, propagation=0 /* MS_??? */, userns_fd=0}, 32) = -1 EINVAL (Invalid argument)

After further investigation, The issue was pinpointed to lack of Linux
kernel commit
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=95de4ad173ca0e61034f3145d66917970961c210
("fs: relax mount_setattr() permission checks") in the kernel version
that was being used. Above mitigation was discussed in email related to
then-rejected CVE-2024-26821:
https://lore.kernel.org/linux-cve-announce/2024051606-imaging-entrench-b327@gregkh/T/

After testing with qemuarm64 machine different linux-yocto versions,
it was observed that the issue impacts following versions of currently
supported LTS kernels:
 - 6.6.17 (fixed since 6.6.18 i.e. mount_setattr() returns 0)
 - 6.1.78 (fixed since 6.1.79 i.e. mount_setattr() returns 0)
 - 5.15.164 which is currently the newest of 5.15.y series (i.e. no
   known working version)

Taking the above findings into consideration, add a new PACKAGECONFIG
option removing which enables users to opt-out from using the feature
which can cause issues with a bit older kernels. The option is enabled
only for class-target here, since it otherwise causes following error
during util-linux-native's do_configure task on Debian 11 build host
(mountfd_api requirement fails):

   | configure: error: libmount_mountfd_support selected, but required mount FDs based API not available

Versions 5.10.223, 5.4.279 and 4.10.317 were also tested with qemuarm64
but the issue was not reproduced with those versions - using strace
showed that the mount_setattr call associated with the new mount API
problem was not issued with these LTS kernel versions, which seemed to
be confirmed also by following libmount debug message in these cases:

  415: libmount:     HOOK: [0x7fa115e818]: failed to init new API

Note: In addition to the aforementioned, this change was tested also
briefly using the current latest kernel versions 6.1.104, 6.6.45 and
6.10.3 that using the old mount API with newest kernels did not
introduce any observable regression to the boot flow.

(From OE-Core rev: dc086d9a8613143607af3583c72ed892e20b4d66)

(From OE-Core rev: c0487c8141ae2b9242447b53b71052769db6338f)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Siddharth Doshi
b2f504f0cc vim: Upgrade 9.1.0114 -> 9.1.0682
This includes CVE-fix for CVE-2024-41957, CVE-2024-41965 and CVE-2024-43374

Changes between 9.1.0114 -> 9.1.0682
====================================
https://github.com/vim/vim/compare/v9.1.0114...v9.1.0682

Note:
====
Removed patch "vim-add-knob-whether-elf.h-are-checked.patch" as libelf checks are removed from configure.ac as per
commit 1acc67ac44

(From OE-Core rev: ad71057a09ec6304cee3771122224af011ee9087)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d2938e53cad5d9bf2e78a5403e9f9fab1db77b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Archana Polampalli
0069bab748 qemu: fix CVE-2024-7409
A flaw was found in the QEMU NBD Server. This vulnerability allows a denial of service (DoS) attack
via improper synchronization during socket closure when a client keeps a socket open as the server
is taken offline.

(From OE-Core rev: 334f70c408ce5c95f145aa4657f343b023f7e1b4)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Archana Polampalli
0f869ed43b ffmpeg: fix CVE-2024-32230
FFmpeg 7.0 is vulnerable to Buffer Overflow. There is a negative-size-param bug at
libavcodec/mpegvideo_enc.c:1216:21 in load_input_picture in FFmpeg7.0

(From OE-Core rev: b78fd9322b80734ec54440a01a36323a9b1b83f1)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Simone Weiß
c3e123dda7 curl: Ignore CVE-2024-32928
This CVE affects google cloud services that utilize libcurl wrongly.

(From OE-Core rev: d8aeaaf2d2ac3308af1ec442795e9714f0e6fc8c)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27ac7879711e7119b4ec8b190b0a9da5b3ede269)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Peter Marko
79bc6dd607 curl: Patch CVE-2024-7264
Pick commits per https://curl.se/docs/CVE-2024-7264.html

(From OE-Core rev: 0f1c4b8ae80dc90ee4ed89c4b99da2dca75dd247)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Peter Marko
0504e13c02 libyaml: Ignore CVE-2024-35325
This is similar CVE as the previous ones from the same author.
https://github.com/yaml/libyaml/issues/303 explain why this is misuse
(or wrong use) of libyaml.

(From OE-Core rev: f233c1b7d55fbc8c1968c105905462eed5c793e6)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Yogita Urade
8c533e9242 qemu: fix CVE-2024-4467
A flaw was found in the QEMU disk image utility (qemu-img) 'info'
command. A specially crafted image file containing a `json:{}`
value describing block devices in QMP could cause the qemu-img
process on the host to consume large amounts of memory or CPU time,
leading to denial of service or read/write to an existing external file

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2024-4467

Upstream Patches:
bd385a5298
2eb42a728d
7e1110664e
6bc30f1949
7ead946998

(From OE-Core rev: 0e309919b8807950cebc8924fc1e15763548b1f1)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-09-03 05:39:12 -07:00
Lee Chee Yang
c5627ab06f migration-guides: add release notes for 5.0.3
(From yocto-docs rev: fd4654df2d9eb36cae872dca4d23341ed5f9be91)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Lee Chee Yang
35af162f52 migration-guide: add release notes for 4.0.20
(From yocto-docs rev: 9b822bab8d351a120ebcdbc0d43d709921b88dca)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Matthias Pritschet
e7bfd398dd ref-manual: fix typo and move SYSROOT_DIRS example
1. Changed one letter (s/B/A), so the sentence is correct again.
2. Moved example from SYSROOT_DIRS_IGNORE into SYSROOT_DIRS section.

(From yocto-docs rev: 74cdaccd4cbe208de037b3b35c2cf0b8aa334748)

Signed-off-by: Matthias Pritschet <matthias@pritschet.eu>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Alexis Lothoré
91bff5527f oeqa/utils/postactions: transfer whole archive over ssh instead of doing individual copies
Fixes [YOCTO 15536]

The postactions retrieval actions currently rely on scp executed
individually on any file or directory expanded from
TESTIMAGE_FAILED_QA_ARTIFACTS. Unfortunately, symlinks are not preserved
with this mechanism, which lead to big storage space consumption. Things
may go even worse if those symlinks create some circular chains. This
mechanism then needs to be updated to preserve symlinks instead of
following them during copy. There are multiple ways to do it:
- create a local archive on the target and execute scp on this file
- use rsync instead of scp for all files
- create an archive and pipe it to ssh instead of storing it onto the
  target

The first solution may create pressure on targets storage space, while the
second assumes that rsync is installed on the target, which may not be
true. So the third one is a compromise: tar is very likely present, at
least through busybox, and no disk space is used on the target.

Replace the current per-file scp call by a single call to tar run on the
target. Retrieve the generated compressed archive directly from SSH output,
and feed it to another tar process but on host, to uncompress and extract
it at the same place as before.

(From OE-Core rev: 8b5c66c91d94f4c8521fe9443e65d86063dba5e5)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4aeb10aa38efc6768928fbb74985e36e972b8e46)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Richard Purdie
3b6c55fdba oeqa/selftest/reproducibile: Explicitly list virtual targets
We're seeing reproducibility failures where some packages don't appear
in the "from sstate" builds. The common factor is these are all recipes
with PROVIDES = "virtual/XXX".

In a full build from scratch, these are build but in a build from sstate,
there are situations where they aren't. For now, to try and keep builds
working, work around the problem until we can better look into the problem.
It is likely recent taskhash imrovements have caused this to occur more
regularly.

(From OE-Core rev: 9f0eba6aba5e9b37975f86556c1234b145a0859e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 68086a333acc54390e4e589ef928dc90da3edb48)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Jon Mason
dcfe9ed071 oeqa/runtime/ssh: check for all errors at the end
With the retry for the -SIGTERM, it is possible to still see that error
after the 5th attempt and mark the run a success.  Check for any
non-zero status in the final check and error out to close the gap.
While there, make the error print match the one above and be a little
more verbose.  Also, I'm seeing it take roughly 6 attempts on my local
(very slow) system to pass.  So, increasing the number of attempts to
10.

(From OE-Core rev: 52a67132d4d7e656a39d87c03b1c6162018e8908)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c3ebe591eef6e0479d623ec2237cfea16db5c80)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Richard Purdie
c76964dfe3 oeqa/runtime/ssh: In case of failure, show exit code and handle -15 (SIGTERM)
Ensure we show the failing exit code in case of failures.

We're seeing autobuilder failures with -15 (SIGTERM) which is probably from
slow boot/init. Retry in these cases for now.

(From OE-Core rev: 1bd6b0e29650c34652c1027b6975eb8620a73c55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 127d3bd8d5509ae17e359c1365859fd362ffc74f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Jon Mason
deea7587a0 oeqa/runtime/ssh: add retry logic and sleeps to allow for slower systems
On exceptionally slow systems, the ssh test can intermittently fail due
to a race between when ping works and the networking applications being
brought up.  To work around this issue, add some retry logic when ssh
fails to connect.  According to the man page of ssh, "ssh exits
with the exit status of the remote command or with 255 if an error
occurred."  So, only retry if the return code is 255, and limit the
number of retries to prevent it looping forever.

(From OE-Core rev: f6eacc39dc44c6b3dea9c44836addce5d03f20ef)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f0fe0b490d309cdf1c97754f85a61b5b948b7f28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Weisser, Pascal.ext
2d07b2b734 qemuboot: Trigger write_qemuboot_conf task on changes of kernel image realpath
The qemuboot.conf file contains the realpath of the kernel image
referenced by QB_DEFAULT_KERNEL. So, it must be recreated in case the
realpath of the referenced kernel image changes.

The variables KERNEL_IMAGE_NAME and KERNEL_IMAGE_BIN_EXT determine the
realpath of the kernel image relative to DEPLOY_DIR_IMAGE. Adding both of
them to the vardeps of the write_qemuboot_conf task triggers the
write_qemuboot_conf task in case the realpath of the kernel image
referenced by QB_DEFAULT_KERNEL changes.

Fixes: [YOCTO 15525]

(From OE-Core rev: fd21b5fa159e4c612475152e998ae85526fd60d9)

Signed-off-by: "Weisser, Pascal" <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f8b3975a9ce36ea7af5fd76243a823da2842415b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Gauthier HADERER
3ecf8641bb populate_sdk_ext.bclass: make sure OECORE_NATIVE_SYSROOT is exported.
Fixes bug 15464.

OECORE_NATIVE_SYSROOT is correctly set up and exported in the SDK's
environment file. But it's then unset in buildtools/environment-setup-*.
The value is restored in the SDK's environment file but is not exported
again.

(From OE-Core rev: bdf07c1eb23dbb53ad1df415b665c8f459320420)

Signed-off-by: Gauthier HADERER <ghaderer@wyplay.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 825c996b7995d3ad510933b1a88229831ca5ea29)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Ross Burton
a1bf211880 librsvg: don't try to run target code at build time
The rsvg-loader test binary isn't installed but building it causes a mix
of build host and target code to be executed.  As we don't install the
test, don't build it.

(From OE-Core rev: 310e9387a7a89b8a2a01ecc9fe889ede16622d66)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 78667e67a77df39c2af417e56ebf480962ff2e42)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Ross Burton
43997a8cf8 gstreamer1.0: disable flaky baseparser tests
There are three baseparser tests which are causing trouble on the AB,
so disable them as we've filed an upstream bug.

Also fix a typo when we were attempting to disable parser_pull_short_read
where a colon was used instead of a comma.

(From OE-Core rev: 90a510acd11fe342d01c62e3b247425836711c50)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91dbe8d6c57805f38bd287f1b392759df066589b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Kai Kang
24f7e77600 glibc: fix fortran header file conflict for arm
There is a file conflict for arm when multilib enabled:

| Error: Transaction test error:
|   file /usr/include/finclude/math-vector-fortran.h conflicts between attempted installs of
    lib32-libc6-dev-2.39+git0+312e159626-r0.armv7at2hf_neon and libc6-dev-2.39+git0+312e159626-r0.cortexa72

Install math-vector-fortran.h to the gfortran default search directory
which is arch specific to avoid the conflict.

(From OE-Core rev: 58a5ddeff446bf459a719f10b07abd731c6c5634)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d2165543e796d4558c632af24eb7b115bca45969)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Martin Jansa
c5e5c3534c libgfortran.inc: fix nativesdk-libgfortran dependencies
* use virtual/* variables as INHIBIT_DEFAULT_DEPS does to avoid dependency on gcc-cross-
  from nativesdk-libgfortran

* the dependency was added in:
  https://git.openembedded.org/openembedded-core/commit/?id=00fba52c8a6f6383137cf89fc7aa34cc3e2ff45f
  causing:

  build/oe-core $ bitbake -g nativesdk-libgfortran
  NOTE: Resolving any missing task queue dependencies
  ERROR: Nothing PROVIDES 'gcc-cross-x86_64' (but virtual:nativesdk:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/gcc/libgfortran_14.1.bb DEPENDS on or otherwise requires it). Close matches:
  gcc-cross-aarch64
  ...

  with:
  MACHINE=qemuarm64
  FORTRAN:forcevariable = ",fortran"

* after:
  https://git.openembedded.org/openembedded-core/commit/?id=44fc7aa1468ff042739cc5a91c84ef5c2a09e0a3
  nativesdk-libgfortran is pulled as dependency of nativesdk-gcc so this affects
  more people who didn't explicitly use nativesdk-libgfortran before

* the INHIBIT_DEFAULT_DEPS and gcc-runtime was there since gcc-4.8:
  https://git.openembedded.org/openembedded-core/commit/?id=a5e7ee5770b9e0cf719c573efffd874440f74289

(From OE-Core rev: 63ecb048f8238f67e21f77512b5276021b060d64)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5ce2e9c66cd2c08e141913ec65386f940353a8c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Daniel Semkowicz
8ab893015f os-release: Fix VERSION_CODENAME in case it is empty
If DISTRO_CODENAME was not set, VERSION_CODENAME field was populated
with unparsed string. This resulted in the following line in os-release
file:

  VERSION_CODENAME="${DISTRO_CODENAME}"

According to systemd documentation, this field is optional.
Fix the problem by setting VERSION_CODENAME conditionally, only if
DISTRO_CODENAME was set.

(From OE-Core rev: d53b627a68701393ac0a1acb591817f4b5dde59d)

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 70a0b8bc1d846c857be90ce2e97e60c5ee32558e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Ulrich Ölmann
538258bd28 initramfs-framework: fix typos
Fix typos in debugging and error messages.

(From OE-Core rev: 29b33a9329d69806fda9ef6ce65423df6c19e787)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4995e222ebdc9b5508c2f03a11868f184e4629a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Trevor Gamblin
04fd6fdcb8 maintainers.inc: add self for unassigned python recipes
Add myself as maintainer for the following:

- python3-setuptools
- python3-smmap
- python3-subunit
- python3-testtools

With that, every Python recipe in oe-core has a maintainer assigned.

(From OE-Core rev: 97c2cf74e556511b3827362f6b3439daa26091e9)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f7c4ab54d3ff1895d9fcb9aa20dece5e0661579d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Mingli Yu
12f2dd25e6 llvm: Enable libllvm for native build
The bpftrace recipe under meta-clang[1] needs llvm-objcopy [2] during
do_confgure phase otherwise there comes below error:
  | CMake Error at tests/data/CMakeLists.txt:6 (find_program):
  |   Could not find LLVM_OBJCOPY using the following names: llvm-objcopy,
  |   llvm-objcopy-18, llvm18-objcopy

The commit ec22bfa67f llvm: allow building libllvm in native builds, subject to PACKAGECONFIG [3]
introduces libllvm to manage the llvm function for native build
maybe because there is only mesa-native to use llvm-native.

Considering there are other recipes such as bpftrace needs llvm-native,
so enable libllvm for native build.

[1] https://github.com/kraj/meta-clang
[2] https://github.com/bpftrace/bpftrace/blob/master/tests/data/CMakeLists.txt
[3] https://git.openembedded.org/openembedded-core/commit/?id=ec22bfa67f6f1766102501d4593ce29aafe8c166

(From OE-Core rev: bd451b9cd951778cc6cdb0fe13f87c723c153d27)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:44 -07:00
Jose Quaresma
dcedb92007 go: upgrade 1.22.5 -> 1.22.6
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.5..go1.22.6
cb4eee693c (tag: go1.22.6, origin/release-branch.go1.22) [release-branch.go1.22] go1.22.6
8c8adffd53 [release-branch.go1.22] cmd/compile: add 0-sized-value simplification to copyelim
70a1aae67f [release-branch.go1.22] cmd/trace/v2: make the -pprof actually useful
2c88c1d599 [release-branch.go1.22] cmd/trace/v2: handle the -pprof flag
4c50f9162c [release-branch.go1.22] cmd/internal/cov: close counter data files eagerly
9e148a4150 [release-branch.go1.22] internal/bytealg: extend memchr result correctly on wasm
4b27560db9 [release-branch.go1.22] go/types: fix assertion failure when range over int is not permitted
4e548f2c8e [release-branch.go1.22] cmd/link: don't let dsymutil delete our temp directory
45f9ded1df [release-branch.go1.22] cmd/compile: don't elide zero extension on top of signed values
49906f9575 [release-branch.go1.22] cmd/go: fix build config before creating actions for 'go list -cover'
ea96074191 [release-branch.go1.22] os/exec: only use cachedLookExtensions if Cmd.Path is unmodified

[1] https://github.com/golang/go/compare/go1.22.5...go1.22.6

(From OE-Core rev: bd62a437ddd8470ff5a3a3d543885908901b7bce)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edaedfce685f13decad7608aefa36dece02665b0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:43 -07:00
Siddharth Doshi
c58add8ab8 Tiff: Security fix for CVE-2024-7006
Upstream-Status: Backport from [818fb8ce88]

CVE's Fixed:
CVE-2024-7006 libtiff: NULL pointer dereference in tif_dirinfo.c

(From OE-Core rev: 7fd3c7e9742a4efa0fbebc1d0ed1da8f6d960175)

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>
(cherry picked from commit 5313b4b233a486e8a1483757ad9c9aed3a213aae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:43 -07:00
Ashish Sharma
641a256474 ruby: Backport fix for CVE-2024-27282
Upstream-Status: Backport [989a235580]

(From OE-Core rev: 1103182ac9ae5139a5c3d7381007f61c1f7d91a6)

Signed-off-by: Ashish Sharma <asharma@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:43 -07:00
Robert Yang
5bfb7594c4 bitbake: data_smart: Improve performance for VariableHistory
Fixed:
- BBMULTICONFIG = "qemux86-64 qemuarm64" and more than 70 layers in BBLAYERS
$ bitbake -p -P
Check profile.log.processed, the record() cost more than 20 seconds, it is less
than 1 second when multiconfig is not enabled, and there would be the following
error when more muticonfigs are enabled:

Timeout while waiting for a reply from the bitbake server

Don't change the type of loginfo['detail'] or re-assign it can make record()
back to less than 1 second, this won't affect COW since loginfo is a mutable
type.

The time mainly affected by two factors:
1) The number of enabled layers, nearly 1 second added per layer when the
   number is larger than 50.

2) The global var such as USER_CLASSES, about 1 ~ 2 seconds added per layer
   when the layers number is larger than 50.

(Bitbake rev: d251668d9a7a8dd25bd8767efb30d6d9ff8b1ad3)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0596aa0d5b0e4ed3db11b5bd560f1d3439963a41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-26 05:18:43 -07:00
Ryan Eatmon
a39380d9c9 u-boot.inc: Refactor do_* steps into functions that can be overridden
The looping logic for handling (and not handling) UBOOT_CONFIG has led
to the various do_* functions to be large and unwieldy.  In order to
modify one of the functional blocks inside of a loop (or in the else
condition) means you either have to replace the function entirely, or
append the function and undo something it did and then do what you need
for your change.

This refactor breaks out all of the inner loops and else clauses into
new functions that themselves can be overridden without needing to
worry about the bulk of the looping logic.

It should not break any existing recipes doing prepends, appends, or
overrides.  None of the functional blocks were changed, just refactored
out into new functions.

Backport from master: https://git.openembedded.org/openembedded-core/commit/?id=937bcc229502fcc154cc676b4fcc93c561873def

(From OE-Core rev: bbb8db8fec7fbee56fcdbc665a758b911d73a767)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-19 06:09:14 -07:00
Niko Mauno
52ddff3d59 image_types.bbclass: Use --force also with lz4,lzop
Several conversion commands already make use of 'force' option in the
compression, which enables overwriting existing files without
prompting.

Since occasionally an existing residual destination file from a
previously aborted or failed task can prevent the re-execution of the
conversion command task, by enabling the 'force' option also for lz4
and lzop compression commands we can avoid following kind of BitBake
failures with these compressors:

  | DEBUG: Executing shell function do_image_cpio
  | 117685 blocks
  | 2 blocks
  | example-image.cpio.lz4 already exists; do you want to overwrite (y/N) ?     not overwritten
  | Error 20 : example-image.cpio : open file error
  | WARNING: exit code 20 from a shell command.
  ERROR: Task (.../recipes-core/images/example-image.bb:do_image_cpio) failed with exit code '1'

(From OE-Core rev: 623ab22434909f10aaf613cd3032cc2a2c6e3ff9)

(From OE-Core rev: 32904037728bf4d26cbada18ee71e62569ee2cfd)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-19 06:09:14 -07:00
Niko Mauno
3cc8c3520c systemd: Mitigate /var/tmp type mismatch issue
The base-files recipe provides /var/tmp -> /var/volatile/tmp symlink
which is in conflict with systemd upstream tmpfiles.d/tmp.conf which
defines it as a directory (or subvolume on btrfs).

This generates following error in journal:

  Jul 03 15:37:21 qemux86-64 systemd-tmpfiles[158]: "/var/tmp" already exists and is not a directory.

Mitigate the issue by defining /var/tmp as symlink corresponding to
the one created by base-files.

(From OE-Core rev: 1f1f6f45e3cfe24dfee8a09d01a5d32f3080e381)

(From OE-Core rev: 5e0e1fca220df8d2488770fc90ea5e4fab426a3c)

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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-19 06:09:14 -07:00
Niko Mauno
6b67a84d81 systemd: Mitigate /var/log type mismatch issue
When VOLATILE_LOG_DIR evaluates as True, the base-files recipe provides
/var/log -> /var/volatile/log symlink which is in conflict with systemd
upstream tmpfiles.d/var.conf.in which defines it as a directory.

This generates following error in journal:

  Jul 03 14:28:00 qemux86-64 systemd-tmpfiles[165]: "/var/log" already exists and is not a directory.

Mitigate the issue by defining /var/log as symlink corresponding to
the one created by base-files, when appropriate.

(From OE-Core rev: 711ee36e88c8968e3c45ea787b3adcf64352adf9)

(From OE-Core rev: b837d588de1ad76cbf8db3297dc51b0591a4df23)

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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-19 06:09:14 -07:00
Ross Burton
3866a30eee python3-pycryptodome(x): use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: a9ac262d9dbc57be6ac5c8905c803009e5c4ef4e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a32fa3e64d1daf5846c29403e9f258aea42212d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-19 06:09:14 -07:00
Archana Polampalli
f6c7e88446 ffmpeg: fix CVE-2023-50008
Buffer Overflow vulnerability in Ffmpeg v.n6.1-3-g466799d4f5 allows a local attacker
to execute arbitrary code via the av_malloc function in libavutil/mem.c:105:9 component.

(From OE-Core rev: e7aea9b5f66414afb6fefd9aad6123c42af94b4c)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-19 06:09:14 -07:00
Soumya Sambu
b69d869455 python3-certifi: Fix CVE-2024-39689
Certifi is a curated collection of Root Certificates for validating the
trustworthiness of SSL certificates while verifying the identity of TLS
hosts. Certifi starting in 2021.05.30 and prior to 2024.07.4 recognized
root certificates from `GLOBALTRUST`. Certifi 2024.07.04 removes root
certificates from `GLOBALTRUST` from the root store. These are in the
process of being removed from Mozilla's trust store. `GLOBALTRUST`'s root
certificates are being removed pursuant to an investigation which
identified "long-running and unresolved compliance issues."Certifi is a
curated collection of Root Certificates for validating the trustworthiness
of SSL certificates while verifying the identity of TLS hosts. Certifi
starting in 2021.05.30 and prior to 2024.07.4 recognized root certificates
from `GLOBALTRUST`. Certifi 2024.07.04 removes root certificates from
`GLOBALTRUST` from the root store. These are in the process of being removed
from Mozilla's trust store. `GLOBALTRUST`'s root certificates are being
removed pursuant to an investigation which identified "long-running and
unresolved compliance issues."

References:
https://nvd.nist.gov/vuln/detail/CVE-2024-39689

Upstream-patch:
bd8153872e

(From OE-Core rev: 2ec1ba32a23611484e5d3819008bbab85336ae20)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-19 06:09:14 -07:00
Peter Marko
b84f6ed421 libyaml: ignore CVE-2024-35326
This is the same problem as already ignored CVE-2024-35328.
See laso this comment in addition:
https://github.com/yaml/libyaml/issues/298#issuecomment-2167684233

(From OE-Core rev: 2b6391599a621e59d48da213f18bbef9b44bec58)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-19 06:09:14 -07:00
Steve Sakoman
0b37512fb4 build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: 236ac1b43308df722a78d3aa20aef065dfae5b2b)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:39:23 -07:00
Steve Sakoman
af5205d1b8 poky.conf: bump version for 5.0.3
(From meta-yocto rev: 9a4b3f7d66c5546855805e284585a550b235c313)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:34:25 -07:00
Changqing Li
09f3d8bd26 libpng: update SRC_URI
update SRC_URI to fix do_fetch warning:
WARNING: libpng-1.6.42-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/project/libpng/libpng16/libpng-1.6.42.tar.xz, attempting MIRRORS if available

(From OE-Core rev: aa23e392e379ab7f8cdfc48e1d2d96812f330c74)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:34:25 -07:00
Peter Marko
240f070f03 libmnl: explicitly disable doxygen
libmnl autoconf autodetects doxygen to generate manpages.
If doxygen is provided via hosttools, the build fails.
Also until now manpages were not needed.
So explicitly disable doxygen in configure step.

(From OE-Core rev: 8d7bbf4d6936d831e341e9443a6b3711be09c7ab)

(From OE-Core rev: fdce1a6f1143edc577f12c7e8fab878ec69c3c9a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:34:25 -07:00
Changqing Li
ca13c64766 curl: correct the PACKAGECONFIG for native/nativesdk
Since commit 148de08220 [ curl: Update from 8.2.1 to 8.3.0 ],
--enable-crypto-auth option was removed and split into separate options
for basic-auth, bearer-auth, digest-auth, kerberos-auth negotiate-auth,
and aws. In this commit, --enable-crypto-auth is removed from
EXTRA_OECONF, and the separate options is added into PACKAGECONFIG for
target. But not added into PACKAGECONFIG for native/nativesdk, this make
curl/git in buildtools not works well to connect basic auth https
server.

Failed commands:
git ls-remote https://xxx(input username/passwd)
curl -u name:passwd https://xxx

Error:
Authentication failed xxx
HTTP/1.1 401 Unauthorized

(From OE-Core rev: 67b98253ea70a1e2850a78bb101c934093d30937)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:34:25 -07:00
Ashish Sharma
3e9bb9cdfb bind: Upgrade 9.18.25 -> 9.18.28
Includes security fixes for:
			CVE-2024-1975
			CVE-2024-1737
			CVE-2024-0760
			CVE-2024-4076

Changelog:
=========
https://gitlab.isc.org/isc-projects/bind9/-/blob/v9.18.28/CHANGES

(From OE-Core rev: 45fccf634a3ba0f60ee16522b7a767bb778dd984)

Signed-off-by: Ashish Sharma <asharma@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:34:25 -07:00
Wang Mingyu
f1aa731f90 orc: upgrade 0.4.38 -> 0.4.39
(From OE-Core rev: 9be9260985e751f90f9432aa68a789bf0a26fb43)

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 bcbaaa9f7d88686915c354fb66682cbe9b1d0536)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:34:25 -07:00
Richard Purdie
01c701514e nasm: Upgrade 2.16.01 -> 2.16.03
Removes CVE-2022-46456 from reports.

(From OE-Core rev: 4a5b6e8dd315b2281afb232410db585d431be00f)

(From OE-Core rev: 5b330f3dfe7a37eff5251d2c29d324e90677b33c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:34:25 -07:00
Archana Polampalli
0c1651298d ffmpeg: fix CVE-2024-31582
(From OE-Core rev: 617a9cdba6e2f0bd3ccc24e7bb2fe84e9573fecd)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:34:25 -07:00
Peter Marko
c0af0a839b qemu: set cve status for CVE-2023-6683
This CVE is fixed in v8.2.2 with v8.2.1-55-g480a6adc83

480a6adc83

(From OE-Core rev: 422fc84ddbe46580dc6d647eff62c4dbc8551e63)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:34:25 -07:00
Peter Marko
c8c1878d32 glibc: cleanup old cve status
This CVE status should have been removed on version update.
CPE says >=2.34 and <2.39 while our version is already 2.39.

(From OE-Core rev: b568a8f428e76f75bb8c374983f62822325ebe8a)

(From OE-Core rev: 35d55934cb6ec24098e4e8679b87066bf3bae6a9)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:34:25 -07:00
Peter Marko
a004523475 curl: Patch CVE-2024-6197
Picked commit per https://curl.se/docs/CVE-2024-6197.html

(From OE-Core rev: 0f172ed0c94d287c96ec465e4724c8b47f846a4c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-10 06:34:25 -07:00
Ranjitsinh Rathod
6ced2e7ca3 rust: Add new varaible RUST_ENABLE_EXTRA_TOOLS
There is a need to enable some extra tools from the rust for the build
and so this new variable will help for that

This varaible then we can use during do_configure task to add overall
values as per json format in build -> tools

(From OE-Core rev: 136a25567499191b23a4d000a06bf83a473224ca)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Wadim Egorov
bcbc1ad07a watchdog: Set watchdog_module in default config
systemd started to warn about used but unset environment variables.
Let us set watchdog_module=none which is used by the watchdog.service to get
rid of the following warning:

  watchdog.service: Referenced but unset environment variable evaluates to an empty string: watchdog_module

(From OE-Core rev: 953ea8fa9e3e6a34cbb42e56743fb7c6cf98ff2a)

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8f1dc796c7298373e61d806e63bc121128c1c27c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Changqing Li
4aa7d1ea87 rt-tests: rt_bmark.py: fix TypeError
Fix following error:
  File "/usr/lib64/rt-tests/ptest/./rt_bmark.py", line 287, in run_cyclictest_once
    m = rex.search(line)
        ^^^^^^^^^^^^^^^^
TypeError: cannot use a string pattern on a bytes-like object

(From OE-Core rev: 9563027c35a4b1961a83100e22d4ea4430abd8b9)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5108da4009ccd3dfc92632171d6bc4dae4507db)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Patrick Wicki
dbfa6e67b2 gpgme: move gpgme-tool to own sub-package
The gpgme-tool binary is licensed GPL-3.0-or-later. Split it out into
its own package that can be opted out of.

(From OE-Core rev: 09fe1a471c570c09e8219c6cc57eb5252a5caa54)

Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bbcd56bace90f4a148960a7108dc8d0e6c364903)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Christian Taedcke
5241a967c1 iptables: fix memory corruption when parsing nft rules
This commit fixes a memory corruption issue when iptables (with
enabled PACKAGECONFIG libnftnl) is used to access rules created by
nft.

To reproduce the issue:
nft add chain ip filter TESTCHAIN { meta mark set 123 \;}
iptables -t filter -n -L TESTCHAIN

This produced the following output:
Chain TESTCHAIN (0 references)
target prot opt source     destination
MARK   0    --  0.0.0.0/0  0.0.0.0/0     MARK set 0x7b
malloc(): corrupted top size
Aborted (core dumped)

This commit fixes this issue.

(From OE-Core rev: fa3873cfcda862d8aad564966070af216e4903c6)

Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Richard Purdie
d672cd4c93 pseudo: Update to include open symlink handling bugfix
Update to a new revision which includes "Bugfix for Linux open(O_CREAT|O_EXCL)"

(From OE-Core rev: 97410e90f7233e5c9ce38eea0fa99b76160ffce9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 92a9710ec88c8729fa3d83baa2e63dd74d95cdf8)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Richard Purdie
f2e9c85eca pseudo: Fix to work with glibc 2.40
glibc 2.40 renames some internal header variables. Update our hack to
work with the new version. These kinds of problems illustrate we need to
address the issue properly.

(From OE-Core rev: 1d5903bf749436d9b26df858041337b723614963)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 35021d650de3eecc3f42000181b39a5db5a8eaa0)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Mark Hatle
d6771999e0 oeqa sdk cases: Skip SDK test cases when TCLIBC is newlib
Newlib generally requires additional components to function.  Skip the
cases where newlib is known to not work.

(From OE-Core rev: 99a5ca1c2c2b7b3193710bc681fbf05936025b5b)

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>
(cherry picked from commit b9934755554e40d9980b90c3d541f4c702203561)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Richard Purdie
e1f0aceba1 create-spdx-3.0/populate_sdk_base: Add SDK_CLASSES inherit mechanism to fix tarball SPDX manifests
Currently, "tarball" sdk based recipes don't generate SPDX manifests as they
don't include the rootfs generation classes. Split the SPDX 3.0 image class into
two so the SDK components can be included where needed.

To do this, introduce an SDK_CLASSES variable similar to IMAGE_CLASSES which
the SDK code can use.

Migrate testsdk usage to this.

Also move the image/sdk spdx classes to classes-recipe rather than the general classes
directory since they'd never be included on a global level.

For buildtools-tarball, it has its own testsdk functions so disable the class there as
a deferred inherit would overwrite it.

(From OE-Core rev: 95660951a09e2a3fe63eb1017ad8f1d7fc9cd503)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

(cherry picked from commit 662396533177b72cc1d83e95841b27f7e42dcb20)

Eliminate spdx-3.0 items, not applicable to Scarthgap.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Mark Hatle
86324b2306 create-spdx-*: Support multilibs via SPDX_MULTILIB_SSTATE_ARCHS
When a create-spdx-* classes is processing documents, it needs to
find the document in a path that is related to the SSTATE_ARCH
when a packge is generated.  The SSTATE_ARCH can be affected by
multilib configurations, resulting is something like armv8a-mlib.

When the image (or SDK) is being generated and the components are
collected, the system has no knowledge of the multilib arch and
will fail to find it, such as:

  ERROR: meta-toolchain-1.0-r0 do_populate_sdk: No SPDX file found
   for package libilp32-libgcc-dbg,
   False sstate:libilp32-libgcc:armv8a-ilp32-mllibilp32-elf:14.1.0:r0:armv8a-ilp32:12:
   sstate:libilp32-libgcc::14.1.0:r0::12:

Adding in the new SPDX_MULTILIB_SSTATE_ARCHS will provide a full
set of SSTATE_ARCHS including ones that contain the multilib
extension which will allow create-spdx-* to correctly find the
document it is looking for.  This would also be valuable to any
other function doing a similar search through SSTATE_ARCH that may
have been extended with multilib configurations.

(From OE-Core rev: 5c1ce317fff6df6818f72d93197e5ec59ad4c462)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

(cherry picked from commit f1499c36c1054fc90f7b7268cc95285f2eca72f7)

spdx-3.0 items are not application and were removed.

spdx-common.bbclass item was moved into create-sdpx-2.2.bbclass.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Mark Hatle
c80d82054e selftest-hardlink: Add additional test cases
Additional test cases for debug symlink generation both binaries
and static libraries.

This also has the side effect of testing for race conditions in the
hardlink debug generation and stripping.

(From OE-Core rev: 39823d3211411e661320e1164ba4c50370804425)

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>
(cherry picked from commit 7171f41c07a39a7543bb64f075d38b8e74563089)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Mark Hatle
0d017528d4 package.py: Fix static library processing
When PACKAGE_STRIP_STATIC is enabled the system did not pay attention to
hardlinks.  This could trigger a race condition during stripping of static
libraries where multiple strips (through hardlinks) could run at the same
time triggering a truncated or modified file error.

The hardlink breaking code is based on the existing code for elf files, but
due to the nature of the symlinks needed to be done in a separate block of
code.

Add support for static-library debugfs hardlinking through the existing
inode processing code.

Print a note to the logs if the link target can't be found.  This isn't
strictly an error, but may be useful for debugging an issue where a file
isn't present.

(From OE-Core rev: c2809691992dab48a360c9516d205ec031378cda)

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>
(cherry picked from commit ff371d69f60a1529ed456acb7d8e9305242e74bd)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Mark Hatle
648d2617ba package.py: Fix static debuginfo split
Fix:
  NameError: name 'shutil' is not defined

(From OE-Core rev: a9d8e3f12032c92fa8dd7f2ad40f618da5ee281a)

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>
(cherry picked from commit 13bdd750ae54d57a5f459e4b7d8636c864978241)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Yogita Urade
aa02ad000d qemu: upgrade 8.2.2 -> 8.2.3
This includes fix for: CVE-2024-26327, CVE-2024-26328 and CVE-2024-3447

General changelog for 8.2: https://wiki.qemu.org/ChangeLog/8.2

Droped 0001-linux-user-x86_64-Handle-the-vsyscall-page-in-open_s.patch,
CVE-2024-3446 and CVE-2024-3567 since already contained the fix.

(From OE-Core rev: 1a6d502c04fad0d190bb665e9d454b85c0853fcc)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Niko Mauno
9227b9c326 libyaml: Fix warning regarding unpatched CVE
This commit incorporates changes in following master branch commits:

  f3479f74c9 libyaml: Amend CVE status as 'upstream-wontfix'
  3ebb2ca832 libyaml: Change CVE status to wontfix
  56b6b35626 libyaml: Update status of CVE-2024-35328

which mitigate the following warning with cve-check.bbclass:

   WARNING: libyaml-native-0.2.5-r0 do_cve_check: Found unpatched CVE (CVE-2024-35328), for more information check .../tmp/work/x86_64-linux/libyaml-native/0.2.5/temp/cve.log

(From OE-Core rev: a88c83ba93346b62c2a360ab71bacc57585fec60)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Khem Raj
3abcfb7879 busybox: Add fix for CVE-2023-42366
(From OE-Core rev: 25554f0a542894416ad17e1334c8a05feb56b12e)

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>
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Khem Raj
f9b5e80b57 busybox: CVE-2023-42364 and CVE-2023-42365 fixes
backport upstream fix for CVEs and fix the regression that introduced [1]

[1] http://lists.busybox.net/pipermail/busybox/2024-May/090766.html

(From OE-Core rev: 7fa82243e587563172c0c2c4ab005a873583d26e)

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>
Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Peter Marko
fc596da0c2 libstd-rs,rust-cross-canadian: set CVE_PRODUCT to rust
These recipes come from rust sources and CVEs are reported for them
under rust-lang:rust vendor:product touple.
Especially libstd-rs needs correct CVE_PRODUCT as is it installed on
target devices (being statically linked to rust compiled binaries).

before:
cargo: CVE_PRODUCT="cargo"
cargo-c-native: CVE_PRODUCT="cargo-c"
libstd-rs: CVE_PRODUCT="libstd-rs"
rust: CVE_PRODUCT="rust"
rust-cross-canadian: CVE_PRODUCT="rust-cross-canadian-<arch>"
rust-llvm: CVE_PRODUCT="rust-llvm"

after:
cargo: CVE_PRODUCT="cargo"
cargo-c-native: CVE_PRODUCT="cargo-c"
libstd-rs: CVE_PRODUCT="rust"
rust: CVE_PRODUCT="rust"
rust-cross-canadian-x86-64: CVE_PRODUCT="rust"
rust-llvm: CVE_PRODUCT="rust-llvm"

Product for rust-llvm is uncertain and, should be handled in another
commit if it is desired to align it, too.

sqlite> select vendor, product, count(product) from products where vendor="rust-lang" group by product;
rust-lang|async-h1|2
rust-lang|cargo|5
rust-lang|future-utils|2
rust-lang|futures-task|2
rust-lang|mdbook|1
rust-lang|regex|2
rust-lang|rsa|2
rust-lang|rust|45
rust-lang|socket2|1

(From OE-Core rev: 91bfe1f64ee3e2b8534baa8a3eb2fb7fa3521657)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e8cf1df16a6ec2785cacaf608bec5cd8496103af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-06 19:11:18 -07:00
Jose Quaresma
f43f393ef0 openssh: systemd notification was implemented upstream
Drop our sd-notify patch and switch to the upstream standalone
implementation that does not depend on libsystemd.

(From OE-Core rev: 1c9d3c22718bf49ae85c2d06e0ee60ebdc2fd0c1)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07522f85a987b673b0a3c98690c3c17ab0c4b608)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Jose Quaresma
0d70afb107 openssh: systemd sd-notify patch was rejected upstream
Still side effects of the XZ backdoor.

Racional [1]:

License incompatibility and library bloatedness were the reasons.
Given recent events we're never going to take a dependency on libsystemd,
though we might implement the notification protocol ourselves if it isn't too much work.

[1] https://github.com/openssh/openssh-portable/pull/375#issuecomment-2027749729

(From OE-Core rev: 29faae166366dd022598b95fb1595bd9473d2a17)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c3403bb6254d027356b25ce3f00786e2c4545207)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Jose Quaresma
73481baaa9 openssh: drop rejected patch fixed in 8.6p1 release
The rationale [1] is that C11 6.5.6.9 says:
"""
When two pointers are subtracted, both shall point to elements of the
same array object, or one past the last element of the array object; the
result is the difference of the subscripts of the two array elements.
"""

In these cases the objects are arrays of char so the result is defined,
and we believe that the compiler incorrectly trapping on defined behaviour.

I also found https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63303
("Pointer subtraction is broken when using -fsanitize=undefined") which seems to support this position.

[1] https://bugzilla.mindrot.org/show_bug.cgi?id=2608

(From OE-Core rev: ea9b6812e2e547767d430a05f4f9282f6988468a)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cf193ea67ca852e76b19a7997b62f043b1bca8a1)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Jose Quaresma
27a526f1e7 oeqa/runtime/scp: requires openssh-sftp-server
The SCP protocol was deprecated in favor of the SFTP.
For the legacy SCP protocol scp should be run with "-O".
Instead of adding "-O" on the scp_options ssh oeqa we can
require the openssh-sftp-server to be instaled on the target.

This way the test will work more deterministic regardless of
the host machine client used.
For the old fashion clients still using legacy SCP protocol
the openssh-sshd server will be used, for the new ones using
the SFTP the openssh-sftp-server will be picked.

(From OE-Core rev: 7629a47d6cac36c78184788010f754175853bb03)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2f43da91ba20d18bc419bca7651bb383a51f20af)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Guðni Már Gilbert
3bb68d4329 python3-attrs: drop python3-ctypes from RDEPENDS
python3-ctypes was dropped as a dependency in v19.2.0

(From OE-Core rev: 48c43d2ff467c067d1518dc55d8d6da39bea159a)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d06116caf2382ad4782b9b2da50534d076a736d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Alexander Kanavin
855f3cc2f5 libacpi: mark patches as inactive-upstream
(From OE-Core rev: c7c18d83029ed9b928ae0c7c78d2ef78813ca8bd)

Signed-off-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 722ac78f151fb6c433379ff50394b34ec06ca816)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Alexander Kanavin
75938e5ef9 dpkg: mark patches adding custom non-debian architectures as inappropriate for upstream
(From OE-Core rev: bd782cf02ab8ae5250d8009595a877fab54b8d1a)

Signed-off-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 da9906553c69af0db8b14c39ee224348d539e7b1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Alexander Kanavin
8596d0dc83 settings-daemon: submit addsoundkeys.patch upstream and update to a revision that has it
(From OE-Core rev: ab532f6010a671e622a9451f6a5d2fe31dbc2f32)

Signed-off-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 0d56c7b444d94778808cce8ede3374b8212b22a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Alexander Kanavin
a5bfdf80f5 automake: mark new_rt_path_for_test-driver.patch as Inappropriate
The patch is specific to how oe-core runs autotools-generated tests:
by cherry-picking needed bits from builddir and srcdir, then hacking
Makefile with sed until it runs.

As GNU is not interested in installable tests, they wouldn't be
interested in this patch either; and if they become interested,
it's probably going to be done in a whole different way.

(From OE-Core rev: c7a8632469913638070878022bffac5588201006)

Signed-off-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 dd13c29bee330d381e1e574351348e526500e396)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Alexander Kanavin
dcfbe327e3 tcp-wrappers: mark all patches as inactive-upstream
(From OE-Core rev: 81d8c2567d9319e68854217022bb038546b6298a)

Signed-off-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 0bc555fce11e1d25928310961c53aefd407fbd23)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Alexander Kanavin
8c320e6fe2 glslang: mark 0001-generate-glslang-pkg-config.patch as Inappropriate
Issue is already being independently fixed upstream.

(From OE-Core rev: bdd67f045e1dd5e2b862cc364e42278f60362c9a)

Signed-off-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 e65af6571ad49d914c788b73f678e3565faac69e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Alexander Kanavin
182492d412 glib-networking: submit eagain.patch upstream
(From OE-Core rev: a46e784fa315ffc545ad36ff865ce033c3da0b67)

Signed-off-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 eb3958bab8e1a7307f4de7615ddac8222aaae5b0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Alexander Kanavin
64ac9fa408 python3: submit deterministic_imports.patch upstream as a ticket
(From OE-Core rev: eb3868d99ef2d5fa9fafc9cf947209d81ab5f11f)

Signed-off-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 d77511cc9add70857e4a9d7237b23d7d6ae14e98)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Etienne Cordonnier
e8b3c87ca6 oeqa/runtime: fix race-condition in minidebuginfo test
Fix this error where 'coredumpctl info' warns that the coredump is still being
processed:

```
AssertionError: 1 != 0 : MiniDebugInfo Test failed: No match found.
-- Notice: 1 systemd-coredump@.service unit is running, output may be incomplete.
```

(From OE-Core rev: ad1ce64f5c1f22a7b10025d8cba20dc74354ac81)

(From OE-Core rev: f7e824477ef75fcea8e0b777278413304def631c)

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>
(cherry picked from commit ed562345d5a5f2edb649028553199f3f7966e19e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Jörg Sommer
b285f6d0fe classes/kernel: No symlink in postinst without KERNEL_IMAGETYPE_SYMLINK
The commit “Use a copy of image for kernel*.rpm if fs doesn't support
symlinks” [1] added postinst and postrm scripts to the kernel package which
create a symlink after package installation. This should not happen if
`KERNEL_IMAGETYPE_SYMLINK` is not `1`.

Background: The u-boot implementation of jffs2 does not support symlinks.
Using a hardlink or removing `${KERNEL_VERSION}` from the file name fails,
because the current postinst script replaces the file with the symlink.

[1] 8b6b95106a

Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Yanfei Xu <yanfei.xu@windriver.com>
(From OE-Core rev: 6916c19c8a09d8d0334c957ae541aafcbbcf92df)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6a763401862d9ee96749ad18378b6344778c2c66)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Benjamin Szőke
1935e4e8df archiver.bbclass: Fix work-shared checking for kernel recipes
Source dir can be a symbolic link in some BSP's linux kernel recipe
which points to work-shared path (like linux-fslc in meta-freescale).
Change to use os.path.realpath() in order to get real path of
source dir.

(From OE-Core rev: 340dc094df5eda4a3834a90578b331d9edcffa94)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9191aa685418af32f003e067ef7c5737a271e3a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Khem Raj
50cd98ac5e gawk: Remove References to /usr/local/bin/gawk
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
https://github.com/riscv/meta-riscv/issues/384

(From OE-Core rev: 64ae7492c69599019ef2bec62a834335539908ef)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f58ad97f6587322b716de1c9dc409bb4e1376f0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Richard Purdie
82d0777248 oeqa/sdk/case: Ensure DL_DIR is populated with artefacts if used
Where we're using DL_DIR in sdk archive to try and cache testing artefacts,
copy into the cache so that it gets populated and this doesn't have to be done
manually. Currently we're making a lot of repeat requests to github as this
wasn't being populated.

(From OE-Core rev: 048467673ceb075277c5a4fbbb40b9c3e41864e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a3284958a2cc6c90a5fac26976bddc23f821c972)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Trevor Gamblin
754724ec73 python3: skip test_multiprocessing/test_active_children test
This test is causing problems on the Autobuilder, so disable it for now.

(From OE-Core rev: 9eafd0c56b279a7c3025b0dcd00745baead15bb6)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ac000b00ec615b3e51dda8d819015d5e7110ed88)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Trevor Gamblin
a28f4c97b3 python3: skip test_concurrent_futures/test_deadlock
These tests are causing hangs on the Autobuilder, so disable them for
now.

(From OE-Core rev: 141c348ce83552beae88e115d9c4db5802c6e0f4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 291f37808f1a2b2fdc8190696867f974994457c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Khem Raj
8a203e0f2a python3: Treat UID/GID overflow as failure
This fixes ptest failures on 32bit architectures

AssertionError:
Failed ptests:
{'python3': ['test_extractall_none_gid',
             'test_extractall_none_gname',
             'test_extractall_none_mode',
             'test_extractall_none_mtime',
             'test_extractall_none_uid',
             'test_extractall_none_uname',
             'setUpClass',
             'python3']}

(From OE-Core rev: 371124fa4bf1a255a4fc646b028398db8c9f3681)

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 43104b547cb79693c83df0882773ae8dd74b1d35)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Khem Raj
e97af1ca2c grub,grub-efi: Remove -mfpmath=sse on x86
This option fails with clang compiler when testing for soft-float because
OE enforces this option via CCARGS however, gtub's
makefile/configure does disable all sse options when checking for
soft-float support, but it can not disable -mfpmath=sse as its inserted
by OE, therefore remove it in recipe

Fixes build errors seen with clang/musl like on x86
error: the 'sse' unit is not supported with this instruction set

(From OE-Core rev: 17273366f23702077fe7a270afc7b5d26a650bf7)

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 ad76da4ff6d7110747b620621ae3728de9905465)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Martin Jansa
beed6f3163 selftest: add Upstream-Status to .patch files
(From OE-Core rev: 34185c9d70920bf42323826f1ef31feab71c44e3)

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 e5e5561c178a565b3aa7cb540fe1c8f71917c882)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Kirill Yatsenko
c861a9f92f iptables: fix save/restore symlinks with libnftnl PACKAGECONFIG enabled
When the libnftnl PACKAGECONFIG is enabled, the "iptables" symlink is correctly
points to xtables-nft-multi, however the "iptables-save" and
"iptables-restore" are still point to the xtables-legacy-multi.

So, when the "iptables" command is used it's using the nftables backend
where is the "iptables-save/restore" are using the legacy backend.

This is not consistent with other distros (e.g. Ubuntu).

The issue was identified when testing the UFW firewall with nftables backend.

(From OE-Core rev: 2c0d03ed7bb9c17b1c3ccefd00bf3a4ede9e291f)

Signed-off-by: Kirill Yatsenko <kiriyatsenko@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6579e4333b74232d8b576c399eab88e37da881ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Kai Kang
0744992e24 cmake-qemu.bbclass: fix if criterion
It always executes the scripts whether 'qemu-usermode' in
'MACHINE_FEATURES' or not. Fix the criterion to make it work.

(From OE-Core rev: 6f73c5df726eef7db32ab0fd1aa2ea4e45b3493c)

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>
(cherry picked from commit 9e163246dcbbd2187c9ba28432c613b0d6c850c6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Michael Opdenacker
4c7d6422ff maintainers.inc: update self e-mail address
(From OE-Core rev: 54134c24e17f28223259eaaba41ff2e2ea5b55d6)

Signed-off-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d4a435141c71710e479b7f49c38aba9f57cd1d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Ross Burton
652f10ab28 gawk: update patch status
(From OE-Core rev: dbf22d49c4b4c5e26a7aa05b2368c44bad562318)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d9052884f6eefdf65acbca76e1c39556d77a1af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Kai Kang
901b78e8ff multilib.bbclass: replace deprecated e.data with d
Replace deprecated e.data with d in multilib.bbclass and
multilib_global.bbclass.

Remove event check in function multilib_virtclass_handler_vendor in
multilib_global.bbclass. The function flag 'eventmask' has been set
with 'bb.event.ConfigParsed', so no need to check the event any more.

(From OE-Core rev: 01a84c3db74e8cc4923016c312a484a252fcfee0)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d87662d676a2b9ef921cb49ea6edc07b37410e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Enrico Jörns
a9517d232e wic: bootimg-efi: fix error handling
If we check for empty variables, it does not make sense to print their
content in case they are empty.

Additionally, the error message in the 'kernel' check attempted to print
the wrong variable ('target') which was not even defined, yet.

Also, raising WicError doesn't require an extra newline.

(From OE-Core rev: a1cbf4d5ea5f852144d0cc70be99d6338c618fcd)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f31cf475d0235f42d73aeec07694f79b9937fd76)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Etienne Cordonnier
062d897b77 oeqa/runtime: make minidebuginfo test work with coreutils
The test was failing with core-image-full-cmdline which uses sleep from coreutils instead of sleep from busybox.

(From OE-Core rev: 2b71641b9c1b8f7e67527d2242a6a65b1e849ded)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8497edf0c56da34ea7b7509b8fcd46fcba2fd0e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Soumya Sambu
44be932c5d python3-idna: upgrade 3.6 -> 3.7
License-Update: Updated copyright year

Changelog:
==========
 * Fix issue where specially crafted inputs to encode() could take exceptionally
long amount of time to process. [CVE-2024-3651]

(From OE-Core rev: b6f8938c8048d08e29233fa29f5104b044353cf7)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Denys Dmytriyenko
692586f0c4 weston: upgrade 13.0.0 -> 13.0.1
Weston 13.0.1, a bug fix release for 13.0.0 has been released.

Full changelog:
https://lists.freedesktop.org/archives/wayland-devel/2024-April/043575.html

(From OE-Core rev: 785dc256112029fcc95bcb003ab0436bee6079d1)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a43f4f98aeba01f05157f7784e366a964d2f766f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Aleksandar Nikolic
19f249c4f1 cve-check: Introduce CVE_CHECK_MANIFEST_JSON_SUFFIX
The variable contains the suffix of the CVE JSON manifest file.
By default, this variable is set to 'json', so the current behavior
is not changed, but enables developers to use some other suffix,
e.g., cve.json (similar to spdx.json).

(From OE-Core rev: 0cb103430d0505a3cd135e727379489bc3fe6e46)

Signed-off-by: Aleksandar Nikolic <an010@live.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d99eee76923659c0b95bf9ef415ae5d44f736d01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Guðni Már Gilbert
f999c32c8b pam: Fix for CVE-2024-22365
Upstream-Status: Backport from 031bb5a5d0

(From OE-Core rev: 6d4c14e1053089a67a38a8de95625e4ba3fbc32a)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:09 -07:00
Archana Polampalli
89107e01fb ffmpeg: fix CVE-2024-31578
FFmpeg version n6.1.1 was discovered to contain a heap use-after-free via the av_hwframe_ctx_init function.

(From OE-Core rev: bd9fe64c40f7f4e1d18b5d33a9a366e95c2ddd2d)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:08 -07:00
Archana Polampalli
11415e5a61 ffmpeg: fix CVE-2023-49502
Buffer Overflow vulnerability in Ffmpeg v.n6.1-3-g466799d4f5 allows a local attacker
to execute arbitrary code via the ff_bwdif_filter_intra_c function in the
libavfilter/bwdifdsp.c:125:5 component.

(From OE-Core rev: 814a688d1dc3f22cf7d1b88bde6842b032c13d12)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:08 -07:00
Archana Polampalli
d6875b5240 ofono: fix CVE-2023-2794
(From OE-Core rev: c51013019c97ad9081657db9228633322c832463)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-08-01 06:08:08 -07:00
Emil Kronborg
6879650b92 insane.bbclass: remove leftover variables and comment
The code that used these variable and the comment was introduced in
commit b44d32ef41 ("insane.bbclass: Portions of code were not running,
fix this and sync with OE.dev. Also add tests for bad sysroot rpaths in
binaries"). Later, in commit 17dae13fabe2 ("insane.bbclass: Fix ELF
bitsize comparison"), some of that code was removed again, but not the
variables and the comment.

(From OE-Core rev: c00a9a8f25b0042b0723a5d20b88e92d473d22bf)

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 730d00b0d1d1d617b62900be12fa034bb41fc48b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Emil Kronborg
8cb7901a51 insane.bbclass: fix HOST_ variable names
Commit cd25e5544ca3 ("insane: use HOST_ variables, not TARGET_ to
determine the cross system") updated the variables themselves, but not
their names. To prevent confusion, match the Python variable name to the
BitBake variable name.

(From OE-Core rev: 7fd25eaa8fd5533d03d5f10792e2e6c30c64cc3c)

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f5bebc96580ec74d10bc96b4265357ebc9bcd6ad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Emil Kronborg
9c03095105 insane.bbclass: remove skipping of cross-compiled packages
After commit cd25e5544ca3 ("insane: use HOST_ variables, not TARGET_ to
determine the cross system"), this check is no longer necessary. The
introduction of HOST_ variables ensures architecture compatibility is
correctly checked.

(From OE-Core rev: dd29c810970038e9ee427cc1b75f61e708fcd0d5)

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6e1ddeb05dcd5ff77e0f5526a6e56a484daa4864)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Simone Weiß
0f729a445a sanity: Check if tar is gnutar
In sanity.bbclass the tar version is checked as tar needs to be recent enough
for reproducible builds. Tar could also be provided by other means then gnutar,
but we mean the version of gnutar in the check. Hence we also should ensure
that the installed tar is gnutar.

[YOCTO #14205]

(From OE-Core rev: 49edd9e5d48abe66135391617c6b901a5f454dab)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bdef30bd887cd208d7822dd7853d33e24a6b7a4c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Etienne Cordonnier
fde79e305b oeqa/runtime: fix regression in minidebuginfo test
The builtin command "sleep" was getting executed instead of the busybox binary.
Hence "pidof sleep" was empty and the test was failing.

(From OE-Core rev: dfde05c64a7d9f01f09a34e76509ef80501f0db7)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3188f3f0718b8a59bc9e3cae4cdf74e82bdb86c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Simone Weiß
855256ad3f tzdata: Add tzdata.zi to tzdata-core package
Additionally build and package tzdata.zi info file, as e.g. Systemd expects it
to be present.

[YOCTO #15172]

(From OE-Core rev: cea6bc554f8326d1d7b680ce8e8a05f1f186b6d0)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a57c7062c9b70361486898974beba4682cf4a76d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Chen Qi
398e77fc21 libnl: change HOMEPAGE
http://www.infradead.org/~tgr/libnl/ stops at 2014, the
current official home page should be the github one.

(From OE-Core rev: bc68ac83d158f3f0b2f67f89f541faecb094ea43)

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 cfe7659e4c553c51d39322b378ac7fb2891c2dc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Richard Purdie
fbdb36e53b layer.conf: Add os-release to SIGGEN_EXCLUDERECIPES_ABISAFE
This rebuilds whenever DISTRO_VERSION changes (i.e. any commit is made)
and systemd depends upon it so lots of things end up rebuilding which
isn't necessary,

(From OE-Core rev: 9d2eded1d423a24a8fa811f26d501bd68cd7a1be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 002a2a9d977ed5b86138333c567d25616d38c60b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Khem Raj
b87b9829ae systemd.bbclass: Clarify error message
When this error is triggered, its a bit vague in specifying where the
issue is e.g.

ERROR: nbd-3.26.1-r0 do_package: nbd does not appear in package list, please add it

Some packages may intentionally remove PN from packages and find it
confusing as to why the system is still asking this to be in PACKAGES

(From OE-Core rev: 1ca6b396e2ac7088e4228a1b86fe25c6f7fb7a21)

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 025a5e4529dff37a6423d305b12b7a51ceedd9e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Quentin Schulz
c673f20743 mmc-utils: fix URL
The current mmc-utils git URL still (for now?) redirects to the URL in
this patch, but the homepage doesn't, so let's just migrate both to the
new URL.

(From OE-Core rev: 03b1b0798e6eda991f78ada80d4c2846034ea0ff)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 59870f6d87bb516d74081fde1c670e4838e6e134)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Alexander Kanavin
d4647380e6 mobile-broadband-provider-info: upgrade 20230416 -> 20240407
Convert to meson.

(From OE-Core rev: 081aa8f9e709314bf6a644a43674d8b44e04d894)

Signed-off-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 643c7c2219886253857fdc7618d5db12ddc0e9de)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Markus Volk
f7f1422865 libadwaita: update 1.5.0 -> 1.5.1
=============
Version 1.5.1
=============

- AdwAboutDialog/Window
  - Fix an outdated appstream reference in docs
- AdwActionRow
  - Mention .property in docs
- AdwAlertDialog
  - Fix the accessible role
  - Fix initial focus
- AdwAvatar
  - Fix portrait avatars on hidpi
- AdwBin
  - Fix a potential focus issue
- AdwBreakpoint
  - Fix add_setter() annotations
- AdwCarousel
  - Fix a build warning
- AdwComboRow
  - Fix initial checkmark
  - Handle model changes properly
- AdwDialog
  - Fix accessibility warnings
  - Make shortcuts work when there are no focusable widgets
  - Correctly restore focus when opening a dialog from a menu
  - Fix GtkWindow:deletable=false hiding close buttons in dialogs
- AdwExpanderRow
  - Fix get_title_lines() and get_subtitle_lines() return types
  - Fix remove() docs
- AdwOverlaySplitView
  - Unmap sidebar when it's hidden
- AdwPreferencesGroup
  - Fix a potential focus issue
  - Fix :header-group annotations and notifications
- AdwPreferencesPage
  - Fix a potential focus issue
- AdwTabView
  - Document :close-page return value
  - Fix a leak when closing the last page
- AdwViewStack
  - Fix a typo in docs
- Docs
  - Update screenshots
- Stylesheet
  - Fix entry progress bars
- Add missing return annotations
- Translation updates
  - Brazilian Portuguese
  - Hindi
  - Kabyle
  - Portuguese
  - Slovak

(From OE-Core rev: 497383a38b76deff6d800a1f3d3e9355ee6335ce)

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 301470de9a1a6a44de9a3d7c815e86dba162da68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Alexander Kanavin
331f68a585 xserver-xorg: upgrade 21.1.12 -> 21.1.13
Changes:

render: Avoid possible double-free in ProcRenderAddGlyphs()
mi: fix rounding issues around zero in miPointerSetPosition

(From OE-Core rev: 9c00034001c27a17658ae8ae6a75d0c115a1a16b)

Signed-off-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 78dc14599a65075a40c26df4bf9d2bb33a237ca9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Richard Purdie
2d5281492d pseudo: Update to pull in python 3.12+ fix
Pull in a fix which avoids syntax warnings with python 3.12.

(From OE-Core rev: 4643fd6a90627ebec73ed7342f7e0b62e67b5f21)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 51aa0217e595939f15bd3ffd7625907aef142c05)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Wang Mingyu
9e49700068 wireless-regdb: upgrade 2024.01.23 -> 2024.05.08
(From OE-Core rev: 831960ebb8efba304729b94c15fd4476c0a02474)

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 0823e8ea83ac907b37bc9eb0ec7dc32862997eff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Wang Mingyu
4842d27476 mesa: upgrade 24.0.5 -> 24.0.7
Mesa 24.0.7 is a bug fix release

Changelog:
 https://docs.mesa3d.org/relnotes/24.0.7.html

(From OE-Core rev: 247f62169d1fff5df16606c64aed38b642f36857)

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 55d962ff7e3475d2c46e1a76d9efa55e1de6e940)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Deepthi Hemraj
93531b3598 glibc: stable 2.39 branch updates
Below commits on glibc-2.39 stable branch are updated.
e8f5217097 Linux: Make __rseq_size useful for feature detection (bug 31965)
143a7a0623 elf: Make dl-rseq-symbols Linux only
1062ebbd19 nptl: fix potential merge of __rseq_* relro symbols
5c46e6b666 s390x: Fix segfault in wcsncmp [BZ #31934]
a036311246 stdlib: fix arc4random fallback to /dev/urandom (BZ 31612)
d2cbfcf1d9 math: Provide missing math symbols on libc.a (BZ 31781)
d473c9bb3b math: Fix isnanf128 static build (BZ 31774)
3950cbd7a1 math: Fix i386 and m68k exp10 on static build (BZ 31775)
6cb25aff85 math: Fix i386 and m68k fmod/fmodf on static build (BZ 31488)
74630b1bb7 posix: Fix pidfd_spawn/pidfd_spawnp leak if execve fails (BZ 31695)
7f9f25f255 Linux: Include <dl-symbol-redir-ifunc.h> in dl-sysdep.c
198632a05f NEWS: update list of fixed CVEs in 2.39
77bb3c7154 NEWS: update list of fixed bugs in 2.39
f05638731e x86: Properly set x86 minimum ISA level [BZ #31883]
b7f5b0a711 x86: Properly set MINIMUM_X86_ISA_LEVEL for i386 [BZ #31867]
e1d0040a6d localedata: ssy_ER: Fix syntax error
9de9cd17e7 malloc: New test to check malloc alternate path using memory obstruction
a2da98aa2a malloc: Improve aligned_alloc and calloc test coverage.
305ee48826 malloc/Makefile: Split and sort tests
00899eba26 x86/cet: fix shadow stack test scripts
6ade91c211 elf: Avoid some free (NULL) calls in _dl_update_slotinfo
70f560fc22 misc: Add support for Linux uio.h RWF_NOAPPEND flag
c9d8534406 i386: Disable Intel Xeon Phi tests for GCC 15 and above (BZ 31782)
aee37de299 Reinstate generic features-time64.h
dd535f4f19 Always define __USE_TIME_BITS64 when 64 bit time_t is used
26e7005728 socket: Use may_alias on sockaddr structs (bug 19622)
9f2b100d67 parse_fdinfo: Don't advance pointer twice [BZ #31798]
c7c3f5bf80 LoongArch: Fix undefined `__memset_aligned` reference in ld.so linking.
32969a2b36 socket: Add new test for connect
2db79c96ba libsupport: Add xgetpeername
ab4ef4421f x86_64: Fix missing wcsncat function definition without multiarch (x86-64-v4)
97bb89668d Force DT_RPATH for --enable-hardcoded-path-in-tests
71149c2a2e elf: Only process multiple tunable once (BZ 31686)
f8e4623421 Add a test to check for duplicate definitions in the static library
8b005d7869 i686: Fix multiple definitions of __memmove_chk and __memset_chk
8323a83abd i586: Fix multiple definitions of __memcpy_chk and __mempcpy_chk
5141d4d83c Revert "i586: Fix multiple definitions of __memcpy_chk and __mempcpy_chk"
c16871e662 Revert "i686: Fix multiple definitions of __memmove_chk and __memset_chk"
fa616ea373 Revert "Add a test to check for duplicate definitions in the static library"
ff110b2591 Add a test to check for duplicate definitions in the static library
ad92c483a4 i686: Fix multiple definitions of __memmove_chk and __memset_chk
3148714ab6 i586: Fix multiple definitions of __memcpy_chk and __mempcpy_chk

(From OE-Core rev: b1fd313c75f08ad34cce5716d18abebc30982ec7)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Richard Purdie
ea50e03fd2 bitbake: codeparser: Skip non-local functions for module dependencies
If modules do something like "from glob import glob" then we end up
checksumming the glob code. That leads to bugs as the code can change
between different python versions for example, leading to checksum
instability.

We should ignore functions not from the current file as implemented
by this change.

(Bitbake rev: 11d83170922a2c6b9db1f6e8c23e533526984b2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e6f862864539d6f6a0bea3e4479e0dd40ff3091)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Richard Purdie
7b4cc33022 bitbake: codeparser/data: Ensure module function contents changing is accounted for
Currently, if a pylib function changes contents, the taskhash remains
unchanged since we assume the functions have stable output. This is
probably a poor assumption so take the code of the function into account
in the taskhashes. This avoids certain frustrating build failures we've
been seeing in automated testing.

To make this work we have to add an extra entry to the python code parsing
cache so that we can store the hashed function contents for efficiency as
in the python module case, that isn't used as the key to the cache.

The cache version changes since we're adding data to the cache.

(Bitbake rev: 4bf332ccac283ca3440e81d8c781fcc23fe10b98)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b2c3438ebe62793ebabe2c282534893908d520b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-26 07:43:46 -07:00
Changqing Li
688146cd18 pixman: fixing inline failure with -Og
When debug build is enabled(-Og is used), pixman-native do_compile
failed with error:
In function ‘combine_inner’,
    inlined from ‘combine_soft_light_ca_float’ at ../pixman-0.42.2/pixman/pixman-combine-float.c:655:1:
../pixman-0.42.2/pixman/pixman-combine-float.c:370:5: error: inlining failed in call to ‘always_inline’ ‘combine_soft_light_c’: function not considered for inlining
  370 |     combine_ ## name ## _c (float sa, float s, float da, float d)

Refer [1], always_inline is not suggested to use with indirect function
call, replace always_inline with __inline__ to fix the issue

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931

(From OE-Core rev: 6cd503c5e84bf8090b840c69c7569ae1a46528d0)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Steve Sakoman
6c972f812b Revert "apt: runtime error: filename too long (tmpdir length)"
This reverts commit dafdf9bb9e9d944b9f455c2be8cf698496200717.

Patch rejected upstream

(From OE-Core rev: e0e9fe4efceb927cfe643b4566bca0b7bfd166fb)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Changqing Li
22cf370acf gettext: fix a parallel build issue
Occasionally, gettext will build failed with error:
In file included from ../../../gettext-0.22.5/gettext-runtime/intl/gettextP.h:71,
                 from ../../../gettext-0.22.5/gettext-runtime/intl/log.c:24:
./libgnuintl.h:98:1: error: unterminated comment
   98 | /* The user can define _INTL_RE
      | ^
./libgnuintl.h:17: error: unterminated #ifndef
   17 | #ifndef _LIBINTL_H

In file included from ../../../gettext-0.22.5/gettext-runtime/intl/gettextP.h:71,
                 from ../../../gettext-0.22.5/gettext-runtime/intl/langprefs.c:25:
./libgnuintl.h:98:1: error: unterminated comment
   98 | /* The user can define _INTL_RE
      | ^
./libgnuintl.h:17: error: unterminated #ifndef
   17 | #ifndef _LIBINTL_H

It is a parallel build issue caused by missing dependencies, backport
patch to fix it.

(From OE-Core rev: d6dfb80961762c2971172cb29fa6911d6a93e42f)

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>
(cherry picked from commit e18fc96f9d4c0a0525c21371d3f36e8dfe008b35)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Changqing Li
75c351eb37 multilib.conf: remove appending to PKG_CONFIG_PATH
* Since commit [a23c482cab allarch: only enable allarch when multilib is
not used], allarch recipes will also be installed into
${MLPREFIX}recipe-sysroot, so this appending is not needed.

* This appending also causes some QA errors. Eg: for lib32-php, the
recipe will use 's@${RECIPE_SYSROOT}@@g' to remove host specific path,
this appending makes not all the host specific path are matched.

(From OE-Core rev: e88f159989cbf8080f0a8fb449c878f2a5747774)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e6e6076f1956c711814c14d76194794d950e45f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Changqing Li
eb7fde3372 vulkan-samples: fix do_compile error when -Og enabled
When debug build is enabled(-Og is used), vulkan-samples do_compile
failed with error:
In function 'ZSTD_compressBlock_lazy_generic',
    inlined from 'ZSTD_compressBlock_greedy' at TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21914:12:
TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21551:30: error: inlining failed in call to 'always_inline' 'ZSTD_HcFindBestMatch_selectMLS': function not considered for inlining
 | FORCE_INLINE_TEMPLATE size_t ZSTD_HcFindBestMatch_selectMLS (
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21736:32: note: called from here
|             size_t const ml2 = searchMax(ms, ip, iend, &offsetFound);

Refer [1], always_inline is not suggested to use with indirect function
call, replace always_inline with inline to fix the issue

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931

(From OE-Core rev: cfff19bb3fae45e62f77e860a4413669a6dc0e81)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 246de52fe59de0612d1145357c5e904a51363c8c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Deepthi Hemraj
45080a022e binutils: stable 2.42 branch updates
Below commits on binutils-2.42 stable branch are updated.

29ae8b8ea71 x86-64: Skip -z mark-plt tests on MUSL
92cc764e58f hppa: Fix handling of relocations that apply to data
c439c1e1f56 elf: Add glibc version dependency only if needed
68ae8e2a849 ld: pass -g for ld-elf tests
a1e3cb45c67 aarch64: Enable +cssc for armv8.9-a

(From OE-Core rev: f5a56716b40bb8911e5bb31d5dc49b434e733a9a)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Jose Quaresma
337f4d67b2 go: upgrade 1.22.4 -> 1.22.5
- refresh patches with devtool

Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.4..go1.22.5
8e1fdea831 (tag: go1.22.5, origin/release-branch.go1.22) [release-branch.go1.22] go1.22.5
c2d4f852ce [release-branch.go1.22] cmd/link: handle dynamic import variables on Darwin in plugin mode
3222951439 [release-branch.go1.22] net/http: send body or close connection on expect-100-continue requests
ceaf26ecce [release-branch.go1.22] cmd/compile: mark pointer to noalg type as noalg
dfe4dbf8c0 [release-branch.go1.22] os/exec: on Windows look for extensions in Run if not already done
3560cf0afb [release-branch.go1.22] runtime: always update stack bounds on cgocallback
5159a7193a [release-branch.go1.22] cmd/compile: put constants before variables in initialization order
11b861e459 [release-branch.go1.22] go/types, types2: report error for floating-point iteration variable
81fc616267 [release-branch.go1.22] crypto/tls: don't call tlsrsakex.IncNonDefault with FIPS
14f0251867 [release-branch.go1.22] cmd/cgo/internal/swig: force use of lld for LTO tests on the builders
ab60a7bc18 [release-branch.go1.22] cmd/cgo/internal/testsanitizers: make the libfuzzer tests all short
4c97e883b5 [release-branch.go1.22] cmd/link: put runtime.end in the last section of data segment
179ccb7042 [release-branch.go1.22] cmd/go: fix go list -u -m all with too new retractions dependency
fe9b3c3399 [release-branch.go1.22] net: add GODEBUG=netedns0=0 to disable sending EDNS0 header
b515c5208b [release-branch.go1.22] go/internal/gccgoimporter: recognize "any" as a builtin type

[1] https://github.com/golang/go/compare/go1.22.4...go1.22.5

(From OE-Core rev: 8786cb9cdda93545315f79927f933a261ed3cb31)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0a1d4a42282bd9f0bdc8dd53c7865aa81d4a5821)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Vijay Anusuri
60df41d7e5 openssh: fix CVE-2024-39894
ssh(1) in OpenSSH versions 9.5p1 to 9.7p1 (inclusive).
Logic error in ObscureKeystrokeTiming option.
A logic error in the implementation of the ssh(1) ObscureKeystrokeTiming option rendered the feature ineffective and additionally exposed limited keystroke timing information when terminal echo was disabled, e.g. while entering passwords to su(8) or sudo(8). This condition could be avoided for affected versions by disabling the feature using ObscureKeystrokeTiming=no.

References:
https://www.openssh.com/security.html
https://www.openssh.com/txt/release-9.8

Upstream-Status: Backport [146c420d29]

(From OE-Core rev: 644716564d8c223c71be635e2f1794c74ae23d7f)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Archana Polampalli
fbd068df21 less: fix CVE-2024-32487
(From OE-Core rev: bd1c48510a01cd368955e0b8707022e3427e00db)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Hitendra Prajapati
7c4954d902 vte: fix CVE-2024-37535
Upstream-Status: Backport from 036bc3ddcb && c313849c2e

(From OE-Core rev: dd5482d64587124bd5060c7b3532f0e90b94c367)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Peter Marko
bdb92a57ea busybox: Patch CVE-2023-42363
Backport patch for CVE-2023-42363.

(From OE-Core rev: 9c52dadd06fd9132c6efc1d06b6fc4a4517be6c3)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 814f97922e1d6c24a36b03ee0e865f2210ff6d7c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Peter Marko
8469d3c7d7 busybox: Patch CVE-2021-42380
Backport patch for CVE-2021-42380.
Additionally backport clang regression fix caused by this patch.

(From OE-Core rev: 9f5c683b6cadae6228096deb36d7d6fb6de94ad1)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 66543769ff79d81508bb703bd2fc34871a16e2c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-23 06:05:47 -07:00
Changqing Li
a099b484c5 webkitgtk: fix do_compile errors on beaglebone-yocto
Backport 2 patches to fix following compile errors:
webkitgtk-2.44.1/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp:545:37: error: 'LS_POINT' was not declared in this scope; did you mean 'WebCore::LightType::LS_POINT'?
  545 |     if (data.lightSource->type() == LS_POINT) {
      |                                     ^~~~~~~~
      |                                     WebCore::LightType::LS_POINT

webkitgtk-2.44.1/Source/WebCore/platform/graphics/filters/FELighting.h:73:41: error: 'LightingData' does not name a type
   73 |     inline void platformApplyNeon(const LightingData&, const LightSource::PaintingData&);

(From OE-Core rev: bf3fe8c01c5cc00ada22049f4f0abb485e2a626f)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Changqing Li
f6f743c0c7 webkitgtk: fix do_configure error on beaglebone-yocto
* According to latest comment [1] and the mentioned pull request
[2], build an ENABLE(WEBASSEMBLY) && !ENABLE(JIT) configuration is
supported, so original issue already fixed in current version, the
EXTRA_OECMAKE setting is not needed anymore.

* This EXTRA_OECMAKE setting causes following configure error on
beaglebone-yocto, remove the setting to let the configure process decide
the configuration:
CMake Error at Source/cmake/WebKitFeatures.cmake:312 (message):
  ENABLE_JIT conflicts with ENABLE_C_LOOP.  You must disable one or the
  other.

[YOCTO #15254]

[1] https://github.com/WebKit/WebKit/pull/17447
[2] https://github.com/WebKit/WebKit/pull/17688

(From OE-Core rev: feeadc65bdae8ad9ba6f5e5fefa7a2466479fe87)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Richard Purdie
260c73ffe9 cve-exclusion: Drop the version comparision/warning
Since the CVE repository is no longer being updated, drop the warning
comparision since it is no longer valid.

(From OE-Core rev: 7eef8839d131861cca04e1424f0682e81638ca0a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Alexander Kanavin
5b73e77b50 iptables: submit 0001-configure-Add-option-to-enable-disable-libnfnetlink.patch upstream
(From OE-Core rev: 20276890b2e08512bb04206d6cc6be5867d5f8a4)

Signed-off-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 67f6c3534a18520f3b7c5eed27dc2744c5bf44c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Alexander Kanavin
76e5603fb7 perl: submit the rest of determinism.patch upstream
(From OE-Core rev: 35675cd8104151d23b2a64cd5093939fa3d2b8ea)

Signed-off-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 5c00500618fa50eeb5e3e956e1fb5f4af562c1a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Alexander Kanavin
ade798ec0d grub: mark grub-module-explicitly-keeps-symbole-.module_license.patch as a workaround
(From OE-Core rev: 8c03f8c4916c802e0e6ad483a019fcaa7b09f509)

Signed-off-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 6307adb5b0644845f4062c21ac5717eb62a61dd3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Alexander Kanavin
78f49e0544 vorbis: mark patch as Inactive-Upstream
(From OE-Core rev: 1b3da78af1ea569ac8cbf135159a3f6e7f4f471c)

Signed-off-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 618bb8994d66d7d24cca2fb6885a510d69406437)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Alexander Kanavin
53e28b742e kexec-tools: submit 0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch upstream
(From OE-Core rev: 2a83956abfa3cc4b39aa7682c03b551222c85dcb)

Signed-off-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 d28861326dd8d23914571dc0be8e70899927deea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Niko Mauno
b34c6ebcf1 dnf/mesa: Fix missing leading whitespace with ':append'
Mitigate occurrences where ':append' operator is used and leading
whitespace character is obviously missing, risking inadvertent
string concatenation.

(From OE-Core rev: 314041fd126a4800a5a5d9fcd84c525319479256)

(From OE-Core rev: eb06788f3abef4af727da7399e7e97830b2f7c8c)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0b6ca9beef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Alexander Kanavin
982637c22b mesa: remove obsolete 0001-meson.build-check-for-all-linux-host_os-combinations.patch
The patch was submitted upstream
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28895
but further investigation revealed that the problem had been solved properly
in meson.class:
https://git.yoctoproject.org/poky/commit/?id=6bf674374d568b2419a4c6eef00d893028878881

(From OE-Core rev: 5dabb17313ed5e4e143708f0c7703cac663e9647)

Signed-off-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 020345d63f0ffd3ed2b046bbb5e09b5359b24dd6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Ross Burton
6f9dd4361d curl: skip FTP tests in run-ptest
It looks like something related to FTP in curl, be it the protocol itself
or the harness, is unstable under load.  We've been seeing random failures
in automated QA, and Debian does too.

Until this issue is resolved, disable all of the FTP tests on the hope
that this is the underlying common factor.

(From OE-Core rev: 49ae51c05e470523d3b818aa5fe7b54c3274a17d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 28035987fad5a673e35b346e043e66d04f64ef5d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Ross Burton
a92672a9fa meson: don't use deprecated pkgconfig variable
As with a previous change to the class[1], the "pkgconfig" entry is now
deprecated and "pkg-config" should be used instead.

[1] oe-core d64b307891422e290bbe821d4303b3af526bbe17

(From OE-Core rev: 14ee7a2310b5d3da5e7af442454f7957c6c090b7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3e441544f1aa7258718a1cadd6836d9cd9dc65ab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Peter Marko
84103dbdb3 ncurses: switch to new mirror
github.com/mirror/ncurses is not updated for over a year.
Switch to new mirror from Thomas Dickey (ncurses maintainer).

Sources are identical.

Updated upstream check regex by:
* changed dot to underscore as this repo is tagged like this
* added v prefix to not propose updates to some old tags
* removed third part to not propose updates to development snapshots

(From OE-Core rev: 506673555fb4dcf06606e2b49c2268ece33a71d5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea801be31d051b558fde52f7d6dccf2cd416afb9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Richard Purdie
aec6a4f009 selftest/cases/runtime_test: Exclude centos-9 from virgl tests
Similarly to centos 8, centos 9 doesn't support the render device we need
for this test.

(From OE-Core rev: 37ddcbd51ec39e5df94b307085cec2a045fea4a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c2be3afabf84f287c90b61ae2509728a6634fb8f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:14 -07:00
Robert Kovacsics
8824da319b sdk: Fix path length limit to match reserved size
There were two different interpreter lengths in use, make them match.

(From OE-Core rev: 98119e3f452ebf6cb5f17049aef3a9a3ef7116c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b175f9cdc3d87bef5c89cc337c2a7e2674732b29)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Jookia
3775d83439 populate_sdk_ext.bbclass: Fix undefined variable error
The variable uninative_checksum is returned without being set, causing a
build error. Set it to None by default instead.

(From OE-Core rev: 5726348e04381d5c656a530c318775702136ec8c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69ead1f2d403e6a0e5365ce4e89288f846d3ef33)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Khem Raj
942d8a9968 linux-yocto: Enable team net driver
Its needed to run libteam ptests

(From OE-Core rev: 35be70c8c7f4044b5ad3cbb8ed32a6c648a5ac65)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7cd8e04b23b562746665577174799d42ded45d93)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Ross Burton
49ee090b26 libportal: fix rare build race
There is a build race where the libportal.vapi is not always generated
before it is needed to build libportal-gtk*.vapi. Backport the fix from
upstream.

[ YOCTO #15479 ]

(From OE-Core rev: d7019c20a6516b1b98c1ce92eae8a536eddf379a)

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 2d984e52cded09647b210bd79cfec9deb4b7b589)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Ross Burton
88981b162e gstreamer1.0: skip another known flaky test
The baseparse:parser_pull_short_read test is known to be unreliable,
according to the list of known bad tests in gst-devtools.

Also clean up an incorrect comment.

(From OE-Core rev: 5b00a8efdf0794af46e8240582799ea008172215)

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 be58657b3ee32af5a00f6bfecb9264751915dabd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Enrico Jörns
62154d7594 wic: engine.py: use raw string for escape sequence
Fixes:

| poky/scripts/lib/wic/engine.py:362: SyntaxWarning: invalid escape sequence '\/'

(From OE-Core rev: ab3ed4270af1c8d4a4dd15b8c6998182801d4bce)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e33d7241f6c2897e930aff41e18b154891197ab9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Wang Mingyu
97fae47a89 llvm: upgrade 18.1.5 -> 18.1.6
Changelog:
==========
- Fixes issues where LLVM is either generating the incorrect thunk for a
  function with aligned parameters or didn't correctly pass through the
  return value when StructRet was used.
- -Xclang -target-feature -Xclang +unaligned-scalar-mem can be used to enable
  unaligned scalar memory accesses for CPUs that do not support unaligned
  vector accesses. -mno-strict-align will enable unaligned scalar and vector
  memory accesses.
- Don't replace an aliasee with an alias that has weak linkage. This avoids
  incorrect linkage that can lead to using the wrong symbols during linking time.
- This patch fixes build failures when compiling AVX512 code using
  -march=native on machines without AVX512.
- Fixes crash in AArch64 backend when having true or false as operand for a
  fcmp instruction on IR level.
- Fixes compiler crash when user specifies -mno-evex512 with AVX512 features
  but no AVX512VL.
- Fixes a bug that tries to do VBROADCAST_LOAD for f16 without AVX2.

(From OE-Core rev: 941474ed77f6f5397ff4f83a4e4dae1c3b9103d3)

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 3cd5c40f5736506b2cfc23b180fa915b01d8220c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Wang Mingyu
d04f926646 ed: upgrade 1.20.1 -> 1.20.2
Changelog:
=============
- main_loop.c (command_s): Fix g/x/s/x/x, which failed to skip the
  final newline, printing lines twice.

(From OE-Core rev: 2c473a2cadf198262d06ec5131d111cfe15cb7ba)

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 d726710f7b1d707a55777d486bf06b0021f9dcfb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Ross Burton
2799267d8d fribidi: upgrade 1.0.13 -> 1.0.14
* Updated Unicode tables to version 15.1

(From OE-Core rev: 03828e381ef615ab4b1a30a8902b5eccbb5c98f8)

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 332276679c9a004158929e03d9263e9ef66816e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Yi Zhao
a78d6750f8 libcap-ng-python: upgrade 0.8.4 -> 0.8.5
Changelog:
https://people.redhat.com/sgrubb/libcap-ng/ChangeLog

 - Remove python global exception handler since it's deprecated
 - Make the utilities link against just built libraries
 - Remove unused macro in cap-ng.h

(From OE-Core rev: 32e8402f9fc71a8a66c48932ad9f88336afd98cd)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98151fbd4864fb5c6728b7faed0ad83723f962ef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Yi Zhao
492535ec52 libcap-ng: upgrade 0.8.4 -> 0.8.5
Changelog:
https://people.redhat.com/sgrubb/libcap-ng/ChangeLog

 - Remove python global exception handler since it's deprecated
 - Make the utilities link against just built libraries
 - Remove unused macro in cap-ng.h

Drop backport patch fix-issues-with-swig-4-2.patch.
Backport a patch to fix build for libcap-ng-python.

(From OE-Core rev: 5eff01bbc58dcb1d51639ee4b43ee9a3e23e39ed)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0263fd8193e51e54a4598ea3811c3c0a6e781f85)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Hitendra Prajapati
88ccb9dabb ruby: fix CVE-2024-27281
References:
https://github.com/ruby/ruby/pull/10316
https://security-tracker.debian.org/tracker/CVE-2024-27281

Upstream-Status: Backport from da7a0c7553

(From OE-Core rev: 16685f3b2d22eac20f0134cbd589c3b23a187084)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Ross Burton
3c430b70b7 cpio: mark CVE-2023-7216 as disputed
Upstream consider the behaviour described in this CVE as intentional,
and provide an option to stop it.

(From OE-Core rev: 0f2cd2bbaddba3b8c80d71db274bbcd941d0e60e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6c99147037ba8ca424ee42520183bd2bd55c7056)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-17 05:36:13 -07:00
Lee Chee Yang
a725df1839 migration-guides: add release notes for 5.0.2
(From yocto-docs rev: 09e321d7cbd5bd7071a0c138e6d0c424fb086269)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-12 05:47:20 -07:00
Lee Chee Yang
ff5d37d510 migration-guides: add release notes for 4.0.19
add release notes for 4.0.19.

(From yocto-docs rev: ac201a70a5a5fd2c2e4549debbac84bc6aef662f)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-12 05:47:20 -07:00
Lee Chee Yang
de361f9fcd migration-notes: add release notes for 5.0.1
add release notes for 5.0.1

(From yocto-docs rev: 50b50d9680a49949a34371a45ae9dd1ff0755832)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-12 05:47:20 -07:00
aszh07
e380ee0c71 xz: Update LICENSE variable for xz packages
Update LICENSE defined for xz packages to match the license
information provided in the xz COPYING file.

The License information from PACKAGERS file of xz mentions
packages with lzma files are in public domain.They ask to
use GPLv2+, if only it's not possible to mention "PD and GPLv2+".

Include PD license with GPLv2 to packages with lzma content:
xz-dev package contains lzma header
xz-doc package contains lzma man pages
xz packages contains lzma binaries

Links: https://github.com/tukaani-project/xz/blob/v5.4.6/COPYING
       https://github.com/tukaani-project/xz/blob/v5.4.6/PACKAGERS

(From OE-Core rev: d511c41dac048fbdd93a54136e93b0623a18a83d)

Signed-off-by: Bhabu Bindu <bindu.bhabu@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e5b955def5d9f305f5aba2c68b73287c03fd163)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-12 05:47:20 -07:00
Peter Marko
27448a7af6 cargo: remove True option to getVar calls
Layer cleanup similar to
https://git.openembedded.org/openembedded-core/commit/?id=26c74fd10614582e177437608908eb43688ab510

(From OE-Core rev: f419d57e9605dc5430df6828c4b618265db1243f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a2ed52473a3e4eb662509824ef8e59520ebdefb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-12 05:47:20 -07:00
Peter Marko
219e85cc07 flac: fix buildpaths warnings
Generated documentation (html) contain absolute paths cources
using buildpaths warnings.
Replace them with relative links.

The file with root path to sources is in my build
/usr/share/doc/flac/api/dir_c122f5d6544f32779f55e8358fb78605.html
which does not looks as stable name, so replace it in all files.

(From OE-Core rev: 860d4d6b54f61342f925ea522f9962555ae5d8ac)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c7d826c88933d53d550265f1cc382539c5c52994)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-12 05:47:20 -07:00
Changqing Li
b02ed677ce apt: runtime error: filename too long (tmpdir length)
when the tmpdir dir is longer than 220, there is no files saved in
tmp/sysroots/x86_64-linux/var/lib/apt/lists/ after run apt-get update,
this is because apt-get uses the path as the file name, but the file
name can't be longer than 255 according to /usr/include/linux/limits.h.

[YOCTO #2688]

(From OE-Core rev: dafdf9bb9e9d944b9f455c2be8cf698496200717)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>

Take back from https://git.openembedded.org/openembedded-core/commit/?id=9a0c0393871eda4bbcecfdd4b595f0c1b8e42edf
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-12 05:47:20 -07:00
Changqing Li
5c6ffbcfa1 apt-native: don't let dpkg overwrite files by default
With --force-overwrite (implied by --force-all), dpkg will not abort
when a package overwrites files from different packages. As this can
also lead to "The following package disappeared from your system as
all files have been overwritten by other packages: <package>" and
subsequently broken dependencies, this makes the simple case of
conflicting files hard to debug.

Instead of finding all possibly required force options, only disable
overwrite for now.

(From OE-Core rev: 30cc69f094729e3d11dc6021daf77f5038c4de61)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Take back from https://git.openembedded.org/openembedded-core/commit/?id=4292387ef6c4e80428bad6a07c844a288b27d9a1
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-12 05:47:20 -07:00
Xiangyu Chen
47789523dd qemu: Upgrade 8.2.1 -> 8.2.2
This was a bugfix release, this version fixed several important fixes
according to upstream.

Dropped CVE-2023-6683.patch since already contained the fix.

(From OE-Core rev: f548a3a24f3fc26b09e2fcc8544065beb5293f91)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-12 05:47:20 -07:00
Hitendra Prajapati
262cb8eb14 ghostscript: upgrade 10.02.1 -> 10.03.1
avoid-host-contamination.patch refreshed for 10.03.1

Below patches are no longer needed as it's included in this upgrade.

1. CVE-2024-29510.patch
2. CVE-2024-33869-0001.patch
3. CVE-2024-33869-0002.patch
4. CVE-2024-33870.patch
5. CVE-2024-33871.patch
6. configure.ac-add-option-to-explicitly-disable-neon.patch

other patch release to address security bugs:
CVE-2024-29506
CVE-2024-29507
CVE-2024-29508
CVE-2024-29509
CVE-2024-29511

(From OE-Core rev: 9a424fbcdc0c792ff3b99bf0e8a5e380582f53bc)

(From OE-Core rev: 2a19132aca9d62be0d1e58444b0a8881456311dc)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-12 05:47:20 -07:00
Ross Burton
ca27724b44 curl: locale-base-en-us isn't glibc-specific
The musl-locales package provides this too, so we can depend without a
libc override.

(From OE-Core rev: 1cab8d06ce5df7a8d00cff8531965a84d90d265a)

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 c8f1d51f4eb6df6c041707d38f60549d13ddab7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:56 -07:00
Guðni Már Gilbert
2c51305b8e python3-pyopenssl: drop python3-six from RDEPENDS
Python 2.7 support was dropped in version 22.0.0
python3-six was dropped as a dependency in 22.0.0

(From OE-Core rev: d7ad0495c543ec952817860595c047e5e4263978)

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6eab37a0cdcc6071f79aa5c8198df0b2ba23dd7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:56 -07:00
Guðni Már Gilbert
a2bb4707f4 python3-bcrypt: drop python3-six from RDEPENDS
Python 2.7 support was dropped in version 3.2.0 and
python3-six dependency was subsequently dropped in version 3.2.1

(From OE-Core rev: 214d41b73d235176123fd78143747845aa9c951e)

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50757cc95b3062f11a7455af33e7a7e74ea1d0f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:56 -07:00
Richard Purdie
91363d054b oeqa/selftest/devtool: Fix for usrmerge in DISTRO_FEATURES
If usrmerge is in DISTRO_FEATURES, assumptions in one of the tests would
fail. Improve the test so it works in both cases.

(From OE-Core rev: 4dc35667143f19a369bdea9ce2f011a04132509c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit afa211746a2aa1993a54cc5a5e1937679341da8e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:56 -07:00
Richard Purdie
5568d33e68 oeqa/selftest/recipetool: Fix for usrmerge in DISTRO_FEATURES
If usrmerge is in DISTRO_FEATURES, assumptions in one of the tests would
fail. Improve the test so it works in both cases.

(From OE-Core rev: 01ccccb949bd82e89dae4679ff5b30ada6672d9a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 68a27d307a7042e242c49cf3d069469f40e09902)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:56 -07:00
Antonin Godard
8cd04cd9a0 devtool: ide-sdk: correct help typo
(From OE-Core rev: 149f79c877f476eabafc667629f89af335fcae34)

Signed-off-by: Antonin Godard <antoningodard@pm.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50e043387a2f0f9a5c2f7a5f914c465c830d329b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Khem Raj
04b30d35c5 pcmanfm: Disable incompatible-pointer-types warning as error
(From OE-Core rev: e439d630b7d574ba49e0dc88a06639b0d5498704)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af1290104b58693df69457454ac2a0d35a7e8c60)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Martin Jansa
b327b194f0 rng-tools: ignore incompatible-pointer-types errors for now
* causes libargp test to fail:

http://errors.yoctoproject.org/Errors/Details/766951/

| configure: error: in '/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build':
| configure: error: libargp disabled and libc does not have argp

config.log shows:

configure:8424: x86_64-webos-linux-gcc  -m64 -march=nehalem -mtune=generic -mfpmath=sse -msse4.2 --sysroot=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot -o conftest  -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot=  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot=  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot-native=   -DJENT_CONF_ENABLE_INTERNAL_TIMER   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot=  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot=  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot-native=  conftest.c -ljitterentropy  >&5
conftest.c: In function 'main':
conftest.c:51:52: error: passing argument 3 of 'argp_parse' from incompatible pointer type [-Wincompatible-pointer-types]
   51 | int argc=1; char *argv={"test"}; argp_parse(0,argc,argv,0,0,0); return 0;
      |                                                    ^~~~
      |                                                    |
      |                                                    char *
In file included from conftest.c:47:
/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot/usr/include/argp.h:371:58: note: expected 'char ** restrict' but argument is of type 'char *'
  371 |                            int __argc, char **__restrict __argv,
      |                                        ~~~~~~~~~~~~~~~~~~^~~~~~

(From OE-Core rev: 656b76a59f06e432d5dc6c9e8b76cdcda0113eb2)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 78d9cad294f335f6e5b18b0ca790a9e5723f0c41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Yi Zhao
29621226e2 libpam: fix runtime error in pam_pwhistory moudle
Backport a patch to fix runtime error in pam_pwhistory module when
selinux is enabled:

root@qemux86-64:~# passwd
passwd: System error
passwd: password unchanged

(From OE-Core rev: a985fb71e30d958dcacdcc75f5bbdd0e49f7478a)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Guðni Már Gilbert
b0ab1c80fc python3-setuptools: drop python3-2to3 from RDEPENDS
2to3 module was dropped as a dependency in setuptools 58.0

(From OE-Core rev: 0d5cd1d867a826cf83fcaee3e8390b9defec47d1)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Guðni Már Gilbert
609b468241 python3-requests: cleanup RDEPENDS
Drop the following dependencies from RDEPENDS:
- python3-ndg-httpsclient
- python3-pyasn1
- python3-pyopenssl

Add a missing dependency into RDEPENDS:
- python3-certifi

Additional fix HOMEPAGE, the old link doesn't work

(From OE-Core rev: 3d9072c346bf7bdeecd6197df8b14e39399bdabd)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Bruce Ashfield
65b3d5b4ff linux-yocto/6.6: fix AMD boot trace
Integrating the following commit(s) to linux-yocto/6.6:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: cpu/amd: inhibit SMP check for qemux86
    Date: Fri, 28 Jun 2024 12:55:18 -0400

    When booting with kvm enabled on a AMD host, the following
    trace is thrown:

      [    0.084519] ------------[ cut here ]------------
      [    0.084519] WARNING: This combination of AMD processors is not suitable for SMP.
      [    0.084519] WARNING: CPU: 1 PID: 0 at /arch/x86/kernel/cpu/amd.c:341 init_amd+0xaee/0xbcc
      [    0.084519] Modules linked in:
      [    0.084519] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.6.32-yocto-standard #1
      [    0.084519] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014

    This warning is not valid in our configuration and is unnecesarily
    causing issue with debug.

    This has been know for some time (10+ years), but no acceptable
    solutioon has been found upstream:

       https://lists.gnu.org/archive/html/qemu-devel/2010-03/msg01428.html
       https://lkml.org/lkml/2010/3/30/397

    We have a configuration CONFIG_QEMUX86 that has been added for
    situations like this. When that value is defined, we inhibit the
    warning, but leave it as-is for other BSPs.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 1608b8a0303ed24fb5da7c168bb1bc2c81760697)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f0c03000abb7665352cf107a600da15a112af5fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Bruce Ashfield
d70b690afe linux-yocto/6.6: update to v6.6.35
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    5f2d0708acd0 Linux 6.6.35
    3466abafa9f4 zap_pid_ns_processes: clear TIF_NOTIFY_SIGNAL along with TIF_SIGPENDING
    2fd6cfb2a4e6 i2c: designware: Fix the functionality flags of the slave-only interface
    572afd43c959 i2c: at91: Fix the functionality flags of the slave-only interface
    a4cd6074aed6 misc: microchip: pci1xxxx: Fix a memory leak in the error handling of gp_aux_bus_probe()
    2cc32639ec34 usb-storage: alauda: Check whether the media is initialized
    3a03ef31c1e9 serial: 8250_dw: Don't use struct dw8250_data outside of 8250_dw
    836e1a9fd8eb serial: 8250_dw: Replace ACPI device check by a quirk
    1d98b6a0b90c serial: 8250_dw: Switch to use uart_read_port_properties()
    f59e2391d3a9 serial: port: Introduce a common helper to read properties
    68a53d1212ed serial: core: Add UPIO_UNKNOWN constant for unknown port type
    1006d1b5eb01 device property: Implement device_is_big_endian()
    dd431c3ac1fc ima: Fix use-after-free on a dentry's dname.name
    0b8fba38bdfb greybus: Fix use-after-free bug in gb_interface_release due to race condition.
    aefd8f343d90 selftests: net: lib: avoid error removing empty netns name
    44bdef23572c selftests: net: lib: support errexit with busywait
    1d650d2c9bcc selftests/net/lib: no need to record ns name if it already exist
    d722ed2530e1 selftests/net/lib: update busywait timeout value
    8a73c08e00fe cachefiles, erofs: Fix NULL deref in when cachefiles is not doing ondemand-mode
    3beccb6a326d remoteproc: k3-r5: Jump to error handling labels in start/stop errors
    bb2f3187e310 selftests: forwarding: Avoid failures to source net/lib.sh
    2a969959b94f selftests/net: add variable NS_LIST for lib.sh
    04f7b9b4d7f8 selftests/net: add lib.sh
    dd782da47076 Revert "fork: defer linking file vma until vma is fully initialized"
    72b5c7f3b358 serial: 8250_pxa: Configure tx_loadsz to match FIFO IRQ level
    0d73477af964 mm/huge_memory: don't unpoison huge_zero_folio
    93d61e1bac0a tick/nohz_full: Don't abuse smp_call_function_single() in tick_setup_device()
    614d397be0cf nilfs2: fix potential kernel bug due to lack of writeback flag waiting
    f8474caf39bd swiotlb: extend buffer pre-padding to alloc_align_mask if necessary
    6c385c1fa0a7 swiotlb: Reinstate page-alignment for mappings >= PAGE_SIZE
    6033fc9522d2 swiotlb: Enforce page alignment in swiotlb_alloc()
    9f2050106f37 xfs: allow cross-linking special files without project quota
    8bb0402836d0 xfs: don't use current->journal_info
    79ba47df4e98 xfs: allow sunit mount option to repair bad primary sb stripe values
    ae609281ecae xfs: ensure submit buffers on LSN boundaries in error handlers
    04fa4269089b xfs: shrink failure needs to hold AGI buffer
    ea365e606231 xfs: fix SEEK_HOLE/DATA for regions with active COW extents
    7f0e5af2690a xfs: fix scrub stats file permissions
    20bccdb03a7b xfs: fix imprecise logic in xchk_btree_check_block_owner
    092571ef9a81 btrfs: zoned: fix use-after-free due to race with dev replace
    069e0cc343da btrfs: zoned: factor out DUP bg handling from btrfs_load_block_group_zone_info
    68713bc70dab btrfs: zoned: factor out single bg handling from btrfs_load_block_group_zone_info
    a139ad664240 btrfs: zoned: factor out per-zone logic from btrfs_load_block_group_zone_info
    f9526760879a btrfs: zoned: introduce a zone_info struct in btrfs_load_block_group_zone_info
    a3be677629e4 pmdomain: ti-sci: Fix duplicate PD referrals
    6fd062713d99 intel_th: pci: Add Lunar Lake support
    ebcef9116484 intel_th: pci: Add Meteor Lake-S support
    c8727ddde12c intel_th: pci: Add Sapphire Rapids SOC support
    37eb9f7cc719 intel_th: pci: Add Granite Rapids SOC support
    3b08df88b00d intel_th: pci: Add Granite Rapids support
    f287b1e34f1d drm/i915: Fix audio component initialization
    7a9883be3b98 drm/i915/dpt: Make DPT object unshrinkable
    1b4a8b89bf67 drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)
    1d2f1123a05e drm/i915/gt: Disarm breadcrumbs if engines are already idle
    42524cc5feef rtla/auto-analysis: Replace \t with spaces
    d32f12e15732 rtla/timerlat: Simplify "no value" printing on top
    8661a7af0499 riscv: rewrite __kernel_map_pages() to fix sleeping in invalid context
    6ee0c842d4ad iio: invensense: fix interrupt timestamp alignment
    955c824d543c iio: adc: axi-adc: make sure AXI clock is enabled
    33187fa1a8bb remoteproc: k3-r5: Do not allow core1 to power up before core0 via sysfs
    2494bc856e7c remoteproc: k3-r5: Wait for core0 power-up before powering up core1
    aa81c7b078e0 dmaengine: axi-dmac: fix possible race in remove()
    4145835ec209 PCI: rockchip-ep: Remove wrong mask on subsys_vendor_id
    3c361f313d69 ocfs2: fix races between hole punching and AIO+DIO
    7ec0e3b86f5a ocfs2: use coarse time for new created files
    518fbd644dab fs/proc: fix softlockup in __read_vmcore
    ba04b459efd1 knfsd: LOOKUP can return an illegal error value
    591d5b12f814 spmi: hisi-spmi-controller: Do not override device identifier
    e293c6b38ac9 vmci: prevent speculation leaks by sanitizing event in event_deliver()
    2d11505e79c7 dma-buf: handle testing kthreads creation failure
    e946428439a0 sock_map: avoid race between sock_map_close and sk_psock_put
    2c581ca0d68f null_blk: Print correct max open zones limit in null_init_zoned_dev()
    5fc6b708ef20 kheaders: explicitly define file modes for archived headers
    fcb88dc66b72 tracing/selftests: Fix kprobe event name test for .isra. functions
    d63e501ac6da riscv: fix overlap of allocated page and PTR_ERR
    7063f15d2ae2 perf auxtrace: Fix multiple use of --itrace option
    809a2ed17179 perf/core: Fix missing wakeup when waiting for context reference
    348008f0043c x86/amd_nb: Check for invalid SMN reads
    d91ddd050826 x86/kexec: Fix bug with call depth tracking
    5c0fb9cb404a irqchip/gic-v3-its: Fix potential race condition in its_vlpi_prop_update()
    6d0881a00d4c clkdev: Update clkdev id usage to allow for longer names
    dbf0787c2f45 mptcp: pm: update add_addr counters after connect
    09469a081715 mptcp: pm: inc RmAddr MIB counter once per RM_ADDR ID
    f1f0a46f8bb8 mptcp: ensure snd_una is properly initialized on connect
    35bcf16b4a28 drm/exynos: hdmi: report safe 640x480 mode as a fallback when no EDID found
    a269c5701244 drm/exynos/vidi: fix memory leak in .get_modes()
    fd880577c6d4 ACPI: x86: Force StorageD3Enable on more products
    5bf196f1936b parisc: Try to fix random segmentation faults in package builds
    a42b0060d6ff drivers: core: synchronize really_probe() and dev_uevent()
    e57c84e156e7 iio: imu: inv_icm42600: delete unneeded update watermark call
    aaf6b327a386 iio: invensense: fix odr switching to same value
    8e472061a32c iio: dac: ad5592r: fix temperature channel scaling value
    24ff87bb9f0b iio: adc: ad9467: fix scan type sign
    d4f3861893f9 x86/boot: Don't add the EFI stub to targets, again
    db20d4e4872b ksmbd: fix missing use of get_write in in smb2_set_ea()
    13b38f9262f5 ksmbd: move leading slash check to smb2_get_name()
    86c9713602f7 misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe()
    ca6660c95624 bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send()
    185c72f6b9eb af_unix: Read with MSG_PEEK loops if the first unread byte is OOB
    183ebc167a8a ionic: fix use after netif_napi_del()
    7caefa277172 net: bridge: mst: fix suspicious rcu usage in br_mst_set_state
    a6cc9e9a651b net: bridge: mst: pass vlan group directly to br_mst_vlan_set_state
    96d3265fc4f1 net/ipv6: Fix the RT cache flush via sysctl using a previous delay
    9a3eb4816ab9 nvmet-passthru: propagate status from id override functions
    fe1e395563cc block: fix request.queuelist usage in flush
    6b7155458ed2 block: sed-opal: avoid possible wrong address reference in read_sed_opal_key()
    35119b1139e7 net: stmmac: replace priv->speed with the portTransmitRate from the tc-cbs parameters
    d01f39f73bed gve: ignore nonrelevant GSO type bits when processing TSO headers
    b0c95cefd9b6 net: pse-pd: Use EOPNOTSUPP error code instead of ENOTSUPP
    2ad10c2aadb7 scsi: ufs: core: Quiesce request queues before checking pending cmds
    567cfc59e468 x86/uaccess: Fix missed zeroing of ia32 u64 get_user() range checking
    5396ce9a5e68 x86/asm: Use %c/%n instead of %P operand modifier in asm templates
    2ba35b37f780 netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type
    b30669fdea0c netfilter: nft_inner: validate mandatory meta and payload
    7ccca396e989 Bluetooth: fix connection setup in l2cap_connect
    599a28fa9ecd Bluetooth: L2CAP: Fix rejecting L2CAP_CONN_PARAM_UPDATE_REQ
    110764a0713e net/mlx5e: Fix features validation check for tunneled UDP (non-VXLAN) packets
    bb5c1b0fbd98 geneve: Fix incorrect inner network header offset when innerprotoinherit is set
    c72660999c17 net dsa: qca8k: fix usages of device_get_named_child_node()
    d61808ac9947 tcp: fix race in tcp_v6_syn_recv_sock()
    b5c8ffc8cfde drm/bridge/panel: Fix runtime warning on panel bridge release
    9460961d8213 drm/komeda: check for error-valued pointer
    f100031fd6a5 net: stmmac: dwmac-qcom-ethqos: Configure host DMA width
    fd2b613bc4c5 liquidio: Adjust a NULL pointer handling path in lio_vf_rep_copy_packet
    47016dcb50e9 net: hns3: add cond_resched() to hns3 ring buffer init process
    689de7c3bfc7 net: hns3: fix kernel crash problem in concurrent scenario
    ef01c26d6f7a net: sfp: Always call `sfp_sm_mod_remove()` on remove
    6797259d9b92 modpost: do not warn about missing MODULE_DESCRIPTION() for vmlinux.o
    6fdc1152afae af_unix: Annotate data-race of sk->sk_state in unix_accept().
    b82c97a79b8e drm/vmwgfx: Don't memcmp equivalent pointers
    ce48b688a8d2 drm/vmwgfx: Remove STDU logic from generic mode_valid function
    15a875ecfc2f drm/vmwgfx: 3D disabled should not effect STDU memory limits
    3ca8e582e03e drm/vmwgfx: Filter modes which exceed graphics memory
    b0b05171de1f drm/vmwgfx: Refactor drm connector probing for display modes
    f677ca8cfefe HID: logitech-dj: Fix memory leak in logi_dj_recv_switch_to_dj_mode()
    1bbadf953fad io_uring/io-wq: avoid garbage value of 'match' in io_wq_enqueue()
    ab702c3483db io_uring/io-wq: Use set_bit() and test_bit() at worker->flags
    7388ae6f26c0 iommu: Return right value in iommu_sva_bind_device()
    c344d7030717 iommu/amd: Fix sysfs leak in iommu init
    30f76bc468b9 HID: core: remove unnecessary WARN_ON() in implement()
    17a6806f606f gpio: tqmx86: fix broken IRQ_TYPE_EDGE_BOTH interrupt type
    12043e85bd71 gpio: tqmx86: store IRQ trigger type and unmask status separately
    01aa7b7a3dd7 gpio: tqmx86: introduce shadow register for GPIO output value
    d69079010813 gpio: tqmx86: fix typo in Kconfig label
    b07a62f8c843 platform/x86: dell-smbios: Fix wrong token data in sysfs
    2c82e21bbc05 drm/panel: sitronix-st7789v: Add check for of_drm_get_panel_orientation
    ca060e255794 nvme: fix nvme_pr_* status code parsing
    beb2dde5e1b9 selftests/tracing: Fix event filter test to retry up to 10 times
    b21cae468849 NFS: add barriers when testing for NFS_FSDATA_BLOCKED
    b1a6e884de15 SUNRPC: return proper error from gss_wrap_req_priv
    c30988e06b15 NFSv4.1 enforce rootpath check in fs_location query
    a9aa5a49c8ed clk: sifive: Do not register clkdevs for PRCI clocks
    dff9b2238969 selftests/ftrace: Fix to check required event file
    3bf0b8030296 cachefiles: flush all requests after setting CACHEFILES_DEAD
    d2d3eb377a5d cachefiles: defer exposing anon_fd until after copy_to_user() succeeds
    527db1cb4cd6 cachefiles: never get a new anonymous fd if ondemand_id is valid
    1d95e5010ce8 cachefiles: remove err_put_fd label in cachefiles_ondemand_daemon_read()
    3958679c4915 cachefiles: fix slab-use-after-free in cachefiles_ondemand_daemon_read()
    a6de82765e12 cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()
    9f5fa40f0924 cachefiles: add restore command to recover inflight ondemand read requests
    e564e48ca299 cachefiles: add spin_lock for cachefiles_ondemand_info
    f740fd943bb1 cachefiles: resend an open request if the read request's object is closed
    33d21f0658cf cachefiles: extract ondemand info field from cachefiles_object
    955190e1851a cachefiles: introduce object ondemand state
    50d0e55356ba cachefiles: remove requests from xarray during flushing requests
    19133f53f199 cachefiles: add output string to cachefiles_obj_[get|put]_ondemand_fd
    d8316838aa06 cxl/region: Fix memregion leaks in devm_cxl_add_region()
    09b4aa2815bf cxl/test: Add missing vmalloc.h for tools/testing/cxl/test/mem.c
    b3f206985a33 HID: nvidia-shield: Add missing check for input_ff_create_memless
    af4cff0dd640 powerpc/uaccess: Fix build errors seen with GCC 13/14
    2ce5341c3699 gve: Clear napi->skb before dev_kfree_skb_any()
    323d2563bde0 scsi: sd: Use READ(16) when reading block zero on large capacity disks
    9079338c5a0d scsi: mpt3sas: Avoid test/set_bit() operating in non-allocated memory
    da097dccaece scsi: mpi3mr: Fix ATA NCQ priority support
    3e9785d3e92b scsi: core: Disable CDL by default
    d5ceeb0b6a71 thunderbolt: debugfs: Fix margin debugfs node creation condition
    d4121290b427 xhci: Apply broken streams quirk to Etron EJ188 xHCI host
    949be4ec5835 xhci: Handle TD clearing for multiple streams case
    0a834fb6dbd8 xhci: Apply reset resume quirk to Etron EJ188 xHCI host
    834c57876cc2 xhci: Set correct transferred length for cancelled bulk transfers
    4598233d9748 jfs: xattr: fix buffer overflow for invalid xattr
    cc30d05b34f9 landlock: Fix d_parent walk
    3380fa014a89 serial: port: Don't block system suspend even if bytes are left to xmit
    b895a1b981cf tty: n_tty: Fix buffer offsets when lookahead is used
    ce356d8d7e91 mei: me: release irq in mei_me_pci_resume error path
    ad47b23e4704 usb: typec: tcpm: Ignore received Hard Reset in TOGGLING state
    04c05d50fa79 usb: typec: tcpm: fix use-after-free case in tcpm_register_source_caps
    b641889cc1cf USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected
    72a3fe36cf9f USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages
    43cfac7b88ad io_uring: check for non-NULL file pointer in io_file_can_poll()
    0c9df3df0c88 io_uring/rsrc: don't lock while !TASK_RUNNING
    d18b05eda7fa nilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors
    8394dce13573 nilfs2: return the mapped address from nilfs_get_page()
    39a143a2b072 bpf: fix multi-uprobe PID filtering logic
    7ec535ed8724 eventfs: Update all the eventfs_inodes from the events descriptor
    1c88d94a7a33 irqchip/riscv-intc: Prevent memory leak when riscv_intc_init_common() fails
    85ca483e729d irqchip/riscv-intc: Introduce Andes hart-level interrupt controller
    482095341313 irqchip/riscv-intc: Allow large non-standard interrupt number
    01c987b8282c selftests/mm: compaction_test: fix bogus test success on Aarch64
    3f6ccd40afc4 selftests/mm: log a consistent test name for check_compaction
    d39532e9186a selftests/mm: conform test to TAP format output
    bb9bb13ce64c mm/memory-failure: fix handling of dissolved but not taken off from buddy pages
    fe01748ca6d6 memory-failure: use a folio in me_huge_page()
    130b4b9478c3 firmware: qcom_scm: disable clocks if qcom_scm_bw_enable() fails
    16ece7c5645a ksmbd: use rwsem instead of rwlock for lease break
    6548d543a274 net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()
    7e796c3fefa8 ipv6: fix possible race in __fib6_drop_pcpu_from()
    d8011254e9b1 af_unix: Annotate data-race of sk->sk_shutdown in sk_diag_fill().
    60db0759c4f5 af_unix: Use skb_queue_len_lockless() in sk_diag_show_rqlen().
    471ec7b77a8d af_unix: Use skb_queue_empty_lockless() in unix_release_sock().
    f1683d07ebd1 af_unix: Use unix_recvq_full_lockless() in unix_stream_connect().
    29fce603b14b af_unix: Annotate data-race of net->unx.sysctl_max_dgram_qlen.
    996ec22ff576 af_unix: Annotate data-races around sk->sk_sndbuf.
    4398f59518ce af_unix: Annotate data-races around sk->sk_state in UNIX_DIAG.
    0ede400c32ae af_unix: Annotate data-race of sk->sk_state in unix_stream_read_skb().
    776fcc45e3f4 af_unix: Annotate data-races around sk->sk_state in sendmsg() and recvmsg().
    3d25de6486f4 af_unix: Annotate data-race of sk->sk_state in unix_stream_connect().
    484e036e1a2c af_unix: Annotate data-races around sk->sk_state in unix_write_space() and poll().
    4e38d6c04943 af_unix: Annotate data-race of sk->sk_state in unix_inq_len().
    45733e981e8c af_unix: Annodate data-races around sk->sk_state for writers.
    8003545ca10d af_unix: Set sk->sk_state under unix_state_lock() for truly disconencted peer.
    040d93848703 net: wwan: iosm: Fix tainted pointer delete is case of region creation fail
    649b63f5daf6 ice: add flag to distinguish reset from .ndo_bpf in XDP rings config
    eab834acb474 ice: remove af_xdp_zc_qps bitmap
    3201ba7d1c8c ice: fix iteration of TLVs in Preserved Fields Area
    b21bb09f8be6 ptp: Fix error message on failed pin verification
    724050ae4b76 net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP
    d857df86837a net/mlx5: Fix tainted pointer delete is case of flow rules creation fail
    6ccada6ffb42 net/mlx5: Always stop health timer during driver removal
    e3001df36cd6 net/mlx5: Stop waiting for PCI if pci channel is offline
    3dd41669b300 mptcp: count CLOSE-WAIT sockets for MPTCP_MIB_CURRESTAB
    acdf17546ef8 tcp: count CLOSE-WAIT sockets for TCP_MIB_CURRESTAB
    924f7bbfc5cf vxlan: Fix regression when dropping packets due to invalid src addresses
    54c2c171c11a net: sched: sch_multiq: fix possible OOB write in multiq_tune()
    cba5467442b2 net: phy: Micrel KSZ8061: fix errata solution not taking effect problem
    b03255294e88 net/smc: avoid overwriting when adjusting sock bufsizes
    2d7912f3ac65 octeontx2-af: Always allocate PF entries from low prioriy zone
    d387805d4b4a bpf: Set run context for rawtp test_run callback
    50569d12945f net: tls: fix marking packets as decrypted
    f8dd092e8b47 ipv6: sr: block BH in seg6_output_core() and seg6_input_core()
    db21c1ee6b6d ipv6: ioam: block BH from ioam6_output()
    9ee14af24e67 vmxnet3: disable rx data ring on dma allocation failure
    834aa2c34b8f KVM: SEV-ES: Delegate LBR virtualization to the processor
    b6e4076ca94b KVM: SEV: Do not intercept accesses to MSR_IA32_XSS for SEV-ES guests
    2128bae4ecab KVM: SEV-ES: Disallow SEV-ES guests when X86_FEATURE_LBRV is absent
    91cff53136da bpf: Fix a potential use-after-free in bpf_link_free()
    2ad2f2edb944 bpf: Optimize the free of inner map
    5aa03dd388d1 bpf: Store ref_ctr_offsets values in bpf_uprobe array
    02a255723e6b net: phy: micrel: fix KSZ9477 PHY issues after suspend/resume
    645e643eeb9a net/ncsi: Fix the multi thread manner of NCSI driver
    d7dd9d1f02b2 net/ncsi: Simplify Kconfig/dts control flow
    87cc2514162f ax25: Replace kfree() in ax25_dev_free() with ax25_dev_put()
    52100fd74ad0 ax25: Fix refcount imbalance on inbound connections
    909dc098a754 RISC-V: KVM: Fix incorrect reg_subtype labels in kvm_riscv_vcpu_set_reg_isa_ext function
    5d8622f61ef1 RISC-V: KVM: No need to use mask when hart-index-bit is 0
    b2b1043ac1f5 scsi: ufs: mcq: Fix error output and clean up ufshcd_mcq_abort()
    2f467fefdfae wifi: mac80211: correctly parse Spatial Reuse Parameter Set element
    a05018739a5e wifi: iwlwifi: mvm: don't read past the mfuart notifcation
    29a18d56bd64 wifi: iwlwifi: mvm: check n_ssids before accessing the ssids
    f7773fff6dda wifi: iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef
    bdfa7cf3281b wifi: iwlwifi: mvm: set properly mac header
    1ef2671de723 wifi: iwlwifi: mvm: revert gen2 TX A-MPDU size to 64
    1fd3f32695af wifi: iwlwifi: mvm: don't initialize csa_work twice
    ff2b4dc81e67 wifi: cfg80211: pmsr: use correct nla_get_uX functions
    0ccc63958d83 wifi: cfg80211: Lock wiphy in cfg80211_get_station
    46b7eff59a32 wifi: cfg80211: fully move wiphy work to unbound workqueue
    456bbb8a31e4 wifi: mac80211: Fix deadlock in ieee80211_sta_ps_deliver_wakeup()
    63d5f89bb566 wifi: mac80211: mesh: Fix leak of mesh_preq_queue objects
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 9988063874c1105c8a762739c13c6db9b5e19bb0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c404775afcb500aa931ace1289df7a194f0778ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Bruce Ashfield
fff1e63c78 linux-yocto/6.6: update to v6.6.34
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    76d42e596d89 Linux 6.6.34
    8353b7f70dd2 smp: Provide 'setup_max_cpus' definition on UP too
    50f3931746b5 selftests: net: more strict check in net_helper
    225de871ddf9 smb: client: fix deadlock in smb2_find_smb_tcon()
    9c3095ad40f9 powerpc/bpf: enforce full ordering for ATOMIC operations with BPF_FETCH
    b48f81d2c3dc ALSA: seq: Fix incorrect UMP type for system messages
    44bc51c08d64 btrfs: fix leak of qgroup extent records after transaction abort
    3d08c52ba188 btrfs: fix crash on racing fsync and size-extending write into prealloc
    e5104cbb146f tracefs: Clear EVENT_INODE flag in tracefs_drop_inode()
    4e84ead3f60a eventfs: Keep the directories from having the same inode number as files
    5ade5fbdbbb1 eventfs: Fix a possible null pointer dereference in eventfs_find_events()
    cbc4dacaa5b1 NFS: Fix READ_PLUS when server doesn't support OP_READ_PLUS
    d6ea0e12befb nfs: fix undefined behavior in nfs_block_bits()
    9191b574d7dc EDAC/igen6: Convert PCIBIOS_* return codes to errnos
    8f84ae504348 EDAC/amd64: Convert PCIBIOS_* return codes to errnos
    0a9007271e3f ALSA: ump: Don't accept an invalid UMP protocol number
    3113ff8e496c ALSA: ump: Don't clear bank selection after sending a program change
    e3ae00ee238b ASoC: SOF: ipc4-topology: Fix input format query of process modules without base extension
    1c7891812d85 genirq/irqdesc: Prevent use-after-free in irq_find_at_or_after()
    aed55acbb929 i3c: master: svc: fix invalidate IBI type and miss call client IBI handler
    e049845096e9 s390/cpacf: Make use of invalid opcode produce a link error
    ab278ff72afc s390/cpacf: Split and rework cpacf query functions
    4c0bfb4e867c s390/ap: Fix crash in AP internal function modify_bitmap()
    b2b685c77ee3 parisc: Define sigset_t in parisc uapi header
    6de4da0f1a5f parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
    eea3545abf60 ARM: dts: samsung: exynos4412-origen: fix keypad no-autorepeat
    1a48d7cf6ee5 ARM: dts: samsung: smdk4412: fix keypad no-autorepeat
    0da0e880b8c7 ARM: dts: samsung: smdkv310: fix keypad no-autorepeat
    f7f84721fd77 riscv: dts: starfive: Remove PMIC interrupt info for Visionfive 2 board
    a95df6f04f2c ext4: fix mb_cache_entry's e_refcnt leak in ext4_xattr_block_cache_find()
    b0b47084f5d3 ext4: set type of ac_groups_linear_remaining to __u32 to avoid overflow
    3093e586b019 ext4: Fixes len calculation in mpage_journal_page_buffers
    3194771798ef drm/amdkfd: handle duplicate BOs in reserve_bo_and_cond_vms
    58ce0788c75f sparc: move struct termio to asm/termios.h
    5af198c38712 net: fix __dst_negative_advice() race
    ea303a7af85b kdb: Use format-specifiers rather than memset() for padding in kdb_read()
    e00ec562b0e0 kdb: Merge identical case statements in kdb_read()
    958ba65a3590 kdb: Fix console handling when editing and tab-completing commands
    d373d3c633dc kdb: Use format-strings rather than '\0' injection in kdb_read()
    107e825cc448 kdb: Fix buffer overflow during tab-complete
    4c09df400284 wifi: ath10k: fix QCOM_RPROC_COMMON dependency
    f07224c16678 bonding: fix oops during rmmod
    8b732150f2e3 watchdog: rti_wdt: Set min_hw_heartbeat_ms to accommodate a safety margin
    766975238305 selftests/mm: fix build warnings on ppc64
    0eb43c377af5 selftests/mm: compaction_test: fix incorrect write of zero to nr_hugepages
    c55d3564ad25 mm/vmalloc: fix vmalloc which may return null if called with __GFP_NOFAIL
    2eeff6e36cd3 mm: /proc/pid/smaps_rollup: avoid skipping vma after getting mmap_lock again
    cb3ea7684a43 mm/hugetlb: pass correct order_per_bit to cma_declare_contiguous_nid
    f317e97da981 mm/cma: drop incorrect alignment check in cma_init_reserved_mem
    3e64c37fe391 sparc64: Fix number of online CPUs
    35c8cf7b8a71 rtla/timerlat: Fix histogram report when a cpu count is 0
    bb5afc42c42c intel_th: pci: Add Meteor Lake-S CPU support
    8f893e52b9e0 cpufreq: amd-pstate: Fix the inconsistency in max frequency units
    b54d24eb4a67 tpm_tis: Do *not* flush uninitialized work
    19e85d939001 kmsan: do not wipe out origin when doing partial unpoisoning
    99ed145f4611 mm/ksm: fix ksm_zero_pages accounting
    0a82b46a0172 mm/ksm: fix ksm_pages_scanned accounting
    6c1791130b78 net/9p: fix uninit-value in p9_client_rpc()
    400b8fb66c74 net/ipv6: Fix route deleting failure when metric equals 0
    a19b2bc5d0c4 scsi: core: Handle devices which return an unusually large VPD page count
    6d458d0dcca9 HID: i2c-hid: elan: fix reset suspend current leakage
    90dd0592b3b0 i2c: acpi: Unbind mux adapters before delete
    9ee7a77c150b iomap: fault in smaller chunks for non-large folio mappings
    1f3988ca0d7a filemap: add helper mapping_max_folio_size()
    be0ce3f6ffea mm: fix race between __split_huge_pmd_locked() and GUP-fast
    2e083ef23431 kbuild: Remove support for Clang's ThinLTO caching
    c2d443aa1ae3 crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak
    d14104360c27 crypto: ecrdsa - Fix module auto-load on add_key
    cc3306fb04b1 crypto: ecdsa - Fix module auto-load on add-key
    a68c0c55fa4c clk: qcom: clk-alpha-pll: fix rate setting for Stromer PLLs
    9562dbe5cdbb clk: bcm: rpi: Assign ->num before accessing ->hws
    0dc913217fb7 clk: bcm: dvp: Assign ->num before accessing ->hws
    ca6d6d872a8b LoongArch: Override higher address bits in JUMP_VIRT_ADDR
    ae9e39a2fbf5 LoongArch: Add all CPUs enabled by fdt to NUMA node 0
    93ca96f098f8 KVM: arm64: AArch32: Fix spurious trapping of conditional instructions
    5bff951fedac KVM: arm64: Allow AArch32 PSTATE.M to be restored as System mode
    6660e152e5eb KVM: arm64: Fix AArch32 register narrowing on userspace write
    f79edaf73709 KVM: SVM: WARN on vNMI + NMI window iff NMIs are outright masked
    bb430ea4ba31 Revert "drm/amdkfd: fix gfx_target_version for certain 11.0.3 devices"
    7bc52dce0732 drm/amd: Fix shutdown (again) on some SMU v13.0.4/11 platforms
    f0c5c944c6d8 9p: add missing locking around taking dentry fid list
    4eff07025c84 drm/amdgpu/atomfirmware: add intergrated info v2.3 table
    b8385ff814ca fbdev: savage: Handle err return when savagefb_check_var failed
    bd2ad553f18c drm/fbdev-generic: Do not set physical framebuffer address
    22d04790d656 mmc: sdhci-acpi: Add quirk to enable pull-up on the card-detect GPIO on Asus T100TA
    b5636348f324 mmc: sdhci-acpi: Disable write protect detection on Toshiba WT10-A
    e000578a3ad3 mmc: sdhci-acpi: Fix Lenovo Yoga Tablet 2 Pro 1380 sdcard slot not working
    e236bb53fd6b mmc: sdhci-acpi: Sort DMI quirks alphabetically
    d9ae0aa8ff8f mmc: sdhci: Add support for "Tuning Error" interrupts
    c0a16ff432fe mmc: core: Add mmc_gpiod_set_cd_config() function
    7590da4c04dd mmc: davinci: Don't strip remove function when driver is builtin
    a80d1da923f6 media: v4l: async: Fix notifier list entry init
    001b4825c93b media: v4l: async: Don't set notifier's V4L2 device if registering fails
    87100b092462 media: v4l: async: Properly re-initialise notifier entry in unregister
    dde33147c93a media: v4l2-core: hold videodev_lock until dev reg, finishes
    3e7eeba0d345 media: mxl5xx: Move xpt structures off stack
    77c4cd7e0b38 media: mc: mark the media devnode as registered from the, start
    e80d9db99b7b media: mc: Fix graph walk in media_pipeline_start
    2a24da4cf675 arm64: dts: ti: verdin-am62: Set memory size to 2gb
    3f03a4a9e2f5 arm64: dts: hi3798cv200: fix the size of GICR
    ea17c9aeb6c3 arm64: dts: qcom: sc8280xp: add missing PCIe minimum OPP
    4c59282ad9d3 wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path
    50ebdaa25932 wifi: rtlwifi: rtl8192de: Fix low speed with WPA3-SAE
    96e544378e16 wifi: rtlwifi: rtl8192de: Fix 5 GHz TX power
    8539d0b03919 wifi: rtl8xxxu: Fix the TX power of RTL8192CU, RTL8723AU
    7994e88dabcb wifi: rtw89: pci: correct TX resource checking for PCI DMA channel of firmware command
    cd2538e5af49 md/raid5: fix deadlock that raid5d() wait for itself to clear MD_SB_CHANGE_PENDING
    f9e0a4ec4b5d arm64: dts: qcom: qcs404: fix bluetooth device address
    49c23519d698 arm64: tegra: Correct Tegra132 I2C alias
    17695c8d5049 ACPI: resource: Do IRQ override on TongFang GXxHRXx and GMxHGxx
    6a283d64b486 soc: qcom: rpmh-rsc: Enhance check for VRM in-flight request
    0a47ba94ec3d thermal/drivers/qcom/lmh: Check for SCM availability at probe
    3d22872e7740 platform/chrome: cros_ec: Handle events during suspend after resume completion
    0c08b92f9827 proc: Move fdinfo PTRACE_MODE_READ check into the inode .permission operation
    d171c85d74c6 fsverity: use register_sysctl_init() to avoid kmemleak warning
    c5a39f16436a ata: pata_legacy: make legacy_exit() work again
    91d930732554 wifi: rtw89: correct aSIFSTime for 6GHz band
    6479b9f41583 bcache: fix variable length array abuse in btree_iter
    5b0a3dc3e878 drm/amdgpu: add error handle to avoid out-of-bounds
    7d12e918f299 media: lgdt3306a: Add a check against null-pointer-def
    be0155202e43 f2fs: fix to do sanity check on i_xattr_nid in sanity_check_inode()
    2c66a89962a0 drm/sun4i: hdmi: Move mode_set into enable
    8474d4b41617 drm/sun4i: hdmi: Convert encoder to atomic
    68de50dc581c selftests: net: List helper scripts in TEST_FILES Makefile variable
    d7e2ad42a056 selftests: net: included needed helper in the install targets
    a38459118746 selftests/net: synchronize udpgro tests' tx and rx connection
    461db4b51c29 vxlan: Fix regression when dropping packets due to invalid src addresses
    417dbd7be383 mm: ratelimit stat flush from workingset shrinker
    15cc248e7efa erofs: avoid allocating DEFLATE streams before mounting
    184873af8791 mptcp: fix full TCP keep-alive support
    89e11fe49fee mptcp: cleanup SOL_TCP handling
    41089d9c8a45 mptcp: avoid some duplicate code in socket option handling
    0af20700561e riscv: signal: handle syscall restart before get_signal
    9399baa02e4b net: sfp-bus: fix SFP mode detect from bitrate
    ed2d2ead1779 afs: Don't cross .backup mountpoint from backup volume
    b8d50770ec03 mmc: core: Do not force a retune before RPMB switch
    cfa73607eb21 drm/i915/hwmon: Get rid of devm
    140cf97204b5 Linux 6.6.33
    c273cae03895 riscv: stacktrace: fixed walk_stackframe()
    3090c06d50ea riscv: prevent pt_regs corruption for secondary idle threads
    af628d43a822 SUNRPC: Fix loop termination condition in gss_free_in_token_pages()
    c775ffab3e53 f2fs: use f2fs_{err,info}_ratelimited() for cleanup
    4647876e7e4e f2fs: write missing last sum blk of file pinning section
    98ed486436a0 perf sched timehist: Fix -g/--call-graph option failure
    fdc455cd0204 drm/msm/dpu: make error messages at dpu_core_irq_register_callback() more sensible
    2948c1e5d5f4 media: vsp1: Remove unbalanced .s_stream(0) calls
    c353aa21f256 nouveau: report byte usage in VRAM usage.
    d0afcca9ced4 RDMA/bnxt_re: Fix the sparse warnings
    f33052802e3d perf evlist: Add perf_evlist__go_system_wide() helper
    95e33c0f617b perf util: Add a function for replacing characters in a string
    1a705491f35c platform/x86/intel-uncore-freq: Don't present root domain on error
    31729546c144 platform/x86/intel/tpmi: Handle error from tpmi_process_info()
    59f86a290838 genirq/cpuhotplug, x86/vector: Prevent vector leak during CPU offline
    66c92af813bc KVM: x86: Don't advertise guest.MAXPHYADDR as host.MAXPHYADDR in CPUID
    d6873acc3e09 x86/pci: Skip early E820 check for ECAM region
    9dce01f386c9 efi: libstub: only free priv.runtime_map when allocated
    2a2f9b87c477 x86/efistub: Omit physical KASLR when memory reservations exist
    2c95241ac5fc ALSA: timer: Set lower bound of start tick time
    b7c4ef7ba313 ALSA: seq: ump: Fix swapped song position pointer data
    e67cae4255e9 hwmon: (shtc1) Fix property misspelling
    d800e1868f3d hwmon: (intel-m10-bmc-hwmon) Fix multiplier for N6000 board power sensor
    e0216316828f drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 panel
    042adfbfe8dc drm/panel: sitronix-st7789v: tweak timing for jt240mhqs_hwt_ek_e3 panel
    442b5ee91a5e drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel
    81c52c0ccc6a powerpc/pseries/lparcfg: drop error message from guest name lookup
    5f1b01a8c8a5 ALSA: seq: Fix yet another spot for system message conversion
    54213c09801e ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound
    659ef6fd4934 net: ena: Fix redundant device NUMA node override
    26668c2d449d net: ena: Reduce lines with longer column width boundary
    f826701d02f8 net: dsa: microchip: fix RGMII error in KSZ DSA driver
    2c2e3247e898 spi: stm32: Don't warn about spurious interrupts
    db9312853608 kheaders: use `command -v` to test for existence of `cpio`
    0b01a41e2ce4 drm/i915/gt: Fix CCS id's calculation for CCS mode setting
    d154613d2b3d drm/i915/guc: avoid FIELD_PREP warning
    2b6e818fc609 kconfig: fix comparison to constant symbols, 'm', 'n'
    b939d1e04a90 net/sched: taprio: extend minimum interval restriction to entire cycle too
    aa311596411b net/sched: taprio: make q->picos_per_byte available to fill_sched_entry()
    61134e41db23 netfilter: nft_fib: allow from forward/input without iif selector
    570b4c52096e netfilter: tproxy: bail out if IP has been disabled on the device
    c4f77480e569 netfilter: nft_payload: skbuff vlan metadata mangle support
    75bc6bc559b9 net: ti: icssg-prueth: Fix start counter for ft1 filter
    4448b5eaab86 ALSA: seq: Don't clear bank selection at event -> UMP MIDI2 conversion
    5c3df8c4f45b ALSA: seq: Fix missing bank setup between MIDI1/MIDI2 UMP conversion
    562f8862baea selftests: mptcp: join: mark 'fail' tests as flaky
    99ac814eb13f selftests: mptcp: add ms units for tc-netem delay
    052c9f0c140c selftests: mptcp: simult flows: mark 'unbalanced' tests as flaky
    71e61511c3a5 ice: fix accounting if a VLAN already exists
    98101ca23a35 net: micrel: Fix lan8841_config_intr after getting out of sleep mode
    f0c58df7719f net:fec: Add fec_enet_deinit()
    000a65bf1dc0 bpf: Allow delete from sockmap/sockhash only if update is allowed
    5da6d51d4837 ASoC: cs42l43: Only restrict 44.1kHz for the ASP
    ec361a0ffc33 net: usb: smsc95xx: fix changing LED_SEL bit value updated from EEPROM
    208d04341c8f Octeontx2-pf: Free send queue buffers incase of leaf to inner
    ac325c7f8944 af_unix: Read sk->sk_hash under bindlock during bind().
    302fe8dd147b af_unix: Annotate data-race around unix_sk(sk)->addr.
    f6638e955ca0 enic: Validate length of nl attributes in enic_set_vf_port
    07bbe6668e1e ALSA: hda/realtek: Adjust G814JZR to use SPI init for amp
    cb9c2bd4ec8c ALSA: core: Remove debugfs at disconnection
    b26e0fa2cf8c ALSA: jack: Use guard() for locking
    f58eec14685a bpf: Fix potential integer overflow in resolve_btfids
    a4ee78244445 dma-buf/sw-sync: don't enable IRQ from sync_print_obj()
    de1a0a2d9db8 net/mlx5e: Fix UDP GSO for encapsulated packets
    33933f006d2e net/mlx5e: Use rx_missed_errors instead of rx_dropped for reporting buffer exhaustion
    aa60de63fdd1 net/mlx5e: Fix IPsec tunnel mode offload feature check
    b0a15cde37a8 net/mlx5: Use mlx5_ipsec_rx_status_destroy to correctly delete status rules
    fb035aa9a3f8 net/mlx5: Fix MTMP register capability offset in MCAM register
    e5bdf4eeeb1d net/mlx5: Lag, do bond only if slaves agree on roce state
    07327fcbec97 net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8061
    dedc1dfaa6df drm/amd/display: Enable colorspace property for MST connectors
    ca3b4293dcca nvmet: fix ns enable/disable possible hang
    36989c682505 nvme-multipath: fix io accounting on failover
    87d78f7eb76b nvme-tcp: add definitions for TLS cipher suites
    5a91116b0031 dma-mapping: benchmark: handle NUMA_NO_NODE correctly
    34a816d8735f dma-mapping: benchmark: fix node id validation
    856dc7eb7fbc dma-mapping: benchmark: fix up kthread-related error handling
    a9da6ddaef9e kthread: add kthread_stop_put
    1b5234b2241a spi: Don't mark message DMA mapped when no transfer in it is
    0889e6f20986 netfilter: nft_payload: restore vlan q-in-q match support
    5278e4354a5b netfilter: ipset: Add list flush to cancel_gc
    8f365564af89 netfilter: nfnetlink_queue: acquire rcu_read_lock() in instance_destroy_rcu()
    1547183852dc tpm_tis_spi: Account for SPI header when allocating TPM SPI xfer buffer
    ad4b202da2c4 tracing/probes: fix error check in parse_btf_field()
    c3e439cb04cf kasan, fortify: properly rename memintrinsics
    d346e1475703 ice: Interpret .set_channels() input differently
    e155741ec4f5 drivers/xen: Improve the late XenStore init protocol
    46e72ebc6b35 nfc: nci: Fix handling of zero-length payload packets in nci_rx_work()
    87bdc9f6f58b net: relax socket state check at accept time.
    ab67c2fd3d07 tls: fix missing memory barrier in tls_init
    d470a8090476 net: fec: avoid lock evasion when reading pps_enable
    11f1fb814994 Revert "ixgbe: Manual AN-37 for troublesome link partners for X550 SFI"
    20da5bfd669b i3c: master: svc: change ENXIO to EAGAIN when IBI occurs during start frame
    3dc730aa1b1e i3c: master: svc: return actual transfer data len
    46fb7121fc42 i3c: master: svc: rename read_len as actual_len
    fe52ab31f050 i3c: add actual_len in i3c_priv_xfer
    04207a9c64e0 virtio: delete vq in vp_find_vqs_msix() when request_irq() fails
    7871f32b4564 net: lan966x: Remove ptp traps in case the ptp is not enabled.
    c5caa03d86a7 rv: Update rv_en(dis)able_monitor doc to match kernel-doc
    9f2ad88f9b34 arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY
    69c47b3763af openvswitch: Set the skbuff pkt_type for proper pmtud support.
    ae08aea3f517 pNFS/filelayout: fixup pNfs allocation modes
    02261d3f9dc7 tcp: Fix shift-out-of-bounds in dctcp_update_alpha().
    ef633ecb5452 regulator: tps6594-regulator: Correct multi-phase configuration
    0e44d6cbe8de ipv6: sr: fix memleak in seg6_hmac_init_algo
    d59ae9314b97 af_unix: Update unix_sk(sk)->oob_skb under sk_receive_queue lock.
    35db7c9d01d9 regulator: tps6287x: Force writing VSEL bit
    f46695d3b08e regulator: pickable ranges: don't always cache vsel
    706dff4ff7a4 rpcrdma: fix handling for RDMA_CM_EVENT_DEVICE_REMOVAL
    f3a8f8670fa6 sunrpc: fix NFSACL RPC retry on soft mount
    511811a7d39c nfs: keep server info for remounts
    0d317bcf81a1 NFSv4: Fixup smatch warning for ambiguous return
    57847c2ec5fb ASoC: tas2781: Fix wrong loading calibrated data sequence
    92503b5caab6 ASoC: tas2552: Add TX path for capturing AUDIO-OUT data
    e53a7f8afcbd nfc: nci: Fix uninit-value in nci_rx_work
    f354dc8c7d32 selftests: net: kill smcrouted in the cleanup logic in amt.sh
    f4df8c7670a7 ipv6: sr: fix missing sk_buff release in seg6_input_core
    521d21fa65cb net: Always descend into dsa/ folder with CONFIG_NET_DSA enabled
    1d95dbaa6ee7 x86/kconfig: Select ARCH_WANT_FRAME_POINTERS again when UNWINDER_FRAME_POINTER=y
    3a487e3cab05 perf/arm-dmc620: Fix lockdep assert in ->event_init()
    01f5809c78e6 xen/x86: add extra pages to unpopulated-alloc if available
    d08e87998339 regulator: bd71828: Don't overwrite runtime voltages
    b1bee9931287 blk-cgroup: Properly propagate the iostat update up the hierarchy
    714e59b5456e blk-cgroup: fix list corruption from reorder of WRITE ->lqueued
    d4a60298ac34 blk-cgroup: fix list corruption from resetting io stat
    3652ac87c993 drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations
    6446c1ca2dd2 nouveau: add an ioctl to report vram usage
    929eaf32dde4 nouveau: add an ioctl to return vram bar size.
    38c2fd9aeddc ASoC: mediatek: mt8192: fix register configuration for tdm
    9054c474f9c2 ALSA: hda: cs35l56: Fix lifetime of cs_dsp instance
    f95fde17ed53 ALSA: hda: cs35l56: Initialize all ASP1 registers
    3fd715d61716 ASoC: cs35l56: Fix to ensure ASP1 registers match cache
    6e359be49750 ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup
    1b5cfb411b73 null_blk: Fix the WARNING: modpost: missing MODULE_DESCRIPTION()
    2d062f7468c8 ASoC: tas2781: Fix a warning reported by robot kernel test
    a1955a6df913 drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails
    2a09eb7e36cc selftests/powerpc/dexcr: Add -no-pie to hashchk tests
    6ead3eccf67b drm: zynqmp_dpsub: Always register bridge
    f33888b9b686 Revert "drm/bridge: ti-sn65dsi83: Fix enable error path"
    89af84e6514a media: cec: core: avoid confusing "transmit timed out" message
    1af4790bc117 media: cec: core: avoid recursive cec_claim_log_addrs
    cceda163b711 media: cec: cec-api: add locking in cec_release()
    8f40b92f5480 media: cec: cec-adap: always cancel work in cec_transmit_msg_fh
    75aafce64a3a media: sunxi: a83-mips-csi2: also select GENERIC_PHY
    24b9362c9fa5 cxl/region: Fix cxlr_pmem leaks
    d5ac654babea cxl/trace: Correct DPA field masks for general_media & dram events
    8a328396a5fb um: Fix the declaration of kasan_map_memory
    a5cd85608738 um: Fix the -Wmissing-prototypes warning for get_thread_reg
    59e34e390cfd um: Fix the -Wmissing-prototypes warning for __switch_mm
    adb1c558c610 powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp
    3d50e4cef2e6 media: flexcop-usb: fix sanity check of bNumEndpoints
    408facc7965e platform/x86: thinkpad_acpi: Take hotkey_mutex during hotkey_exit()
    ec653f4474d7 tools/arch/x86/intel_sdsi: Fix meter_certificate decoding
    8af4923b045b tools/arch/x86/intel_sdsi: Fix meter_show display
    42adfac5d2c7 tools/arch/x86/intel_sdsi: Fix maximum meter bundle length
    c73d3273272b media: mediatek: vcodec: fix possible unbalanced PM counter
    f29a42642069 media: mediatek: vcodec: add encoder power management helper functions
    19bd9537b6bc drm/amdgpu: Fix buffer size in gfx_v9_4_3_init_ cp_compute_microcode() and rlc_microcode()
    bdd5bbe96782 drm/amdgpu: init microcode chip name from ip versions
    a4c638ab2578 Input: cyapa - add missing input core locking to suspend/resume functions
    d410017a7181 media: stk1160: fix bounds checking in stk1160_copy_video()
    3fe7b95312b3 drm/bridge: tc358775: fix support for jeida-18 and jeida-24
    873f67699114 drm/msm/dpu: Add callback function pointer check before its call
    04c2fca45506 drm/msm/dpu: stop using raw IRQ indices in the kernel output
    3bbe257c466f drm/msm/dpu: make the irq table size static
    a70ce2bb1d46 drm/msm/dpu: add helper to get IRQ-related data
    186a82662d13 drm/msm/dpu: extract dpu_core_irq_is_valid() helper
    50cf1608f184 drm/msm/dpu: remove irq_idx argument from IRQ callbacks
    1fe1c9dc21ee fs/ntfs3: Use variable length array instead of fixed size
    109d85a98345 fs/ntfs3: Use 64 bit variable to avoid 32 bit overflow
    6c8054d59066 fs/ntfs3: Check 'folio' pointer for NULL
    92ce7359f988 um: vector: fix bpfflash parameter evaluation
    434a06c38ee1 um: Add winch to winch_handlers before registering winch IRQ
    e98f29bf0b5f um: Fix return value in ubd_init()
    900d54bced61 drm/meson: gate px_clk when setting rate
    22432baba48a drm/mediatek: dp: Fix mtk_dp_aux_transfer return value
    3f388ca6a434 drm/msm/dpu: Always flush the slave INTF on the CTL
    01d8692b0c34 drm/msm/dsi: Print dual-DSI-adjusted pclk instead of original mode pclk
    755575a42c4f media: ov2680: Do not fail if data-lanes property is absent
    08754dd758d5 media: ov2680: Allow probing if link-frequencies is absent
    a7e0a70ac6d3 media: ov2680: Clear the 'ret' variable on success
    9a496f7d1828 media: v4l: Don't turn on privacy LED if streamon fails
    35556d0e1c61 media: v4l2-subdev: Document and enforce .s_stream() requirements
    4031c57f024a Input: pm8xxx-vibrator - correct VIB_MAX_LEVELS calculation
    063d89156f2d mmc: sdhci_am654: Fix ITAPDLY for HS400 timing
    2b8d2a6e5363 mmc: sdhci_am654: Add ITAPDLYSEL in sdhci_j721e_4bit_set_clock
    3433a340630e mmc: sdhci_am654: Add OTAP/ITAP delay enable
    3525baf3a929 mmc: sdhci_am654: Drop lookup for deprecated ti,otap-del-sel
    fa9a2c696ad1 mmc: sdhci_am654: Write ITAPDLY for DDR52 timing
    57205cf9c18a mmc: sdhci_am654: Add tuning algorithm for delay chain
    b003b8c15cbb Input: ims-pcu - fix printf string overflow
    69f245b86cef dt-bindings: adc: axi-adc: add clocks property
    a291998f8a09 dt-bindings: adc: axi-adc: update bindings for backend framework
    51a2049a2c08 eventfs: Have "events" directory get permissions from its parent
    281eaee393c7 eventfs: Free all of the eventfs_inode after RCU
    14aa4f3efc6e eventfs/tracing: Add callback for release of an eventfs_inode
    e5c80b23523b eventfs: Create eventfs_root_inode to store dentry
    11244a432850 serial: sc16is7xx: fix bug in sc16is7xx_set_baud() when using prescaler
    f0eb53ffd8d9 serial: sc16is7xx: replace hardcoded divisor value with BIT() macro
    c6fecd07435f misc/pvpanic-pci: register attributes via pci_driver
    e9194a954c44 misc/pvpanic: deduplicate common code
    f68f3e3f5c9c iio: accel: mxc4005: Reset chip on probe() and resume()
    43424f70535b iio: accel: mxc4005: allow module autoloading via OF compatible
    e26405d5b266 eventfs: Do not differentiate the toplevel events directory
    64a9a930afe9 drm/amd/display: Revert Remove pixle rate limit for subvp
    242f11be47ab drm/amd/display: Remove pixle rate limit for subvp
    cb9f455e27ed gpiolib: acpi: Fix failed in acpi_gpiochip_find() by adding parent node match
    b3b8ba37529c dt-bindings: PCI: rockchip,rk3399-pcie: Add missing maxItems to ep-gpios
    916cf5d6ae97 s390/boot: Remove alt_stfle_fac_list from decompressor
    2102692eb23f s390/ipl: Fix incorrect initialization of nvme dump block
    b34ea5b97561 s390/ipl: Fix incorrect initialization of len fields in nvme reipl block
    2028823f1d71 s390/vdso: Use standard stack frame layout
    0e035cb818c5 s390/vdso: Create .build-id links for unstripped vdso files
    07423c9b4375 kbuild: fix build ID symlinks to installed debug VDSO files
    adacfc6dec4c kbuild: unify vdso_install rules
    a422869153dd s390/vdso: Generate unwind information for C modules
    6bd72dd0f70c s390/vdso64: filter out munaligned-symbols flag for vdso
    379ec9d95c89 LoongArch: Fix callchain parse error with kernel tracepoint events again
    5af155f9b168 perf pmu: Count sys and cpuid JSON events separately
    4ac93db3dd4d perf pmu: Assume sysfs events are always the same case
    930e16ac95b0 perf tools: Add/use PMU reverse lookup from config to name
    923b83bc8692 perf tools: Use pmus to describe type from attribute
    c5aaeae250d3 perf pmu: "Compat" supports regular expression matching identifiers
    f989dc009070 perf pmu: Move pmu__find_core_pmu() to pmus.c
    d37e53e8c826 perf test: Add a test for strcmp_cpuid_str() expression
    a46c6144117a perf stat: Don't display metric header for non-leader uncore events
    7723485af6de usb: fotg210: Add missing kernel doc description
    f0cdc3e248e3 f2fs: fix to add missing iput() in gc_data_segment()
    1003d16ea271 perf daemon: Fix file leak in daemon_session__control
    c546fef47cd5 libsubcmd: Fix parse-options memory leak
    70d6dca40318 serial: sh-sci: protect invalidating RXDMA on shutdown
    9f9341064a9b f2fs: compress: don't allow unaligned truncation on released compress inode
    8d2fc8ae670a f2fs: fix to release node block count in error path of f2fs_new_node_page()
    329edb7c9e3b f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock
    81c975902b15 f2fs: compress: fix error path of inc_valid_block_count()
    b8a742a8bd6d f2fs: introduce get_available_block_count() for cleanup
    5f8e5a096e2b f2fs: deprecate io_bits
    92b24f04d3e5 f2fs: compress: fix to update i_compr_blocks correctly
    9ec45f857a01 perf symbols: Fix ownership of string in dso__load_vmlinux()
    c3cc46563103 perf maps: Move symbol maps functions to maps.c
    c5314cfa9287 perf thread: Fixes to thread__new() related to initializing comm
    9029a775f0d7 perf report: Avoid SEGV in report__setup_sample_type()
    e50576c7e61f perf ui browser: Avoid SEGV on title
    6902179a415a f2fs: fix block migration when section is not aligned to pow2
    40d76c393cca f2fs: support file pinning for zoned devices
    066cec37094d f2fs: kill heap-based allocation
    61330214b227 f2fs: separate f2fs_gc_range() to use GC for a range
    f0248ba6b640 f2fs: use BLKS_PER_SEG, BLKS_PER_SEC, and SEGS_PER_SEC
    42d48304f64e f2fs: support printk_ratelimited() in f2fs_printk()
    6496d63a1641 f2fs: Clean up errors in segment.h
    e02a267a69aa PCI/EDR: Align EDR_PORT_LOCATE_DSM with PCI Firmware r3.3
    84ae90ba37c1 PCI/EDR: Align EDR_PORT_DPC_ENABLE_DSM with PCI Firmware r3.3
    787b7ddf434f dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references
    913a00ec6b09 extcon: max8997: select IRQ_DOMAIN instead of depending on it
    a8860002cae5 perf ui browser: Don't save pointer to stack memory
    88b88dd7d8c2 perf bench internals inject-build-id: Fix trap divide when collecting just one DSO
    cd99864e1f7f i2c: synquacer: Fix an error handling path in synquacer_i2c_probe()
    bb220136ae51 i2c: cadence: Avoid fifo clear after start
    ec3468221efe ppdev: Add an error check in register_device
    b596340b8552 ppdev: Remove usage of the deprecated ida_simple_xx() API
    370c480410f6 stm class: Fix a double free in stm_register_device()
    4e125b96e333 usb: gadget: u_audio: Clear uac pointer when freed.
    453d3fa9266e usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.
    9eb15f24a0b9 dmaengine: idxd: Avoid unnecessary destruction of file_ida
    4ef5468e84d5 dt-bindings: phy: qcom,usb-snps-femto-v2: use correct fallback for sc8180x
    6357221b68e0 dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: fix msm899[68] power-domains
    dc14f0a2c61b watchdog: sa1100: Fix PTR_ERR_OR_ZERO() vs NULL check in sa1100dog_probe()
    d47f51eb1fc3 watchdog: bd9576: Drop "always-running" property
    9b1c063ffc07 watchdog: cpu5wdt.c: Fix use-after-free bug caused by cpu5wdt_trigger
    cd283810f6ae pinctrl: qcom: pinctrl-sm7150: Fix sdc1 and ufs special pins regs
    dedf17b3af39 dt-bindings: pinctrl: mediatek: mt7622: fix array properties
    6954ae017718 VMCI: Fix an error handling path in vmci_guest_probe_device()
    b5f31d1470c4 PCI: of_property: Return error for int_map allocation failure
    97ba21401b89 ovl: remove upper umask handling from ovl_create_upper()
    034968dbd867 leds: pwm: Disable PWM when going to suspend
    a10c3d5ff9a3 pwm: Rename pwm_apply_state() to pwm_apply_might_sleep()
    6bb1efff9b17 perf intel-pt: Fix unassigned instruction op (discovered by MemorySanitizer)
    0053891e2f4f PCI: Wait for Link Training==0 before starting Link retrain
    65ce3fad7d59 microblaze: Remove early printk call from cpuinfo-static.c
    6240bd8981c6 microblaze: Remove gcc flag for non existing early_printk.c file
    a758e99cd644 udf: Convert udf_expand_file_adinicb() to use a folio
    7745b1b785aa udf: Remove GFP_NOFS allocation in udf_expand_file_adinicb()
    4d7d12b643c0 fpga: region: add owner module and take its refcount
    0bd22a4966d5 vfio/pci: fix potential memory leak in vfio_intx_enable()
    e642622550c8 i915: make inject_virtual_interrupt() void
    bb6f7de21d4c coresight: etm4x: Fix access to resource selector registers
    3840a3f37a67 coresight: etm4x: Safe access for TRCQCLTR
    0c575997dee0 coresight: etm4x: Do not save/restore Data trace control registers
    42f016cd8593 coresight: etm4x: Do not hardcode IOMEM access for register restore
    720d27664d7c iio: adc: adi-axi-adc: only error out in major version mismatch
    d3513f1261a0 iio: adc: adi-axi-adc: move to backend framework
    184b2967d578 iio: adc: ad9467: convert to backend framework
    5fc4f0c01cb2 iio: add the IIO backend framework
    e1fc56c40068 iio: buffer-dmaengine: export buffer alloc and free functions
    b70042e4dc7f iio: adc: adi-axi-adc: convert to regmap
    864b42f8b3f3 iio: adc: ad9467: use chip_info variables instead of array
    a679a40bd2ec iio: adc: ad9467: use spi_get_device_match_data()
    08f5bd2032c0 iio: pressure: dps310: support negative temperature values
    d3ced099f31d perf test shell arm_coresight: Increase buffer size for Coresight basic tests
    e61cb35f56f9 perf docs: Document bpf event modifier
    0688c4f7c5e8 coresight: etm4x: Fix unbalanced pm_runtime_enable()
    1083681ea208 riscv: dts: starfive: visionfive 2: Remove non-existing TDM hardware
    1145fda91f70 iio: adc: stm32: Fixing err code to not indicate success
    f84122681853 f2fs: fix to check pinfile flag in f2fs_move_file_range()
    5632bdb4e9be f2fs: fix to relocate check condition in f2fs_fallocate()
    116d824f953a f2fs: compress: fix to relocate check condition in f2fs_ioc_{,de}compress_file()
    1d59aa23a3fa f2fs: compress: fix to relocate check condition in f2fs_{release,reserve}_compress_blocks()
    ff9504c045b5 perf bench uprobe: Remove lib64 from libc.so.6 binary path
    f56632928a6d dt-bindings: PCI: rcar-pci-host: Add missing IOMMU properties
    479e4daae636 dt-bindings: PCI: rcar-pci-host: Add optional regulators
    829afc132f63 perf record: Fix debug message placement for test consumption
    aa4158e31612 perf record: Move setting tracking events before record__init_thread_masks()
    e024e98e81f9 perf evlist: Add evlist__findnew_tracking_event() helper
    28a50a15d1b8 perf tests: Apply attributes to all events in object code reading test
    fca6659b4edc perf tests: Make "test data symbol" more robust on Neoverse N1
    bf386f268b29 arm64: dts: meson: fix S4 power-controller node
    e21a398d22e6 interconnect: qcom: qcm2290: Fix mas_snoc_bimc QoS port assignment
    28f5a08600d0 module: don't ignore sysfs_create_link() failures
    3431d265eab2 serial: sc16is7xx: add proper sched.h include for sched_set_fifo()
    967cb01d0a80 PCI: tegra194: Fix probe path for Endpoint mode
    46c6fc133dc1 greybus: arche-ctrl: move device table to its right location
    749603af8faa serial: max3100: Fix bitwise types
    e8a10089eddb serial: max3100: Update uart_driver_registered on driver removal
    93df2fba6c7d serial: max3100: Lock port->lock when calling uart_handle_cts_change()
    73c6ddb499bb perf annotate: Fix annotation_calc_lines() to pass correct address to get_srcline()
    80e06e547d42 perf annotate: Use global annotation_options
    1157abdc2e03 perf top: Convert to the global annotation_options
    e0af85d60b7a perf report: Convert to the global annotation_options
    dfd02119aef9 perf annotate: Introduce global annotation_options
    260de04387c0 perf annotate: Split branch stack cycles information out of 'struct annotation_line'
    4ddf437cae2c perf machine thread: Remove exited threads by default
    7adc363bc29e perf record: Lazy load kernel symbols
    1f428149492f firmware: dmi-id: add a release callback function
    59767d1e3019 dmaengine: idma64: Add check for dma_set_max_seg_size
    7eeef1e935d2 soundwire: cadence: fix invalid PDI offset
    6ee4ad5dfb15 perf stat: Do not fail on metrics on s390 z/VM systems
    32f615e0a580 usb: typec: ucsi: simplify partner's PD caps registration
    ad864c123b7a usb: typec: ucsi: always register a link to USB PD device
    1ec229afd45c perf annotate: Get rid of duplicate --group option item
    30dc493b8195 counter: linux/counter.h: fix Excess kernel-doc description warning
    d7c4081c54a1 fpga: bridge: add owner module and take its refcount
    2da62a139a62 fpga: manager: add owner module and take its refcount
    4b3609e6c805 f2fs: fix to wait on page writeback in __clone_blkaddrs()
    2b2611a42462 f2fs: multidev: fix to recognize valid zero block address
    ac12df6b9729 phy: qcom: qmp-combo: fix duplicate return in qmp_v4_configure_dp_phy
    518e2c46b5db greybus: lights: check return of get_channel_from_mode
    fe92a949b264 iio: core: Leave private pointer NULL when no private data supplied
    5c53a28ab253 perf probe: Add missing libgen.h header needed for using basename()
    834e603dbe28 perf record: Delete session after stopping sideband thread
    2f593fd9d3cc net: wangxun: fix to change Rx features
    941e1c6d8683 sched/core: Fix incorrect initialization of the 'burst' parameter in cpu_max_write()
    4d9d099ab291 sched/fair: Allow disabling sched_balance_newidle with sched_relax_domain_level
    ee3577c5d33c af_packet: do not call packet_read_pending() from tpacket_destruct_skb()
    f28bdc2ee5d9 netrom: fix possible dead-lock in nr_rt_ioctl()
    57fa96c04ef9 net: qrtr: ns: Fix module refcnt
    4488617e5e99 net: bridge: mst: fix vlan use-after-free
    76282afa17e9 selftests: net: bridge: increase IGMP/MLD exclude timeout membership interval
    1abb37114790 net: bridge: xmit: make sure we have at least eth header len bytes
    00ea83bfb496 modules: Drop the .export_symbol section from the final modules
    4aa2d5fd7ee0 tracing/user_events: Fix non-spaced field matching
    4c40e1b76e6e tracing/user_events: Prepare find/delete for same name events
    2fc3d0ac097b tracing/user_events: Allow events to persist for perfmon_capable users
    3eb127dc408b RDMA/cma: Fix kmemleak in rdma_core observed during blktests nvme/rdma use siw
    e011ea687f2f RDMA/IPoIB: Fix format truncation compilation errors
    382494aa8881 selftests/kcmp: remove unused open mode
    c1d8c429e4d2 SUNRPC: Fix gss_free_in_token_pages()
    a658f011d89d bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq
    29feea56dedf RDMA/bnxt_re: Adds MSN table capability for Gen P7 adapters
    9a54460b3394 RDMA/bnxt_re: Update the HW interface definitions
    e300b1b95c93 RDMA/bnxt_re: Remove roundup_pow_of_two depth for all hardware queue resources
    f52e649e933a RDMA/bnxt_re: Refactor the queue index update
    0b0d5701a8bf of: module: add buffer overflow check in of_modalias()
    370a86dc97ef ext4: remove the redundant folio_wait_stable()
    07fa88b0f340 ext4: fix potential unnitialized variable
    f4fb561d52e1 sunrpc: removed redundant procp check
    e873f36ec890 drivers/virt/acrn: fix PFNMAP PTE checks in acrn_vm_ram_map()
    d5c75ededb2d virt: acrn: stop using follow_pfn
    c7cca4c61f44 ext4: avoid excessive credit estimate in ext4_tmpfile()
    caaee1b858c2 x86/insn: Add VEX versions of VPDPBUSD, VPDPBUSDS, VPDPWSSD and VPDPWSSDS
    3d22be008bd1 x86/insn: Fix PUSH instruction in x86 instruction decoder opcode map
    6973cb78f0ca clk: qcom: mmcc-msm8998: fix venus clock issue
    631c54f07d78 clk: qcom: dispcc-sm8550: fix DisplayPort clocks
    e91d89de5e71 clk: qcom: dispcc-sm6350: fix DisplayPort clocks
    7ef714778dd0 clk: qcom: dispcc-sm8450: fix DisplayPort clocks
    65e528a69cb3 lib/test_hmm.c: handle src_pfns and dst_pfns allocation failure
    6d06fc4edfb0 clk: renesas: r9a07g043: Add clock and reset entry for PLIC
    6c7455605a30 clk: renesas: r8a779a0: Fix CANFD parent clock
    8696be3a5f66 IB/mlx5: Use __iowrite64_copy() for write combining stores
    03ff3e23adca RDMA/rxe: Fix incorrect rxe_put in error path
    13c7bb72d372 RDMA/rxe: Allow good work requests to be executed
    21b4c6d4d890 RDMA/rxe: Fix seg fault in rxe_comp_queue_pkt
    63cbb3e7044f clk: qcom: clk-alpha-pll: remove invalid Stromer register offset
    1a91f05ca280 clk: rs9: fix wrong default value for clock amplitude
    dd4b239184ee clk: mediatek: mt8365-mm: fix DPI0 parent
    6f541a89ced8 RDMA/hns: Modify the print level of CQE error
    571f79eb1aae RDMA/hns: Use complete parentheses in macros
    b7f2f6d227ce RDMA/hns: Fix GMV table pagesize
    63da190eeb5c RDMA/hns: Fix UAF for cq async event
    22c915af31bd RDMA/hns: Fix deadlock on SRQ async events.
    db415a39ffdb RDMA/hns: Fix return value in hns_roce_map_mr_sg
    6b4f69399291 iommu: Undo pasid attachment only for the devices that have succeeded
    888b03fcd122 clk: mediatek: pllfh: Don't log error for missing fhctl node
    499569c8ab7f RDMA/mlx5: Adding remote atomic access flag to updatable flags
    5880d8ca57d5 RDMA/mlx5: Uncacheable mkey has neither rb_key or cache_ent
    73c5f64cfa85 clk: samsung: exynosautov9: fix wrong pll clock id value
    205b6dd5b799 media: cadence: csi2rx: configure DPHY before starting source stream
    6040fcea4605 drm/edid: Parse topology block for all DispID structure v1.x
    b4c508666981 drm/rockchip: vop2: Do not divide height twice for YUV
    4b3421c2f6f8 media: uvcvideo: Add quirk for Logitech Rally Bar
    dda6efae161d drm/mipi-dsi: use correct return type for the DSC functions
    04b001fa8b79 drm/panel: simple: Add missing Innolux G121X1-L03 format, flags, connector
    bd4fb19e33c8 drm/bridge: anx7625: Update audio status while detecting
    587acea97512 drm/panel: novatek-nt35950: Don't log an error when DSI host can't be found
    7962ae5aadd5 drm/bridge: dpc3433: Don't log an error when DSI host can't be found
    52334bb44f10 drm/bridge: tc358775: Don't log an error when DSI host can't be found
    30cb32c7ec5e drm/bridge: lt9611uxc: Don't log an error when DSI host can't be found
    ae2ac0aef901 drm/bridge: lt9611: Don't log an error when DSI host can't be found
    95b5eba76efe drm/bridge: lt8912b: Don't log an error when DSI host can't be found
    95f959193c32 drm/bridge: icn6211: Don't log an error when DSI host can't be found
    4486576578db drm/bridge: anx7625: Don't log an error when DSI host can't be found
    656fb206aee2 ASoC: tracing: Export SND_SOC_DAPM_DIR_OUT to its value
    42c22b63056c drm: vc4: Fix possible null pointer dereference
    335cc45ef2b8 drm/arm/malidp: fix a possible null pointer dereference
    cc20c87b04db media: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries
    1cc6b956ad36 fbdev: sh7760fb: allow modular build
    983e91ad759e media: v4l2-subdev: Fix stream handling for crop API
    c1a3803e5bb9 media: i2c: et8ek8: Don't strip remove function when driver is builtin
    dd271f136601 media: dt-bindings: ovti,ov2680: Fix the power supply names
    db572c397399 media: ipu3-cio2: Request IRQ earlier
    525be5dc8ee0 drm/msm/dp: Avoid a long timeout for AUX transfer if nothing connected
    554484e46383 drm/msm/dp: allow voltage swing / pre emphasis of 3
    dcf53e6103b2 drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference
    0f070f0c3b54 media: radio-shark2: Avoid led_names truncations
    d8076c9e02bb media: rcar-vin: work around -Wenum-compare-conditional warning
    f987b53c28eb media: ngene: Add dvb_ca_en50221_init return value check
    750e384b9b7b ASoC: Intel: avs: Test result of avs_get_module_entry()
    a1780d8a7c26 ASoC: Intel: avs: Fix potential integer overflow
    7976b78631ee ASoC: Intel: avs: Fix ASRC module initialization
    c81b6d64962a selftests: cgroup: skip test_cgcore_lesser_ns_open when cgroup2 mounted without nsdelegate
    be84945440c9 fbdev: sisfb: hide unused variables
    28049d5a74a8 ASoC: SOF: Intel: mtl: Implement firmware boot state check
    f0bf72d1b49e ASoC: SOF: Intel: mtl: Disable interrupts when firmware boot failed
    02be4ce0d0be ASoC: SOF: Intel: mtl: call dsp dump when boot retry fails
    6bdadbee34d9 ASoC: SOF: Intel: lnl: Correct rom_status_reg
    8aeb3dc8b3cd ASoC: SOF: Intel: mtl: Correct rom_status_reg
    368017b1bff7 ASoC: SOF: Intel: pci-mtl: fix ARL-S definitions
    1ef8f0b414ce ASoC: SOF: Intel: pci-mtl: use ARL specific firmware definitions
    46c15b7130fe ASoC: Intel: common: add ACPI matching tables for Arrow Lake
    f0b4617d80c3 powerpc/fsl-soc: hide unused const variable
    af26ea99019c drm/mediatek: Add 0 size check to mtk_drm_gem_obj
    d5689998a093 drm/meson: vclk: fix calculation of 59.94 fractional rates
    1a7254525ca7 ASoC: kirkwood: Fix potential NULL dereference
    4a1dc9721275 fbdev: shmobile: fix snprintf truncation
    87b8dca6e06f ASoC: mediatek: Assign dummy when codec not specified for a DAI link
    9ceb5bd746e1 mtd: rawnand: hynix: fixed typo
    adbd5da08ec6 mtd: core: Report error if first mtd_otp_size() call fails in mtd_otp_nvmem_add()
    a6498eac492b ASoC: Intel: avs: ssm4567: Do not ignore route checks
    48f3fe137323 ASoC: Intel: Disable route checks for Skylake boards
    4e8c8b37ee84 drm/amd/display: Fix potential index out of bounds in color transformation function
    859da9472b4f drm/panel: atna33xc20: Fix unbalanced regulator in the case HPD doesn't assert
    9429b12dfcbd drm/dp: Don't attempt AUX transfers when eDP panels are not powered
    e71399aa6ce1 drm/lcdif: Do not disable clocks on already suspended hardware
    fc49f4d1a15f dev_printk: Add and use dev_no_printk()
    34d80802cb8e printk: Let no_printk() use _printk()
    5fdc39e02494 drm/omapdrm: Fix console with deferred ops
    c00e8fd74950 fbdev: Provide I/O-memory helpers as module
    e79f933ad162 drm/omapdrm: Fix console by implementing fb_dirty
    ec1723175a5f drm/ci: update device type for volteer devices
    aa03f049d453 drm/ci: add subset-1-gfx to LAVA_TAGS and adjust shards
    101bbe559da5 drm/ci: uprev mesa version: fix container build & crosvm
    45755ef11f03 drm/bridge: Fix improper bridge init order with pre_enable_prev_first
    5af2e235b0d5 Bluetooth: HCI: Remove HCI_AMP support
    75d7ac5e225e Bluetooth: hci_event: Remove code to removed CONFIG_BT_HS
    0a8af30a8672 Bluetooth: Remove usage of the deprecated ida_simple_xx() API
    f03d3322a785 Bluetooth: ISO: Fix BIS cleanup
    dfde465d8907 Bluetooth: qca: Fix error code in qca_read_fw_build_info()
    e231034377bc Bluetooth: compute LE flow credits based on recvbuf space
    3ddf170e4a60 net: micrel: Fix receiving the timestamp in the frame for lan8841
    5f9d2dcf7130 mptcp: SO_KEEPALIVE: fix getsockopt support
    d38625f71950 net: fec: remove .ndo_poll_controller to avoid deadlocks
    965d940fb741 ax25: Fix reference count leak issue of net_device
    38eb01edfdaa ax25: Fix reference count leak issues of ax25_dev
    39da6f09e110 ax25: Use kernel universal linked list to implement ax25_dev_list
    a1bf04458311 riscv, bpf: make some atomic operations fully ordered
    46f17e7d4fb5 s390/bpf: Emit a barrier for BPF_FETCH instructions
    1337ec94bc5a net/mlx5: Discard command completions in internal error
    f9caccdd42e9 net/mlx5: Add a timeout to acquire the command queue semaphore
    e93fc8d959e5 net/mlx5: Reload only IB representors upon lag disable/enable
    66a5f6e09c63 net/mlx5: Enable 4 ports multiport E-switch
    3398a40dccb8 ipv6: sr: fix invalid unregister error path
    6c6b74edc911 ipv6: sr: fix incorrect unregister order
    58fd673b0532 ipv6: sr: add missing seg6_local_exit
    78741b4caae1 net: openvswitch: fix overwriting ct original tuple for ICMPv6
    108ec8bf6483 net: usb: smsc95xx: stop lying about skb->truesize
    0688d4e499be af_unix: Fix data races in unix_release_sock/unix_stream_sendmsg
    8f6f82d6a205 net: ethernet: cortina: Locking fixes
    1ebaa96f97cd selftests: net: move amt to socat for better compatibility
    9d601b81f1fc selftests: net: add missing config for amt.sh
    229d4a32b53e selftests: net: add more missing kernel config
    5de5aeb98f9a eth: sungem: remove .ndo_poll_controller to avoid deadlocks
    11dd90c11ad0 net: ipv6: fix wrong start position when receive hop-by-hop fragment
    68d38724cf53 m68k: mac: Fix reboot hang on Mac IIci
    f3baf0f4f92a m68k: Fix spinlock race in kernel thread creation
    979d764ebdcd net: usb: sr9700: stop lying about skb->truesize
    80cb2f61a613 usb: aqc111: stop lying about skb->truesize
    18f59aab33bc HID: amd_sfh: Handle "no sensors" in PM operations
    9d08e7fd44ca wifi: mwl8k: initialize cmd->addr[] properly
    db9214833e58 x86/numa: Fix SRAT lookup of CFMWS ranges with numa_fill_memblks()
    4c62c6c8a006 kernel/numa.c: Move logging out of numa.h
    0d5cfcede0c9 scsi: qla2xxx: Fix debugfs output for fw_resource_count
    563e60927592 scsi: qedf: Ensure the copied buf is NUL terminated
    204714e68015 scsi: bfa: Ensure the copied buf is NUL terminated
    5386f6734dbc HID: intel-ish-hid: ipc: Add check for pci_alloc_irq_vectors
    c3ae972a22f2 selftests/bpf: Fix pointer arithmetic in test_xdp_do_redirect
    1ec7ccb4cd4b kunit: Fix kthread reference
    2d43d30aafb8 selftests: default to host arch for LLVM builds
    381079197e80 selftests/resctrl: fix clang build failure: use LOCAL_HDRS
    3af6ed233a60 selftests/binderfs: use the Makefile's rules, not Make's implicit rules
    ed74398642fc wifi: nl80211: Avoid address calculations via out of bounds array indexing
    166c9d2eef74 libbpf: Fix error message in attach_kprobe_multi
    35e001ce8492 wifi: mt76: mt7603: add wpdma tx eof flag for PSE client reset
    bdd2255fcfe5 wifi: mt76: mt7603: fix tx queue of loopback packets
    1f29d8571fa1 Revert "sh: Handle calling csum_partial with misaligned data"
    78a12934b721 sh: kprobes: Merge arch_copy_kprobe() into arch_prepare_kprobe()
    6675c541f540 bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE
    b33a81e4ecfb wifi: ar5523: enable proper endpoint verification
    39f8a29330f4 bpf: Fix verifier assumptions about socket->sk
    62eb07923f36 wifi: carl9170: add a proper sanity check for endpoints
    d43a8c7ec084 macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"
    7a44f4944b05 net: give more chances to rcu in netdev_wait_allrefs_any()
    a7678a16c25b drivers/perf: hisi: hns3: Actually use devm_add_action_or_reset()
    be1fa711e59c drivers/perf: hisi: hns3: Fix out-of-bound access when valid event group
    8e9aab249217 drivers/perf: hisi_pcie: Fix out-of-bound access when valid event group
    a80814fe9181 pwm: sti: Simplify probe function using devm functions
    cedd7e536935 pwm: sti: Prepare removing pwm_chip from driver data
    00bb933578ac tcp: avoid premature drops in tcp_add_backlog()
    a47027919d69 net: dsa: mv88e6xxx: Avoid EEPROM timeout without EEPROM on 88E6250-family switches
    d1e3dc19d50f net: dsa: mv88e6xxx: Add support for model-specific pre- and post-reset handlers
    d0e874a34863 wifi: ath10k: populate board data for WCN3990
    abd2e7118519 cpufreq: brcmstb-avs-cpufreq: ISO C90 forbids mixed declarations
    e1dcff6e299f scsi: ufs: core: mcq: Fix ufshcd_mcq_sqe_search()
    51929a8db813 selftests/bpf: Fix a fd leak in error paths in open_netns
    e19681ae6cf9 gfs2: do_xmote fixes
    b68b9dd723db gfs2: finish_xmote cleanup
    d6b412c510ac gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn
    7c2bc932b60d gfs2: Mark withdraws as unlikely
    0636b34b4458 gfs2: Fix potential glock use-after-free on unmount
    18dfb29644a4 gfs2: Remove ill-placed consistency check
    d312fbf6a24e gfs2: No longer use 'extern' in function declarations
    0db3b4e50241 gfs2: Rename gfs2_lookup_{ simple => meta }
    9db1bdd71441 gfs2: Convert gfs2_internal_read to folios
    d92445b23932 gfs2: Get rid of gfs2_alloc_blocks generation parameter
    09f8c676e4b4 wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger()
    55c54269fbd3 dt-bindings: thermal: loongson,ls2k-thermal: Fix incorrect compatible definition
    5b996de139b3 dt-bindings: thermal: loongson,ls2k-thermal: Add Loongson-2K0500 compatible
    27cacfc0818f dt-bindings: thermal: loongson,ls2k-thermal: Fix binding check issues
    2d5ca6e4a287 thermal/drivers/tsens: Fix null pointer dereference
    95575de7dede wifi: ath12k: fix out-of-bound access of qmi_invoke_handler()
    6ae55c7fa6be x86/purgatory: Switch to the position-independent small code model
    6c6c0afd3510 scsi: hpsa: Fix allocation size for Scsi_Host private data
    52c266b486ee scsi: libsas: Fix the failure of adding phy with zero-address to port
    1ea06a34f79c wifi: iwlwifi: mvm: init vif works only once
    f84b9b25d045 cppc_cpufreq: Fix possible null pointer dereference
    c0ed9a711e33 openrisc: traps: Don't send signals to kernel mode threads
    71d865be7c2f udp: Avoid call to compute_score on multiple sites
    edcdeb8a4fdf x86/pat: Fix W^X violation false-positives when running as Xen PV guest
    29681171ff21 x86/pat: Restructure _lookup_address_cpa()
    308fba77bc23 x86/pat: Introduce lookup_address_in_pgd_attr()
    3e99f060cfd2 cpufreq: exit() callback is optional
    99f3af0a1afd tcp: increase the default TCP scaling ratio
    ca19418abcf7 tcp: define initial scaling factor value as a macro
    a7fba17a0596 selftests/bpf: Fix umount cgroup2 error in test_sockmap
    dc03a3755358 x86/boot/64: Clear most of CR4 in startup_64(), except PAE, MCE and LA57
    abea81e6a722 gfs2: Fix "ignore unlock failures after withdraw"
    21d78e4c3661 gfs2: Don't forget to complete delayed withdraw
    673f7120a6e5 ACPI: disable -Wstringop-truncation
    acb5503dbb9c irqchip/loongson-pch-msi: Fix off-by-one on allocation error path
    a9bbafa46c16 irqchip/alpine-msi: Fix off-by-one in allocation error path
    1d4e1fa2f29a locking/atomic/x86: Correct the definition of __arch_try_cmpxchg128()
    040c3a00247d ACPI: LPSS: Advertise number of chip selects via property
    776bad0b1f63 scsi: ufs: core: Perform read back after disabling UIC_COMMAND_COMPL
    92374b6a5af1 scsi: ufs: core: Perform read back after disabling interrupts
    bfd29d5ea6ea scsi: ufs: core: Perform read back after writing UTP_TASK_REQ_LIST_BASE_H
    872f68019bc6 scsi: ufs: cdns-pltfrm: Perform read back after writing HCLKDIV
    8e5ede836b74 scsi: ufs: qcom: Perform read back after writing CGC enable
    d2741b23b1b4 scsi: ufs: qcom: Perform read back after writing unipro mode
    32402b2a9c0b scsi: ufs: qcom: Perform read back after writing REG_UFS_SYS1CLK_1US
    8f01dda10c65 scsi: ufs: qcom: Perform read back after writing reset bit
    b17592380f9d bpf: prevent r10 register from being marked as precise
    7a7d4237e338 bpf: Pack struct bpf_fib_lookup
    f92aebf17026 bpftool: Mount bpffs on provided dir instead of parent dir
    875864670982 wifi: carl9170: re-fix fortified-memset warning
    bc236ebc2ab5 dlm: fix user space lock decision to copy lvb
    0fdbbe7ee7f4 bitops: add missing prototype check
    f3531ac07b4e mlx5: stop warning for 64KB pages
    7dd2a9bb7b75 mlx5: avoid truncating error message
    6541f8ea7623 qed: avoid truncating work queue length
    997a53102a3b enetc: avoid truncating error message
    c5202a38897d ACPI: Fix Generic Initiator Affinity _OSC bit
    2bd572d421e3 sched/fair: Add EAS checks before updating root_domain::overutilized
    c078f2b4921b wifi: iwlwifi: mvm: fix check in iwl_mvm_sta_fw_id_mask
    f0fe67ca7550 wifi: iwlwifi: reconfigure TLC during HW restart
    adde9190997e wifi: iwlwifi: mvm: select STA mask only for active links
    29caa342391c wifi: iwlwifi: mvm: allocate STA links only for active links
    6c166d1646ca wifi: ieee80211: fix ieee80211_mle_basic_sta_prof_size_ok()
    9fa391354a40 x86/boot: Ignore relocations in .notes sections in walk_relocs() too
    22c3d94cd445 wifi: mt76: mt7915: workaround too long expansion sparse warnings
    9cf8052afc94 wifi: ath12k: use correct flag field for 320 MHz channels
    ba3647aa16ae bpftool: Fix missing pids during link show
    424e5ac9761f wifi: ath11k: don't force enable power save on non-running vdevs
    c37466406f07 wifi: brcmfmac: pcie: handle randbuf allocation failure
    014e4e9275de wifi: ath10k: poll service ready message before failing
    e5d98cc3311f block: support to account io_ticks precisely
    99bbbd9aea05 block: fix and simplify blkdevparts= cmdline parsing
    910717920c8c block: refine the EOF check in blkdev_iomap_begin
    e8d340f80977 crypto: qat - specify firmware files for 402xx
    c9566b812c8f md: fix resync softlockup when bitmap size is less than array size
    1fc82121d038 lkdtm: Disable CFI checking for perms functions
    fbadcde1572f soc: qcom: pmic_glink: Make client-lock non-sleeping
    7880dbf4eafe kunit/fortify: Fix mismatched kvalloc()/vfree() usage
    fe3a28db0361 null_blk: Fix missing mutex_destroy() at module removal
    19e9452d731a soc: mediatek: cmdq: Fix typo of CMDQ_JUMP_RELATIVE
    0cac39347f4e firmware: qcom: scm: Fix __scm and waitq completion variable initialization
    8fc7934635bb soc: qcom: pmic_glink: notify clients about the current state
    d02c6eb5d3df soc: qcom: pmic_glink: don't traverse clients list without a lock
    840565b1351a s390/mm: Re-enable the shared zeropage for !PV and !skeys KVM guests
    b410a6c84d84 mm/userfaultfd: Do not place zeropages when zeropages are disallowed
    f32f810dcc19 io-wq: write next_work before dropping acct_lock
    af82d8d2179b jffs2: prevent xattr node from overflowing the eraseblock
    c4f49d3fc18a ARM: configs: sunxi: Enable DRM_DW_HDMI
    afb39909bfb5 rcu: Fix buffer overflow in print_cpu_stall_info()
    32d988f48ed2 rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow
    1319dbd64b73 io_uring: use the right type for work_llist empty check
    a750b846c136 s390/cio: fix tracepoint subchannel type field
    b39d0d661752 crypto: x86/sha512-avx2 - add missing vzeroupper
    1c5bce29d0d9 crypto: x86/sha256-avx2 - add missing vzeroupper
    ba0aa694c332 crypto: x86/nh-avx2 - add missing vzeroupper
    4e9293d660bf crypto: ccp - drop platform ifdef checks
    45b92921759a parisc: add missing export of __cmpxchg_u8()
    fd848dc7e2cf nilfs2: fix out-of-range warning
    2ed750b7ae1b ecryptfs: Fix buffer size for tag 66 packet
    25edcae667c3 firmware: raspberrypi: Use correct device for DMA mappings
    d8c42a6e61d8 mm/slub, kunit: Use inverted data to corrupt kmem cache
    d0f14ae223c2 crypto: bcm - Fix pointer arithmetic
    d142957377c2 openpromfs: finish conversion to the new mount API
    396bc5e54b4f nvmet: prevent sprintf() overflow in nvmet_subsys_nsid_exists()
    daa27fd2e17d ksmbd: fix uninitialized symbol 'share' in smb2_tree_connect()
    4f65f4defe4e epoll: be better about file lifetimes
    71de5fc303a7 nvmet: fix nvme status code when namespace is disabled
    ae451994ba9c nvmet-tcp: fix possible memory leak when tearing down a controller
    b6eaa53f95c2 nvme: cancel pending I/O if nvme controller is in terminal state
    2ab74bf2827b nvmet-auth: replace pr_debug() with pr_err() to report an error.
    57a23adbc4f7 nvmet-auth: return the error code to the nvmet_auth_host_hash() callers
    8871cab467a5 nvme: find numa distance only if controller has valid numa id
    214301d0be27 x86/mm: Remove broken vsyscall emulation code from the page fault code
    6c49ba4025ee drm/amdkfd: Flush the process wq before creating a kfd_process
    de23d906b265 drm/amd/display: Disable seamless boot on 128b/132b encoding
    fefcd1c75baf drm/amd/display: Fix DC mode screen flickering on DCN321
    b6fab47b64f6 drm/amd/display: Add VCO speed parameter for DCN31 FPU
    53a7d15331b0 drm/amd/display: Allocate zero bw after bw alloc enable
    e0760e38474c drm/amd/display: Add dtbclk access to dcn315
    422f3259ac65 drm/amdgpu: Fix VRAM memory accounting
    cc73306bf4bb ALSA: hda: intel-dsp-config: harden I2C/I2S codec detection
    9973c0587149 ASoC: da7219-aad: fix usage of device_get_named_child_node()
    ae14ac3bc076 platform/x86: ISST: Add Grand Ridge to HPM CPU list
    3a83d0d284b9 softirq: Fix suspicious RCU usage in __do_softirq()
    107c893e0a5b ALSA: emu10k1: make E-MU FPGA writes potentially more reliable
    af8dc212f74a bpf, x86: Fix PROBE_MEM runtime load check
    37c275727aef fpga: dfl-pci: add PCI subdevice ID for Intel D5005 card
    964794778606 Input: xpad - add support for ASUS ROG RAIKIRI
    59e9cd63a528 KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF
    02c36fe48100 ASoC: rt715-sdca: volume step modification
    be91170bee15 ASoC: rt715: add vendor clear control register
    91a0bd4e9c60 ASoC: cs35l41: Update DSP1RX5/6 Sources for DSP config
    968f6983d41e regulator: vqmmc-ipq4019: fix module autoloading
    5c0b06dca44b regulator: qcom-refgen: fix module autoloading
    b084d3f57748 ASoC: rt722-sdca: add headset microphone vrefo setting
    dace61d6dc59 ASoC: rt722-sdca: modify channel number to support 4 channels
    b642f447cfde ASoC: dt-bindings: rt5645: add cbj sleeve gpio property
    7904b066296a ASoC: rt5645: Fix the electric noise due to the CBJ contacts floating
    f6bb8d6c2a64 ASoC: acp: Support microphone from device Acer 315-24p
    58872c444adc ASoC: SOF: pcm: Restrict DSP D0i3 during S0ix to IPC3
    a73f1e25d581 ALSA: hda: cs35l56: Exit cache-only after cs35l56_wait_for_firmware_boot()
    3ad4d29b6554 regulator: irq_helpers: duplicate IRQ name
    08133330692c ASoC: Intel: bytcr_rt5640: Apply Asus T100TA quirk to Asus T100TAM too
    02580c6afd15 sched/isolation: Fix boot crash when maxcpus < first housekeeping CPU
    1bb875147883 selftests: sud_test: return correct emulated syscall value on RISC-V
    9208e9c8bd0f drm/etnaviv: fix tx clock gating on some GC7000 variants
    b2959fdd3af2 LoongArch: Lately init pmu after smp is online
    976b74fa6084 cpu: Ignore "mitigations" kernel parameter if CPU_MITIGATIONS=n
    d4ed9984871c Revert "net: txgbe: fix clk_name exceed MAX_DEV_ID limits"
    d6a2007376ca Revert "net: txgbe: fix i2c dev name cannot match clkdev"
    39cfce75168c drm/amdgpu/mes: fix use-after-free issue
    67aa2a7b83be drm/amdgpu: Fix the ring buffer size for queue VM flush
    bdbb7611dd2e drm/amdkfd: Add VRAM accounting for SVM migration
    7e1247995853 drm/amd/pm: Restore config space after reset
    04cf241fe5e5 drm/amdgpu: Update BO eviction priorities
    17f689f10fc0 drm/amd/display: Set color_mgmt_changed to true on unsuspend
    85f0812b6d5c net: usb: qmi_wwan: add Telit FN920C04 compositions
    ca2da54610f0 HID: mcp-2221: cancel delayed_work only when CONFIG_IIO is enabled
    e26d4063d223 dt-bindings: rockchip: grf: Add missing type to 'pcie-phy' node
    125c0dcc000f wifi: cfg80211: fix the order of arguments for trace events of the tx_rx_evt class
    ea2121cdc7ab wifi: mac80211: ensure beacon is non-S1G prior to extracting the beacon timestamp field
    0cfadb49ef90 wifi: mac80211: don't use rate mask for scanning
    09133f4b5651 KEYS: asymmetric: Add missing dependencies of FIPS_SIGNATURE_SELFTEST
    21c7e4587e29 KEYS: asymmetric: Add missing dependency on CRYPTO_SIG
    2f103287ef79 ALSA: Fix deadlocks with kctl removals at disconnection
    e644036a3e2b ALSA: core: Fix NULL module pointer assignment at card init
    8d04efceb46f ALSA: hda/realtek: fix mute/micmute LEDs don't work for ProBook 440/460 G11.
    5698ba69326c ksmbd: ignore trailing slashes in share paths
    6772584945b6 ksmbd: avoid to send duplicate oplock break notifications
    579a0c69794b fs/ntfs3: Break dir enumeration if directory contents error
    84906740dc56 fs/ntfs3: Fix case when index is reused during tree transformation
    e4fd2dce71fb fs/ntfs3: Taking DOS names into account during link counting
    df1f6ed23b51 fs/ntfs3: Remove max link count info display during driver init
    a8799662fed1 nilfs2: fix potential hang in nilfs_detach_log_writer()
    f81fd0061066 nilfs2: fix unexpected freezing of nilfs_segctor_sync()
    f9186bba4ea2 nilfs2: fix use-after-free of timer for log writer thread
    d65984358ac0 net: smc91x: Fix m68k kernel compilation for ColdFire CPU
    77237eabdcd9 net: lan966x: remove debugfs directory in probe() error path
    5cd17f0e74cb net: ti: icssg_prueth: Fix NULL pointer dereference in prueth_probe()
    f678c3c33655 tools/nolibc/stdlib: fix memory error in realloc()
    64f0c3bd2dd7 tools/latency-collector: Fix -Wformat-security compile warns
    622ab95fdcfa net: mana: Fix the extra HZ in mana_hwc_send_request
    af3274905b31 ring-buffer: Fix a race between readers and resize checks
    68222d7b4b72 r8169: Fix possible ring buffer corruption on fragmented Tx packets.
    766e3bacc7f9 Revert "r8169: don't try to disable interrupts if NAPI is, scheduled already"
    a9886aad5dfd io_uring: fail NOP if non-zero op flags is passed in
    68a767dd690b Input: try trimming too long modalias strings
    e4a1d0aa0d4d serial: 8520_mtk: Set RTS on shutdown for Rx in-band wakeup
    7e16930d4671 serial: 8250_bcm7271: use default_mux_rate if possible
    c6e1650cf5df speakup: Fix sizeof() vs ARRAY_SIZE() bug
    62c3763dcb03 tty: n_gsm: fix missing receive state reset after mode switch
    774d83b008ec tty: n_gsm: fix possible out-of-bounds in gsm0_receive()
    7b4881da5b19 ftrace: Fix possible use-after-free issue in ftrace_location()
    775de4e954cb selftests/ftrace: Fix BTFARG testcase to check fprobe is enabled correctly
    b1c2d09a40a5 x86/tsc: Trust initial offset in architectural TSC-adjust MSRs
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 537149dc41df976f504512c99e7bb5deafdd283c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5d18e5da09b889578fb1f004e41869a81e10081)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Richard Purdie
0ff605122e python3-jinja2: Upgrade 3.1.3 -> 3.1.4
Switch to use flit core since upstream changed.

They also changed the capitalisation under pypi.

The license didn't change but the file was renamed, probably as it wasn't
rst.

(From OE-Core rev: ac35432687624ad58ff6586446e5e73710658a68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e352680528b18c3cdae26233bef7cddc2771d42d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Archana Polampalli
35f96ab887 gstreamer: upgrade 1.22.11 -> 1.22.12
https://gstreamer.freedesktop.org/releases/1.22/#1.22.12

(From OE-Core rev: a99d2e4bde8aaab9e97a42c3b08fdd8b544b5fb5)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Hitendra Prajapati
402351d0e0 QEMU: Fix CVE-2024-3446 & CVE-2024-3567
Backport fixes for:

* CVE-2024-3446 - Upstream-Status: Backport from eb546a3f49  && 4f01537ced && fbeb0a160c && 1b2a52712b

* CVE-2024-3567 - Upstream-Status: Backport from 1cfe45956e

(From OE-Core rev: 9e22481ec84800b97d8908d57aed118895b16224)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Siddharth Doshi
e7a2a24cc7 OpenSSL: Security fix for CVE-2024-5535
Upstream-Status: Backport from [99fb785a5f]

CVE's Fixed:
CVE-2024-5535 openssl: SSL_select_next_proto buffer overread

(From OE-Core rev: 7d270bfe23cb5a543851ff6d3c9e273732a30865)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Jose Quaresma
15480684aa openssh: fix CVE-2024-6387
sshd(8) in Portable OpenSSH versions 8.5p1 to 9.7p1 (inclusive).
Race condition resulting in potential remote code execution.
A race condition in sshd(8) could allow remote code execution as root on non-OpenBSD systems.
This attack could be prevented by disabling the login grace timeout (LoginGraceTime=0 in sshd_config)
though this makes denial-of service against sshd(8) considerably easier.
For more information, please refer to the release notes [1] and the
report from the Qualys Security Advisory Team [2] who discovered the bug.

[1] https://www.openssh.com/txt/release-9.8
[2] https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt

References:
https://www.openssh.com/security.html

(From OE-Core rev: 39537bf4f9c0e25c63e984da367e6915da986ff5)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Mingli Yu
d0e754f058 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: 959b2e5deae18969ffe1e9d90c901928bc47e332)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
Deepthi Hemraj
10b59c3c54 llvm: Fix CVE-2024-0151
(From OE-Core rev: d89c0df4316a02d9b1857bf8844adfa7dbb315d5)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-09 06:02:55 -07:00
joshua Watt
7fb368604c classes/create-spdx-2.2: Fix SPDX Namespace Prefix
According to the SPDX documentation, it should be "spdxdocs" not
"spdxdoc"

[YOCTO #15398]

(From OE-Core rev: 9abcb18014020804738dfc7d278d7097679f4d19)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1b25413ced62dc2927dae57b8d16e67d15dc220)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:37 -07:00
Ross Burton
93a9928cd7 insane: handle dangling symlinks in the libdir QA check
The "libdir" QA check tries to open every file it finds as an ELF.  If
it finds a dangling symlink that looks like a library by the filename it
will try to open it and fail with FileNotFoundError error.  As this
dangling symlink probably points to a real file, silently absorb the
error.

[ YOCTO #13949 ]

(From OE-Core rev: 0c263b207a309e9cdf6f55ce72e3cc751041a47c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f044290f98ea66f2cecfbffd7d392dbc3d986da9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:37 -07:00
Ross Burton
ccebd36160 bash: fix configure checks that fail with GCC 14.1
These configure checks cause compiler errors with GCC 14.1, so they always
fail.  Backport fixes from upstream to solve this.

(From OE-Core rev: fbb297b34566b9cf7416b5ffeb296f892b5543a0)

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 921479032720707f4817e3398e516724bc48b33c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:37 -07:00
Ross Burton
8b4f4e2d06 libxcrypt: correct the check for a working libucontext.h
The test fails with GCC 14.1 due to an incompatible pointer assignment,
take a patch submitted upstream to fix this.

(From OE-Core rev: 367730034a65b5063092f5859f0164331f386f32)

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 054304ecb3a8a8ed523bd149f70ed468cf613178)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:37 -07:00
Ross Burton
3b11fd8602 expect: fix configure with GCC 14
The configure script has many fragments that fail to compile with GCC 14,
take a patch submitted upstream to fix these issues.

(From OE-Core rev: 5c6630e61ad85a4bf9eecd94005e14f0e34df463)

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 5c21ca789c288662aa3d307b30813cd03cc8c158)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:37 -07:00
Dmitry Baryshkov
e7dbf1a860 ffmpeg: backport patch to fix errors with GCC 14
On ARMv7 compilation of ffmpeg breaks if Vulkan support is enabled.
Backport a patch from the trunk to fix compilation issues:

| src/libavcodec/vulkan_av1.c: In function 'vk_av1_create_params':
| src/libavcodec/vulkan_av1.c:214:43: error: initialization of 'long long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   214 |         .videoSessionParametersTemplate = NULL,
|       |                                           ^~~~
| src/libavcodec/vulkan_av1.c:214:43: note: (near initialization for '(anonymous).videoSessionParametersTemplate')
| make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_av1.o] Error 1
| make: *** Waiting for unfinished jobs....
| src/libavcodec/vulkan_decode.c: In function 'ff_vk_decode_prepare_frame':
| src/libavcodec/vulkan_decode.c:191:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   191 |     vkpic->img_view_ref  = NULL;
|       |                          ^
| src/libavcodec/vulkan_decode.c:192:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   192 |     vkpic->img_view_out  = NULL;
|       |                          ^
| src/libavcodec/vulkan_decode.c:193:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   193 |     vkpic->img_view_dest = NULL;
|       |                          ^
| make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_decode.o] Error 1

(From OE-Core rev: 6b3ca9f5745c438de74ef4e2e041ee95583b8dc6)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52001cabd021b7c856acf426b668b99a72561de0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:37 -07:00
Dmitry Baryshkov
87c5aec978 ffmpeg: backport patches to use new Vulkan AV1 codec API
Backport two patches from ffmpeg git to fix compilation with the newest
Vulkan API.

(From OE-Core rev: 9dc5060abdc61e6a8a8a1ca44bb0aaf266d32271)

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 a9393391613cd81643744daf930eaabf2ced79b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:37 -07:00
Adithya Balakumar
49f2118d93 wic/partition.py: Set hash_seed for empty ext partition
Although setting hash_seed is handled for the rootfs plugin case, but
this is missed when deploying an empty ext partition.

(From OE-Core rev: a4e7334a4b87f1bb1947f6b10f71ddb445c91d0c)

Signed-off-by: Adithya Balakumar <adithya.balakumar@toshiba-tsip.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0202fb594fb05098cb8d8b6088e63beb40b5906e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:37 -07:00
Jonas Gorski
9ca4db21f4 linuxloader: add -armhf on arm only for TARGET_FPU 'hard'
There are two types of soft FPU options for arm, soft and softfp, and if
using the latter the wrong dynamic loader will be used.

E.g. go will link against ld-linux-armhf.so.3, but libc6 will only ship
a ld-linux.so.3, so go programs will fail to start.

Fix this by instead checking for TARGET_FPU being 'hard' and then
applying the suffix.

(From OE-Core rev: f8d96f091844bf4cc0fa3bd3104573533841259a)

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07b4c7a2bd23f8645810e13439e814caaaf9cd94)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:37 -07:00
Bruce Ashfield
6f9553277e linux-yocto/6.6: cfg: introduce Intel NPU fragment
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Naveen Saini
    Email: naveen.kumar.saini@intel.com
    Subject: features/intel-npu: introduce Intel NPU fragment
    Date: Wed, 15 May 2024 13:44:57 +0800

    Add config fragment for the  system with an 14th generation
    Intel CPU (Meteor Lake) or newer. It will allow users to
    enable Intel NPU (formerly called Intel VPU)
    which is a CPU-integrated inference accelerator for
    Computer Vision and Deep Learning applications.

    Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: d1810436ef70a5b0a011c53eb99735d8adb7a6e9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d01f4d2d7b95d6e8c65e5c9c5cef4b69cb079859)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:36 -07:00
Bruce Ashfield
9e6f0772ed linux-yocto/6.6: update to v6.6.32
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    91de249b6804 Linux 6.6.32
    3ffef551160a block: add a partscan sysfs attribute for disks
    d6b6dfff6cda block: add a disk_has_partscan helper
    fe4549b1d6ac Docs/admin-guide/mm/damon/usage: fix wrong example of DAMOS filter matching sysfs file
    71483049de80 docs: kernel_include.py: Cope with docutils 0.21
    1266e5a8f5bc admin-guide/hw-vuln/core-scheduling: fix return type of PR_SCHED_CORE_GET
    1c652e1e1067 KEYS: trusted: Do not use WARN when encode fails
    26c6d7dc8c6a remoteproc: mediatek: Make sure IPI buffer fits in L2TCM
    642069561ea5 serial: kgdboc: Fix NMI-safety problems from keyboard reset code
    40b963e45cbb usb: typec: tipd: fix event checking for tps6598x
    2f95dfb647a8 usb: typec: ucsi: displayport: Fix potential deadlock
    a202b26d9531 net: usb: ax88179_178a: fix link status when link is set to down/up
    ec96bcf5f96a usb: dwc3: Wait unconditionally after issuing EndXfer command
    71df2cb2869d binder: fix max_thread type inconsistency
    c364e7a34c85 drm/amdgpu: Fix possible NULL dereference in amdgpu_ras_query_error_status_helper()
    f9b877a7ee31 erofs: reliably distinguish block based and fscache mode
    3924179ba933 erofs: get rid of erofs_fs_context
    fcb05fee0006 bpf: Add missing BPF_LINK_TYPE invocations
    f70d849b679b kselftest: Add a ksft_perror() helper
    7b4bd57cf005 mmc: core: Add HS400 tuning in HS400es initialization
    e62835264d03 KEYS: trusted: Fix memory leak in tpm2_key_encode()
    ad3f7986c5a0 Bluetooth: L2CAP: Fix div-by-zero in l2cap_le_flowctl_init()
    cfe560c7050b Bluetooth: L2CAP: Fix slab-use-after-free in l2cap_connect()
    4d29fd53a0cb ice: remove unnecessary duplicate checks for VF VSI ID
    0ca683f921a9 ice: pass VSI pointer into ice_vc_isvalid_q_id
    3a7ac4902917 net: ks8851: Fix another TX stall caused by wrong ISR flag handling
    7e4f50dfc98c drm/amd/display: Fix division by zero in setup_dsc_config
    d4a079d1466d smb: smb2pdu.h: Avoid -Wflex-array-member-not-at-end warnings
    5a65254c4c4a ksmbd: add continuous availability share parameter
    07e76ea1799c cifs: Add tracing for the cifs_tcon struct refcounting
    2004e41cd2c4 smb: client: instantiate when creating SFU files
    01bce099af0f smb: client: fix NULL ptr deref in cifs_mark_open_handles_for_deleted_file()
    dbd2df36cd67 smb3: add trace event for mknod
    8aff8b8b177d smb311: additional compression flag defined in updated protocol spec
    a9aa7a776efc smb311: correct incorrect offset field in compression header
    c1f3c8204e6f cifs: Move some extern decls from .c files to .h
    39bdc4197acf ksmbd: fix potencial out-of-bounds when buffer offset is invalid
    9e4937cbc150 ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
    74dc3e5bf6e1 ksmbd: Fix spelling mistake "connction" -> "connection"
    27b40b7bfcd1 ksmbd: fix possible null-deref in smb_lazy_parent_lease_break_close
    8b2326963da7 cifs: remove redundant variable assignment
    1598a015c761 cifs: fixes for get_inode_info
    91cdeb0d4baf cifs: defer close file handles having RH lease
    8df4bcdb0a42 ksmbd: add support for durable handles v1/v2
    665e85883098 ksmbd: mark SMB2_SESSION_EXPIRED to session when destroying previous session
    eb4a05e3c34b smb: common: simplify compression headers
    fdd938b2b468 smb: common: fix fields sizes in compression_pattern_payload_v1
    e8aee4f4d2e3 smb: client: negotiate compression algorithms
    25f3604fcd62 smb3: add dynamic trace point for ioctls
    c057a809e128 smb: client: return reparse type in /proc/mounts
    582524019459 smb: client: set correct d_type for reparse DFS/DFSR and mount point
    97db41604555 smb: client: parse uid, gid, mode and dev from WSL reparse points
    7449d736bbbd smb: client: introduce SMB2_OP_QUERY_WSL_EA
    b93ac66fa236 smb: client: Fix a NULL vs IS_ERR() check in wsl_set_xattrs()
    df0a8a192510 smb: client: add support for WSL reparse points
    831ffbd1c7b5 smb: client: reduce number of parameters in smb2_compound_op()
    84c597f7f98c smb: client: fix potential broken compound request
    db0f1c0770bc smb: client: move most of reparse point handling code to common file
    c1468c7e0ab9 smb: client: introduce reparse mount option
    1e60bc0e9543 smb: client: retry compound request without reusing lease
    b6e27f7fc245 smb: client: do not defer close open handles to deleted files
    f93d145f9002 smb: client: reuse file lease key in compound operations
    cfb8f73da601 smb: client: get rid of smb311_posix_query_path_info()
    a90f37e3d7ac smb: client: parse owner/group when creating reparse points
    e4232010b13a smb3: update allocation size more accurately on write completion
    fff4045e712b smb: client: handle path separator of created SMB symlinks
    1b5f2928cc6b cifs: update the same create_guid on replay
    75417833bb3e ksmbd: Add kernel-doc for ksmbd_extract_sharename() function
    cdd7870a5fd5 cifs: set replay flag for retries of write command
    433042a91f93 cifs: commands that are retried should have replay flag set
    a5df7820310b smb: client: delete "true", "false" defines
    5cf3fddbd368 smb: Fix some kernel-doc comments
    b4ca2942a0a4 cifs: new mount option called retrans
    de2cadf4bffa smb: client: don't clobber ->i_rdev from cached reparse points
    6789c8387676 cifs: new nt status codes from MS-SMB2
    b96ea433fff4 cifs: pick channel for tcon and tdis
    36f8070c9bdb cifs: minor comment cleanup
    8358f46bef22 cifs: remove redundant variable tcon_exist
    67ed045c5f40 ksmbd: vfs: fix all kernel-doc warnings
    d4caa984c971 ksmbd: auth: fix most kernel-doc warnings
    42430638ace6 cifs: remove unneeded return statement
    8e6a3999e6d5 cifs: get rid of dup length check in parse_reparse_point()
    774c6452475e cifs: Pass unbyteswapped eof value into SMB2_set_eof()
    88e07de246fa smb3: Improve exception handling in allocate_mr_list()
    d53fcb485f4b cifs: fix in logging in cifs_chan_update_iface
    304ff3c1b07c smb: client: handle special files and symlinks in SMB3 POSIX
    870c73abef4b smb: client: cleanup smb2_query_reparse_point()
    00ecebcb86d8 smb: client: allow creating symlinks via reparse points
    a158bb66b137 smb: client: optimise reparse point querying
    02bcf865cc53 smb: client: allow creating special files via reparse points
    886b7fb4556d smb: client: extend smb2_compound_op() to accept more commands
    da70c1d3c584 smb: client: Fix minor whitespace errors and warnings
    abea3c9ac8c6 smb: client: introduce cifs_sfu_make_node()
    a7b537b3be9f cifs: fix use after free for iface while disabling secondary channels
    bb536892dadd Missing field not being returned in ioctl CIFS_IOC_GET_MNT_INFO
    210c8b9d496e smb3: minor cleanup of session handling code
    cc3035d092eb smb3: more minor cleanups for session handling routines
    b74c8d9be35a smb3: minor RDMA cleanup
    9c88aae1e44c cifs: print server capabilities in DebugData
    69a1669a6ba1 smb: use crypto_shash_digest() in symlink_hash()
    5b3c76351b49 Add definition for new smb3.1.1 command type
    c5c63108a868 SMB3: clarify some of the unused CreateOption flags
    6bd52f41d804 cifs: Add client version details to NTLM authenticate message
    e3d332aaf898 Linux 6.6.31
    9fd0198f7ef0 md: fix kmemleak of rdev->serial
    b02372814ad6 Revert "selftests/bpf: Add netkit to tc_redirect selftest"
    7e0a32287741 mm/hugetlb: fix DEBUG_LOCKS_WARN_ON(1) when dissolve_free_hugetlb_folio()
    845cf1c76987 btrfs: do not wait for short bulk allocation
    25777f3f4e1f keys: Fix overwrite of key expiration on instantiation
    9fda5aed60a0 dmaengine: idxd: add a write() method for applications to submit work
    8cacaaa47568 dmaengine: idxd: add a new security check to deal with a hardware erratum
    c516453577d0 VFIO: Add the SPR_DSA and SPR_IAX devices to the denylist
    7bcba557d5c3 Bluetooth: qca: fix firmware check error path
    6b63e0ef4d3c Bluetooth: qca: fix info leak when fetching fw build id
    ba307abed5e0 Bluetooth: qca: fix info leak when fetching board id
    9d23305f8610 Bluetooth: qca: generalise device address check
    c3a38d10b9ea Bluetooth: qca: fix NVM configuration parsing
    427281f9498e Bluetooth: qca: add missing firmware sanity checks
    2d8823700413 Bluetooth: qca: fix wcn3991 device address check
    3019a9d3d27b Bluetooth: qca: fix invalid device address check
    cc6f5aa151b3 eventfs: Do not treat events directory different than other directories
    0c56915c042a tracefs: Still use mount point as default permissions for instances
    5f91fc82794d tracefs: Reset permissions on remount if permissions are options
    100117279c1d ksmbd: do not grant v2 lease if parent lease key and epoch are not set
    329081691fc2 ksmbd: avoid to send duplicate lease break notifications
    b2ed54957161 ksmbd: off ipv6only for both ipv4/ipv6 binding
    8a5e88cbde3f spi: microchip-core-qspi: fix setting spi bus clock rate
    e9f867739b41 regulator: core: fix debugfs creation regression
    a2da0e5c516b nvme-pci: Add quirk for broken MSIs
    377f3a9a3d03 mm/userfaultfd: reset ptes when close() for wr-protected ones
    468971c3f4b8 mm: use memalloc_nofs_save() in page_cache_ra_order()
    73b58d9d0c8d selftests/mm: fix powerpc ARCH check
    513f8dc02eec x86/apic: Don't access the APIC when disabling x2APIC
    6555d7c06e7c hwmon: (pmbus/ucd9000) Increase delay from 250 to 500us
    b6dbfd5bcc26 net: fix out-of-bounds access in ops_init
    8d0ab6426189 arm64: dts: qcom: sa8155p-adp: fix SDHC2 CD pin configuration
    af8af93c6a4f drm/amd/display: Fix incorrect DSC instance for MST
    7be093e45215 drm/amd/display: Handle Y carry-over in VCP X.Y calculation
    ca82830e4533 drm/i915/bios: Fix parsing backlight BDB data
    be59b2d3d975 drm/i915/gt: Automate CCS Mode setting during engine resets
    b0624c032a02 drm/i915/audio: Fix audio time stamp programming for DP
    7b5fd3af4a25 drm/vmwgfx: Fix invalid reads in fence signaled events
    e10644f8ada4 drm/vmwgfx: Fix Legacy Display Unit
    306e99777886 drm/ttm: Print the memory decryption status just once
    4b4cff994a27 drm/amdkfd: don't allow mapping the MMIO HDP page with large pages
    1a88c18da464 Revert "drm/nouveau/firmware: Fix SG_DEBUG error with nvkm_firmware_ctor()"
    5e2af67d8445 drm/nouveau/firmware: Fix SG_DEBUG error with nvkm_firmware_ctor()
    636a47adcf74 mei: me: add lunar lake point M DID
    785c2392c51e clk: sunxi-ng: a64: Set minimum and maximum rate for PLL-MIPI
    547263745e15 clk: sunxi-ng: common: Support minimum and maximum rate
    ad066c9b0630 slimbus: qcom-ngd-ctrl: Add timeout for wait operation
    a69e1bdd777c dyndbg: fix old BUG_ON in >control parser
    ca3cb178678b ASoC: ti: davinci-mcasp: Fix race condition during probe
    f811ed9af993 ASoC: tegra: Fix DSPK 16-bit playback
    00d1a1bc1f82 net: bcmgenet: synchronize UMAC_CMD access
    51b72afb0db9 net: bcmgenet: synchronize use of bcmgenet_set_rx_mode()
    8b3845de02f9 net: bcmgenet: synchronize EXT_RGMII_OOB_CTRL access
    ef31b4647ee9 xtensa: fix MAKE_PC_FROM_RA second argument
    ffd4917c1edb tipc: fix UAF in error path
    f8a139656c95 e1000e: change usleep_range to udelay in PHY mdic access
    5d6ad8f8efea kmsan: compiler_types: declare __no_sanitize_or_inline
    5eba2638a28d iio: accel: mxc4005: Interrupt handling fixes
    762da5255680 iio: pressure: Fixes BME280 SPI driver data
    b79fc1882386 iio:imu: adis16475: Fix sync mode setting
    3bd0de0bb87d dt-bindings: iio: health: maxim,max30102: fix compatible check
    c57824d4fe07 workqueue: Fix selection of wake_cpu in kick_pool()
    daad878a509d mptcp: only allow set existing scheduler for net.mptcp.scheduler
    aa0c07c1f20e mptcp: ensure snd_nxt is properly initialized on connect
    ac6cf3ce9b7d mm/slab: make __free(kfree) accept error pointers
    6c9c7c1e63b1 maple_tree: fix mas_empty_area_rev() null pointer dereference
    6a911b8884c0 btrfs: set correct ram_bytes when splitting ordered extent
    e42004fd29e5 btrfs: add missing mutex_unlock in btrfs_relocate_sys_chunks()
    5e651695c3c7 firewire: ohci: fulfill timestamp for some local asynchronous transaction
    a34dd17da9d2 ALSA: hda/realtek: Fix mute led of HP Laptop 15-da3001TU
    789326cafbd1 usb: typec: tcpm: Check for port partner validity before consuming it
    b16abab1fb64 usb: typec: tcpm: unregister existing source caps before re-registration
    24e2f570f2c8 usb: typec: tcpm: clear pd_event queue in PORT_RESET
    000f99445553 usb: dwc3: core: Prevent phy suspend during init
    2d8466c9a8bb usb: xhci-plat: Don't include xhci.h
    1a15d6e242bd usb: gadget: f_fs: Fix a race condition when processing setup packets.
    73c05ad46bb4 usb: gadget: f_fs: Fix race between aio_cancel() and AIO request complete
    7a54e5052bde usb: gadget: uvc: use correct buffer size when parsing configfs lists
    2f2886aedeec usb: gadget: composite: fix OS descriptors w_value logic
    63533549ff53 USB: core: Fix access violation during port device removal
    7fce5501d7fc usb: ohci: Prevent missed ohci interrupts
    480c3abbba36 usb: Fix regression caused by invalid ep0 maxpacket in virtual SuperSpeed device
    d5f0c5ea3fc3 usb: typec: ucsi: Fix connector check on init
    4184b7d85422 usb: typec: ucsi: Check for notifications after init
    148ed8b4d64f Reapply "drm/qxl: simplify qxl_fence_wait"
    1fe60ee70943 firewire: nosy: ensure user_length is taken into account when fetching packet contents
    0b76a4f72362 btrfs: fix kvcalloc() arguments order in btrfs_ioctl_send()
    0c7ed3ed35ee drm/amdgpu: once more fix the call oder in amdgpu_ttm_move() v2
    52c1af381cb8 drm/amdgpu: Fix comparison in amdgpu_res_cpu_visible
    7e3030774431 drm/amd/display: Atom Integrated System Info v2_2 for DCN35
    883e4bbf06eb gpiolib: cdev: fix uninitialised kfifo
    309364bc3205 gpiolib: cdev: relocate debounce_period_us from struct gpio_desc
    95ca7c90eaf5 gpiolib: cdev: Fix use after free in lineinfo_changed_notify
    6c83a8f236ec dm/amd/pm: Fix problems with reboot/shutdown for some SMU 13.0.4/13.0.11 users
    1b9e8de483bc drm/connector: Add \n to message about demoting connector force-probes
    fa2d2e2d8eae drm/meson: dw-hdmi: add bandgap setting for g12
    dbe2cf9f09ab drm/meson: dw-hdmi: power up phy on device init
    7019a6416518 net: dsa: mv88e6xxx: add phylink_get_caps for the mv88e6320/21 family
    5c623fe05348 net: hns3: fix kernel crash when devlink reload during initialization
    5a0298f5001b net: hns3: fix port vlan filter not disabled issue
    f806911c220b net: hns3: use appropriate barrier function after setting a bit value
    5d73b414a08a net: hns3: release PTP resources if pf initialization failed
    8ed439067001 net: hns3: change type of numa_node_mask as nodemask_t
    06ce87195a05 net: hns3: direct return when receive a unknown mailbox message
    c9a5a9aa7a45 net: hns3: using user configure after hardware reset
    5df93c029a90 net/smc: fix neighbour and rtable leak in smc_ib_find_route()
    e31b25cc2066 ipv6: prevent NULL dereference in ip6_output()
    4b27116882f5 ipv6: annotate data-races around cnf.disable_ipv6
    d183f297cbb5 hsr: Simplify code for announcing HSR nodes timer setup
    1c2b0f0823f8 net-sysfs: convert dev->operstate reads to lockless ones
    8745a8d74ba1 ipv6: fib6_rules: avoid possible NULL dereference in fib6_rule_action()
    f39c49d06596 dt-bindings: net: mediatek: remove wrongly added clocks and SerDes
    1721afe2ad68 rxrpc: Only transmit one ACK per jumbo packet received
    fa6dbe25e211 rxrpc: Fix congestion control algorithm
    59881e57a722 rxrpc: Fix the names of the fields in the ACK trailer struct
    438d7ceb4523 selftests: test_bridge_neigh_suppress.sh: Fix failures due to duplicate MAC
    2ee2fc6786bc selftests/net: convert test_bridge_neigh_suppress.sh to run it in unique namespace
    68c8ba16ab71 ipv6: Fix potential uninit-value access in __ip6_make_skb()
    1ce60741d7e1 net: bridge: fix corrupted ethernet header on multicast-to-unicast
    6900f0ed0321 nfc: nci: Fix kcov check in nci_rx_work()
    ee9e39a6cb3c phonet: fix rtm_phonet_notify() skb allocation
    d4c6b1807ce6 hwmon: (corsair-cpro) Protect ccp->wait_input_report with a spinlock
    d5ad144fd1ef hwmon: (corsair-cpro) Use complete_all() instead of complete() in ccp_raw_event()
    7d1e7803cb1c hwmon: (corsair-cpro) Use a separate buffer for sending commands
    206003c748b8 rtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation
    ae87f661f3c1 net: ks8851: Queue RX packets in IRQ handler instead of disabling BHs
    955b5b6c54d9 Bluetooth: l2cap: fix null-ptr-deref in l2cap_chan_timeout
    1f7ebb69c1d6 Bluetooth: HCI: Fix potential null-ptr-deref
    a85a60e62355 Bluetooth: msft: fix slab-use-after-free in msft_do_close()
    012363cb1bec Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout
    6e48faad92be tcp: Use refcount_inc_not_zero() in tcp_twsk_unique().
    f47d0d32fa94 tcp: defer shutdown(SEND_SHUTDOWN) for TCP_SYN_RECV sockets
    ee0ce7573e50 ARM: 9381/1: kasan: clear stale stack poison
    4a9771c0fb5a xfrm: Preserve vlan tags for transport mode software GRO
    db71ca93259d qibfs: fix dentry leak
    9b332c72299f SUNRPC: add a missing rpc_stat for TCP TLS
    1c172ac7afe4 blk-iocost: do not WARN if iocg was already offlined
    8fb763886756 net:usb:qmi_wwan: support Rolling modules
    aff9dba5e8ce drm/radeon: silence UBSAN warning (v3)
    c06575055ea4 platform/x86: ISST: Add Granite Rapids-D to HPM CPU list
    1f4a2c7f4a54 drm/nouveau/dp: Don't probe eDP ports twice harder
    ca6b0d99cda0 gpio: lpc32xx: fix module autoloading
    1f9c976e942b fs/9p: drop inodes immediately on non-.L too
    427ede281390 clk: Don't hold prepare_lock when calling kref_put()
    ac259d3fa3e5 gpio: crystalcove: Use -ENOTSUPP consistently
    d77f56b649fc gpio: wcove: Use -ENOTSUPP consistently
    6a451fc5e6e6 powerpc/crypto/chacha-p10: Fix failure on non Power10
    48cf6a991431 9p: explicitly deny setlease attempts
    d1250e00e1fe fs/9p: fix the cache always being enabled on files with qid flags
    dbf68fd7e392 fs/9p: translate O_TRUNC into OTRUNC
    e55c601af3b1 fs/9p: only translate RWX permissions for plain 9P2000
    055ea43860e6 iommu: mtk: fix module autoloading
    08bedfbc1b50 smb3: fix broken reconnect when password changing on the server by allowing password rotation
    82f9e213b124 Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted
    6466a0f6d235 uio_hv_generic: Don't free decrypted memory
    a56fe6113263 hv_netvsc: Don't free decrypted memory
    8e62341f5c45 Drivers: hv: vmbus: Track decrypted status in vmbus_gpadl
    6123a4e8e25b Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails
    dce583c5bdc7 selftests: timers: Fix valid-adjtimex signed left-shift undefined behavior
    b6f6626528fe amd/amdkfd: sync all devices to wait all processes being evicted
    a624829bba27 drm/amdgpu: Fix VCN allocation in CPX partition
    951a498fa993 drm/amd/display: Skip on writeback when it's not applicable
    c0beff4e35af drm/amdgpu: implement IRQ_STATE_ENABLE for SDMA v4.4.2
    1e2c28e74a82 drm/amdgpu: Refine IB schedule error logging
    037e72e7d7d2 tools/power/turbostat: Fix uncore frequency file string
    f91955da8117 MIPS: scall: Save thread_info.syscall unconditionally on entry
    1061afd58184 gpu: host1x: Do not setup DMA for virtual devices
    ce0e99cae00e blk-iocost: avoid out of bounds shift
    2eab8da937db scsi: hisi_sas: Handle the NCQ error returned by D2H frame
    2f35afac2773 scsi: target: Fix SELinux error when systemd-modules loads the target module
    14e731533b39 memblock tests: fix undefined reference to `BIT'
    85907602db5f memblock tests: fix undefined reference to `panic'
    63e58e5aef23 memblock tests: fix undefined reference to `early_pfn_to_nid'
    54403a77c28b btrfs: always clear PERTRANS metadata during commit
    570bff14e740 btrfs: make btrfs_clear_delalloc_extent() free delalloc reserve
    9678a79d1406 tools/power turbostat: Fix warning upon failed /dev/cpu_dma_latency read
    8a91872a547a tools/power turbostat: Print ucode revision only if valid
    77619a7ace53 tools/power turbostat: Fix Bzy_MHz documentation typo
    52b3541b3513 tools/power turbostat: Increase the limit for fd opened
    95973a9b647c tools/power turbostat: Fix added raw MSR output
    5982887de60c firewire: ohci: mask bus reset interrupts between ISR and bottom half
    dec0c371b46a ata: sata_gemini: Check clk_enable() result
    9872ab5b1e0e vboxsf: explicitly deny setlease attempts
    2f11e24abcf7 net: bcmgenet: Reset RBUF on first open
    e1d38cde2b7b block: fix overflow in blk_ioctl_discard()
    c5d5160d7e00 ALSA: line6: Zero-initialize message buffers
    85bb85801910 scsi: ufs: core: Fix MCQ mode dev command timeout
    684500f29f01 scsi: libsas: Align SMP request allocation to ARCH_DMA_MINALIGN
    cf311e2486c7 scsi: ufs: core: WLUN suspend dev/link state error recovery
    47b5b69f4aee regulator: tps65132: Add of_match table
    de2a108def74 ASoC: SOF: Intel: hda-dsp: Skip IMR boot on ACE platforms in case of S3 suspend
    49ce8b629775 kbuild: Disable KCSAN for autogenerated *.mod.c intermediaries
    926e8bc0cfef selftests/ftrace: Fix event filter target_func selection
    608e13706c8b bpf: Check bloom filter map value size
    41dc67915966 drm/amdkfd: range check cp bad op exception interrupts
    d64496242370 drm/amdkfd: Check cgroup when returning DMABuf info
    1ea068f5b69e btrfs: return accurate error code on open failure in open_fs_devices()
    c885ab23206b scsi: bnx2fc: Remove spin_lock_bh while releasing resources after upload
    f09318244c6c scsi: mpi3mr: Avoid memcpy field-spanning write WARNING
    845d179992fc net: mark racy access on sk->sk_rcvbuf
    94f80a8ec15e wifi: iwlwifi: mvm: guard against invalid STA ID on removal
    b83db8e756de wifi: iwlwifi: read txq->read_ptr under lock
    99046794a617 wifi: mac80211: fix prep_connection error path
    ff9580efb5da wifi: cfg80211: fix rdev_dump_mpp() arguments order
    954a654a3377 wifi: mac80211: fix ieee80211_bss_*_flags kernel-doc
    6eb0d6e6d38c gfs2: Fix invalid metadata access in punch_hole
    e29758e73ef3 scsi: lpfc: Use a dedicated lock for ras_fwlog state
    e8bf2c05e8ad scsi: lpfc: Release hbalock before calling lpfc_worker_wake_up()
    8a1d8deaa40e scsi: lpfc: Replace hbalock with ndlp lock in lpfc_nvme_unregister_port()
    4aba3ca53ba4 scsi: lpfc: Update lpfc_ramp_down_queue_handler() logic
    5e6079164922 scsi: lpfc: Remove IRQF_ONESHOT flag from threaded IRQ handling
    76337eb8daee scsi: lpfc: Move NPIV's transport unregistration to after resource clean up
    ff54c87f32f2 scsi: ufs: core: Fix MCQ MAC configuration
    8d6a1c8e3de3 KVM: arm64: vgic-v2: Check for non-NULL vCPU in vgic_v2_parse_attr()
    d082321d0d73 KVM: arm64: vgic-v2: Use cpuid from userspace as vcpu_id
    f2a6b3ed20f2 swiotlb: initialise restricted pool list_head when SWIOTLB_DYNAMIC=y
    802b13b79ab1 powerpc/pseries/iommu: LPAR panics during boot up with a frozen PE
    3b59a759436a powerpc/pseries: make max polling consistent for longer H_CALLs
    0b82eb134d29 clk: sunxi-ng: h6: Reparent CPUX during PLL CPUX rate change
    a6df6bd30458 clk: qcom: smd-rpm: Restore msm8976 num_clk
    78b6092d7834 net: gro: add flush check in udp_gro_receive_segment
    af276a5ac8e9 net: gro: fix udp bad offset in socket lookup by adding {inner_}network_offset to napi_gro_cb
    7f7b0ebb37af net: gro: parse ipv6 ext headers without frag0 invalidation
    5db08343ddb1 ipv4: Fix uninit-value access in __ip_make_skb()
    fa695db33417 drm/panel: ili9341: Use predefined error codes
    1055cdd5750e drm/panel: ili9341: Respect deferred probe
    c6be5383fb83 drm/panel: ili9341: Correct use of device property APIs
    e28dd1e1bf3e s390/qeth: Fix kernel panic after setting hsuid
    935bcb52ec10 vxlan: Pull inner IP header in vxlan_rcv().
    614c5a5ae45a tipc: fix a possible memleak in tipc_buf_append
    73f81e5a2203 rxrpc: Clients must accept conn from any address
    cfe34d86ef97 net: core: reject skb_copy(_expand) for fraglist GSO skbs
    65fbc7a11d06 net: bridge: fix multicast-to-unicast with fraglist GSO
    a30659f1576d spi: fix null pointer dereference within spi_sync
    4fd8cd4154a2 drm/amdgpu: fix doorbell regression
    6cc5dde9bb95 net: dsa: mv88e6xxx: Fix number of databases for 88E6141 / 88E6341
    6792e5b48323 cxgb4: Properly lock TX queue for the selftest.
    84b38f488366 s390/cio: Ensure the copied buf is NUL terminated
    7db626d2730d ALSA: hda: intel-sdw-acpi: fix usage of device_get_named_child_node()
    76ae951d94e7 ASoC: meson: cards: select SND_DYNAMIC_MINORS
    8ad705b120ce ASoC: meson: axg-tdm-interface: manage formatters in trigger
    52a31a05c1c2 ASoC: meson: axg-card: make links nonatomic
    d7801bd9c89e ASoC: meson: axg-fifo: use threaded irq to check periods
    af8e6bbf66da ASoC: meson: axg-fifo: use FIELD helpers
    0ba4fd45991a vxlan: Add missing VNI filter counter update in arp_reduce().
    843210300967 vxlan: Fix racy device stats updates.
    a89e4db53569 net: qede: use return from qede_parse_actions()
    40fbad8885a0 net: qede: use return from qede_parse_flow_attr() for flow_spec
    b633de6ae98b net: qede: use return from qede_parse_flow_attr() for flower
    c1b9c6be4793 net: qede: sanitize 'rc' in qede_add_tc_flower_fltr()
    32ac5cac5de9 ALSA: emu10k1: fix E-MU dock initialization
    9fc627064211 ALSA: emu10k1: move the whole GPIO event handling to the workqueue
    d4b9262fb93e ALSA: emu10k1: factor out snd_emu1010_load_dock_firmware()
    8db345cfb6c6 ALSA: emu10k1: fix E-MU card dock presence monitoring
    c698e482457e Fix a potential infinite loop in extract_user_to_sg()
    53163e2adb93 s390/vdso: Add CFI for RA register to asm macro vdso_func
    23e25d2fc777 net l2tp: drop flow hash on forward
    696d18bb5972 nsh: Restore skb->{protocol,data,mac_header} for outer header in nsh_gso_segment().
    0a0285cee11c octeontx2-af: avoid off-by-one read from userspace
    e19478763154 bna: ensure the copied buf is NUL terminated
    e22e25820fa0 xdp: use flags field to disambiguate broadcast redirect
    487c4e9a553f s390/mm: Fix clearing storage keys for huge pages
    819c33d7751f s390/mm: Fix storage key clearing for guest huge pages
    27f69caa62aa ASoC: codecs: wsa881x: set clk_stop_mode1 flag
    6f85e9b7151a ASoC: Intel: avs: Set name of control as in topology
    54bfc9ef60c6 riscv, bpf: Fix incorrect runtime stats
    a554fef56c0b bpf, arm64: Fix incorrect runtime stats
    f75a57065570 spi: hisi-kunpeng: Delete the dump interface of data registers in debugfs
    9072aab6e8d6 spi: axi-spi-engine: fix version format string
    deccbe39b56f spi: axi-spi-engine: use common AXI macros
    3915124910c5 spi: axi-spi-engine: move msg state to new struct
    0174c1c4384c spi: axi-spi-engine: use devm_spi_alloc_host()
    03a7d3cf0496 spi: axi-spi-engine: simplify driver data allocation
    ab7722458e8c spi: spi-axi-spi-engine: Use helper function devm_clk_get_enabled()
    fe4bfff1cd72 bpf: Fix a verifier verbose message
    57b736fcbb0e nvme: fix warn output about shared namespaces without CONFIG_NVME_MULTIPATH
    0d34c688b00d ASoC: SOF: Intel: add default firmware library path for LNL
    180ffe229325 ASoC: SOF: Introduce generic names for IPC types
    b5a291e5591e regmap: Add regmap_read_bypassed()
    b397a0ab8582 bpf, skmsg: Fix NULL pointer dereference in sk_psock_skb_ingress_enqueue
    2166cb2e21f2 bpf, kconfig: Fix DEBUG_INFO_BTF_MODULES Kconfig definition
    79b9afd95e28 regulator: change devm_regulator_get_enable_optional() stub to return Ok
    bdeb1b446df0 regulator: change stubbed devm_regulator_get_enable to return Ok
    83fdf050ef03 regulator: mt6360: De-capitalize devicetree regulator subnodes
    026e24cf3173 pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()
    109b9ecdcb04 power: supply: mt6360_charger: Fix of_match for usb-otg-vbus regulator
    48e52633d519 power: rt9455: hide unused rt9455_boost_voltage_values
    fc8cbe3a58a0 pinctrl: baytrail: Fix selecting gpio pinctrl state
    8a1f89c98dcc nfs: Handle error of rpc_proc_register() in nfs_net_init().
    260333221cf0 nfs: make the rpc_stat per net namespace
    53a0365c9f9f nfs: expose /proc/net/sunrpc/nfs in net namespaces
    c4d324c414c2 sunrpc: add a struct rpc_stats arg to rpc_create_args
    30287d2018b4 pinctrl: mediatek: paris: Rework support for PIN_CONFIG_{INPUT,OUTPUT}_ENABLE
    d02587173690 pinctrl: mediatek: paris: Fix PIN_CONFIG_INPUT_SCHMITT_ENABLE readback
    558c8039fdf5 pinctrl: core: delete incorrect free in pinctrl_enable()
    70b145d68e27 pinctrl/meson: fix typo in PDM's pin name
    4b1357a2770e pinctrl: pinctrl-aspeed-g6: Fix register offset for pinconf of GPIOR-T
    a381ee26d7c7 Bluetooth: qca: add support for QCA2066
    2af84c46b9b8 eeprom: at24: fix memory corruption race condition
    4d5ace787273 eeprom: at24: Probe for DDR3 thermal sensor in the SPD case
    00d2715aaa8c rust: kernel: require `Send` for `Module` implementations
    244822c09b4f wifi: nl80211: don't free NULL coalescing rule
    a4dec33d27fb rust: macros: fix soundness issue in `module!` macro
    738ea6d9ca0a rust: module: place generated init_module() function in .init.text
    cce311f8bbbf mtd: limit OTP NVMEM cell parse to non-NAND devices
    26e2fe4cab10 nvmem: add explicit config option to read old syntax fixed OF cells
    ed56e266d3c6 dmaengine: Revert "dmaengine: pl330: issue_pending waits until WFP state"
    867818dd132e dmaengine: pl330: issue_pending waits until WFP state
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 8533605594fbf1a0e31373b69bde49f6c3a270cb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e904fb7891b4020e7820d0a21f666fc2dbd9b8b0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:36 -07:00
Bruce Ashfield
24c31cc544 linux-yocto/6.6: intel configuration changes
Integrating the following commit(s) to linux-yocto/.:

1/2 [
    Author: Naveen Saini
    Email: naveen.kumar.saini@intel.com
    Subject: features/intel-pinctrl: add pinctrl driver for Intel Meteor Lake
    Date: Thu, 9 May 2024 13:01:25 +0800

    Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/2 [
    Author: Naveen Saini
    Email: naveen.kumar.saini@intel.com
    Subject: bsp/intel-corei7-64: enable Intel IOMMU support
    Date: Thu, 9 May 2024 13:01:38 +0800

    Enable Intel IOMMU driver for intel-corei7-64 machine.

    Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: b6d9275c81e8abf3321b75b0bfe976d948e8bad7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1bf24b687f0cd4952eb75b95dd596aa3f11867d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:36 -07:00
Bruce Ashfield
f228d59a05 linux-yocto/6.6: update to v6.6.30
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    7c76aad68f6d kselftest: Add a ksft_perror() helper
    5697d159afef Linux 6.6.30
    15aa09d6d846 bounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS
    57c34bf73128 net/mlx5e: Advertise mlx5 ethernet driver updates sk_buff md_dst for MACsec
    6c3020dc817f macsec: Detect if Rx skb is macsec-related for offloading devices that update md_dst
    ee5dde3aa2fd macsec: Enable devices to advertise whether they update sk_buff md_dst during offloads
    bbc8486eb230 Revert "riscv: kdump: fix crashkernel reserving problem on RISC-V"
    be9857a4d280 ovl: fix memory leak in ovl_parse_param()
    3caf7f49f10f phy: qcom: qmp-combo: fix VCO div offset on v5_5nm and v6
    e3425674ff68 i2c: smbus: fix NULL function pointer dereference
    470d347b14b0 sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()
    2cf53d801da7 sched/eevdf: Fix miscalculation in reweight_entity() when se is not curr
    dc21662b5b34 sched/eevdf: Always update V if se->on_rq when reweighting
    73224a5d2180 phy: ti: tusb1210: Resolve charger-det crash if charger psy is unregistered
    b008e327fa57 riscv: Fix loading 64-bit NOMMU kernels past the start of RAM
    a0f0dbbb1bc4 riscv: Fix TASK_SIZE on 64-bit NOMMU
    e4c881d2127c riscv: fix VMALLOC_START definition
    f976eca36cdf dmaengine: idxd: Fix oops during rmmod on single-CPU platforms
    8e3c94767cad dma: xilinx_dpdma: Fix locking
    758071a35d9f dmaengine: idxd: Convert spinlock to mutex to lock evl workqueue
    0e532b993a05 phy: qcom: m31: match requested regulator name with dt schema
    1da7f6abd3ba phy: rockchip: naneng-combphy: Fix mux on rk3588
    743cf2f19d96 phy: rockchip-snps-pcie3: fix clearing PHP_GRF_PCIESEL_CON bits
    d3d3723d70c1 phy: rockchip-snps-pcie3: fix bifurcation on rk3588
    78fe49bd4259 phy: freescale: imx8m-pcie: fix pcie link-up instability
    73e4d4f6f7e2 phy: marvell: a3700-comphy: Fix hardcoded array size
    610f175d2e16 phy: marvell: a3700-comphy: Fix out of bounds read
    935d4c7cdc56 soundwire: amd: fix for wake interrupt handling for clockstop mode
    4b80c0260bde idma64: Don't try to serve interrupts when device is powered off
    6e98921f6f2f dmaengine: tegra186: Fix residual calculation
    3053b681b678 dmaengine: owl: fix register access functions
    2431b5f2650d mm: turn folio_test_hugetlb into a PageType
    25c5f2e05e8e x86/tdx: Preserve shared bit on mprotect()
    2b56188d9bfb phy: qcom: qmp-combo: Fix VCO div offset on v3
    c219ef43672d phy: qcom: qmp-combo: Fix register base for QSERDES_DP_PHY_MODE
    db4ecbf8ee43 mtd: diskonchip: work around ubsan link failure
    1d2809e5d918 udp: preserve the connected status if only UDP cmsg
    8986ea353956 fbdev: fix incorrect address computation in deferred IO
    b2916e14bd5c stackdepot: respect __GFP_NOLOCKDEP allocation flag
    fefe98d3afc4 net: b44: set pause params only when interface is up
    ca958a1b1552 ethernet: Add helper for assigning packet type when dest address does not match device address
    3ecf2249e6e4 ACPI: CPPC: Fix access width used for PCC registers
    6a8fda8a7339 ACPI: CPPC: Fix bit_offset shift in MASK_VAL() macro
    1b890ae474d1 ACPI: CPPC: Use access_width over bit_width for system memory accesses
    03170e657f62 irqchip/gic-v3-its: Prevent double free on error
    d7d7284c2a7c drm/amdgpu: Fix leak when GPU memory allocation fails
    65356a1cc496 drm/amdgpu: Assign correct bits for SDMA HDP flush
    b33d7aaa2d3d drm/amdgpu/sdma5.2: use legacy HDP flush for SDMA2/3
    9b338b25b388 arm64: dts: rockchip: enable internal pull-up for Q7_THRM# on RK3399 Puma
    e64c81111fe9 arm64: dts: qcom: sm8450: Fix the msi-map entries
    93cf1e2e32d2 arm64: dts: qcom: sc8280xp: add missing PCIe minimum OPP
    c15b5c6fabcb LoongArch: Fix access error when read fault on a write-only VMA
    2c733bb795dd LoongArch: Fix callchain parse error with kernel tracepoint events
    8292f4f8dd1b cpu: Re-enable CPU mitigations by default for !X86 architectures
    3a63cee1a5e1 btrfs: fix information leak in btrfs_ioctl_logical_to_ino()
    e498cc00e6b7 btrfs: scrub: run relocation repair when/only needed
    73aa8ea03ac9 btrfs: fix wrong block_start calculation for btrfs_drop_extent_map_range()
    5e2239fef688 btrfs: fallback if compressed IO fails for ENOSPC
    29e94f295bad HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up
    699f8958dece smb3: fix lock ordering potential deadlock in cifs_sync_mid_result
    0fcf7e219448 smb3: missing lock when picking channel
    39ad3d61d23e smb: client: Fix struct_group() usage in __packed structs
    92abee9c4201 mm: support page_mapcount() on page_has_type() pages
    1eb691e806e7 mm: create FOLIO_FLAG_FALSE and FOLIO_TYPE_OPS macros
    56b99a52229d mmc: sdhci-msm: pervent access to suspended controller
    f6c5d21db16a mm/hugetlb: fix missing hugetlb_lock for resv uncharge
    87fc30db0a2b mtd: rawnand: qcom: Fix broken OP_RESET_DEVICE command in qcom_misc_cmd_type_exec()
    67459f1a707a Bluetooth: qca: fix NULL-deref on non-serdev setup
    6b47cdeb786c Bluetooth: qca: fix NULL-deref on non-serdev suspend
    e0813f22c30b Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0bda:0x4853
    4eb706b1b443 Bluetooth: Fix type of len in {l2cap,sco}_sock_getsockopt_old()
    ece94c74e4bf rust: remove `params` from `module` macro example
    4805d764f904 kbuild: rust: force `alloc` extern to allow "empty" Rust files
    2eed4381ee41 kbuild: rust: remove unneeded `@rustc_cfg` to avoid ICE
    3a9337459645 rust: make mutually exclusive with CFI_CLANG
    c34a8052afe5 rust: init: remove impl Zeroable for Infallible
    37ca196aa4d8 rust: don't select CONSTRUCTORS
    3b1ce482e2e6 x86/cpu: Fix check for RDPKRU in __show_regs()
    cec11fa2eb51 fork: defer linking file vma until vma is fully initialized
    612fbf658803 selftests/seccomp: Handle EINVAL on unshare(CLONE_NEWPID)
    f4b1e2cc9fd4 selftests/seccomp: Change the syscall used in KILL_THREAD test
    003af8c23fca selftests/seccomp: user_notification_addfd check nextfd is available
    be383effaee3 Squashfs: check the inode number is not the invalid value of zero
    331b6339c485 squashfs: convert to new timestamp accessors
    ab65b0cf0324 drm/ttm: stop pooling cached NUMA pages v2
    ded1ffea5213 mm, treewide: introduce NR_PAGE_ORDERS
    4c5eaf0cad27 drm/amdgpu: fix visible VRAM handling during faults
    f85a55fb87c2 drm/amdgpu: add shared fdinfo stats
    a4ae24cd04a8 drm: add drm_gem_object_is_shared_for_memory_stats() helper
    9e898211704c mm/madvise: make MADV_POPULATE_(READ|WRITE) handle VM_FAULT_RETRY properly
    49db746d3988 mm/gup: explicitly define and check internal GUP flags, disallow FOLL_TOUCH
    67d2212b6b89 KVM: x86/pmu: Set enable bits for GP counters in PERF_GLOBAL_CTRL at "RESET"
    6393087d931d KVM: x86/pmu: Zero out PMU metadata on AMD if PMU is disabled
    753a277ea086 af_unix: Suppress false-positive lockdep splat for spin_lock() in __unix_gc().
    4e40e624961a tls: fix lockless read of strp->msg_ready in ->poll
    77df3da37d42 net: ethernet: ti: am65-cpts: Fix PTPv1 message type on TX packets
    740717774dc3 ice: fix LAG and VF lock dependency in ice_reset_vf()
    2f7cc2dfc159 iavf: Fix TC config comparison with existing adapter TC config
    a91892696f58 i40e: Report MFS in decimal base instead of hex
    8d6105f63788 i40e: Do not use WQ_MEM_RECLAIM flag for workqueue
    94b00cd6b89b net: ti: icssg-prueth: Fix signedness bug in prueth_init_rx_chns()
    9dfe29373391 net: phy: dp83869: Fix MII mode failure
    8260c980aee7 netfilter: nf_tables: honor table dormant flag from netdev release event path
    cf1a368d190a ARM: dts: imx6ull-tarragon: fix USB over-current polarity
    62041d20f92e eth: bnxt: fix counting packets discarded due to OOM and netpoll
    de1aaefa75be mlxsw: spectrum_acl_tcam: Fix memory leak when canceling rehash work
    ab4ecfb62733 mlxsw: spectrum_acl_tcam: Fix incorrect list API usage
    e890456051fe mlxsw: spectrum_acl_tcam: Fix warning during rehash
    0ae8ff7b6d42 mlxsw: spectrum_acl_tcam: Fix memory leak during rehash
    3da432f3a3d3 mlxsw: spectrum_acl_tcam: Rate limit error message
    311eeaa7b9e2 mlxsw: spectrum_acl_tcam: Fix possible use-after-free during rehash
    feabdac2057e mlxsw: spectrum_acl_tcam: Fix possible use-after-free during activity update
    136fc524eccd mlxsw: spectrum_acl_tcam: Fix race during rehash delayed work
    79736f57da3c mlxsw: spectrum_acl_tcam: Fix race in region ID allocation
    99a9e7fbaf7f mlxsw: Use refcount_t for reference counting
    eaa5e164a211 net: openvswitch: Fix Use-After-Free in ovs_ct_exit
    36054132dfb0 ipvs: Fix checksumming on GSO of SCTP packets
    cd212ca265b3 Bluetooth: qca: set power_ctrl_enabled on NULL returned by gpiod_get_optional()
    1e9a69f247f9 Bluetooth: hci_sync: Using hci_cmd_sync_submit when removing Adv Monitor
    80dfef128cb9 Bluetooth: btusb: mediatek: Fix double free of skb in coredump
    882d614ac6bf Bluetooth: MGMT: Fix failing to MGMT_OP_ADD_UUID/MGMT_OP_REMOVE_UUID
    62e3a7cbd8e6 Bluetooth: hci_event: Fix sending HCI_OP_READ_ENC_KEY_SIZE
    190d33b0a634 Bluetooth: btusb: Fix triggering coredump implementation for QCA
    e4ce6ebc6ea1 gpio: tegra186: Fix tegra186_gpio_is_accessible() check
    2497bebf3110 net: phy: mediatek-ge-soc: follow netdev LED trigger semantics
    2aacd4de4547 net: gtp: Fix Use-After-Free in gtp_dellink
    209967f5f06e net: usb: ax88179_178a: stop lying about skb->truesize
    8240c7308c94 ipv4: check for NULL idev in ip_route_use_hint()
    5e53816d0f87 net: fix sk_memory_allocated_{add|sub} vs softirqs
    fe1e83811c4f net: make SK_MEMORY_PCPU_RESERV tunable
    6a65f015ee48 tools: ynl: don't ignore errors in NLMSG_DONE messages
    4fee8fa86a15 ax25: Fix netdev refcount issue
    cffee39d3615 NFC: trf7970a: disable all regulators on removal
    0142cbb87cf6 net: dsa: mv88e6xx: fix supported_interfaces setup in mv88e6250_phylink_get_caps()
    b50bb5039223 cxl/core: Fix potential payload size confusion in cxl_mem_get_poison()
    e33625b9b598 bnxt_en: Fix the PCI-AER routines
    96ef6582223a bnxt_en: refactor reset close code
    7e8e0e0ea4a2 bridge/br_netlink.c: no need to return void function
    d68dc711d84f icmp: prevent possible NULL dereferences from icmp_build_probe()
    1fb855ae29c0 ARM: dts: microchip: at91-sama7g5ek: Replace regulator-suspend-voltage with the valid property
    94346efd78e8 mlxsw: core_env: Fix driver initialization with old firmware
    ac60e9041177 mlxsw: core: Unregister EMAD trap using FORWARD action
    09040baf8779 net: bcmasp: fix memory leak when bringing down interface
    b5fa073ae9da vxlan: drop packets from invalid src-address
    3ccbec645deb net: libwx: fix alloc msix vectors failed
    21221985378d wifi: mac80211: fix unaligned le16 access
    83a137e6a273 wifi: mac80211: remove link before AP
    115cd0965446 wifi: mac80211_hwsim: init peer measurement result
    1960e9e9c215 drm/gma500: Remove lid code
    bd7e8e5f3031 wifi: iwlwifi: mvm: return uid from iwl_mvm_build_scan_cmd
    2565820d72ee wifi: iwlwifi: mvm: remove old PASN station when adding a new one
    154be74e589c wifi: mac80211: split mesh fast tx cache into local/proxied/forwarded
    1ba4d2adf1aa wifi: mac80211: clean up assignments to pointer cache.
    80ea4ee9f99c ARC: [plat-hsdk]: Remove misplaced interrupt-cells property
    37e204285732 gpio: tangier: Use correct type for the IRQ chip data
    4de13788ee60 arm64: dts: qcom: sc8180x: Fix ss_phy_irq for secondary USB controller
    9f9d12a8153a arm64: dts: rockchip: regulator for sd needs to be always on for BPI-R2Pro
    ff3e2ca62bd7 arm64: dts: mediatek: mt2712: fix validation errors
    ed427ce58d44 arm64: dts: mediatek: mt7986: prefix BPI-R3 cooling maps with "map-"
    81559c9de353 arm64: dts: mediatek: mt7986: drop invalid thermal block clock
    5a3aa5df8663 arm64: dts: mediatek: mt7986: reorder nodes
    76bb245892ce arm64: dts: mediatek: mt7986: drop "#reset-cells" from Ethernet controller
    b42af715c014 arm64: dts: mediatek: mt7986: drop invalid properties from ethsys
    b626cfb65159 arm64: dts: mediatek: mt7986: reorder properties
    7327c4f0884c arm64: dts: mediatek: mt7622: drop "reset-names" from thermal block
    847afa33a2be arm64: dts: mediatek: mt7622: fix ethernet controller "compatible"
    999d7695d85e arm64: dts: mediatek: mt7622: fix IR nodename
    837f0b9ae29e arm64: dts: mediatek: mt7622: fix clock controllers
    13f40798f1a7 arm64: dts: mediatek: mt8183-kukui: Use default min voltage for MT6358
    a594104da204 arm64: dts: mediatek: mt8195-cherry: Update min voltage constraint for MT6315
    9d0b70b5b2b5 arm64: dts: mediatek: mt8192-asurada: Update min voltage constraint for MT6315
    0c29f85ad1d7 arm64: dts: mediatek: cherry: Describe CPU supplies
    a61f1a579960 arm64: dts: mediatek: cherry: Add platform thermal configuration
    2928d2baf24e arm64: dts: mediatek: mt8195: Add missing gce-client-reg to mutex1
    49785030e34f arm64: dts: mediatek: mt8195: Add missing gce-client-reg to mutex
    346ffd2d39c8 arm64: dts: mediatek: mt8195: Add missing gce-client-reg to vpp/vdosys
    550ad9aa3ac9 arm64: dts: mediatek: mt8192: Add missing gce-client-reg to mutex
    88b162518b86 arm64: dts: mediatek: mt8183: Add power-domains properity to mfgcfg
    4142a160b08c arm64: dts: rockchip: Remove unsupported node from the Pinebook Pro dts
    11c51d2944df arm64: dts: rockchip: enable internal pull-up on PCIE_WAKE# for RK3399 Puma
    6eb4c12f1152 arm64: dts: rockchip: fix alphabetical ordering RK3399 puma
    5fa8b9f97b9c arm64: dts: rockchip: enable internal pull-up on Q7_USB_ID for RK3399 Puma
    82fe6445df8b arm64: dts: rockchip: set PHY address of MT7531 switch to 0x1f
    4fb8d6e8e26c HID: logitech-dj: allow mice to use all types of reports
    b7e3f0cbe1d7 HID: intel-ish-hid: ipc: Fix dev_err usage with uninitialized dev->devc
    fc1860a1bf6c cifs: reinstate original behavior again for forceuid/forcegid
    551496743a57 smb: client: fix rename(2) regression against samba
    4a5c16d06593 cifs: Fix reacquisition of volume cookie on still-live connection
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 5f252a594eaf30d5da0e26d081a8937ec07bd6c6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 94bc5c798ea701332575cb66a546a4f1e1224d90)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:36 -07:00
Bruce Ashfield
3406579951 linux-yocto/6.6: fix kselftest failures
Integrating the following commit(s) to linux-yocto/6.6:

1/1 [
    Author: Mark Brown
    Email: broonie@kernel.org
    Subject: kselftest: Add a ksft_perror() helper
    Date: Thu, 28 Sep 2023 16:38:11 +0200

    The standard library perror() function provides a convenient way to print
    an error message based on the current errno but this doesn't play nicely
    with KTAP output. Provide a helper which does an equivalent thing in a KTAP
    compatible format.

    nolibc doesn't have a strerror() and adding the table of strings required
    doesn't seem like a good fit for what it's trying to do so when we're using
    that only print the errno.

    Signed-off-by: Mark Brown <broonie@kernel.org>
    Reviewed-by: Kees Cook <keescook@chromium.org>
    Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 7074f115d1f13db346d2b680f5b5bc3f602824e8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d747dabd7bf59b653730f245d134931d143f60f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:36 -07:00
Richard Purdie
24483b4d42 linux-yocto-custom: Fix comment override syntax
The override format in a comment is incorrect, fix it.

(From OE-Core rev: 7249f532efee968522a2d0a3fe02c9f2dd7c03fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df5875cb22585f10a2e8782c0534ae4625e85bb0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:36 -07:00
Bruce Ashfield
c3b5a35412 linux-yocto/6.6: update CVE exclusions (6.6.29)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 8Apr24
        Date: Tue, 9 Apr 2024 18:19:11 -0400

    ]

(From OE-Core rev: fa67b0075d17b1bae7400e9c9bbe5855bf11ae60)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a6660bc4980ad8161522075e3964fa400817f27f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:36 -07:00
Bruce Ashfield
1b87dbafb1 linux-yocto/6.6: update to v6.6.29
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    a3463f081046 Linux 6.6.29
    63cc4f14bb03 selftests: kselftest: Fix build failure with NOLIBC
    c67f926ec870 thunderbolt: Reset only non-USB4 host routers in resume
    b0f4478838be PCI/ASPM: Fix deadlock when enabling ASPM
    3b629239773b ksmbd: common: use struct_group_attr instead of struct_group for network_open_info
    4cbb88351b55 ksmbd: clear RENAME_NOREPLACE before calling vfs_rename
    5c20b242d4fe ksmbd: validate request buffer size in smb2_allocate_rsp_buf()
    3160d9734453 ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf
    6355b468e2a7 powerpc/ftrace: Ignore ftrace locations in exit text sections
    43a71c1b4b3a virtio_net: Do not send RSS key if it is not supported
    bd41ee1efd47 net: dsa: mt7530: fix enabling EEE on MT7531 switch on all boards
    21b9d89d9342 net: dsa: mt7530: fix improper frames on all 25MHz and 40MHz XTAL MT7530
    2382eae66b19 nilfs2: fix OOB in nilfs_set_de_type
    e46d3be714ad bootconfig: use memblock_free_late to free xbc memory to buddy
    a019b44b1bc6 nouveau: fix instmem race condition around ptr stores
    5d2f587aef37 drm/vmwgfx: Fix crtc's atomic check conditional
    f1769cb2c912 drm/vmwgfx: Sort primary plane formats by order of preference
    65674218b43f drm/vmwgfx: Fix prime import/export
    db74904a93a3 drm/amdgpu: remove invalid resource->start check v2
    aa02d43367a9 drm/amdkfd: Fix memory leak in create_process failure
    ef13eeca7c79 drm/amdgpu: validate the parameters of bo mapping operations more clearly
    885d4c31a432 fuse: fix leaked ENOSYS error on first statx call
    cc10db003033 mm/shmem: inline shmem_is_huge() for disabled transparent hugepages
    882e1180c83f mm/memory-failure: fix deadlock when hugetlb_optimize_vmemmap is enabled
    c85106fb08f4 mm,swapops: update check in is_pfn_swap_entry for hwpoison entries
    db01bfbdddd8 mm/userfaultfd: allow hugetlb change protection upon poison entry
    81cf85ae4f2d init/main.c: Fix potential static_command_line memory overflow
    31f815cb4360 arm64: hibernate: Fix level3 translation fault in swsusp_save()
    e972b6a70126 arm64/head: Disable MMU at EL2 before clearing HCR_EL2.E2H
    cdf811a93747 KVM: x86/mmu: Write-protect L2 SPTEs in TDP MMU when clearing dirty status
    947d518e0daf KVM: x86/pmu: Do not mask LVTPC when handling a PMI on AMD platforms
    037e48ceccf1 KVM: x86/pmu: Disable support for adaptive PEBS
    bdda0c17fe90 KVM: x86: Snapshot if a vCPU's vendor model is AMD vs. Intel compatible
    7fce9f0f4810 sched: Add missing memory barrier in switch_mm_cid
    ac107356aabc fs: sysfs: Fix reference leak in sysfs_break_active_protection()
    8defb1d22ba0 speakup: Avoid crash on very long word
    2a19c2a5caf0 mei: me: disable RPL-S on SPS and IGN firmwares
    f356fd0cbd9c usb: gadget: f_ncm: Fix UAF ncm object at re-bind after usb ep transport error
    aa61f87fd18b usb: Disable USB3 LPM at shutdown
    8a139fa44870 usb: dwc2: host: Fix dereference issue in DDMA completion flow.
    2ff436b63998 Revert "usb: cdc-wdm: close race between read and workqueue"
    d841a93b5a24 USB: serial: option: add Telit FN920C04 rmnet compositions
    0772a60994ee USB: serial: option: add Rolling RW101-GL and RW135-GL support
    b39ecc8c97ab USB: serial: option: support Quectel EM060K sub-models
    aeb7de0a3840 USB: serial: option: add Lonsung U8300/U9300 product
    f91606d71fab USB: serial: option: add support for Fibocom FM650/FG650
    590d0e130757 USB: serial: option: add Fibocom FM135-GL variants
    83290f9f0719 serial: core: Fix missing shutdown and startup for serial base port
    7ae7104d5434 serial: core: Clearing the circular buffer before NULLifying it
    12e9459ddaea serial: stm32: Reset .throttled state in .startup()
    9f9be0ec3130 serial: stm32: Return IRQ_NONE in the ISR if no handling happend
    52aaf1ff1462 serial/pmac_zilog: Remove flawed mitigation for rx irq flood
    5f40fd6ca2cf serial: mxs-auart: add spinlock around changing cts state
    59f33af97961 comedi: vmk80xx: fix incomplete endpoint checking
    9954c514424f thunderbolt: Fix wake configurations after device unplug
    3238b23e661e thunderbolt: Avoid notify PM core about runtime PM resume
    1d7f1049035b binder: check offset alignment in binder_get_object()
    ce2ec45c7817 ALSA: hda/realtek - Enable audio jacks of Haier Boyue G42 with ALC269VC
    90782cf17e9c ALSA: hda/realtek: Add quirks for Huawei Matebook D14 NBLB-WAX9N
    05e6bfd31b06 ALSA: hda/tas2781: Add new vendor_id and subsystem_id to support ThinkPad ICE-1
    1da8f46f1332 ALSA: hda/tas2781: correct the register for pow calibrated data
    02d32d5acb13 ALSA: seq: ump: Fix conversion from MIDI2 to MIDI1 UMP messages
    388a7302beda net/mlx5: E-switch, store eswitch pointer before registering devlink_param
    00cf046afe34 x86/cpufeatures: Fix dependencies for GFNI, VAES, and VPCLMULQDQ
    5facc0428bd2 x86/bugs: Fix BHI retpoline check
    c0dcd5c072e2 clk: mediatek: Do a runtime PM get on controllers during probe
    2c077fdfd09d clk: Get runtime PM before walking tree for clk_summary
    888a44f261ae clk: Show active consumers of clocks in debugfs
    60ff482c4205 clk: Get runtime PM before walking tree during disable_unused
    731ffd8dea1c clk: Initialize struct clk_core kref earlier
    02a516cbda04 clk: Remove prepare_lock hold assertion in __clk_release()
    d0d04efa2e36 interconnect: Don't access req_list while it's being manipulated
    d7cc1d721564 platform/x86/amd/pmc: Extend Framework 13 quirk to more BIOSes
    3adcbec4dc62 usb: new quirk to reduce the SET_ADDRESS request timeout
    26cc5cb00310 usb: xhci: Add timeout argument in address_device USB HCD callback
    ac1ddbed5b2e drm: panel-orientation-quirks: Add quirk for Lenovo Legion Go
    771ad4dfbdbb ALSA: scarlett2: Rename scarlett_gen2 to scarlett2
    4afc65cf78bd PCI: Simplify pcie_capability_clear_and_set_word() to ..._clear_word()
    d9a28916ff35 PCI/DPC: Use FIELD_GET()
    4ef929059230 ALSA: scarlett2: Add Focusrite Clarett 2Pre and 4Pre USB support
    92088c488e20 ALSA: scarlett2: Add Focusrite Clarett+ 2Pre and 4Pre support
    2c57a5c68f49 ALSA: scarlett2: Add correct product series name to messages
    9c48e24cb71b ALSA: scarlett2: Default mixer driver to enabled
    3c1d704d9266 thunderbolt: Reset topology created by the boot firmware
    90cdb98254ef thunderbolt: Make tb_switch_reset() support Thunderbolt 2, 3 and USB4 routers
    dc32d754d7cc thunderbolt: Introduce tb_path_deactivate_hop()
    6c24584aface thunderbolt: Introduce tb_port_reset()
    ac630fb8dbb5 ASoC: ti: Convert Pandora ASoC to GPIO descriptors
    a95f279ecd33 ALSA: scarlett2: Add support for Clarett 8Pre USB
    a299e0bf4d2d ALSA: scarlett2: Move USB IDs out from device_info struct
    259486b5bdc6 drm/radeon: make -fstrict-flex-arrays=3 happy
    158010bf1a84 drm/panel: visionox-rm69299: don't unregister DSI device
    6690cc2732e2 drm: nv04: Fix out of bounds access
    2df56f4ea769 s390/cio: fix race condition during online processing
    e43c12451a7d s390/qdio: handle deferred cc1
    c418d7a675d8 perf lock contention: Add a missing NULL check
    910be4f9f805 RDMA/mlx5: Fix port number for counter query in multi-port configuration
    b42852826323 RDMA/cm: Print the old state when cm_destroy_id gets timeout
    99a7ccc4e038 RDMA/rxe: Fix the problem "mutex_destroy missing"
    75170320459a drm/i915/mst: Limit MST+DSC to TGL+
    7ba7f7074006 net: ethernet: ti: am65-cpsw-nuss: cleanup DMA Channels before using them
    6855f724f196 net: ethernet: mtk_eth_soc: fix WED + wifi reset
    cd81184797a0 gpiolib: swnode: Remove wrong header inclusion
    121fb75414ab s390/ism: Properly fix receive message buffer allocation
    f8de1b6208bf net: dsa: mt7530: fix port mirroring for MT7988 SoC switch
    d1be39605392 net: dsa: mt7530: fix mirroring frames received on local port
    40f4ced305c6 tun: limit printing rate when illegal packet received by tun dev
    0ada9981cdfe ice: Fix checking for unsupported keys on non-tunnel device
    8d2e34e4e20e ice: tc: allow zero flags in parsing tc flower
    91efeadfa20e ice: tc: check src_vsi in case of traffic from VF
    93d565ebe41f net: stmmac: Fix IP-cores specific MAC capabilities
    178856bf1f50 net: stmmac: Fix max-speed being ignored on queue re-init
    0580dcc53a7f net: stmmac: Apply half-duplex-less constraint for DW QoS Eth only
    447e00fb04f7 octeontx2-pf: fix FLOW_DIS_IS_FRAGMENT implementation
    622479d10047 net: change maximum number of UDP segments to 128
    48c4bb81df19 net/mlx5e: Prevent deadlock while disabling aRFS
    c7fbc7bb48fc net/mlx5: Lag, restore buckets number to default after hash LAG deactivation
    ff928d7bb1d8 net: sparx5: flower: fix fragment flags handling
    022d81a709cd af_unix: Don't peek OOB data without MSG_OOB.
    aea3cb8cfb30 af_unix: Call manage_oob() for every skb in unix_stream_read_generic().
    4ed82dd368ad netfilter: flowtable: incorrect pppoe tuple
    a2471d271042 netfilter: flowtable: validate pppoe header
    ebf7c9746f07 netfilter: nft_set_pipapo: do not free live element
    3f59ac29dea0 netfilter: br_netfilter: skip conntrack input hook for promisc packets
    ad333578f736 netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()
    a9ebf340d123 netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()
    5562a51c6e4e scsi: ufs: qcom: Add missing interconnect bandwidth values for Gear 5
    ac4ad513de4f arm64: tlb: Fix TLBI RANGE operand
    663f72cf95ed arm64/mm: Modify range-based tlbi to decrement scale
    bc835b838999 net: usb: ax88179_178a: avoid writing the mac address before first reading
    37e14dbe8c8f scsi: core: Fix handling of SCMD_FAIL_IF_RECOVERING
    998f52a86055 random: handle creditable entropy from atomic process context
    9f39e9e367b3 selftests/ftrace: Limit length in subsystem-enable tests
    5b84dab87cdb SUNRPC: Fix rpcgss_context trace event acceptor field
    5e3eb862df9f drm/i915/vma: Fix UAF on destroy against retire race
    63fb4af8a069 io_uring: Fix io_cqring_wait() not restoring sigmask on get_timespec64() failure
    390a71e361f4 media: videobuf2: request more buffers for vb2_read
    bef71390ac37 drm/msm/dpu: populate SSPP scaler block version
    fe09b8d26e1a selftests: timers: Fix posix_timers ksft_print_msg() warning
    dbfb5232bd83 ceph: redirty page before returning AOP_WRITEPAGE_ACTIVATE
    985b9ee8a2cf ceph: rename _to_client() to _to_fs_client()
    2e2023e9a4c2 ceph: pass the mdsc to several helpers
    a17236f99f49 drm/amd/display: Do not recursively call manual trigger programming
    c626db7151bf selftests/timers/posix_timers: Reimplement check_timer_distribution()
    b04cae49a5e7 selftests: timers: Convert posix_timers test to generate KTAP output
    9d106175b7a0 drm/i915: Disable live M/N updates when using bigjoiner
    ccb0934aeb3f drm/i915: Adjust seamless_m_n flag behaviour
    deaeb5b64c5b drm/i915: Enable VRR later during fastsets
    7e50ac4203d6 drm/i915: Extract intel_crtc_vblank_evade_scanlines()
    e19dc8c49e97 drm/i915: Change intel_pipe_update_{start,end}() calling convention
    51cc733fb48e drm/i915/cdclk: Fix voltage_level programming edge case
    6711b0817a38 drm/i915/mst: Reject FEC+MST on ICL
    6b625d2743b4 drm/i915: Fix FEC pipe A vs. DDI A mixup
    488d4cbc6f28 smb: client: refresh referral without acquiring refpath_lock
    645f332c6b63 smb: client: guarantee refcounted children from parent session
    441786be0c19 smb3: show beginning time for per share stats
    6202996a1c18 smb: client: fix UAF in smb2_reconnect_server()
    fe1bad73d35f smb: client: remove extra @chan_count check in __cifs_put_smb_ses()
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 8623952641bda9ceb7cfb2b1cfb729003f3eff3b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 639536f032d4cdd18a01611c2c5a6d630d2a9b79)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:36 -07:00
Bruce Ashfield
366f0a5641 linux-yocto/6.6: update CVE exclusions (6.6.28)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 8Apr24
        Date: Tue, 9 Apr 2024 18:19:11 -0400

    ]

(From OE-Core rev: aa8325d9a499039bb2701ad10925c1aee02a22e2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f0683a02772e83ef1c54a60664f68364079540f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:36 -07:00
Bruce Ashfield
bd54a598cb linux-yocto/6.6: update to v6.6.28
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    ba151416051a Linux 6.6.28
    50971570ba79 drm/amd/display: fix disable otg wa logic in DCN316
    5ca6cbd8adbe drm/amd/display: Set VSC SDP Colorimetry same way for MST and SST
    b12c3cfd8265 drm/amd/display: Program VSC SDP colorimetry for all DP sinks >= 1.4
    bd3105a71d1c drm/amdgpu: fix incorrect number of active RBs for gfx11
    fa2df4aa3e3a drm/amdgpu: always force full reset for SOC21
    1520bf605d2f drm/amdgpu: Reset dGPU if suspend got aborted
    2708354ffb70 drm/i915: Disable port sync when bigjoiner is used
    d1742f77bdf2 drm/i915/cdclk: Fix CDCLK programming order when pipes are active
    09e6cbe98c10 x86/bugs: Replace CONFIG_SPECTRE_BHI_{ON,OFF} with CONFIG_MITIGATION_SPECTRE_BHI
    a823da65dce8 x86/bugs: Remove CONFIG_BHI_MITIGATION_AUTO and spectre_bhi=auto
    9c9cd014d048 x86/bugs: Clarify that syscall hardening isn't a BHI mitigation
    7497589a96bc x86/bugs: Fix BHI handling of RRSBA
    c83e35f47595 x86/bugs: Rename various 'ia32_cap' variables to 'x86_arch_cap_msr'
    bdbbe95b536c x86/bugs: Cache the value of MSR_IA32_ARCH_CAPABILITIES
    39053a34963a x86/bugs: Fix BHI documentation
    2d003904b934 x86/bugs: Fix return type of spectre_bhi_state()
    548af6102c8e irqflags: Explicitly ignore lockdep_hrtimer_exit() argument
    052d73ca9435 x86/apic: Force native_apic_mem_read() to use the MOV instruction
    5c5fb5057933 selftests: timers: Fix abs() warning in posix_timers test
    2978ee7c973c x86/cpu: Actually turn off mitigations by default for SPECULATION_MITIGATIONS=n
    d4a2a965d630 perf/x86: Fix out of range data
    d619651ae6e3 vhost: Add smp_rmb() in vhost_enable_notify()
    8a05b6630be0 vhost: Add smp_rmb() in vhost_vq_avail_empty()
    a156f37b8e3c arm64: dts: imx8-ss-dma: fix spi lpcg indices
    e9e44fc88aba arm64: dts: imx8-ss-lsio: fix pwm lpcg indices
    16c2dd96e479 arm64: dts: imx8-ss-conn: fix usb lpcg indices
    7c4285471c03 arm64: dts: imx8-ss-dma: fix adc lpcg indices
    19a8492473b0 arm64: dts: imx8-ss-dma: fix can lpcg indices
    20ceb2b50fd5 arm64: dts: imx8qm-ss-dma: fix can lpcg indices
    04e018bd913d drm/client: Fully protect modes[] with dev->mode_config.mutex
    31806711e8a4 drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()
    a81b2acd43e2 drm/ast: Fix soft lockup
    4d87f08eb755 drm/amdkfd: Reset GPU on queue preemption failure
    f9b31dfdc0b5 drm/i915/vrr: Disable VRR when using bigjoiner
    88685c3e7d24 drm/vmwgfx: Enable DMA mappings with SEV
    d43e11d9c7fc accel/ivpu: Fix deadlock in context_xa
    2704f4833550 scsi: sg: Avoid race in error handling & drop bogus warn
    46af9047523e scsi: sg: Avoid sg device teardown race
    d15023fb4073 kprobes: Fix possible use-after-free issue on kprobe registration
    96b7b0934a34 io_uring/net: restore msg_control on sendzc retry
    585c5732caaa btrfs: qgroup: convert PREALLOC to PERTRANS after record_root_in_trans
    363be24c010a btrfs: record delayed inode root in transaction
    14431815a4ae btrfs: qgroup: fix qgroup prealloc rsv leak in subvolume operations
    03cca8fe300f btrfs: qgroup: correctly model root qgroup rsv in convert
    732752bac3bd selftests: mptcp: use += operator to append strings
    4c6d2f453970 iommu/vt-d: Allocate local memory for page request queue
    f3ccbb6b6d52 iommu/vt-d: Fix wrong use of pasid config
    e3e1e80b692c tracing: hide unused ftrace_event_id_fops
    2fc4d53ff055 net: ena: Set tx_info->xdpf value to NULL
    354627f92679 net: ena: Use tx_ring instead of xdp_ring for XDP channel TX
    bc0ad6857c86 net: ena: Pass ena_adapter instead of net_device to ena_xmit_common()
    c891d7678f44 net: ena: Move XDP code to its new files
    5c7f2240d983 net: ena: Fix incorrect descriptor free behavior
    dc1d1e35c8fd net: ena: Wrong missing IO completions check order
    4d142dda057a net: ena: Fix potential sign extension issue
    507cc232ffe5 af_unix: Fix garbage collector racing against connect()
    301fdbaa0bba af_unix: Do not use atomic ops for unix_sk(sk)->inflight.
    8b6c4b625826 net: dsa: mt7530: trap link-local frames regardless of ST Port State
    785510c91be3 Revert "s390/ism: fix receive message buffer allocation"
    54541e18ca9d net: sparx5: fix wrong config being used when reconfiguring PCS
    292a76473334 net/mlx5e: Do not produce metadata freelist entries in Tx port ts WQE xmit
    8777d6ad7b8a net/mlx5e: HTB, Fix inconsistencies with QoS SQs number
    f9ac93b6f3de net/mlx5e: Fix mlx5e_priv_init() cleanup flow
    690e3d91c5b1 net/mlx5: Correctly compare pkt reformat ids
    5cf5337ef701 net/mlx5: Properly link new fs rules into the tree
    cbe5852d3d8d net/mlx5: offset comp irq index in name by one
    8c91c6085847 net/mlx5: Register devlink first under devlink lock
    7a836736b653 net/mlx5: SF, Stop waiting for FW as teardown was called
    89242d9584c3 netfilter: complete validation of user input
    e2c680fce985 Bluetooth: l2cap: Don't double set the HCI_CONN_MGMT_CONNECTED bit
    72473db90900 Bluetooth: SCO: Fix not validating setsockopt user input
    cc950d584610 Bluetooth: hci_sync: Fix using the same interval and window for Coded PHY
    de3c85d321bf Bluetooth: hci_sync: Use QoS to determine which PHY to scan
    a39cc8d08270 Bluetooth: ISO: Don't reject BT_ISO_QOS if parameters are unset
    c832164549f8 Bluetooth: ISO: Align broadcast sync_timeout with connection timeout
    01b11a056667 ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr
    5fd0b8b48696 ipv4/route: avoid unused-but-set-variable warning
    8a18d2f0c214 ipv6: fib: hide unused 'pn' variable
    cc10d3eadb58 octeontx2-af: Fix NIX SQ mode and BP config
    601a89ea24d0 af_unix: Clear stale u->oob_skb.
    cba376eb036c net: ks8851: Handle softirqs at the end of IRQ thread to fix hang
    e454abe5cc17 net: ks8851: Inline ks8851_rx_skb()
    499c993ca7cc bnxt_en: Reset PTP tx_avail after possible firmware reset
    4cbcf8cffa01 bnxt_en: Fix error recovery for RoCE ulp client
    c60ed825530b bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init()
    1e91775286f2 s390/ism: fix receive message buffer allocation
    190d9efa5773 geneve: fix header validation in geneve[6]_xmit_skb
    740ffad95ca8 block: fix q->blkg_list corruption during disk rebind
    7af5582ea672 octeontx2-pf: Fix transmit scheduler resource leak
    b143e19dc28c xsk: validate user input for XDP_{UMEM|COMPLETION}_FILL_RING
    80fa4fb27303 u64_stats: fix u64_stats_init() for lockdep when used repeatedly in one file
    bdce65f2a95e net: openvswitch: fix unwanted error log on timeout policy probing
    60b87b5ecbe0 scsi: qla2xxx: Fix off by one in qla_edif_app_getstats()
    8a1821645708 scsi: hisi_sas: Modify the deadline for ata_wait_after_reset()
    aebbe59bd6a7 nouveau: fix function cast warning
    42cbe04a5c77 Revert "drm/qxl: simplify qxl_fence_wait"
    9bd1891cac32 cxl/core: Fix initialization of mbox_cmd.size_out in get event
    ea16e637e868 arm64: dts: imx8-ss-conn: fix usdhc wrong lpcg clock order
    f7ef9a437950 drm/msm/dpu: don't allow overriding data from catalog
    eb0ef4118693 cxl/core/regs: Fix usage of map->reg_type in cxl_decode_regblock() before assigned
    645cef136e47 cxl/mem: Fix for the index of Clear Event Record Handle
    c0781d6898dc firmware: arm_scmi: Make raw debugfs entries non-seekable
    6f9a8a54bb8e ARM: OMAP2+: fix USB regression on Nokia N8x0
    ff75f9f74975 mmc: omap: restore original power up/down steps
    f6c34c9bb3d1 mmc: omap: fix deferred probe
    267bcd2213ac mmc: omap: fix broken slot switch lookup
    086426dc64e0 ARM: OMAP2+: fix N810 MMC gpiod table
    d73e7fb9d7c8 ARM: OMAP2+: fix bogus MMC GPIO labels on Nokia N8x0
    7611722dc5dd media: cec: core: remove length check of Timer Status
    9fdfeef4c541 PM: s2idle: Make sure CPUs will wakeup directly on resume
    3860152c104f ACPI: scan: Do not increase dep_unmet for already met dependencies
    cfd758041d8b platform/chrome: cros_ec_uart: properly fix race condition
    1e3b8874d55c drm/amd/pm: fixes a random hang in S4 for SMU v13.0.4/11
    9ab5e44b9bac Bluetooth: Fix memory leak in hci_req_sync_complete()
    a9cd92bc051f ring-buffer: Only update pages_touched when a new page is touched
    3f28d49a328f raid1: fix use-after-free for original bio in raid1_write_request()
    1808b991c790 ARM: dts: imx7s-warp: Pass OV2680 link-frequencies
    4ca2a5fb54ea batman-adv: Avoid infinite loop trying to resize local TT
    341b5e1016cf ata: libata-scsi: Fix ata_scsi_dev_rescan() error path
    99618f8a7216 ata: libata-core: Allow command duration limits detection for ACS-4 drives
    05eedb5abc07 smb3: fix Open files on server counter going negative
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: ecffb570096398d36e1d3bf3987d4e1bdee89082)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31bf8234f80d19323f5200c3a2a3b1ba9cb30991)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:36 -07:00
Bruce Ashfield
09c9c0be8a linux-yocto/6.6: cfg: drop obselete options
Integrating the following commit(s) to linux-yocto/.:

1/2 [
    Author: Paul Gortmaker
    Email: paulg@kernel.org
    Subject: cgl: drop SELINUX_DISABLE option
    Date: Tue, 16 Apr 2024 12:28:43 -0400

    It was removed from mainline in v6.4 in commit f22f9aaf6c3d ("selinux:
    remove the runtime disable functionality").

    Signed-off-by: Paul Gortmaker <paulg@kernel.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/2 [
    Author: Paul Gortmaker
    Email: paulg@kernel.org
    Subject: full_nohz: remove RCU_FAST_NO_HZ gone from upstream
    Date: Tue, 16 Apr 2024 14:56:42 -0400

    In commit e2c73a6860bd ("rcu: Remove the RCU_FAST_NO_HZ Kconfig option")
    the so named option was removed from the v5.17 kernel.

    We should get it out of our active branches to prevent a warning.

    Signed-off-by: Paul Gortmaker <paulg@kernel.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 86467eb4cb39be7f031bca5d5e502f6c6fbcb297)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8980da85dc1a55be4fcf2cb92859cc6066433531)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:36 -07:00
Bruce Ashfield
61004dffc1 linux-yocto/6.6: update CVE exclusions (6.6.27)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 8Apr24
        Date: Tue, 9 Apr 2024 18:19:11 -0400

    ]

(From OE-Core rev: e823cf66e90e84dc187accf0334f048a00d7a40b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d690b99cb05cc2f2b009083361fe0eec105b9a32)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:35 -07:00
Bruce Ashfield
5950e29a19 linux-yocto/6.6: update to v6.6.27
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    5e828009c8b3 Linux 6.6.27
    5c1dc516f52a drm: Check polling initialized before enabling in drm_helper_probe_single_connector_modes
    14ac934db851 Revert "drm/amd/amdgpu: Fix potential ioremap() memory leaks in amdgpu_device_init()"
    91fb03cea0d5 VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler()
    b456cb98cbad net: mpls: error out if inner headers are not set
    83890a450378 Bluetooth: btintel: Fixe build regression
    ce64c26ba842 platform/x86: intel-vbtn: Update tablet mode switch at end of probe
    300a2b9c2b28 randomize_kstack: Improve entropy diffusion
    41671f0c0182 media: mediatek: vcodec: adding lock to protect encoder context list
    0a2dc707aa42 media: mediatek: vcodec: adding lock to protect decoder context list
    ec25fc3c2c1e media: mediatek: vcodec: Fix oops when HEVC init fails
    a445eb1f630f selftests: mptcp: display simult in extra_msg
    9dff96b8b3a4 gcc-plugins/stackleak: Avoid .head.text section
    7365444cbd8f ALSA: hda/realtek: Add quirks for some Clevo laptops
    3d4b909704bf fbmon: prevent division by zero in fb_videomode_from_videomode()
    5e11bacff08b drivers/nvme: Add quirks for device 126f:2262
    19e525ebbb88 modpost: fix null pointer dereference
    21162ad2de74 io_uring: clear opcode specific data for an early failure
    89f0cf6ac620 fbdev: viafb: fix typo in hw_bitblt_1 and hw_bitblt_2
    4cd44fd34545 x86/xen: attempt to inflate the memory balloon on PVH
    9afc9fde538b ASoC: soc-core.c: Skip dummy codec when adding platforms
    d009236a37ae thermal/of: Assume polling-delay(-passive) 0 when absent
    6712b758698b ASoC: amd: yc: Fix non-functional mic on ASUS M7600RE
    fa5c8f2c88a9 usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined
    55b724b8f7ee usb: typec: tcpci: add generic tcpci fallback compatible
    d8518f05ee82 thunderbolt: Keep the domain powered when USB4 port is in redrive mode
    266f403ec475 usb: typec: ucsi: Limit read size on v1.2
    0d52e1853bc1 usb: gadget: uvc: mark incomplete frames with UVC_STREAM_ERR
    4b1f991bad56 kernfs: RCU protect kernfs_nodes and avoid kernfs_idr_lock in kernfs_find_and_get_node_by_id()
    ac191bcb0fe0 bus: mhi: host: Add MHI_PM_SYS_ERR_FAIL state
    bb72eb818d07 tools: iio: replace seekdir() in iio_generic_buffer
    fb8579acacd0 ring-buffer: use READ_ONCE() to read cpu_buffer->commit_page in concurrent environment
    80f175d0f352 Input: xpad - add support for Snakebyte GAMEPADs
    fd067c8b3f86 ktest: force $buildonly = 1 for 'make_warnings_file' test type
    60668872cca8 ALSA: hda/realtek: Add quirk for Lenovo Yoga 9 14IMH9
    08aba129f542 perf/x86/amd/lbr: Discard erroneous branch entries
    a9852cf5d7a1 platform/x86: touchscreen_dmi: Add an extra entry for a variant of the Chuwi Vi8 tablet
    ed2f8b713a45 Input: allocate keycode for Display refresh rate toggle
    dddc9f40ac8e Input: imagis - use FIELD_GET where applicable
    2e90774fbbe0 RDMA/cm: add timeout to cm_destroy_id wait
    5f7fd6aa4c48 block: prevent division by zero in blk_rq_stat_sum()
    0662deae8bb8 drivers/perf: hisi: Enable HiSilicon Erratum 162700402 quirk for HIP09
    44723bd493cd input/touchscreen: imagis: Correct the maximum touch area value
    d0e2f7ae04bb libperf evlist: Avoid out-of-bounds access
    a822f30afada Revert "ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default"
    846611299931 PCI: Disable D3cold on Asus B1400 PCI-NVMe bridge
    73bdf8d41cb5 SUNRPC: increase size of rpc_wait_queue.qlen from unsigned short to unsigned int
    3d1b47e3a935 drm: Check output polling initialized before disabling
    09d4600b9e99 drm/amd/amdgpu: Fix potential ioremap() memory leaks in amdgpu_device_init()
    0f09e89e667e HID: input: avoid polling stylus battery on Chromebook Pompom
    30930f0f4674 i2c: designware: Fix RX FIFO depth define on Wangxun 10Gb NIC
    cd0a1835bf84 accel/habanalabs: increase HL_MAX_STR to 64 bytes to avoid warnings
    953fee8160f1 drm/amd/display: Fix nanosec stat overflow
    a5e76867714b ext4: forbid commit inconsistent quota data when errors=remount-ro
    58546b2aa263 ext4: add a hint for block bitmap corrupt state in mb_groups
    bd6b1c418bd6 ASoC: Intel: avs: Populate board selection with new I2S entries
    f4a345e0aaf4 ALSA: firewire-lib: handle quirk to calculate payload quadlets as data block counter
    cb9420142e50 media: sta2x11: fix irq handler cast
    214a6c4a28c1 Julia Lawall reported this null pointer dereference, this should fix it.
    24e5e1eff8ba rcu-tasks: Repair RCU Tasks Trace quiescence check
    4d58c9fb45c7 rcu/nocb: Fix WARN_ON_ONCE() in the rcu_nocb_bypass_lock()
    f4b6caeb3cfe ASoC: Intel: common: DMI remap for rebranded Intel NUC M15 (LAPRC710) laptops
    d43a90294afe isofs: handle CDs with bad root inode but good Joliet root directory
    07a2aa674fca scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()
    89e8524135a3 sysv: don't call sb_bread() with pointers_lock held
    56f5e36dace6 pinctrl: renesas: checker: Limit cfg reg enum checks to provided IDs
    852ad6a4f55c drm/ttm: return ENOSPC from ttm_bo_mem_space v3
    02a3b0d58217 ASoC: SOF: amd: Optimize quirk for Valve Galileo
    f19ad40352a8 drm: panel-orientation-quirks: Add quirk for GPD Win Mini
    eafaec40d00f Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails
    d6b2fe2db1d0 drm/vc4: don't check if plane->state->fb == state->fb
    8677a14a8821 Bluetooth: Add new quirk for broken read key length on ATS2851
    6d0950cf4313 Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922
    ffdca0a62aba Bluetooth: btintel: Fix null ptr deref in btintel_read_version
    a2e6bffc0388 net/smc: reduce rtnl pressure in smc_pnet_create_pnetids_list()
    c926393dc344 ice: use relative VSI index for VFs instead of PF VSI number
    c1363ed8867b btrfs: send: handle path ref underflow in header iterate_inode_ref()
    30237d6764fe btrfs: export: handle invalid inode or root reference in btrfs_get_parent()
    0d23b34c68c4 btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()
    5d7a8585fbb3 wifi: cfg80211: check A-MSDU format more carefully
    95eec168c288 wifi: iwlwifi: Add missing MODULE_FIRMWARE() for *.pnvm
    2618ab102c80 overflow: Allow non-type arg to type_max() and type_min()
    3ba4aceb68f0 cpufreq: Don't unregister cpufreq cooling on CPU hotplug
    138fdeac75fb wifi: ath11k: decrease MHI channel buffer length to 8KB
    4031b72ca747 dma-direct: Leak pages on dma_set_decrypted() failure
    9470114dfaf4 net: pcs: xpcs: Return EINVAL in the internal methods
    cf21eb6a9fc2 tools/power x86_energy_perf_policy: Fix file leak in get_pkg_num()
    ec7256887d07 pstore/zone: Add a null pointer check to the psz_kmsg_read
    a217b6135dab ACPI: x86: Move acpi_quirk_skip_serdev_enumeration() out of CONFIG_X86_ANDROID_TABLETS
    1feb6fcfbac3 wifi: mt76: mt7996: add locking for accessing mapped registers
    1152c2cd38e4 wifi: mt76: mt7996: disable AMSDU for non-data frames
    891fd07da87b wifi: mt76: mt7915: add locking for accessing mapped registers
    c39e75fae05c wifi: brcmfmac: Add DMI nvram filename quirk for ACEPC W5 Pro
    5dc5f8c705c3 firmware: tegra: bpmp: Return directly after a failed kzalloc() in get_filename()
    1b2b26595bb0 net: skbuff: add overflow debug check to pull/push helpers
    b8dccb25c5dc ionic: set adminq irq affinity
    9d3f959b4266 pmdomain: imx8mp-blk-ctrl: imx8mp_blk: Add fdcc clock to hdmimix domain
    ce666cecc09c pmdomain: ti: Add a null pointer check to the omap_prm_domain_init
    a7b862abe484 net: add netdev_lockdep_set_classes() to virtual drivers
    fc1d1ca46d01 arm64: dts: rockchip: fix rk3399 hdmi ports node
    5c014f039544 arm64: dts: rockchip: fix rk3328 hdmi ports node
    bb8ca341f889 ARM: dts: rockchip: fix rk322x hdmi ports node
    c795042eea78 ARM: dts: rockchip: fix rk3288 hdmi ports node
    3f0a74728170 cpuidle: Avoid potential overflow in integer multiplication
    750d44684a95 panic: Flush kernel log buffer at the end
    a2e14cc2da40 printk: For @suppress_panic_printk check for other CPU in panic
    dbd3c05d71e1 wifi: iwlwifi: pcie: Add the PCI device id for new hardware
    dae70a575656 VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()
    0a6def05767c wifi: rtw89: pci: enlarge RX DMA buffer to consider size of RX descriptor
    7a71f61ebf95 net: phy: phy_device: Prevent nullptr exceptions on ISR
    2485beea14b3 net: stmmac: dwmac-starfive: Add support for JH7100 SoC
    3dac6ab4d977 bnx2x: Fix firmware version string character counts
    b34d64e9aa55 wifi: rtw89: fix null pointer access when abort scan
    15df1981f0ed wifi: ath9k: fix LNA selection in ath_ant_try_scan()
    315eb3c2df7e amdkfd: use calloc instead of kzalloc to avoid integer overflow
    0ccfb8e07e79 Linux 6.6.26
    6d9ef0c36980 x86: set SPECTRE_BHI_ON as default
    cb238e95ee72 KVM: x86: Add BHI_NO
    1c42ff893a8f x86/bhi: Mitigate KVM by default
    d414b401f953 x86/bhi: Add BHI mitigation knob
    118794d0a572 x86/bhi: Enumerate Branch History Injection (BHI) bug
    c6e3d590d051 x86/bhi: Define SPEC_CTRL_BHI_DIS_S
    eb36b0dce213 x86/bhi: Add support for clearing branch history at syscall entry
    eb0f175b3428 x86/syscall: Don't force use of indirect calls for system calls
    108feca9e47d x86/bugs: Change commas to semicolons in 'spectre_v2' sysfs file
    046545314c79 x86/boot: Move mem_encrypt= parsing to the decompressor
    ccde70aa54c4 x86/efistub: Remap kernel text read-only before dropping NX attribute
    56408ed92903 x86/sev: Move early startup code into .head.text section
    af90ced75242 x86/sme: Move early SME kernel encryption handling into .head.text
    dc4cbf9e2df4 efi/libstub: Add generic support for parsing mem_encrypt=
    5447cb97e9b2 x86/head/64: Move the __head definition to <asm/init.h>
    876941f533e7 bpf: support deferring bpf_link dealloc to after RCU grace period
    771690b7c31d bpf: put uprobe link's path and task in release callback
    43eca11b7c73 mptcp: don't account accept() of non-MPC client as fallback to TCP
    12f353fac65d mptcp: don't overwrite sock_ops in mptcp_is_tcpsk()
    5b5ff82491a1 selftests: mptcp: connect: fix shellcheck warnings
    e4a449368a2c of: module: prevent NULL pointer dereference in vsnprintf()
    37b81aed6468 Revert "x86/mpparse: Register APIC address only once"
    a7ff84a6fe5a drm/i915/gt: Enable only one CCS for compute workload
    726ff623869d drm/i915/gt: Do not generate the command streamer for all the CCS
    c1f7ce2a11a9 drm/i915/gt: Disable HW load balancing for CCS
    2cfff2173213 smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect()
    aa582b33f944 smb: client: fix potential UAF in smb2_is_network_name_deleted()
    0a15ba88a32f smb: client: fix potential UAF in is_valid_oplock_break()
    f92739fdd452 smb: client: fix potential UAF in smb2_is_valid_lease_break()
    21fed37d2bdc smb: client: fix potential UAF in smb2_is_valid_oplock_break()
    10e17ca4000e smb: client: fix potential UAF in cifs_dump_full_key()
    c3cf8b74c579 smb: client: fix potential UAF in cifs_stats_proc_show()
    cf03020c56d3 smb: client: fix potential UAF in cifs_stats_proc_write()
    a65f2b56334b smb: client: fix potential UAF in cifs_debug_files_proc_show()
    6f17163b9339 smb3: retrying on failed server close
    ba55f8a995f6 smb: client: serialise cifs_construct_tcon() with cifs_mount_mutex
    9b2ee27e8de5 smb: client: handle DFS tcons in cifs_construct_tcon()
    00effef72c98 riscv: process: Fix kernel gp leakage
    7a82963245eb riscv: Fix spurious errors from __get/put_kernel_nofault
    3dcb2223b973 s390/entry: align system call table on 8 bytes
    782baf52e7cb selftests/mm: include strings.h for ffsl
    43fad1d0284d mm/secretmem: fix GUP-fast succeeding on secretmem folios
    8a44119ca445 arm64/ptrace: Use saved floating point state type to determine SVE layout
    92f32f108693 perf/x86/intel/ds: Don't clear ->pebs_data_cfg for the last PEBS event
    453b5f2dec27 x86/coco: Require seeding RNG with RDRAND on CoCo systems
    5a02df3e9247 x86/mce: Make sure to grab mce_sysfs_mutex in set_bank()
    51b7841f3fe8 x86/mm/pat: fix VM_PAT handling in COW mappings
    801c8b8ec5bf of: dynamic: Synchronize of_changeset_destroy() with the devlink removals
    dfa655727688 driver core: Introduce device_link_wait_removal()
    65938e81df21 io_uring/kbuf: hold io_buffer_list reference over mmap
    6b9d49bcd97b io_uring: use private workqueue for exit work
    b392402d29ab io_uring/kbuf: protect io_buffer_list teardown with a reference
    4c0a5da0e70e io_uring/kbuf: get rid of bl->is_ready
    d6e03f6d8bcc io_uring/kbuf: get rid of lower BGID lists
    781477d729be ALSA: hda/realtek: Update Panasonic CF-SZ6 quirk to support headset with microphone
    04d78aa05ae4 ALSA: hda/realtek - Fix inactive headset mic jack
    67c477f3201c ksmbd: do not set SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1
    a637fabac554 ksmbd: validate payload size in ipc response
    a06562fd4ce2 ksmbd: don't send oplock break if rename fails
    2f0262ac3a8c gpio: cdev: fix missed label sanitizing in debounce_setup()
    d9f0804ab0b8 gpio: cdev: check for NULL labels when sanitizing them for irqs
    63bd08629aee x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk
    ac522af8db5c ice: fix typo in assignment
    9d60e8ec996f nfsd: hold a lighter-weight client reference over CB_RECALL_ANY
    6e307a6d9eb4 riscv: Disable preemption when using patch_map()
    1ba1291172f9 SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP
    e12149dd9ba2 ASoC: SOF: amd: fix for false dsp interrupts
    cbd080c30834 ata: sata_mv: Fix PCI device ID table declaration compilation warning
    4b31a226097c spi: mchp-pci1xxx: Fix a possible null pointer dereference in pci1xxx_spi_probe
    0fdada1ef5b1 cifs: Fix caching to try to do open O_WRONLY as rdwr on server
    0f28afed9f9d Revert "ALSA: emu10k1: fix synthesizer sample playback position and caching"
    f3e692c8c24a scsi: sd: Unregister device if device_add_disk() failed in sd_probe()
    56de23eac65f scsi: mylex: Fix sysfs buffer lengths
    4cad40d93665 ata: sata_sx4: fix pdc20621_get_from_dimm() on 64-bit
    fce7a547b9c8 regmap: maple: Fix uninitialized symbol 'ret' warnings
    04b52388c46d ASoC: amd: acp: fix for acp_init function error handling
    3d3e148c7576 spi: s3c64xx: Use DMA mode from fifo size
    5448a99c8096 spi: s3c64xx: determine the fifo depth only once
    f8a6edd44903 spi: s3c64xx: allow full FIFO masks
    6f9d907bee2a spi: s3c64xx: define a magic value
    3fa0085f1052 spi: s3c64xx: remove else after return
    56aeaed8c822 spi: s3c64xx: explicitly include <linux/bits.h>
    0df4616ef533 spi: s3c64xx: sort headers alphabetically
    bb3ee5fddac1 spi: s3c64xx: Extract FIFO depth calculation to a dedicated macro
    80ca762f1bdd ASoC: ops: Fix wraparound for mask in snd_soc_get_volsw
    229c761b198e ASoC: rt722-sdca-sdw: fix locking sequence
    1064108334bb ASoC: rt712-sdca-sdw: fix locking sequence
    3bfbc530a658 ASoC: rt711-sdw: fix locking sequence
    53c8045621c1 ASoC: rt711-sdca: fix locking sequence
    8eea5ae23bab ASoC: rt5682-sdw: fix locking sequence
    cc4d9f0597ee drm/prime: Unbreak virtgpu dma-buf export
    692a51bebf45 nouveau/uvmm: fix addr/range calcs for remap operations
    9e3941c90e46 drm/panfrost: fix power transition timeout warnings
    4930d7a414c1 ALSA: hda: cs35l56: Add ACPI device match tables
    3af6c5ac72dc regmap: maple: Fix cache corruption in regcache_maple_drop()
    4e73748d5954 RISC-V: Update AT_VECTOR_SIZE_ARCH for new AT_MINSIGSTKSZ
    b2ddeb7fb322 drivers/perf: riscv: Disable PERF_SAMPLE_BRANCH_* while not supported
    3e1a29fb81c2 ASoC: wm_adsp: Fix missing mutex_lock in wm_adsp_write_ctl()
    40613ea1d5ea 9p: Fix read/write debug statements to report server reply
    f4a192cd7b25 fs/pipe: Fix lockdep false-positive in watchqueue pipe_write()
    ab7a6fe9c1b5 KVM: SVM: Add support for allowing zero SEV ASIDs
    79b79ea2b3bf KVM: SVM: Use unsigned integers when dealing with ASIDs
    0a583b7ebb6f net: ravb: Always update error counters
    1dd9204143d1 net: ravb: Always process TX descriptor ring
    a9fb2f7463cd net: ravb: Let IP-specific receive function to interrogate descriptors
    199a1314ef78 e1000e: move force SMBUS from enable ulp function to avoid PHY loss issue
    eb96a5c02553 e1000e: Minor flow correction in e1000_shutdown function
    1d16cd91cd31 e1000e: Workaround for sporadic MDI error on Meteor Lake systems
    d5752c7bb1b2 intel: legacy: field get conversion
    e383353b7992 intel: add bit macro includes where needed
    e77220eec3ee i40e: Remove circular header dependencies and fix headers
    59a9de1a9430 i40e: Split i40e_osdep.h
    2ee5326d32c5 i40e: Move memory allocation structures to i40e_alloc.h
    0ed115020ac4 i40e: Simplify memory allocation functions
    0c52a50aec50 virtchnl: Add header dependencies
    45116a7c2138 i40e: Refactor I40E_MDIO_CLAUSE* macros
    f629cf15dcde i40e: Remove back pointer from i40e_hw structure
    66ca011a5df5 i40e: Enforce software interrupt during busy-poll exit
    e6d25dbd9243 i40e: Remove _t suffix from enum type names
    3da10e91ecd2 drm/amd: Flush GFXOFF requests in prepare stage
    da67a1139f05 drm/amd: Add concept of running prepare_suspend() sequence for IP blocks
    8b5f720486ca drm/amd: Evict resources during PM ops prepare() callback
    4356a2c3f296 drm/amd/display: Prevent crash when disable stream
    8dc9a27589a9 drm/amd/display: Fix DPSTREAM CLK on and off sequence
    113b12e16488 usb: typec: ucsi: Fix race between typec_switch and role_switch
    0dcf573f9977 i40e: fix vf may be used uninitialized in this function warning
    89e29416cf6b i40e: fix i40e_count_filters() to count only active/new filters
    76c39cf84cd2 octeontx2-af: Add array index check
    43b69da260af octeontx2-pf: check negative error code in otx2_open()
    b08b0c7a66c9 octeontx2-af: Fix issue with loading coalesced KPU profiles
    03b6f3692bae udp: prevent local UDP tunnel packets from being GROed
    2a1b61d0cb9b udp: do not transition UDP GRO fraglist partial checksums to unnecessary
    3001e7aa43d6 udp: do not accept non-tunnel GSO skbs landing in a tunnel
    a5eae74f39c0 r8169: skip DASH fw status checks when DASH is disabled
    36a1cb0371aa mlxbf_gige: stop interface during shutdown
    f2dd75e57285 ipv6: Fix infinite recursion in fib6_dump_done().
    74204bf9050f ax25: fix use-after-free bugs caused by ax25_ds_del_timer
    8b88752d2b12 tcp: Fix bind() regression for v6-only wildcard and v4(-mapped-v6) non-wildcard addresses.
    690e877ca2b6 selftests: reuseaddr_conflict: add missing new line at the end of the output
    4e3fdeecec57 erspan: make sure erspan_base_hdr is present in skb->head
    a03e138da771 i40e: Fix VF MAC filter removal
    b9bd1498cdce ice: fix enabling RX VLAN filtering
    fc126c1d51e9 gro: fix ownership transfer
    39864092cff3 selftests: net: gro fwd: update vxlan GRO test expectations
    23e1c6866e22 net: dsa: mv88e6xxx: fix usable ports on 88e6020
    95c1016a2d92 net: phy: micrel: Fix potential null pointer dereference
    f996e5ecf07f net: fec: Set mac_managed_pm during probe
    22a44eeef781 net: txgbe: fix i2c dev name cannot match clkdev
    1e304328d9c3 net: phy: micrel: lan8814: Fix when enabling/disabling 1-step timestamping
    784a65669720 net: stmmac: fix rx queue priority assignment
    c040b99461a5 net/sched: fix lockdep splat in qdisc_tree_reduce_backlog()
    f4d1fa512b2a net: dsa: sja1105: Fix parameters order in sja1110_pcs_mdio_write_c45()
    729ad2ac2a2c net/sched: act_skbmod: prevent kernel-infoleak
    3dcaf25993a2 KVM: arm64: Ensure target address is granule-aligned for range TLBI
    3ec21104c881 x86/retpoline: Do the necessary fixup to the Zen3/4 srso return thunk for !SRSO
    668b3074aa14 bpf, sockmap: Prevent lock inversion deadlock in map delete elem
    55fabde8d9f4 vboxsf: Avoid an spurious warning if load_nls_xxx() fails
    81d51b9b7c95 netfilter: validate user input for expected length
    9627fd0c6ea1 netfilter: nf_tables: discard table flag update with pending basechain deletion
    8b891153b2e4 netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get()
    333b5085522c netfilter: nf_tables: flush pending destroy work before exit_net release
    420132bee3d0 netfilter: nf_tables: reject new basechain after table flag update
    e40f32f17642 x86/bugs: Fix the SRSO mitigation on Zen3/4
    93eae88e34f6 x86/nospec: Refactor UNTRAIN_RET[_*]
    820a3626f3d7 x86/srso: Disentangle rethunk-dependent options
    6b10edf91640 x86/srso: Improve i-cache locality for alias mitigation
    065012bb7777 vsock/virtio: fix packet delivery to tap device
    ca58927b0038 net: mana: Fix Rx DMA datasize and skb_over_panic
    426366d577e9 net: usb: ax88179_178a: avoid the interface always configured as random address
    92309bed3c5f net/rds: fix possible cp null dereference
    27aa3e4b3088 xen-netfront: Add missing skb_mark_for_recycle
    117eed2997bc selftests: mptcp: join: fix dev in check_endpoint
    8038ee3c3e5b netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path
    b0b36dcbe0f2 netfilter: nf_tables: release batch on table validation from abort path
    d75632d0db3c Bluetooth: Fix TOCTOU in HCI debugfs implementation
    4a32840119d0 Bluetooth: hci_event: set the conn encrypted before conn establishes
    57e089d33b96 Bluetooth: add quirk for broken address properties
    1622e563b819 Bluetooth: qca: fix device-address endianness
    b99d0617b698 arm64: dts: qcom: sc7180-trogdor: mark bluetooth address as broken
    417c6cc9ef8c Revert "Bluetooth: hci_qca: Set BDA quirk bit if fwnode exists in DT"
    3f9d57c77165 x86/bpf: Fix IP after emitting call depth accounting
    4d47169ab691 x86/cpufeatures: Add CPUID_LNX_5 to track recently added Linux-defined word
    b9906101f894 r8169: fix issue caused by buggy BIOS on certain boards with RTL8168d
    477ed6789eb9 selinux: avoid dereference of garbage after mount failure
    9e2af26c29c6 KVM: arm64: Fix host-programmed guest events in nVHE
    651bf5b1d070 RISC-V: KVM: Fix APLIC in_clrip[x] read emulation
    200cc2c71841 RISC-V: KVM: Fix APLIC setipnum_le/be write emulation
    21bc9b158983 gpio: cdev: sanitize the label before requesting the interrupt
    a2671601fa02 modpost: do not make find_tosym() return NULL
    2bc92c61c541 modpost: Optimize symbol search from linear to binary search
    55ed6c477872 perf/x86/amd/lbr: Use freeze based on availability
    56e7373f9a67 x86/cpufeatures: Add new word for scattered features
    69fe5f177ad3 perf/x86/amd/core: Update and fix stalled-cycles-* events for Zen 2 and later
    d2be2f872fe7 x86/CPU/AMD: Add X86_FEATURE_ZEN1
    54273025be0c x86/CPU/AMD: Get rid of amd_erratum_1054[]
    824549816609 x86/CPU/AMD: Move the DIV0 bug detection to the Zen1 init function
    702a65272da6 x86/CPU/AMD: Move Zenbleed check to the Zen2 init function
    2577e2a7cae0 x86/CPU/AMD: Move erratum 1076 fix into the Zen1 init function
    eae590201d4a x86/CPU/AMD: Carve out the erratum 1386 fix
    936e59cb56ea x86/CPU/AMD: Add ZenX generations flags
    49d640d2946c btrfs: fix race when detecting delalloc ranges during fiemap
    8cc484e85e0c btrfs: ensure fiemap doesn't race with writes when FIEMAP_FLAG_SYNC is given
    fbc0a833c055 Revert "x86/mm/ident_map: Use gbpages only where full GB page should be mapped."
    907835e6dee6 mm/treewide: replace pud_large() with pud_leaf()
    7cd73d90856d dm integrity: fix out-of-range warning
    2564623ee0da drm/i915/mtl: Update workaround 14018575942
    798781b43194 drm/i915/xelpg: Extend some workarounds/tuning to gfx version 12.74
    338db8193cb2 drm/i915/mtl: Update workaround 14016712196
    ec84b2a44b05 drm/i915: Replace several IS_METEORLAKE with proper IP version checks
    b3749611a5e5 drm/i915: Eliminate IS_MTL_GRAPHICS_STEP
    18e77951e14a drm/i915/xelpg: Call Xe_LPG workaround functions based on IP version
    67f7fba8a086 drm/i915: Consolidate condition for Wa_22011802037
    6b25099eea4b drm/i915: Tidy workaround definitions
    0a9901fdb7bb drm/i915/dg2: Drop pre-production GT workarounds
    f4877225313d inet: inet_defrag: prevent sk release while still in use
    54720f68c4ad Octeontx2-af: fix pause frame configuration in GMP mode
    74a78a00db8f net: lan743x: Add set RFE read fifo threshold for PCI1x1x chips
    4bb7ad116be7 net: bcmasp: Bring up unimac after PHY link up
    cf893953633d netfilter: nf_tables: skip netdev hook unregistration if table is dormant
    2d0d1abe119a netfilter: nf_tables: reject table flag and netdev basechain updates
    cddd0480a682 netfilter: nf_tables: reject destroy command to remove basechain hooks
    614bc8c71ed5 cifs: Fix duplicate fscache cookie warnings
    3f0784b2f1eb bpf: Protect against int overflow for stack access size
    867a2f598af6 mlxbf_gige: call request_irq() after NAPI initialized
    f1b7f14130d7 tls: get psock ref after taking rxlock to avoid leak
    f19e995b4813 tls: adjust recv return with async crypto and failed copy to userspace
    dc4bce20fa9e tls: recv: process_rx_list shouldn't use an offset with kvec
    872f574f8860 net: hns3: mark unexcuted loopback test result as UNEXECUTED
    1b550dae5590 net: hns3: fix kernel crash when devlink reload during pf initialization
    b033da1461c1 net: hns3: fix index limit to support all queue stats
    77ffc72b497e ACPICA: debugger: check status of acpi_evaluate_object() in acpi_db_walk_for_fields()
    7fb8b3de7f22 selftests: vxlan_mdb: Fix failures with old libnet
    2e22c9cb6187 net: wwan: t7xx: Split 64bit accesses to fix alignment issues
    c1ae4d1e76ea tcp: properly terminate timers for kernel sockets
    984c3d962c9e net: hsr: hsr_slave: Fix the promiscuous mode in offload mode
    21dea1475fd4 s390/qeth: handle deferred cc1
    1b1c0f6ce790 igc: Remove stale comment about Tx timestamping
    4465b15ae5c5 ixgbe: avoid sleeping allocation in ixgbe_ipsec_vf_add_sa()
    e40a02f06ceb ice: fix memory corruption bug with suspend and rebuild
    feddf6c09c44 ice: realloc VSI stats arrays
    493b29930f66 ice: Refactor FW data type and fix bitmap casting issue
    0172edc572b0 ALSA: hda: cs35l56: Set the init_done flag before component_add()
    dc1ec9c5efec wifi: iwlwifi: mvm: include link ID when releasing frames
    13fd96c97596 wifi: iwlwifi: disable multi rx queue for 9000
    c0a40f2f8eba wifi: iwlwifi: mvm: rfi: fix potential response leaks
    84d30c56786a mlxbf_gige: stop PHY during open() error paths
    5c05bdd95f0e tools: ynl: fix setting presence bits in simple nests
    a946ebee45b0 nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet
    087dc50d8baf arm64: bpf: fix 32bit unconditional bswap
    156c226cbbdc dma-buf: Fix NULL pointer dereference in sanitycheck()
    aeecb678ec36 bpf, arm64: fix bug in BPF_LDX_MEMSX
    c3062bdb859b s390/bpf: Fix bpf_plt pointer arithmetic
    54d38a5ca0f7 scripts/bpf_doc: Use silent mode when exec make cmd
    cc696ce93089 drm/i915: Pre-populate the cursor physical dma address
    2c07e2437a3e drm/i915/display: Use i915_gem_object_get_dma_address to get dma address
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: b97cf2e4d6cf9e676be0efd17858426c907e9f42)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a9a8356aef87e3f24f61f918aff2c8388955e0d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:35 -07:00
Bruce Ashfield
0c9931fb63 linux-yocto/6.6: nft: enable veth
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Khem Raj
    Email: raj.khem@gmail.com
    Subject: nft_test.cfg: Enable CONFIG_VETH
    Date: Wed, 10 Apr 2024 16:11:47 -0700

    nftable ptests do create interfaces of veth type and this
    feature would be needed to enable those tests

    e.g. from tests/shell/testcases/packetpath/vlan_8021ad_tag

    ip link add veth0 netns $ns1 type veth peer name veth0 netns $ns2

    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 519547708f1b8a9383c9a5c2a6ce129345884d9a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95caeaa193239784481cd9e69870b41431e1a974)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:35 -07:00
Bruce Ashfield
4131c7fb6d linux-yocto/6.6: update CVE exclusions (6.6.25)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 25Feb24
        Date: Sun, 25 Feb 2024 07:03:08 -0500

    ]

(From OE-Core rev: 0deabc190dfee2717f1c11a466825e051063adcb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 70bf42cc53f04bf8137092dfc175cb57001dbb16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:35 -07:00
Bruce Ashfield
c107ad9c54 linux-yocto/6.6: update to v6.6.25
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    e475741af1eb Linux 6.6.25
    a99d7274a2b1 Revert "workqueue.c: Increase workqueue name length"
    d8354f268d92 Revert "workqueue: Move pwq->max_active to wq->max_active"
    35bf38dd162b Revert "workqueue: Factor out pwq_is_empty()"
    957578ec33d4 Revert "workqueue: Replace pwq_activate_inactive_work() with [__]pwq_activate_work()"
    5debbff9539c Revert "workqueue: Move nr_active handling into helpers"
    e3ee73b57a2e Revert "workqueue: Make wq_adjust_max_active() round-robin pwqs while activating"
    f3c11cb27a8b Revert "workqueue: RCU protect wq->dfl_pwq and implement accessors for it"
    bfb429f37052 Revert "workqueue: Introduce struct wq_node_nr_active"
    6741dd3fd38e Revert "workqueue: Implement system-wide nr_active enforcement for unbound workqueues"
    a75ac2693d73 Revert "workqueue: Don't call cpumask_test_cpu() with -1 CPU in wq_update_node_max_active()"
    7bff1820bcfa Revert "workqueue: Shorten events_freezable_power_efficient name"
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 7116b823394be2544e4b0df1ad08e11c7620855c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a0a9a648d2e511d04c02aefc58448bed7b7b93b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:35 -07:00
Bruce Ashfield
abf0f4d53e linux-yocto/6.6: update CVE exclusions (6.6.24)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 25Feb24
        Date: Sun, 25 Feb 2024 07:03:08 -0500

    ]

(From OE-Core rev: 265c96e36ee4c49c970bee315bf9614dc958a8ae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d941200509cd215e1c8cde5be9875b5e61ec76ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:35 -07:00
Bruce Ashfield
2553adc7bc linux-yocto/6.6: update to v6.6.24
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    9467d7a12f97 Linux 6.6.24
    e87e08c94c95 drm/amdgpu: fix use-after-free bug
    3a9569441b47 tools/resolve_btfids: fix build with musl libc
    4338e40da808 x86/sev: Skip ROM range scans and validation for SEV-SNP guests
    2048ff503f43 scsi: libsas: Fix disk not being scanned in after being removed
    f23db7579283 scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()
    76edb986c44b scsi: lpfc: Correct size for wqe for memset()
    ac5b18f52858 scsi: lpfc: Correct size for cmdwqe/rspwqe for memset()
    ff3cdff7c897 usb: dwc3: pci: Drop duplicate ID
    70977e7d5e5f Revert "x86/bugs: Use fixed addressing for VERW operand"
    367b4ce0d74d x86/bugs: Use fixed addressing for VERW operand
    a492d6dad9af scsi: qla2xxx: Delay I/O Abort on PCI error
    29520a334f3e scsi: qla2xxx: Change debug message during driver unload
    f85af9f1aa5e scsi: qla2xxx: Fix double free of fcport
    f14cee7a882c scsi: qla2xxx: Fix double free of the ha->vp_map pointer
    8de1584ec4fe scsi: qla2xxx: Fix command flush on cable pull
    adc9702642a0 scsi: qla2xxx: NVME|FCP prefer flag not being honored
    b31a120b81ac scsi: qla2xxx: Update manufacturer detail
    be895682c507 scsi: qla2xxx: Split FCE|EFT trace control
    8ec0d55020f6 scsi: qla2xxx: Fix N2N stuck connection
    ef23850940d9 scsi: qla2xxx: Prevent command send on chip reset
    db4aaf281a5b usb: typec: ucsi: Clear UCSI_CCI_RESET_COMPLETE before reset
    1f510af8dbc3 usb: typec: ucsi_acpi: Refactor and fix DELL quirk
    5857494b5056 usb: typec: ucsi: Ack unsupported commands
    68f57d013827 usb: typec: ucsi: Clear EVENT_PENDING under PPM lock
    c708b704c26d usb: typec: Return size of buffer if pd_set operation succeeds
    99731076722e usb: udc: remove warning when queue disabled ep
    3e417f31b06a usb: dwc2: gadget: LPM flow fix
    f047361fee44 usb: dwc2: gadget: Fix exiting from clock gating
    8d310e5d702c usb: dwc2: host: Fix ISOC flow in DDMA mode
    96dff759ef7d usb: dwc2: host: Fix hibernation flow
    ba2951ec82e8 usb: dwc2: host: Fix remote wakeup from hibernation
    f51849833705 USB: core: Fix deadlock in port "disable" sysfs attribute
    8dbc001bba86 USB: core: Add hub_get() and hub_put() routines
    122a06f1068b USB: core: Fix deadlock in usb_deauthorize_interface()
    fd2304f4c0ae usb: dwc3: Properly set system wakeup
    d12af9a1c59e staging: vc04_services: fix information leak in create_component()
    98592a49956c staging: vc04_services: changen strncpy() to strscpy_pad()
    d4c34782b6d7 scsi: core: Fix unremoved procfs host directory regression
    a1f506af7ffe scsi: sd: Fix TCG OPAL unlock on system resume
    61d4787692c1 ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs
    66aa5d95ea8c vfio/pds: Make sure migration file isn't accessed after reset
    2ceddecdd0ef drm/amd/display: Clear OPTC mem select on disable
    6a1cb68b9810 drm/amd/display: Disconnect phantom pipe OPP from OPTC being disabled
    ae62f1dde66a drm/amd/display: Fix hang/underflow when transitioning to ODM4:1
    ce748df0d570 USB: UAS: return ENODEV when submit urbs fail with device not attached
    da3b75931bb7 usb: cdc-wdm: close race between read and workqueue
    56c5145baef5 Revert "usb: phy: generic: Get the vbus supply"
    9c74507e6c43 mtd: spinand: Add support for 5-byte IDs
    9ae3954dd36b Bluetooth: hci_sync: Fix not checking error on hci_cmd_sync_cancel_sync
    3b031e4fcb27 drm/i915/gt: Reset queue_priority_hint on parking
    07c011e3351d drm/i915: Do not match JSL in ehl_combo_pll_div_frac_wa_needed()
    69fa0e23a6a3 drm/i915/dsi: Go back to the previous INIT_OTP/DISPLAY_ON order, mostly
    a891add409e3 drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()
    510c5f5e4837 drm/i915/hwmon: Fix locking inversion in sysfs getter
    197f6d6987c5 drm/amdgpu: fix deadlock while reading mqd from debugfs
    2684393685f7 drm/amdkfd: fix TLB flush after unmap for GFX9.4.2
    042ef0afc40f drm/vmwgfx: Create debugfs ttm_resource_manager entry only if needed
    476eed5f1c22 net: ll_temac: platform_get_resource replaced by wrong function
    2a84744a037b nouveau/dmem: handle kcalloc() allocation failure
    be4f3af178cb thermal: devfreq_cooling: Fix perf state when calculate dfc res_util
    cc80b5d7fbef block: Do not force full zone append completion in req_bio_endio()
    152799126327 sdhci-of-dwcmshc: disable PM runtime in dwcmshc_remove()
    4466677dcabe mmc: core: Avoid negative index with array access
    35ee8529eee7 mmc: core: Initialize mmc_blk_ioc_data
    6810ebeb0975 mmc: sdhci-omap: re-tuning is needed after a pm transition to support emmc HS200 mode
    07cf57eba52f selftests/mm: fix ARM related issue with fork after pthread_create
    fe295de2d564 selftests/mm: sigbus-wp test requires UFFD_FEATURE_WP_HUGETLBFS_SHMEM
    b79f9e1ff27c mm: cachestat: fix two shmem bugs
    2e2f7a576b13 hexagon: vmlinux.lds.S: handle attributes section
    c3639d87286a exec: Fix NOMMU linux_binprm::exec in transfer_args_to_stack()
    78516979792d Revert "drm/amd/display: Fix sending VSC (+ colorimetry) packets for DP/eDP displays without PSR"
    566e540b404f wifi: iwlwifi: fw: don't always use FW dump trig
    3d7ac0250714 wifi: iwlwifi: mvm: disable MLO for the time being
    6956ba7da71b wifi: cfg80211: add a flag to disable wireless extensions
    6b948b54c8bd wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes
    8ca8aac42bf7 btrfs: zoned: use zone aware sb location for scrub
    7b5029e3f1b6 btrfs: zoned: don't skip block groups with 100% zone unusable
    0427c8ef8bbb btrfs: fix race in read_extent_buffer_pages()
    c7077f43f30d tmpfs: fix race on handling dquot rbtree
    907efa8839cd ARM: prctl: reject PR_SET_MDWE on pre-ARMv6
    a0071e3b0c24 prctl: generalize PR_SET_MDWE support check to be per-arch
    5110da79d7d6 x86/efistub: Reinstate soft limit for initrd loading
    90048007daea efi/libstub: Cast away type warning in use of max()
    01666eece40e x86/efistub: Add missing boot_params for mixed mode compat entry
    32e4750262e0 init: open /initrd.image with O_LARGEFILE
    3f59182bcb4d ALSA: hda/tas2781: add locks to kcontrols
    b999e77ecf3a ALSA: hda/tas2781: remove digital gain kcontrol
    11b4dc6494b5 perf top: Use evsel's cpus to replace user_requested_cpus
    78142322a1c3 selftests/mm: Fix build with _FORTIFY_SOURCE
    ccf2d9d2ae95 selftests/mm: gup_test: conform test to TAP format output
    674545b4852c pwm: img: fix pwm clock lookup
    9114ba998750 efi: fix panic in kdump kernel
    1acbca933313 x86/fpu: Keep xfd_state in sync with MSR_IA32_XFD
    bebb5af001dc x86/mpparse: Register APIC address only once
    31a6a791b046 efi/libstub: fix efi_random_alloc() to allocate memory at alloc_min or higher address
    f13edd1871d4 kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address
    455b94f95e49 irqchip/renesas-rzg2l: Prevent spurious interrupts when setting trigger type
    e9b18e99938b irqchip/renesas-rzg2l: Rename rzg2l_irq_eoi()
    ddec478fb711 irqchip/renesas-rzg2l: Rename rzg2l_tint_eoi()
    ec5482d22c67 irqchip/renesas-rzg2l: Add macro to retrieve TITSR register offset based on register's index
    9913a07850e0 irqchip/renesas-rzg2l: Flush posted write in irq_eoi()
    c15a37e3f162 irqchip/renesas-rzg2l: Implement restriction when writing ISCR register
    ea4c338cfefa printk: Update @console_may_schedule in console_trylock_spinning()
    e07a16e6f5b1 iommu/dma: Force swiotlb_max_mapping_size on an untrusted device
    c803069d4845 swiotlb: Fix alignment checks when both allocation and DMA masks are present
    ae2f8dbe921e swiotlb: Honour dma_alloc_coherent() alignment in swiotlb_alloc()
    3e7acd6e25ba swiotlb: Fix double-allocation of slots due to broken alignment handling
    4da463081026 entry: Respect changes to system call number by trace_sys_enter()
    0c027c2bad7f ARM: 9359/1: flush: check if the folio is reserved for no-mapping addresses
    66689127f1a7 ARM: 9352/1: iwmmxt: Remove support for PJ4/PJ4B cores
    df13f43686f3 clocksource/drivers/arm_global_timer: Fix maximum prescaler value
    0982fd6bf0b8 x86/sev: Fix position dependent variable references in startup code
    ecd16da39d44 x86/Kconfig: Remove CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
    ee0bd4ad780d vfio/fsl-mc: Block calling interrupt handler without trigger
    62d4e43a569b vfio/platform: Create persistent IRQ handlers
    69276a555c74 vfio/pci: Create persistent INTx handler
    2ee432d74043 vfio: Introduce interface to flush virqfd inject workqueue
    ded566b4637f btrfs: fix deadlock with fiemap and extent locking
    ea01221f95f3 xfs: remove conditional building of rt geometry validator functions
    9efd84260f47 xfs: reset XFS_ATTR_INCOMPLETE filter on node removal
    69252ab1d566 xfs: update dir3 leaf block metadata after swap
    264e3509590c xfs: ensure logflagsp is initialized in xfs_bmap_del_extent_real
    8a4566795552 xfs: fix perag leak when growfs fails
    59b115a7e802 xfs: add lock protection when remove perag from radix tree
    c4848932911b xfs: short circuit xfs_growfs_data_private() if delta is zero
    47604cf2b803 xfs: initialise di_crc in xfs_log_dinode
    b9358db0a811 xfs: add missing nrext64 inode flag check to scrub
    1a48327c9e5a xfs: force all buffers to be written during btree bulk load
    7bc086bbc977 xfs: fix an off-by-one error in xreap_agextent_binval
    84cd4f79b4ce xfs: recompute growfsrtfree transaction reservation while growing rt volume
    d6b65ed1cc5f xfs: remove unused fields from struct xbtree_ifakeroot
    fb6e584e7471 xfs: make xchk_iget safer in the presence of corrupt inode btrees
    3f6308034432 xfs: don't allow overly small or large realtime volumes
    89e511a745be xfs: fix 32-bit truncation in xfs_compute_rextslog
    0a31f1e8d8c6 xfs: make rextslog computation consistent with mkfs
    680776e555f3 xfs: transfer recovered intent item ownership in ->iop_recover
    87db24c8edd3 xfs: pass the xfs_defer_pending object to iop_recover
    cd3c2cf35f7c xfs: use xfs_defer_pending objects to recover intent items
    c0231292d059 xfs: don't leak recovered attri intent items
    08bac45e02c6 xfs: consider minlen sized extents in xfs_rtallocate_extent_block
    57a20b6150d3 xfs: convert rt bitmap extent lengths to xfs_rtbxlen_t
    1a6d63f2418c xfs: move the xfs_rtbitmap.c declarations to xfs_rtbitmap.h
    648b41f28181 wifi: rtw88: 8821cu: Fix connection failure
    9fe75ad3c7e8 wifi: iwlwifi: pcie: fix RB status reading
    3d0a7b23d688 ASoC: amd: yc: Revert "Fix non-functional mic on Lenovo 21J2"
    930775060ca3 x86/efistub: Call mixed mode boot services on the firmware's stack
    23b99c7bf6ec drm/amd/display: handle range offsets in VRR ranges
    e21fee1035b9 drm/i915: Don't explode when the dig port we don't have an AUX CH
    60b9d1887a35 iio: imu: inv_mpu6050: fix FIFO parsing when empty
    3df5e345d6b4 iio: imu: inv_mpu6050: fix frequency setting when chip is off
    d017ec50fac9 i2c: i801: Avoid potential double call to gpiod_remove_lookup_table
    21e985684216 iio: accel: adxl367: fix I2C FIFO data register
    73d42ed41182 iio: accel: adxl367: fix DEVID read after reset
    d97be07a0027 arm64: dts: qcom: sc8280xp-x13s: limit pcie4 link speed
    27cd25e3b3bc mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL allocations
    b1c10caf752c ARM: imx_v6_v7_defconfig: Restore CONFIG_BACKLIGHT_CLASS_DEVICE
    520f79c110ff tee: optee: Fix kernel panic caused by incorrect error handling
    bccaba16db96 ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook
    6971e0592314 ALSA: hda/realtek - Add Headset Mic supported Acer NB platform
    c01ed748847f fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion
    ed56f3cfbe6f Revert "tty: serial: simplify qcom_geni_serial_send_chunk_fifo()"
    7529cbd8b5f6 vt: fix unicode buffer corruption when deleting characters
    68b988933885 mei: me: add arrow lake point H DID
    e86a87a4bea8 mei: me: add arrow lake point S DID
    434beb66368d serial: port: Don't suspend if the port is still busy
    a62a30ccf721 misc: fastrpc: Pass proper arguments to scm call
    997ca4153846 misc: lis3lv02d_i2c: Fix regulators getting en-/dis-abled twice on suspend/resume
    16eac1126d6a tty: serial: fsl_lpuart: avoid idle preamble pending if CTS is enabled
    cc31dba9afa6 xhci: Fix failure to detect ring expansion need.
    a4eff9198449 usb: port: Don't try to peer unused USB ports based on location
    a0f77b5d6067 usb: gadget: ncm: Fix handling of zero block length packets
    4a22aeac24d0 usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group
    871fd7b10b56 USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command
    a125ee2c06b0 ALSA: hda/realtek - Fix headset Mic no show at resume back for Lenovo ALC897 platform
    a30c36bc0cfc drm/i915: Check before removing mm notifier
    24b5eff43ec2 tty: serial: imx: Fix broken RS485
    6f3c1dabe8d0 drm/amdgpu/pm: Fix the error of pwm1_enable setting
    274f0b1a6b97 tracing: Use .flush() call to wake up readers
    4577036353fa SEV: disable SEV-ES DebugSwap by default
    12f8e32a5a38 KVM: SVM: Flush pages under kvm->lock to fix UAF in svm_register_enc_region()
    9d1b22e573a3 KVM: x86: Mark target gfn of emulated atomic instruction as dirty
    43c70cbc2502 firewire: ohci: prevent leak of left-over IRQ on unbind
    a5b60c8b9a9e init/Kconfig: lower GCC version check for -Warray-bounds
    4c9f70c73ddb Input: xpad - add additional HyperX Controller Identifiers
    d9f400dc3e89 cgroup/cpuset: Fix retval in update_cpumask()
    0f952b1bb048 usb: typec: tpcm: Fix PORT_RESET behavior for self powered devices
    bae5b98dcf63 selftests: mptcp: diag: return KSFT_FAIL not test_cnt
    b93494329656 mm, mmap: fix vma_merge() case 7 with vma_ops->close
    b475226733f1 xfrm: Avoid clang fortify warning in copy_to_user_tmpl()
    dc60b25540c8 crypto: sun8i-ce - Fix use after free in unprepare
    48dd260fdb72 crypto: rk3288 - Fix use after free in unprepare
    c288a61a48dd drm/nouveau: fix stale locked mutex in nouveau_gem_ioctl_pushbuf
    6887314f5356 nouveau: lock the client object tree.
    ba29cffccfea Drivers: hv: vmbus: Calculate ring buffer size for more efficient use of memory
    7332d7389b5e netfilter: nf_tables: reject constant set with timeout
    c0c2176d1814 netfilter: nf_tables: disallow anonymous set with timeout flag
    b2d6f9a5b1cf netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout
    56712f74b704 net: fix IPSTATS_MIB_OUTPKGS increment in OutForwDatagrams.
    95232806972a drm/amd/display: Use freesync when `DRM_EDID_FEATURE_CONTINUOUS_FREQ` found
    8b934390272d workqueue: Shorten events_freezable_power_efficient name
    47ccb849a023 drm/bridge: lt8912b: do not return negative values from .get_modes()
    d5a81e981769 drm/bridge: lt8912b: clear the EDID property on failures
    a7d980a9f70e drm/bridge: lt8912b: use drm_bridge_edid_read()
    2b6aaf7b193b drm/bridge: add ->edid_read hook and drm_bridge_edid_read()
    de125efb3bae drm/ttm: Make sure the mapped tt pages are decrypted when needed
    0436d691d216 wifi: brcmfmac: Demote vendor-specific attach/detach messages to info
    8d59a64cbec8 wifi: brcmfmac: cfg80211: Use WSEC to set SAE password
    47b563297a48 wifi: brcmfmac: add per-vendor feature detection callback
    73520eeea49d x86/pm: Work around false positive kmemleak report in msr_build_context()
    e50f83061ac2 dm snapshot: fix lockup in dm_exception_table_exit
    066bbc430644 drm/amd/display: Fix noise issue on HDMI AV mute
    c7c855fd3d5a drm/amd/display: Return the correct HDCP error code
    6fcd12cb9088 drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag
    4992f44a3b05 ahci: asm1064: asm1166: don't limit reported ports
    836af9a25b2d ahci: asm1064: correct count of reported ports
    49391e9f1e14 wireguard: selftests: set RISCV_ISA_FALLBACK on riscv{32,64}
    c991567e6c63 wireguard: netlink: access device through ctx instead of peer
    13d107794304 wireguard: netlink: check for dangling peer via is_dead instead of empty list
    7f1005dd39d2 LoongArch/crypto: Clean up useless assignment operations
    d7d7c6cdea87 LoongArch: Define the __io_aw() hook as mmiowb()
    f3f5d7a5049d LoongArch: Change __my_cpu_offset definition to avoid mis-optimization
    3d26a2d80181 virtio: reenable config if freezing device failed
    8a2e2336b8cf cxl/trace: Properly initialize cxl_poison region name
    a66885b840d6 net: hns3: tracing: fix hclgevf trace event strings
    9aa7a53c4733 drm/i915: Add missing ; to __assign_str() macros in tracepoint code
    6244036a07ae NFSD: Fix nfsd_clid_class use of __string_len() macro
    8291b4eac429 net: esp: fix bad handling of pages from page_pool
    d0caabe6fe76 x86/CPU/AMD: Update the Zenbleed microcode revisions
    f8a2a55a0b82 cpufreq: dt: always allocate zeroed cpumask
    037414669414 mtd: rawnand: Constrain even more when continuous reads are enabled
    26a4eee38f8c mtd: rawnand: Fix and simplify again the continuous read derivations
    da2911798f25 cifs: open_cached_dir(): add FILE_READ_EA to desired access
    997b0c26d3fa cifs: reduce warning log level for server not advertising interfaces
    0845cb6bbf15 cifs: make cifs_chan_update_iface() a void function
    4501f9cd36c1 cifs: delete unnecessary NULL checks in cifs_chan_update_iface()
    db3a3e6fa33e cifs: do not let cifs_chan_update_iface deallocate channels
    66c2940c9614 cifs: make sure server interfaces are requested only for SMB3+
    407ced4e770e cifs: add xid to query server interface call
    0c8aa4cfda4e nilfs2: prevent kernel bug at submit_bh_wbc()
    f69e81396aea nilfs2: fix failure to detect DAT corruption in btree and direct mappings
    6966586c2f77 f2fs: truncate page cache before clearing flags when aborting atomic write
    99d1fd81d341 f2fs: mark inode dirty for FI_ATOMIC_COMMITTED flag
    9a31f4b61448 Revert "block/mq-deadline: use correct way to throttling write requests"
    f1d93b2a010c memtest: use {READ,WRITE}_ONCE in memory scanning
    b483eff0bd19 drm/vc4: hdmi: do not return negative values from .get_modes()
    fd79a093bb23 drm/imx/ipuv3: do not return negative values from .get_modes()
    b71ae5fb2dd3 drm/exynos: do not return negative values from .get_modes()
    a686732df6ce drm/panel: do not return negative error codes from drm_panel_get_modes()
    12bbe2c25cdb drm/probe-helper: warn about negative .get_modes()
    a64ab862e84e s390/zcrypt: fix reference counting on zcrypt card objects
    54d26adf64c0 soc: fsl: qbman: Use raw spinlock for cgr_lock
    0e6521b0f93f soc: fsl: qbman: Always disable interrupts when taking cgr_lock
    700ed41bf63e dlm: fix user space lkb refcounting
    b31301a1fa61 ring-buffer: Use wait_event_interruptible() in ring_buffer_wait()
    7bcd58e8096a ring-buffer: Fix full_waiters_pending in poll
    b87a7e108e6d ring-buffer: Fix resetting of shortest_full
    73dae1a5d489 ring-buffer: Do not set shortest_full when full target is hit
    b82dbe74ee31 ring-buffer: Fix waking up ring buffer readers
    1241052e158d io_uring: clean rings on NO_MMAP alloc fail
    e8fc78a1c70f platform/x86/intel/tpmi: Change vsec offset to u64
    ed3fb2e2fe87 ksmbd: retrieve number of blocks using vfs_getattr in set_file_allocation_info
    c8f7ad2df083 ksmbd: replace generic_fillattr with vfs_getattr
    ef309589f01c server: convert to new timestamp accessors
    1d7317d5b636 tpm,tpm_tis: Avoid warning splat at shutdown
    74c564b7f008 vfio/platform: Disable virqfds on cleanup
    04a4a017b9ff vfio/pci: Lock external INTx masking ops
    2a4a666c4510 vfio/pci: Disable auto-enable of exclusive INTx IRQ
    fe750e274442 thermal/drivers/mediatek: Fix control buffer enablement on MT7896
    7e8cffa4f85e cifs: allow changing password during remount
    9179aa27039a cifs: prevent updating file size from server if we have a read/write lease
    b9e741ac2b7c smb: client: stop revalidating reparse points unnecessarily
    db5f1f1fb8c1 PCI: hv: Fix ring buffer size calculation
    cebb4baed803 PCI: dwc: endpoint: Fix advertised resizable BAR size
    7aeca6f44cb6 PCI: qcom: Enable BDF to SID translation properly
    52f86f3e091c kbuild: Move -Wenum-{compare-conditional,enum-conversion} into W=1
    71739da67085 NFS: Read unlock folio on nfs_page_create_from_folio() error
    e25447c35f87 nfs: fix UAF in direct writes
    7293dd0bd34a sparc32: Fix parport build with sparc32
    0f314c3be7d9 io_uring: fix mshot io-wq checks
    f55ecbd9a78c io_uring/net: correctly handle multishot recvmsg retry setup
    1a6efd4c286c PCI/AER: Block runtime suspend when handling errors
    cc3519b818c1 speakup: Fix 8bit characters from direct synth
    a973ef25f144 usb: gadget: tegra-xudc: Fix USB3 PHY retrieval logic
    3dd6e0faa75d phy: tegra: xusb: Add API to retrieve the port number of phy
    0ef9d78ba7e7 slimbus: core: Remove usage of the deprecated ida_simple_xx() API
    63c7a5cf228e nvmem: meson-efuse: fix function pointer type mismatch
    37b6a3ba793b ext4: fix corruption during on-line resize
    27715371c162 hwmon: (amc6821) add of_match table
    100d83b0da07 landlock: Warn once if a Landlock action is requested while disabled
    bc8e5fda787b drm/etnaviv: Restore some id values
    10f2af1af8ab leds: trigger: netdev: Fix kernel panic on interface rename trig notify
    d4e2365b07f1 Bluetooth: btnxpuart: Fix btnxpuart_close
    985edff78e80 mmc: core: Fix switch on gp3 partition
    0f98f6d2fb5f mm: swap: fix race between free_swap_and_cache() and swapoff()
    20d3e1c8a184 mac802154: fix llsec key resources release in mac802154_llsec_key_del
    7d3765550374 block: Fix page refcounts for unaligned buffers in __bio_release_pages()
    653d51504f41 powerpc: xor_vmx: Add '-mhard-float' to CFLAGS
    dc9702acfb4f dm-raid: fix lockdep waring in "pers->hot_add_disk"
    31ead1845c37 PCI/DPC: Quirk PIO log size for Intel Raptor Lake Root Ports
    d86ad8c3e152 PCI/PM: Drain runtime-idle callbacks before driver removal
    0bfe6b29d6ac wifi: rtw88: Add missing VID/PIDs for 8811CU and 8821CU
    51dad05f1835 btrfs: fix off-by-one chunk length calculation at contains_pending_extent()
    40a24160cf3c btrfs: qgroup: always free reserved space for extent records
    4cc3e2ed6759 serial: Lock console when calling into driver before registration
    6f12c54fa09d serial: core: only stop transmit when HW fifo is empty
    1846bd4fc1bb usb: dwc3-am62: Disable wakeup at remove
    7dfed9855397 usb: dwc3-am62: fix module unload/reload behavior
    4a1f0678d15e usb: typec: ucsi: Clean up UCSI_CABLE_PROP macros
    8b86779ade3a fuse: don't unhash root
    777ba18929b5 fuse: fix root lookup with nonzero generation
    3d304dd6b29d fuse: replace remaining make_bad_inode() with fuse_make_bad()
    bd169abd394e mmc: tmio: avoid concurrent runs of mmc_request_done()
    677aa47e3e43 PM: sleep: wakeirq: fix wake irq warning in system suspend
    3c3df979e9b7 USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M
    28f719670f00 KVM: x86/xen: inject vCPU upcall vector when local APIC is enabled
    5cf342a13d49 USB: serial: option: add MeiG Smart SLM320 product
    07a8b301818f USB: serial: cp210x: add ID for MGP Instruments PDS100
    515159ca62a8 USB: serial: add device ID for VeriFone adapter
    58bb229d9714 USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB
    816ae3cf3dcb powerpc/fsl: Fix mfpmr build errors with newer binutils
    620b6cf2f1a2 usb: xhci: Add error handling in xhci_map_urb_for_dma
    7e9926fef71e clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays
    9b4c4546dd61 clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays
    0204247cf366 clk: qcom: gcc-ipq9574: fix terminating of frequency table arrays
    b6b31b4c67ea clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays
    421b135aceac clk: qcom: gcc-ipq6018: fix terminating of frequency table arrays
    b0cf3d200e8a clk: qcom: gcc-ipq5018: fix terminating of frequency table arrays
    245c318cdad0 vfio/pds: Always clear the save/restore FDs on reset
    35c1cdd504a3 PM: suspend: Set mem_sleep_current during kernel command line setup
    ed87a423756a cpufreq: Limit resolving a frequency to policy min/max
    66e2c41b0c80 docs: Restore "smart quotes" for quotes
    f77c8c1603bb iio: adc: rockchip_saradc: use mask for write_enable bitfield
    7ed675cfaf51 iio: adc: rockchip_saradc: fix bitmask for channels on SARADCv2
    8ec4a68a25a2 md/raid5: fix atomicity violation in raid5_cache_count
    644604e6f014 parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds
    d4b71ff9c918 parisc: Fix csum_ipv6_magic on 64-bit systems
    cabe3343acce parisc: Fix csum_ipv6_magic on 32-bit systems
    d31c8d0ca8bf parisc: Fix ip_fast_csum
    6bd42452713e parisc: Avoid clobbering the C/B bits in the PSW with tophys and tovirt macros
    51408b47f8af parisc/unaligned: Rewrite 64-bit inline assembly of emulate_ldd()
    f9f67e87e4b7 x86/nmi: Fix the inverse "in NMI handler" check
    736ad6c577a3 md/md-bitmap: fix incorrect usage for sb_index
    d8ea3e788b5a mtd: rawnand: meson: fix scrambling mode value in command macro
    1a3487cdf8dc ubi: correct the calculation of fastmap size
    d1b505c988b7 ubi: Check for too small LEB size in VTBL code
    fc99f4e2d2f1 ubifs: Set page uptodate in the correct place
    ab8f9df10694 fuse: fix VM_MAYSHARE and direct_io_allow_mmap
    03a7e3f2ba3c fat: fix uninitialized field in nostale filehandles
    b46c822f8b55 bounds: support non-power-of-two CONFIG_NR_CPUS
    d6e646b86085 kasan/test: avoid gcc warning for intentional overflow
    fe86d01ce7db block: Clear zone limits for a non-zoned stacked queue
    ba191200a1ae ext4: correct best extent lstart adjustment logic
    9a06d17abc16 selftests/mqueue: Set timeout to 180 seconds
    8a5a7611ccc7 crypto: qat - resolve race condition during AER recovery
    e8ac80031809 sparc: vDSO: fix return value of __setup handler
    61798d3cb53a sparc64: NMI watchdog: fix return value of __setup handler
    a0b9f4f8e22b powerpc/smp: Increase nr_cpu_ids to include the boot CPU
    68a9c41f0167 powerpc/smp: Adjust nr_cpu_ids to cover all threads of a core
    7f6282665dd7 powercap: intel_rapl_tpmi: Fix System Domain probing
    b5cbb42fb658 powercap: intel_rapl_tpmi: Fix a register bug
    d6c83ee705a1 powercap: intel_rapl: Fix locking in TPMI RAPL
    c4c2f7e672e7 sched: Simplify tg_set_cfs_bandwidth()
    0641908b906a powercap: intel_rapl: Fix a NULL pointer dereference
    9df6a7a3c951 thermal/intel: Fix intel_tcc_get_temp() to support negative CPU temperature
    868e3264f236 cpufreq: amd-pstate: Fix min_perf assignment in amd_pstate_adjust_perf()
    e056484f189b arm64: dts: qcom: sm8550-mtp: correct WCD9385 TX port mapping
    6eacb2ec2e79 arm64: dts: qcom: sm8550-qrd: correct WCD9385 TX port mapping
    a75afe480d43 KVM: Always flush async #PF workqueue when vCPU is being destroyed
    88efc3095b6d media: nxp: imx8-isi: Mark all crossbar sink pads as MUST_CONNECT
    d0e3440dab0d media: mc: Expand MUST_CONNECT flag to always require an enabled link
    3b6ccc91dcc4 media: mc: Rename pad variable to clarify intent
    ebb6fb7f6265 media: mc: Add num_links flag to media_pad
    c95318607fbe media: nxp: imx8-isi: Check whether crossbar pad is non-NULL before access
    0a7690224714 media: mc: Fix flags handling when creating pad links
    cc088ebf8b4a media: mc: Add local pad to pipeline regardless of the link state
    dc5e4f240473 media: xc4000: Fix atomicity violation in xc4000_get_frequency
    b5d40f02e722 pci_iounmap(): Fix MMIO mapping leak
    86cb706a40b7 drm/vmwgfx: Fix the lifetime of the bo cursor memory
    2160ad6861c4 serial: max310x: fix NULL pointer dereference in I2C instantiation
    ff41e0d4f3fa drm/vmwgfx: Fix possible null pointer derefence with invalid contexts
    01fad74090a0 arm: dts: marvell: Fix maxium->maxim typo in brownstone dts
    3677d01c55bc smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity()
    c6fc44595491 smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr()
    a1a8d40182e2 clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd
    2c26984759bb remoteproc: virtio: Fix wdg cannot recovery remote processor
    779af170f1db arm64: dts: qcom: sc7280: Add additional MSI interrupts
    1992f2af6444 media: staging: ipu3-imgu: Set fields before media_entity_pads_init()
    e76f6b9618e8 wifi: brcmfmac: avoid invalid list operation when vendor attach fails
    190794848e2b wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach
    0a23f95af7f2 drm/vmwgfx: Unmap the surface before resetting it on a plane state
    51138f1f3564 KVM: x86: Use a switch statement and macros in __feature_translate()
    688313fb139e KVM: x86: Advertise CPUID.(EAX=7,ECX=2):EDX[5:0] to userspace
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 0e9c79783af393dde710e972f874367ae431d65e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 140669b5b9ec6376a6fdc3f8e49932ca8971a8c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:35 -07:00
Richard Purdie
6522a8ac0a maintainers: Drop go-native as recipe removed
(From OE-Core rev: f79af0f5a8fa02e83fe5ae688715caa0627caaa5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1227df3d03a2e959925c3f4016fc5760689262cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:35 -07:00
Jose Quaresma
15122cbc82 go: drop the old 1.4 bootstrap C version
Bootstrap [1]
As mentioned in the Go 1.20 release notes, Go 1.22 now requires the final point release of Go 1.20 or later for bootstrap.
We expect that Go 1.24 will require the final point release of Go 1.22 or later for bootstrap.

The default recipe for bootstrap is the go-binary-native as can be seen in:
meta/conf/distro/include/tcmode-default.inc:68:PREFERRED_PROVIDER_go-native ?= "go-binary-native"

Currently if we change it to use the old go-native and compile the go1.4-bootstrap-20170531
it fails:

| Building Go cmd/dist using /build/workdir/tmp-glibc/work/x86_64-linux/go-native/1.22.3-r0/go1.4/go. (go1.4-bootstrap-20170531 linux/amd64)
| can't load package: package ./cmd/dist: found packages build.go (main) and notgo120.go (building_Go_requires_Go_1_20_6_or_later) in /build/workdir/tmp-glibc/work/x86_64-linux/go-native/1.22.3-r0/go/src/cmd/dist

This has been broken for some time but as we used go-binary-native by default it went unnoticed.

[1] https://go.dev/doc/go1.22#bootstrap

(From OE-Core rev: f350f5b6302fc226e477d5283e4a9722a11d4170)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 876d344d2ec3d6ce283d01974146392d76685824)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:35 -07:00
Jose Quaresma
537a3e0ff4 go: upgrade 1.22.3 -> 1.22.4
Include fixes for CVE-2024-24790

Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.3..go1.22.4
ace5bb40d0 (tag: go1.22.4) [release-branch.go1.22] go1.22.4
12d5810cdb [release-branch.go1.22] net/netip: check if address is v6 mapped in Is methods
745657509e [release-branch.go1.22] os: RemoveAll: fix symlink race for unix
95389d3d9d [release-branch.go1.22] runtime: x_cgo_getstackbound: initialize pthread attr
cf501ac0c5 [release-branch.go1.22] archive/zip: treat truncated EOCDR comment as an error
cb55d1a0c8 [release-branch.go1.22] cmd/link: add runtime.text.N symbols to macho symbol table in dynlink mode
3c96ae0870 [release-branch.go1.22] runtime: update large object stats before freeSpan in sweep
6b89e7dc5a [release-branch.go1.22] cmd/compile: initialize posBaseMap correctly
185457da9b [release-branch.go1.22] crypto/x509: remove TestPlatformVerifierLegacy tests
3a84293118 [release-branch.go1.22] cmd/compile: avoid past-the-end pointer when zeroing
362dcedfdb [release-branch.go1.22] cmd/go/testdata/script: add darwin skips for selected buildrepro tests
d4a81ec7ee [release-branch.go1.22] cmd/go/testdata/script: clear path in gotoolchain_issue66175
dc8976dd0b [release-branch.go1.22] cmd/compile: don't combine loads in generated equality functions
00e6815208 [release-branch.go1.22] cmd/go: download 1.X.0 instead of 1.X during toolchain upgrade.

[1] https://github.com/golang/go/compare/go1.22.3...go1.22.4

(From OE-Core rev: ba176de9bd8681c00d4388945fc9c9cc1807591c)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit cf139dfec080152a66a9c42bfb9bfca6789909be)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:35 -07:00
Jose Quaresma
9300b5fbff go: upgrade 1.22.2 -> 1.22.3
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.2..go1.22.3
adbfb672ba (tag: go1.22.3) [release-branch.go1.22] go1.22.3
fa0292d252 [release-branch.go1.22] cmd/go: disallow -lto_library in LDFLAGS
947e43e371 [release-branch.go1.22] Revert "cmd/compile: don't combine loads in generated equality functions"
9d2e28501c [release-branch.go1.22] cmd/compile: don't combine loads in generated equality functions
93d8777d24 [release-branch.go1.22] net: check SkipAdditional error result
3f4af1ff0e [release-branch.go1.22] runtime: use bootstrapRand to initialize hashkey
a7ff78d585 [release-branch.go1.22] cmd/compile: bail PGO method lookup on interface types
12c1177045 [release-branch.go1.22] cmd/internal/obj/ppc64: fix incorrect int to int64 conversion when checking MOVD opcodes
d6c972ad41 [release-branch.go1.22] net/http: update bundled golang.org/x/net/http2
a65a2bbd8e [release-branch.go1.22] all: tidy dependency versioning after release

[1] https://github.com/golang/go/compare/go1.22.2...go1.22.3

(From OE-Core rev: 980e6d082a60d7ffac087b2fac9e7821dddf2933)

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 18062def5b65e02d6dc0570734055c100445b6f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:35 -07:00
Trevor Gamblin
5da7e1b38a python3: upgrade 3.12.3 -> 3.12.4
This release contains numerous security updates and fixes to
regressions. Changelog:

https://docs.python.org/release/3.12.4/whatsnew/changelog.html#python-3-12-4-final

Results of ptests in core-image-ptest-python3 (qemux86-64):

== Tests result: SUCCESS ==

26 tests skipped:
    test.test_asyncio.test_windows_events
    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
    test.test_gdb.test_misc test.test_gdb.test_pretty_print
    test_asdl_parser test_clinic test_devpoll test_idle test_ioctl
    test_kqueue test_launcher test_msilib test_startfile test_tcl
    test_tix test_tkinter test_ttk test_ttk_textonly test_turtle
    test_winapi test_winconsoleio test_winreg test_wmi

9 tests skipped (resource denied):
    test_curses test_ossaudiodev test_smtpnet test_socketserver
    test_urllib2net test_urllibnet test_winsound test_xmlrpc_net
    test_zipfile64

454 tests OK.

Total duration: 2 min 45 sec
Total tests: run=41,470 skipped=1,548
Total test files: run=480/489 skipped=26 resource_denied=9
Result: SUCCESS
DURATION: 165
END: /usr/lib/python3/ptest
2024-06-10T17:03
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 621b0298e1829a86002ebb57d99850907e775b43)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 012aeee398af4d4cce4012f71007cfb31266dd6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:34 -07:00
Sundeep KOKKONDA
edd76776e1 binutils: stable 2.42 branch updates
Below commits on binutils-2.42 stable branch are updated.

6c360d37662 PR31898 bug in processing DW_RLE_startx_endx
bfda03eed33 aarch64: Remove asserts from operand qualifier decoders
6224493e457 Re: PR26978, Inconsistency for strong foo@v1 and weak foo@@v1
d125f967537 hppa: Implement PA 2.0 symbolic relocations for long displacements
884fb5373a1 x86/APX: Remove KEYLOCKER and SHA promotions from EVEX MAP4
d816fda3cbd aarch64: Remove B16B16, SVE2p1 and SME2p1
cb11047e34a Re: Move bfd_init to bfd.c
818bcf40efb print cached error messages using _bfd_error_handler
831be495ef1 aarch64: Fix the 2nd operand in gcsstr and gcssttr instructions.

Dropped: 0016-aarch64-Remove-asserts-from-operand-qualifier-decode.patch

(From OE-Core rev: b7a8c28b1de396f371c3bc6c624db6208e217149)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:34 -07:00
Siddharth Doshi
cf9d8807f8 libxml2: Upgrade 2.12.6 -> 2.12.8
CVE's Fixed by upgrade:
CVE-2024-34459 libxml2: buffer over-read in xmlHTMLPrintFileContext in xmllint.c

Other Changes between 2.12.6 -> 2.12.8
======================================
https://gitlab.gnome.org/GNOME/libxml2/-/blob/2.12/NEWS?ref_type=heads

(From OE-Core rev: 0dc695fe1f6deffc65d61257009bbfed4f2c53e9)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:34 -07:00
Vijay Anusuri
f2310cc64a wget: Fix for CVE-2024-38428
Upstream-Status: Backport
[https://git.savannah.gnu.org/cgit/wget.git/commit/?id=ed0c7c7e0e8f7298352646b2fd6e06a11e242ace]

(From OE-Core rev: 3c6e147f57e44d473fbd5fe5a11746150e561937)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-07-03 06:28:34 -07:00
Steve Sakoman
f7def85be9 build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: 803cc32e72b4fc2fc28d92090e61f5dd288a10cb)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-24 06:49:29 -07:00
Steve Sakoman
5d657e0f47 poky.conf: bump version for 5.0.2
(From meta-yocto rev: e0a218eaa794dddcc2e87e42652e191fcaf0b7bc)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-24 06:46:52 -07:00
Richard Purdie
2d92aefd4b bitbake: fetch2/wget: Fix failure path for files that are empty or don't exist
When we intercepted the file download to a temp file, we broke the
exist/size checks which need to happen before the rename. Correct
the ordering.

For some reason, python 3.12 exposes this problem in the selftests
differently to previous versions.

(Bitbake rev: 8714a02e13477a9d97858b3642e05f28247454b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c56bd9a9280378bc64c6a7fe6d7b70847e0b9e6d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-24 06:46:52 -07:00
Richard Purdie
bc322a184d bitbake: tests/fetch: Tweak to work on Fedora40
On Fedora40, "localhost" sometimes resolves to ::1 and sometimes to 127.0.0.1
and python only binds to one of the addresses, leading to test failures.

Use 127.0.0.1 explicitly to avoid problems of the name resolution, we're trying
to test things other than the host networking.

(Bitbake rev: 5fa596b3f2e49fbd144347b9800c76de72a29e28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9adc6da42618f41bf0d6b558d62b2f3c13bedd61)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-24 06:46:52 -07:00
Rudolf J Streif
d2d129fabc bitbake: fetch2/wget: Canonicalize DL_DIR paths for wget2 compatibility
Some distributions (namely Fedora Core 40) have started replacing
wget with wget2. There are some changes to wget2 that make it
incompatible with wget:

1. ftp/ftps is not supported anymore
2. progress 'dot' is not yet supported
3. Relative paths in -P and -O are not correctly dealt with

Item 1: Is already dealt with since Scarthgap by only adding the
option --passive-ftp when the URL specifies ftp/sftp. While that
won't help if ftp/sftp is actually required it at least does
not break http/https downloads.

Item 2: While not supported it at least does not break the operation.

Item 3: If there are relative path components in -P or -O then wget2
only deals with them correctly if there is one, and only one, relative
path component at the beginning of the path:

-P ./downloads     works
-P ../downloads    works
-P ../../downloads does not work
-P ./../downloads  does not work
-P /home/user/downloads/../downloads does not work

In cases where there are more than one relative path component at
the beginning of the path and/or one or more reltaive path
component somewhere in the middle or end of the path, wget2 aborts
with the message Internal error: Unexpected relative path: '<path>')

Such can happen if DL_DIR includes relative path components e.g.
DL_DIR = "${TOPDIR}/../../downloads".

This patch canonicalizes DL_DIR before it is passed to wget.

(Bitbake rev: 47678142e26bb76d1351886060deff5e75039bc9)

Signed-off-by: Rudolf J Streif <rudolf.streif@ibeeto.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3e4208952b086adc510e78c1c5f9cf4550d79dc9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-24 06:46:52 -07:00
Siddharth Doshi
abcd5a88a3 cups: Upgrade 2.4.7 -> 2.4.9
CVE's Fixed by upgrade:
CVE-2024-35235 cups: Cupsd Listen arbitrary chmod 0140777

Other Changes between 2.4.7 -> 2.4.9
====================================
https://github.com/OpenPrinting/cups/blob/2.4.x/CHANGES.md

(From OE-Core rev: fea7f804f916d0c6c86823fc8dce6463c425532d)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:44 -07:00
Martin Jansa
4a1234df65 db: ignore implicit-int and implicit-function-declaration issues fatal with gcc-14
* many configure tests (which might not fail before) are failing with gcc-14:
  # grep implicit build/config.log
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:50:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  conftest.c:50:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  conftest.c:53:9: error: implicit declaration of function 'msem_init' [-Wimplicit-function-declaration]
  conftest.c:54:9: error: implicit declaration of function 'msem_lock' [-Wimplicit-function-declaration]
  conftest.c:55:9: error: implicit declaration of function 'msem_unlock' [-Wimplicit-function-declaration]
  conftest.c:56:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  conftest.c:56:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  conftest.c:50:9: error: implicit declaration of function '_spin_lock_try' [-Wimplicit-function-declaration]
  conftest.c:51:9: error: implicit declaration of function '_spin_unlock' [-Wimplicit-function-declaration]

* I have noticed this on db-native build on host with gcc-14
  where it caused fatal do_configure error:
  http://errors.yoctoproject.org/Errors/Details/784164/

  checking for mutexes... UNIX/fcntl
  configure: error: Support for FCNTL mutexes was removed in BDB 4.8.

  the config.log confirms it's because implicit-int:

  configure:22798: checking for mutexes
  configure:22925: gcc  -o conftest -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/include -O2 -pipe  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/include -D_GNU_SOURCE -D_REENTRANT -L/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/lib                         -L/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/lib                         -Wl,-rpath,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/lib                         -Wl,-O1 conftest.c  -lpthread >&5
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
     47 | main() {
        | ^~~~
  configure:22925: $? = 1
  configure: program exited with status 1

* comparing target db with and without this change shows following diff
  in log.do_configure:

  db $ diff 5.3.28*/temp/log.do_configure
  268c268
  < checking for mutexes... POSIX/pthreads/library
  ---
  > checking for mutexes... POSIX/pthreads/library/x86_64/gcc-assembly
  271c271
  < checking for atomic operations... no
  ---
  > checking for atomic operations... x86/gcc-assembly

(From OE-Core rev: 4d3ce333c10fadf746b6d8b55a88777c97e11ffa)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6108da955e7c553247ff5356cf1c990b3d334edf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:44 -07:00
Khem Raj
32ddc0417f kexec-tools: Fix build with GCC-14 on musl
(From OE-Core rev: 30e226d48ae04e387d53fbde1b729569ae35bad5)

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 704f51f72c301bd081a635dbe94e52aa97ffb827)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:44 -07:00
Martin Jansa
da1e522530 cdrtools-native: fix build with gcc-14
Fixes:
http://errors.yoctoproject.org/Errors/Details/770525/
| checking whether the C compiler (gcc  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works... no
| configure: error: installation or configuration problem: C compiler cannot create executables.
| RULES/rules.cnf:70: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf: No such file or directory
| make: *** [RULES/rules.cnf:59: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf] Error 1
| make: *** Waiting for unfinished jobs....

where config.log show it's caused by gcc-14:

configure:1189: checking whether the C compiler (gcc  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works
configure:1211: gcc  -o conftest -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe  -D_GNU_SOURCE  conftest.c   1>&5
configure:1208:1: error: return type defaults to 'int' [-Wimplicit-int]
configure: failed program was:

main(){return(0);}

(From OE-Core rev: 2297334257e102f33a6ef8c116896e159d35e1b6)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 094273bd7d1768e14fbdcd2f239bee14c630a625)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:44 -07:00
Khem Raj
502e5a8f51 zip: Fix build with gcc-14
zip's configure fails to link this piece of test code:

  int main() { return closedir(opendir(".")); }

with GCC-14 because it now treats implicit declaration of function
as error, unline older GCC version where it was just a warning
and this test would build fine.

Remove 0002-unix.c-Do-not-redefine-DIR-as-FILE.patch which
is now unnecessary.

(From OE-Core rev: 82d58f8bf63d6af80b5a4ad03d5121f1541ae15d)

Signed-off-by: Zoltán Böszörményi <zboszor@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 3422411eb750c7e960b81676637cfb321dbadefb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:44 -07:00
Khem Raj
3c7d9c28ac iproute2: Fix build with GCC-14
(From OE-Core rev: 06b5a2db1d079c86652534b6fc7e504f77604af4)

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 127df0ac9b55fa2a7f3269934854f805843d01cc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:44 -07:00
Khem Raj
ad1147aa7e ltp: Fix build with GCC-14
(From OE-Core rev: 42c5a8d52f6f01ebf6fd441e5cf7fd2cd771cfd4)

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 5d3bea7f817aee6eb053eccc22f5c35f8a3d3668)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Martin Jansa
4884f3edb8 lrzsz connman-gnome libfm: ignore various issues fatal with gcc-14
work arounds for:
oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile
oe-core/meta/recipes-connectivity/connman/connman-gnome_0.7.bb:do_compile
oe-core/meta/recipes-support/libfm/libfm_1.3.2.bb:do_compile

http://errors.yoctoproject.org/Errors/Build/183127/

More fixes on ML (especially for -native with gcc-14 on host)
cdrtools: https://lists.openembedded.org/g/openembedded-core/message/198899
syslinux: https://lists.openembedded.org/g/openembedded-core/message/198901

(From OE-Core rev: 924dc9bd3b1b21a60ebb117b0abf81d2650aedd0)

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 856ffc7d0893c1dc549baf401899947f70d31896)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Khem Raj
723d7451a3 gtk4: Disable int-conversion warning as error
This helps builds on 32bit machines when using GCC-14
there is a bug filed for fixing this in code [1]

[1] https://gitlab.gnome.org/GNOME/gtk/-/issues/6033
(From OE-Core rev: 67e5be967e9d10ed295e9ca4cbfdf759f33e143f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3735b5566c7e0e1a36171523e7b553497f4da1a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Khem Raj
408d77ae35 consolekit: Disable incompatible-pointer-types warning as error
Fixes build with gcc-14

(From OE-Core rev: 9199d64629e8d27736c7f1e73cd9e95e8f04158b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d4fb4007cbaf545e023b0cb55b80fb5c70cf5b57)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Khem Raj
83b2701c97 kea: Remove -fvisibility-inlines-hidden from C++ flags
This fixes build with gcc-14, where default visibility is extended to
inline functions and getAll() function now falls into this category
and functions are marked hidden resulting in linking errors

Fixes
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::Dhcpv4Srv::appendRequestedVendorOptions(isc::dhcp::Dhcpv4Exchange&)':
/usr/src/debug/kea/2.5.8/src/bin/dhcp4/dhcp4_srv.cc:2356:(.text+0xaac2): undefined reference to `isc::dhcp::CfgOption::getAll(unsigned int) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::OptionDescriptor isc::dhcp::CfgOption::get<unsigned int>(unsigned int const&, unsigned short) const':
/usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:609:(.text+0xb288): undefined reference to `isc::dhcp::CfgOption::getAll(unsigned int) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::Dhcpv4Srv::appendRequestedOptions(isc::dhcp::Dhcpv4Exchange&)':
/usr/src/debug/kea/2.5.8/src/bin/dhcp4/dhcp4_srv.cc:2128:(.text+0xc556): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `std::vector<isc::dhcp::OptionDescriptor, std::allocator<isc::dhcp::OptionDescriptor> > isc::dhcp::CfgOption::getList<char [6]>(char const (&) [6], unsigned short) const':
/usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:641:(.text._ZNK3isc4dhcp9CfgOption7getListIA6_cEESt6vectorINS0_16OptionDescriptorESaIS5_EERKT_t[_ZNK3isc4dhcp9CfgOption7getListIA6_cEESt6vectorINS0_16OptionDescriptorESaIS5_EERKT_t]+0x86): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::OptionDescriptor isc::dhcp::CfgOption::get<char [6]>(char const (&) [6], unsigned short) const':
/usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:609:(.text._ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t[_ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t]+0x77): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:651: kea-dhcp4] Error 1

(From OE-Core rev: a68a3d40bf9226158d2c6433d3124be82eb02c63)

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>
(cherry picked from commit 584940c2f3234bfaf579429e162e683934e86538)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Martin Jansa
6a6402dfdf p11-kit: ignore various issues fatal with gcc-14 (for 32bit MACHINEs)
* these are reproducible only with 32bit MACHINEs and probably related
  to time64.inc

* http://errors.yoctoproject.org/Errors/Build/183154/

(From OE-Core rev: 10d2ba3bf2328d74edfbf6624f4f4ac52b3e9655)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fa2b8a494e641faab095487af90c5b78d9e33868)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Martin Jansa
a2ae5627ab libunwind: ignore various issues now fatal with gcc-14
http://gecko.lge.com:8000/Errors/Details/821679
(From OE-Core rev: dface38338ccaa45b2d1202e62adc87d99c3fb49)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20b9e9980c6675906ed154df968008f8c9140a9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Martin Jansa
59c0bbcdb9 expect: ignore various issues now fatal with gcc-14
(From OE-Core rev: 454c48eac61f8e690b148e1c598aeb25912b1ec9)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 83e9790fe27c310a4f5a66fedb29b232d23a22e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Wang Mingyu
84595983b8 appstream: upgrade 1.0.2 -> 1.0.3
Changelog:
===========
 * qt: Fix relocation of Config.cmake files
 * cli: check-syscompat: Recognize available required controls as available
 * validator: Guard issue emission functions with G_GNUC_PRINTF
 * validator: Always use secure string formatting for issue emit function
 * utils: Explicitly set format style when installing catalog metadata
 * Suppress static-analyzer drawing wrong conclusions on GCC 14

(From OE-Core rev: c2315a8879070b514870ded07cc2a49c0616a8c7)

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 be566cf0fecba34f1f792cbf060143be710970ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Zoltan Boszormenyi
0c585f6b66 cdrtools-native: Fix build with GCC 14
Add a patch to fix do_configure with GCC 14.
Disable building cdda2wav because it doesn't build with GCC 14.

(From OE-Core rev: 748d5f637f5aff3bc110b156cc3cb8e008f284c9)

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>
(cherry picked from commit 0fbe1766abb00edeb8ec9a0c8bdb4e723be4f352)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Ross Burton
3f86c9b37c gawk: fix readline detection
The code fragment used to detect readline in cross builds doesn't compile
cleanly with GCC 14.1, so readline is never enabled.

Add missing includes so the test works, and readline can be enabled.

(From OE-Core rev: b97aa1c3488b8f6aeb8e25f4ce810babc46a3ce5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a6e7c3ce700b82c57f1102187fea6b387339eca3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Richard Purdie
7d8845f154 gcc-runtime: libgomp fix for gcc 14 warnings with mandb selftest
ERROR: gcc-runtime-14.1.0-r0 do_package: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package:
  /usr/share/info
  /usr/share/info/libgomp.info-2
  /usr/share/info/libgomp.info-1

(From OE-Core rev: 276ca15f21321dd406b30acd87d64237f707d615)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4f73ddd6c276dcd579d2113db1974d446dbf7751)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Richard Purdie
6570fd5116 oeqa/sdk/assimp: Upgrade and fix for gcc 14
To enable this test to work with gcc 14, pass the option to make
warnings non-fatal. Also upgrade to version 5.4.1 from 5.3.1.

(From OE-Core rev: c0c58c9acbcbed26f95864dc5e40b5995252ce4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c3df6287ae26dc9d7f11eb7e26fdbcaefe4dfead)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Ross Burton
b2286f9882 oeqa/sdkext/devtool: replace use of librdfa
librdfa hasn't had a commit for a decade now and as such has problems
with modern compilers (specifically gcc 14.1).  Switch the recipe
creation test to something much simpler that we also control: dbus-wait.

(From OE-Core rev: 311e7b5b9ee4f0d96a376a06f01c5bfd379ca244)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d801de1f702d8d0def55011b5b6ad39d85f978f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Michael Halstead
818fe3d7df yocto-uninative: Update to 4.5 for gcc 14
(From OE-Core rev: 335d11ad2dd4207e5927f1938c449547a3a2975b)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f5638681cef7e250ac64832dbe791418d97f05ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-20 06:29:43 -07:00
Zoltan Boszormenyi
0b35aab466 cracklib: Modify patch to compile with GCC 14
GCC 14 implicitly turns a warning into a compiler error:

| ../../git/src/lib/packlib.c: In function ‘PWClose’:
| ../../git/src/lib/packlib.c:554:40: error: passing argument 1 of ‘HwmsHostToBigEndian’ from incompatible pointer type [-Wincompatible-pointer-types]
|   554 |             HwmsHostToBigEndian(tmp_pwp.hwms, sizeof(tmp_pwp.hwms), en_is32);
|       |                                 ~~~~~~~^~~~~
|       |                                        |
|       |                                        uint32_t * {aka unsigned int *}
| ../../git/src/lib/packlib.c:142:27: note: expected ‘char *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’}
|   142 | HwmsHostToBigEndian(char *pHwms, int nLen,int nBitType)
|       |                     ~~~~~~^~~~~

Add the cast to (char *) to silence it.

(From OE-Core rev: 50b9126cd8668d8c039e9bd61eaba458f7a22014)

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>
(cherry picked from commit 914128f6bd988cde278e087fb9457a0c70c7e5ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Alexandre Truong
554e8de6a4 Revert "oeqa/selftest/devtool: fix test_devtool_add_git_style2"
This reverts commit ab6d3e3d64
from poky repository.

The previous reverted commit was a workaround. The fix
"oeqa/selftest/devtool: fix _test_devtool_add_git_url"
tackle the issue. So, the workaround is not needed anymore.

(From OE-Core rev: fd30cc2ab99fe6a8e4beb29d9cb46a772db8b8d8)

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-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>
(cherry picked from commit 731f47ecfd8ad6558aac629806810789c623986b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Alexandre Truong
afba27a984 oeqa/selftest/devtool: fix _test_devtool_add_git_url
This patch is a follow-up to the bug#15466.

As a reminder, the bug was about devtool’s submodule detection
checking for HEAD when a version is being passed.

As Vincent Kriek pointed out:
the --version that is being passed to devtool is only used for
setting the PV value in the recipe. To take into account the tag,
we add --srcrev to the command:
devtool add --srcrev v3.1.0 --version v3.1.0 mbedtls git://git@github.com/ARMmbed/mbedtls.git;protocol=https

Changes to _test_devtool_add_git_url have been made to take
into account the srcrev. srcrev will be passed as an optional
parameter because the test_devtool_add_git_style1
does not need the srcrev contrary to test_devtool_add_git_style2

Fixes [YOCTO #15466]

(From OE-Core rev: c297b78454da2a668e62dec95d7b6eb6e5429480)

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reported-by: Alexandre Truong <alexandre.truong@smile.fr>
Suggested-by: Vincent Kriek <vincent@coelebs.dev>
Reviewed-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>
(cherry picked from commit a8686f3641e4407dee3d807898ffd620e2732b78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Marc Ferland
35bd8118fc libinput: fix building with debug-gui option
When building libinput with the 'gui' PACKAGECONFIG option, it fails
with:

| Run-time dependency x11 found: YES 1.8.9
| Run-time dependency wayland-client found: YES 1.22.0
| Run-time dependency wayland-protocols found: YES 1.34
| Program wayland-scanner found: NO
|
| ../git/meson.build:578:20: ERROR: Program 'wayland-scanner' not found or not executable
|
| A full log can be found at /home/marc/mnt/yocto-latest/build/tmp/work/core2-64-poky-linux/libinput/1.25.0/build/meson-logs/meson-log.txt
| ERROR: meson failed
| WARNING: exit code 1 from a shell command.

Adding a build dependency on wayland-native fixes the issue.

(From OE-Core rev: 71e49dcac0be026d12140598850e2cd38d702317)

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e2d18e6267d26870ccbe45734bfccbc02744357)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Xiangyu Chen
18c80c1c36 ltp: add iputils-ping6 to RDEPENDS
According to the LTP documents[1], it using ping6 from iputils which
support "-I" option to bind the interface[2].

Ref:
[1] https://github.com/linux-test-project/ltp/commit/6f97789c
[2] https://github.com/linux-test-project/ltp/commit/64b11656

(From OE-Core rev: bd2b32437787245029ca393f3e46542f0900b3fb)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05107ec5e4b81315d53efef23f2a570d520ee4c7)
Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Xiangyu Chen
a1d5e69a2e iputils: splitting the ping6 as a package
The iputils merged the ping4 and ping6 command into the ping since the
commit ebad35fe[1], currently, iputils ping support being called using
"ping -6" or "ping6" symlinks.

In oe-core, there are two packages provide ipv6 ping, inetutils and iputils,
the inetutils-ping6 doesn't support "-I" option to bind the interface, that
cause some of scripts(e.g. LTP test[2]) which was based on iputils-ping6 fails.

If someone or a package needs iputils-ping6, they can enable it in local.conf
or add it into rdepends directly.

Ref:
[1] https://github.com/iputils/iputils/commit/e3de851b809c7b72ccc654a72b6af61d
[2] https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/ \
    containers/netns/netns_comm.sh#L25

(From OE-Core rev: 964bdb0f8877a229ea34ab1d95dc5dabc564af51)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0b89bc2041f670af625829d061ce79e0840ac116)
Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Heiko
d6ae637763 kernel.bbclass: check, if directory exists before removing empty module directory
If the kernel folder does not exist, find will result in an error.
This can occur if the kernel has no modules but, for example, custom modules are created.

Add check before deleting.

(From OE-Core rev: 63856721cab409ae0598cfbff4fcf55c90bfd7e7)

Signed-off-by: Heiko Thole <heiko.thole@entwicklung.eq-3.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ef767d84d56b25498e45db83bb8f9d9caebeaf9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Maxin B. John
c27fdaedbd iproute2: drop obsolete patch
libc-compat.h fix for musl was obsolete after 4.16.0 release of iproute2.
Drop it.

(From OE-Core rev: 2e3588ce3f0f14e6e0e6d2f4b6d8a52b68309394)

Signed-off-by: Maxin John <maxin.john@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad57a1e124a1de7af7ef8479ed779230e923d3af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Poonam Jadhav
ba430c14d8 ppp: Add RSA-MD in LICENSE
ppp package has "RSA Data Security" license text in
Message-Digest Algorithm source file ppp-md5.c and ppp-md4.c
Add RSA-MD in LICENSE field for ppp package

(From OE-Core rev: 5feddad534ecf97279dfe5ec076aa3ed2eec6456)

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9c58193c898b0ea28c3931a57dca5bb829a44051)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Alexander Kanavin
949f078058 icu: add upstream submission links for fix-install-manx.patch
(From OE-Core rev: bebafda283f4ecf63994dfcc334e3bd0ac875e7e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 269a1a65d2526be5622b4c1f552b6f5541e0cb86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Alexander Kanavin
5837e5e945 bash: mark build-tests.patch as Inappropriate
(From OE-Core rev: e796f05f243ac981082c63f816ce2e5e715bd347)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d82d44ed6822b7a276df355311e384c02d36c43)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Alexander Kanavin
f90ddfe6ab xinput-calibrator: mark upstream as inactive in a patch
(From OE-Core rev: 58eed3438981e594daa076193e6af0f9e0cad014)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 959591615d18f636768671e1e14e5945a6cbb010)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Alexander Kanavin
f0a906d661 busybox: submit CVE-2022-28391 patches upstream
(From OE-Core rev: f3e6d0dc315dc915d8029a0d84a12f74ca5d62f5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64c026024b1c86797de338760b9f29d7e949926c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Alexander Kanavin
98cf20c194 apr: submit 0001-Add-option-to-disable-timed-dependant-tests.patch upstream
(From OE-Core rev: 66fcd7e61607c2eaed58abfdff5a3197b5b564e6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1bfe386e69d7a688815a78bd2d5766a4b0665e7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Alexander Kanavin
5372b83b13 expect: mark patches as Inactive-Upstream
There's every indication that this is an ex-expect:
last release in 2018, stale tickets, cvs server gone.

(From OE-Core rev: 84a8ed08e474427bf4a6b3a0026807a1bcabd417)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0fcfd2cb51428a3f35c0f78634bff0a16ae654e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Alexander Kanavin
fc979d94f6 kea: remove unnecessary reproducibility patch
Rather, adjust the sed invocation to do the correct thing directly.

(From OE-Core rev: a57f48c3bb37d5154ea2ef821525aa8706f9cb37)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 804afb2eb9cc2b5650faa80816f377fa5b72fb38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Alexander Kanavin
b4ab121b5f serf: mark patch as inappropriate for upstream submission
What the patch does is not suitable, as upstream would surely
want the issue with the code fixed, not removal of that code altogether.

I'd also note that serf is still semi-ummaintained, and the only consumer
of it is subversion, which is slowly but steadily fading away in favor of
git and artifact-specific solutions.

(From OE-Core rev: 07e14e259e5354c6465953189854229a0ea42e66)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 634717817e94740ac8d4e8cc82cb68bfd15d8dbd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Vincent Kriek
99d16e4c35 devtool: sync: Fix Execution error
When executing devtool sync on a recipe that was extract with devtool
extract earlier the following error occured:

    Traceback (most recent call last):
    [...]
    bb.process.ExecutionError: Execution of 'git fetch file:///home/vin/projects/poky/build/tmp/work/all-poky-linux/netbase/6.4/devtooltmp-figt1jmr/workdir/netbase devtool:devtool' failed with exit code 128:
    fatal: refusing to fetch into branch 'refs/heads/devtool' checked out at '/home/vin/projects/poky/build/netbase-src'

Fix this by adding --update-head-ok and --force to git fetch so it will
override the current head even if it is checked out and has changes.
Possible existing changes in the devtool branch can be retrieved by
checking out the devtool.bak branch

(From OE-Core rev: ee712c8b3c32fedd6af0521d2e34ea655f8cd5ca)

Signed-off-by: Vincent Kriek <vincent@coelebs.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4c89b061003a0f4143c6d3838e39fc2643edc8d6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Alexander Kanavin
a39410ff48 libtraceevent: submit meson.patch upstream
[RP: Add url to submission]
(From OE-Core rev: fdb1a67fa3891f40f038c393e907b4e30161b4b5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d00306620aa890a361f42516a064d64dd7c68aa7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Julien Stephan
a4cd5dc1ee oeqa: selftest: context: run tests serially if testtools/subunit modules are not found
If testtools and/or subunit modules are not found we get the following backtrace
(example for testtools):

  NOTE: Starting bitbake server...
  Traceback (most recent call last):
    File "<..>/poky/scripts/oe-selftest", line 60, in
  <module>
      ret = main()
    File "<..>/poky/scripts/oe-selftest", line 47, in main
      results = args.func(logger, args)
    File "<..>/poky/meta/lib/oeqa/selftest/context.py",
  line 391, in run
      rc = self._internal_run(logger, args)
    File "<..>/poky/meta/lib/oeqa/selftest/context.py",
  line 377, in _internal_run
      rc = self.tc.runTests(**self.tc_kwargs['run'])
    File "<..>/poky/meta/lib/oeqa/selftest/context.py",
  line 161, in runTests
      return super(OESelftestTestContext, self).runTests(processes, skips)
    File "<..>/poky/meta/lib/oeqa/core/context.py", line
  91, in runTests
      result = self.runner.run(self.prepareSuite(self.suites, processes))
    File "<..>/poky/meta/lib/oeqa/selftest/context.py",
  line 154, in prepareSuite
      from oeqa.core.utils.concurrencytest import ConcurrentTestSuite
    File
  "<..>/poky/meta/lib/oeqa/core/utils/concurrencytest.py",
  line 22, in <module>
      import testtools
  ModuleNotFoundError: No module named 'testtools'

Fix this by adding a custom callback on -j/--num-processes parameter to
check testtools and subunit modules. Fallback to serial testing if
missing. This strategy is already used in sdk/context.py

(From OE-Core rev: ffd1db7d7813f6da22c0d9ef5fde6738058f1eb2)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 35284404473b2c2d9f69594582868ed66ef3525e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Khem Raj
c3235e3ae9 oeqa/postactions: Do not use -l option with df
-l option is specific to df provided by coreutils, if df
applet from busybox is used then it does not work and fails
like below

Fixes
   df: invalid option -- 'l'
   BusyBox v1.36.1 () multi-call binary.

   Usage: df [-PkmhT] [-t TYPE] [FILESYSTEM]...
   DEBUG: [Command returned '1' after 0.71 seconds]
   DEBUG: Command: df -hl
   Status: 1 Output:  df: invalid option -- 'l'

it seems worth a compromise to show remote mounted filesystems if any
during ptests and it works with both df implementations

(From OE-Core rev: 82a0df6cc2c5b18cb48fd8c3be26a11f4016d98d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 75cc1ea4348a2294fdc5ab20530fcff27056ff06)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Felix Nilsson
b1a0ca3cab base-files: profile: fix error sh: 1: unknown operand
Handle errors when SHLVL isn't set.

(From OE-Core rev: 7ef2c9ab669785e5e073d6f925f1a3f447fc31d9)

Signed-off-by: Felix Nilsson <felixn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5df53fcfe3b70a5312fced3fcc1ba6290f2ee794)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Ola x Nilsson
5ff13f1b01 oeqa/selftest/devtool: add test for modifying recipes using go.bbclass
go.bbclass uses a special do_unpack function that causes the git root
to be different from S.  Verify that it unpacks as expected.

[ YOCTO #15483 ]

(From OE-Core rev: 71adf7c18215faf73454be79d7b51f2a0c338c0f)

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>
(cherry picked from commit fab0c737b95b8d0c0bbf58336bc308776c956406)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Anton Almqvist
10e6cc830c devtool: modify: Catch git submodule error for go code
One of the git submodule commands failed for source extracted for
recipes using go.bbclass.  The root cause is probably the path set up
by go_do_unpack which makes S and gitroot not match.

This patch does not fix the root problem, but at least it is no worse
than before the git submodule support.

The extracted source will still have two .git folders, one in S
created by devtool and one in the go path which will contain the tru
git history.

[ YOCTO #15483 ]

(From OE-Core rev: 1dc639353658496db5c5df802c0259e87fe2ca0f)

Signed-off-by: Anton Almqvist <antonal@axis.com>
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe242408af40dd1f6e47d9b2b232bdc76756c80a)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Ross Burton
5c20153f7f procps: fix build with new glibc but old kernel headers
If you're building procps with a newer glibc (with pidfd_open()) but
older kernel headers (say 4.x, before __NR_pidfd_open) then procps will
fail to build because of a typo in configure.ac.

(From OE-Core rev: aaced482585fa32d2eadeeb3eb692b3c55666a2a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:58 -07:00
Wang Mingyu
8163fc2f6c mesa: upgrade 24.0.3 -> 24.0.5
Changelog:
 https://docs.mesa3d.org/relnotes/24.0.5.html

(From OE-Core rev: 98246b4de12d619f188bb38ecd0255ae1cb03ea7)

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 5933d099c339596f62e1237d4e738dbe9f386b10)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:57 -07:00
Wang Mingyu
f22145f3bf taglib: upgrade 2.0 -> 2.0.1
Changelog:
===========
* Fix aborting when _GLIBCXX_ASSERTIONS are enabled.
* Fall back to utf8cpp header detection in the case that its CMake
  configuration is removed.
* Improve compatibility with the SWIG interface compiler.
* Build system fixes for testing without bindings, Emscripten and Illumos.
* C bindings: Fix setting UTF-8 encoded property values.
* Windows: Fix opening long paths.

(From OE-Core rev: 0f4f4bc352589c475afcc16a4e375cd6fc4726e6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d3438bd2698dff19722123d7b2b5674ba40107eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:57 -07:00
Wang Mingyu
34efd9bbf4 lttng-ust: upgrade 2.13.7 -> 2.13.8
Changelog:
============
* Add close_range wrapper to liblttng-ust-fd.so
* ust-tracepoint-event: Add static check of sequences length type
* lttng-ust(3): Fix wrong len_type for sequence
* Fix: libc wrapper: use initial-exec for malloc_nesting TLS

(From OE-Core rev: a249a913f5f1d093e372be2e25f3e38d909d7ce4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3dd02f741a151bcc1fe46e7fd6d585ca92c86c60)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:57 -07:00
Wang Mingyu
7fbd3442ce cronie: upgrade 1.7.1 -> 1.7.2
Changelog:
============
*Revert setting the return path to <>. It is not RFC compliant.
*Inherit MAILFROM from the crond process environment.

(From OE-Core rev: c33261bbf0193f7f73c57ec8c463ecc36799991e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e93d7ba7ea3718e396510b12726a232edaecf976)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-19 08:34:57 -07:00
Mark Hatle
0efe15c5ba binutils: Fix aarch64 disassembly abort
Code backported from binutils development tree.

  aarch64: Remove asserts from operand qualifier decoders [PR31595]

  Given that the disassembler should never abort when decoding
  (potentially random) data, assertion statements in the
  `get_*reg_qualifier_from_value' function family prove problematic.

  ...

(From OE-Core rev: 3b070fc3963d04ce8c13b5b78c3b7ae95e26c435)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00f3d8495a1d8fe44336b53c5a9d9a5f8a8d5664)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-14 05:19:22 -07:00
Robert Joslyn
6a8b1d85e7 libgloss: Do not apply non-existent patch
When newlib and libgloss were updated to 4.3.0, SRC_URI was updated to
append a fix-rs6000-cflags.patch file when building on PowerPC, but this
file was not added to the repo.

Remove appending the missing patch.

(From OE-Core rev: 71231580e9e5d0060a0ea41d29152d43846a00f1)

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>
(cherry picked from commit 64561d8b81233a19df5f51d26dfbcd15835bec1f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-14 05:19:22 -07:00
Martin Hundeb?ll
331a3b87a7 classes: image_types: quote variable assignment needed by dash
The change in commit 39fc503036
("classes: image_types: apply EXTRA_IMAGECMD:squashfs* in oe_mksquashfs()")
assigns $@ to a local variable without quoting it. While this works with
bash, it fails with dash. Here, only the first token of $@ is assigned
to the variable, and the reamining tokens are passed as arguments to the
"local" keyword.

Fix it by adding the missing quotes.

(From OE-Core rev: a3b51197f3ce868c83ed5ca415bd6506ecc2575d)

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 14ca134f9f72d518c9180156a8efac19f8bb3ab0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-14 05:19:22 -07:00
Lei Maohui
bafda5147a run-postinsts.service: Removed --no-reload to fix reload warning when users execute systemctl in the first boot.
This warning is because after systemd has been upgraded to 255, reloading units operation is needed even when "enable/disable" units by systemctl.

(From OE-Core rev: 28a7064403f2433ef3cb4d52b03dd73437f2d665)

(From OE-Core rev: bdad9d3df6e9e4834803a60af24c072b39d5cbf8)

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>
Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-14 05:19:22 -07:00
Soumya Sambu
463ef7f618 git: upgrade 2.44.0 -> 2.44.1
Addresses the security issues - CVE-2024-32002, CVE-2024-32004,
CVE-2024-32020,CVE-2024-32021 and CVE-2024-32465

Changelog:
==========
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.44.1.txt

(From OE-Core rev: 3a7ef46ebaf8d4b470ef5b6803dc3b76c22a97c2)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 767f9515013790c9a6b945fae9de03c9e5b89b80)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-14 05:19:22 -07:00
Deepthi Hemraj
fa18cd0932 gcc : upgrade to v13.3
gcc stable version upgraded from v13.2 to v13.3

Dropped CVE-2023-4039.patch, CVE-2024-0151.patch and 0026-aarch64-Fix-loose-ldpstp-check-PR111411.patch
because its been taken to gcc-13.3 with below commits 71a2aa2127283f450c623d3604dbcabe0e14a8d4, 5550214b58e95320b54e42ef0e37c6479e04b27b
and 4bb1ae3c13ce4fb72129229de66f5ffbcd45fe4c respectively.

For changes in v13.3 see: https://gcc.gnu.org/onlinedocs/gcc-13.3.0/gcc/

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

There are a total 173 bugs are fixed in this release, below is the list of bugs fixed excluding the regression fixes.
ID      Product         Comp       Assignee▲       Summary
114408  gcc           analyzer     dmalcolm       ICE when invoking strcmp multiple times with -fsanitize=undefined -O1 -fanalyzer -flto
109251  gcc           analyzer     dmalcolm       -Wanalyzer-deref-before-check false positives seen in Linux kernel due to check in macros
114473  gcc           analyzer     dmalcolm       ICE: in deref_rvalue, at analyzer/region-model.cc:2780 with -fanalyzer -fanalyzer-call-summaries
100988  gcc           fortran      anlauf         Missed optimization: RESTRICT missing for optional arguments
112764  gcc           fortran      anlauf         Associating entity does not have target attribute if selector has pointer attribute in associate block
114001  gcc           fortran     anlauf          is_contiguous considers unlimited polymorphic dummy always as contiguous
112787  gcc           target       avieira        Codegen regression of large GCC vector extensions when enabling SVE
114160  gcc           target       cmuellner      ICE on RISCV (-mcpu=thead-c906) when building glibc in dwarf2out_frame_debug_cfa_offset
110882  gcc           analyzer     dmalcolm       ICE with -fanalyzer on zero-sized array
111289  gcc           analyzer     dmalcolm       Unwarranted -Wanalyzer-va-arg-type-mismatch warning
112790  gcc           analyzer     dmalcolm       Wanalyzer-deref-before-check false positives seen in Linux kernel due to inlining
112792  gcc           analyzer     dmalcolm       Wanalyzer-out-of-bounds false positives seen on Linux kernel with certain unions
114316  gcc           libstdc+     fdumont        assert failure with _GLIBCXX_DEBUG and empty range of singular iterators passed to std:: algorithm
108121  gcc           modula2      gaius          Failing tests on x86_64-linux-gnu
110754  gcc           middle-e     jakub          assume create spurious load for volatile variable
105456  gcc           libfortr     jvdelisle      Child I/O does not propage iostat
114747  gcc           target       kito           Wrong SEW set for mixed-size intrinsics
104831  gcc           target       patrick        RISCV libatomic LR.aq/SC.rl pair insufficient for SEQ_CST
108174  gcc           target       pinskia        ICE: tree check: expected function_type or method_type, have ggc_freed in aarch64_resolve_overloaded_memtag, at config/aarch64/aarch64-builtins.cc:3349
114314  gcc           driver       pinskia        ICE: in common_handle_option, at opts.cc:3356 with -fno-multiflags
99493   gcc            c++         ppalka         Address of template parameter object is not a valid template argument
99631   gcc            c++         ppalka         decltype of non-type template-parameter shouldn't be const
104634  gcc            c++         ppalka         Explicit template instantiation does not work when there are multiple partial template specialization using concepts
110809  gcc            c++         ppalka         ICE: in unify, at cp/pt.cc:25226 with floating-point NTTPs
110927  gcc            c++         ppalka         GCC fails to parse dependent type in concept through partial specialization
111493  gcc            c++         ppalka         multidimensional subscript operator inside requires is broken
113242  gcc            c++         ppalka         g++ rejects-valid template argument of class type containing an lvalue reference
113529  gcc            c++         ppalka         Incorrect result of requires-expression in case of function call ambiguity and `operator<=>`
108046  gcc          libstdc+      redi           The dot in the floating-point alternative form has wrong position
110708  gcc          libstdc+      redi           std::format("{:%EEC %OOd}", std::chrono::system_clock::now()) should be rejected        2023-07-28
110719  gcc          libstdc+      redi           Should chrono formatters always use std::time_put for locale's representation?
110860  gcc          libstdc+      redi           std::format("{:f}",2e304) invokes undefined behaviour
110862  gcc          libstdc+      redi           format out of bounds read on format string "{0:{0}"
110917  gcc          libstdc+      redi           std::format_to(int*, ...) fails to compile because of _S_make_span
110944  gcc          libstdc+      redi           std::variant & optional GDB representation is too verbose
110968  gcc          libstdc+      redi           format out of bounds read on format("{:05L}",-1.f)
110970  gcc          libstdc+      redi           clang / c++23 missing 'typename' prior to dependent type name
110990  gcc          libstdc+      redi           `format_to_n` returns wrong value
111511  gcc          libstdc+      redi           Incorrect ADL in std::to_array in GCC 11/12/13
111826  gcc          libstdc+      redi           __cpp_lib_format should be 202110, not 202106
111948  gcc          libstdc+      redi           subrange modifies a const size object
112607  gcc          libstdc+      redi           _Normalize does not consider char_type for the basic_string_view case
112832  gcc          libstdc+      redi           Broken non-SFINAE-friendly `set_debug_format()` for `const char *` formatter
113500  gcc          libstdc+      redi           Using std::format with float or double based std::chrono::time_point causes error: no match for 'operator<<'
13512   gcc          libstdc+      redi           Incorrect results for std::format("{:#.3g}", flt)
114103  gcc          libstdc+      redi           FAIL: 29_atomics/atomic/lock_free_aliases.cc -std=gnu++20 (test for excess errors)
114152  gcc          libstdc+      redi           Wrong exception specifiers for LFTSv3 scope guard destructors
114863  gcc          libstdc+      redi           std::format applying grouping to nan's and inf's
115063  gcc          libstdc+      redi           compilation error: std::basic_stracktrace::max_size()
105523  gcc           target       saaadhu        Wrong warning array subscript [0] is outside array bounds
93370   gcc           target       unassigned     Aarch64 accepts but ignores target("+sm4") unless ARMv8.2-A is enabled
93762   gcc          fortran       unassigned     Truncation of deferred-length string when passing as optional
100285  gcc          libstdc+      unassigned     experimental/net/socket/socket_base.cc fails on arm-eabi (r12-137)
106037  gcc           ada          unassigned     internal error with Aggregate aspect on array type
110127  gcc           c++          unassigned     -fimplicit-constexpr leads to extremely slow and memory intensive compilation
110133  gcc          libstdc+      unassigned     System error message should ideally use strerror_r over strerror
110974  gcc          libstdc+      unassigned     format out of bounds read on invalid format string "{:{}."
111102  gcc          libstdc+      unassigned     illegal pointer arithmetic invoked by std::format("L{:65536}",1)
112480  gcc          libstdc+      unassigned     optional<T>::reset emits inefficient code when T is trivially-destructible
113294  gcc          libstdc+      unassigned     constexpr error from accessing inactive union member in basic_string after move assignment
113815  gcc            ada         unassigned     error: there is no applicable operator "*" for a string type
113824  gcc          target        unassigned     AVR: ATA5795 in wrong multilib set      2024-02-08
113850  gcc          libgcc        unassigned     condition variables timed wait does a lot of spurious wakeups on Win32 threading implementation
113927  gcc          target        unassigned     Sets up a stack-frame even for trivial code
114136  gcc         middle-e       unassigned     wrong code for c23 fully anonymous arg lists on arm
97245   gcc         fortran        anlauf         ASSOCIATED intrinsic does not recognize a pointer variable the second time it is used
101135  gcc         fortran        anlauf         Load of null pointer when passing absent assumed-shape array argument for an optional dummy argument
110825  gcc         fortran        anlauf         TYPE(*) dummy argument to generate an unused hidden argument
110826  gcc         fortran        anlauf         Fortran array of derived type with a pointer to function with dimensional arguments fails
113799  gcc         fortran        anlauf         gfc_replace_expr: double free detected ?
114012  gcc         fortran        anlauf         overloaded unary operator called twice
113601  gcc         target         gjl            avr: Wrong SRAM start for ATmega3208 and ATmega3209
107201  gcc         target         unassigned     -nodevicelib not working for devices -mmcu=avr...
114024  gcc        fortran         unassigned     ICE allocate statement with source=cmp%re and z an array
53372   gcc        target          unassigned     Section attribute ignored with address space
112952  gcc        target          unassigned     avr: attribute address not working with -fdata-sections -fno-common
114752  gcc        target          unassigned     AVR: internal compiler error. Unknown mode: const_double:DF
114794  gcc        target          unassigned     Speed up udivmodqi4

(From OE-Core rev: 20b94a6f3681afc9d5f7c07d571fcc47efcc9827)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-14 05:19:22 -07:00
Siddharth
fdfdd7b319 openssl: Upgrade 3.2.1 -> 3.2.2
CVE's Fixed by upgrade:
CVE-2024-4741: Fixed potential use after free after SSL_free_buffers() is called
CVE-2024-4603: Fixed an issue where checking excessively long DSA keys or parameters may be very slow
CVE-2024-2511: Fixed unbounded memory growth with session handling in TLSv1.3

Bugs Fixed by upgrade:
#23560: Fixed bug where SSL_export_keying_material() could not be used with QUIC connections

Removed backports of CVE-2024-2511, CVE-2024-4603 and bti.patch as they
are already fixed.

Detailed Information:
https://github.com/openssl/openssl/blob/openssl-3.2/CHANGES.md#changes-between-321-and-322-4-jun-2024

(From OE-Core rev: f99c9346c225b862cc26923e823c35484beb797f)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-14 05:19:22 -07:00
Ross Burton
ef6b1510d5 gdk-pixbuf: upgrade 2.42.11 -> 2.42.12
- Fix a build failure (Christian Heusel)
- Fix occasional build failures (Benjamin Gilbert)
- ani: Reject files with multiple INA or IART chunks (Benjamin Gilbert)
- ani: Reject files with multiple anih chunks (Benjamin Gilbert, CVE-2022-48622)
- ani: validate chunk size (Benjamin Gilbert)
- Translation updates

(From OE-Core rev: 246c1b01ca21a8102ab7a400f88621e8a95281af)

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 c5b202b0aef56ecf7982887c54b4ecbc4bbe73ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-14 05:19:22 -07:00
Wang Mingyu
1bd707ab14 gdk-pixbuf: upgrade 2.42.10 -> 2.42.11
0001-meson.build-allow-a-subset-of-tests-in-cross-compile.patch
fatal-loader.patch
refreshed for 2.42.11

Changelog:
===========
- Disable fringe loaders by default
- Introspection fixes
- Translation updates

(From OE-Core rev: 78d7d14194f25be800fb42c8e81f7709611d26cd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 243a6fce44882ff16c5dfcb518cafd8ee8f7ae24)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-14 05:19:22 -07:00
Soumya Sambu
750ceb4b76 util-linux: Fix CVE-2024-28085
wall in util-linux through 2.40, often installed with setgid
tty permissions, allows escape sequences to be sent to other
users' terminals through argv. (Specifically, escape sequences
received from stdin are blocked, but escape sequences received
from argv are not blocked.) There may be plausible scenarios
where this leads to account takeover.

References:
https://nvd.nist.gov/vuln/detail/CVE-2024-28085

(From OE-Core rev: b40a77416f73955833faeddf6091a99ff9837199)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-14 05:19:22 -07:00
Richard Purdie
125ca0ff2f bitbake: tests/fetch: Tweak test to match upstream repo url change
Upstream changed their urls, update our test to match.

(Bitbake rev: 0791e66a47185d6f202af6be0d39e36a8e41850a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dc391b86540ec5e0a0f1d811c776a22d443b1c06)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-14 05:19:21 -07:00
Joshua Watt
83793ccd86 bitbake: siggen: Enable batching of unihash queries
Uses the batching API of the client to reduce the effect of latency when
making multiple queries to the server

(Bitbake rev: fdac31655fb5441139f70e50292dbb5774cfdafe)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-06 06:53:49 -07:00
Joshua Watt
934c533196 bitbake: hashserv: client: Add batch stream API
Changes the stream mode to do "batch" processing. This means that the
sending and reciving of messages is done simultaneously so that messages
can be sent as fast as possible without having to wait for each reply.
This allows multiple messages to be in flight at once, reducing the
effect of the round trip latency from the server.

(Bitbake rev: f99a17023b972d0d90dccb111f983655af6ccb87)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-06 06:53:49 -07:00
Joshua Watt
d1811356b7 bitbake: bb: Use namedtuple for Task data
Task dependency data is becoming unwieldy with the number of indices it
contains. Convert it to use a named tuple instead, which allows members
to be indexed by a named property or an index (which allows it to retain
backward compatibility).

(Bitbake rev: bc7c44affe8e3fa94e92c3bcb8ad85bf11963779)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-06 06:53:49 -07:00
Richard Purdie
bcb569e698 bitbake: runqueue: Improve rehash get_unihash parallelism
Improve the rehash code to query unihashes in parallel since this is more
efficient on slower links.

(Bitbake rev: 682fb42420eebf18f8a98bd3992baf9034dac5ac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-06 06:53:49 -07:00
Richard Purdie
cc341e44bf bitbake: runqueue: Process unihashes in parallel at init
Improve the runqueue init code to call unihash queries in parallel since
this is faster and more efficient, particularly on slower links with longer
round trip times.

The call to the function from cooker is unneeded since that function calls
prepare() and hence this functionality will already have run, so drop
that obsolete call.

(Bitbake rev: e0486054c7a4c637446c18608e9983cc8dc4d7fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-06 06:53:49 -07:00
joshua Watt
fa23d0fc6d bitbake: siggen/runqueue: Report which dependencies affect the taskhash
Report which task dependencies in BB_TASKDEPDATA are included in the
taskhash. This allows tasks to identify which tasks dependencies may
change without the task re-running. Knowing this information is
important for tasks that want to transfer information from dependencies
(such as SPDX)

(Bitbake rev: 853423661779023763a87462b623b6e9ff2798b2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-06 06:53:49 -07:00
Richard Purdie
fb60467f0e bitbake: runqueue: Allow rehash loop to exit in case of interrupts
The initial hash serve loop exits in the case where interrupts are present
but probably checks a bit too often. Tweak that and also allow the slow
rehash loop to break on interrupt, improving bitbake Ctrl+C response.

(Bitbake rev: ca2f63d84b90cbd99936c9d7815d912d9019a594)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-06 06:53:49 -07:00
Richard Purdie
bb93b6d1fb bitbake: runqueue: Add timing warnings around slow loops
With hashserve enabled, there are two slow paths/loops, one at initial runqueue
generation and also during the rehash process when new outhashes are found.

Add timing information at the hashserve log level for when these loops
take longer than 30s or 60s overall. This will leave evidence in the logs when
things are running particularly slowly.

(Bitbake rev: 9ee503c79936b13f1d45f9e43211f77a528cdbfa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-06 06:53:49 -07:00
Rasmus Villemoes
ae6cebca5b git: set --with-gitconfig=/etc/gitconfig for -native builds
Commit 6c2ae2346db0 (kern-tools: depend on git-replacement-native)
broke our kernel builds. For saving space and time, we have a DL_DIR
shared between multiple users/buildbots, not all of which run with the
same uid (and with appropriate sticky bits set so that files
downloaded by one user become owned by a common group and are readable
by others). This works fine also for git sources because the docker
images we use all have a /etc/gitconfig with

  [safe]
    directory = *

But with the mentioned commit, the host's git is no longer used for
do_unpack (nor for do_fetch if re-building and sysroot has already
been populated by a previous build), causing spurious "fatal: detected
dubious ownership..." failures.

Currently, the path where the git-native binary searches for system
gitconfig is the sysroot from it was built, which obviously doesn't
contain a /etc/gitconfig. As for the nativesdk variant, respect the
host's /etc/gitconfig if present.

(From OE-Core rev: a3f5ac9f9fee2c8e10fec7c3f758e49513fef724)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 572f511f7ff02fb559ac42d2d5dbd09fec478d97)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Philip Lorenz
d37ef8925a ipk: Fix clean up of extracted IPK payload
It turns out that the IPK payload tarball was actually cleaned up in the
concrete package manager implementation (most likely because at some
point Debian and IPK packages used different compression algorithms).

Globbing removes this ambiguity so move the removal of the payload into
the common extract method.

(From OE-Core rev: ec1c6bc79f5ca219e77a379bbabc2dad808d2020)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e2b02a54f482159e21902eeb997b21e00e9588e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Philip Lorenz
fb4eb8a09d lib/package_manager/ipk: Do not hardcode payload compression algorithm
The chosen payload compression algorithm can be changed by overriding
`OPKGBUILDCMD`. Ensure that package extraction deals with this by
globbing for "data.tar.*" to select the actual payload tarball.

(From OE-Core rev: c2b00cd4148d4b08ba5673488a652f8daf3ac085)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2ad05635a6da403b4fadcc126fe7734067c12c73)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Peter Marko
1d751a0e83 update-rc.d: add +git to PV
This hash is ahead of the tag, so adapt PV accordingly.

(From OE-Core rev: c94e46019a7d443ccc4763ba16d87e7e97abe977)

(From OE-Core rev: 54cbf43e55ec3373f8c2612b787166da35028fd3)

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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Marek Vasut
184753b1af gstreamer1.0-plugins-good: Include qttools-native during the build with qt5 PACKAGECONFIG
The qttools provide 'lrelease' tool, which is checked by recent
versions of meson build system. Unless the qttools are available
in sysroot, meson will fail to detect qt5 installation at build
time and the gstreamer build will fail. Fix this by including
the qttools-native.

(From OE-Core rev: 4e9274f2719eea91de3c98b9f88a7e2ebebcce90)

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>
(cherry picked from commit ae2ca4af54695003638da38f8548aa8573d18201)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Julien Stephan
a905386e10 oeqa/selftest/devtool: add test for updating local files into another layer
We don't have a test to check if we can correctly devtool update-recipe/finish
into another layer. So update the existing test_devtool_update_recipe_local_files
to also check the updates into another layer.

(From OE-Core rev: bd44c895d36e246a25c7a6e40bf9f4089dc7a297)

(From OE-Core rev: 0532a6292edbe68303b6d85017ebcdb36a60886f)

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>
Signed-off-by: Jeff Harris <jefftharris@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Julien Stephan
d00c23ef3e devtool: standard: update-recipe/finish: fix update localfile in another layer
When trying to use devtool update-recipe/finish on another layer, with modified
local file we have the following error:

  Traceback (most recent call last):
    File "<..>/poky/scripts/devtool", line 350, in <module>
      ret = main()
            ^^^^^^
    File "<..>/poky/scripts/devtool", line 337, in main
      ret = args.func(args, config, basepath, workspace)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<..>/poky/scripts/lib/devtool/standard.py", line 1968, in update_recipe
      updated, _, _ = _update_recipe(args.recipename, workspace, rd, args.mode, args.append, args.wildcard_version, args.no_remove, args.initial_rev, dry_run_outdir=dry_run_outdir, no_overrides=args.no_overrides, force_patch_refresh=args.force_patch_refresh)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<..>/poky/scripts/lib/devtool/standard.py", line 1930, in _update_recipe
      updated, appendf, removed = _update_recipe_patch(recipename, workspace, srctree, crd, appendlayerdir, wildcard_version, no_remove, no_report_remove, initial_rev, dry_run_outdir, force_patch_refresh)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<..>/poky/scripts/lib/devtool/standard.py", line 1747, in _update_recipe_patch
      patchdir = param.get('patchdir', ".")
                 ^^^^^^^^^
  AttributeError: 'str' object has no attribute 'get'

This was introduced when adding support for git submodules.
No selftest case exists to catch this, so a selftest will be
added in another commit.

(From OE-Core rev: de7ca9f800e15e10271502da7e51e3ae08e0c85b)

(From OE-Core rev: b4fb19df1746d04c9534feff58a9e534705d46df)

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>
Signed-off-by: Jeff Harris <jefftharris@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Yogita Urade
df183ca5b0 libarchive: upgrade 3.7.2 -> 3.7.4
Changlog:
========
   rar: Fix OOB in rar e8 filter
   zip: Fix out of boundary access
   7zip: Limit amount of properties
   bsdtar: Fix error handling around strtol() usages
   passphrase: Improve newline handling on Windows
   passphrase: Never allow empty passwords
   rar: Fix "File CRC Error" when extracting specific rar4 archives
   xar: Avoid infinite link loop
   zip: Update AppleDouble support for directories
   zstd: Implement core detection
   PCRE2 support
   add trailing letter b to bsdtar(1) substitute pattern
   add support for long options "--group" and "--owner" to tar(1)
   Fix possible vulnerability in tar error reporting introduced in f27c173
   ISO9660: preserve the natural order of links
   rar5: fix decoding unicode filenames on Windows
   rar5: fix infinite loop if during rar5 decompression the last block produced no data
   xz filter: fix incorrect eof at the end of an lzip member
   zip: fix end-of-data marker processing when decompressing zip archives
   multiple bsdunzip(1) fixes
   filetime truncation fix on Windows

Adjusted configurehack.patch to align with upgraded version.

(From OE-Core rev: 1c789d692e0bbea4c26cfad8c36abf051f54a444)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Changqing Li
4ffcc07420 ptest-runner: Bump to 2.4.4 (95f528c)
Changes in 2.4.4:
95f528c utils.c: run_ptests improve error handling on ptests iteration
c48e5fc utils.c: run-ptests improve pseudo-terminal handling

(From OE-Core rev: c0061e8e30c0bbd45c31f56d01ed5b688a641e9e)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Khem Raj
0163ea4421 llvm: Switch to using release tarballs
git checkouts are in excess of 3G, which is not
ideal for everyone to download/clone, instead switch to
fetching release tarball which is ~126M as of 18.1.5 release

(From OE-Core rev: 800e6576e4f3af10846af13c2f217f986c1afdb4)

(From OE-Core rev: 251d626a7d3cf6dfb3c0d8617f6cace666c7ea74)

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>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Khem Raj
ce5fdf4ff6 llvm: Upgrade to 18.1.5
Brings

617a15a9eac9 [clang codegen] Fix MS ABI detection of user-provided constructors. (#90151)
20b9ed64ea07 [RISCV][ISel] Fix types in tryFoldSelectIntoOp (#90659)
ece9d35f1a70 [GlobalISel] Fix store merging incorrectly classifying an unknown index expr as 0. (#90375)
a7b8b890600a [X86] Enable EVEX512 when host CPU has AVX512 (#90479)
4da5b1417493 [GlobalISel] Don't form anyextending atomic loads.
a96b04442c9f [AArch64] Remove invalid uabdl patterns. (#89272)
aea091b70eda [clang][CoverageMapping] do not emit a gap region when either end doesn't have valid source locations (#89564)
58648f334d62 [X86][EVEX512] Check hasEVEX512 for canExtendTo512DQ (#90390)
6350acdb134d [CGP] Drop poison-generating flags after hoisting (#90382)
f341c76b9461 [Clang] Handle structs with inner structs and no fields (#89126)
abf6b13085fb [IRCE] Skip icmp ptr in InductiveRangeCheck::parseRangeCheckICmp (#89967)
ee5bb0c95667 Fix Objective-C++ Sret of non-trivial data types on Windows ARM64 (#88671)
6dbaa89433f7 [clang-format] Fix a regression in ContinuationIndenter (#88414)
51ff7f38b633 [clang-format] Fix a regression in annotating TrailingReturnArrow (#86624)
b544217fb31f [AMDGPU] Fix setting nontemporal in memory legalizer (#83815)
78b99c73ee4b [DAGCombiner] Fix miscompile bug in combineShiftOfShiftedLogic (#89616)
1aa91720cc4f [DAGCombiner] Pre-commit test case for miscompile bug in combineShiftOfShiftedLogic
35fea1032741 release/18.x: [clang-format] Correctly annotate braces in macros (#87953)
b9b73814ad8a [libcxx] [modules] Add _LIBCPP_USING_IF_EXISTS on aligned_alloc (#89827)
c0b48372d82a release/18.x: [clang-format] Revert breaking stream operators to previous default (#89016)
3b4ba7277bd7 [analyzer] Fix performance of getTaintedSymbolsImpl() (#89606)
7699b341b763 release/18.x: [clang-format] Fix a regression in annotating BK_BracedInit (#87450)
fb865928c8e0 [GlobalISel] Fix fewerElementsVectorPhi to insert after G_PHIs (#87927)
111ae4509c96 [X86] Fix miscompile in combineShiftRightArithmetic
76cbd417af50 [X86] Pre-commit tests (NFC)
e7c816b3cd3e [InstCombine] Fix unexpected overwriting in foldSelectWithSRem (#89539)
3685a599c866 ReleaseNote: Mention SpecialCaseList change (#89141)
a981a4f7653c [X86] Always use 64-bit relocations in no-PIC large code model (#89101)
4ddac856c55f [analyzer] Fix a security.cert.env.InvalidPtr crash
c6d63d4fc555 Bump version to 18.1.5 (#89291)

(From OE-Core rev: 02df2fc6241ac8fb0e78f2fdff97a04e5c561d54)

(From OE-Core rev: b01e94690c3c29cd1e666e671c98e500c13e1942)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Khem Raj
6caf81a6eb llvm: Upgrade to 18.1.4
Brings following fixes

* e6c3289804a6 [CMake][Release] Disable PGO (#88465) (#89000)
* 028e425f86cc [MIPS] Fix the opcode of max.fmt and mina.fmt (#85609)
* e3c832b37b0a Fix override keyword being print to the left side
* 1deeee3f5da4 Revert "[Mips] Fix missing sign extension in expansion of sub-word atomic max (#77072)"
* 995539ce05ba [LLD] [COFF] Don't add pseudo relocs for dangling references (#88487)
* db67e6fb9ad1 [libc++] Fix -Wgnu-include-next in stddef.h (#88214)
* 647fbc710840 [SelectionDAG] Prevent combination on inconsistent type in `combineCarryDiamond` (#84888)
* eaae766a20fd [RISCV] Support rv{32, 64}e in the compiler builtins (#88252)
* c24b41d71f2e github-upload-release.py: Fix bug preventing release creation (#84571)
* c837970dd7e9 [Codegen][X86] Fix /HOTPATCH with clang-cl and inline asm (#87639)
* d0ddcce21d91 [InstSimplify] Make sure the simplified value doesn't generate poison in threadBinOpOverSelect (#87075)
* 4056cc29dfd3 Prepend all library intrinsics with `#` when building for Arm64EC (#87542)
* 6e071cf30599 [SLP]Fix a crash if the argument of call was affected by minbitwidth analysis.
* d89da2ac8839 [libcxx] coerce formatter precision to int (#87738)
* b6ebea7972cd [SPARC] Implement L and H inline asm argument modifiers (#87259)
* bffecba7ce4c [libc++] Simplify the implementation of <stddef.h> (#86843)
* 9899a2d76c8f [lit][ci] Publish lit wheels (#88072)
* 3ceccbdb1995 [clang-format] Correctly annotate braces of empty ctors/dtors (#82097)
* 429d62872525 [Headers] Don't declare unreachable() from stddef.h in C++ (#86748)
* feba8727f805 [ConstantRange] Fix off by 1 bugs in UIToFP and SIToFP handling. (#86041)
* e4259b583c92 [Float2Int] Pre-commit test for SIToFP/UIToFP ConstantRange bug. NFC
* daca56d8e162 Bump version to 18.1.4 (#87715)

(From OE-Core rev: adc2651a8e902af24fee6ff30a72f4b7c63bef6f)

(From OE-Core rev: 56ef42d454fb13a0eff0a7210a37ec4b54a2afc3)

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>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Archana Polampalli
d7cbee7a50 xserver-xorg: upgrade 21.1.11 -> 21.1.12
This release contains security fixes for

* CVE-2024-31080
* CVE-2024-31081
* CVE-2024-31082
* CVE-2024-31083

Changelog:
===========
101caa1b0 (tag: xorg-server-21.1.12) xserver 21.1.12
117315640 render: fix refcounting of glyphs during ProcRenderAddGlyphs
0e34d8ebc Xquartz: ProcAppleDRICreatePixmap needs to use unswapped length to send reply
cea92ca78 Xi: ProcXIPassiveGrabDevice needs to use unswapped length to send reply
8a7cd0e3e Xi: ProcXIGetSelectedEvents needs to use unswapped length to send reply
5ca3a9513 Xext: SProcSyncCreateFence needs to swap drawable id too
5d7272f05 Allow disabling byte-swapped clients
8a46a463f Initialize Mode->name in xf86CVTMode()
f653d9a0a hw/xfree86: fix NULL pointer refrence to mode name
8b75ec34d dix: Fix use after free in input device shutdown

https://lists.x.org/archives/xorg-announce/2024-April/003497.html

(From OE-Core rev: 64174dc0f593baa4f74c0080726de94802b903ef)

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>
(cherry picked from commit 12dfa6889a1c322d0e20fd9b7638dcb861e032f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Mark Hatle
59c0a35bb8 gcc: Fix for CVE-2024-0151
Fix for insufficient argument checking in Secure state Entry functions
in software using Cortex-M Security Extensions (CMSE), that has been
compiled using toolchains that implement 'Arm v8-M Security Extensions
Requirements on Development Tools' prior to version 1.4, allows an
attacker to pass values to Secure state that are out of range for types
smaller than 32-bits. Out of range values might lead to incorrect
operations in secure state.

(From OE-Core rev: 165a7007678c27b6c0a27cda25652a00768c2fee)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Archana Polampalli
96b48c195a ghostscript: fix CVE-2024-29510
(From OE-Core rev: 202b2b0a5c447baf7d84c19b7829a81a846413d9)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Archana Polampalli
0c079e62fb ghostscript: fix CVE-2024-33871
(From OE-Core rev: c28281b7e105536cdf61eef8fe81d85ff2a42e4f)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Archana Polampalli
235050fbfa ghostscript: fix CVE-2024-33869
(From OE-Core rev: d24e9c6c1016fbe8522f647aca76d93ab9cc5a41)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Archana Polampalli
3a3c1f7dc6 ghostscript: fix CVE-2024-33870
(From OE-Core rev: b95a08ec9f70a0b21f5fc239eda1857cea54702f)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Ricardo Simoes
349e4c816a libusb1: Set CVE_PRODUCT
This commit sets the CVE_PRODUCT variable to "libusb" to match the
product name used in the NIST CPE database [1].

[1]: https://nvd.nist.gov/products/cpe/search

(From OE-Core rev: 89e991380aac2bea93732a8dff1c4c646bb2cea1)

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Soumya Sambu
c78f26dbfd ncurses: Fix CVE-2023-45918
ncurses 6.4-20230610 has a NULL pointer dereference in tgetstr in tinfo/lib_termcap.c.

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

(From OE-Core rev: 6573995adf4cfd48b036f8463b39f3864fcfd85b)

(From OE-Core rev: 5385b15345dddc958fc961246e56b962db735276)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Peter Marko
50b2758182 ttyrun: define CVE_PRODUCT
Single executable ttyrun is taken ouf of s390-tools repository
containing ton of other helper tools.
CVEs are not assigned to executables, but to whole components.
Historically there also already exists one CVE for s390-tools.

Most of the CVEs will not be for ttyrun, but this is the way
how to get notified even if most we get will have to be ignored.

(From oe-core rev: df28547387c2c122aef3e5326b216ec3f4d3caa7)

(From OE-Core rev: 9e07ff39c1b2794d6de7f8d14cdf47707db50f5a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-05 05:57:12 -07:00
Sven Schwermer
c5df9c829a bitbake: fetch2/gcp: Add missing runfetchcmd import
This adds the missing import. This bug was introduced with 1ab1d36c.

(Bitbake rev: b5159c0373e2e7d403aed16e096ad655f38b1fa7)

Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 07:50:00 -07:00
Richard Purdie
74ea960113 bitbake: parse: Improve/fix cache invalidation via mtime
We have been seeing obscure failures in devtool, particularly on newer
autobuilder workers where it appears the cache is assumed to be valid
when it shouldn't be.

We're using the 'seconds' granulation mtime field which is not really
a good way of telling if a file has changed. We can switch to the "ns"
version which is better however also add in inode number and size as
precautions. We already have all this data and tuples are fast so there
isn't really any cost to do so.

This hopefully fixes [YOCTO #15318].

(Bitbake rev: 2aa519fec30ecf0e55202d6421fbba2f0320e211)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d9e5d313c79500e3c70ab9c3239b6b2180194f67)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 07:50:00 -07:00
joshua Watt
107a6cec75 bitbake: cooker: Handle ImportError for websockets
Handles ImportError when creating a hash equivalence to ping the server.
This notifies user earlier with a more precise error if websockets can't
be used, and also prevents passing a known bad upstream value to the
local server

(Bitbake rev: 93190565fd1251e8f47d9a6291739f8b8ed5ec87)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aa80b3cfc5d16dfba13ca7fb9b78bae179ce3b74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 07:50:00 -07:00
Ross Burton
68f9a4b73d oeqa/selftest/debuginfod: use localpkgfeed to speed server startup
Sometimes the debuginfod selftest fails due to a timeout, because it
spends too long scanning a huge deploy directory that due to what tests
were ran previously can contain 30K packages.

The test only needs a subset of the feed, so use the new localpkgfeed
class to construct a minimal feed before running the test.

[ YOCTO #14937 ]

(From OE-Core rev: 0795169be206f1d4d140fe378e2476a44d0ce02b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 855376f518b28248ccd82ef5b2e89e6a8c970542)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Ross Burton
86ea22d047 selftest/classes: add localpkgfeed class
This class can be used to construct a subset of a deployed package feed
for use in tests which iterate the deploy directory, and as such a huge
feed of 30K+ packages can result in very slow tests.

(From OE-Core rev: 00e4eb179b6bd4fca2499d997c60889c3d7ff632)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5486d6ad32457f09c104d5dd31314bd570912d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Ross Burton
0fe72b1a67 lib/oe/package-manager: allow including self in create_packages_dir
This function is typically used to construct a limited feed for image
creation, but there are other cases when you might want a limited feed
and include the current recipe's packages in it.

To ensure that existing behaviour is preserved, add a boolean to control
this behaviour and default it to False.

(From OE-Core rev: 20a6f55328733ad6f0c05b1353e8d525019aeea7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aada7fda2b118152d82b1ab295d92b8251afe4ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Sven Schwermer
f490519999 recipetool: Handle several go-import tags in go resolver
When dynamically resolving go modules, the HTML page may contain several
go-import meta tags. We must handle all and pick the correct one based
on the module name. An example for such a behaviour is
gonum.org/v1/gonum:

<meta name="go-import" content="gonum.org/v1/exp git https://github.com/gonum/exp">
<meta name="go-import" content="gonum.org/v1/gonum git https://github.com/gonum/gonum">
<meta name="go-import" content="gonum.org/v1/hdf5 git https://github.com/gonum/hdf5">
<meta name="go-import" content="gonum.org/v1/netlib git https://github.com/gonum/netlib">
<meta name="go-import" content="gonum.org/v1/plot git https://github.com/gonum/plot">
<meta name="go-import" content="gonum.org/v1/tools git https://github.com/gonum/tools">

(From OE-Core rev: b198617a988d6eeef09b84e1009c0dc8fb55a9c5)

Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9c36a61e29359067165bddc7f2accdf2c4c8a761)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Sven Schwermer
1ba6abfd4a recipetool: Handle unclean response in go resolver
It appears that some go modules repond with a 404 error when trying to
resolve them dynamically. The response body may still contain the
go-import meta tag. An example for such behaviour is gonum.org/v1/gonum.

(From OE-Core rev: d61934122cdc9f2d68f99e5e3363c3f1808e7782)

Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8f2e14ab6562a9a68819a960c66a258ea9dbe246)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Zev Weiss
1a52a8e93e bash: Fix file-substitution error-handling bug
This is part of a patch that's been upstream for a while but hasn't yet
been released.  The bug is causing some downstream difficulties, so a
local patch to tide us over until the next release makes things a bit
easier.

(From OE-Core rev: 6a81ccc68f8389ca1c9c8eed009388045beea9e4)

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit bf384d6618780dea2df24adac88ba4364cb65b9b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Trevor Gamblin
2e084b7b80 patchtest: test_metadata: fix invalid escape sequences
Clear up the following warnings seen during patchtest runs:

|/workspace/yocto/poky/meta/lib/patchtest/tests/test_metadata.py:21: SyntaxWarning: invalid escape sequence '\+'
|  add_mark = pyparsing.Regex('\+ ')
|/workspace/yocto/poky/meta/lib/patchtest/tests/test_metadata.py:26: SyntaxWarning: invalid escape sequence '\:'
|  git_regex = pyparsing.Regex('^git\:\/\/.*')

(From OE-Core rev: b5406d3691341c050a62fc9a32dc5573fd0c484f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2d64317835a768898aac592b24fcbdfaf6c8357a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Adriaan Schmidt
bef4fd23a0 libcgroup_3.1.0: fix build on non-systemd systems
backport upstream commit 592dcdcf243576bd2517d3da9bc18990de08e37e
to fix packaging when building with --enable-systemd=no

(From OE-Core rev: c0708adce620bcce5e503851fa6598bd941276eb)

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Martin Hundebøll
9980bf64cc classes: image_types: apply EXTRA_IMAGECMD:squashfs* in oe_mksquashfs()
Since commit c991f9d6031 ("image_types: Set SOURCE_DATE_EPOCH for squashfs"),
I assume, the EXTRA_IMAGECMD:squashfs* variable(s) has been ignored.
This is due to the override magic, which isn't applied to functions
called by IMAGE_CMD:<type>, but only to the IMAGE_CMD:<type> itself.

Other image types (e.g. ext*) works around this by passing the
EXTRA_IMAGECMD variable as an argument to the called function.

To do the same for oe_mksquashfs(), the number of mandatory arguments is
fixed to one (with a little logic to handle the zstd filename). This
allows passing ${EXTRA_IMAGECMD} as an argument to oe_mksquashfs(),
which makes the variable functional again.

(From OE-Core rev: 39fc503036312e38ff0b9d8fb90b4c929b5ca7df)

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Jose Quaresma
b79fbd4a0f Revert "goarch: disable dynamic linking globally"
This reverts commit 827c60b79e7fcafd14e68870f6b69dcc48ac9c39.

Fixed with the drop of the linkmode

(From OE-Core rev: 137bb70ddf9dce30374cbb366196da0d8cc94205)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8f46f60a703defc3e74adad382320c129cef0b06)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Jose Quaresma
1148564ab7 go: Drop the linkmode completely
This will make possible to restore the default dynamic linking globally
which is what we had before the 1.20.X release.

(From OE-Core rev: 941c8535eaaca5790c9bc2b3d21d8ce402dbb431)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6ad90fc2fc49c4199a59dfb1c1d81a7ba184a522)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Ralph Siemsen
b00462d6fb uboot-sign: fix loop in do_uboot_assemble_fitimage
When using multiple u-boot configurations in UBOOT_CONFIG, the helper
function uboot_assemble_fitimage_helper() was not called with all
combinations of type & binary, due to a copy-n-paste indexing error.

(From OE-Core rev: 0862abfede2680ff8d67c5e9ece2017f594cb8a1)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2d338548a4b745a71eaf6c29231adc93c4165778)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Kai Kang
c9e5f6d0b0 webkitgtk: 2.44.0 -> 2.44.1
Update webkitgtk from 2.44.0 to the first bug fix release in the stable
2.44 series 2.44.1.

* remove backported patch

What's new in the WebKitGTK 2.44.1 release?
===========================================

  - Fix handling of lifetime of web view child dialogs in GTK4.
  - Do not schedule layer flushes when drawing area size is empty.
  - Fix videos with alpha when using the DMA-BUF sink.
  - Fix the build with USE_GBM=OFF.
  - Fix the build in 32bit platforms
  - Fix several crashes and rendering issues.

(From OE-Core rev: f891b66b981b0e023ffcf7e5cb2cd3fe99008f16)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c129c47cf9fa119005ea6e3946ebdee0da1db7e0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Wang Mingyu
f4ae486b78 llvm: upgrade 18.1.2 -> 18.1.3
0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
refreshed for 18.1.3

Changelog:
============
-DFixes tsan failures for glibc's LoongArch and certain RISC-V ports when
 fstat is used.
-transform.structured.convert_to_loops now properly deletes its target op.
-Fix a llvm.usub.with.overflow.i128 wrong code generation regression that
 was introduced with LLVM 18.1.0.
-MemorySanitizer on Linux can now run even when maximum-entropy address-space
 layout randomization is configured globally
-Fixed a Clang 18.x regression which increased binary size and stack usage with
 -ftrivial-auto-var-init.

(From OE-Core rev: c2666c09e9ef1f523cbbcc7c9b91fc36c4872823)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d2159f92ddbb6b999c1d14ac62647b4a35360377)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Peter Marko
8205ff560c glibc: correct license
The license per [1] is LGPL-2.1-or-later and
[2] converted last LGPL-2.1-only references.

License-Update: corrected from LGPL-2.1-only to LGPL-2.1-or-later based on [1] and [2]

[1] https://www.gnu.org/software/libc/
[2] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=273a835fe7c685cc54266bb8b502787bad5e9bae

(From OE-Core rev: 939140fa7201ae0e7d365648c2ff5629e4c25ff9)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b7ad15a59d048ca7561a03cb0fc8e2c24680ce5c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Peter Marko
ee2d64d759 glibc: Update to latest on stable 2.39 branch
Adresses CVEs: CVE-2024-33599, CVE-2024-33600, CVE-2024-33601, CVE-2024-33602

Changes:
273a835fe7 time: Allow later version licensing.
acc56074b0 nscd: Use time_t for return type of addgetnetgrentX
836d43b989 login: structs utmp, utmpx, lastlog _TIME_BITS independence (bug 30701)
9831f98c26 login: Check default sizes of structs utmp, utmpx, lastlog
fd658f026f elf: Also compile dl-misc.os with $(rtld-early-cflags)
a9a8d3eebb CVE-2024-33601, CVE-2024-33602: nscd: netgroup: Use two buffers in addgetnetgrentX (bug 31680)
c99f886de5 CVE-2024-33600: nscd: Avoid null pointer crashes after notfound response (bug 31678)
5a508e0b50 CVE-2024-33600: nscd: Do not send missing not-found response in addgetnetgrentX (bug 31678)
1263d583d2 CVE-2024-33599: nscd: Stack-based buffer overflow in netgroup cache (bug 31677)
2f8f157eb0 x86: Define MINIMUM_X86_ISA_LEVEL in config.h [BZ #31676]
e701c7d761 i386: ulp update for SSE2 --disable-multi-arch configurations
e828914cf9 nptl: Fix tst-cancel30 on kernels without ppoll_time64 support

Since glibc introduced file sysdeps/arm/bits/wordsize.h
our multilib patch needed to be updated.

(From OE-Core rev: a8b1034d978e745951d5f690c89b9fca4e01e72e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Peter Marko
3c1d8fd96e glibc: Update to latest on stable 2.39 branch
Adresses CVE-2024-2961

Remove backported patch included in hash update.

Changes:
31da30f23c iconv: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence (CVE-2024-2961)
423099a032 x86_64: Exclude SSE, AVX and FMA4 variants in libm multiarch
04df8652eb Apply the Makefile sorting fix
edb9a76e30 powerpc: Fix ld.so address determination for PCREL mode (bug 31640)
7b92f46f04 x86-64: Simplify minimum ISA check ifdef conditional with if
9883f4304c x86-64: Don't use SSE resolvers for ISA level 3 or above
9d92452c70 AArch64: Check kernel version for SVE ifuncs
395a89f61e aarch64: fix check for SVE support in assembler
b0e0a07018 aarch64/fpu: Sync libmvec routines from 2.39 and before with AOR
31c7d69af5 i386: Use generic memrchr in libc (bug 31316)
5d070d12b3 x86: Expand the comment on when REP STOSB is used on memset
6484a92698 x86: Do not prefer ERMS for memset on Zen3+
aa4249266e x86: Fix Zen3/Zen4 ERMS selection (BZ 30994)
5a461f2949 Add tst-gnu2-tls2mod1 to test-internal-extras
aded2fc004 elf: Enable TLS descriptor tests on aarch64
a8ba52bde5 arm: Update _dl_tlsdesc_dynamic to preserve caller-saved registers (BZ 31372)
15aebdbada Ignore undefined symbols for -mtls-dialect=gnu2
354cabcb26 x86-64: Allocate state buffer space for RDI, RSI and RBX
853e915fdd x86-64: Update _dl_tlsdesc_dynamic to preserve AMX registers
a364304718 x86: Update _dl_tlsdesc_dynamic to preserve caller-saved registers
7fc8242bf8 x86-64: Save APX registers in ld.so trampoline
983f34a125 LoongArch: Correct {__ieee754, _}_scalb -> {__ieee754, _}_scalbf
aad45c8ac3 powerpc: Placeholder and infrastructure/build support to add Power11 related changes.
ee7f4c54e1 powerpc: Add HWCAP3/HWCAP4 data to TCB for Power Architecture.
71fcdba577 linux: Use rseq area unconditionally in sched_getcpu (bug 31479)

(From OE-Core rev: 7f3e6019a902eb3dcee3798e9ea0f94865d51c7f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8b0124782510389bdc376fab645a0920b3fb94c8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Peter Marko
e7d86da7aa glib-2.0: Upgrade 2.78.5 -> 2.78.6
Handle regression of CVE-2024-34397 fix.

News (d40f72e98e):

Overview of changes in GLib 2.78.6, 2024-05-08
==============================================
* Fix a regression with IBus caused by the fix for CVE-2024-34397 (#3353,
  work by Simon McVittie)
* Bugs fixed:
  - #3353 Fixing CVE-2024-34397 caused regressions for ibus (Simon McVittie)
  - !4056 Backport !4053 “gdbusconnection: Allow name owners to have the syntax
    of a well-known name” to glib-2-78

(From OE-Core rev: 51da20dc574a7f2a9759a4368d7668e3421e379f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Peter Marko
ea63f4e0ed glib-2.0: Upgrade 2.78.4 -> 2.78.5
Handle CVE-2024-34397

Remove backported patch included in this release.

News (d18807b5ff):
Overview of changes in GLib 2.78.5, 2024-05-07
==============================================
* Fix CVE-2024-34397: GDBus signal subscriptions for well-known names are
  vulnerable to unicast spoofing (#3268, work by Simon McVittie, reported by
  Alicia Boya García)
* Bugs fixed:
  - #3168 gvfs-udisks2-volume-monitor SIGSEGV in g_content_type_guess_for_tree()
    due to filename with bad encoding (Ondrej Holy)
  - #3268 CVE-2024-34397: GDBus signal subscriptions for well-known names are
    vulnerable to unicast spoofing (Simon McVittie)
  - !3825 glib-2-78: ci: Drop FreeBSD 12 CI runner as it’s EOL
  - !3960 gcontenttype: Make filename valid utf-8 string before processing
  - !4040 Backport !4038 “gdbusconnection: Don't deliver signals if the sender
    doesn't match” to glib-2-78
  - !4043 CI: Ignore MSYS2 CI failures for this older stable-branch
* Translation updates:
  - English (United Kingdom) (Andi Chandler)
  - Georgian (Ekaterine Papava)
  - Portuguese (Brazil) (Juliano de Souza Camargo)

(From OE-Core rev: 14de0c10f6b65eac758220d95e6d31066649a214)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Peter Marko
22357a9a04 openssl: patch CVE-2024-4603
Advisory: https://github.com/advisories/GHSA-85xr-ghj6-6m46

(From OE-Core rev: bd6a6733c9a7af90ef86ef9316ff31bc996250b5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Mingli Yu
1e83e98723 ncurses: Fix CVE-2023-50495
Backport a patch [1] to fix CVE-2023-50495.

[1] http://ncurses.scripts.mit.edu/?p=ncurses.git;a=commitdiff;h=7723dd6799ab10b32047ec73b14df9f107bafe99

(From OE-Core rev: 55cca070799a236b06f5cba6f53487fca458f25d)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit bdf7b7460a4816e3d447264730a2814209667fb0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-23 08:55:01 -07:00
Steve Sakoman
4b07a5316e build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: 294a7dbe44f6b7c8d3a1de8c2cc182af37c4f916)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-09 04:49:54 -07:00
Quentin Schulz
b9b47b1a39 docs: brief-yoctoprojectqs: explicit version dependency on websockets python module
We now check that the websockets module version is at least 9.1 in
bitbake itself so we can specify more precisely what "recent version"
means.

While at it, list which distributions have a recent enough websockets
python module in their package feed and give some hint at how to support
other distributions.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 875dfe69e93bf8fee3b8c07818a6ac059f228a13)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-09 04:45:06 -07:00
Trevor Gamblin
c4a4246f79 python3: skip test_concurrent_futures/test_shutdown
These tests are causing hangs on the Autobuilder, so disable them for
now.

(From OE-Core rev: e3b4a05f19e3ba8f84b5d892b787e67bef565e48)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-09 04:45:06 -07:00
Steve Sakoman
f450ddee3e build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: 704d3695092148cfbf5d67c81af81665949847b5)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-06 16:57:09 -07:00
Steve Sakoman
478a0070e1 poky.conf: bump version for 5.0.1
(From meta-yocto rev: 6e21dca8264c9596c55be0048490d67f861079f7)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-06 13:32:03 -07:00
Michael Opdenacker
22927ccce3 ref-manual: update releases.svg
- Make Scarthgap a current release
- Add Styhead

(From yocto-docs rev: 41ddae07a73da38eb82b00146fd970402b4ac5a7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-06 13:32:02 -07:00
Lee Chee Yang
cc5aededce release-notes-5.0: update Repositories / Downloads section
(From yocto-docs rev: cdce92a0f1595b4cf7b7797f5f95a2d8d8f7d376)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-06 13:32:02 -07:00
Lee Chee Yang
af21f39987 migration-notes: add release notes for 4.0.18
add release notes for 4.0.18 (rc1).

(From yocto-docs rev: 9be2db28278774676e9fd6919603fc06d27a3676)

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>
2024-05-06 13:32:02 -07:00
Alexander Kanavin
a4e6110a91 documentation/poky.yaml.in: drop mesa/sdl from essential host packages
They used to be required for qemu graphics support, but neither is being
for anything anymore.

(From yocto-docs rev: 3c11dfd49902cd8962fc6c732158c3c43ce9c34e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-06 13:32:02 -07:00
Michael Halstead
b1c0e46031 docs: add support for scarthgap 5.0 release
Prepared for Scarthgap release. Add references to Styhead.

(From yocto-docs rev: 1b5f2ac75c069f972cdd9c6691519d50a5f8e468)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-06 13:32:02 -07:00
Christian Bräuner Sørensen
0d895fa4c1 systemd: sed ROOT_HOME only if sysusers PACKAGECONFIG is set
Fixes a bug introducted in ebafe46379 systemd: upgrade to 255.1.

Besides updating systemd, that commit also made other changes. One of them
being when to perform the replacement in order to fix ROOT_HOME.

Previously, that happened on a configure prefunc and on
${S}/sysusers.d/basic.conf.in.
Now it happens in install and on image/usr/lib/sysusers.d/basic.conf.

However, that file is not present if sysusers is not in PACKAGECONFIG,
since that file in that case is not installed hence resulting in:
sed: can't read <redactedpath>/image/usr/lib/sysusers.d/basic.conf: No such file or directory

Previously, in the case of sysusers not being in PACKAGECONFIG, that was a
"silent error" since the replacement was done but the file was not really
used since the file was not installed.

(From OE-Core rev: 6954cd4bb60762f86981621e8b37dbe5e8236640)

Signed-off-by: Christian Bräuner Sørensen <yocto@bsorensen.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-06 13:32:02 -07:00
Alexander Kanavin
94dc3e62a5 scripts/oe-setup-build: write a build environment initialization one-liner into the build directory
With this, users no longer have to know where oe-init-build-env is relative to the
build directory; that information is contained in the one liner and then
it's possible to simply use that:

. /path/to/build/init-build-env

This will particularly help with initializing builds in unpacked
build bundles, as users won't have to know where oe-init-build-env
is in the bundle directory tree - similar to esdk initialization.

(From OE-Core rev: 1cabdf287c2739accdab3a766df060f1bc802b63)

(From OE-Core rev: 4bf3f11e39312cfce59d4652804faf0eec6b5ace)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
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>
2024-05-06 13:32:02 -07:00
Mark Hatle
64c3534366 sstate.bbclass: Add _SSTATE_EXCLUDEDEPS_SYSROOT to vardepsexclude
When using tinfoil to control the build, multiple commands (serially) could
trigger an error such as:

  When reparsing ....bb:do_package, the basehash value changed from ... to .... The metadata is not deterministic and this needs to be fixed.
  ERROR: The following commands may help:
  ERROR: $ bitbake esw-conf -cdo_package -Snone
  ERROR: Then:
  ERROR: $ bitbake esw-conf -cdo_package -Sprintdiff

However following these commands it was not able to be reproduced.  Forcing
bitbake to dump the signatures and then running bitbake-diffsigs showed
that the value of _SSTATE_EXCLUDEDEPS_SYSROOT was being set in one run, but
was blank is a different version.

Upon inspecting the code in sstate.bbclass, one usage (without the _) is
already excludes, the leading _ version is used as a cache, only if set but
is not actually required to be defined.  So ignoring the value should work
properly.

(From OE-Core rev: 4138f0a048149195d39347d97f8155199b6cf0cb)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4ec704ed6a1cfaf0a6c20f2038e7192e361ef590)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-06 13:32:02 -07:00
Wang Mingyu
02eacd385e mpg123: upgrade 1.32.5 -> 1.32.6
Changelog:
- build: Detect forced 64 bit offsets on a dual-mode system that used
  to default to 32 bits and drop ambiguous suffix-less symbols in that
  case.

(From OE-Core rev: e38a0f1a5e515651173b1aa21d38f2b3924de8b2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5e76967536191ac42fdd0c016e92a273dc4908e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:22 -07:00
Wang Mingyu
0be9782b02 lttng-tools: upgrade 2.13.11 -> 2.13.13
0001-tests-do-not-strip-a-helper-library.patch
refreshed for 2.13.13

Changelog:
===========
* Fix: consumerd: leak of tracing buffers on relayd connectivity issue
* Fix: consumerd: wrong timer mentioned in error logging
* Fix: consumerd: type confusion in lttng_consumer_send_error
* Fix: baddr-statedump: use $(LIBTOOL) --mode=execute
* Fix: relayd: live client not notified of inactive streams
* Fix: relayd: live: dispose of zombie viewer metadata stream
* tests: Fix typo in tests/regression/kernel/test_ns_contexts
* Fix: sessiond: freeze on channel creation on restart
* common: move utils_create_lock_file to its own file
* tests: tools/clear/test_ust wait for specific test app pid
* Fix: sessiond: crash when sending data_pending to an active session
* Tests: fix: list_triggers_cli: kallsyms contains prefixed symbols
* License: common: error_query: fix typo in SPDX specifier

(From OE-Core rev: 5e870221afd5e65fb70809ebe88d65a6c5a686ec)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5d35200e089f0695cfb19b65dd9b56006aa3d4fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:22 -07:00
Wang Mingyu
6f69040e89 libx11: upgrade 1.8.7 -> 1.8.9
Changelog:
===========
-xlibi18n: restore parse_line1 for WIN32 builds
-Fix _XkbReadGetDeviceInfoReply for nButtons == dev->buttons
-_XimProtoIMFree:no need to check arg for Xfree()
-_XimEncodeString:no need to check arg for Xfree()
-Fix XCreateIC() memory leak (Part 2)
-_XimLocalDestroyIC:fix possible mem leak
-_XimLocalCreateIC: get rid of bzero
-_XimLocalCreateIC: minor cleanup
-_XimLocalCreateIC:no need to check arg for Xfree()
-_XimLocalDestroyIC: no need to check arg for Xfree()
-fix table width

(From OE-Core rev: 14ec9ffa949e5bc42fc04aa5a86ad3acf59d8e72)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bd8fab6937cddf3b6818e8e333b78813f0524116)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:22 -07:00
Wang Mingyu
7721813410 libdnf: upgrade 0.73.0 -> 0.73.1
Changelog:
=========
-Fix https://issues.redhat.com/browse/RHEL-27657
-subject-py: Fix memory leak

(From OE-Core rev: 7acb8c84269b2ac1adf0a623d226867ed050d29e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f16b16e1b6c60f0a1c9bc8d5492195fc66f33a19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:22 -07:00
Wang Mingyu
46e334391e ell: upgrade 0.63 -> 0.64
Changelog:
==========
-Fix issue with casting in C++ environment.
-Fix issue with ASCII string upper and lower helpers.

(From OE-Core rev: 29e3e0eb9b69f966a319810270fb668e4fce9389)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a28405da8dad7e6222d7badaa3eda175e3df32c9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:21 -07:00
Wang Mingyu
cb75a627c2 babeltrace2: upgrade 2.0.5 -> 2.0.6
Changelog:
===========
* bt2: disable some warnings for 'native_bt.c'
* bt2: compile 'native_bt.c' with '-Wno-undef'
* Fix: src.ctf.lttng-live: expect NEW_STREAM/METADATA for inactive streams
* Fix: 'babeltrace2 convert': don't consider the '--plugin-path' opt.
* include/babeltrace2/plugin/plugin-dev.h: "define" -> "definition
* Fix: doc: escape double quote in bt_p alias
* Fix: bt2: pass _TraceClassConst to destruction listeners
* fix: 'load_module()' deprecated in Python 3.12
* tests: retry os.rename on PermissionError failure in lttng_live_server.py
* doc: fix uptream -> upstream typos
* fix: test_message_iterator.py hangs on Python 3.12
* plugin-dev: mark symbols meant to be public with __attribute__((visibility("default")))
* Silence -Wunused-but-set-variable error with clang
* Fix: Windows DLL path lookup with Python >= 3.8
* doc/man: make default values of boolean init. params. clearer
* RFC: docs: fix: Match stated automake requirement
* fix: make flake8 6.x happy
* fix: running black on python 3.11
* bt_query_executor_create_with_method_data(): fix docs note
* Fix: ctf-writer: null dereference in bt_ctf_trace_common_add_stream_class
* Update working version to Babeltrace v2.0.6

(From OE-Core rev: 0aac0507e769d3d250b0c649bdec821eb333349c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a5f05da60ca888456900f9fb0a52ef07db754c06)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:21 -07:00
Wang Mingyu
13f0a89c07 mesa: upgrade 24.0.2 -> 24.0.3
Mesa 24.0.3 is a bug fix release which fixes bugs found since the 24.0.2 release.

New features
None

Bug fixes
v3d: Line rendering broken when smoothing is enabled
DR crashes with mesa 24 and rusticl (radeonsi)
RADV: GPU crash when setting ‘RADV_DEBUG=allbos’
[intel] mesa ftbfs with time_t64
[radv] Crash when VkGraphicsPipelineCreateInfo::flags = ~0u
Gen4 assertion `force_writemask_all’ failed.
[radv] Holographic projection texture glitch in Rage 2
[build failure] [armhf] - error: #error “_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64”
RustiCL: Callbacks are not called upon errors
MTL: regressions in vulkancts due to BO CCS allocations
zink: spec@ext_external_objects@vk-image-overwrite fail

0001-Revert-meson-do-not-pull-in-clc-for-clover.patch
refreshed for 24.0.3

(From OE-Core rev: 78c39ef7502f91243cf09aa20f6ad30fe4f87fee)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 43240c8b2c5507fe6147ba04ec98528602c694e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:21 -07:00
Wang Mingyu
bdf47412b2 libxml2: upgrade 2.12.5 -> 2.12.6
Changelog:
===========
- parser: Fix detection of duplicate attributes in XML namespace
- xmlreader: Fix xmlTextReaderConstEncoding
- html: Fix htmlCreatePushParserCtxt with encoding
- xmllint: Return error code if XPath returns empty nodeset

(From OE-Core rev: 006bd4dacc0568f04cbcd704f4908386d3540774)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0bc673b0de08e02ff01ec9ad3daf0bb41662da40)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:21 -07:00
Wang Mingyu
fc2cd22e49 bind: upgrade 9.18.24 -> 9.18.25
Changelog:
============
-Create the pruning task in the dns_cache_flush(), so
 the cache pruning still works after the flush.
-Improve the TTL-based cleaning by removing the expired
 headers from the heap, so they don't block the next
 cleaning round and clean more than a single item for
 each new addition to the RBTDB.
-Revert change 6319 and decrease lock contention during
 RBTDB tree pruning by not cleaning up nodes recursively
 within a single prune_tree() call.
-Address use after free in expire_lru_headers.

(From OE-Core rev: 5b3ba5f021f3bd532238dad57772c8416da61c14)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 17cecd0d9d0d734d408701d861692ca5987f4ad9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:21 -07:00
Wang Mingyu
7b3bce6d48 pango: upgrade 1.52.0 -> 1.52.1
Changelog:
 Fix hexbox drawing

(From OE-Core rev: 5bc3dfa37fe2a94e1ceba364ab5af3ca8e89efd2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a296e6c3afb412ee9740fc28963f35dd16e52d9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:21 -07:00
Wang Mingyu
43167d556a libxcursor: upgrade 1.2.1 -> 1.2.2
Changelog:
===========
-Remove superfluous and unguarded config.h include
-XcursorXcFileLoad: plug memory leak in error paths
-Add comment about keeping libxcb-cursor copy of code in sync
-If O_CLOEXEC is defined, add "e" to fopen modes
-configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
-gitlab CI: stop requiring Signed-off-by in commits

(From OE-Core rev: 21be5356da5f842848241aa9c17d9d2126bfdc31)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b56224f31ac4df426418ffe9fa48f4d2dea3f148)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:21 -07:00
Wang Mingyu
73b5770461 libsdl2: upgrade 2.30.0 -> 2.30.1
Changelog:
===========
-Fixed a regression causing SDL_WaitEvent() to return spurious failures
-Fixed X11 cursors on the latest release of GNOME
-Wayland windows automatically have OpenGL enabled again
-Fixed memory corruption when converting signed 16-bit audio to float
-Fixed audio artifacts when converting signed 8-bit audio to float
-Fixed the clip rectangle not being updated when the viewport changes in the SDL renderer
-Convert mouse wheel coordinates to the rendering view in the SDL renderer
-Fixed a crash handling controllers on macOS
-Fixed a crash setting a window fullscreen with Emscripten
-Fixed the keyboard automatically popping up when resuming an application on Android

(From OE-Core rev: 9d5bbe4389ee33e89ba419924fe82f4ce872fb26)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a17c05585a0da0166087ae0cd3cd4331a1fb2615)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:21 -07:00
Wang Mingyu
250d1c29ee gcr: upgrade 4.2.0 -> 4.2.1
Changelog:
===========
- gcr-ssh-agent: set 'SSH_AUTH_SOCK'
- gcr-ssh-agent: port avoid deadlock fix
- Updated translations

(From OE-Core rev: 17b183e5ff70e26108893b379d0da78a7f5f8fbe)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b98e250d8c04040df1333506b72575d368e6bdc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:21 -07:00
Michael Glembotzki
6600be67d8 rootfs-postcommands.bbclass: Only set DROPBEAR_RSAKEY_DIR once
If DROPBEAR_RSAKEY_DIR has already been set before, e.g. by overwriting
the file dropbear.default, the line will still be appended a second time.

DROPBEAR_RSAKEY_DIR="/path/to/dropbear"
DROPBEAR_EXTRA_ARGS="-B"
DROPBEAR_RSAKEY_DIR=/var/lib/dropbear

(From OE-Core rev: b56ec552ac34a41b531bc36a55f46e0216d40baf)

Signed-off-by: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:21 -07:00
Alexander Kanavin
5d33880b9d rpm: update 4.19.1 -> 4.19.1.1
Summary of changes from RPM 4.19.1
Fixes
Packaging: Don’t warn about missing user/group on skipped files [Regression] (#2814)
Packaging: Make user/group lookup caching thread-safe [Regression] (#2843)
Lua interface: Fix regression in Lua scriptlet runaway child detection [Regression] (#2818)
Build: CMakeLists.txt: restore readline support as an explicit option [Regression] (#2852)
Build: Fix unconditional uses of Linux-specific extensions [Regression] (#2812)
Build: Add missing include for check_symbol_exists (#2831)
Build: Don’t use _nl_msg_cat_cntr if it’s not available (#2856)

Drop patches:
files/0002-docs-CMakeLists.txt-do-not-install-non-existent-docs.patch
(upstream resolved the issue)

files/0001-CMakeLists.txt-restore-readline-support-as-an-explic.patch
files/0001-Fix-unconditional-dependency-on-non-POSIX-GLOB_ONLYD.patch
(backports)

(From OE-Core rev: d05416b6d6ec197b42f20652ed53ada1eb697d67)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d233e33a5ca12f95878c3ee9e34d9d9c61e49f68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:21 -07:00
Alexander Kanavin
7dddfb7420 icu: update 74-1 -> 74-2
ICU 74.2 updates to CLDR 44.1 locale data. These are maintenance releases for ICU 74
and CLDR 44, with limited sets of bug fixes and no API or structural changes.

The CLDR bug fix relevant for ICU is for some formatting patterns that erroneously
had two adjacent space characters. These are coalesced into one. (CLDR-17233)
Important: DateFormat.getInstanceForSkeleton() and the DateTimePatternGenerator
sometimes used the wrong patterns because they failed to use/inherit certain data
(ICU-22575 — CLDR 44 had removed some redundant data that ICU relied on)
For details, please see https://icu.unicode.org/download/74.

Note that upstream has re-spun the release tarball (the initial tarball had a broken symlink
for LICENSE file), so there can be yocto premirror checksum mismatches:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6671/steps/13/logs/stdio

(From OE-Core rev: a6a5fa0af5e0bfe230681eee3f2e3b45a694ac9b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 344f7500e6df31d7c06331aedbac0df4983da958)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-03 06:12:20 -07:00
Richard Purdie
3e10e2afba brief-yoctoprojectqs: Update to the correct hash equivalence server address
Also add a note about needing python websockets installed.

(From yocto-docs rev: 9dfe3d2dcba8bb2d2e277ff2204862dc8b77c8b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 17:07:17 +01:00
joshua Watt
6c9d0bddbc bitbake: cooker: Use hash client to ping upstream server
The cooker attempts to connect to the upstream hash equivalent server to
warn the user early if it is misconfigured. However, this was making the
assumption that it was a raw TCP connection and failed when attempting
to use a websocket upstream server. Fix this by creating an hash client
and using the ping API to check the server instead of using a raw
socket.

(Bitbake rev: 8f90d10f9efc9a32e13f6bd031992aece79fe7cc)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 16:07:25 +01:00
Richard Purdie
3c9778fbc8 local.conf.sample: Fix hashequivalence server address
We switched to a new server for the scarthgap release but didn't update the
sample config. Fix this.

(From meta-yocto rev: f5e9f8ebd65e5a814ec45122e4176bc5407ea946)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:30:01 +01:00
Lee Chee Yang
eb723d4a10 release-notes-5.0: update recipes changes
update recipes changes in 5.0 rc4.
update new recipes, license changes, patched cve and recipes version
changes.

(From yocto-docs rev: 0fc86205668d122d4e550a5eae301cd6997f8a71)

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>
2024-04-24 14:23:00 +01:00
Michael Opdenacker
299ead538a manuals: standards.md5: add standard for project names
Set a new standard to introduce project names with single quotes,
so that they appear in generated text with an italic font,
to make them easier to distinguish from command names and from
ordinary English words.

Rework and move the standard for command and file names
to make the whole description "flow" better.

(From yocto-docs rev: fa6700af56213a5079eaa8d9683f3c2b2fc93740)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-24 14:23:00 +01:00
Paul Eggleton
795511f0ea release-notes: add a few more new features
Add some features I missed earlier (patchtest, Toaster, hash
equivalence enhancements, screenshot-based UI test,
USERADD_DEPENDS).

(From yocto-docs rev: 774f0ba6345592571c7c7cff495f2b15dca21f25)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-24 14:23:00 +01:00
Paul Eggleton
8eb06eb958 ref-manual: variables: add USERADD_DEPENDS
New variable in 5.0.

(From yocto-docs rev: 57a9117a8c4c020b2f643d6835af29b4e49f4f7f)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-24 14:23:00 +01:00
Richard Purdie
fb91a49387 build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: b65b4e5a8e4473d8ca43835ba17bc8bd4bdca277)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-18 17:14:22 +01:00
Richard Purdie
25b05cb80d curl: Backport patch to fix buildtools issues
bitbake-selftest was failing on a github url on hosts using buildtools.
The issue was tracked down to the curl upgrade 8.6.0 -> 8.7.1. Whilst there
is a fix in upstream git to workaround the issue in this version, backport
the fix from curl upstream to ensure there are no other related issues to
the bug.

(From OE-Core rev: 28ee90b07c70cafbba9149dd4dbe26cae9e214c7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-18 11:58:28 +01:00
Richard Purdie
5b727a8fa1 build-appliance-image: Update to scarthgap head revision
(From OE-Core rev: 09ccab7d0b4d815b812e49a5861a13a4ec0189b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 15:54:22 +01:00
Richard Purdie
845626a36b buildtools-tarball: Add python3-pip
Many of the common use cases for buildtools need pip to allow python to be
extended. Add it.

(From OE-Core rev: 0a1714533ed2b02a98b8456e1193fc079273fbbd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 15:54:00 +01:00
5835 changed files with 709053 additions and 114 deletions

2
.templateconf Normal file
View File

@@ -0,0 +1,2 @@
# Template settings
TEMPLATECONF=${TEMPLATECONF:-meta-poky/conf/templates/default}

20
LICENSE Normal file
View File

@@ -0,0 +1,20 @@
Different components of OpenEmbedded are under different licenses (a mix
of MIT and GPLv2). See LICENSE.GPL-2.0-only and LICENSE.MIT for further
details of the individual licenses.
All metadata is MIT licensed unless otherwise stated. Source code
included in tree for individual recipes (e.g. patches) are under
the LICENSE stated in the associated recipe (.bb file) unless
otherwise stated.
License information for any other files is either explicitly stated
or defaults to GPL version 2 only.
Individual files contain the following style tags instead of the full license
text to identify their license:
SPDX-License-Identifier: GPL-2.0-only
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

288
LICENSE.GPL-2.0-only Normal file
View File

@@ -0,0 +1,288 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Note:
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: GPL-2.0-only
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

25
LICENSE.MIT Normal file
View File

@@ -0,0 +1,25 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note:
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

71
MAINTAINERS.md Normal file
View File

@@ -0,0 +1,71 @@
OpenEmbedded-Core and Yocto Project Maintainer Information
==========================================================
OpenEmbedded and Yocto Project work jointly together to maintain the metadata,
layers, tools and sub-projects that make up their ecosystems.
The projects operate through collaborative development. This currently takes
place on mailing lists for many components as the "pull request on github"
workflow works well for single or small numbers of maintainers but we have
a large number, all with different specialisms and benefit from the mailing
list review process. Changes therefore undergo peer review through mailing
lists in many cases.
This file aims to acknowledge people with specific skills/knowledge/interest
both to recognise their contributions but also empower them to help lead and
curate those components. Where we have people with specialist knowledge in
particular areas, during review patches/feedback from these people in these
areas would generally carry weight.
This file is maintained in OE-Core but may refer to components that are separate
to it if that makes sense in the context of maintainership. The README of specific
layers and components should ultimately be definitive about the patch process and
maintainership for the component.
Recipe Maintainers
------------------
See meta/conf/distro/include/maintainers.inc
Component/Subsystem Maintainers
-------------------------------
* Kernel (inc. linux-yocto, perf): Bruce Ashfield
* Reproducible Builds: Joshua Watt
* Toaster: David Reyna
* Hash-Equivalence: Joshua Watt
* Recipe upgrade infrastructure: Alex Kanavin
* Toolchain: Khem Raj
* ptest-runner: Aníbal Limón
* opkg: Alex Stewart
* devtool: Saul Wold
* eSDK: Saul Wold
* overlayfs: Vyacheslav Yurkov
Maintainers needed
------------------
* Pseudo
* Layer Index
* recipetool
* QA framework/automated testing
* error reporting system/web UI
* wic
* Patchwork
* Patchtest
* Matchbox
* Sato
* Autobuilder
Layer Maintainers needed
------------------------
* meta-gplv2 (ideally new strategy but active maintainer welcome)
Shadow maintainers/development needed
--------------------------------------
* toaster
* bitbake

5
MEMORIAM Normal file
View File

@@ -0,0 +1,5 @@
Some project contributors who are sadly no longer with us:
Greg Gilbert (treke) - Ahead of his time with licensing
Thomas Wood (thos) - Creator of the original sato
Scott Rifenbark (scottrif) - Our long standing techwriter whose words live on

114
README
View File

@@ -1,114 +0,0 @@
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
https://docs.yoctoproject.org/dev/dev-manual/poky-manual-setup.html
b) use the new bitbake-setup
https://docs.yoctoproject.org/bitbake/dev/bitbake-user-manual/bitbake-user-manual-environment-setup.html
You can find more information in our documentation: https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change follows. The
details are taken from:
https://lists.openembedded.org/g/openembedded-architecture/message/2179
TLDR: People have complained about the combo-layer built poky
repository for years. It was meant to be a temporary thing, we now have
an alternative and I'm therefore doing what I promised I'd do. Change
is tough, things may break but this is the right point to at least try
it.
I'd like to note that:
* setting up builds with a separate oe-core and bitbake clone
works as it always has done
* you can change your CI just to use those two repos instead of poky
* bitbake-setup isn't mandatory, it will just be what the yocto-
docs presents to users
* we don't have to stop maintaining the poky repository
however nobody will test the new approach/code unless we do
* we are optionally exposing sstate mirrors in the new config
* we are also exposing config fragments to users
* poky as a DISTRO in meta-yocto remains
A bit more about the history and background for those who are
interested and then some FAQs:
Back around 2010 when we split up openembedded-classic and started
developing layers, we made the artificial "poky" repository construct
as a way to let people easily and quickly get started with the project.
without cloning and managing multiple repositories. Layers were a new
idea with lots of rough edges. kas didn't exist, I think repo was only
just created and it was a different world. For us, it meant hacking up
a quick tool, "combo-layer" and it was really a temporary solution to
fill a gap and it was at least as functional as repo of the era. It was
assumed we'd work it out properly in the future.
At developer meetings there are inevitable questions about why
poky/combo-layer exist and few seem to actually like/support it. There
are continual questions about why a tool doesn't exist or why we don't
adopt one too.
15 years later, a bit longer than we might have thought, we are finally
in a position where there may be a viable way forward to change.
It has taken us a bit of time to get to this point. I wrote the
original description of something like bitbake-setup about 7-8 years
ago. I shared it privately with a few people, the review feedback
stopped me pushing it further as I simply did not have the bandwidth.
We were fortunate to get funding from the Sovereign Tech Fund to start
the work and whilst I'd probably prefer to avoid the issue, the time
had come to start. Since then, Alexander Kanavin has put a lot of work
into getting it to the point where it would be possible to switch. A
huge thanks to him for getting this to the current point.
Why not use kas/submodules/repo?
This topic has been discussed in depth several times. Very roughly,
these are either difficult to focus on our use cases or have specific
designs and intent which we as a project would struggle to influence.
We are taking significant influence from some of them but also trying
to build something where we can benefit from tight direct integration
with bitbake and the metadata. For example fragment support is generic
and hopefully something other approaches can also benefit from. We want
to provide something we can switch the projects docs and autobuilder to
which we can control and develop as we need it to. We are not aiming to
force anyone to switch, you can use whichever tool you want.
Can we not keep poky [repository master branch] around?
If we do that, nobody will use the new tooling and it will be a
disaster as issues won't get resolved. We need our CI to use the same
thing we promote to our new and experienced users. We need this new
tooling to be usable by our experienced developers too. We have tried
for months to get people to try it and they simply don't. Making a
release with it won't change much either. It needs people using it and
for that, poky has to stop being updated.
What happens to poky [repository]?
The LTS branches continue their lifetime as planned. For master, I'll
probably put a final commit in changing to just a README which points
people at the bitbake-setup changes and explains what happened.
What are the timelines? Why now?
If we're going to make a change, we really want this in the next LTS
release, which is April 2026. We only have one release before that
which is now, October 2025. We therefore need to switch now, and then
give us time to update docs, fix issues that arise and so on and have
it in a release cycle. Whilst it means delaying the Oct 2025 release
slightly, that is the right thing to do in the context of the bigger
picture.

33
README.OE-Core.md Normal file
View File

@@ -0,0 +1,33 @@
OpenEmbedded-Core
=================
OpenEmbedded-Core is a layer containing the core metadata for current versions
of OpenEmbedded. It is distro-less (can build a functional image with
DISTRO = "nodistro") and contains only emulated machine support.
For information about OpenEmbedded, see the OpenEmbedded website:
https://www.openembedded.org/
The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
https://docs.yoctoproject.org/
Contributing
------------
Please refer to our contributor guide here: https://docs.yoctoproject.org/dev/contributor-guide/
for full details on how to submit changes.
As a quick guide, patches should be sent to openembedded-core@lists.openembedded.org
The git command to do that would be:
git send-email -M -1 --to openembedded-core@lists.openembedded.org
Mailing list:
https://lists.openembedded.org/g/openembedded-core
Source code:
https://git.openembedded.org/openembedded-core/

1
README.hardware.md Symbolic link
View File

@@ -0,0 +1 @@
meta-yocto-bsp/README.hardware.md

1
README.md Symbolic link
View File

@@ -0,0 +1 @@
README.poky.md

1
README.poky.md Symbolic link
View File

@@ -0,0 +1 @@
meta-poky/README.poky.md

15
README.qemu.md Normal file
View File

@@ -0,0 +1,15 @@
QEMU Emulation Targets
======================
To simplify development, the build system supports building images to
work with the QEMU emulator in system emulation mode. Several architectures
are currently supported in 32 and 64 bit variants:
* ARM (qemuarm + qemuarm64)
* x86 (qemux86 + qemux86-64)
* PowerPC (qemuppc only)
* MIPS (qemumips + qemumips64)
Use of the QEMU images is covered in the Yocto Project Reference Manual.
The appropriate MACHINE variable value corresponding to the target is given
in brackets.

22
SECURITY.md Normal file
View File

@@ -0,0 +1,22 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
[https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security Security Bugzilla]
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
for detailed info regarding the policies and maintenance of Stable branches.
The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
releases of the Yocto Project. Versions in grey are no longer actively maintained with
security patches, but well-tested patches may still be accepted for them for
significant issues.

2
bitbake/.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
*min.js binary
*min.css binary

10
bitbake/AUTHORS Normal file
View File

@@ -0,0 +1,10 @@
Tim Ansell <mithro@mithis.net>
Phil Blundell <pb@handhelds.org>
Seb Frankengul <seb@frankengul.org>
Holger Freyther <holger@moiji-mobile.com>
Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Chris Larson <kergoth@handhelds.org>
Ulrich Luckas <luckas@musoft.de>
Mickey Lauer <mickey@Vanille.de>
Richard Purdie <rpurdie@rpsys.net>
Holger Schurig <holgerschurig@gmx.de>

317
bitbake/ChangeLog Normal file
View File

@@ -0,0 +1,317 @@
Changes in Bitbake 1.9.x:
- Add PE (Package Epoch) support from Philipp Zabel (pH5)
- Treat python functions the same as shell functions for logging
- Use TMPDIR/anonfunc as a __anonfunc temp directory (T)
- Catch truncated cache file errors
- Allow operations other than assignment on flag variables
- Add code to handle inter-task dependencies
- Fix cache errors when generation dotGraphs
- Make sure __inherit_cache is updated before calling include() (from Michael Krelin)
- Fix bug when target was in ASSUME_PROVIDED (#2236)
- Raise ParseError for filenames with multiple underscores instead of infinitely looping (#2062)
- Fix invalid regexp in BBMASK error handling (missing import) (#1124)
- Promote certain warnings from debug to note 2 level
- Update manual
- Correctly redirect stdin when forking
- If parsing errors are found, exit, too many users miss the errors
- Remove supriours PREFERRED_PROVIDER warnings
- svn fetcher: Add _buildsvncommand function
- Improve certain error messages
- Rewrite svn fetcher to make adding extra operations easier
as part of future SRCDATE="now" fixes
(requires new FETCHCMD_svn definition in bitbake.conf)
- Change SVNDIR layout to be more unique (fixes #2644 and #2624)
- Add ConfigParsed Event after configuration parsing is complete
- Add SRCREV support for svn fetcher
- data.emit_var() - only call getVar if we need the variable
- Stop generating the A variable (seems to be legacy code)
- Make sure intertask depends get processed correcting in recursive depends
- Add pn-PN to overrides when evaluating PREFERRED_VERSION
- Improve the progress indicator by skipping tasks that have
already run before starting the build rather than during it
- Add profiling option (-P)
- Add BB_SRCREV_POLICY variable (clear or cache) to control SRCREV cache
- Add SRCREV_FORMAT support
- Fix local fetcher's localpath return values
- Apply OVERRIDES before performing immediate expansions
- Allow the -b -e option combination to take regular expressions
- Fix handling of variables with expansion in the name using _append/_prepend
e.g. RRECOMMENDS_${PN}_append_xyz = "abc"
- Add plain message function to bb.msg
- Sort the list of providers before processing so dependency problems are
reproducible rather than effectively random
- Fix/improve bitbake -s output
- Add locking for fetchers so only one tries to fetch a given file at a given time
- Fix int(0)/None confusion in runqueue.py which causes random gaps in dependency chains
- Expand data in addtasks
- Print the list of missing DEPENDS,RDEPENDS for the "No buildable providers available for required...."
error message.
- Rework add_task to be more efficient (6% speedup, 7% number of function calls reduction)
- Sort digraph output to make builds more reproducible
- Split expandKeys into two for loops to benefit from the expand_cache (12% speedup)
- runqueue.py: Fix idepends handling to avoid dependency errors
- Clear the terminal TOSTOP flag if set (and warn the user)
- Fix regression from r653 and make SRCDATE/CVSDATE work for packages again
- Fix a bug in bb.decodeurl where http://some.where.com/somefile.tgz decoded to host="" (#1530)
- Warn about malformed PREFERRED_PROVIDERS (#1072)
- Add support for BB_NICE_LEVEL option (#1627)
- Psyco is used only on x86 as there is no support for other architectures.
- Sort initial providers list by default preference (#1145, #2024)
- Improve provider sorting so prefered versions have preference over latest versions (#768)
- Detect builds of tasks with overlapping providers and warn (will become a fatal error) (#1359)
- Add MULTI_PROVIDER_WHITELIST variable to allow known safe multiple providers to be listed
- Handle paths in svn fetcher module parameter
- Support the syntax "export VARIABLE"
- Add bzr fetcher
- Add support for cleaning directories before a task in the form:
do_taskname[cleandirs] = "dir"
- bzr fetcher tweaks from Robert Schuster (#2913)
- Add mercurial (hg) fetcher from Robert Schuster (#2913)
- Don't add duplicates to BBPATH
- Fix preferred_version return values (providers.py)
- Fix 'depends' flag splitting
- Fix unexport handling (#3135)
- Add bb.copyfile function similar to bb.movefile (and improve movefile error reporting)
- Allow multiple options for deptask flag
- Use git-fetch instead of git-pull removing any need for merges when
fetching (we don't care about the index). Fixes fetch errors.
- Add BB_GENERATE_MIRROR_TARBALLS option, set to 0 to make git fetches
faster at the expense of not creating mirror tarballs.
- SRCREV handling updates, improvements and fixes from Poky
- Add bb.utils.lockfile() and bb.utils.unlockfile() from Poky
- Add support for task selfstamp and lockfiles flags
- Disable task number acceleration since it can allow the tasks to run
out of sequence
- Improve runqueue code comments
- Add task scheduler abstraction and some example schedulers
- Improve circular dependency chain debugging code and user feedback
- Don't give a stacktrace for invalid tasks, have a user friendly message (#3431)
- Add support for "-e target" (#3432)
- Fix shell showdata command (#3259)
- Fix shell data updating problems (#1880)
- Properly raise errors for invalid source URI protocols
- Change the wget fetcher failure handling to avoid lockfile problems
- Add support for branches in git fetcher (Otavio Salvador, Michael Lauer)
- Make taskdata and runqueue errors more user friendly
- Add norecurse and fullpath options to cvs fetcher
- Fix exit code for build failures in --continue mode
- Fix git branch tags fetching
- Change parseConfigurationFile so it works on real data, not a copy
- Handle 'base' inherit and all other INHERITs from parseConfigurationFile
instead of BBHandler
- Fix getVarFlags bug in data_smart
- Optmise cache handling by more quickly detecting an invalid cache, only
saving the cache when its changed, moving the cache validity check into
the parsing loop and factoring some getVar calls outside a for loop
- Cooker: Remove a debug message from the parsing loop to lower overhead
- Convert build.py exec_task to use getVarFlags
- Update shell to use cooker.buildFile
- Add StampUpdate event
- Convert -b option to use taskdata/runqueue
- Remove digraph and switch to new stamp checking code. exec_task no longer
honours dependencies
- Make fetcher timestamp updating non-fatal when permissions don't allow
updates
- Add BB_SCHEDULER variable/option ("completion" or "speed") controlling
the way bitbake schedules tasks
- Add BB_STAMP_POLICY variable/option ("perfile" or "full") controlling
how extensively stamps are looked at for validity
- When handling build target failures make sure idepends are checked and
failed where needed. Fixes --continue mode crashes.
- Fix -f (force) in conjunction with -b
- Fix problems with recrdeptask handling where some idepends weren't handled
correctly.
- Handle exit codes correctly (from pH5)
- Work around refs/HEAD issues with git over http (#3410)
- Add proxy support to the CVS fetcher (from Cyril Chemparathy)
- Improve runfetchcmd so errors are seen and various GIT variables are exported
- Add ability to fetchers to check URL validity without downloading
- Improve runtime PREFERRED_PROVIDERS warning message
- Add BB_STAMP_WHITELIST option which contains a list of stamps to ignore when
checking stamp dependencies and using a BB_STAMP_POLICY of "whitelist"
- No longer weight providers on the basis of a package being "already staged". This
leads to builds being non-deterministic.
- Flush stdout/stderr before forking to fix duplicate console output
- Make sure recrdeps tasks include all inter-task dependencies of a given fn
- Add bb.runqueue.check_stamp_fn() for use by packaged-staging
- Add PERSISTENT_DIR to store the PersistData in a persistent
directory != the cache dir.
- Add md5 and sha256 checksum generation functions to utils.py
- Correctly handle '-' characters in class names (#2958)
- Make sure expandKeys has been called on the data dictionary before running tasks
- Correctly add a task override in the form task-TASKNAME.
- Revert the '-' character fix in class names since it breaks things
- When a regexp fails to compile for PACKAGES_DYNAMIC, print a more useful error (#4444)
- Allow to checkout CVS by Date and Time. Just add HHmm to the SRCDATE.
- Move prunedir function to utils.py and add explode_dep_versions function
- Raise an exception if SRCREV == 'INVALID'
- Fix hg fetcher username/password handling and fix crash
- Fix PACKAGES_DYNAMIC handling of packages with '++' in the name
- Rename __depends to __base_depends after configuration parsing so we don't
recheck the validity of the config files time after time
- Add better environmental variable handling. By default it will now only pass certain
whitelisted variables into the data store. If BB_PRESERVE_ENV is set bitbake will use
all variable from the environment. If BB_ENV_WHITELIST is set, that whitelist will be
used instead of the internal bitbake one. Alternatively, BB_ENV_EXTRAWHITE can be used
to extend the internal whitelist.
- Perforce fetcher fix to use commandline options instead of being overriden by the environment
- bb.utils.prunedir can cope with symlinks to directoriees without exceptions
- use @rev when doing a svn checkout
- Add osc fetcher (from Joshua Lock in Poky)
- When SRCREV autorevisioning for a recipe is in use, don't cache the recipe
- Add tryaltconfigs option to control whether bitbake trys using alternative providers
to fulfil failed dependencies. It defaults to off, changing the default since this
behaviour confuses many users and isn't often useful.
- Improve lock file function error handling
- Add username handling to the git fetcher (Robert Bragg)
- Add support for HTTP_PROXY and HTTP_PROXY_IGNORE variables to the wget fetcher
- Export more variables to the fetcher commands to allow ssh checkouts and checkouts through
proxies to work better. (from Poky)
- Also allow user and pswd options in SRC_URIs globally (from Poky)
- Improve proxy handling when using mirrors (from Poky)
- Add bb.utils.prune_suffix function
- Fix hg checkouts of specific revisions (from Poky)
- Fix wget fetching of urls with parameters specified (from Poky)
- Add username handling to git fetcher (from Poky)
- Set HOME environmental variable when running fetcher commands (from Poky)
- Make sure allowed variables inherited from the environment are exported again (from Poky)
- When running a stage task in bbshell, run populate_staging, not the stage task (from Poky)
- Fix + character escaping from PACKAGES_DYNAMIC (thanks Otavio Salvador)
- Addition of BBCLASSEXTEND support for allowing one recipe to provide multiple targets (from Poky)
Changes in Bitbake 1.8.0:
- Release 1.7.x as a stable series
Changes in BitBake 1.7.x:
- Major updates of the dependency handling and execution
of tasks. Code from bin/bitbake replaced with runqueue.py
and taskdata.py
- New task execution code supports multithreading with a simplistic
threading algorithm controlled by BB_NUMBER_THREADS
- Change of the SVN Fetcher to keep the checkout around
courtsey of Paul Sokolovsky (#1367)
- PATH fix to bbimage (#1108)
- Allow debug domains to be specified on the commandline (-l)
- Allow 'interactive' tasks
- Logging message improvements
- Drop now uneeded BUILD_ALL_DEPS variable
- Add support for wildcards to -b option
- Major overhaul of the fetchers making a large amount of code common
including mirroring code
- Fetchers now touch md5 stamps upon access (to show activity)
- Fix -f force option when used without -b (long standing bug)
- Add expand_cache to data_cache.py, caching expanded data (speedup)
- Allow version field in DEPENDS (ignored for now)
- Add abort flag support to the shell
- Make inherit fail if the class doesn't exist (#1478)
- Fix data.emit_env() to expand keynames as well as values
- Add ssh fetcher
- Add perforce fetcher
- Make PREFERRED_PROVIDER_foobar defaults to foobar if available
- Share the parser's mtime_cache, reducing the number of stat syscalls
- Compile all anonfuncs at once!
*** Anonfuncs must now use common spacing format ***
- Memorise the list of handlers in __BBHANDLERS and tasks in __BBTASKS
This removes 2 million function calls resulting in a 5-10% speedup
- Add manpage
- Update generateDotGraph to use taskData/runQueue improving accuracy
and also adding a task dependency graph
- Fix/standardise on GPLv2 licence
- Move most functionality from bin/bitbake to cooker.py and split into
separate funcitons
- CVS fetcher: Added support for non-default port
- Add BBINCLUDELOGS_LINES, the number of lines to read from any logfile
- Drop shebangs from lib/bb scripts
Changes in Bitbake 1.6.0:
- Better msg handling
- COW dict implementation from Tim Ansell (mithro) leading
to better performance
- Speed up of -s
Changes in Bitbake 1.4.4:
- SRCDATE now handling courtsey Justin Patrin
- #1017 fix to work with rm_work
Changes in BitBake 1.4.2:
- Send logs to oe.pastebin.com instead of pastebin.com
fixes #856
- Copy the internal bitbake data before building the
dependency graph. This fixes nano not having a
virtual/libc dependency
- Allow multiple TARBALL_STASH entries
- Cache, check if the directory exists before changing
into it
- git speedup cloning by not doing a checkout
- allow to have spaces in filenames (.conf, .bb, .bbclass)
Changes in BitBake 1.4.0:
- Fix to check both RDEPENDS and RDEPENDS_${PN}
- Fix a RDEPENDS parsing bug in utils:explode_deps()
- Update git fetcher behaviour to match git changes
- ASSUME_PROVIDED allowed to include runtime packages
- git fetcher cleanup and efficency improvements
- Change the format of the cache
- Update usermanual to document the Fetchers
- Major changes to caching with a new strategy
giving a major performance increase when reparsing
with few data changes
Changes in BitBake 1.3.3:
- Create a new Fetcher module to ease the
development of new Fetchers.
Issue #438 fixed by rpurdie@openedhand.com
- Make the Subversion fetcher honor the SRC Date
(CVSDATE).
Issue #555 fixed by chris@openedhand.com
- Expand PREFERRED_PROVIDER properly
Issue #436 fixed by rprudie@openedhand.com
- Typo fix for Issue #531 by Philipp Zabel for the
BitBake Shell
- Introduce a new special variable SRCDATE as
a generic naming to replace CVSDATE.
- Introduce a new keyword 'required'. In contrast
to 'include' parsing will fail if a to be included
file can not be found.
- Remove hardcoding of the STAMP directory. Patch
courtsey pHilipp Zabel
- Track the RDEPENDS of each package (rpurdie@openedhand.com)
- Introduce BUILD_ALL_DEPS to build all RDEPENDS. E.g
this is used by the OpenEmbedded Meta Packages.
(rpurdie@openedhand.com).
Changes in BitBake 1.3.2:
- reintegration of make.py into BitBake
- bbread is gone, use bitbake -e
- lots of shell updates and bugfixes
- Introduction of the .= and =. operator
- Sort variables, keys and groups in bitdoc
- Fix regression in the handling of BBCOLLECTIONS
- Update the bitbake usermanual
Changes in BitBake 1.3.0:
- add bitbake interactive shell (bitbake -i)
- refactor bitbake utility in OO style
- kill default arguments in methods in the bb.data module
- kill default arguments in methods in the bb.fetch module
- the http/https/ftp fetcher will fail if the to be
downloaded file was not found in DL_DIR (this is needed
to avoid unpacking the sourceforge mirror page)
- Switch to a cow like data instance for persistent and non
persisting mode (called data_smart.py)
- Changed the callback of bb.make.collect_bbfiles to carry
additional parameters
- Drastically reduced the amount of needed RAM by not holding
each data instance in memory when using a cache/persistent
storage
Changes in BitBake 1.2.1:
The 1.2.1 release is meant as a intermediate release to lay the
ground for more radical changes. The most notable changes are:
- Do not hardcode {}, use bb.data.init() instead if you want to
get a instance of a data class
- bb.data.init() is a factory and the old bb.data methods are delegates
- Do not use deepcopy use bb.data.createCopy() instead.
- Removed default arguments in bb.fetch

29
bitbake/LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BitBake is licensed under the GNU General Public License version 2.0. See
LICENSE.GPL-2.0-only for further details.
Individual files contain the following style tags instead of the full license text:
SPDX-License-Identifier: GPL-2.0-only
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/
The following external components are distributed with this software:
* The Toaster Simple UI application is based upon the Django project template, the files of which are covered by the BSD license and are copyright (c) Django Software
Foundation and individual contributors.
* Twitter Bootstrap (including Glyphicons), redistributed under the MIT license
* jQuery is redistributed under the MIT license.
* Twitter typeahead.js redistributed under the MIT license. Note that the JS source has one small modification, so the full unminified file is currently included to make it obvious where this is.
* jsrender is redistributed under the MIT license.
* QUnit is redistributed under the MIT license.
* Font Awesome fonts redistributed under the SIL Open Font License 1.1
* simplediff is distributed under the zlib license.

View File

@@ -0,0 +1,288 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Note:
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: GPL-2.0-only
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

25
bitbake/LICENSE.MIT Normal file
View File

@@ -0,0 +1,25 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note:
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/

63
bitbake/README Normal file
View File

@@ -0,0 +1,63 @@
Bitbake
=======
BitBake is a generic task execution engine that allows shell and Python tasks to be run
efficiently and in parallel while working within complex inter-task dependency constraints.
One of BitBake's main users, OpenEmbedded, takes this core and builds embedded Linux software
stacks using a task-oriented approach.
For information about Bitbake, see the OpenEmbedded website:
https://www.openembedded.org/
Bitbake plain documentation can be found under the doc directory or its integrated
html version at the Yocto Project website:
https://docs.yoctoproject.org
Bitbake requires Python version 3.8 or newer.
Contributing
------------
Please refer to our contributor guide here: https://docs.yoctoproject.org/contributor-guide/
for full details on how to submit changes.
As a quick guide, patches should be sent to bitbake-devel@lists.openembedded.org
The git command to do that would be:
git send-email -M -1 --to bitbake-devel@lists.openembedded.org
If you're sending a patch related to the BitBake manual, make sure you copy
the Yocto Project documentation mailing list:
git send-email -M -1 --to bitbake-devel@lists.openembedded.org --cc docs@lists.yoctoproject.org
Mailing list:
https://lists.openembedded.org/g/bitbake-devel
Source code:
https://git.openembedded.org/bitbake/
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.
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
The testsuite can alternatively be executed using pytest, e.g. obtained from PyPI (in this
case, the PATH is configured automatically):
pytest

24
bitbake/SECURITY.md Normal file
View File

@@ -0,0 +1,24 @@
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the
[https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security Security Bugzilla].
If you have a patch ready, submit it following the same procedure as any other
patch as described in README.md.
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
for detailed info regarding the policies and maintenance of Stable branches.
The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
releases of the Yocto Project. Versions in grey are no longer actively maintained with
security patches, but well-tested patches may still be accepted for them for
significant issues.

45
bitbake/bin/bitbake Executable file
View File

@@ -0,0 +1,45 @@
#!/usr/bin/env python3
#
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
# Copyright (C) 2003 - 2005 Michael 'Mickey' Lauer
# Copyright (C) 2005 Holger Hans Peter Freyther
# Copyright (C) 2005 ROAD GmbH
# Copyright (C) 2006 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),
'lib'))
try:
import bb
except RuntimeError as exc:
sys.exit(str(exc))
from bb import cookerdata
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
bb.utils.check_system_locale()
__version__ = "2.8.0"
if __name__ == "__main__":
if __version__ != bb.__version__:
sys.exit("Bitbake core version and program version mismatch!")
try:
sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv),
cookerdata.CookerConfiguration()))
except BBMainException as err:
sys.exit(err)
except bb.BBHandledException:
sys.exit(1)
except Exception:
import traceback
traceback.print_exc()
sys.exit(1)

207
bitbake/bin/bitbake-diffsigs Executable file
View File

@@ -0,0 +1,207 @@
#!/usr/bin/env python3
# bitbake-diffsigs / bitbake-dumpsig
# BitBake task signature data dump and comparison utility
#
# Copyright (C) 2012-2013, 2017 Intel Corporation
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys
import warnings
warnings.simplefilter("default")
import argparse
import logging
import pickle
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
import bb.tinfoil
import bb.siggen
import bb.msg
myname = os.path.basename(sys.argv[0])
logger = bb.msg.logger_create(myname)
is_dump = myname == 'bitbake-dumpsig'
def find_siginfo(tinfoil, pn, taskname, sigs=None):
result = None
tinfoil.set_event_mask(['bb.event.FindSigInfoResult',
'logging.LogRecord',
'bb.command.CommandCompleted',
'bb.command.CommandFailed'])
ret = tinfoil.run_command('findSigInfo', pn, taskname, sigs)
if ret:
while True:
event = tinfoil.wait_event(1)
if event:
if isinstance(event, bb.command.CommandCompleted):
break
elif isinstance(event, bb.command.CommandFailed):
logger.error(str(event))
sys.exit(2)
elif isinstance(event, bb.event.FindSigInfoResult):
result = event.result
elif isinstance(event, logging.LogRecord):
logger.handle(event)
else:
logger.error('No result returned from findSigInfo command')
sys.exit(2)
return result
def find_siginfo_task(bbhandler, pn, taskname, sig1=None, sig2=None):
""" Find the most recent signature files for the specified PN/task """
if not taskname.startswith('do_'):
taskname = 'do_%s' % taskname
if sig1 and sig2:
sigfiles = find_siginfo(bbhandler, pn, taskname, [sig1, sig2])
if not sigfiles:
logger.error('No sigdata files found matching %s %s matching either %s or %s' % (pn, taskname, sig1, sig2))
sys.exit(1)
elif sig1 not in sigfiles:
logger.error('No sigdata files found matching %s %s with signature %s' % (pn, taskname, sig1))
sys.exit(1)
elif sig2 not in sigfiles:
logger.error('No sigdata files found matching %s %s with signature %s' % (pn, taskname, sig2))
sys.exit(1)
else:
sigfiles = find_siginfo(bbhandler, pn, taskname)
latestsigs = sorted(sigfiles.keys(), key=lambda h: sigfiles[h]['time'])[-2:]
if not latestsigs:
logger.error('No sigdata files found matching %s %s' % (pn, taskname))
sys.exit(1)
sig1 = latestsigs[0]
sig2 = latestsigs[1]
latestfiles = [sigfiles[sig1]['path'], sigfiles[sig2]['path']]
return latestfiles
# Define recursion callback
def recursecb(key, hash1, hash2):
hashes = [hash1, hash2]
hashfiles = find_siginfo(tinfoil, key, None, hashes)
recout = []
if not hashfiles:
recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2))
elif hash1 not in hashfiles:
recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash1))
elif hash2 not in hashfiles:
recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash2))
else:
out2 = bb.siggen.compare_sigfiles(hashfiles[hash1]['path'], hashfiles[hash2]['path'], recursecb, color=color)
for change in out2:
for line in change.splitlines():
recout.append(' ' + line)
return recout
parser = argparse.ArgumentParser(
description=("Dumps" if is_dump else "Compares") + " siginfo/sigdata files written out by BitBake")
parser.add_argument('-D', '--debug',
help='Enable debug output',
action='store_true')
if is_dump:
parser.add_argument("-t", "--task",
help="find the signature data file for the last run of the specified task",
action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname'))
parser.add_argument("sigdatafile1",
help="Signature file to dump. Not used when using -t/--task.",
action="store", nargs='?', metavar="sigdatafile")
else:
parser.add_argument('-c', '--color',
help='Colorize the output (where %(metavar)s is %(choices)s)',
choices=['auto', 'always', 'never'], default='auto', metavar='color')
parser.add_argument('-d', '--dump',
help='Dump the last signature data instead of comparing (equivalent to using bitbake-dumpsig)',
action='store_true')
parser.add_argument("-t", "--task",
help="find the signature data files for the last two runs of the specified task and compare them",
action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname'))
parser.add_argument("-s", "--signature",
help="With -t/--task, specify the signatures to look for instead of taking the last two",
action="store", dest="sigargs", nargs=2, metavar=('fromsig', 'tosig'))
parser.add_argument("sigdatafile1",
help="First signature file to compare (or signature file to dump, if second not specified). Not used when using -t/--task.",
action="store", nargs='?')
parser.add_argument("sigdatafile2",
help="Second signature file to compare",
action="store", nargs='?')
options = parser.parse_args()
if is_dump:
options.color = 'never'
options.dump = True
options.sigdatafile2 = None
options.sigargs = None
if options.debug:
logger.setLevel(logging.DEBUG)
color = (options.color == 'always' or (options.color == 'auto' and sys.stdout.isatty()))
if options.taskargs:
with bb.tinfoil.Tinfoil() as tinfoil:
tinfoil.prepare(config_only=True)
if not options.dump and options.sigargs:
files = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1], options.sigargs[0],
options.sigargs[1])
else:
files = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1])
if options.dump:
logger.debug("Signature file: %s" % files[-1])
output = bb.siggen.dump_sigfile(files[-1])
else:
if len(files) < 2:
logger.error('Only one matching sigdata file found for the specified task (%s %s)' % (
options.taskargs[0], options.taskargs[1]))
sys.exit(1)
# Recurse into signature comparison
logger.debug("Signature file (previous): %s" % files[-2])
logger.debug("Signature file (latest): %s" % files[-1])
output = bb.siggen.compare_sigfiles(files[-2], files[-1], recursecb, color=color)
else:
if options.sigargs:
logger.error('-s/--signature can only be used together with -t/--task')
sys.exit(1)
try:
if not options.dump and options.sigdatafile1 and options.sigdatafile2:
with bb.tinfoil.Tinfoil() as tinfoil:
tinfoil.prepare(config_only=True)
output = bb.siggen.compare_sigfiles(options.sigdatafile1, options.sigdatafile2, recursecb, color=color)
elif options.sigdatafile1:
output = bb.siggen.dump_sigfile(options.sigdatafile1)
else:
logger.error('Must specify signature file(s) or -t/--task')
parser.print_help()
sys.exit(1)
except IOError as e:
logger.error(str(e))
sys.exit(1)
except (pickle.UnpicklingError, EOFError):
logger.error('Invalid signature data - ensure you are specifying sigdata/siginfo files')
sys.exit(1)
if output:
print('\n'.join(output))

1
bitbake/bin/bitbake-dumpsig Symbolic link
View File

@@ -0,0 +1 @@
bitbake-diffsigs

60
bitbake/bin/bitbake-getvar Executable file
View File

@@ -0,0 +1,60 @@
#! /usr/bin/env python3
#
# Copyright (C) 2021 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
import argparse
import io
import os
import sys
import warnings
warnings.simplefilter("default")
bindir = os.path.dirname(__file__)
topdir = os.path.dirname(bindir)
sys.path[0:0] = [os.path.join(topdir, 'lib')]
import bb.tinfoil
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Bitbake Query Variable")
parser.add_argument("variable", help="variable name to query")
parser.add_argument("-r", "--recipe", help="Recipe name to query", default=None, required=False)
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")
parser.add_argument('--ignore-undefined', help='Suppress any errors related to undefined variables', action="store_true")
args = parser.parse_args()
if not args.value:
if args.unexpand:
sys.exit("--unexpand only makes sense with --value")
if args.flag:
sys.exit("--flag only makes sense with --value")
quiet = args.quiet or args.value
with bb.tinfoil.Tinfoil(tracking=True, setup_logging=not quiet) as tinfoil:
if args.recipe:
tinfoil.prepare(quiet=3 if quiet else 2)
d = tinfoil.parse_recipe(args.recipe)
else:
tinfoil.prepare(quiet=2, config_only=True)
d = tinfoil.config_data
value = None
if args.flag:
value = d.getVarFlag(args.variable, args.flag, expand=not args.unexpand)
if value is None and not args.ignore_undefined:
sys.exit(f"The flag '{args.flag}' is not defined for variable '{args.variable}'")
else:
value = d.getVar(args.variable, expand=not args.unexpand)
if value is None and not args.ignore_undefined:
sys.exit(f"The variable '{args.variable}' is not defined")
if args.value:
print(str(value if value is not None else ""))
else:
bb.data.emit_var(args.variable, d=d, all=True)

373
bitbake/bin/bitbake-hashclient Executable file
View File

@@ -0,0 +1,373 @@
#! /usr/bin/env python3
#
# Copyright (C) 2019 Garmin Ltd.
#
# SPDX-License-Identifier: GPL-2.0-only
#
import argparse
import hashlib
import logging
import os
import pprint
import sys
import threading
import time
import warnings
import netrc
import json
warnings.simplefilter("default")
try:
import tqdm
ProgressBar = tqdm.tqdm
except ImportError:
class ProgressBar(object):
def __init__(self, *args, **kwargs):
pass
def __enter__(self):
return self
def __exit__(self, *args, **kwargs):
pass
def update(self):
pass
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'lib'))
import hashserv
import bb.asyncrpc
DEFAULT_ADDRESS = 'unix://./hashserve.sock'
METHOD = 'stress.test.method'
def print_user(u):
print(f"Username: {u['username']}")
if "permissions" in u:
print("Permissions: " + " ".join(u["permissions"]))
if "token" in u:
print(f"Token: {u['token']}")
def main():
def handle_get(args, client):
result = client.get_taskhash(args.method, args.taskhash, all_properties=True)
if not result:
return 0
print(json.dumps(result, sort_keys=True, indent=4))
return 0
def handle_get_outhash(args, client):
result = client.get_outhash(args.method, args.outhash, args.taskhash)
if not result:
return 0
print(json.dumps(result, sort_keys=True, indent=4))
return 0
def handle_stats(args, client):
if args.reset:
s = client.reset_stats()
else:
s = client.get_stats()
print(json.dumps(s, sort_keys=True, indent=4))
return 0
def handle_stress(args, client):
def thread_main(pbar, lock):
nonlocal found_hashes
nonlocal missed_hashes
nonlocal max_time
with hashserv.create_client(args.address) as client:
for i in range(args.requests):
taskhash = hashlib.sha256()
taskhash.update(args.taskhash_seed.encode('utf-8'))
taskhash.update(str(i).encode('utf-8'))
start_time = time.perf_counter()
l = client.get_unihash(METHOD, taskhash.hexdigest())
elapsed = time.perf_counter() - start_time
with lock:
if l:
found_hashes += 1
else:
missed_hashes += 1
max_time = max(elapsed, max_time)
pbar.update()
max_time = 0
found_hashes = 0
missed_hashes = 0
lock = threading.Lock()
total_requests = args.clients * args.requests
start_time = time.perf_counter()
with ProgressBar(total=total_requests) as pbar:
threads = [threading.Thread(target=thread_main, args=(pbar, lock), daemon=False) for _ in range(args.clients)]
for t in threads:
t.start()
for t in threads:
t.join()
elapsed = time.perf_counter() - start_time
with lock:
print("%d requests in %.1fs. %.1f requests per second" % (total_requests, elapsed, total_requests / elapsed))
print("Average request time %.8fs" % (elapsed / total_requests))
print("Max request time was %.8fs" % max_time)
print("Found %d hashes, missed %d" % (found_hashes, missed_hashes))
if args.report:
with ProgressBar(total=args.requests) as pbar:
for i in range(args.requests):
taskhash = hashlib.sha256()
taskhash.update(args.taskhash_seed.encode('utf-8'))
taskhash.update(str(i).encode('utf-8'))
outhash = hashlib.sha256()
outhash.update(args.outhash_seed.encode('utf-8'))
outhash.update(str(i).encode('utf-8'))
client.report_unihash(taskhash.hexdigest(), METHOD, outhash.hexdigest(), taskhash.hexdigest())
with lock:
pbar.update()
def handle_remove(args, client):
where = {k: v for k, v in args.where}
if where:
result = client.remove(where)
print("Removed %d row(s)" % (result["count"]))
else:
print("No query specified")
def handle_clean_unused(args, client):
result = client.clean_unused(args.max_age)
print("Removed %d rows" % (result["count"]))
return 0
def handle_refresh_token(args, client):
r = client.refresh_token(args.username)
print_user(r)
def handle_set_user_permissions(args, client):
r = client.set_user_perms(args.username, args.permissions)
print_user(r)
def handle_get_user(args, client):
r = client.get_user(args.username)
print_user(r)
def handle_get_all_users(args, client):
users = client.get_all_users()
print("{username:20}| {permissions}".format(username="Username", permissions="Permissions"))
print(("-" * 20) + "+" + ("-" * 20))
for u in users:
print("{username:20}| {permissions}".format(username=u["username"], permissions=" ".join(u["permissions"])))
def handle_new_user(args, client):
r = client.new_user(args.username, args.permissions)
print_user(r)
def handle_delete_user(args, client):
r = client.delete_user(args.username)
print_user(r)
def handle_get_db_usage(args, client):
usage = client.get_db_usage()
print(usage)
tables = sorted(usage.keys())
print("{name:20}| {rows:20}".format(name="Table name", rows="Rows"))
print(("-" * 20) + "+" + ("-" * 20))
for t in tables:
print("{name:20}| {rows:<20}".format(name=t, rows=usage[t]["rows"]))
print()
total_rows = sum(t["rows"] for t in usage.values())
print(f"Total rows: {total_rows}")
def handle_get_db_query_columns(args, client):
columns = client.get_db_query_columns()
print("\n".join(sorted(columns)))
def handle_gc_status(args, client):
result = client.gc_status()
if not result["mark"]:
print("No Garbage collection in progress")
return 0
print("Current Mark: %s" % result["mark"])
print("Total hashes to keep: %d" % result["keep"])
print("Total hashes to remove: %s" % result["remove"])
return 0
def handle_gc_mark(args, client):
where = {k: v for k, v in args.where}
result = client.gc_mark(args.mark, where)
print("New hashes marked: %d" % result["count"])
return 0
def handle_gc_sweep(args, client):
result = client.gc_sweep(args.mark)
print("Removed %d rows" % result["count"])
return 0
def handle_unihash_exists(args, client):
result = client.unihash_exists(args.unihash)
if args.quiet:
return 0 if result else 1
print("true" if result else "false")
return 0
parser = argparse.ArgumentParser(description='Hash Equivalence Client')
parser.add_argument('--address', default=DEFAULT_ADDRESS, help='Server address (default "%(default)s")')
parser.add_argument('--log', default='WARNING', help='Set logging level')
parser.add_argument('--login', '-l', metavar="USERNAME", help="Authenticate as USERNAME")
parser.add_argument('--password', '-p', metavar="TOKEN", help="Authenticate using token TOKEN")
parser.add_argument('--become', '-b', metavar="USERNAME", help="Impersonate user USERNAME (if allowed) when performing actions")
parser.add_argument('--no-netrc', '-n', action="store_false", dest="netrc", help="Do not use .netrc")
subparsers = parser.add_subparsers()
get_parser = subparsers.add_parser('get', help="Get the unihash for a taskhash")
get_parser.add_argument("method", help="Method to query")
get_parser.add_argument("taskhash", help="Task hash to query")
get_parser.set_defaults(func=handle_get)
get_outhash_parser = subparsers.add_parser('get-outhash', help="Get output hash information")
get_outhash_parser.add_argument("method", help="Method to query")
get_outhash_parser.add_argument("outhash", help="Output hash to query")
get_outhash_parser.add_argument("taskhash", help="Task hash to query")
get_outhash_parser.set_defaults(func=handle_get_outhash)
stats_parser = subparsers.add_parser('stats', help='Show server stats')
stats_parser.add_argument('--reset', action='store_true',
help='Reset server stats')
stats_parser.set_defaults(func=handle_stats)
stress_parser = subparsers.add_parser('stress', help='Run stress test')
stress_parser.add_argument('--clients', type=int, default=10,
help='Number of simultaneous clients')
stress_parser.add_argument('--requests', type=int, default=1000,
help='Number of requests each client will perform')
stress_parser.add_argument('--report', action='store_true',
help='Report new hashes')
stress_parser.add_argument('--taskhash-seed', default='',
help='Include string in taskhash')
stress_parser.add_argument('--outhash-seed', default='',
help='Include string in outhash')
stress_parser.set_defaults(func=handle_stress)
remove_parser = subparsers.add_parser('remove', help="Remove hash entries")
remove_parser.add_argument("--where", "-w", metavar="KEY VALUE", nargs=2, action="append", default=[],
help="Remove entries from table where KEY == VALUE")
remove_parser.set_defaults(func=handle_remove)
clean_unused_parser = subparsers.add_parser('clean-unused', help="Remove unused database entries")
clean_unused_parser.add_argument("max_age", metavar="SECONDS", type=int, help="Remove unused entries older than SECONDS old")
clean_unused_parser.set_defaults(func=handle_clean_unused)
refresh_token_parser = subparsers.add_parser('refresh-token', help="Refresh auth token")
refresh_token_parser.add_argument("--username", "-u", help="Refresh the token for another user (if authorized)")
refresh_token_parser.set_defaults(func=handle_refresh_token)
set_user_perms_parser = subparsers.add_parser('set-user-perms', help="Set new permissions for user")
set_user_perms_parser.add_argument("--username", "-u", help="Username", required=True)
set_user_perms_parser.add_argument("permissions", metavar="PERM", nargs="*", default=[], help="New permissions")
set_user_perms_parser.set_defaults(func=handle_set_user_permissions)
get_user_parser = subparsers.add_parser('get-user', help="Get user")
get_user_parser.add_argument("--username", "-u", help="Username")
get_user_parser.set_defaults(func=handle_get_user)
get_all_users_parser = subparsers.add_parser('get-all-users', help="List all users")
get_all_users_parser.set_defaults(func=handle_get_all_users)
new_user_parser = subparsers.add_parser('new-user', help="Create new user")
new_user_parser.add_argument("--username", "-u", help="Username", required=True)
new_user_parser.add_argument("permissions", metavar="PERM", nargs="*", default=[], help="New permissions")
new_user_parser.set_defaults(func=handle_new_user)
delete_user_parser = subparsers.add_parser('delete-user', help="Delete user")
delete_user_parser.add_argument("--username", "-u", help="Username", required=True)
delete_user_parser.set_defaults(func=handle_delete_user)
db_usage_parser = subparsers.add_parser('get-db-usage', help="Database Usage")
db_usage_parser.set_defaults(func=handle_get_db_usage)
db_query_columns_parser = subparsers.add_parser('get-db-query-columns', help="Show columns that can be used in database queries")
db_query_columns_parser.set_defaults(func=handle_get_db_query_columns)
gc_status_parser = subparsers.add_parser("gc-status", help="Show garbage collection status")
gc_status_parser.set_defaults(func=handle_gc_status)
gc_mark_parser = subparsers.add_parser('gc-mark', help="Mark hashes to be kept for garbage collection")
gc_mark_parser.add_argument("mark", help="Mark for this garbage collection operation")
gc_mark_parser.add_argument("--where", "-w", metavar="KEY VALUE", nargs=2, action="append", default=[],
help="Keep entries in table where KEY == VALUE")
gc_mark_parser.set_defaults(func=handle_gc_mark)
gc_sweep_parser = subparsers.add_parser('gc-sweep', help="Perform garbage collection and delete any entries that are not marked")
gc_sweep_parser.add_argument("mark", help="Mark for this garbage collection operation")
gc_sweep_parser.set_defaults(func=handle_gc_sweep)
unihash_exists_parser = subparsers.add_parser('unihash-exists', help="Check if a unihash is known to the server")
unihash_exists_parser.add_argument("--quiet", action="store_true", help="Don't print status. Instead, exit with 0 if unihash exists and 1 if it does not")
unihash_exists_parser.add_argument("unihash", help="Unihash to check")
unihash_exists_parser.set_defaults(func=handle_unihash_exists)
args = parser.parse_args()
logger = logging.getLogger('hashserv')
level = getattr(logging, args.log.upper(), None)
if not isinstance(level, int):
raise ValueError('Invalid log level: %s' % args.log)
logger.setLevel(level)
console = logging.StreamHandler()
console.setLevel(level)
logger.addHandler(console)
login = args.login
password = args.password
if login is None and args.netrc:
try:
n = netrc.netrc()
auth = n.authenticators(args.address)
if auth is not None:
login, _, password = auth
except FileNotFoundError:
pass
except netrc.NetrcParseError as e:
sys.stderr.write(f"Error parsing {e.filename}:{e.lineno}: {e.msg}\n")
func = getattr(args, 'func', None)
if func:
try:
with hashserv.create_client(args.address, login, password) as client:
if args.become:
client.become_user(args.become)
return func(args, client)
except bb.asyncrpc.InvokeError as e:
print(f"ERROR: {e}")
return 1
return 0
if __name__ == '__main__':
try:
ret = main()
except Exception:
ret = 1
import traceback
traceback.print_exc()
sys.exit(ret)

171
bitbake/bin/bitbake-hashserv Executable file
View File

@@ -0,0 +1,171 @@
#! /usr/bin/env python3
#
# Copyright (C) 2018 Garmin Ltd.
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys
import logging
import argparse
import sqlite3
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), "lib"))
import hashserv
from hashserv.server import DEFAULT_ANON_PERMS
VERSION = "1.0.0"
DEFAULT_BIND = "unix://./hashserve.sock"
def main():
parser = argparse.ArgumentParser(
description="Hash Equivalence Reference Server. Version=%s" % VERSION,
formatter_class=argparse.RawTextHelpFormatter,
epilog="""
The bind address may take one of the following formats:
unix://PATH - Bind to unix domain socket at PATH
ws://ADDRESS:PORT - Bind to websocket on ADDRESS:PORT
ADDRESS:PORT - Bind to raw TCP socket on ADDRESS:PORT
To bind to all addresses, leave the ADDRESS empty, e.g. "--bind :8686" or
"--bind ws://:8686". To bind to a specific IPv6 address, enclose the address in
"[]", e.g. "--bind [::1]:8686" or "--bind ws://[::1]:8686"
Note that the default Anonymous permissions are designed to not break existing
server instances when upgrading, but are not particularly secure defaults. If
you want to use authentication, it is recommended that you use "--anon-perms
@read" to only give anonymous users read access, or "--anon-perms @none" to
give un-authenticated users no access at all.
Setting "--anon-perms @all" or "--anon-perms @user-admin" is not allowed, since
this would allow anonymous users to manage all users accounts, which is a bad
idea.
If you are using user authentication, you should run your server in websockets
mode with an SSL terminating load balancer in front of it (as this server does
not implement SSL). Otherwise all usernames and passwords will be transmitted
in the clear. When configured this way, clients can connect using a secure
websocket, as in "wss://SERVER:PORT"
The following permissions are supported by the server:
@none - No permissions
@read - The ability to read equivalent hashes from the server
@report - The ability to report equivalent hashes to the server
@db-admin - Manage the hash database(s). This includes cleaning the
database, removing hashes, etc.
@user-admin - The ability to manage user accounts. This includes, creating
users, deleting users, resetting login tokens, and assigning
permissions.
@all - All possible permissions, including any that may be added
in the future
""",
)
parser.add_argument(
"-b",
"--bind",
default=os.environ.get("HASHSERVER_BIND", DEFAULT_BIND),
help='Bind address (default $HASHSERVER_BIND, "%(default)s")',
)
parser.add_argument(
"-d",
"--database",
default=os.environ.get("HASHSERVER_DB", "./hashserv.db"),
help='Database file (default $HASHSERVER_DB, "%(default)s")',
)
parser.add_argument(
"-l",
"--log",
default=os.environ.get("HASHSERVER_LOG_LEVEL", "WARNING"),
help='Set logging level (default $HASHSERVER_LOG_LEVEL, "%(default)s")',
)
parser.add_argument(
"-u",
"--upstream",
default=os.environ.get("HASHSERVER_UPSTREAM", None),
help="Upstream hashserv to pull hashes from ($HASHSERVER_UPSTREAM)",
)
parser.add_argument(
"-r",
"--read-only",
action="store_true",
help="Disallow write operations from clients ($HASHSERVER_READ_ONLY)",
)
parser.add_argument(
"--db-username",
default=os.environ.get("HASHSERVER_DB_USERNAME", None),
help="Database username ($HASHSERVER_DB_USERNAME)",
)
parser.add_argument(
"--db-password",
default=os.environ.get("HASHSERVER_DB_PASSWORD", None),
help="Database password ($HASHSERVER_DB_PASSWORD)",
)
parser.add_argument(
"--anon-perms",
metavar="PERM[,PERM[,...]]",
default=os.environ.get("HASHSERVER_ANON_PERMS", ",".join(DEFAULT_ANON_PERMS)),
help='Permissions to give anonymous users (default $HASHSERVER_ANON_PERMS, "%(default)s")',
)
parser.add_argument(
"--admin-user",
default=os.environ.get("HASHSERVER_ADMIN_USER", None),
help="Create default admin user with name ADMIN_USER ($HASHSERVER_ADMIN_USER)",
)
parser.add_argument(
"--admin-password",
default=os.environ.get("HASHSERVER_ADMIN_PASSWORD", None),
help="Create default admin user with password ADMIN_PASSWORD ($HASHSERVER_ADMIN_PASSWORD)",
)
args = parser.parse_args()
logger = logging.getLogger("hashserv")
level = getattr(logging, args.log.upper(), None)
if not isinstance(level, int):
raise ValueError("Invalid log level: %s (Try ERROR/WARNING/INFO/DEBUG)" % args.log)
logger.setLevel(level)
console = logging.StreamHandler()
console.setLevel(level)
logger.addHandler(console)
read_only = (os.environ.get("HASHSERVER_READ_ONLY", "0") == "1") or args.read_only
if "," in args.anon_perms:
anon_perms = args.anon_perms.split(",")
else:
anon_perms = args.anon_perms.split()
server = hashserv.create_server(
args.bind,
args.database,
upstream=args.upstream,
read_only=read_only,
db_username=args.db_username,
db_password=args.db_password,
anon_perms=anon_perms,
admin_username=args.admin_user,
admin_password=args.admin_password,
)
server.serve_forever()
return 0
if __name__ == "__main__":
try:
ret = main()
except Exception:
ret = 1
import traceback
traceback.print_exc()
sys.exit(ret)

102
bitbake/bin/bitbake-layers Executable file
View File

@@ -0,0 +1,102 @@
#!/usr/bin/env python3
# This script has subcommands which operate against your bitbake layers, either
# displaying useful information, or acting against them.
# See the help output for details on available commands.
# Copyright (C) 2011 Mentor Graphics Corporation
# Copyright (C) 2011-2015 Intel Corporation
#
# SPDX-License-Identifier: GPL-2.0-only
#
import logging
import os
import sys
import argparse
import warnings
warnings.simplefilter("default")
bindir = os.path.dirname(__file__)
topdir = os.path.dirname(bindir)
sys.path[0:0] = [os.path.join(topdir, 'lib')]
import bb.tinfoil
import bb.msg
logger = bb.msg.logger_create('bitbake-layers', sys.stdout)
def main():
parser = argparse.ArgumentParser(
description="BitBake layers utility",
epilog="Use %(prog)s <subcommand> --help to get help on a specific command",
add_help=False)
parser.add_argument('-d', '--debug', help='Enable debug output', action='store_true')
parser.add_argument('-q', '--quiet', help='Print only errors', action='store_true')
parser.add_argument('-F', '--force', help='Force add without recipe parse verification', action='store_true')
parser.add_argument('--color', choices=['auto', 'always', 'never'], default='auto', help='Colorize output (where %(metavar)s is %(choices)s)', metavar='COLOR')
global_args, unparsed_args = parser.parse_known_args()
# Help is added here rather than via add_help=True, as we don't want it to
# be handled by parse_known_args()
parser.add_argument('-h', '--help', action='help', default=argparse.SUPPRESS,
help='show this help message and exit')
subparsers = parser.add_subparsers(title='subcommands', metavar='<subcommand>')
subparsers.required = True
if global_args.debug:
logger.setLevel(logging.DEBUG)
elif global_args.quiet:
logger.setLevel(logging.ERROR)
# Need to re-run logger_create with color argument
# (will be the same logger since it has the same name)
bb.msg.logger_create('bitbake-layers', output=sys.stdout,
color=global_args.color,
level=logger.getEffectiveLevel())
plugins = []
tinfoil = bb.tinfoil.Tinfoil(tracking=True)
tinfoil.logger.setLevel(logger.getEffectiveLevel())
try:
tinfoil.prepare(True)
for path in ([topdir] +
tinfoil.config_data.getVar('BBPATH').split(':')):
pluginpath = os.path.join(path, 'lib', 'bblayers')
bb.utils.load_plugins(logger, plugins, pluginpath)
registered = False
for plugin in plugins:
if hasattr(plugin, 'tinfoil_init'):
plugin.tinfoil_init(tinfoil)
if hasattr(plugin, 'register_commands'):
registered = True
plugin.register_commands(subparsers)
if not registered:
logger.error("No commands registered - missing plugins?")
sys.exit(1)
args = parser.parse_args(unparsed_args, namespace=global_args)
if getattr(args, 'parserecipes', False):
tinfoil.config_data.disableTracking()
tinfoil.parse_recipes()
tinfoil.config_data.enableTracking()
return args.func(args)
finally:
tinfoil.shutdown()
if __name__ == "__main__":
try:
ret = main()
except bb.BBHandledException:
ret = 1
except Exception:
ret = 1
import traceback
traceback.print_exc()
sys.exit(ret)

93
bitbake/bin/bitbake-prserv Executable file
View File

@@ -0,0 +1,93 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys,logging
import argparse
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), "lib"))
import prserv
import prserv.serv
VERSION = "1.1.0"
PRHOST_DEFAULT="0.0.0.0"
PRPORT_DEFAULT=8585
def main():
parser = argparse.ArgumentParser(
description="BitBake PR Server. Version=%s" % VERSION,
formatter_class=argparse.RawTextHelpFormatter)
parser.add_argument(
"-f",
"--file",
default="prserv.sqlite3",
help="database filename (default: prserv.sqlite3)",
)
parser.add_argument(
"-l",
"--log",
default="prserv.log",
help="log filename(default: prserv.log)",
)
parser.add_argument(
"--loglevel",
default="INFO",
help="logging level, i.e. CRITICAL, ERROR, WARNING, INFO, DEBUG",
)
parser.add_argument(
"--start",
action="store_true",
help="start daemon",
)
parser.add_argument(
"--stop",
action="store_true",
help="stop daemon",
)
parser.add_argument(
"--host",
help="ip address to bind",
default=PRHOST_DEFAULT,
)
parser.add_argument(
"--port",
type=int,
default=PRPORT_DEFAULT,
help="port number (default: 8585)",
)
parser.add_argument(
"-r",
"--read-only",
action="store_true",
help="open database in read-only mode",
)
args = parser.parse_args()
prserv.init_logger(os.path.abspath(args.log), args.loglevel)
if args.start:
ret=prserv.serv.start_daemon(args.file, args.host, args.port, os.path.abspath(args.log), args.read_only)
elif args.stop:
ret=prserv.serv.stop_daemon(args.host, args.port)
else:
ret=parser.print_help()
return ret
if __name__ == "__main__":
try:
ret = main()
except Exception:
ret = 1
import traceback
traceback.print_exc()
sys.exit(ret)

77
bitbake/bin/bitbake-selftest Executable file
View File

@@ -0,0 +1,77 @@
#!/usr/bin/env python3
#
# Copyright (C) 2012 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys, logging
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), 'lib'))
import unittest
try:
import bb
import hashserv
import layerindexlib
except RuntimeError as exc:
sys.exit(str(exc))
tests = ["bb.tests.codeparser",
"bb.tests.color",
"bb.tests.cooker",
"bb.tests.cow",
"bb.tests.data",
"bb.tests.event",
"bb.tests.fetch",
"bb.tests.parse",
"bb.tests.persist_data",
"bb.tests.runqueue",
"bb.tests.siggen",
"bb.tests.utils",
"bb.tests.compression",
"hashserv.tests",
"layerindexlib.tests.layerindexobj",
"layerindexlib.tests.restapi",
"layerindexlib.tests.cooker"]
for t in tests:
t = '.'.join(t.split('.')[:3])
__import__(t)
# Set-up logging
class StdoutStreamHandler(logging.StreamHandler):
"""Special handler so that unittest is able to capture stdout"""
def __init__(self):
# Override __init__() because we don't want to set self.stream here
logging.Handler.__init__(self)
@property
def stream(self):
# We want to dynamically write wherever sys.stdout is pointing to
return sys.stdout
handler = StdoutStreamHandler()
bb.logger.addHandler(handler)
bb.logger.setLevel(logging.DEBUG)
ENV_HELP = """\
Environment variables:
BB_SKIP_NETTESTS set to 'yes' in order to skip tests using network
connection
BB_TMPDIR_NOCLEAN set to 'yes' to preserve test tmp directories
"""
class main(unittest.main):
def _print_help(self, *args, **kwargs):
super(main, self)._print_help(*args, **kwargs)
print(ENV_HELP)
if __name__ == '__main__':
main(defaultTest=tests, buffer=True)

55
bitbake/bin/bitbake-server Executable file
View File

@@ -0,0 +1,55 @@
#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2020 Richard Purdie
#
import os
import sys
import warnings
warnings.simplefilter("default")
import logging
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
import bb
bb.utils.check_system_locale()
# Users shouldn't be running this code directly
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)
import bb.server.process
lockfd = int(sys.argv[2])
readypipeinfd = int(sys.argv[3])
logfile = sys.argv[4]
lockname = sys.argv[5]
sockname = sys.argv[6]
timeout = float(sys.argv[7])
profile = bool(int(sys.argv[8]))
xmlrpcinterface = (sys.argv[9], int(sys.argv[10]))
if xmlrpcinterface[0] == "None":
xmlrpcinterface = (None, xmlrpcinterface[1])
# Replace standard fds with our own
with open('/dev/null', 'r') as si:
os.dup2(si.fileno(), sys.stdin.fileno())
so = open(logfile, 'a+')
os.dup2(so.fileno(), sys.stdout.fileno())
os.dup2(so.fileno(), sys.stderr.fileno())
# Have stdout and stderr be the same so log output matches chronologically
# and there aren't two seperate buffers
sys.stderr = sys.stdout
logger = logging.getLogger("BitBake")
# Ensure logging messages get sent to the UI as events
handler = bb.event.LogHandler()
logger.addHandler(handler)
bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface, profile)

582
bitbake/bin/bitbake-worker Executable file
View File

@@ -0,0 +1,582 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
from bb import fetch2
import logging
import bb
import select
import errno
import signal
import pickle
import traceback
import queue
import shlex
import subprocess
from multiprocessing import Lock
from threading import Thread
bb.utils.check_system_locale()
# Users shouldn't be running this code directly
if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"):
print("bitbake-worker is meant for internal execution by bitbake itself, please don't use it standalone.")
sys.exit(1)
profiling = False
if sys.argv[1].startswith("decafbadbad"):
profiling = True
try:
import cProfile as profile
except:
import profile
# Unbuffer stdout to avoid log truncation in the event
# of an unorderly exit as well as to provide timely
# updates to log files for use with tail
try:
if sys.stdout.name == '<stdout>':
import fcntl
fl = fcntl.fcntl(sys.stdout.fileno(), fcntl.F_GETFL)
fl |= os.O_SYNC
fcntl.fcntl(sys.stdout.fileno(), fcntl.F_SETFL, fl)
#sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
except:
pass
logger = logging.getLogger("BitBake")
worker_pipe = sys.stdout.fileno()
bb.utils.nonblockingfd(worker_pipe)
# Need to guard against multiprocessing being used in child processes
# and multiple processes trying to write to the parent at the same time
worker_pipe_lock = None
handler = bb.event.LogHandler()
logger.addHandler(handler)
if 0:
# Code to write out a log file of all events passing through the worker
logfilename = "/tmp/workerlogfile"
format_str = "%(levelname)s: %(message)s"
conlogformat = bb.msg.BBLogFormatter(format_str)
consolelog = logging.FileHandler(logfilename)
consolelog.setFormatter(conlogformat)
logger.addHandler(consolelog)
worker_queue = queue.Queue()
def worker_fire(event, d):
data = b"<event>" + pickle.dumps(event) + b"</event>"
worker_fire_prepickled(data)
def worker_fire_prepickled(event):
global worker_queue
worker_queue.put(event)
#
# We can end up with write contention with the cooker, it can be trying to send commands
# and we can be trying to send event data back. Therefore use a separate thread for writing
# back data to cooker.
#
worker_thread_exit = False
def worker_flush(worker_queue):
worker_queue_int = bytearray()
global worker_pipe, worker_thread_exit
while True:
try:
worker_queue_int.extend(worker_queue.get(True, 1))
except queue.Empty:
pass
while (worker_queue_int or not worker_queue.empty()):
try:
(_, ready, _) = select.select([], [worker_pipe], [], 1)
if not worker_queue.empty():
worker_queue_int.extend(worker_queue.get())
written = os.write(worker_pipe, worker_queue_int)
worker_queue_int = worker_queue_int[written:]
except (IOError, OSError) as e:
if e.errno != errno.EAGAIN and e.errno != errno.EPIPE:
raise
if worker_thread_exit and worker_queue.empty() and not worker_queue_int:
return
worker_thread = Thread(target=worker_flush, args=(worker_queue,))
worker_thread.start()
def worker_child_fire(event, d):
global worker_pipe
global worker_pipe_lock
data = b"<event>" + pickle.dumps(event) + b"</event>"
try:
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
bb.event.worker_fire = worker_fire
lf = None
#lf = open("/tmp/workercommandlog", "w+")
def workerlog_write(msg):
if lf:
lf.write(msg)
lf.flush()
def sigterm_handler(signum, frame):
signal.signal(signal.SIGTERM, signal.SIG_DFL)
os.killpg(0, signal.SIGTERM)
sys.exit()
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']
layername = runtask['layername']
taskdepdata = runtask['taskdepdata']
quieterrors = runtask['quieterrors']
# We need to setup the environment BEFORE the fork, since
# a fork() or exec*() activates PSEUDO...
envbackup = {}
fakeroot = False
fakeenv = {}
umask = None
uid = os.getuid()
gid = os.getgid()
taskdep = runtask['taskdep']
if 'umask' in taskdep and taskname in taskdep['umask']:
umask = taskdep['umask'][taskname]
elif workerdata["umask"]:
umask = workerdata["umask"]
if umask:
# umask might come in as a number or text string..
try:
umask = int(umask, 8)
except TypeError:
pass
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 = (runtask['fakerootenv'] or "").split()
for key, value in (var.split('=',1) for var in envvars):
envbackup[key] = os.environ.get(key)
os.environ[key] = value
fakeenv[key] = value
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 = (runtask['fakerootnoenv'] or "").split()
for key, value in (var.split('=',1) for var in envvars):
envbackup[key] = os.environ.get(key)
os.environ[key] = value
fakeenv[key] = value
sys.stdout.flush()
sys.stderr.flush()
try:
pipein, pipeout = os.pipe()
pipein = os.fdopen(pipein, 'rb', 4096)
pipeout = os.fdopen(pipeout, 'wb', 0)
pid = os.fork()
except OSError as e:
logger.critical("fork failed: %d (%s)" % (e.errno, e.strerror))
sys.exit(1)
if pid == 0:
def child():
global worker_pipe
global worker_pipe_lock
pipein.close()
bb.utils.signal_on_parent_exit("SIGTERM")
# Save out the PID so that the event can include it the
# events
bb.event.worker_pid = os.getpid()
bb.event.worker_fire = worker_child_fire
worker_pipe = pipeout
worker_pipe_lock = Lock()
# Make the child the process group leader and ensure no
# child process will be controlled by the current terminal
# This ensures signals sent to the controlling terminal like Ctrl+C
# don't stop the child processes.
os.setsid()
signal.signal(signal.SIGTERM, sigterm_handler)
# Let SIGHUP exit as SIGTERM
signal.signal(signal.SIGHUP, sigterm_handler)
# No stdin & stdout
# stdout is used as a status report channel and must not be used by child processes.
dumbio = os.open(os.devnull, os.O_RDWR)
os.dup2(dumbio, sys.stdin.fileno())
os.dup2(dumbio, sys.stdout.fileno())
if umask is not None:
os.umask(umask)
try:
(realfn, virtual, mc) = bb.cache.virtualfn2realfn(fn)
the_data = databuilder.mcdata[mc]
the_data.setVar("BB_WORKERCONTEXT", "1")
the_data.setVar("BB_TASKDEPDATA", taskdepdata)
the_data.setVar('BB_CURRENTTASK', taskname.replace("do_", ""))
if cfg.limited_deps:
the_data.setVar("BB_LIMITEDDEPS", "1")
the_data.setVar("BUILDNAME", workerdata["buildname"])
the_data.setVar("DATE", workerdata["date"])
the_data.setVar("TIME", workerdata["time"])
for varname, value in extraconfigdata.items():
the_data.setVar(varname, value)
bb.parse.siggen.set_taskdata(workerdata["sigdata"])
if "newhashes" in workerdata:
bb.parse.siggen.set_taskhashes(workerdata["newhashes"])
ret = 0
the_data = databuilder.parseRecipe(fn, appends, layername)
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 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)
else:
logger.debug("Skipping disable network for %s since %s is not a local uid." % (taskname, uid))
# exported_vars() returns a generator which *cannot* be passed to os.environ.update()
# successfully. We also need to unset anything from the environment which shouldn't be there
exports = bb.data.exported_vars(the_data)
bb.utils.empty_environment()
for e, v in exports:
os.environ[e] = v
for e in fakeenv:
os.environ[e] = fakeenv[e]
the_data.setVar(e, fakeenv[e])
the_data.setVarFlag(e, 'export', "1")
task_exports = the_data.getVarFlag(taskname, 'exports')
if task_exports:
for e in task_exports.split():
the_data.setVarFlag(e, 'export', '1')
v = the_data.getVar(e)
if v is not None:
os.environ[e] = v
if quieterrors:
the_data.setVarFlag(taskname, "quieterrors", "1")
except Exception:
if not quieterrors:
logger.critical(traceback.format_exc())
os._exit(1)
sys.stdout.flush()
sys.stderr.flush()
try:
if dry_run:
return 0
try:
ret = bb.build.exec_task(fn, taskname, the_data, cfg.profile)
finally:
if fakeroot:
fakerootcmd = shlex.split(the_data.getVar("FAKEROOTCMD"))
subprocess.run(fakerootcmd + ['-S'], check=True, stdout=subprocess.PIPE)
return ret
except:
os._exit(1)
if not profiling:
os._exit(child())
else:
profname = "profile-%s.log" % (fn.replace("/", "-") + "-" + taskname)
prof = profile.Profile()
try:
ret = profile.Profile.runcall(prof, child)
finally:
prof.dump_stats(profname)
bb.utils.process_profilelog(profname)
os._exit(ret)
else:
for key, value in iter(envbackup.items()):
if value is None:
del os.environ[key]
else:
os.environ[key] = value
return pid, pipein, pipeout
class runQueueWorkerPipe():
"""
Abstraction for a pipe between a worker thread and the worker server
"""
def __init__(self, pipein, pipeout):
self.input = pipein
if pipeout:
pipeout.close()
bb.utils.nonblockingfd(self.input)
self.queue = bytearray()
def read(self):
start = len(self.queue)
try:
self.queue.extend(self.input.read(102400) or b"")
except (OSError, IOError) as e:
if e.errno != errno.EAGAIN:
raise
end = len(self.queue)
index = self.queue.find(b"</event>")
while index != -1:
msg = self.queue[:index+8]
assert msg.startswith(b"<event>") and msg.count(b"<event>") == 1
worker_fire_prepickled(msg)
self.queue = self.queue[index+8:]
index = self.queue.find(b"</event>")
return (end > start)
def close(self):
while self.read():
continue
if len(self.queue) > 0:
print("Warning, worker child left partial message: %s" % self.queue)
self.input.close()
normalexit = False
class BitbakeWorker(object):
def __init__(self, din):
self.input = din
bb.utils.nonblockingfd(self.input)
self.queue = bytearray()
self.cookercfg = None
self.databuilder = None
self.data = None
self.extraconfigdata = None
self.build_pids = {}
self.build_pipes = {}
signal.signal(signal.SIGTERM, self.sigterm_exception)
# Let SIGHUP exit as SIGTERM
signal.signal(signal.SIGHUP, self.sigterm_exception)
if "beef" in sys.argv[1]:
bb.utils.set_process_name("Worker (Fakeroot)")
else:
bb.utils.set_process_name("Worker")
def sigterm_exception(self, signum, stackframe):
if signum == signal.SIGTERM:
bb.warn("Worker received SIGTERM, shutting down...")
elif signum == signal.SIGHUP:
bb.warn("Worker received SIGHUP, shutting down...")
self.handle_finishnow(None)
signal.signal(signal.SIGTERM, signal.SIG_DFL)
os.kill(os.getpid(), signal.SIGTERM)
def serve(self):
while True:
(ready, _, _) = select.select([self.input] + [i.input for i in self.build_pipes.values()], [] , [], 1)
if self.input in ready:
try:
r = self.input.read()
if len(r) == 0:
# EOF on pipe, server must have terminated
self.sigterm_exception(signal.SIGTERM, None)
self.queue.extend(r)
except (OSError, IOError):
pass
if len(self.queue):
self.handle_item(b"cookerconfig", self.handle_cookercfg)
self.handle_item(b"extraconfigdata", self.handle_extraconfigdata)
self.handle_item(b"workerdata", self.handle_workerdata)
self.handle_item(b"newtaskhashes", self.handle_newtaskhashes)
self.handle_item(b"runtask", self.handle_runtask)
self.handle_item(b"finishnow", self.handle_finishnow)
self.handle_item(b"ping", self.handle_ping)
self.handle_item(b"quit", self.handle_quit)
for pipe in self.build_pipes:
if self.build_pipes[pipe].input in ready:
self.build_pipes[pipe].read()
if len(self.build_pids):
while self.process_waitpid():
continue
def handle_item(self, item, func):
opening_tag = b"<" + item + b">"
if not self.queue.startswith(opening_tag):
return
tag_len = len(opening_tag)
if len(self.queue) < tag_len + 4:
# we need to receive more data
return
header = self.queue[tag_len:tag_len + 4]
payload_len = int.from_bytes(header, 'big')
# closing tag has length (tag_len + 1)
if len(self.queue) < tag_len * 2 + 1 + payload_len:
# we need to receive more data
return
index = self.queue.find(b"</" + item + b">")
if index != -1:
try:
func(self.queue[(tag_len + 4):index])
except pickle.UnpicklingError:
workerlog_write("Unable to unpickle data: %s\n" % ":".join("{:02x}".format(c) for c in self.queue))
raise
self.queue = self.queue[(index + len(b"</") + len(item) + len(b">")):]
def handle_cookercfg(self, data):
self.cookercfg = pickle.loads(data)
self.databuilder = bb.cookerdata.CookerDataBuilder(self.cookercfg, worker=True)
self.databuilder.parseBaseConfiguration(worker=True)
self.data = self.databuilder.data
def handle_extraconfigdata(self, data):
self.extraconfigdata = pickle.loads(data)
def handle_workerdata(self, data):
self.workerdata = pickle.loads(data)
bb.build.verboseShellLogging = self.workerdata["build_verbose_shell"]
bb.build.verboseStdoutLogging = self.workerdata["build_verbose_stdout"]
bb.msg.loggerDefaultLogLevel = self.workerdata["logdefaultlevel"]
bb.msg.loggerDefaultDomains = self.workerdata["logdefaultdomain"]
for mc in self.databuilder.mcdata:
self.databuilder.mcdata[mc].setVar("PRSERV_HOST", self.workerdata["prhost"])
self.databuilder.mcdata[mc].setVar("BB_HASHSERVE", self.workerdata["hashservaddr"])
self.databuilder.mcdata[mc].setVar("__bbclasstype", "recipe")
def handle_newtaskhashes(self, data):
self.workerdata["newhashes"] = pickle.loads(data)
def handle_ping(self, _):
workerlog_write("Handling ping\n")
logger.warning("Pong from bitbake-worker!")
def handle_quit(self, data):
workerlog_write("Handling quit\n")
global normalexit
normalexit = True
sys.exit(0)
def handle_runtask(self, 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, self.extraconfigdata, runtask)
self.build_pids[pid] = task
self.build_pipes[pid] = runQueueWorkerPipe(pipein, pipeout)
def process_waitpid(self):
"""
Return none is there are no processes awaiting result collection, otherwise
collect the process exit codes and close the information pipe.
"""
try:
pid, status = os.waitpid(-1, os.WNOHANG)
if pid == 0 or os.WIFSTOPPED(status):
return False
except OSError:
return False
workerlog_write("Exit code of %s for pid %s\n" % (status, pid))
if os.WIFEXITED(status):
status = os.WEXITSTATUS(status)
elif os.WIFSIGNALED(status):
# Per shell conventions for $?, when a process exits due to
# a signal, we return an exit code of 128 + SIGNUM
status = 128 + os.WTERMSIG(status)
task = self.build_pids[pid]
del self.build_pids[pid]
self.build_pipes[pid].close()
del self.build_pipes[pid]
worker_fire_prepickled(b"<exitcode>" + pickle.dumps((task, status)) + b"</exitcode>")
return True
def handle_finishnow(self, _):
if self.build_pids:
logger.info("Sending SIGTERM to remaining %s tasks", len(self.build_pids))
for k, v in iter(self.build_pids.items()):
try:
os.kill(-k, signal.SIGTERM)
os.waitpid(-1, 0)
except:
pass
for pipe in self.build_pipes:
self.build_pipes[pipe].read()
try:
worker = BitbakeWorker(os.fdopen(sys.stdin.fileno(), 'rb'))
if not profiling:
worker.serve()
else:
profname = "profile-worker.log"
prof = profile.Profile()
try:
profile.Profile.runcall(prof, worker.serve)
finally:
prof.dump_stats(profname)
bb.utils.process_profilelog(profname)
except BaseException as e:
if not normalexit:
import traceback
sys.stderr.write(traceback.format_exc())
sys.stderr.write(str(e))
finally:
worker_thread_exit = True
worker_thread.join()
workerlog_write("exiting")
if not normalexit:
sys.exit(1)
sys.exit(0)

175
bitbake/bin/git-make-shallow Executable file
View File

@@ -0,0 +1,175 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""git-make-shallow: make the current git repository shallow
Remove the history of the specified revisions, then optionally filter the
available refs to those specified.
"""
import argparse
import collections
import errno
import itertools
import os
import subprocess
import sys
import warnings
warnings.simplefilter("default")
version = 1.0
git_cmd = ['git', '-c', 'safe.bareRepository=all']
def main():
if sys.version_info < (3, 4, 0):
sys.exit('Python 3.4 or greater is required')
git_dir = check_output(git_cmd + ['rev-parse', '--git-dir']).rstrip()
shallow_file = os.path.join(git_dir, 'shallow')
if os.path.exists(shallow_file):
try:
check_output(git_cmd + ['fetch', '--unshallow'])
except subprocess.CalledProcessError:
try:
os.unlink(shallow_file)
except OSError as exc:
if exc.errno != errno.ENOENT:
raise
args = process_args()
revs = check_output(git_cmd + ['rev-list'] + args.revisions).splitlines()
make_shallow(shallow_file, args.revisions, args.refs)
ref_revs = check_output(git_cmd + ['rev-list'] + args.refs).splitlines()
remaining_history = set(revs) & set(ref_revs)
for rev in remaining_history:
if check_output(git_cmd + ['rev-parse', '{}^@'.format(rev)]):
sys.exit('Error: %s was not made shallow' % rev)
filter_refs(args.refs)
if args.shrink:
shrink_repo(git_dir)
subprocess.check_call(git_cmd + ['fsck', '--unreachable'])
def process_args():
# TODO: add argument to automatically keep local-only refs, since they
# can't be easily restored with a git fetch.
parser = argparse.ArgumentParser(description='Remove the history of the specified revisions, then optionally filter the available refs to those specified.')
parser.add_argument('--ref', '-r', metavar='REF', action='append', dest='refs', help='remove all but the specified refs (cumulative)')
parser.add_argument('--shrink', '-s', action='store_true', help='shrink the git repository by repacking and pruning')
parser.add_argument('revisions', metavar='REVISION', nargs='+', help='a git revision/commit')
if len(sys.argv) < 2:
parser.print_help()
sys.exit(2)
args = parser.parse_args()
if args.refs:
args.refs = check_output(git_cmd + ['rev-parse', '--symbolic-full-name'] + args.refs).splitlines()
else:
args.refs = get_all_refs(lambda r, t, tt: t == 'commit' or tt == 'commit')
args.refs = list(filter(lambda r: not r.endswith('/HEAD'), args.refs))
args.revisions = check_output(git_cmd + ['rev-parse'] + ['%s^{}' % i for i in args.revisions]).splitlines()
return args
def check_output(cmd, input=None):
return subprocess.check_output(cmd, universal_newlines=True, input=input)
def make_shallow(shallow_file, revisions, refs):
"""Remove the history of the specified revisions."""
for rev in follow_history_intersections(revisions, refs):
print("Processing %s" % rev)
with open(shallow_file, 'a') as f:
f.write(rev + '\n')
def get_all_refs(ref_filter=None):
"""Return all the existing refs in this repository, optionally filtering the refs."""
ref_output = check_output(git_cmd + ['for-each-ref', '--format=%(refname)\t%(objecttype)\t%(*objecttype)'])
ref_split = [tuple(iter_extend(l.rsplit('\t'), 3)) for l in ref_output.splitlines()]
if ref_filter:
ref_split = (e for e in ref_split if ref_filter(*e))
refs = [r[0] for r in ref_split]
return refs
def iter_extend(iterable, length, obj=None):
"""Ensure that iterable is the specified length by extending with obj."""
return itertools.islice(itertools.chain(iterable, itertools.repeat(obj)), length)
def filter_refs(refs):
"""Remove all but the specified refs from the git repository."""
all_refs = get_all_refs()
to_remove = set(all_refs) - set(refs)
if to_remove:
check_output(['xargs', '-0', '-n', '1'] + git_cmd + ['update-ref', '-d', '--no-deref'],
input=''.join(l + '\0' for l in to_remove))
def follow_history_intersections(revisions, refs):
"""Determine all the points where the history of the specified revisions intersects the specified refs."""
queue = collections.deque(revisions)
seen = set()
for rev in iter_except(queue.popleft, IndexError):
if rev in seen:
continue
parents = check_output(git_cmd + ['rev-parse', '%s^@' % rev]).splitlines()
yield rev
seen.add(rev)
if not parents:
continue
check_refs = check_output(git_cmd + ['merge-base', '--independent'] + sorted(refs)).splitlines()
for parent in parents:
for ref in check_refs:
print("Checking %s vs %s" % (parent, ref))
try:
merge_base = check_output(git_cmd + ['merge-base', parent, ref]).rstrip()
except subprocess.CalledProcessError:
continue
else:
queue.append(merge_base)
def iter_except(func, exception, start=None):
"""Yield a function repeatedly until it raises an exception."""
try:
if start is not None:
yield start()
while True:
yield func()
except exception:
pass
def shrink_repo(git_dir):
"""Shrink the newly shallow repository, removing the unreachable objects."""
subprocess.check_call(git_cmd + ['reflog', 'expire', '--expire-unreachable=now', '--all'])
subprocess.check_call(git_cmd + ['repack', '-ad'])
try:
os.unlink(os.path.join(git_dir, 'objects', 'info', 'alternates'))
except OSError as exc:
if exc.errno != errno.ENOENT:
raise
subprocess.check_call(git_cmd + ['prune', '--expire', 'now'])
if __name__ == '__main__':
main()

332
bitbake/bin/toaster Executable file
View File

@@ -0,0 +1,332 @@
#!/bin/echo ERROR: This script needs to be sourced. Please run as .
# toaster - shell script to start Toaster
# Copyright (C) 2013-2015 Intel Corp.
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
HELP="
Usage 1: source toaster start|stop [webport=<address:port>] [noweb] [nobuild] [toasterdir]
Optional arguments:
[nobuild] Setup the environment for capturing builds with toaster but disable managed builds
[noweb] Setup the environment for capturing builds with toaster but don't start the web server
[webport] Set the development server (default: localhost:8000)
[toasterdir] Set absolute path to be used as TOASTER_DIR (default: BUILDDIR/../)
Usage 2: source toaster manage [createsuperuser|lsupdates|migrate|makemigrations|checksettings|collectstatic|...]
"
custom_extention()
{
custom_extension=$BBBASEDIR/lib/toaster/orm/fixtures/custom_toaster_append.sh
if [ -f $custom_extension ] ; then
$custom_extension $*
fi
}
databaseCheck()
{
retval=0
# you can always add a superuser later via
# ../bitbake/lib/toaster/manage.py createsuperuser --username=<ME>
$MANAGE migrate --noinput || retval=1
if [ $retval -eq 1 ]; then
echo "Failed migrations, halting system start" 1>&2
return $retval
fi
# Make sure that checksettings can pick up any value for TEMPLATECONF
export TEMPLATECONF
$MANAGE checksettings --traceback || retval=1
if [ $retval -eq 1 ]; then
printf "\nError while checking settings; exiting\n"
return $retval
fi
return $retval
}
webserverKillAll()
{
local pidfile
if [ -f ${BUILDDIR}/.toastermain.pid ] ; then
custom_extention web_stop_postpend
else
custom_extention noweb_stop_postpend
fi
for pidfile in ${BUILDDIR}/.toastermain.pid ${BUILDDIR}/.runbuilds.pid; do
if [ -f ${pidfile} ]; then
pid=`cat ${pidfile}`
while kill -0 $pid 2>/dev/null; do
kill -SIGTERM $pid 2>/dev/null
sleep 1
done
rm ${pidfile}
fi
done
}
webserverStartAll()
{
# do not start if toastermain points to a valid process
if ! cat "${BUILDDIR}/.toastermain.pid" 2>/dev/null | xargs -I{} kill -0 {} ; then
retval=1
rm "${BUILDDIR}/.toastermain.pid"
fi
retval=0
# check the database
databaseCheck || return 1
echo "Starting webserver..."
$MANAGE runserver --noreload "$ADDR_PORT" \
</dev/null >>${TOASTER_LOGS_DIR}/web.log 2>&1 \
& echo $! >${BUILDDIR}/.toastermain.pid
sleep 1
if ! cat "${BUILDDIR}/.toastermain.pid" | xargs -I{} kill -0 {} ; then
retval=1
rm "${BUILDDIR}/.toastermain.pid"
else
echo "Toaster development webserver started at http://$ADDR_PORT"
echo -e "\nYou can now run 'bitbake <target>' on the command line and monitor your build in Toaster.\nYou can also use a Toaster project to configure and run a build.\n"
custom_extention web_start_postpend $ADDR_PORT
fi
return $retval
}
INSTOPSYSTEM=0
# define the stop command
stop_system()
{
# prevent reentry
if [ $INSTOPSYSTEM -eq 1 ]; then return; fi
INSTOPSYSTEM=1
webserverKillAll
# unset exported variables
unset TOASTER_DIR
unset BITBAKE_UI
unset BBBASEDIR
trap - SIGHUP
#trap - SIGCHLD
INSTOPSYSTEM=0
}
verify_prereq() {
# Verify Django version
reqfile=$(python3 -c "import os; print(os.path.realpath('$BBBASEDIR/toaster-requirements.txt'))")
exp='s/Django\([><=]\+\)\([^,]\+\),\([><=]\+\)\(.\+\)/'
# expand version parts to 2 digits to support 1.10.x > 1.8
# (note:helper functions hard to insert in-line)
exp=$exp'import sys,django;'
exp=$exp'version=["%02d" % int(n) for n in django.get_version().split(".")];'
exp=$exp'vmin=["%02d" % int(n) for n in "\2".split(".")];'
exp=$exp'vmax=["%02d" % int(n) for n in "\4".split(".")];'
exp=$exp'sys.exit(not (version \1 vmin and version \3 vmax))'
exp=$exp'/p'
if ! sed -n "$exp" $reqfile | python3 - ; then
req=`grep ^Django $reqfile`
echo "This program needs $req"
echo "Please install with pip3 install -r $reqfile"
return 2
fi
return 0
}
# read command line parameters
if [ -n "$BASH_SOURCE" ] ; then
TOASTER=${BASH_SOURCE}
elif [ -n "$ZSH_NAME" ] ; then
TOASTER=${(%):-%x}
else
TOASTER=$0
fi
export BBBASEDIR=`dirname $TOASTER`/..
MANAGE="python3 $BBBASEDIR/lib/toaster/manage.py"
if [ -z "$OE_ROOT" ]; then
OE_ROOT=`dirname $TOASTER`/../..
fi
# this is the configuraton file we are using for toaster
# we are using the same logic that oe-setup-builddir uses
# (based on TEMPLATECONF and .templateconf) to determine
# which toasterconf.json to use.
# note: There are a number of relative path assumptions
# in the local layers that currently make using an arbitrary
# toasterconf.json difficult.
. $OE_ROOT/.templateconf
if [ -n "$TEMPLATECONF" ]; then
if [ ! -d "$TEMPLATECONF" ]; then
# Allow TEMPLATECONF=meta-xyz/conf as a shortcut
if [ -d "$OE_ROOT/$TEMPLATECONF" ]; then
TEMPLATECONF="$OE_ROOT/$TEMPLATECONF"
fi
fi
fi
unset OE_ROOT
WEBSERVER=1
export TOASTER_BUILDSERVER=1
ADDR_PORT="localhost:8000"
TOASTERDIR=`dirname $BUILDDIR`
# ${BUILDDIR}/toaster_logs/ became the default location for toaster logs
# This is needed for implemented django-log-viewer: https://pypi.org/project/django-log-viewer/
# If the directory does not exist, create it.
TOASTER_LOGS_DIR="${BUILDDIR}/toaster_logs/"
if [ ! -d $TOASTER_LOGS_DIR ]
then
mkdir $TOASTER_LOGS_DIR
fi
unset CMD
for param in $*; do
case $param in
noweb )
WEBSERVER=0
;;
nobuild )
TOASTER_BUILDSERVER=0
;;
start )
CMD=$param
;;
stop )
CMD=$param
;;
webport=*)
ADDR_PORT="${param#*=}"
# Split the addr:port string
ADDR=`echo $ADDR_PORT | cut -f 1 -d ':'`
PORT=`echo $ADDR_PORT | cut -f 2 -d ':'`
# If only a port has been speified then set address to localhost.
if [ $ADDR = $PORT ] ; then
ADDR_PORT="localhost:$PORT"
fi
;;
toasterdir=*)
TOASTERDIR="${param#*=}"
;;
manage )
CMD=$param
manage_cmd=""
;;
--help)
echo "$HELP"
return 0
;;
*)
if [ "manage" == "$CMD" ] ; then
manage_cmd="$manage_cmd $param"
else
echo "$HELP"
exit 1
fi
;;
esac
done
if [ `basename \"$0\"` = `basename \"${TOASTER}\"` ]; then
echo "Error: This script needs to be sourced. Please run as . $TOASTER"
return 1
fi
verify_prereq || return 1
# We make sure we're running in the current shell and in a good environment
if [ -z "$BUILDDIR" ] || ! which bitbake >/dev/null 2>&1 ; then
echo "Error: Build environment is not setup or bitbake is not in path." 1>&2
return 2
fi
# this defines the dir toaster will use for
# 1) clones of layers (in _toaster_clones )
# 2) the build dir (in build)
# 3) the sqlite db if that is being used.
# 4) pid's we need to clean up on exit/shutdown
export TOASTER_DIR=$TOASTERDIR
export BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS TOASTER_DIR"
# Determine the action. If specified by arguments, fine, if not, toggle it
if [ "$CMD" = "start" ] ; then
if [ -n "$BBSERVER" ]; then
echo " Toaster is already running. Exiting..."
return 1
fi
elif [ "$CMD" = "" ]; then
echo "No command specified"
echo "$HELP"
return 1
fi
echo "The system will $CMD."
# Execute the commands
custom_extention toaster_prepend $CMD $ADDR_PORT
case $CMD in
start )
# check if addr:port is not in use
if [ "$CMD" == 'start' ]; then
if [ $WEBSERVER -gt 0 ]; then
$MANAGE checksocket "$ADDR_PORT" || return 1
fi
fi
# Create configuration file
conf=${BUILDDIR}/conf/local.conf
line='INHERIT+="toaster buildhistory"'
grep -q "$line" $conf || echo $line >> $conf
if [ $WEBSERVER -eq 0 ] ; then
# Do not update the database for "noweb" unless
# it does not yet exist
if [ ! -f "$TOASTER_DIR/toaster.sqlite" ] ; then
if ! databaseCheck; then
echo "Failed ${CMD}."
return 4
fi
fi
custom_extention noweb_start_postpend $ADDR_PORT
fi
if [ $WEBSERVER -gt 0 ] && ! webserverStartAll; then
echo "Failed ${CMD}."
return 4
fi
export BITBAKE_UI='toasterui'
if [ $TOASTER_BUILDSERVER -eq 1 ] ; then
$MANAGE runbuilds \
</dev/null >>${TOASTER_LOGS_DIR}/toaster_runbuilds.log 2>&1 \
& echo $! >${BUILDDIR}/.runbuilds.pid
else
echo "Toaster build server not started."
fi
# set fail safe stop system on terminal exit
trap stop_system SIGHUP
echo "Successful ${CMD}."
custom_extention toaster_postpend $CMD $ADDR_PORT
return 0
;;
stop )
stop_system
echo "Successful ${CMD}."
;;
manage )
cd $BBBASEDIR/lib/toaster
$MANAGE $manage_cmd
;;
esac
custom_extention toaster_postpend $CMD $ADDR_PORT

59
bitbake/bin/toaster-eventreplay Executable file
View File

@@ -0,0 +1,59 @@
#!/usr/bin/env python3
#
# Copyright (C) 2014 Alex Damian
#
# SPDX-License-Identifier: GPL-2.0-only
#
# This file re-uses code spread throughout other Bitbake source files.
# As such, all other copyrights belong to their own right holders.
#
"""
This command takes a filename as a single parameter. The filename is read
as a build eventlog, and the ToasterUI is used to process events in the file
and log data in the database
"""
import os
import sys
import json
import pickle
import codecs
import warnings
warnings.simplefilter("default")
from collections import namedtuple
# mangle syspath to allow easy import of modules
from os.path import join, dirname, abspath
sys.path.insert(0, join(dirname(dirname(abspath(__file__))), 'lib'))
import bb.cooker
from bb.ui import toasterui
from bb.ui import eventreplay
def main(argv):
with open(argv[-1]) as eventfile:
# load variables from the first line
variables = None
while line := eventfile.readline().strip():
try:
variables = json.loads(line)['allvariables']
break
except (KeyError, json.JSONDecodeError):
continue
if not variables:
sys.exit("Cannot find allvariables entry in event log file %s" % argv[-1])
eventfile.seek(0)
params = namedtuple('ConfigParams', ['observe_only'])(True)
player = eventreplay.EventPlayer(eventfile, variables)
return toasterui.main(player, player, params)
# run toaster ui on our mock bitbake class
if __name__ == "__main__":
if len(sys.argv) != 2:
print("Usage: %s <event file>" % os.path.basename(sys.argv[0]))
sys.exit(1)
sys.exit(main(sys.argv))

1
bitbake/contrib/README Normal file
View File

@@ -0,0 +1 @@
This directory is for additional contributed files which may be useful.

View File

@@ -0,0 +1,13 @@
{
"version": 1,
"loggers": {
"BitBake.SigGen.HashEquiv": {
"level": "VERBOSE",
"handlers": ["BitBake.verbconsole"]
},
"BitBake.RunQueue.HashEquiv": {
"level": "VERBOSE",
"handlers": ["BitBake.verbconsole"]
}
}
}

31
bitbake/contrib/bbdev.sh Normal file
View File

@@ -0,0 +1,31 @@
# This is a shell function to be sourced into your shell or placed in your .profile,
# which makes setting things up for BitBake a bit easier.
#
# The author disclaims copyright to the contents of this file and places it in the
# public domain.
bbdev () {
local BBDIR PKGDIR BUILDDIR
if test x"$1" = "x--help"; then echo >&2 "syntax: bbdev [bbdir [pkgdir [builddir]]]"; return 1; fi
if test x"$1" = x; then BBDIR=`pwd`; else BBDIR=$1; fi
if test x"$2" = x; then PKGDIR=`pwd`; else PKGDIR=$2; fi
if test x"$3" = x; then BUILDDIR=`pwd`; else BUILDDIR=$3; fi
BBDIR=`readlink -f $BBDIR`
PKGDIR=`readlink -f $PKGDIR`
BUILDDIR=`readlink -f $BUILDDIR`
if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then
echo >&2 "syntax: bbdev [bbdir [pkgdir [builddir]]]"
return 1
fi
PATH=$BBDIR/bin:$PATH
BBPATH=$BBDIR
if test x"$BBDIR" != x"$PKGDIR"; then
BBPATH=$PKGDIR:$BBPATH
fi
if test x"$PKGDIR" != x"$BUILDDIR"; then
BBPATH=$BUILDDIR:$BBPATH
fi
export BBPATH
}

View File

@@ -0,0 +1,89 @@
#! /usr/bin/env python3
#
# Copyright (C) 2020 Joshua Watt <JPEWhacker@gmail.com>
#
# SPDX-License-Identifier: MIT
import argparse
import os
import random
import shutil
import signal
import subprocess
import sys
import time
def try_unlink(path):
try:
os.unlink(path)
except:
pass
def main():
def cleanup():
shutil.rmtree("tmp/cache", ignore_errors=True)
try_unlink("bitbake-cookerdaemon.log")
try_unlink("bitbake.sock")
try_unlink("bitbake.lock")
parser = argparse.ArgumentParser(
description="Bitbake parser torture test",
epilog="""
A torture test for bitbake's parser. Repeatedly interrupts parsing until
bitbake decides to deadlock.
""",
)
args = parser.parse_args()
if not "BUILDDIR" in os.environ:
print(
"'BUILDDIR' not found in the environment. Did you initialize the build environment?"
)
return 1
os.chdir(os.environ["BUILDDIR"])
run_num = 0
while True:
if run_num % 100 == 0:
print("Calibrating wait time...")
cleanup()
start_time = time.monotonic()
r = subprocess.run(["bitbake", "-p"])
max_wait_time = time.monotonic() - start_time
if r.returncode != 0:
print("Calibration run exited with %d" % r.returncode)
return 1
print("Maximum wait time is %f seconds" % max_wait_time)
run_num += 1
wait_time = random.random() * max_wait_time
print("Run #%d" % run_num)
print("Will sleep for %f seconds" % wait_time)
cleanup()
with subprocess.Popen(["bitbake", "-p"]) as proc:
time.sleep(wait_time)
proc.send_signal(signal.SIGINT)
try:
proc.wait(45)
except subprocess.TimeoutExpired:
print("Run #%d: Waited too long. Possible deadlock!" % run_num)
proc.wait()
return 1
if proc.returncode == 0:
print("Exited successfully. Timeout too long?")
else:
print("Exited with %d" % proc.returncode)
if __name__ == "__main__":
sys.exit(main())

83
bitbake/contrib/dump_cache.py Executable file
View File

@@ -0,0 +1,83 @@
#!/usr/bin/env python3
#
# Copyright (C) 2012, 2018 Wind River Systems, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Used for dumping the bb_cache.dat
#
import os
import sys
import argparse
# For importing bb.cache
sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), '../lib'))
from bb.cache import CoreRecipeInfo
import pickle
class DumpCache(object):
def __init__(self):
parser = argparse.ArgumentParser(
description="bb_cache.dat's dumper",
epilog="Use %(prog)s --help to get help")
parser.add_argument("-r", "--recipe",
help="specify the recipe, default: all recipes", action="store")
parser.add_argument("-m", "--members",
help = "specify the member, use comma as separator for multiple ones, default: all members", action="store", default="")
parser.add_argument("-s", "--skip",
help = "skip skipped recipes", action="store_true")
parser.add_argument("cachefile",
help = "specify bb_cache.dat", nargs = 1, action="store", default="")
self.args = parser.parse_args()
def main(self):
with open(self.args.cachefile[0], "rb") as cachefile:
pickled = pickle.Unpickler(cachefile)
while True:
try:
key = pickled.load()
val = pickled.load()
except Exception:
break
if isinstance(val, CoreRecipeInfo):
pn = val.pn
if self.args.recipe and self.args.recipe != pn:
continue
if self.args.skip and val.skipped:
continue
if self.args.members:
out = key
for member in self.args.members.split(','):
out += ": %s" % val.__dict__.get(member)
print("%s" % out)
else:
print("%s: %s" % (key, val.__dict__))
elif not self.args.recipe:
print("%s %s" % (key, val))
if __name__ == "__main__":
try:
dump = DumpCache()
ret = dump.main()
except Exception as esc:
ret = 1
import traceback
traceback.print_exc()
sys.exit(ret)

View File

@@ -0,0 +1,23 @@
# SPDX-License-Identifier: MIT
#
# Copyright (c) 2021 Joshua Watt <JPEWhacker@gmail.com>
#
# Dockerfile to build a bitbake hash equivalence server container
#
# From the root of the bitbake repository, run:
#
# docker build -f contrib/hashserv/Dockerfile .
#
FROM alpine:3.13.1
RUN apk add --no-cache python3
COPY bin/bitbake-hashserv /opt/bbhashserv/bin/
COPY lib/hashserv /opt/bbhashserv/lib/hashserv/
COPY lib/bb /opt/bbhashserv/lib/bb/
COPY lib/codegen.py /opt/bbhashserv/lib/codegen.py
COPY lib/ply /opt/bbhashserv/lib/ply/
COPY lib/bs4 /opt/bbhashserv/lib/bs4/
ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"]

View File

@@ -0,0 +1,62 @@
# SPDX-License-Identifier: MIT
#
# Copyright (c) 2022 Daniel Gomez <daniel@qtec.com>
#
# Dockerfile to build a bitbake PR service container
#
# From the root of the bitbake repository, run:
#
# docker build -f contrib/prserv/Dockerfile . -t prserv
#
# Running examples:
#
# 1. PR Service in RW mode, port 18585:
#
# docker run --detach --tty \
# --env PORT=18585 \
# --publish 18585:18585 \
# --volume $PWD:/var/lib/bbprserv \
# prserv
#
# 2. PR Service in RO mode, default port (8585) and custom LOGFILE:
#
# docker run --detach --tty \
# --env DBMODE="--read-only" \
# --env LOGFILE=/var/lib/bbprserv/prservro.log \
# --publish 8585:8585 \
# --volume $PWD:/var/lib/bbprserv \
# prserv
#
FROM alpine:3.14.4
RUN apk add --no-cache python3
COPY bin/bitbake-prserv /opt/bbprserv/bin/
COPY lib/prserv /opt/bbprserv/lib/prserv/
COPY lib/bb /opt/bbprserv/lib/bb/
COPY lib/codegen.py /opt/bbprserv/lib/codegen.py
COPY lib/ply /opt/bbprserv/lib/ply/
COPY lib/bs4 /opt/bbprserv/lib/bs4/
ENV PATH=$PATH:/opt/bbprserv/bin
RUN mkdir -p /var/lib/bbprserv
ENV DBFILE=/var/lib/bbprserv/prserv.sqlite3 \
LOGFILE=/var/lib/bbprserv/prserv.log \
LOGLEVEL=debug \
HOST=0.0.0.0 \
PORT=8585 \
DBMODE=""
ENTRYPOINT [ "/bin/sh", "-c", \
"bitbake-prserv \
--file=$DBFILE \
--log=$LOGFILE \
--loglevel=$LOGLEVEL \
--start \
--host=$HOST \
--port=$PORT \
$DBMODE \
&& tail -f $LOGFILE"]

View File

@@ -0,0 +1,18 @@
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -0,0 +1,24 @@
" Vim filetype detection file
" Language: BitBake
" Author: Ricardo Salveti <rsalveti@rsalveti.net>
" Copyright: Copyright (C) 2008 Ricardo Salveti <rsalveti@rsalveti.net>
" Licence: You may redistribute this under the same terms as Vim itself
"
" This sets up the syntax highlighting for BitBake files, like .bb, .bbclass and .inc
if &compatible || version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
" .bb, .bbappend and .bbclass
au BufNewFile,BufRead *.{bb,bbappend,bbclass} set filetype=bitbake
" .inc
au BufNewFile,BufRead *.inc set filetype=bitbake
" .conf
au BufNewFile,BufRead *.conf
\ if (match(expand("%:p:h"), "conf") > 0) |
\ set filetype=bitbake |
\ endif

View File

@@ -0,0 +1,13 @@
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
finish
endif
" Don't load another plugin for this buffer
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl cms< sts< sw< et< sua<"
setlocal commentstring=#\ %s
setlocal softtabstop=4 shiftwidth=4 expandtab
setlocal suffixesadd+=.bb,.bbclass

View File

@@ -0,0 +1,343 @@
" Vim indent file
" Language: BitBake
" Copyright: Copyright (C) 2019 Agilent Technologies, Inc.
" Maintainer: Chris Laplante <chris.laplante@agilent.com>
" License: You may redistribute this under the same terms as Vim itself
if exists("b:did_indent")
finish
endif
if exists("*BitbakeIndent")
finish
endif
runtime! indent/sh.vim
unlet b:did_indent
setlocal indentexpr=BitbakeIndent(v:lnum)
setlocal autoindent nolisp
function s:is_bb_python_func_def(lnum)
let stack = synstack(a:lnum, 1)
if len(stack) == 0
return 0
endif
let top = synIDattr(stack[0], "name")
echo top
return synIDattr(stack[0], "name") == "bbPyFuncDef"
endfunction
"""" begin modified from indent/python.vim, upstream commit 7a9bd7c1e0ce1baf5a02daf36eeae3638aa315c7
"""" This copied code is licensed the same as Vim itself.
setlocal indentkeys+=<:>,=elif,=except
let s:keepcpo= &cpo
set cpo&vim
let s:maxoff = 50 " maximum number of lines to look backwards for ()
function! GetBBPythonIndent(lnum)
" If this line is explicitly joined: If the previous line was also joined,
" line it up with that one, otherwise add two 'shiftwidth'
if getline(a:lnum - 1) =~ '\\$'
if a:lnum > 1 && getline(a:lnum - 2) =~ '\\$'
return indent(a:lnum - 1)
endif
return indent(a:lnum - 1) + (exists("g:pyindent_continue") ? eval(g:pyindent_continue) : (shiftwidth() * 2))
endif
" If the start of the line is in a string don't change the indent.
if has('syntax_items')
\ && synIDattr(synID(a:lnum, 1, 1), "name") =~ "String$"
return -1
endif
" Search backwards for the previous non-empty line.
let plnum = prevnonblank(v:lnum - 1)
if plnum == 0
" This is the first non-empty line, use zero indent.
return 0
endif
call cursor(plnum, 1)
" Identing inside parentheses can be very slow, regardless of the searchpair()
" timeout, so let the user disable this feature if he doesn't need it
let disable_parentheses_indenting = get(g:, "pyindent_disable_parentheses_indenting", 0)
if disable_parentheses_indenting == 1
let plindent = indent(plnum)
let plnumstart = plnum
else
" searchpair() can be slow sometimes, limit the time to 150 msec or what is
" put in g:pyindent_searchpair_timeout
let searchpair_stopline = 0
let searchpair_timeout = get(g:, 'pyindent_searchpair_timeout', 150)
" If the previous line is inside parenthesis, use the indent of the starting
" line.
" Trick: use the non-existing "dummy" variable to break out of the loop when
" going too far back.
let parlnum = searchpair('(\|{\|\[', '', ')\|}\|\]', 'nbW',
\ "line('.') < " . (plnum - s:maxoff) . " ? dummy :"
\ . " synIDattr(synID(line('.'), col('.'), 1), 'name')"
\ . " =~ '\\(Comment\\|Todo\\|String\\)$'",
\ searchpair_stopline, searchpair_timeout)
if parlnum > 0
" We may have found the opening brace of a BitBake Python task, e.g. 'python do_task {'
" If so, ignore it here - it will be handled later.
if s:is_bb_python_func_def(parlnum)
let parlnum = 0
let plindent = indent(plnum)
let plnumstart = plnum
else
let plindent = indent(parlnum)
let plnumstart = parlnum
endif
else
let plindent = indent(plnum)
let plnumstart = plnum
endif
" When inside parenthesis: If at the first line below the parenthesis add
" two 'shiftwidth', otherwise same as previous line.
" i = (a
" + b
" + c)
call cursor(a:lnum, 1)
let p = searchpair('(\|{\|\[', '', ')\|}\|\]', 'bW',
\ "line('.') < " . (a:lnum - s:maxoff) . " ? dummy :"
\ . " synIDattr(synID(line('.'), col('.'), 1), 'name')"
\ . " =~ '\\(Comment\\|Todo\\|String\\)$'",
\ searchpair_stopline, searchpair_timeout)
if p > 0
if s:is_bb_python_func_def(p)
" Handle first non-empty line inside a BB Python task
if p == plnum
return shiftwidth()
endif
" Handle the user actually trying to close a BitBake Python task
let line = getline(a:lnum)
if line =~ '^\s*}'
return -2
endif
" Otherwise ignore the brace
let p = 0
else
if p == plnum
" When the start is inside parenthesis, only indent one 'shiftwidth'.
let pp = searchpair('(\|{\|\[', '', ')\|}\|\]', 'bW',
\ "line('.') < " . (a:lnum - s:maxoff) . " ? dummy :"
\ . " synIDattr(synID(line('.'), col('.'), 1), 'name')"
\ . " =~ '\\(Comment\\|Todo\\|String\\)$'",
\ searchpair_stopline, searchpair_timeout)
if pp > 0
return indent(plnum) + (exists("g:pyindent_nested_paren") ? eval(g:pyindent_nested_paren) : shiftwidth())
endif
return indent(plnum) + (exists("g:pyindent_open_paren") ? eval(g:pyindent_open_paren) : (shiftwidth() * 2))
endif
if plnumstart == p
return indent(plnum)
endif
return plindent
endif
endif
endif
" Get the line and remove a trailing comment.
" Use syntax highlighting attributes when possible.
let pline = getline(plnum)
let pline_len = strlen(pline)
if has('syntax_items')
" If the last character in the line is a comment, do a binary search for
" the start of the comment. synID() is slow, a linear search would take
" too long on a long line.
if synIDattr(synID(plnum, pline_len, 1), "name") =~ "\\(Comment\\|Todo\\)$"
let min = 1
let max = pline_len
while min < max
let col = (min + max) / 2
if synIDattr(synID(plnum, col, 1), "name") =~ "\\(Comment\\|Todo\\)$"
let max = col
else
let min = col + 1
endif
endwhile
let pline = strpart(pline, 0, min - 1)
endif
else
let col = 0
while col < pline_len
if pline[col] == '#'
let pline = strpart(pline, 0, col)
break
endif
let col = col + 1
endwhile
endif
" If the previous line ended with a colon, indent this line
if pline =~ ':\s*$'
return plindent + shiftwidth()
endif
" If the previous line was a stop-execution statement...
" TODO: utilize this logic to deindent when ending a bbPyDefRegion
if getline(plnum) =~ '^\s*\(break\|continue\|raise\|return\|pass\|bb\.fatal\)\>'
" See if the user has already dedented
if indent(a:lnum) > indent(plnum) - shiftwidth()
" If not, recommend one dedent
return indent(plnum) - shiftwidth()
endif
" Otherwise, trust the user
return -1
endif
" If the current line begins with a keyword that lines up with "try"
if getline(a:lnum) =~ '^\s*\(except\|finally\)\>'
let lnum = a:lnum - 1
while lnum >= 1
if getline(lnum) =~ '^\s*\(try\|except\)\>'
let ind = indent(lnum)
if ind >= indent(a:lnum)
return -1 " indent is already less than this
endif
return ind " line up with previous try or except
endif
let lnum = lnum - 1
endwhile
return -1 " no matching "try"!
endif
" If the current line begins with a header keyword, dedent
if getline(a:lnum) =~ '^\s*\(elif\|else\)\>'
" Unless the previous line was a one-liner
if getline(plnumstart) =~ '^\s*\(for\|if\|try\)\>'
return plindent
endif
" Or the user has already dedented
if indent(a:lnum) <= plindent - shiftwidth()
return -1
endif
return plindent - shiftwidth()
endif
" When after a () construct we probably want to go back to the start line.
" a = (b
" + c)
" here
if parlnum > 0
return plindent
endif
return -1
endfunction
let &cpo = s:keepcpo
unlet s:keepcpo
""" end of stuff from indent/python.vim
let b:did_indent = 1
setlocal indentkeys+=0\"
function! BitbakeIndent(lnum)
if !has('syntax_items')
return -1
endif
let stack = synstack(a:lnum, 1)
if len(stack) == 0
return -1
endif
let name = synIDattr(stack[0], "name")
" TODO: support different styles of indentation for assignments. For now,
" we only support like this:
" VAR = " \
" value1 \
" value2 \
" "
"
" i.e. each value indented by shiftwidth(), with the final quote " completely unindented.
if name == "bbVarValue"
" Quote handling is tricky. kernel.bbclass has this line for instance:
" EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" " HOSTCPP="${BUILD_CPP}""
" Instead of trying to handle crazy cases like that, just assume that a
" double-quote on a line by itself (following an assignment) means the
" user is closing the assignment, and de-dent.
if getline(a:lnum) =~ '^\s*"$'
return 0
endif
let prevstack = synstack(a:lnum - 1, 1)
if len(prevstack) == 0
return -1
endif
let prevname = synIDattr(prevstack[0], "name")
" Only indent if there was actually a continuation character on
" the previous line, to avoid misleading indentation.
let prevlinelastchar = synIDattr(synID(a:lnum - 1, col([a:lnum - 1, "$"]) - 1, 1), "name")
let prev_continued = prevlinelastchar == "bbContinue"
" Did the previous line introduce an assignment?
if index(["bbVarDef", "bbVarFlagDef"], prevname) != -1
if prev_continued
return shiftwidth()
endif
endif
if !prev_continued
return 0
endif
" Autoindent can take it from here
return -1
endif
if index(["bbPyDefRegion", "bbPyFuncRegion"], name) != -1
let ret = GetBBPythonIndent(a:lnum)
" Should normally always be indented by at least one shiftwidth; but allow
" return of -1 (defer to autoindent) or -2 (force indent to 0)
if ret == 0
return shiftwidth()
elseif ret == -2
return 0
endif
return ret
endif
" TODO: GetShIndent doesn't detect tasks prepended with 'fakeroot'
" Need to submit a patch upstream to Vim to provide an extension point.
" Unlike the Python indenter, the Sh indenter is way too large to copy and
" modify here.
if name == "bbShFuncRegion"
return GetShIndent()
endif
" TODO:
" + heuristics for de-denting out of a bbPyDefRegion? e.g. when the user
" types an obvious BB keyword like addhandler or addtask, or starts
" writing a shell task. Maybe too hard to implement...
return -1
endfunction

View File

@@ -0,0 +1,88 @@
" Vim plugin file
" Purpose: Create a template for new bb files
" Author: Ricardo Salveti <rsalveti@gmail.com>
" Copyright: Copyright (C) 2008 Ricardo Salveti <rsalveti@gmail.com>
"
" This file is licensed under the MIT license, see COPYING.MIT in
" this source distribution for the terms.
"
" Based on the gentoo-syntax package
"
" Will try to use git to find the user name and email
if &compatible || v:version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
fun! <SID>GetUserName()
let l:user_name = system("git config --get user.name")
if v:shell_error
return "Unknown User"
else
return substitute(l:user_name, "\n", "", "")
endfun
fun! <SID>GetUserEmail()
let l:user_email = system("git config --get user.email")
if v:shell_error
return "unknown@user.org"
else
return substitute(l:user_email, "\n", "", "")
endfun
fun! BBHeader()
let l:current_year = strftime("%Y")
let l:user_name = <SID>GetUserName()
let l:user_email = <SID>GetUserEmail()
0 put ='# Copyright (C) ' . l:current_year .
\ ' ' . l:user_name . ' <' . l:user_email . '>'
put ='# Released under the MIT license (see COPYING.MIT for the terms)'
$
endfun
fun! NewBBTemplate()
if line2byte(line('$') + 1) != -1
return
endif
let l:paste = &paste
set nopaste
" Get the header
call BBHeader()
" New the bb template
put ='SUMMARY = \"\"'
put ='HOMEPAGE = \"\"'
put ='LICENSE = \"\"'
put ='SECTION = \"\"'
put ='DEPENDS = \"\"'
put =''
put ='SRC_URI = \"\"'
" Go to the first place to edit
0
/^SUMMARY =/
exec "normal 2f\""
if paste == 1
set paste
endif
endfun
if !exists("g:bb_create_on_empty")
let g:bb_create_on_empty = 1
endif
" disable in case of vimdiff
if v:progname =~ "vimdiff"
let g:bb_create_on_empty = 0
endif
augroup NewBB
au BufNewFile,BufReadPost *.bb
\ if g:bb_create_on_empty |
\ call NewBBTemplate() |
\ endif
augroup END

View File

@@ -0,0 +1,46 @@
" Vim plugin file
" Purpose: Create a template for new bbappend file
" Author: Joshua Watt <JPEWhacker@gmail.com>
" Copyright: Copyright (C) 2017 Joshua Watt <JPEWhacker@gmail.com>
"
" This file is licensed under the MIT license, see COPYING.MIT in
" this source distribution for the terms.
"
if &compatible || v:version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
fun! NewBBAppendTemplate()
if line2byte(line('$') + 1) != -1
return
endif
let l:paste = &paste
set nopaste
" New bbappend template
0 put ='FILESEXTRAPATHS:prepend := \"${THISDIR}/${PN}:\"'
2
if paste == 1
set paste
endif
endfun
if !exists("g:bb_create_on_empty")
let g:bb_create_on_empty = 1
endif
" disable in case of vimdiff
if v:progname =~ "vimdiff"
let g:bb_create_on_empty = 0
endif
augroup NewBBAppend
au BufNewFile,BufReadPost *.bbappend
\ if g:bb_create_on_empty |
\ call NewBBAppendTemplate() |
\ endif
augroup END

View File

@@ -0,0 +1,131 @@
" Vim syntax file
" Language: BitBake bb/bbclasses/inc
" Author: Chris Larson <kergoth@handhelds.org>
" Ricardo Salveti <rsalveti@rsalveti.net>
" Copyright: Copyright (C) 2004 Chris Larson <kergoth@handhelds.org>
" Copyright (C) 2008 Ricardo Salveti <rsalveti@rsalveti.net>
"
" This file is licensed under the MIT license, see COPYING.MIT in
" this source distribution for the terms.
"
" Syntax highlighting for bb, bbclasses and inc files.
"
" It's an entirely new type, just has specific syntax in shell and python code
if &compatible || v:version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
if exists("b:current_syntax")
finish
endif
syn include @python syntax/python.vim
if exists("b:current_syntax")
unlet b:current_syntax
endif
" BitBake syntax
" Matching case
syn case match
" Indicates the error when nothing is matched
syn match bbUnmatched "."
" Comments
syn cluster bbCommentGroup contains=bbTodo,@Spell
syn keyword bbTodo COMBAK FIXME TODO XXX contained
syn match bbComment "#.*$" contains=@bbCommentGroup
" String helpers
syn match bbQuote +['"]+ contained
syn match bbDelimiter "[(){}=]" contained
syn match bbArrayBrackets "[\[\]]" contained
" BitBake strings
syn match bbContinue "\\$"
syn region bbString matchgroup=bbQuote start=+"+ skip=+\\$+ end=+"+ contained contains=bbTodo,bbContinue,bbVarDeref,bbVarPyValue,@Spell
syn region bbString matchgroup=bbQuote start=+'+ skip=+\\$+ end=+'+ contained contains=bbTodo,bbContinue,bbVarDeref,bbVarPyValue,@Spell
" Vars definition
syn match bbExport "^export" nextgroup=bbIdentifier skipwhite
syn keyword bbExportFlag export contained nextgroup=bbIdentifier skipwhite
syn match bbIdentifier "[a-zA-Z0-9\-_\.\/\+]\+" display contained
syn match bbVarDeref "${[a-zA-Z0-9\-_:\.\/\+]\+}" contained
syn match bbVarEq "\(:=\|+=\|=+\|\.=\|=\.\|?=\|??=\|=\)" contained nextgroup=bbVarValue
syn match bbVarDef "^\(export\s*\)\?\([a-zA-Z0-9\-_\.\/\+][${}a-zA-Z0-9\-_:\.\/\+]*\)\s*\(:=\|+=\|=+\|\.=\|=\.\|?=\|??=\|=\)\@=" contains=bbExportFlag,bbIdentifier,bbOverrideOperator,bbVarDeref nextgroup=bbVarEq
syn match bbVarValue ".*$" contained contains=bbString,bbVarDeref,bbVarPyValue
syn region bbVarPyValue start=+${@+ skip=+\\$+ end=+}+ contained contains=@python
" Vars metadata flags
syn match bbVarFlagDef "^\([a-zA-Z0-9\-_\.]\+\)\(\[[a-zA-Z0-9\-_\.+]\+\]\)\@=" contains=bbIdentifier nextgroup=bbVarFlagFlag
syn region bbVarFlagFlag matchgroup=bbArrayBrackets start="\[" end="\]\s*\(:=\|=\|.=\|=.|+=\|=+\|?=\)\@=" contained contains=bbIdentifier nextgroup=bbVarEq
" Includes and requires
syn keyword bbInclude inherit include require contained
syn match bbIncludeRest ".*$" contained contains=bbString,bbVarDeref,bbVarPyValue
syn match bbIncludeLine "^\(inherit\|include\|require\)\s\+" contains=bbInclude nextgroup=bbIncludeRest
" Add taks and similar
syn keyword bbStatement addtask deltask addhandler after before EXPORT_FUNCTIONS contained
syn match bbStatementRest /[^\\]*$/ skipwhite contained contains=bbStatement,bbVarDeref,bbVarPyValue
syn region bbStatementRestCont start=/.*\\$/ end=/^[^\\]*$/ contained contains=bbStatement,bbVarDeref,bbVarPyValue,bbContinue keepend
syn match bbStatementLine "^\(addtask\|deltask\|addhandler\|after\|before\|EXPORT_FUNCTIONS\)\s\+" contains=bbStatement nextgroup=bbStatementRest,bbStatementRestCont
" OE Important Functions
syn keyword bbOEFunctions do_fetch do_unpack do_patch do_configure do_compile do_stage do_install do_package contained
" Generic Functions
syn match bbFunction "\h[0-9A-Za-z_\-\.]*" display contained contains=bbOEFunctions
syn keyword bbOverrideOperator append prepend remove contained
" BitBake shell metadata
syn include @shell syntax/sh.vim
if exists("b:current_syntax")
unlet b:current_syntax
endif
syn keyword bbShFakeRootFlag fakeroot contained
syn match bbShFuncDef "^\(fakeroot\s*\)\?\([\.0-9A-Za-z_:${}\-\.]\+\)\(python\)\@<!\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbFunction,bbOverrideOperator,bbVarDeref,bbDelimiter nextgroup=bbShFuncRegion skipwhite
syn region bbShFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" contained contains=@shell
" Python value inside shell functions
syn region shDeref start=+${@+ skip=+\\$+ excludenl end=+}+ contained contains=@python
" BitBake python metadata
syn keyword bbPyFlag python contained
syn match bbPyFuncDef "^\(fakeroot\s*\)\?\(python\)\(\s\+[0-9A-Za-z_:${}\-\.]\+\)\?\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbPyFlag,bbFunction,bbOverrideOperator,bbVarDeref,bbDelimiter nextgroup=bbPyFuncRegion skipwhite
syn region bbPyFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" contained contains=@python
" BitBake 'def'd python functions
syn keyword bbPyDef def contained
syn region bbPyDefRegion start='^\(def\s\+\)\([0-9A-Za-z_-]\+\)\(\s*(.*)\s*\):\s*$' end='^\(\s\|$\)\@!' contains=@python
" Highlighting Definitions
hi def link bbUnmatched Error
hi def link bbInclude Include
hi def link bbTodo Todo
hi def link bbComment Comment
hi def link bbQuote String
hi def link bbString String
hi def link bbDelimiter Keyword
hi def link bbArrayBrackets Statement
hi def link bbContinue Special
hi def link bbExport Type
hi def link bbExportFlag Type
hi def link bbIdentifier Identifier
hi def link bbVarDeref PreProc
hi def link bbVarDef Identifier
hi def link bbVarValue String
hi def link bbShFakeRootFlag Type
hi def link bbFunction Function
hi def link bbPyFlag Type
hi def link bbPyDef Statement
hi def link bbStatement Statement
hi def link bbStatementRest Identifier
hi def link bbStatementRestCont Identifier
hi def link bbOEFunctions Special
hi def link bbVarPyValue PreProc
hi def link bbOverrideOperator Operator
let b:current_syntax = "bb"

1
bitbake/doc/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
_build/

339
bitbake/doc/COPYING.GPL Normal file
View File

@@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.

17
bitbake/doc/COPYING.MIT Normal file
View File

@@ -0,0 +1,17 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
THE USE OR OTHER DEALINGS IN THE SOFTWARE.

35
bitbake/doc/Makefile Normal file
View File

@@ -0,0 +1,35 @@
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -W --keep-going -j auto
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
DESTDIR = final
ifeq ($(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then echo 1; else echo 0; fi),0)
$(error "The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed")
endif
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile clean publish
publish: Makefile html singlehtml
rm -rf $(BUILDDIR)/$(DESTDIR)/
mkdir -p $(BUILDDIR)/$(DESTDIR)/
cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/
cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html
sed -i -e 's@index.html#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html
clean:
@rm -rf $(BUILDDIR)
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

55
bitbake/doc/README Normal file
View File

@@ -0,0 +1,55 @@
Documentation
=============
This is the directory that contains the BitBake documentation.
Manual Organization
===================
Folders exist for individual manuals as follows:
* bitbake-user-manual --- The BitBake User Manual
Each folder is self-contained regarding content and figures.
If you want to find HTML versions of the BitBake manuals on the web,
go to https://www.openembedded.org/wiki/Documentation.
Sphinx
======
The BitBake documentation was migrated from the original DocBook
format to Sphinx based documentation for the Yocto Project 3.2
release.
Additional information related to the Sphinx migration, and guidelines
for developers willing to contribute to the BitBake documentation can
be found in the Yocto Project Documentation README file:
https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/tree/documentation/README
How to build the Yocto Project documentation
============================================
Sphinx is written in Python. While it might work with Python2, for
obvious reasons, we will only support building the BitBake
documentation with Python3.
Sphinx might be available in your Linux distro packages repositories,
however it is not recommend using distro packages, as they might be
old versions, especially if you are using an LTS version of your
distro. The recommended method to install Sphinx and all required
dependencies is to use the Python Package Index (pip).
To install all required packages run:
$ pip3 install sphinx sphinx_rtd_theme pyyaml
To build the documentation locally, run:
$ cd doc
$ make html
The resulting HTML index page will be _build/html/index.html, and you
can browse your own copy of the locally generated documentation with
your browser.

14
bitbake/doc/_templates/breadcrumbs.html vendored Normal file
View File

@@ -0,0 +1,14 @@
{% extends "!breadcrumbs.html" %}
{% block breadcrumbs %}
<li>
<span class="doctype_switcher_placeholder">{{ doctype or 'single' }}</span>
<span class="version_switcher_placeholder">{{ release }}</span>
</li>
<li> &raquo;</li>
{% for doc in parents %}
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
{% endfor %}
<li>{{ title }}</li>
{% endblock %}

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>

7
bitbake/doc/_templates/layout.html vendored Normal file
View File

@@ -0,0 +1,7 @@
{% extends "!layout.html" %}
{% block extrabody %}
<div id="outdated-warning" style="text-align: center; background-color: #FFBABA; color: #6A0E0E;">
</div>
{% endblock %}

View File

@@ -0,0 +1,761 @@
.. SPDX-License-Identifier: CC-BY-2.5
=========
Execution
=========
|
The primary purpose for running BitBake is to produce some kind of
output such as a single installable package, a kernel, a software
development kit, or even a full, board-specific bootable Linux image,
complete with bootloader, kernel, and root filesystem. Of course, you
can execute the ``bitbake`` command with options that cause it to
execute single tasks, compile single recipe files, capture or clear
data, or simply return information about the execution environment.
This chapter describes BitBake's execution process from start to finish
when you use it to create an image. The execution process is launched
using the following command form::
$ bitbake target
For information on
the BitBake command and its options, see ":ref:`The BitBake Command
<bitbake-user-manual-command>`" section.
.. note::
Prior to executing BitBake, you should take advantage of available
parallel thread execution on your build host by setting the
:term:`BB_NUMBER_THREADS` variable in
your project's ``local.conf`` configuration file.
A common method to determine this value for your build host is to run
the following::
$ grep processor /proc/cpuinfo
This command returns
the number of processors, which takes into account hyper-threading.
Thus, a quad-core build host with hyper-threading most likely shows
eight processors, which is the value you would then assign to
:term:`BB_NUMBER_THREADS`.
A possibly simpler solution is that some Linux distributions (e.g.
Debian and Ubuntu) provide the ``ncpus`` command.
Parsing the Base Configuration Metadata
=======================================
The first thing BitBake does is parse base configuration metadata. Base
configuration metadata consists of your project's ``bblayers.conf`` file
to determine what layers BitBake needs to recognize, all necessary
``layer.conf`` files (one from each layer), and ``bitbake.conf``. The
data itself is of various types:
- **Recipes:** Details about particular pieces of software.
- **Class Data:** An abstraction of common build information (e.g. how to
build a Linux kernel).
- **Configuration Data:** Machine-specific settings, policy decisions,
and so forth. Configuration data acts as the glue to bind everything
together.
The ``layer.conf`` files are used to construct key variables such as
:term:`BBPATH` and :term:`BBFILES`.
:term:`BBPATH` is used to search for configuration and class files under the
``conf`` and ``classes`` directories, respectively. :term:`BBFILES` is used
to locate both recipe and recipe append files (``.bb`` and
``.bbappend``). If there is no ``bblayers.conf`` file, it is assumed the
user has set the :term:`BBPATH` and :term:`BBFILES` directly in the environment.
Next, the ``bitbake.conf`` file is located using the :term:`BBPATH` variable
that was just constructed. The ``bitbake.conf`` file may also include
other configuration files using the ``include`` or ``require``
directives.
Prior to parsing configuration files, BitBake looks at certain
variables, including:
- :term:`BB_ENV_PASSTHROUGH`
- :term:`BB_ENV_PASSTHROUGH_ADDITIONS`
- :term:`BB_PRESERVE_ENV`
- :term:`BB_ORIGENV`
- :term:`BITBAKE_UI`
The first four variables in this list relate to how BitBake treats shell
environment variables during task execution. By default, BitBake cleans
the environment variables and provides tight control over the shell
execution environment. However, through the use of these first four
variables, you can apply your control regarding the environment
variables allowed to be used by BitBake in the shell during execution of
tasks. See the
":ref:`bitbake-user-manual/bitbake-user-manual-metadata:Passing Information Into the Build Task Environment`"
section and the information about these variables in the variable
glossary for more information on how they work and on how to use them.
The base configuration metadata is global and therefore affects all
recipes and tasks that are executed.
BitBake first searches the current working directory for an optional
``conf/bblayers.conf`` configuration file. This file is expected to
contain a :term:`BBLAYERS` variable that is a
space-delimited list of 'layer' directories. Recall that if BitBake
cannot find a ``bblayers.conf`` file, then it is assumed the user has
set the :term:`BBPATH` and :term:`BBFILES` variables directly in the
environment.
For each directory (layer) in this list, a ``conf/layer.conf`` file is
located and parsed with the :term:`LAYERDIR` variable
being set to the directory where the layer was found. The idea is these
files automatically set up :term:`BBPATH` and other
variables correctly for a given build directory.
BitBake then expects to find the ``conf/bitbake.conf`` file somewhere in
the user-specified :term:`BBPATH`. That configuration file generally has
include directives to pull in any other metadata such as files specific
to the architecture, the machine, the local environment, and so forth.
Only variable definitions and include directives are allowed in BitBake
``.conf`` files. Some variables directly influence BitBake's behavior.
These variables might have been set from the environment depending on
the environment variables previously mentioned or set in the
configuration files. The ":ref:`bitbake-user-manual/bitbake-user-manual-ref-variables:Variables Glossary`"
chapter presents a full list of
variables.
After parsing configuration files, BitBake uses its rudimentary
inheritance mechanism, which is through class files, to inherit some
standard classes. BitBake parses a class when the inherit directive
responsible for getting that class is encountered.
The ``base.bbclass`` file is always included. Other classes that are
specified in the configuration using the
:term:`INHERIT` variable are also included. BitBake
searches for class files in a ``classes`` subdirectory under the paths
in :term:`BBPATH` in the same way as configuration files.
A good way to get an idea of the configuration files and the class files
used in your execution environment is to run the following BitBake
command::
$ bitbake -e > mybb.log
Examining the top of the ``mybb.log``
shows you the many configuration files and class files used in your
execution environment.
.. note::
You need to be aware of how BitBake parses curly braces. If a recipe
uses a closing curly brace within the function and the character has
no leading spaces, BitBake produces a parsing error. If you use a
pair of curly braces in a shell function, the closing curly brace
must not be located at the start of the line without leading spaces.
Here is an example that causes BitBake to produce a parsing error::
fakeroot create_shar() {
cat << "EOF" > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
usage()
{
echo "test"
###### The following "}" at the start of the line causes a parsing error ######
}
EOF
}
Writing the recipe this way avoids the error:
fakeroot create_shar() {
cat << "EOF" > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
usage()
{
echo "test"
###### The following "}" with a leading space at the start of the line avoids the error ######
}
EOF
}
Locating and Parsing Recipes
============================
During the configuration phase, BitBake will have set
:term:`BBFILES`. BitBake now uses it to construct a
list of recipes to parse, along with any append files (``.bbappend``) to
apply. :term:`BBFILES` is a space-separated list of available files and
supports wildcards. An example would be::
BBFILES = "/path/to/bbfiles/*.bb /path/to/appends/*.bbappend"
BitBake parses each
recipe and append file located with :term:`BBFILES` and stores the values of
various variables into the datastore.
.. note::
Append files are applied in the order they are encountered in BBFILES.
For each file, a fresh copy of the base configuration is made, then the
recipe is parsed line by line. Any inherit statements cause BitBake to
find and then parse class files (``.bbclass``) using
:term:`BBPATH` as the search path. Finally, BitBake
parses in order any append files found in :term:`BBFILES`.
One common convention is to use the recipe filename to define pieces of
metadata. For example, in ``bitbake.conf`` the recipe name and version
are used to set the variables :term:`PN` and
:term:`PV`::
PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
PV = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
In this example, a recipe called "something_1.2.3.bb" would set
:term:`PN` to "something" and :term:`PV` to "1.2.3".
By the time parsing is complete for a recipe, BitBake has a list of
tasks that the recipe defines and a set of data consisting of keys and
values as well as dependency information about the tasks.
BitBake does not need all of this information. It only needs a small
subset of the information to make decisions about the recipe.
Consequently, BitBake caches the values in which it is interested and
does not store the rest of the information. Experience has shown it is
faster to re-parse the metadata than to try and write it out to the disk
and then reload it.
Where possible, subsequent BitBake commands reuse this cache of recipe
information. The validity of this cache is determined by first computing
a checksum of the base configuration data (see
:term:`BB_HASHCONFIG_IGNORE_VARS`) and
then checking if the checksum matches. If that checksum matches what is
in the cache and the recipe and class files have not changed, BitBake is
able to use the cache. BitBake then reloads the cached information about
the recipe instead of reparsing it from scratch.
Recipe file collections exist to allow the user to have multiple
repositories of ``.bb`` files that contain the same exact package. For
example, one could easily use them to make one's own local copy of an
upstream repository, but with custom modifications that one does not
want upstream. Here is an example::
BBFILES = "/stuff/openembedded/*/*.bb /stuff/openembedded.modified/*/*.bb"
BBFILE_COLLECTIONS = "upstream local"
BBFILE_PATTERN_upstream = "^/stuff/openembedded/"
BBFILE_PATTERN_local = "^/stuff/openembedded.modified/"
BBFILE_PRIORITY_upstream = "5"
BBFILE_PRIORITY_local = "10"
.. note::
The layers mechanism is now the preferred method of collecting code.
While the collections code remains, its main use is to set layer
priorities and to deal with overlap (conflicts) between layers.
.. _bb-bitbake-providers:
Providers
=========
Assuming BitBake has been instructed to execute a target and that all
the recipe files have been parsed, BitBake starts to figure out how to
build the target. BitBake looks through the :term:`PROVIDES` list for each
of the recipes. A :term:`PROVIDES` list is the list of names by which the
recipe can be known. Each recipe's :term:`PROVIDES` list is created
implicitly through the recipe's :term:`PN` variable and
explicitly through the recipe's :term:`PROVIDES`
variable, which is optional.
When a recipe uses :term:`PROVIDES`, that recipe's functionality can be
found under an alternative name or names other than the implicit :term:`PN`
name. As an example, suppose a recipe named ``keyboard_1.0.bb``
contained the following::
PROVIDES += "fullkeyboard"
The :term:`PROVIDES`
list for this recipe becomes "keyboard", which is implicit, and
"fullkeyboard", which is explicit. Consequently, the functionality found
in ``keyboard_1.0.bb`` can be found under two different names.
.. _bb-bitbake-preferences:
Preferences
===========
The :term:`PROVIDES` list is only part of the solution for figuring out a
target's recipes. Because targets might have multiple providers, BitBake
needs to prioritize providers by determining provider preferences.
A common example in which a target has multiple providers is
"virtual/kernel", which is on the :term:`PROVIDES` list for each kernel
recipe. Each machine often selects the best kernel provider by using a
line similar to the following in the machine configuration file::
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
The default :term:`PREFERRED_PROVIDER` is the provider
with the same name as the target. BitBake iterates through each target
it needs to build and resolves them and their dependencies using this
process.
Understanding how providers are chosen is made complicated by the fact
that multiple versions might exist for a given provider. BitBake
defaults to the highest version of a provider. Version comparisons are
made using the same method as Debian. You can use the
:term:`PREFERRED_VERSION` variable to
specify a particular version. You can influence the order by using the
:term:`DEFAULT_PREFERENCE` variable.
By default, files have a preference of "0". Setting
:term:`DEFAULT_PREFERENCE` to "-1" makes the recipe unlikely to be used
unless it is explicitly referenced. Setting :term:`DEFAULT_PREFERENCE` to
"1" makes it likely the recipe is used. :term:`PREFERRED_VERSION` overrides
any :term:`DEFAULT_PREFERENCE` setting. :term:`DEFAULT_PREFERENCE` is often used
to mark newer and more experimental recipe versions until they have
undergone sufficient testing to be considered stable.
When there are multiple "versions" of a given recipe, BitBake defaults
to selecting the most recent version, unless otherwise specified. If the
recipe in question has a
:term:`DEFAULT_PREFERENCE` set lower than
the other recipes (default is 0), then it will not be selected. This
allows the person or persons maintaining the repository of recipe files
to specify their preference for the default selected version.
Additionally, the user can specify their preferred version.
If the first recipe is named ``a_1.1.bb``, then the
:term:`PN` variable will be set to "a", and the
:term:`PV` variable will be set to 1.1.
Thus, if a recipe named ``a_1.2.bb`` exists, BitBake will choose 1.2 by
default. However, if you define the following variable in a ``.conf``
file that BitBake parses, you can change that preference::
PREFERRED_VERSION_a = "1.1"
.. note::
It is common for a recipe to provide two versions -- a stable,
numbered (and preferred) version, and a version that is automatically
checked out from a source code repository that is considered more
"bleeding edge" but can be selected only explicitly.
For example, in the OpenEmbedded codebase, there is a standard,
versioned recipe file for BusyBox, ``busybox_1.22.1.bb``, but there
is also a Git-based version, ``busybox_git.bb``, which explicitly
contains the line ::
DEFAULT_PREFERENCE = "-1"
to ensure that the
numbered, stable version is always preferred unless the developer
selects otherwise.
.. _bb-bitbake-dependencies:
Dependencies
============
Each target BitBake builds consists of multiple tasks such as ``fetch``,
``unpack``, ``patch``, ``configure``, and ``compile``. For best
performance on multi-core systems, BitBake considers each task as an
independent entity with its own set of dependencies.
Dependencies are defined through several variables. You can find
information about variables BitBake uses in the
:doc:`bitbake-user-manual-ref-variables` near the end of this manual. At a
basic level, it is sufficient to know that BitBake uses the
:term:`DEPENDS` and
:term:`RDEPENDS` variables when calculating
dependencies.
For more information on how BitBake handles dependencies, see the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:Dependencies`
section.
.. _ref-bitbake-tasklist:
The Task List
=============
Based on the generated list of providers and the dependency information,
BitBake can now calculate exactly what tasks it needs to run and in what
order it needs to run them. The
:ref:`bitbake-user-manual/bitbake-user-manual-execution:executing tasks`
section has more information on how BitBake chooses which task to
execute next.
The build now starts with BitBake forking off threads up to the limit
set in the :term:`BB_NUMBER_THREADS`
variable. BitBake continues to fork threads as long as there are tasks
ready to run, those tasks have all their dependencies met, and the
thread threshold has not been exceeded.
It is worth noting that you can greatly speed up the build time by
properly setting the :term:`BB_NUMBER_THREADS` variable.
As each task completes, a timestamp is written to the directory
specified by the :term:`STAMP` variable. On subsequent
runs, BitBake looks in the build directory within ``tmp/stamps`` and
does not rerun tasks that are already completed unless a timestamp is
found to be invalid. Currently, invalid timestamps are only considered
on a per recipe file basis. So, for example, if the configure stamp has
a timestamp greater than the compile timestamp for a given target, then
the compile task would rerun. Running the compile task again, however,
has no effect on other providers that depend on that target.
The exact format of the stamps is partly configurable. In modern
versions of BitBake, a hash is appended to the stamp so that if the
configuration changes, the stamp becomes invalid and the task is
automatically rerun. This hash, or signature used, is governed by the
signature policy that is configured (see the
:ref:`bitbake-user-manual/bitbake-user-manual-execution:checksums (signatures)`
section for information). It is also
possible to append extra metadata to the stamp using the
``[stamp-extra-info]`` task flag. For example, OpenEmbedded uses this
flag to make some tasks machine-specific.
.. note::
Some tasks are marked as "nostamp" tasks. No timestamp file is
created when these tasks are run. Consequently, "nostamp" tasks are
always rerun.
For more information on tasks, see the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:tasks` section.
Executing Tasks
===============
Tasks can be either a shell task or a Python task. For shell tasks,
BitBake writes a shell script to
``${``\ :term:`T`\ ``}/run.do_taskname.pid`` and then
executes the script. The generated shell script contains all the
exported variables, and the shell functions with all variables expanded.
Output from the shell script goes to the file
``${``\ :term:`T`\ ``}/log.do_taskname.pid``. Looking at the expanded shell functions in
the run file and the output in the log files is a useful debugging
technique.
For Python tasks, BitBake executes the task internally and logs
information to the controlling terminal. Future versions of BitBake will
write the functions to files similar to the way shell tasks are handled.
Logging will be handled in a way similar to shell tasks as well.
The order in which BitBake runs the tasks is controlled by its task
scheduler. It is possible to configure the scheduler and define custom
implementations for specific use cases. For more information, see these
variables that control the behavior:
- :term:`BB_SCHEDULER`
- :term:`BB_SCHEDULERS`
It is possible to have functions run before and after a task's main
function. This is done using the ``[prefuncs]`` and ``[postfuncs]``
flags of the task that lists the functions to run.
.. _checksums:
Checksums (Signatures)
======================
A checksum is a unique signature of a task's inputs. The signature of a
task can be used to determine if a task needs to be run. Because it is a
change in a task's inputs that triggers running the task, BitBake needs
to detect all the inputs to a given task. For shell tasks, this turns
out to be fairly easy because BitBake generates a "run" shell script for
each task and it is possible to create a checksum that gives you a good
idea of when the task's data changes.
To complicate the problem, some things should not be included in the
checksum. First, there is the actual specific build path of a given task
- the working directory. It does not matter if the working directory
changes because it should not affect the output for target packages. The
simplistic approach for excluding the working directory is to set it to
some fixed value and create the checksum for the "run" script. BitBake
goes one step better and uses the
:term:`BB_BASEHASH_IGNORE_VARS` variable
to define a list of variables that should never be included when
generating the signatures.
Another problem results from the "run" scripts containing functions that
might or might not get called. The incremental build solution contains
code that figures out dependencies between shell functions. This code is
used to prune the "run" scripts down to the minimum set, thereby
alleviating this problem and making the "run" scripts much more readable
as a bonus.
So far we have solutions for shell scripts. What about Python tasks? The
same approach applies even though these tasks are more difficult. The
process needs to figure out what variables a Python function accesses
and what functions it calls. Again, the incremental build solution
contains code that first figures out the variable and function
dependencies, and then creates a checksum for the data used as the input
to the task.
Like the working directory case, situations exist where dependencies
should be ignored. For these cases, you can instruct the build process
to ignore a dependency by using a line like the following::
PACKAGE_ARCHS[vardepsexclude] = "MACHINE"
This example ensures that the
``PACKAGE_ARCHS`` variable does not depend on the value of ``MACHINE``,
even if it does reference it.
Equally, there are cases where we need to add dependencies BitBake is
not able to find. You can accomplish this by using a line like the
following::
PACKAGE_ARCHS[vardeps] = "MACHINE"
This example explicitly
adds the ``MACHINE`` variable as a dependency for ``PACKAGE_ARCHS``.
Consider a case with in-line Python, for example, where BitBake is not
able to figure out dependencies. When running in debug mode (i.e. using
``-DDD``), BitBake produces output when it discovers something for which
it cannot figure out dependencies.
Thus far, this section has limited discussion to the direct inputs into
a task. Information based on direct inputs is referred to as the
"basehash" in the code. However, there is still the question of a task's
indirect inputs --- the things that were already built and present in the
build directory. The checksum (or signature) for a particular task needs
to add the hashes of all the tasks on which the particular task depends.
Choosing which dependencies to add is a policy decision. However, the
effect is to generate a master checksum that combines the basehash and
the hashes of the task's dependencies.
At the code level, there are a variety of ways both the basehash and the
dependent task hashes can be influenced. Within the BitBake
configuration file, we can give BitBake some extra information to help
it construct the basehash. The following statement effectively results
in a list of global variable dependency excludes --- variables never
included in any checksum. This example uses variables from OpenEmbedded
to help illustrate the concept::
BB_BASEHASH_IGNORE_VARS ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR \
SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL \
USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST \
PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE \
CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE CCACHE_DISABLE LICENSE_PATH SDKPKGSUFFIX"
The previous example excludes the work directory, which is part of
``TMPDIR``.
The rules for deciding which hashes of dependent tasks to include
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 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
``bitbake.conf`` file::
BB_SIGNATURE_HANDLER ?= "OEBasicHash"
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 signature
generators is to make some dependency and hash information available to
the build. This information includes:
- ``BB_BASEHASH_task-``\ *taskname*: The base hashes for each task in the
recipe.
- ``BB_BASEHASH_``\ *filename:taskname*: The base hashes for each
dependent task.
- :term:`BB_TASKHASH`: The hash of the currently running task.
It is worth noting that BitBake's "-S" option lets you debug BitBake's
processing of signatures. The options passed to -S allow different
debugging modes to be used, either using BitBake's own debug functions
or possibly those defined in the metadata/signature handler itself. The
simplest parameter to pass is "none", which causes a set of signature
information to be written out into ``STAMPS_DIR`` corresponding to the
targets specified. The other currently available parameter is
"printdiff", which causes BitBake to try to establish the most recent
signature match it can (e.g. in the sstate cache) and then run
compare the matched signatures to determine the stamps and delta
where these two stamp trees diverge. This can be used to determine why
tasks need to be re-run in situations where that is not expected.
.. note::
It is likely that future versions of BitBake will provide other
signature handlers triggered through additional "-S" parameters.
You can find more information on checksum metadata in the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:task checksums and setscene`
section.
Setscene
========
The setscene process enables BitBake to handle "pre-built" artifacts.
The ability to handle and reuse these artifacts allows BitBake the
luxury of not having to build something from scratch every time.
Instead, BitBake can use, when possible, existing build artifacts.
BitBake needs to have reliable data indicating whether or not an
artifact is compatible. Signatures, described in the previous section,
provide an ideal way of representing whether an artifact is compatible.
If a signature is the same, an object can be reused.
If an object can be reused, the problem then becomes how to replace a
given task or set of tasks with the pre-built artifact. BitBake solves
the problem with the "setscene" process.
When BitBake is asked to build a given target, before building anything,
it first asks whether cached information is available for any of the
targets it's building, or any of the intermediate targets. If cached
information is available, BitBake uses this information instead of
running the main tasks.
BitBake first calls the function defined by the
:term:`BB_HASHCHECK_FUNCTION` variable
with a list of tasks and corresponding hashes it wants to build. This
function is designed to be fast and returns a list of the tasks for
which it believes in can obtain artifacts.
Next, for each of the tasks that were returned as possibilities, BitBake
executes a setscene version of the task that the possible artifact
covers. Setscene versions of a task have the string "_setscene" appended
to the task name. So, for example, the task with the name ``xxx`` has a
setscene task named ``xxx_setscene``. The setscene version of the task
executes and provides the necessary artifacts returning either success
or failure.
As previously mentioned, an artifact can cover more than one task. For
example, it is pointless to obtain a compiler if you already have the
compiled binary. To handle this, BitBake calls the
:term:`BB_SETSCENE_DEPVALID` function for
each successful setscene task to know whether or not it needs to obtain
the dependencies of that task.
You can find more information on setscene metadata in the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:task checksums and setscene`
section.
Logging
=======
In addition to the standard command line option to control how verbose
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
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:
- The user defined configuration will completely replace the default
configuration if top level key ``bitbake_merge`` is set to the value
``False``. In this case, all other rules are ignored.
- The user configuration must have a top level ``version`` which must
match the value of the default configuration.
- Any keys defined in the ``handlers``, ``formatters``, or ``filters``,
will be merged into the same section in the default configuration,
with the user specified keys taking replacing a default one if there
is a conflict. In practice, this means that if both the default
configuration and user configuration specify a handler named
``myhandler``, the user defined one will replace the default. To
prevent the user from inadvertently replacing a default handler,
formatter, or filter, all of the default ones are named with a prefix
of "``BitBake.``"
- If a logger is defined by the user with the key ``bitbake_merge`` set
to ``False``, that logger will be completely replaced by user
configuration. In this case, no other rules will apply to that
logger.
- All user defined ``filter`` and ``handlers`` properties for a given
logger will be merged with corresponding properties from the default
logger. For example, if the user configuration adds a filter called
``myFilter`` to the ``BitBake.SigGen``, and the default configuration
adds a filter called ``BitBake.defaultFilter``, both filters will be
applied to the logger
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,
"handlers": {
"autobuilderlog": {
"class": "logging.FileHandler",
"formatter": "logfileFormatter",
"level": "DEBUG",
"filename": "hashequiv.log",
"mode": "w"
}
},
"formatters": {
"logfileFormatter": {
"format": "%(name)s: %(levelname)s: %(message)s"
}
},
"loggers": {
"BitBake.SigGen.HashEquiv": {
"level": "VERBOSE",
"handlers": ["autobuilderlog"]
},
"BitBake.RunQueue.HashEquiv": {
"level": "VERBOSE",
"handlers": ["autobuilderlog"]
}
}
}
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

@@ -0,0 +1,851 @@
.. SPDX-License-Identifier: CC-BY-2.5
=====================
File Download Support
=====================
|
BitBake's fetch module is a standalone piece of library code that deals
with the intricacies of downloading source code and files from remote
systems. Fetching source code is one of the cornerstones of building
software. As such, this module forms an important part of BitBake.
The current fetch module is called "fetch2" and refers to the fact that
it is the second major version of the API. The original version is
obsolete and has been removed from the codebase. Thus, in all cases,
"fetch" refers to "fetch2" in this manual.
The Download (Fetch)
====================
BitBake takes several steps when fetching source code or files. The
fetcher codebase deals with two distinct processes in order: obtaining
the files from somewhere (cached or otherwise) and then unpacking those
files into a specific location and perhaps in a specific way. Getting
and unpacking the files is often optionally followed by patching.
Patching, however, is not covered by this module.
The code to execute the first part of this process, a fetch, looks
something like the following::
src_uri = (d.getVar('SRC_URI') or "").split()
fetcher = bb.fetch2.Fetch(src_uri, d)
fetcher.download()
This code sets up an instance of the fetch class. The instance uses a
space-separated list of URLs from the :term:`SRC_URI`
variable and then calls the ``download`` method to download the files.
The instantiation of the fetch class is usually followed by::
rootdir = l.getVar('WORKDIR')
fetcher.unpack(rootdir)
This code unpacks the downloaded files to the specified by ``WORKDIR``.
.. note::
For convenience, the naming in these examples matches the variables
used by OpenEmbedded. If you want to see the above code in action,
examine the OpenEmbedded class file ``base.bbclass``
.
The :term:`SRC_URI` and ``WORKDIR`` variables are not hardcoded into the
fetcher, since those fetcher methods can be (and are) called with
different variable names. In OpenEmbedded for example, the shared state
(sstate) code uses the fetch module to fetch the sstate files.
When the ``download()`` method is called, BitBake tries to resolve the
URLs by looking for source files in a specific search order:
- *Pre-mirror Sites:* BitBake first uses pre-mirrors to try and find
source files. These locations are defined using the
:term:`PREMIRRORS` variable.
- *Source URI:* If pre-mirrors fail, BitBake uses the original URL (e.g
from :term:`SRC_URI`).
- *Mirror Sites:* If fetch failures occur, BitBake next uses mirror
locations as defined by the :term:`MIRRORS` variable.
For each URL passed to the fetcher, the fetcher calls the submodule that
handles that particular URL type. This behavior can be the source of
some confusion when you are providing URLs for the :term:`SRC_URI` variable.
Consider the following two URLs::
https://git.yoctoproject.org/git/poky;protocol=git
git://git.yoctoproject.org/git/poky;protocol=http
In the former case, the URL is passed to the ``wget`` fetcher, which does not
understand "git". Therefore, the latter case is the correct form since the Git
fetcher does know how to use HTTP as a transport.
Here are some examples that show commonly used mirror definitions::
PREMIRRORS ?= "\
bzr://.*/.\* http://somemirror.org/sources/ \
cvs://.*/.\* http://somemirror.org/sources/ \
git://.*/.\* http://somemirror.org/sources/ \
hg://.*/.\* http://somemirror.org/sources/ \
osc://.*/.\* http://somemirror.org/sources/ \
p4://.*/.\* http://somemirror.org/sources/ \
svn://.*/.\* http://somemirror.org/sources/"
MIRRORS =+ "\
ftp://.*/.\* http://somemirror.org/sources/ \
http://.*/.\* http://somemirror.org/sources/ \
https://.*/.\* http://somemirror.org/sources/"
It is useful to note that BitBake
supports cross-URLs. It is possible to mirror a Git repository on an
HTTP server as a tarball. This is what the ``git://`` mapping in the
previous example does.
Since network accesses are slow, BitBake maintains a cache of files
downloaded from the network. Any source files that are not local (i.e.
downloaded from the Internet) are placed into the download directory,
which is specified by the :term:`DL_DIR` variable.
File integrity is of key importance for reproducing builds. For
non-local archive downloads, the fetcher code can verify SHA-256 and MD5
checksums to ensure the archives have been downloaded correctly. You can
specify these checksums by using the :term:`SRC_URI` variable with the
appropriate varflags as follows::
SRC_URI[md5sum] = "value"
SRC_URI[sha256sum] = "value"
You can also specify the checksums as
parameters on the :term:`SRC_URI` as shown below::
SRC_URI = "http://example.com/foobar.tar.bz2;md5sum=4a8e0f237e961fd7785d19d07fdb994d"
If multiple URIs exist, you can specify the checksums either directly as
in the previous example, or you can name the URLs. The following syntax
shows how you name the URIs::
SRC_URI = "http://example.com/foobar.tar.bz2;name=foo"
SRC_URI[foo.md5sum] = 4a8e0f237e961fd7785d19d07fdb994d
After a file has been downloaded and
has had its checksum checked, a ".done" stamp is placed in :term:`DL_DIR`.
BitBake uses this stamp during subsequent builds to avoid downloading or
comparing a checksum for the file again.
.. note::
It is assumed that local storage is safe from data corruption. If
this were not the case, there would be bigger issues to worry about.
If :term:`BB_STRICT_CHECKSUM` is set, any
download without a checksum triggers an error message. The
:term:`BB_NO_NETWORK` variable can be used to
make any attempted network access a fatal error, which is useful for
checking that mirrors are complete as well as other things.
If :term:`BB_CHECK_SSL_CERTS` is set to ``0`` then SSL certificate checking will
be disabled. This variable defaults to ``1`` so SSL certificates are normally
checked.
.. _bb-the-unpack:
The Unpack
==========
The unpack process usually immediately follows the download. For all
URLs except Git URLs, BitBake uses the common ``unpack`` method.
A number of parameters exist that you can specify within the URL to
govern the behavior of the unpack stage:
- *unpack:* Controls whether the URL components are unpacked. If set to
"1", which is the default, the components are unpacked. If set to
"0", the unpack stage leaves the file alone. This parameter is useful
when you want an archive to be copied in and not be unpacked.
- *dos:* Applies to ``.zip`` and ``.jar`` files and specifies whether
to use DOS line ending conversion on text files.
- *striplevel:* Strip specified number of leading components (levels)
from file names on extraction
- *subdir:* Unpacks the specific URL to the specified subdirectory
within the root directory.
The unpack call automatically decompresses and extracts files with ".Z",
".z", ".gz", ".xz", ".zip", ".jar", ".ipk", ".rpm". ".srpm", ".deb" and
".bz2" extensions as well as various combinations of tarball extensions.
As mentioned, the Git fetcher has its own unpack method that is
optimized to work with Git trees. Basically, this method works by
cloning the tree into the final directory. The process is completed
using references so that there is only one central copy of the Git
metadata needed.
.. _bb-fetchers:
Fetchers
========
As mentioned earlier, the URL prefix determines which fetcher submodule
BitBake uses. Each submodule can support different URL parameters, which
are described in the following sections.
.. _local-file-fetcher:
Local file fetcher (``file://``)
--------------------------------
This submodule handles URLs that begin with ``file://``. The filename
you specify within the URL can be either an absolute or relative path to
a file. If the filename is relative, the contents of the
:term:`FILESPATH` variable is used in the same way
``PATH`` is used to find executables. If the file cannot be found, it is
assumed that it is available in :term:`DL_DIR` by the
time the ``download()`` method is called.
If you specify a directory, the entire directory is unpacked.
Here are a couple of example URLs, the first relative and the second
absolute::
SRC_URI = "file://relativefile.patch"
SRC_URI = "file:///Users/ich/very_important_software"
.. _http-ftp-fetcher:
HTTP/FTP wget fetcher (``http://``, ``ftp://``, ``https://``)
-------------------------------------------------------------
This fetcher obtains files from web and FTP servers. Internally, the
fetcher uses the wget utility.
The executable and parameters used are specified by the
``FETCHCMD_wget`` variable, which defaults to sensible values. The
fetcher supports a parameter "downloadfilename" that allows the name of
the downloaded file to be specified. Specifying the name of the
downloaded file is useful for avoiding collisions in
:term:`DL_DIR` when dealing with multiple files that
have the same name.
If a username and password are specified in the ``SRC_URI``, a Basic
Authorization header will be added to each request, including across redirects.
To instead limit the Authorization header to the first request, add
"redirectauth=0" to the list of parameters.
Some example URLs are as follows::
SRC_URI = "http://oe.handhelds.org/not_there.aac"
SRC_URI = "ftp://oe.handhelds.org/not_there_as_well.aac"
SRC_URI = "ftp://you@oe.handhelds.org/home/you/secret.plan"
.. note::
Because URL parameters are delimited by semi-colons, this can
introduce ambiguity when parsing URLs that also contain semi-colons,
for example::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git;a=snapshot;h=a5dd47"
Such URLs should should be modified by replacing semi-colons with '&'
characters::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47"
In most cases this should work. Treating semi-colons and '&' in
queries identically is recommended by the World Wide Web Consortium
(W3C). Note that due to the nature of the URL, you may have to
specify the name of the downloaded file as well::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47;downloadfilename=myfile.bz2"
.. _cvs-fetcher:
CVS fetcher (``(cvs://``)
-------------------------
This submodule handles checking out files from the CVS version control
system. You can configure it using a number of different variables:
- :term:`FETCHCMD_cvs <FETCHCMD>`: The name of the executable to use when running
the ``cvs`` command. This name is usually "cvs".
- :term:`SRCDATE`: The date to use when fetching the CVS source code. A
special value of "now" causes the checkout to be updated on every
build.
- :term:`CVSDIR`: Specifies where a temporary
checkout is saved. The location is often ``DL_DIR/cvs``.
- CVS_PROXY_HOST: The name to use as a "proxy=" parameter to the
``cvs`` command.
- CVS_PROXY_PORT: The port number to use as a "proxyport="
parameter to the ``cvs`` command.
As well as the standard username and password URL syntax, you can also
configure the fetcher with various URL parameters:
The supported parameters are as follows:
- *"method":* The protocol over which to communicate with the CVS
server. By default, this protocol is "pserver". If "method" is set to
"ext", BitBake examines the "rsh" parameter and sets ``CVS_RSH``. You
can use "dir" for local directories.
- *"module":* Specifies the module to check out. You must supply this
parameter.
- *"tag":* Describes which CVS TAG should be used for the checkout. By
default, the TAG is empty.
- *"date":* Specifies a date. If no "date" is specified, the
:term:`SRCDATE` of the configuration is used to
checkout a specific date. The special value of "now" causes the
checkout to be updated on every build.
- *"localdir":* Used to rename the module. Effectively, you are
renaming the output directory to which the module is unpacked. You
are forcing the module into a special directory relative to
:term:`CVSDIR`.
- *"rsh":* Used in conjunction with the "method" parameter.
- *"scmdata":* Causes the CVS metadata to be maintained in the tarball
the fetcher creates when set to "keep". The tarball is expanded into
the work directory. By default, the CVS metadata is removed.
- *"fullpath":* Controls whether the resulting checkout is at the
module level, which is the default, or is at deeper paths.
- *"norecurse":* Causes the fetcher to only checkout the specified
directory with no recurse into any subdirectories.
- *"port":* The port to which the CVS server connects.
Some example URLs are as follows::
SRC_URI = "cvs://CVSROOT;module=mymodule;tag=some-version;method=ext"
SRC_URI = "cvs://CVSROOT;module=mymodule;date=20060126;localdir=usethat"
.. _svn-fetcher:
Subversion (SVN) Fetcher (``svn://``)
-------------------------------------
This fetcher submodule fetches code from the Subversion source control
system. The executable used is specified by ``FETCHCMD_svn``, which
defaults to "svn". The fetcher's temporary working directory is set by
:term:`SVNDIR`, which is usually ``DL_DIR/svn``.
The supported parameters are as follows:
- *"module":* The name of the svn module to checkout. You must provide
this parameter. You can think of this parameter as the top-level
directory of the repository data you want.
- *"path_spec":* A specific directory in which to checkout the
specified svn module.
- *"protocol":* The protocol to use, which defaults to "svn". If
"protocol" is set to "svn+ssh", the "ssh" parameter is also used.
- *"rev":* The revision of the source code to checkout.
- *"scmdata":* Causes the ".svn" directories to be available during
compile-time when set to "keep". By default, these directories are
removed.
- *"ssh":* An optional parameter used when "protocol" is set to
"svn+ssh". You can use this parameter to specify the ssh program used
by svn.
- *"transportuser":* When required, sets the username for the
transport. By default, this parameter is empty. The transport
username is different than the username used in the main URL, which
is passed to the subversion command.
Following are three examples using svn::
SRC_URI = "svn://myrepos/proj1;module=vip;protocol=http;rev=667"
SRC_URI = "svn://myrepos/proj1;module=opie;protocol=svn+ssh"
SRC_URI = "svn://myrepos/proj1;module=trunk;protocol=http;path_spec=${MY_DIR}/proj1"
.. _git-fetcher:
Git Fetcher (``git://``)
------------------------
This fetcher submodule fetches code from the Git source control system.
The fetcher works by creating a bare clone of the remote into
:term:`GITDIR`, which is usually ``DL_DIR/git2``. This
bare clone is then cloned into the work directory during the unpack
stage when a specific tree is checked out. This is done using alternates
and by reference to minimize the amount of duplicate data on the disk
and make the unpack process fast. The executable used can be set with
``FETCHCMD_git``.
This fetcher supports the following parameters:
- *"protocol":* The protocol used to fetch the files. The default is
"git" when a hostname is set. If a hostname is not set, the Git
protocol is "file". You can also use "http", "https", "ssh" and
"rsync".
.. note::
When ``protocol`` is "ssh", the URL expected in :term:`SRC_URI` differs
from the one that is typically passed to ``git clone`` command and provided
by the Git server to fetch from. For example, the URL returned by GitLab
server for ``mesa`` when cloning over SSH is
``git@gitlab.freedesktop.org:mesa/mesa.git``, however the expected URL in
:term:`SRC_URI` is the following::
SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;branch=main;protocol=ssh;..."
Note the ``:`` character changed for a ``/`` before the path to the project.
- *"nocheckout":* Tells the fetcher to not checkout source code when
unpacking when set to "1". Set this option for the URL where there is
a custom routine to checkout code. The default is "0".
- *"rebaseable":* Indicates that the upstream Git repository can be
rebased. You should set this parameter to "1" if revisions can become
detached from branches. In this case, the source mirror tarball is
done per revision, which has a loss of efficiency. Rebasing the
upstream Git repository could cause the current revision to disappear
from the upstream repository. This option reminds the fetcher to
preserve the local cache carefully for future use. The default value
for this parameter is "0".
- *"nobranch":* Tells the fetcher to not check the SHA validation for
the branch when set to "1". The default is "0". Set this option for
the recipe that refers to the commit that is valid for any namespace
(branch, tag, ...) instead of the branch.
- *"bareclone":* Tells the fetcher to clone a bare clone into the
destination directory without checking out a working tree. Only the
raw Git metadata is provided. This parameter implies the "nocheckout"
parameter as well.
- *"branch":* The branch(es) of the Git tree to clone. Unless
"nobranch" is set to "1", this is a mandatory parameter. The number of
branch parameters must match the number of name parameters.
- *"rev":* The revision to use for the checkout. The default is
"master".
- *"tag":* Specifies a tag to use for the checkout. To correctly
resolve tags, BitBake must access the network. For that reason, tags
are often not used. As far as Git is concerned, the "tag" parameter
behaves effectively the same as the "rev" parameter.
- *"subpath":* Limits the checkout to a specific subpath of the tree.
By default, the whole tree is checked out.
- *"destsuffix":* The name of the path in which to place the checkout.
By default, the path is ``git/``.
- *"usehead":* Enables local ``git://`` URLs to use the current branch
HEAD as the revision for use with ``AUTOREV``. The "usehead"
parameter implies no branch and only works when the transfer protocol
is ``file://``.
Here are some example URLs::
SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV};tag=${PV}"
SRC_URI = "git://github.com/asciidoc/asciidoc-py;protocol=https;branch=main"
SRC_URI = "git://git@gitlab.freedesktop.org/mesa/mesa.git;branch=main;protocol=ssh;..."
.. note::
When using ``git`` as the fetcher of the main source code of your software,
``S`` should be set accordingly::
S = "${WORKDIR}/git"
.. note::
Specifying passwords directly in ``git://`` urls is not supported.
There are several reasons: :term:`SRC_URI` is often written out to logs and
other places, and that could easily leak passwords; it is also all too
easy to share metadata without removing passwords. SSH keys, ``~/.netrc``
and ``~/.ssh/config`` files can be used as alternatives.
Using tags with the git fetcher may cause surprising behaviour. Bitbake needs to
resolve the tag to a specific revision and to do that, it has to connect to and use
the upstream repository. This is because the revision the tags point at can change and
we've seen cases of this happening in well known public repositories. This can mean
many more network connections than expected and recipes may be reparsed at every build.
Source mirrors will also be bypassed as the upstream repository is the only source
of truth to resolve the revision accurately. For these reasons, whilst the fetcher
can support tags, we recommend being specific about revisions in recipes.
.. _gitsm-fetcher:
Git Submodule Fetcher (``gitsm://``)
------------------------------------
This fetcher submodule inherits from the :ref:`Git
fetcher<bitbake-user-manual/bitbake-user-manual-fetching:git fetcher
(\`\`git://\`\`)>` and extends that fetcher's behavior by fetching a
repository's submodules. :term:`SRC_URI` is passed to the Git fetcher as
described in the :ref:`bitbake-user-manual/bitbake-user-manual-fetching:git
fetcher (\`\`git://\`\`)` section.
.. note::
You must clean a recipe when switching between '``git://``' and
'``gitsm://``' URLs.
The Git Submodules fetcher is not a complete fetcher implementation.
The fetcher has known issues where it does not use the normal source
mirroring infrastructure properly. Further, the submodule sources it
fetches are not visible to the licensing and source archiving
infrastructures.
.. _clearcase-fetcher:
ClearCase Fetcher (``ccrc://``)
-------------------------------
This fetcher submodule fetches code from a
`ClearCase <http://en.wikipedia.org/wiki/Rational_ClearCase>`__
repository.
To use this fetcher, make sure your recipe has proper
:term:`SRC_URI`, :term:`SRCREV`, and
:term:`PV` settings. Here is an example::
SRC_URI = "ccrc://cc.example.org/ccrc;vob=/example_vob;module=/example_module"
SRCREV = "EXAMPLE_CLEARCASE_TAG"
PV = "${@d.getVar("SRCREV", False).replace("/", "+")}"
The fetcher uses the ``rcleartool`` or
``cleartool`` remote client, depending on which one is available.
Following are options for the :term:`SRC_URI` statement:
- *vob*: The name, which must include the prepending "/" character,
of the ClearCase VOB. This option is required.
- *module*: The module, which must include the prepending "/"
character, in the selected VOB.
.. note::
The module and vob options are combined to create the load rule in the
view config spec. As an example, consider the vob and module values from
the SRC_URI statement at the start of this section. Combining those values
results in the following::
load /example_vob/example_module
- *proto*: The protocol, which can be either ``http`` or ``https``.
By default, the fetcher creates a configuration specification. If you
want this specification written to an area other than the default, use
the ``CCASE_CUSTOM_CONFIG_SPEC`` variable in your recipe to define where
the specification is written.
.. note::
the SRCREV loses its functionality if you specify this variable. However,
SRCREV is still used to label the archive after a fetch even though it does
not define what is fetched.
Here are a couple of other behaviors worth mentioning:
- When using ``cleartool``, the login of ``cleartool`` is handled by
the system. The login require no special steps.
- In order to use ``rcleartool`` with authenticated users, an
"rcleartool login" is necessary before using the fetcher.
.. _perforce-fetcher:
Perforce Fetcher (``p4://``)
----------------------------
This fetcher submodule fetches code from the
`Perforce <https://www.perforce.com/>`__ source control system. The
executable used is specified by ``FETCHCMD_p4``, which defaults to "p4".
The fetcher's temporary working directory is set by
:term:`P4DIR`, which defaults to "DL_DIR/p4".
The fetcher does not make use of a perforce client, instead it
relies on ``p4 files`` to retrieve a list of
files and ``p4 print`` to transfer the content
of those files locally.
To use this fetcher, make sure your recipe has proper
:term:`SRC_URI`, :term:`SRCREV`, and
:term:`PV` values. The p4 executable is able to use the
config file defined by your system's ``P4CONFIG`` environment variable
in order to define the Perforce server URL and port, username, and
password if you do not wish to keep those values in a recipe itself. If
you choose not to use ``P4CONFIG``, or to explicitly set variables that
``P4CONFIG`` can contain, you can specify the ``P4PORT`` value, which is
the server's URL and port number, and you can specify a username and
password directly in your recipe within :term:`SRC_URI`.
Here is an example that relies on ``P4CONFIG`` to specify the server URL
and port, username, and password, and fetches the Head Revision::
SRC_URI = "p4://example-depot/main/source/..."
SRCREV = "${AUTOREV}"
PV = "p4-${SRCPV}"
S = "${WORKDIR}/p4"
Here is an example that specifies the server URL and port, username, and
password, and fetches a Revision based on a Label::
P4PORT = "tcp:p4server.example.net:1666"
SRC_URI = "p4://user:passwd@example-depot/main/source/..."
SRCREV = "release-1.0"
PV = "p4-${SRCPV}"
S = "${WORKDIR}/p4"
.. note::
You should always set S to "${WORKDIR}/p4" in your recipe.
By default, the fetcher strips the depot location from the local file paths. In
the above example, the content of ``example-depot/main/source/`` will be placed
in ``${WORKDIR}/p4``. For situations where preserving parts of the remote depot
paths locally is desirable, the fetcher supports two parameters:
- *"module":*
The top-level depot location or directory to fetch. The value of this
parameter can also point to a single file within the depot, in which case
the local file path will include the module path.
- *"remotepath":*
When used with the value "``keep``", the fetcher will mirror the full depot
paths locally for the specified location, even in combination with the
``module`` parameter.
Here is an example use of the the ``module`` parameter::
SRC_URI = "p4://user:passwd@example-depot/main;module=source/..."
In this case, the content of the top-level directory ``source/`` will be fetched
to ``${P4DIR}``, including the directory itself. The top-level directory will
be accesible at ``${P4DIR}/source/``.
Here is an example use of the the ``remotepath`` parameter::
SRC_URI = "p4://user:passwd@example-depot/main;module=source/...;remotepath=keep"
In this case, the content of the top-level directory ``source/`` will be fetched
to ``${P4DIR}``, but the complete depot paths will be mirrored locally. The
top-level directory will be accessible at
``${P4DIR}/example-depot/main/source/``.
.. _repo-fetcher:
Repo Fetcher (``repo://``)
--------------------------
This fetcher submodule fetches code from ``google-repo`` source control
system. The fetcher works by initiating and syncing sources of the
repository into :term:`REPODIR`, which is usually
``${DL_DIR}/repo``.
This fetcher supports the following parameters:
- *"protocol":* Protocol to fetch the repository manifest (default:
git).
- *"branch":* Branch or tag of repository to get (default: master).
- *"manifest":* Name of the manifest file (default: ``default.xml``).
Here are some example URLs::
SRC_URI = "repo://REPOROOT;protocol=git;branch=some_branch;manifest=my_manifest.xml"
SRC_URI = "repo://REPOROOT;protocol=file;branch=some_branch;manifest=my_manifest.xml"
.. _az-fetcher:
Az Fetcher (``az://``)
--------------------------
This submodule fetches data from an
`Azure Storage account <https://docs.microsoft.com/en-us/azure/storage/>`__ ,
it inherits its functionality from the HTTP wget fetcher, but modifies its
behavior to accomodate the usage of a
`Shared Access Signature (SAS) <https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview>`__
for non-public data.
Such functionality is set by the variable:
- :term:`AZ_SAS`: The Azure Storage Shared Access Signature provides secure
delegate access to resources, if this variable is set, the Az Fetcher will
use it when fetching artifacts from the cloud.
You can specify the AZ_SAS variable as shown below::
AZ_SAS = "se=2021-01-01&sp=r&sv=2018-11-09&sr=c&skoid=<skoid>&sig=<signature>"
Here is an example URL::
SRC_URI = "az://<azure-storage-account>.blob.core.windows.net/<foo_container>/<bar_file>"
It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable.
.. _gcp-fetcher:
GCP Fetcher (``gs://``)
--------------------------
This submodule fetches data from a
`Google Cloud Storage Bucket <https://cloud.google.com/storage/docs/buckets>`__.
It uses the `Google Cloud Storage Python Client <https://cloud.google.com/python/docs/reference/storage/latest>`__
to check the status of objects in the bucket and download them.
The use of the Python client makes it substantially faster than using command
line tools such as gsutil.
The fetcher requires the Google Cloud Storage Python Client to be installed, along
with the gsutil tool.
The fetcher requires that the machine has valid credentials for accessing the
chosen bucket. Instructions for authentication can be found in the
`Google Cloud documentation <https://cloud.google.com/docs/authentication/provide-credentials-adc#local-dev>`__.
If it used from the OpenEmbedded build system, the fetcher can be used for
fetching sstate artifacts from a GCS bucket by specifying the
``SSTATE_MIRRORS`` variable as shown below::
SSTATE_MIRRORS ?= "\
file://.* gs://<bucket name>/PATH \
"
The fetcher can also be used in recipes::
SRC_URI = "gs://<bucket name>/<foo_container>/<bar_file>"
However, the checksum of the file should be also be provided::
SRC_URI[sha256sum] = "<sha256 string>"
.. _crate-fetcher:
Crate Fetcher (``crate://``)
----------------------------
This submodule fetches code for
`Rust language "crates" <https://doc.rust-lang.org/reference/glossary.html?highlight=crate#crate>`__
corresponding to Rust libraries and programs to compile. Such crates are typically shared
on https://crates.io/ but this fetcher supports other crate registries too.
The format for the :term:`SRC_URI` setting must be::
SRC_URI = "crate://REGISTRY/NAME/VERSION"
Here is an example URL::
SRC_URI = "crate://crates.io/glob/0.2.11"
.. _npm-fetcher:
NPM Fetcher (``npm://``)
------------------------
This submodule fetches source code from an
`NPM <https://en.wikipedia.org/wiki/Npm_(software)>`__
Javascript package registry.
The format for the :term:`SRC_URI` setting must be::
SRC_URI = "npm://some.registry.url;ParameterA=xxx;ParameterB=xxx;..."
This fetcher supports the following parameters:
- *"package":* The NPM package name. This is a mandatory parameter.
- *"version":* The NPM package version. This is a mandatory parameter.
- *"downloadfilename":* Specifies the filename used when storing the downloaded file.
- *"destsuffix":* Specifies the directory to use to unpack the package (default: ``npm``).
Note that NPM fetcher only fetches the package source itself. The dependencies
can be fetched through the `npmsw-fetcher`_.
Here is an example URL with both fetchers::
SRC_URI = " \
npm://registry.npmjs.org/;package=cute-files;version=${PV} \
npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json \
"
See :yocto_docs:`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.
.. _npmsw-fetcher:
NPM shrinkwrap Fetcher (``npmsw://``)
-------------------------------------
This submodule fetches source code from an
`NPM shrinkwrap <https://docs.npmjs.com/cli/v8/commands/npm-shrinkwrap>`__
description file, which lists the dependencies
of an NPM package while locking their versions.
The format for the :term:`SRC_URI` setting must be::
SRC_URI = "npmsw://some.registry.url;ParameterA=xxx;ParameterB=xxx;..."
This fetcher supports the following parameters:
- *"dev":* Set this parameter to ``1`` to install "devDependencies".
- *"destsuffix":* Specifies the directory to use to unpack the dependencies
(``${S}`` by default).
Note that the shrinkwrap file can also be provided by the recipe for
the package which has such dependencies, for example::
SRC_URI = " \
npm://registry.npmjs.org/;package=cute-files;version=${PV} \
npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json \
"
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/packages.html#creating-node-package-manager-npm-packages>`
section of the Yocto Project.
Other Fetchers
--------------
Fetch submodules also exist for the following:
- Bazaar (``bzr://``)
- Mercurial (``hg://``)
- OSC (``osc://``)
- S3 (``s3://``)
- Secure FTP (``sftp://``)
- Secure Shell (``ssh://``)
- Trees using Git Annex (``gitannex://``)
No documentation currently exists for these lesser used fetcher
submodules. However, you might find the code helpful and readable.
Auto Revisions
==============
We need to document ``AUTOREV`` and :term:`SRCREV_FORMAT` here.

View File

@@ -0,0 +1,408 @@
.. SPDX-License-Identifier: CC-BY-2.5
===================
Hello World Example
===================
BitBake Hello World
===================
The simplest example commonly used to demonstrate any new programming
language or tool is the "`Hello
World <http://en.wikipedia.org/wiki/Hello_world_program>`__" example.
This appendix demonstrates, in tutorial form, Hello World within the
context of BitBake. The tutorial describes how to create a new project
and the applicable metadata files necessary to allow BitBake to build
it.
Obtaining BitBake
=================
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 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.
Setting Up the BitBake Environment
==================================
First, you need to be sure that you can run BitBake. Set your working
directory to where your local BitBake files are and run the following
command::
$ ./bin/bitbake --version
BitBake Build Tool Core version 2.3.1
The console output tells you what version
you are running.
The recommended method to run BitBake is from a directory of your
choice. To be able to run BitBake from any directory, you need to add
the executable binary to your binary to your shell's environment
``PATH`` variable. First, look at your current ``PATH`` variable by
entering the following::
$ echo $PATH
Next, add the directory location
for the BitBake binary to the ``PATH``. Here is an example that adds the
``/home/scott-lenovo/bitbake/bin`` directory to the front of the
``PATH`` variable::
$ export PATH=/home/scott-lenovo/bitbake/bin:$PATH
You should now be able to enter the ``bitbake`` command from the command
line while working from any directory.
The Hello World Example
=======================
The overall goal of this exercise is to build a complete "Hello World"
example utilizing task and layer concepts. Because this is how modern
projects such as OpenEmbedded and the Yocto Project utilize BitBake, the
example provides an excellent starting point for understanding BitBake.
To help you understand how to use BitBake to build targets, the example
starts with nothing but the ``bitbake`` command, which causes BitBake to
fail and report problems. The example progresses by adding pieces to the
build to eventually conclude with a working, minimal "Hello World"
example.
While every attempt is made to explain what is happening during the
example, the descriptions cannot cover everything. You can find further
information throughout this manual. Also, you can actively participate
in the :oe_lists:`/g/bitbake-devel`
discussion mailing list about the BitBake build tool.
.. note::
This example was inspired by and drew heavily from
`Mailing List post - The BitBake equivalent of "Hello, World!"
<https://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html>`_.
As stated earlier, the goal of this example is to eventually compile
"Hello World". However, it is unknown what BitBake needs and what you
have to provide in order to achieve that goal. Recall that BitBake
utilizes three types of metadata files:
:ref:`bitbake-user-manual/bitbake-user-manual-intro:configuration files`,
:ref:`bitbake-user-manual/bitbake-user-manual-intro:classes`, and
:ref:`bitbake-user-manual/bitbake-user-manual-intro:recipes`.
But where do they go? How does BitBake find
them? BitBake's error messaging helps you answer these types of
questions and helps you better understand exactly what is going on.
Following is the complete "Hello World" example.
#. **Create a Project Directory:** First, set up a directory for the
"Hello World" project. Here is how you can do so in your home
directory::
$ mkdir ~/hello
$ cd ~/hello
This is the directory that
BitBake will use to do all of its work. You can use this directory
to keep all the metafiles needed by BitBake. Having a project
directory is a good way to isolate your project.
#. **Run BitBake:** At this point, you have nothing but a project
directory. Run the ``bitbake`` command and see what it does::
$ bitbake
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?
When you run BitBake, it begins looking for metadata files. The
:term:`BBPATH` variable is what tells BitBake where
to look for those files. :term:`BBPATH` is not set and you need to set
it. Without :term:`BBPATH`, BitBake cannot find any configuration files
(``.conf``) or recipe files (``.bb``) at all. BitBake also cannot
find the ``bitbake.conf`` file.
#. **Setting BBPATH:** For this example, you can set :term:`BBPATH` in
the same manner that you set ``PATH`` earlier in the appendix. You
should realize, though, that it is much more flexible to set the
:term:`BBPATH` variable up in a configuration file for each project.
From your shell, enter the following commands to set and export the
:term:`BBPATH` variable::
$ BBPATH="projectdirectory"
$ export BBPATH
Use your actual project directory in the command. BitBake uses that
directory to find the metadata it needs for your project.
.. note::
When specifying your project directory, do not use the tilde
("~") character as BitBake does not expand that character as the
shell would.
#. **Run BitBake:** Now that you have :term:`BBPATH` defined, run the
``bitbake`` command again::
$ bitbake
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>
This sample output shows that BitBake could not find the
``conf/bitbake.conf`` file in the project directory. This file is
the first thing BitBake must find in order to build a target. And,
since the project directory for this example is empty, you need to
provide a ``conf/bitbake.conf`` file.
#. **Creating conf/bitbake.conf:** The ``conf/bitbake.conf`` includes
a number of configuration variables BitBake uses for metadata and
recipe files. For this example, you need to create the file in your
project directory and define some key BitBake variables. For more
information on the ``bitbake.conf`` file, see
https://git.openembedded.org/bitbake/tree/conf/bitbake.conf.
Use the following commands to create the ``conf`` directory in the
project directory::
$ mkdir conf
From within the ``conf`` directory,
use some editor to create the ``bitbake.conf`` so that it contains
the following::
PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
TMPDIR = "${TOPDIR}/tmp"
CACHE = "${TMPDIR}/cache"
STAMP = "${TMPDIR}/${PN}/stamps"
T = "${TMPDIR}/${PN}/work"
B = "${TMPDIR}/${PN}"
.. note::
Without a value for :term:`PN`, the variables :term:`STAMP`, :term:`T`, and :term:`B`, prevent more
than one recipe from working. You can fix this by either setting :term:`PN` to
have a value similar to what OpenEmbedded and BitBake use in the default
``bitbake.conf`` file (see previous example). Or, by manually updating each
recipe to set :term:`PN`. You will also need to include :term:`PN` as part of the :term:`STAMP`,
:term:`T`, and :term:`B` variable definitions in the ``local.conf`` file.
The ``TMPDIR`` variable establishes a directory that BitBake uses
for build output and intermediate files other than the cached
information used by the
:ref:`bitbake-user-manual/bitbake-user-manual-execution:setscene`
process. Here, the ``TMPDIR`` directory is set to ``hello/tmp``.
.. tip::
You can always safely delete the tmp directory in order to rebuild a
BitBake target. The build process creates the directory for you when you
run BitBake.
For information about each of the other variables defined in this
example, check :term:`PN`, :term:`TOPDIR`, :term:`CACHE`, :term:`STAMP`,
:term:`T` or :term:`B` to take you to the definitions in the
glossary.
#. **Run BitBake:** After making sure that the ``conf/bitbake.conf`` file
exists, you can run the ``bitbake`` command again::
$ bitbake
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
In the sample output,
BitBake could not find the ``classes/base.bbclass`` file. You need
to create that file next.
#. **Creating classes/base.bbclass:** BitBake uses class files to
provide common code and functionality. The minimally required class
for BitBake is the ``classes/base.bbclass`` file. The ``base`` class
is implicitly inherited by every recipe. BitBake looks for the class
in the ``classes`` directory of the project (i.e ``hello/classes``
in this example).
Create the ``classes`` directory as follows::
$ cd $HOME/hello
$ mkdir classes
Move to the ``classes`` directory and then create the
``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
environments BitBake is supporting.
#. **Run BitBake:** After making sure that the ``classes/base.bbclass``
file exists, you can run the ``bitbake`` command again::
$ bitbake
Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.
BitBake is finally reporting
no errors. However, you can see that it really does not have
anything to do. You need to create a recipe that gives BitBake
something to do.
#. **Creating a Layer:** While it is not really necessary for such a
small example, it is good practice to create a layer in which to
keep your code separate from the general metadata used by BitBake.
Thus, this example creates and uses a layer called "mylayer".
.. note::
You can find additional information on layers in the
":ref:`bitbake-user-manual/bitbake-user-manual-intro:Layers`" section.
Minimally, you need a recipe file and a layer configuration file in
your layer. The configuration file needs to be in the ``conf``
directory inside the layer. Use these commands to set up the layer
and the ``conf`` directory::
$ cd $HOME
$ mkdir mylayer
$ cd mylayer
$ mkdir conf
Move to the ``conf`` directory and create a ``layer.conf`` file that has the
following::
BBPATH .= ":${LAYERDIR}"
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`, :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 :term:`LAYERSERIES_COMPAT` in this particular case, because we
are using bitbake without OpenEmbedded.
You should usually just use :term:`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
``printhello.bb`` that has the following::
DESCRIPTION = "Prints Hello World"
PN = 'printhello'
PV = '1'
python do_build() {
bb.plain("********************");
bb.plain("* *");
bb.plain("* Hello, World! *");
bb.plain("* *");
bb.plain("********************");
}
The recipe file simply provides
a description of the recipe, the name, version, and the ``do_build``
task, which prints out "Hello World" to the console. For more
information on :term:`DESCRIPTION`, :term:`PN` or :term:`PV`
follow the links to the glossary.
#. **Run BitBake With a Target:** Now that a BitBake target exists, run
the command and provide that target::
$ cd $HOME/hello
$ bitbake printhello
ERROR: no recipe files to build, check your BBPATH and BBFILES?
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
We have created the layer with the recipe and
the layer configuration file but it still seems that BitBake cannot
find the recipe. BitBake needs a ``conf/bblayers.conf`` that lists
the layers for the project. Without this file, BitBake cannot find
the recipe.
#. **Creating conf/bblayers.conf:** BitBake uses the
``conf/bblayers.conf`` file to locate layers needed for the project.
This file must reside in the ``conf`` directory of the project (i.e.
``hello/conf`` for this example).
Set your working directory to the ``hello/conf`` directory and then
create the ``bblayers.conf`` file so that it contains the following::
BBLAYERS ?= " \
/home/<you>/mylayer \
"
You need to provide your own information for ``you`` in the file.
#. **Run BitBake With a Target:** Now that you have supplied the
``bblayers.conf`` file, run the ``bitbake`` command and provide the
target::
$ bitbake printhello
Loading cache: 100% |
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |##################################################################################|
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
Initialising tasks: 100% |###############################################################################|
NOTE: No setscene tasks
NOTE: Executing Tasks
********************
* *
* Hello, World! *
* *
********************
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
.. note::
After the first execution, re-running bitbake printhello again will not
result in a BitBake run that prints the same console output. The reason
for this is that the first time the printhello.bb recipe's do_build task
executes successfully, BitBake writes a stamp file for the task. Thus,
the next time you attempt to run the task using that same bitbake
command, BitBake notices the stamp and therefore determines that the task
does not need to be re-run. If you delete the tmp directory or run
bitbake -c clean printhello and then re-run the build, the "Hello,
World!" message will be printed again.

View File

@@ -0,0 +1,653 @@
.. SPDX-License-Identifier: CC-BY-2.5
========
Overview
========
|
Welcome to the BitBake User Manual. This manual provides information on
the BitBake tool. The information attempts to be as independent as
possible regarding systems that use BitBake, such as OpenEmbedded and
the Yocto Project. In some cases, scenarios or examples within the
context of a build system are used in the manual to help with
understanding. For these cases, the manual clearly states the context.
.. _intro:
Introduction
============
Fundamentally, BitBake is a generic task execution engine that allows
shell and Python tasks to be run efficiently and in parallel while
working within complex inter-task dependency constraints. One of
BitBake's main users, OpenEmbedded, takes this core and builds embedded
Linux software stacks using a task-oriented approach.
Conceptually, BitBake is similar to GNU Make in some regards but has
significant differences:
- BitBake executes tasks according to the provided metadata that builds up
the tasks. Metadata is stored in recipe (``.bb``) and related recipe
"append" (``.bbappend``) files, configuration (``.conf``) and
underlying include (``.inc``) files, and in class (``.bbclass``)
files. The metadata provides BitBake with instructions on what tasks
to run and the dependencies between those tasks.
- BitBake includes a fetcher library for obtaining source code from
various places such as local files, source control systems, or
websites.
- The instructions for each unit to be built (e.g. a piece of software)
are known as "recipe" files and contain all the information about the
unit (dependencies, source file locations, checksums, description and
so on).
- BitBake includes a client/server abstraction and can be used from a
command line or used as a service over XML-RPC and has several
different user interfaces.
History and Goals
=================
BitBake was originally a part of the OpenEmbedded project. It was
inspired by the Portage package management system used by the Gentoo
Linux distribution. On December 7, 2004, OpenEmbedded project team
member Chris Larson split the project into two distinct pieces:
- BitBake, a generic task executor
- OpenEmbedded, a metadata set utilized by BitBake
Today, BitBake is the primary basis of the
`OpenEmbedded <https://www.openembedded.org/>`__ project, which is being
used to build and maintain Linux distributions such as the `Poky
Reference Distribution <https://www.yoctoproject.org/software-item/poky/>`__,
developed under the umbrella of the `Yocto Project <https://www.yoctoproject.org>`__.
Prior to BitBake, no other build tool adequately met the needs of an
aspiring embedded Linux distribution. All of the build systems used by
traditional desktop Linux distributions lacked important functionality,
and none of the ad hoc Buildroot-based systems, prevalent in the
embedded space, were scalable or maintainable.
Some important original goals for BitBake were:
- Handle cross-compilation.
- Handle inter-package dependencies (build time on target architecture,
build time on native architecture, and runtime).
- Support running any number of tasks within a given package,
including, but not limited to, fetching upstream sources, unpacking
them, patching them, configuring them, and so forth.
- Be Linux distribution agnostic for both build and target systems.
- Be architecture agnostic.
- Support multiple build and target operating systems (e.g. Cygwin, the
BSDs, and so forth).
- Be self-contained, rather than tightly integrated into the build
machine's root filesystem.
- Handle conditional metadata on the target architecture, operating
system, distribution, and machine.
- Be easy to use the tools to supply local metadata and packages
against which to operate.
- Be easy to use BitBake to collaborate between multiple projects for
their builds.
- Provide an inheritance mechanism to share common metadata between
many packages.
Over time it became apparent that some further requirements were
necessary:
- Handle variants of a base recipe (e.g. native, sdk, and multilib).
- Split metadata into layers and allow layers to enhance or override
other layers.
- Allow representation of a given set of input variables to a task as a
checksum. Based on that checksum, allow acceleration of builds with
prebuilt components.
BitBake satisfies all the original requirements and many more with
extensions being made to the basic functionality to reflect the
additional requirements. Flexibility and power have always been the
priorities. BitBake is highly extensible and supports embedded Python
code and execution of any arbitrary tasks.
.. _Concepts:
Concepts
========
BitBake is a program written in the Python language. At the highest
level, BitBake interprets metadata, decides what tasks are required to
run, and executes those tasks. Similar to GNU Make, BitBake controls how
software is built. GNU Make achieves its control through "makefiles",
while BitBake uses "recipes".
BitBake extends the capabilities of a simple tool like GNU Make by
allowing for the definition of much more complex tasks, such as
assembling entire embedded Linux distributions.
The remainder of this section introduces several concepts that should be
understood in order to better leverage the power of BitBake.
Recipes
-------
BitBake Recipes, which are denoted by the file extension ``.bb``, are
the most basic metadata files. These recipe files provide BitBake with
the following:
- Descriptive information about the package (author, homepage, license,
and so on)
- The version of the recipe
- Existing dependencies (both build and runtime dependencies)
- Where the source code resides and how to fetch it
- Whether the source code requires any patches, where to find them, and
how to apply them
- How to configure and compile the source code
- How to assemble the generated artifacts into one or more installable
packages
- Where on the target machine to install the package or packages
created
Within the context of BitBake, or any project utilizing BitBake as its
build system, files with the ``.bb`` extension are referred to as
recipes.
.. note::
The term "package" is also commonly used to describe recipes.
However, since the same word is used to describe packaged output from
a project, it is best to maintain a single descriptive term -
"recipes". Put another way, a single "recipe" file is quite capable
of generating a number of related but separately installable
"packages". In fact, that ability is fairly common.
Configuration Files
-------------------
Configuration files, which are denoted by the ``.conf`` extension,
define various configuration variables that govern the project's build
process. These files fall into several areas that define machine
configuration, distribution configuration, possible compiler tuning,
general common configuration, and user configuration. The main
configuration file is the sample ``bitbake.conf`` file, which is located
within the BitBake source tree ``conf`` directory.
Classes
-------
Class files, which are denoted by the ``.bbclass`` extension, contain
information that is useful to share between metadata files. The BitBake
source tree currently comes with one class metadata file called
``base.bbclass``. You can find this file in the ``classes`` directory.
The ``base.bbclass`` class files is special since it is always included
automatically for all recipes and classes. This class contains
definitions for standard basic tasks such as fetching, unpacking,
configuring (empty by default), compiling (runs any Makefile present),
installing (empty by default) and packaging (empty by default). These
tasks are often overridden or extended by other classes added during the
project development process.
Layers
------
Layers allow you to isolate different types of customizations from each
other. While you might find it tempting to keep everything in one layer
when working on a single project, the more modular your metadata, the
easier it is to cope with future changes.
To illustrate how you can use layers to keep things modular, consider
customizations you might make to support a specific target machine.
These types of customizations typically reside in a special layer,
rather than a general layer, called a Board Support Package (BSP) layer.
Furthermore, the machine customizations should be isolated from recipes
and metadata that support a new GUI environment, for example. This
situation gives you a couple of layers: one for the machine
configurations and one for the GUI environment. It is important to
understand, however, that the BSP layer can still make machine-specific
additions to recipes within the GUI environment layer without polluting
the GUI layer itself with those machine-specific changes. You can
accomplish this through a recipe that is a BitBake append
(``.bbappend``) file.
.. _append-bbappend-files:
Append Files
------------
Append files, which are files that have the ``.bbappend`` file
extension, extend or override information in an existing recipe file.
BitBake expects every append file to have a corresponding recipe file.
Furthermore, the append file and corresponding recipe file must use the
same root filename. The filenames can differ only in the file type
suffix used (e.g. ``formfactor_0.0.bb`` and
``formfactor_0.0.bbappend``).
Information in append files extends or overrides the information in the
underlying, similarly-named recipe files.
When you name an append file, you can use the "``%``" wildcard character
to allow for matching recipe names. For example, suppose you have an
append file named as follows::
busybox_1.21.%.bbappend
That append file
would match any ``busybox_1.21.``\ x\ ``.bb`` version of the recipe. So,
the append file would match the following recipe names::
busybox_1.21.1.bb
busybox_1.21.2.bb
busybox_1.21.3.bb
.. note::
The use of the " % " character is limited in that it only works directly in
front of the .bbappend portion of the append file's name. You cannot use the
wildcard character in any other location of the name.
If the ``busybox`` recipe was updated to ``busybox_1.3.0.bb``, the
append name would not match. However, if you named the append file
``busybox_1.%.bbappend``, then you would have a match.
In the most general case, you could name the append file something as
simple as ``busybox_%.bbappend`` to be entirely version independent.
Obtaining BitBake
=================
You can obtain BitBake several different ways:
- **Cloning BitBake:** Using Git to clone the BitBake source code
repository is the recommended method for obtaining BitBake. Cloning
the repository makes it easy to get bug fixes and have access to
stable branches and the master branch. Once you have cloned BitBake,
you should use the latest stable branch for development since the
master branch is for BitBake development and might contain less
stable changes.
You usually need a version of BitBake that matches the metadata you
are using. The metadata is generally backwards compatible but not
forward compatible.
Here is an example that clones the BitBake repository::
$ git clone git://git.openembedded.org/bitbake
This command clones the BitBake
Git repository into a directory called ``bitbake``. Alternatively,
you can designate a directory after the ``git clone`` command if you
want to call the new directory something other than ``bitbake``. Here
is an example that names the directory ``bbdev``::
$ git clone git://git.openembedded.org/bitbake bbdev
- **Installation using your Distribution Package Management System:**
This method is not recommended because the BitBake version that is
provided by your distribution, in most cases, is several releases
behind a snapshot of the BitBake repository.
- **Taking a snapshot of BitBake:** Downloading a snapshot of BitBake
from the source code repository gives you access to a known branch or
release of BitBake.
.. note::
Cloning the Git repository, as described earlier, is the preferred
method for getting BitBake. Cloning the repository makes it easier
to update as patches are added to the stable branches.
The following example downloads a snapshot of BitBake version 1.17.0::
$ wget https://git.openembedded.org/bitbake/snapshot/bitbake-1.17.0.tar.gz
$ tar zxpvf bitbake-1.17.0.tar.gz
After extraction of the tarball using
the tar utility, you have a directory entitled ``bitbake-1.17.0``.
- **Using the BitBake that Comes With Your Build Checkout:** A final
possibility for getting a copy of BitBake is that it already comes
with your checkout of a larger BitBake-based build system, such as
Poky. Rather than manually checking out individual layers and gluing
them together yourself, you can check out an entire build system. The
checkout will already include a version of BitBake that has been
thoroughly tested for compatibility with the other components. For
information on how to check out a particular BitBake-based build
system, consult that build system's supporting documentation.
.. _bitbake-user-manual-command:
The BitBake Command
===================
The ``bitbake`` command is the primary interface to the BitBake tool.
This section presents the BitBake command syntax and provides several
execution examples.
Usage and syntax
----------------
Following is the usage and syntax for BitBake::
$ bitbake -h
Usage: bitbake [options] [recipename/target recipe:do_task ...]
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.
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-b BUILDFILE, --buildfile=BUILDFILE
Execute tasks from a specific .bb recipe directly.
WARNING: Does not handle any dependencies from other
recipes.
-k, --continue 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.
-f, --force Force the specified targets/task to run (invalidating
any existing stamp file).
-c CMD, --cmd=CMD 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.
-C INVALIDATE_STAMP, --clear-stamp=INVALIDATE_STAMP
Invalidate the stamp for the specified task such as
'compile' and then run the default task for the
specified target(s).
-r PREFILE, --read=PREFILE
Read the specified file before bitbake.conf.
-R POSTFILE, --postread=POSTFILE
Read the specified file after bitbake.conf.
-v, --verbose Enable tracing of shell tasks (with 'set -x'). Also
print bb.note(...) messages to stdout (in addition to
writing them to ${T}/log.do_&lt;task&gt;).
-D, --debug 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.
-q, --quiet Output less log message data to the terminal. You can
specify this more than once.
-n, --dry-run Don't execute, just go through the motions.
-S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER
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.
-p, --parse-only Quit after parsing the BB recipes.
-s, --show-versions Show current and preferred versions of all recipes.
-e, --environment Show the global or per-recipe environment complete
with information about where variables were
set/changed.
-g, --graphviz Save dependency tree information for the specified
targets in the dot syntax.
-I EXTRA_ASSUME_PROVIDED, --ignore-deps=EXTRA_ASSUME_PROVIDED
Assume these dependencies don't exist and are already
provided (equivalent to ASSUME_PROVIDED). Useful to
make dependency graphs more appealing
-l DEBUG_DOMAINS, --log-domains=DEBUG_DOMAINS
Show debug logging for the specified logging domains
-P, --profile Profile the command and save reports.
-u UI, --ui=UI The user interface to use (knotty, ncurses, taskexp or
teamcity - default knotty).
--token=XMLRPCTOKEN Specify the connection token to be used when
connecting to a remote server.
--revisions-changed Set the exit code depending on whether upstream
floating revisions have changed or not.
--server-only Run bitbake without a UI, only starting a server
(cooker) process.
-B BIND, --bind=BIND The name/address for the bitbake xmlrpc server to bind
to.
-T SERVER_TIMEOUT, --idle-timeout=SERVER_TIMEOUT
Set timeout to unload bitbake server due to
inactivity, set to -1 means no unload, default:
Environment variable BB_SERVER_TIMEOUT.
--no-setscene Do not run any setscene tasks. sstate will be ignored
and everything needed, built.
--skip-setscene Skip setscene tasks if they would be executed. Tasks
previously restored from sstate will be kept, unlike
--no-setscene
--setscene-only Only run setscene tasks, don't run any real tasks.
--remote-server=REMOTE_SERVER
Connect to the specified server.
-m, --kill-server Terminate any running bitbake server.
--observe-only Connect to a server as an observing-only client.
--status-only Check the status of the remote bitbake server.
-w WRITEEVENTLOG, --write-log=WRITEEVENTLOG
Writes the event log of the build to a bitbake event
json file. Use '' (empty string) to assign the name
automatically.
--runall=RUNALL Run the specified task for any recipe in the taskgraph
of the specified target (even if it wouldn't otherwise
have run).
--runonly=RUNONLY Run only the specified task within the taskgraph of
the specified targets (and any task dependencies those
tasks may have).
.. _bitbake-examples:
Examples
--------
This section presents some examples showing how to use BitBake.
.. _example-executing-a-task-against-a-single-recipe:
Executing a Task Against a Single Recipe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Executing tasks for a single recipe file is relatively simple. You
specify the file in question, and BitBake parses it and executes the
specified task. If you do not specify a task, BitBake executes the
default task, which is "build". BitBake obeys inter-task dependencies
when doing so.
The following command runs the build task, which is the default task, on
the ``foo_1.0.bb`` recipe file::
$ bitbake -b foo_1.0.bb
The following command runs the clean task on the ``foo.bb`` recipe file::
$ bitbake -b foo.bb -c clean
.. note::
The "-b" option explicitly does not handle recipe dependencies. Other
than for debugging purposes, it is instead recommended that you use
the syntax presented in the next section.
Executing Tasks Against a Set of Recipe Files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are a number of additional complexities introduced when one wants
to manage multiple ``.bb`` files. Clearly there needs to be a way to
tell BitBake what files are available and, of those, which you want to
execute. There also needs to be a way for each recipe to express its
dependencies, both for build-time and runtime. There must be a way for
you to express recipe preferences when multiple recipes provide the same
functionality, or when there are multiple versions of a recipe.
The ``bitbake`` command, when not using "--buildfile" or "-b" only
accepts a "PROVIDES". You cannot provide anything else. By default, a
recipe file generally "PROVIDES" its "packagename" as shown in the
following example::
$ bitbake foo
This next example "PROVIDES" the
package name and also uses the "-c" option to tell BitBake to just
execute the ``do_clean`` task::
$ bitbake -c clean foo
Executing a List of Task and Recipe Combinations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The BitBake command line supports specifying different tasks for
individual targets when you specify multiple targets. For example,
suppose you had two targets (or recipes) ``myfirstrecipe`` and
``mysecondrecipe`` and you needed BitBake to run ``taskA`` for the first
recipe and ``taskB`` for the second recipe::
$ bitbake myfirstrecipe:do_taskA mysecondrecipe:do_taskB
Generating Dependency Graphs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BitBake is able to generate dependency graphs using the ``dot`` syntax.
You can convert these graphs into images using the ``dot`` tool from
`Graphviz <http://www.graphviz.org>`__.
When you generate a dependency graph, BitBake writes two files to the
current working directory:
- ``task-depends.dot``: Shows dependencies between tasks. These
dependencies match BitBake's internal task execution list.
- ``pn-buildlist``: Shows a simple list of targets that are to be
built.
To stop depending on common depends, use the ``-I`` depend option and
BitBake omits them from the graph. Leaving this information out can
produce more readable graphs. This way, you can remove from the graph
:term:`DEPENDS` from inherited classes such as ``base.bbclass``.
Here are two examples that create dependency graphs. The second example
omits depends common in OpenEmbedded from the graph::
$ bitbake -g foo
$ bitbake -g -I virtual/kernel -I eglibc foo
Executing a Multiple Configuration Build
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BitBake is able to build multiple images or packages using a single
command where the different targets require different configurations
(multiple configuration builds). Each target, in this scenario, is
referred to as a "multiconfig".
To accomplish a multiple configuration build, you must define each
target's configuration separately using a parallel configuration file in
the build directory. The location for these multiconfig configuration
files is specific. They must reside in the current build directory in a
sub-directory of ``conf`` named ``multiconfig``. Following is an example
for two separate targets:
.. image:: figures/bb_multiconfig_files.png
:align: center
The reason for this required file hierarchy is because the :term:`BBPATH`
variable is not constructed until the layers are parsed. Consequently,
using the configuration file as a pre-configuration file is not possible
unless it is located in the current working directory.
Minimally, each configuration file must define the machine and the
temporary directory BitBake uses for the build. Suggested practice
dictates that you do not overlap the temporary directories used during
the builds.
Aside from separate configuration files for each target, you must also
enable BitBake to perform multiple configuration builds. Enabling is
accomplished by setting the
:term:`BBMULTICONFIG` variable in the
``local.conf`` configuration file. As an example, suppose you had
configuration files for ``target1`` and ``target2`` defined in the build
directory. The following statement in the ``local.conf`` file both
enables BitBake to perform multiple configuration builds and specifies
the two extra multiconfigs::
BBMULTICONFIG = "target1 target2"
Once the target configuration files are in place and BitBake has been
enabled to perform multiple configuration builds, use the following
command form to start the builds::
$ bitbake [mc:multiconfigname:]target [[[mc:multiconfigname:]target] ... ]
Here is an example for two extra multiconfigs: ``target1`` and ``target2``::
$ bitbake mc::target mc:target1:target mc:target2:target
.. _bb-enabling-multiple-configuration-build-dependencies:
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 an image for a particular architecture, the root filesystem of
another build for a different architecture needs to exist. In other
words, the image for the first multiconfig depends on the root
filesystem of the second multiconfig. This dependency is essentially
that the task in the recipe that builds one multiconfig is dependent on
the completion of the task in the recipe that builds another
multiconfig.
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 an example with two
multiconfigs: ``target1`` and ``target2``::
image_task[mcdepends] = "mc:target1:target2:image2:rootfs_task"
In this example, the
``from_multiconfig`` is "target1" and the ``to_multiconfig`` is "target2". The
task on which the image whose recipe contains image_task depends on the
completion of the rootfs_task used to build out image2, which is
associated with the "target2" multiconfig.
Once you set up this dependency, you can build the "target1" multiconfig
using a BitBake command as follows::
$ bitbake mc:target1:image1
This command executes all the tasks needed to create ``image1`` for the "target1"
multiconfig. Because of the dependency, BitBake also executes through
the ``rootfs_task`` for the "target2" 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 image1
recipe::
image_task[mcdepends] = "mc:target1:target2:image2:image_task"
In this case, BitBake must create ``image2`` for the "target2" build since
the "target1" build depends on it.
Because "target1" and "target2" are enabled for multiple configuration
builds and have separate configuration files, BitBake places the
artifacts for each build in the respective temporary build directories.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,91 @@
.. SPDX-License-Identifier: CC-BY-2.5
================
Variable Context
================
|
Variables might only have an impact or can be used in certain contexts. Some
should only be used in global files like ``.conf``, while others are intended only
for local files like ``.bb``. This chapter aims to describe some important variable
contexts.
.. _ref-varcontext-configuration:
BitBake's own configuration
===========================
Variables starting with ``BB_`` usually configure the behaviour of BitBake itself.
For example, one could configure:
- System resources, like disk space to be used (:term:`BB_DISKMON_DIRS`),
or the number of tasks to be run in parallel by BitBake (:term:`BB_NUMBER_THREADS`).
- How the fetchers shall behave, e.g., :term:`BB_FETCH_PREMIRRORONLY` is used
by BitBake to determine if BitBake's fetcher shall search only
:term:`PREMIRRORS` for files.
Those variables are usually configured globally.
BitBake configuration
=====================
There are variables:
- Like :term:`B` or :term:`T`, that are used to specify directories used by
BitBake during the build of a particular recipe. Those variables are
specified in ``bitbake.conf``. Some, like :term:`B`, are quite often
overwritten in recipes.
- Starting with ``FAKEROOT``, to configure how the ``fakeroot`` command is
handled. Those are usually set by ``bitbake.conf`` and might get adapted in a
``bbclass``.
- Detailing where BitBake will store and fetch information from, for
data reuse between build runs like :term:`CACHE`, :term:`DL_DIR` or
:term:`PERSISTENT_DIR`. Those are usually global.
Layers and files
================
Variables starting with ``LAYER`` configure how BitBake handles layers.
Additionally, variables starting with ``BB`` configure how layers and files are
handled. For example:
- :term:`LAYERDEPENDS` is used to configure on which layers a given layer
depends.
- The configured layers are contained in :term:`BBLAYERS` and files in
:term:`BBFILES`.
Those variables are often used in the files ``layer.conf`` and ``bblayers.conf``.
Recipes and packages
====================
Variables handling recipes and packages can be split into:
- :term:`PN`, :term:`PV` or :term:`PF` for example, contain information about
the name or revision of a recipe or package. Usually, the default set in
``bitbake.conf`` is used, but those are from time to time overwritten in
recipes.
- :term:`SUMMARY`, :term:`DESCRIPTION`, :term:`LICENSE` or :term:`HOMEPAGE`
contain the expected information and should be set specifically for every
recipe.
- In recipes, variables are also used to control build and runtime
dependencies between recipes/packages with other recipes/packages. The
most common should be: :term:`PROVIDES`, :term:`RPROVIDES`, :term:`DEPENDS`,
and :term:`RDEPENDS`.
- There are further variables starting with ``SRC`` that specify the sources in
a recipe like :term:`SRC_URI` or :term:`SRCDATE`. Those are also usually set
in recipes.
- Which version or provider of a recipe should be given preference when
multiple recipes would provide the same item, is controlled by variables
starting with ``PREFERRED_``. Those are normally set in the configuration
files of a ``MACHINE`` or ``DISTRO``.

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

142
bitbake/doc/bitbake.1 Normal file
View File

@@ -0,0 +1,142 @@
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH BITBAKE 1 "November 19, 2006"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
BitBake \- simple tool for the execution of tasks
.SH SYNOPSIS
.B bitbake
.RI [ options ] " packagenames"
.br
.SH DESCRIPTION
This manual page documents briefly the
.B bitbake
command.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBbitbake\fP is a program that executes the specified task (default is 'build')
for a given set of BitBake files.
.br
It expects that BBFILES is defined, which is a space separated list of files to
be executed. BBFILES does support wildcards.
.br
Default BBFILES are the .bb files in the current directory.
.SH OPTIONS
This program follow the usual GNU command line syntax, with long
options starting with two dashes (`-').
.TP
.B \-h, \-\-help
Show summary of options.
.TP
.B \-\-version
Show version of program.
.TP
.B \-bBUILDFILE, \-\-buildfile=BUILDFILE
execute the task against this .bb file, rather than a package from BBFILES.
.TP
.B \-k, \-\-continue
continue as much as possible after an error. While the target that failed, and
those that depend on it, cannot be remade, the other dependencies of these
targets can be processed all the same.
.TP
.B \-a, \-\-tryaltconfigs
continue with builds by trying to use alternative providers where possible.
.TP
.B \-f, \-\-force
force run of specified cmd, regardless of stamp status
.TP
.B \-i, \-\-interactive
drop into the interactive mode also called the BitBake shell.
.TP
.B \-cCMD, \-\-cmd=CMD
Specify task to execute. Note that this only executes the specified task for
the providee and the packages it depends on, i.e. 'compile' does not implicitly
call stage for the dependencies (IOW: use only if you know what you are doing).
Depending on the base.bbclass a listtasks task is defined and will show
available tasks.
.TP
.B \-rFILE, \-\-read=FILE
read the specified file before bitbake.conf
.TP
.B \-v, \-\-verbose
output more chit-chat to the terminal
.TP
.B \-D, \-\-debug
Increase the debug level. You can specify this more than once.
.TP
.B \-n, \-\-dry-run
don't execute, just go through the motions
.TP
.B \-p, \-\-parse-only
quit after parsing the BB files (developers only)
.TP
.B \-s, \-\-show-versions
show current and preferred versions of all packages
.TP
.B \-e, \-\-environment
show the global or per-recipe environment (this is what used to be bbread)
.TP
.B \-g, \-\-graphviz
emit the dependency trees of the specified packages in the dot syntax
.TP
.B \-IIGNORED\_DOT\_DEPS, \-\-ignore-deps=IGNORED_DOT_DEPS
Stop processing at the given list of dependencies when generating dependency
graphs. This can help to make the graph more appealing
.TP
.B \-lDEBUG_DOMAINS, \-\-log-domains=DEBUG_DOMAINS
Show debug logging for the specified logging domains
.TP
.B \-P, \-\-profile
profile the command and print a report
.TP
.B \-uUI, \-\-ui=UI
User interface to use. Currently, knotty, taskexp or ncurses can be specified as UI.
.TP
.B \-tSERVERTYPE, \-\-servertype=SERVERTYPE
Choose which server to use, none, process or xmlrpc.
.TP
.B \-\-revisions-changed
Set the exit code depending on whether upstream floating revisions have changed or not.
.TP
.B \-\-server-only
Run bitbake without UI, the frontend can connect with bitbake server itself.
.TP
.B \-BBIND, \-\-bind=BIND
The name/address for the bitbake server to bind to.
.TP
.B \-\-no\-setscene
Do not run any setscene tasks, forces builds.
.SH ENVIRONMENT VARIABLES
bitbake uses the following environment variables to control its
operation:
.TP
.B BITBAKE_UI
The bitbake user interface; overridden by the \fB-u\fP commandline option.
.SH AUTHORS
BitBake was written by
Phil Blundell,
Holger Freyther,
Chris Larson,
Mickey Lauer,
Richard Purdie,
Holger Schurig
.PP
This manual page was written by Marcin Juszkiewicz <marcin@hrw.one.pl>
for the Debian project (but may be used by others).

101
bitbake/doc/conf.py Normal file
View File

@@ -0,0 +1,101 @@
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import sys
import datetime
current_version = "dev"
# String used in sidebar
version = 'Version: ' + current_version
if current_version == 'dev':
version = 'Version: Current Development'
# Version seen in documentation_options.js and hence in js switchers code
release = current_version
# -- Project information -----------------------------------------------------
project = 'Bitbake'
copyright = '2004-%s, Richard Purdie, Chris Larson, and Phil Blundell' \
% datetime.datetime.now().year
author = 'Richard Purdie, Chris Larson, and Phil Blundell'
# external links and substitutions
extlinks = {
'yocto_docs': ('https://docs.yoctoproject.org%s', None),
'oe_lists': ('https://lists.openembedded.org%s', None),
}
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autosectionlabel',
'sphinx.ext.extlinks',
]
autosectionlabel_prefix_document = True
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# master document name. The default changed from contents to index. so better
# set it ourselves.
master_doc = 'index'
# create substitution for project configuration variables
rst_prolog = """
.. |project_name| replace:: %s
.. |copyright| replace:: %s
.. |author| replace:: %s
""" % (project, copyright, author)
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
try:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
except ImportError:
sys.stderr.write("The Sphinx sphinx_rtd_theme HTML theme was not found.\
\nPlease make sure to install the sphinx_rtd_theme python package.\n")
sys.exit(1)
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['sphinx-static']
# Add customm CSS and JS files
html_css_files = ['theme_overrides.css']
html_js_files = ['switchers.js']
# Hide 'Created using Sphinx' text
html_show_sphinx = False
# Add 'Last updated' on each page
html_last_updated_fmt = '%b %d, %Y'
# Remove the trailing 'dot' in section numbers
html_secnumber_suffix = " "

3
bitbake/doc/genindex.rst Normal file
View File

@@ -0,0 +1,3 @@
=====
Index
=====

39
bitbake/doc/index.rst Normal file
View File

@@ -0,0 +1,39 @@
.. SPDX-License-Identifier: CC-BY-2.5
===================
BitBake User Manual
===================
|
.. toctree::
:caption: Table of Contents
:numbered:
bitbake-user-manual/bitbake-user-manual-intro
bitbake-user-manual/bitbake-user-manual-execution
bitbake-user-manual/bitbake-user-manual-metadata
bitbake-user-manual/bitbake-user-manual-ref-variables-context
bitbake-user-manual/bitbake-user-manual-fetching
bitbake-user-manual/bitbake-user-manual-ref-variables
bitbake-user-manual/bitbake-user-manual-hello
.. toctree::
:maxdepth: 1
:hidden:
genindex
releases
----
.. include:: <xhtml1-lat1.txt>
| BitBake Community
| Copyright |copy| |copyright|
| <bitbake-devel@lists.openembedded.org>
This work is licensed under the Creative Commons Attribution License. To view a
copy of this license, visit http://creativecommons.org/licenses/by/2.5/ or send
a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View,
California 94041, USA.

174
bitbake/doc/releases.rst Normal file
View File

@@ -0,0 +1,174 @@
.. SPDX-License-Identifier: CC-BY-2.5
=================================
BitBake Supported Release Manuals
=================================
*******************************
Release Series 4.2 (mickledore)
*******************************
- :yocto_docs:`BitBake 2.4 User Manual </bitbake/2.4/>`
******************************
Release Series 4.0 (kirkstone)
******************************
- :yocto_docs:`BitBake 2.0 User Manual </bitbake/2.0/>`
****************************
Release Series 3.1 (dunfell)
****************************
- :yocto_docs:`BitBake 1.46 User Manual </bitbake/1.46/>`
================================
BitBake Outdated Release Manuals
================================
*****************************
Release Series 4.1 (langdale)
*****************************
- :yocto_docs:`BitBake 2.2 User Manual </bitbake/2.2/>`
******************************
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:`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)
*************************
- :yocto_docs:`3.0 BitBake User Manual </3.0/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.1 BitBake User Manual </3.0.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.2 BitBake User Manual </3.0.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.3 BitBake User Manual </3.0.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.4 BitBake User Manual </3.0.4/bitbake-user-manual/bitbake-user-manual.html>`
****************************
Release Series 2.7 (warrior)
****************************
- :yocto_docs:`2.7 BitBake User Manual </2.7/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.1 BitBake User Manual </2.7.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.2 BitBake User Manual </2.7.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.3 BitBake User Manual </2.7.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.4 BitBake User Manual </2.7.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
Release Series 2.6 (thud)
*************************
- :yocto_docs:`2.6 BitBake User Manual </2.6/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.1 BitBake User Manual </2.6.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.2 BitBake User Manual </2.6.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.3 BitBake User Manual </2.6.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.4 BitBake User Manual </2.6.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
Release Series 2.5 (sumo)
*************************
- :yocto_docs:`2.5 Documentation </2.5>`
- :yocto_docs:`2.5.1 Documentation </2.5.1>`
- :yocto_docs:`2.5.2 Documentation </2.5.2>`
- :yocto_docs:`2.5.3 Documentation </2.5.3>`
**************************
Release Series 2.4 (rocko)
**************************
- :yocto_docs:`2.4 BitBake User Manual </2.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.1 BitBake User Manual </2.4.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.2 BitBake User Manual </2.4.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.3 BitBake User Manual </2.4.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.4 BitBake User Manual </2.4.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
Release Series 2.3 (pyro)
*************************
- :yocto_docs:`2.3 BitBake User Manual </2.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.1 BitBake User Manual </2.3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.2 BitBake User Manual </2.3.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.3 BitBake User Manual </2.3.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.4 BitBake User Manual </2.3.4/bitbake-user-manual/bitbake-user-manual.html>`
**************************
Release Series 2.2 (morty)
**************************
- :yocto_docs:`2.2 BitBake User Manual </2.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.2.1 BitBake User Manual </2.2.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.2.2 BitBake User Manual </2.2.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.2.3 BitBake User Manual </2.2.3/bitbake-user-manual/bitbake-user-manual.html>`
****************************
Release Series 2.1 (krogoth)
****************************
- :yocto_docs:`2.1 BitBake User Manual </2.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.1.1 BitBake User Manual </2.1.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.1.2 BitBake User Manual </2.1.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.1.3 BitBake User Manual </2.1.3/bitbake-user-manual/bitbake-user-manual.html>`
***************************
Release Series 2.0 (jethro)
***************************
- :yocto_docs:`1.9 BitBake User Manual </1.9/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0 BitBake User Manual </2.0/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0.1 BitBake User Manual </2.0.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0.2 BitBake User Manual </2.0.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0.3 BitBake User Manual </2.0.3/bitbake-user-manual/bitbake-user-manual.html>`
*************************
Release Series 1.8 (fido)
*************************
- :yocto_docs:`1.8 BitBake User Manual </1.8/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.8.1 BitBake User Manual </1.8.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.8.2 BitBake User Manual </1.8.2/bitbake-user-manual/bitbake-user-manual.html>`
**************************
Release Series 1.7 (dizzy)
**************************
- :yocto_docs:`1.7 BitBake User Manual </1.7/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.7.1 BitBake User Manual </1.7.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.7.2 BitBake User Manual </1.7.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.7.3 BitBake User Manual </1.7.3/bitbake-user-manual/bitbake-user-manual.html>`
**************************
Release Series 1.6 (daisy)
**************************
- :yocto_docs:`1.6 BitBake User Manual </1.6/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.6.1 BitBake User Manual </1.6.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.6.2 BitBake User Manual </1.6.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.6.3 BitBake User Manual </1.6.3/bitbake-user-manual/bitbake-user-manual.html>`

View File

@@ -0,0 +1,233 @@
(function() {
'use strict';
var all_versions = {
'dev': 'dev (3.2)',
'3.1.2': '3.1.2',
'3.0.3': '3.0.3',
'2.7.4': '2.7.4',
};
var all_doctypes = {
'single': 'Individual Webpages',
'mega': "All-in-one 'Mega' Manual",
};
// Simple version comparision
// Return 1 if a > b
// Return -1 if a < b
// Return 0 if a == b
function ver_compare(a, b) {
if (a == "dev") {
return 1;
}
if (a === b) {
return 0;
}
var a_components = a.split(".");
var b_components = b.split(".");
var len = Math.min(a_components.length, b_components.length);
// loop while the components are equal
for (var i = 0; i < len; i++) {
// A bigger than B
if (parseInt(a_components[i]) > parseInt(b_components[i])) {
return 1;
}
// B bigger than A
if (parseInt(a_components[i]) < parseInt(b_components[i])) {
return -1;
}
}
// If one's a prefix of the other, the longer one is greater.
if (a_components.length > b_components.length) {
return 1;
}
if (a_components.length < b_components.length) {
return -1;
}
// Otherwise they are the same.
return 0;
}
function build_version_select(current_series, current_version) {
var buf = ['<select>'];
$.each(all_versions, function(version, title) {
var series = version.substr(0, 3);
if (series == current_series) {
if (version == current_version)
buf.push('<option value="' + version + '" selected="selected">' + title + '</option>');
else
buf.push('<option value="' + version + '">' + title + '</option>');
if (version != current_version)
buf.push('<option value="' + current_version + '" selected="selected">' + current_version + '</option>');
} else {
buf.push('<option value="' + version + '">' + title + '</option>');
}
});
buf.push('</select>');
return buf.join('');
}
function build_doctype_select(current_doctype) {
var buf = ['<select>'];
$.each(all_doctypes, function(doctype, title) {
if (doctype == current_doctype)
buf.push('<option value="' + doctype + '" selected="selected">' +
all_doctypes[current_doctype] + '</option>');
else
buf.push('<option value="' + doctype + '">' + title + '</option>');
});
if (!(current_doctype in all_doctypes)) {
// In case we're browsing a doctype that is not yet in all_doctypes.
buf.push('<option value="' + current_doctype + '" selected="selected">' +
current_doctype + '</option>');
all_doctypes[current_doctype] = current_doctype;
}
buf.push('</select>');
return buf.join('');
}
function navigate_to_first_existing(urls) {
// Navigate to the first existing URL in urls.
var url = urls.shift();
// Web browsers won't redirect file:// urls to file urls using ajax but
// its useful for local testing
if (url.startsWith("file://")) {
window.location.href = url;
return;
}
if (urls.length == 0) {
window.location.href = url;
return;
}
$.ajax({
url: url,
success: function() {
window.location.href = url;
},
error: function() {
navigate_to_first_existing(urls);
}
});
}
function get_docroot_url() {
var url = window.location.href;
var root = DOCUMENTATION_OPTIONS.URL_ROOT;
var urlarray = url.split('/');
// Trim off anything after '/'
urlarray.pop();
var depth = (root.match(/\.\.\//g) || []).length;
for (var i = 0; i < depth; i++) {
urlarray.pop();
}
return urlarray.join('/') + '/';
}
function on_version_switch() {
var selected_version = $(this).children('option:selected').attr('value');
var url = window.location.href;
var current_version = DOCUMENTATION_OPTIONS.VERSION;
var docroot = get_docroot_url()
var new_versionpath = selected_version + '/';
if (selected_version == "dev")
new_versionpath = '';
// dev versions have no version prefix
if (current_version == "dev") {
var new_url = docroot + new_versionpath + url.replace(docroot, "");
var fallback_url = docroot + new_versionpath;
} else {
var new_url = url.replace('/' + current_version + '/', '/' + new_versionpath);
var fallback_url = new_url.replace(url.replace(docroot, ""), "");
}
console.log(get_docroot_url())
console.log(url + " to url " + new_url);
console.log(url + " to fallback " + fallback_url);
if (new_url != url) {
navigate_to_first_existing([
new_url,
fallback_url,
'https://www.yoctoproject.org/docs/',
]);
}
}
function on_doctype_switch() {
var selected_doctype = $(this).children('option:selected').attr('value');
var url = window.location.href;
if (selected_doctype == 'mega') {
var docroot = get_docroot_url()
var current_version = DOCUMENTATION_OPTIONS.VERSION;
// Assume manuals before 3.2 are using old docbook mega-manual
if (ver_compare(current_version, "3.2") < 0) {
var new_url = docroot + "mega-manual/mega-manual.html";
} else {
var new_url = docroot + "singleindex.html";
}
} else {
var new_url = url.replace("singleindex.html", "index.html")
}
if (new_url != url) {
navigate_to_first_existing([
new_url,
'https://www.yoctoproject.org/docs/',
]);
}
}
// Returns the current doctype based upon the url
function doctype_segment_from_url(url) {
if (url.includes("singleindex") || url.includes("mega-manual"))
return "mega";
return "single";
}
$(document).ready(function() {
var release = DOCUMENTATION_OPTIONS.VERSION;
var current_doctype = doctype_segment_from_url(window.location.href);
var current_series = release.substr(0, 3);
var version_select = build_version_select(current_series, release);
$('.version_switcher_placeholder').html(version_select);
$('.version_switcher_placeholder select').bind('change', on_version_switch);
var doctype_select = build_doctype_select(current_doctype);
$('.doctype_switcher_placeholder').html(doctype_select);
$('.doctype_switcher_placeholder select').bind('change', on_doctype_switch);
if (ver_compare(release, "3.1") < 0) {
$('#outdated-warning').html('Version ' + release + ' of the project is now considered obsolete, please select and use a more recent version');
$('#outdated-warning').css('padding', '.5em');
} else if (release != "dev") {
$.each(all_versions, function(version, title) {
var series = version.substr(0, 3);
if (series == current_series && version != release) {
$('#outdated-warning').html('This document is for outdated version ' + release + ', you should select the latest release version in this series, ' + version + '.');
$('#outdated-warning').css('padding', '.5em');
}
});
}
});
})();

View File

@@ -0,0 +1,162 @@
/*
SPDX-License-Identifier: CC-BY-2.0-UK
*/
body {
font-family: Verdana, Sans, sans-serif;
margin: 0em auto;
color: #333;
}
h1,h2,h3,h4,h5,h6,h7 {
font-family: Arial, Sans;
color: #00557D;
clear: both;
}
h1 {
font-size: 2em;
text-align: left;
padding: 0em 0em 0em 0em;
margin: 2em 0em 0em 0em;
}
h2.subtitle {
margin: 0.10em 0em 3.0em 0em;
padding: 0em 0em 0em 0em;
font-size: 1.8em;
padding-left: 20%;
font-weight: normal;
font-style: italic;
}
h2 {
margin: 2em 0em 0.66em 0em;
padding: 0.5em 0em 0em 0em;
font-size: 1.5em;
font-weight: bold;
}
h3.subtitle {
margin: 0em 0em 1em 0em;
padding: 0em 0em 0em 0em;
font-size: 142.14%;
text-align: right;
}
h3 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 140%;
font-weight: bold;
}
h4 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 120%;
font-weight: bold;
}
h5 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 110%;
font-weight: bold;
}
h6 {
margin: 1em 0em 0em 0em;
padding: 1em 0em 0em 0em;
font-size: 110%;
font-weight: bold;
}
em {
font-weight: bold;
}
.pre {
font-size: medium;
font-family: Courier, monospace;
}
.wy-nav-content a {
text-decoration: underline;
color: #444;
background: transparent;
}
.wy-nav-content a:hover {
text-decoration: underline;
background-color: #dedede;
}
.wy-nav-content a:visited {
color: #444;
}
[alt='Permalink'] { color: #eee; }
[alt='Permalink']:hover { color: black; }
@media screen {
/* content column
*
* RTD theme's default is 800px as max width for the content, but we have
* tables with tons of columns, which need the full width of the view-port.
*/
.wy-nav-content{max-width: none; }
/* inline literal: drop the borderbox, padding and red color */
code, .rst-content tt, .rst-content code {
color: inherit;
border: none;
padding: unset;
background: inherit;
font-size: 85%;
}
.rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal {
color: inherit;
}
/* Admonition should be gray, not blue or green */
.rst-content .note .admonition-title,
.rst-content .tip .admonition-title,
.rst-content .warning .admonition-title,
.rst-content .caution .admonition-title,
.rst-content .important .admonition-title {
background: #f0f0f2;
color: #00557D;
}
.rst-content .note,
.rst-content .tip,
.rst-content .important,
.rst-content .warning,
.rst-content .caution {
background: #f0f0f2;
}
/* Remove the icon in front of note/tip element, and before the logo */
.icon-home:before, .rst-content .admonition-title:before {
display: none
}
/* a custom informalexample container is used in some doc */
.informalexample {
border: 1px solid;
border-color: #aaa;
margin: 1em 0em;
padding: 1em;
page-break-inside: avoid;
}
/* Remove the blue background in the top left corner, around the logo */
.wy-side-nav-search {
background: inherit;
}
}

BIN
bitbake/doc/template/Vera.ttf vendored Normal file

Binary file not shown.

BIN
bitbake/doc/template/VeraMoBd.ttf vendored Normal file

Binary file not shown.

BIN
bitbake/doc/template/VeraMono.ttf vendored Normal file

Binary file not shown.

BIN
bitbake/doc/template/draft.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

197
bitbake/lib/bb/COW.py Normal file
View File

@@ -0,0 +1,197 @@
#
# This is a copy on write dictionary and set which abuses classes to try and be nice and fast.
#
# Copyright (C) 2006 Tim Ansell
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Please Note:
# Be careful when using mutable types (ie Dict and Lists) - operations involving these are SLOW.
# Assign a file to __warn__ to get warnings about slow operations.
#
import copy
ImmutableTypes = (
bool,
complex,
float,
int,
tuple,
frozenset,
str
)
MUTABLE = "__mutable__"
class COWMeta(type):
pass
class COWDictMeta(COWMeta):
__warn__ = False
__hasmutable__ = False
__marker__ = tuple()
def __str__(cls):
# FIXME: I have magic numbers!
return "<COWDict Level: %i Current Keys: %i>" % (cls.__count__, len(cls.__dict__) - 3)
__repr__ = __str__
def cow(cls):
class C(cls):
__count__ = cls.__count__ + 1
return C
copy = cow
__call__ = cow
def __setitem__(cls, key, value):
if value is not None and not isinstance(value, ImmutableTypes):
if not isinstance(value, COWMeta):
cls.__hasmutable__ = True
key += MUTABLE
setattr(cls, key, value)
def __getmutable__(cls, key, readonly=False):
nkey = key + MUTABLE
try:
return cls.__dict__[nkey]
except KeyError:
pass
value = getattr(cls, nkey)
if readonly:
return value
if not cls.__warn__ is False and not isinstance(value, COWMeta):
print("Warning: Doing a copy because %s is a mutable type." % key, file=cls.__warn__)
try:
value = value.copy()
except AttributeError as e:
value = copy.copy(value)
setattr(cls, nkey, value)
return value
__getmarker__ = []
def __getreadonly__(cls, key, default=__getmarker__):
"""
Get a value (even if mutable) which you promise not to change.
"""
return cls.__getitem__(key, default, True)
def __getitem__(cls, key, default=__getmarker__, readonly=False):
try:
try:
value = getattr(cls, key)
except AttributeError:
value = cls.__getmutable__(key, readonly)
# This is for values which have been deleted
if value is cls.__marker__:
raise AttributeError("key %s does not exist." % key)
return value
except AttributeError as e:
if not default is cls.__getmarker__:
return default
raise KeyError(str(e))
def __delitem__(cls, key):
cls.__setitem__(key, cls.__marker__)
def __revertitem__(cls, key):
if key not in cls.__dict__:
key += MUTABLE
delattr(cls, key)
def __contains__(cls, key):
return cls.has_key(key)
def has_key(cls, key):
value = cls.__getreadonly__(key, cls.__marker__)
if value is cls.__marker__:
return False
return True
def iter(cls, type, readonly=False):
for key in dir(cls):
if key.startswith("__"):
continue
if key.endswith(MUTABLE):
key = key[:-len(MUTABLE)]
if type == "keys":
yield key
try:
if readonly:
value = cls.__getreadonly__(key)
else:
value = cls[key]
except KeyError:
continue
if type == "values":
yield value
if type == "items":
yield (key, value)
return
def iterkeys(cls):
return cls.iter("keys")
def itervalues(cls, readonly=False):
if not cls.__warn__ is False and cls.__hasmutable__ and readonly is False:
print("Warning: If you aren't going to change any of the values call with True.", file=cls.__warn__)
return cls.iter("values", readonly)
def iteritems(cls, readonly=False):
if not cls.__warn__ is False and cls.__hasmutable__ and readonly is False:
print("Warning: If you aren't going to change any of the values call with True.", file=cls.__warn__)
return cls.iter("items", readonly)
class COWSetMeta(COWDictMeta):
def __str__(cls):
# FIXME: I have magic numbers!
return "<COWSet Level: %i Current Keys: %i>" % (cls.__count__, len(cls.__dict__) - 3)
__repr__ = __str__
def cow(cls):
class C(cls):
__count__ = cls.__count__ + 1
return C
def add(cls, value):
COWDictMeta.__setitem__(cls, repr(hash(value)), value)
def remove(cls, value):
COWDictMeta.__delitem__(cls, repr(hash(value)))
def __in__(cls, value):
return repr(hash(value)) in COWDictMeta
def iterkeys(cls):
raise TypeError("sets don't have keys")
def iteritems(cls):
raise TypeError("sets don't have 'items'")
# These are the actual classes you use!
class COWDictBase(metaclass=COWDictMeta):
__count__ = 0
class COWSetBase(metaclass=COWSetMeta):
__count__ = 0

241
bitbake/lib/bb/__init__.py Normal file
View File

@@ -0,0 +1,241 @@
#
# BitBake Build System Python Library
#
# Copyright (C) 2003 Holger Schurig
# Copyright (C) 2003, 2004 Chris Larson
#
# Based on Gentoo's portage.py.
#
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "2.8.0"
import sys
if sys.version_info < (3, 8, 0):
raise RuntimeError("Sorry, python 3.8.0 or later is required for this version of bitbake")
if sys.version_info < (3, 10, 0):
# With python 3.8 and 3.9, we see errors of "libgcc_s.so.1 must be installed for pthread_cancel to work"
# https://stackoverflow.com/questions/64797838/libgcc-s-so-1-must-be-installed-for-pthread-cancel-to-work
# https://bugs.ams1.psf.io/issue42888
# so ensure libgcc_s is loaded early on
import ctypes
libgcc_s = ctypes.CDLL('libgcc_s.so.1')
class BBHandledException(Exception):
"""
The big dilemma for generic bitbake code is what information to give the user
when an exception occurs. Any exception inheriting this base exception class
has already provided information to the user via some 'fired' message type such as
an explicitly fired event using bb.fire, or a bb.error message. If bitbake
encounters an exception derived from this class, no backtrace or other information
will be given to the user, its assumed the earlier event provided the relevant information.
"""
pass
import os
import logging
from collections import namedtuple
class NullHandler(logging.Handler):
def emit(self, record):
pass
class BBLoggerMixin(object):
def __init__(self, *args, **kwargs):
# Does nothing to allow calling super() from derived classes
pass
def setup_bblogger(self, name):
if name.split(".")[0] == "BitBake":
self.debug = self._debug_helper
def _debug_helper(self, *args, **kwargs):
return self.bbdebug(1, *args, **kwargs)
def debug2(self, *args, **kwargs):
return self.bbdebug(2, *args, **kwargs)
def debug3(self, *args, **kwargs):
return self.bbdebug(3, *args, **kwargs)
def bbdebug(self, level, msg, *args, **kwargs):
loglevel = logging.DEBUG - level + 1
if not bb.event.worker_pid:
if self.name in bb.msg.loggerDefaultDomains and loglevel > (bb.msg.loggerDefaultDomains[self.name]):
return
if loglevel < bb.msg.loggerDefaultLogLevel:
return
if not isinstance(level, int) or not isinstance(msg, str):
mainlogger.warning("Invalid arguments in bbdebug: %s" % repr((level, msg,) + args))
return self.log(loglevel, msg, *args, **kwargs)
def plain(self, msg, *args, **kwargs):
return self.log(logging.INFO + 1, msg, *args, **kwargs)
def verbose(self, msg, *args, **kwargs):
return self.log(logging.INFO - 1, msg, *args, **kwargs)
def verbnote(self, msg, *args, **kwargs):
return self.log(logging.INFO + 2, msg, *args, **kwargs)
def warnonce(self, msg, *args, **kwargs):
return self.log(logging.WARNING - 1, msg, *args, **kwargs)
def erroronce(self, msg, *args, **kwargs):
return self.log(logging.ERROR - 1, msg, *args, **kwargs)
Logger = logging.getLoggerClass()
class BBLogger(Logger, BBLoggerMixin):
def __init__(self, name, *args, **kwargs):
self.setup_bblogger(name)
super().__init__(name, *args, **kwargs)
logging.raiseExceptions = False
logging.setLoggerClass(BBLogger)
class BBLoggerAdapter(logging.LoggerAdapter, BBLoggerMixin):
def __init__(self, logger, *args, **kwargs):
self.setup_bblogger(logger.name)
super().__init__(logger, *args, **kwargs)
if sys.version_info < (3, 6):
# These properties were added in Python 3.6. Add them in older versions
# for compatibility
@property
def manager(self):
return self.logger.manager
@manager.setter
def manager(self, value):
self.logger.manager = value
@property
def name(self):
return self.logger.name
def __repr__(self):
logger = self.logger
level = logger.getLevelName(logger.getEffectiveLevel())
return '<%s %s (%s)>' % (self.__class__.__name__, logger.name, level)
logging.LoggerAdapter = BBLoggerAdapter
logger = logging.getLogger("BitBake")
logger.addHandler(NullHandler())
logger.setLevel(logging.DEBUG - 2)
mainlogger = logging.getLogger("BitBake.Main")
class PrefixLoggerAdapter(logging.LoggerAdapter):
def __init__(self, prefix, logger):
super().__init__(logger, {})
self.__msg_prefix = prefix
def process(self, msg, kwargs):
return "%s%s" %(self.__msg_prefix, msg), kwargs
# This has to be imported after the setLoggerClass, as the import of bb.msg
# can result in construction of the various loggers.
import bb.msg
from bb import fetch2 as fetch
sys.modules['bb.fetch'] = sys.modules['bb.fetch2']
# Messaging convenience functions
def plain(*args):
mainlogger.plain(''.join(args))
def debug(lvl, *args):
if isinstance(lvl, str):
mainlogger.warning("Passed invalid debug level '%s' to bb.debug", lvl)
args = (lvl,) + args
lvl = 1
mainlogger.bbdebug(lvl, ''.join(args))
def note(*args):
mainlogger.info(''.join(args))
#
# A higher prioity note which will show on the console but isn't a warning
#
# Something is happening the user should be aware of but they probably did
# something to make it happen
#
def verbnote(*args):
mainlogger.verbnote(''.join(args))
#
# Warnings - things the user likely needs to pay attention to and fix
#
def warn(*args):
mainlogger.warning(''.join(args))
def warnonce(*args):
mainlogger.warnonce(''.join(args))
def error(*args, **kwargs):
mainlogger.error(''.join(args), extra=kwargs)
def erroronce(*args):
mainlogger.erroronce(''.join(args))
def fatal(*args, **kwargs):
mainlogger.critical(''.join(args), extra=kwargs)
raise BBHandledException()
def deprecated(func, name=None, advice=""):
"""This is a decorator which can be used to mark functions
as deprecated. It will result in a warning being emitted
when the function is used."""
import warnings
if advice:
advice = ": %s" % advice
if name is None:
name = func.__name__
def newFunc(*args, **kwargs):
warnings.warn("Call to deprecated function %s%s." % (name,
advice),
category=DeprecationWarning,
stacklevel=2)
return func(*args, **kwargs)
newFunc.__name__ = func.__name__
newFunc.__doc__ = func.__doc__
newFunc.__dict__.update(func.__dict__)
return newFunc
# For compatibility
def deprecate_import(current, modulename, fromlist, renames = None):
"""Import objects from one module into another, wrapping them with a DeprecationWarning"""
import sys
module = __import__(modulename, fromlist = fromlist)
for position, objname in enumerate(fromlist):
obj = getattr(module, objname)
newobj = deprecated(obj, "{0}.{1}".format(current, objname),
"Please use {0}.{1} instead".format(modulename, objname))
if renames:
newname = renames[position]
else:
newname = objname
setattr(sys.modules[current], newname, newobj)
TaskData = namedtuple("TaskData", [
"pn",
"taskname",
"fn",
"deps",
"provides",
"taskhash",
"unihash",
"hashfn",
"taskhash_deps",
])

215
bitbake/lib/bb/acl.py Executable file
View File

@@ -0,0 +1,215 @@
#! /usr/bin/env python3
#
# Copyright 2023 by Garmin Ltd. or its subsidiaries
#
# SPDX-License-Identifier: MIT
import sys
import ctypes
import os
import errno
import pwd
import grp
libacl = ctypes.CDLL("libacl.so.1", use_errno=True)
ACL_TYPE_ACCESS = 0x8000
ACL_TYPE_DEFAULT = 0x4000
ACL_FIRST_ENTRY = 0
ACL_NEXT_ENTRY = 1
ACL_UNDEFINED_TAG = 0x00
ACL_USER_OBJ = 0x01
ACL_USER = 0x02
ACL_GROUP_OBJ = 0x04
ACL_GROUP = 0x08
ACL_MASK = 0x10
ACL_OTHER = 0x20
ACL_READ = 0x04
ACL_WRITE = 0x02
ACL_EXECUTE = 0x01
acl_t = ctypes.c_void_p
acl_entry_t = ctypes.c_void_p
acl_permset_t = ctypes.c_void_p
acl_perm_t = ctypes.c_uint
acl_tag_t = ctypes.c_int
libacl.acl_free.argtypes = [acl_t]
def acl_free(acl):
libacl.acl_free(acl)
libacl.acl_get_file.restype = acl_t
libacl.acl_get_file.argtypes = [ctypes.c_char_p, ctypes.c_uint]
def acl_get_file(path, typ):
acl = libacl.acl_get_file(os.fsencode(path), typ)
if acl is None:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err), str(path))
return acl
libacl.acl_get_entry.argtypes = [acl_t, ctypes.c_int, ctypes.c_void_p]
def acl_get_entry(acl, entry_id):
entry = acl_entry_t()
ret = libacl.acl_get_entry(acl, entry_id, ctypes.byref(entry))
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
if ret == 0:
return None
return entry
libacl.acl_get_tag_type.argtypes = [acl_entry_t, ctypes.c_void_p]
def acl_get_tag_type(entry_d):
tag = acl_tag_t()
ret = libacl.acl_get_tag_type(entry_d, ctypes.byref(tag))
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return tag.value
libacl.acl_get_qualifier.restype = ctypes.c_void_p
libacl.acl_get_qualifier.argtypes = [acl_entry_t]
def acl_get_qualifier(entry_d):
ret = libacl.acl_get_qualifier(entry_d)
if ret is None:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return ctypes.c_void_p(ret)
libacl.acl_get_permset.argtypes = [acl_entry_t, ctypes.c_void_p]
def acl_get_permset(entry_d):
permset = acl_permset_t()
ret = libacl.acl_get_permset(entry_d, ctypes.byref(permset))
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return permset
libacl.acl_get_perm.argtypes = [acl_permset_t, acl_perm_t]
def acl_get_perm(permset_d, perm):
ret = libacl.acl_get_perm(permset_d, perm)
if ret < 0:
err = ctypes.get_errno()
raise OSError(err, os.strerror(err))
return bool(ret)
class Entry(object):
def __init__(self, tag, qualifier, mode):
self.tag = tag
self.qualifier = qualifier
self.mode = mode
def __str__(self):
typ = ""
qual = ""
if self.tag == ACL_USER:
typ = "user"
qual = pwd.getpwuid(self.qualifier).pw_name
elif self.tag == ACL_GROUP:
typ = "group"
qual = grp.getgrgid(self.qualifier).gr_name
elif self.tag == ACL_USER_OBJ:
typ = "user"
elif self.tag == ACL_GROUP_OBJ:
typ = "group"
elif self.tag == ACL_MASK:
typ = "mask"
elif self.tag == ACL_OTHER:
typ = "other"
r = "r" if self.mode & ACL_READ else "-"
w = "w" if self.mode & ACL_WRITE else "-"
x = "x" if self.mode & ACL_EXECUTE else "-"
return f"{typ}:{qual}:{r}{w}{x}"
class ACL(object):
def __init__(self, acl):
self.acl = acl
def __del__(self):
acl_free(self.acl)
def entries(self):
entry_id = ACL_FIRST_ENTRY
while True:
entry = acl_get_entry(self.acl, entry_id)
if entry is None:
break
permset = acl_get_permset(entry)
mode = 0
for m in (ACL_READ, ACL_WRITE, ACL_EXECUTE):
if acl_get_perm(permset, m):
mode |= m
qualifier = None
tag = acl_get_tag_type(entry)
if tag == ACL_USER or tag == ACL_GROUP:
qual = acl_get_qualifier(entry)
qualifier = ctypes.cast(qual, ctypes.POINTER(ctypes.c_int))[0]
yield Entry(tag, qualifier, mode)
entry_id = ACL_NEXT_ENTRY
@classmethod
def from_path(cls, path, typ):
acl = acl_get_file(path, typ)
return cls(acl)
def main():
import argparse
import pwd
import grp
from pathlib import Path
parser = argparse.ArgumentParser()
parser.add_argument("path", help="File Path", type=Path)
args = parser.parse_args()
acl = ACL.from_path(args.path, ACL_TYPE_ACCESS)
for entry in acl.entries():
print(str(entry))
return 0
if __name__ == "__main__":
sys.exit(main())

View File

@@ -0,0 +1,16 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
from .client import AsyncClient, Client, ClientPool
from .serv import AsyncServer, AsyncServerConnection
from .connection import DEFAULT_MAX_CHUNK
from .exceptions import (
ClientError,
ServerError,
ConnectionClosedError,
InvokeError,
)

View File

@@ -0,0 +1,317 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import abc
import asyncio
import json
import os
import socket
import sys
import re
import contextlib
from threading import Thread
from .connection import StreamConnection, WebsocketConnection, DEFAULT_MAX_CHUNK
from .exceptions import ConnectionClosedError, InvokeError
UNIX_PREFIX = "unix://"
WS_PREFIX = "ws://"
WSS_PREFIX = "wss://"
ADDR_TYPE_UNIX = 0
ADDR_TYPE_TCP = 1
ADDR_TYPE_WS = 2
def parse_address(addr):
if addr.startswith(UNIX_PREFIX):
return (ADDR_TYPE_UNIX, (addr[len(UNIX_PREFIX) :],))
elif addr.startswith(WS_PREFIX) or addr.startswith(WSS_PREFIX):
return (ADDR_TYPE_WS, (addr,))
else:
m = re.match(r"\[(?P<host>[^\]]*)\]:(?P<port>\d+)$", addr)
if m is not None:
host = m.group("host")
port = m.group("port")
else:
host, port = addr.split(":")
return (ADDR_TYPE_TCP, (host, int(port)))
class AsyncClient(object):
def __init__(
self,
proto_name,
proto_version,
logger,
timeout=30,
server_headers=False,
headers={},
):
self.socket = None
self.max_chunk = DEFAULT_MAX_CHUNK
self.proto_name = proto_name
self.proto_version = proto_version
self.logger = logger
self.timeout = timeout
self.needs_server_headers = server_headers
self.server_headers = {}
self.headers = headers
async def connect_tcp(self, address, port):
async def connect_sock():
reader, writer = await asyncio.open_connection(address, port)
return StreamConnection(reader, writer, self.timeout, self.max_chunk)
self._connect_sock = connect_sock
async def connect_unix(self, path):
async def connect_sock():
# AF_UNIX has path length issues so chdir here to workaround
cwd = os.getcwd()
try:
os.chdir(os.path.dirname(path))
# The socket must be opened synchronously so that CWD doesn't get
# changed out from underneath us so we pass as a sock into asyncio
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM, 0)
sock.connect(os.path.basename(path))
finally:
os.chdir(cwd)
reader, writer = await asyncio.open_unix_connection(sock=sock)
return StreamConnection(reader, writer, self.timeout, self.max_chunk)
self._connect_sock = connect_sock
async def connect_websocket(self, uri):
import websockets
async def connect_sock():
websocket = await websockets.connect(
uri,
ping_interval=None,
open_timeout=self.timeout,
)
return WebsocketConnection(websocket, self.timeout)
self._connect_sock = connect_sock
async def setup_connection(self):
# Send headers
await self.socket.send("%s %s" % (self.proto_name, self.proto_version))
await self.socket.send(
"needs-headers: %s" % ("true" if self.needs_server_headers else "false")
)
for k, v in self.headers.items():
await self.socket.send("%s: %s" % (k, v))
# End of headers
await self.socket.send("")
self.server_headers = {}
if self.needs_server_headers:
while True:
line = await self.socket.recv()
if not line:
# End headers
break
tag, value = line.split(":", 1)
self.server_headers[tag.lower()] = value.strip()
async def get_header(self, tag, default):
await self.connect()
return self.server_headers.get(tag, default)
async def connect(self):
if self.socket is None:
self.socket = await self._connect_sock()
await self.setup_connection()
async def disconnect(self):
if self.socket is not None:
await self.socket.close()
self.socket = None
async def close(self):
await self.disconnect()
async def _send_wrapper(self, proc):
count = 0
while True:
try:
await self.connect()
return await proc()
except (
OSError,
ConnectionError,
ConnectionClosedError,
json.JSONDecodeError,
UnicodeDecodeError,
) as e:
self.logger.warning("Error talking to server: %s" % e)
if count >= 3:
if not isinstance(e, ConnectionError):
raise ConnectionError(str(e))
raise e
await self.close()
count += 1
def check_invoke_error(self, msg):
if isinstance(msg, dict) and "invoke-error" in msg:
raise InvokeError(msg["invoke-error"]["message"])
async def invoke(self, msg):
async def proc():
await self.socket.send_message(msg)
return await self.socket.recv_message()
result = await self._send_wrapper(proc)
self.check_invoke_error(result)
return result
async def ping(self):
return await self.invoke({"ping": {}})
async def __aenter__(self):
return self
async def __aexit__(self, exc_type, exc_value, traceback):
await self.close()
class Client(object):
def __init__(self):
self.client = self._get_async_client()
self.loop = asyncio.new_event_loop()
# Override any pre-existing loop.
# Without this, the PR server export selftest triggers a hang
# when running with Python 3.7. The drawback is that there is
# potential for issues if the PR and hash equiv (or some new)
# clients need to both be instantiated in the same process.
# This should be revisited if/when Python 3.9 becomes the
# minimum required version for BitBake, as it seems not
# required (but harmless) with it.
asyncio.set_event_loop(self.loop)
self._add_methods("connect_tcp", "ping")
@abc.abstractmethod
def _get_async_client(self):
pass
def _get_downcall_wrapper(self, downcall):
def wrapper(*args, **kwargs):
return self.loop.run_until_complete(downcall(*args, **kwargs))
return wrapper
def _add_methods(self, *methods):
for m in methods:
downcall = getattr(self.client, m)
setattr(self, m, self._get_downcall_wrapper(downcall))
def connect_unix(self, path):
self.loop.run_until_complete(self.client.connect_unix(path))
self.loop.run_until_complete(self.client.connect())
@property
def max_chunk(self):
return self.client.max_chunk
@max_chunk.setter
def max_chunk(self, value):
self.client.max_chunk = value
def disconnect(self):
self.loop.run_until_complete(self.client.close())
def close(self):
if self.loop:
self.loop.run_until_complete(self.client.close())
if sys.version_info >= (3, 6):
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
self.loop = None
def __enter__(self):
return self
def __exit__(self, exc_type, exc_value, traceback):
self.close()
return False
class ClientPool(object):
def __init__(self, max_clients):
self.avail_clients = []
self.num_clients = 0
self.max_clients = max_clients
self.loop = None
self.client_condition = None
@abc.abstractmethod
async def _new_client(self):
raise NotImplementedError("Must be implemented in derived class")
def close(self):
if self.client_condition:
self.client_condition = None
if self.loop:
self.loop.run_until_complete(self.__close_clients())
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
self.loop = None
def run_tasks(self, tasks):
if not self.loop:
self.loop = asyncio.new_event_loop()
thread = Thread(target=self.__thread_main, args=(tasks,))
thread.start()
thread.join()
@contextlib.asynccontextmanager
async def get_client(self):
async with self.client_condition:
if self.avail_clients:
client = self.avail_clients.pop()
elif self.num_clients < self.max_clients:
self.num_clients += 1
client = await self._new_client()
else:
while not self.avail_clients:
await self.client_condition.wait()
client = self.avail_clients.pop()
try:
yield client
finally:
async with self.client_condition:
self.avail_clients.append(client)
self.client_condition.notify()
def __thread_main(self, tasks):
async def process_task(task):
async with self.get_client() as client:
await task(client)
asyncio.set_event_loop(self.loop)
if not self.client_condition:
self.client_condition = asyncio.Condition()
tasks = [process_task(t) for t in tasks]
self.loop.run_until_complete(asyncio.gather(*tasks))
async def __close_clients(self):
for c in self.avail_clients:
await c.close()
self.avail_clients = []
self.num_clients = 0
def __enter__(self):
return self
def __exit__(self, exc_type, exc_value, traceback):
self.close()
return False

View File

@@ -0,0 +1,146 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import asyncio
import itertools
import json
from datetime import datetime
from .exceptions import ClientError, ConnectionClosedError
# The Python async server defaults to a 64K receive buffer, so we hardcode our
# maximum chunk size. It would be better if the client and server reported to
# each other what the maximum chunk sizes were, but that will slow down the
# connection setup with a round trip delay so I'd rather not do that unless it
# is necessary
DEFAULT_MAX_CHUNK = 32 * 1024
def chunkify(msg, max_chunk):
if len(msg) < max_chunk - 1:
yield "".join((msg, "\n"))
else:
yield "".join((json.dumps({"chunk-stream": None}), "\n"))
args = [iter(msg)] * (max_chunk - 1)
for m in map("".join, itertools.zip_longest(*args, fillvalue="")):
yield "".join(itertools.chain(m, "\n"))
yield "\n"
def json_serialize(obj):
if isinstance(obj, datetime):
return obj.isoformat()
raise TypeError("Type %s not serializeable" % type(obj))
class StreamConnection(object):
def __init__(self, reader, writer, timeout, max_chunk=DEFAULT_MAX_CHUNK):
self.reader = reader
self.writer = writer
self.timeout = timeout
self.max_chunk = max_chunk
@property
def address(self):
return self.writer.get_extra_info("peername")
async def send_message(self, msg):
for c in chunkify(json.dumps(msg, default=json_serialize), self.max_chunk):
self.writer.write(c.encode("utf-8"))
await self.writer.drain()
async def recv_message(self):
l = await self.recv()
m = json.loads(l)
if not m:
return m
if "chunk-stream" in m:
lines = []
while True:
l = await self.recv()
if not l:
break
lines.append(l)
m = json.loads("".join(lines))
return m
async def send(self, msg):
self.writer.write(("%s\n" % msg).encode("utf-8"))
await self.writer.drain()
async def recv(self):
if self.timeout < 0:
line = await self.reader.readline()
else:
try:
line = await asyncio.wait_for(self.reader.readline(), self.timeout)
except asyncio.TimeoutError:
raise ConnectionError("Timed out waiting for data")
if not line:
raise ConnectionClosedError("Connection closed")
line = line.decode("utf-8")
if not line.endswith("\n"):
raise ConnectionError("Bad message %r" % (line))
return line.rstrip()
async def close(self):
self.reader = None
if self.writer is not None:
self.writer.close()
self.writer = None
class WebsocketConnection(object):
def __init__(self, socket, timeout):
self.socket = socket
self.timeout = timeout
@property
def address(self):
return ":".join(str(s) for s in self.socket.remote_address)
async def send_message(self, msg):
await self.send(json.dumps(msg, default=json_serialize))
async def recv_message(self):
m = await self.recv()
return json.loads(m)
async def send(self, msg):
import websockets.exceptions
try:
await self.socket.send(msg)
except websockets.exceptions.ConnectionClosed:
raise ConnectionClosedError("Connection closed")
async def recv(self):
import websockets.exceptions
try:
if self.timeout < 0:
return await self.socket.recv()
try:
return await asyncio.wait_for(self.socket.recv(), self.timeout)
except asyncio.TimeoutError:
raise ConnectionError("Timed out waiting for data")
except websockets.exceptions.ConnectionClosed:
raise ConnectionClosedError("Connection closed")
async def close(self):
if self.socket is not None:
await self.socket.close()
self.socket = None

View File

@@ -0,0 +1,21 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
class ClientError(Exception):
pass
class InvokeError(Exception):
pass
class ServerError(Exception):
pass
class ConnectionClosedError(Exception):
pass

View File

@@ -0,0 +1,391 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import abc
import asyncio
import json
import os
import signal
import socket
import sys
import multiprocessing
import logging
from .connection import StreamConnection, WebsocketConnection
from .exceptions import ClientError, ServerError, ConnectionClosedError, InvokeError
class ClientLoggerAdapter(logging.LoggerAdapter):
def process(self, msg, kwargs):
return f"[Client {self.extra['address']}] {msg}", kwargs
class AsyncServerConnection(object):
# If a handler returns this object (e.g. `return self.NO_RESPONSE`), no
# return message will be automatically be sent back to the client
NO_RESPONSE = object()
def __init__(self, socket, proto_name, logger):
self.socket = socket
self.proto_name = proto_name
self.handlers = {
"ping": self.handle_ping,
}
self.logger = ClientLoggerAdapter(
logger,
{
"address": socket.address,
},
)
self.client_headers = {}
async def close(self):
await self.socket.close()
async def handle_headers(self, headers):
return {}
async def process_requests(self):
try:
self.logger.info("Client %r connected" % (self.socket.address,))
# Read protocol and version
client_protocol = await self.socket.recv()
if not client_protocol:
return
(client_proto_name, client_proto_version) = client_protocol.split()
if client_proto_name != self.proto_name:
self.logger.debug("Rejecting invalid protocol %s" % (self.proto_name))
return
self.proto_version = tuple(int(v) for v in client_proto_version.split("."))
if not self.validate_proto_version():
self.logger.debug(
"Rejecting invalid protocol version %s" % (client_proto_version)
)
return
# Read headers
self.client_headers = {}
while True:
header = await self.socket.recv()
if not header:
# Empty line. End of headers
break
tag, value = header.split(":", 1)
self.client_headers[tag.lower()] = value.strip()
if self.client_headers.get("needs-headers", "false") == "true":
for k, v in (await self.handle_headers(self.client_headers)).items():
await self.socket.send("%s: %s" % (k, v))
await self.socket.send("")
# Handle messages
while True:
d = await self.socket.recv_message()
if d is None:
break
try:
response = await self.dispatch_message(d)
except InvokeError as e:
await self.socket.send_message(
{"invoke-error": {"message": str(e)}}
)
break
if response is not self.NO_RESPONSE:
await self.socket.send_message(response)
except ConnectionClosedError as e:
self.logger.info(str(e))
except (ClientError, ConnectionError) as e:
self.logger.error(str(e))
finally:
await self.close()
async def dispatch_message(self, msg):
for k in self.handlers.keys():
if k in msg:
self.logger.debug("Handling %s" % k)
return await self.handlers[k](msg[k])
raise ClientError("Unrecognized command %r" % msg)
async def handle_ping(self, request):
return {"alive": True}
class StreamServer(object):
def __init__(self, handler, logger):
self.handler = handler
self.logger = logger
self.closed = False
async def handle_stream_client(self, reader, writer):
# writer.transport.set_write_buffer_limits(0)
socket = StreamConnection(reader, writer, -1)
if self.closed:
await socket.close()
return
await self.handler(socket)
async def stop(self):
self.closed = True
class TCPStreamServer(StreamServer):
def __init__(self, host, port, handler, logger):
super().__init__(handler, logger)
self.host = host
self.port = port
def start(self, loop):
self.server = loop.run_until_complete(
asyncio.start_server(self.handle_stream_client, self.host, self.port)
)
for s in self.server.sockets:
self.logger.debug("Listening on %r" % (s.getsockname(),))
# Newer python does this automatically. Do it manually here for
# maximum compatibility
s.setsockopt(socket.SOL_TCP, socket.TCP_NODELAY, 1)
s.setsockopt(socket.SOL_TCP, socket.TCP_QUICKACK, 1)
# Enable keep alives. This prevents broken client connections
# from persisting on the server for long periods of time.
s.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPIDLE, 30)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPINTVL, 15)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPCNT, 4)
name = self.server.sockets[0].getsockname()
if self.server.sockets[0].family == socket.AF_INET6:
self.address = "[%s]:%d" % (name[0], name[1])
else:
self.address = "%s:%d" % (name[0], name[1])
return [self.server.wait_closed()]
async def stop(self):
await super().stop()
self.server.close()
def cleanup(self):
pass
class UnixStreamServer(StreamServer):
def __init__(self, path, handler, logger):
super().__init__(handler, logger)
self.path = path
def start(self, loop):
cwd = os.getcwd()
try:
# Work around path length limits in AF_UNIX
os.chdir(os.path.dirname(self.path))
self.server = loop.run_until_complete(
asyncio.start_unix_server(
self.handle_stream_client, os.path.basename(self.path)
)
)
finally:
os.chdir(cwd)
self.logger.debug("Listening on %r" % self.path)
self.address = "unix://%s" % os.path.abspath(self.path)
return [self.server.wait_closed()]
async def stop(self):
await super().stop()
self.server.close()
def cleanup(self):
os.unlink(self.path)
class WebsocketsServer(object):
def __init__(self, host, port, handler, logger):
self.host = host
self.port = port
self.handler = handler
self.logger = logger
def start(self, loop):
import websockets.server
self.server = loop.run_until_complete(
websockets.server.serve(
self.client_handler,
self.host,
self.port,
ping_interval=None,
)
)
for s in self.server.sockets:
self.logger.debug("Listening on %r" % (s.getsockname(),))
# Enable keep alives. This prevents broken client connections
# from persisting on the server for long periods of time.
s.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPIDLE, 30)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPINTVL, 15)
s.setsockopt(socket.IPPROTO_TCP, socket.TCP_KEEPCNT, 4)
name = self.server.sockets[0].getsockname()
if self.server.sockets[0].family == socket.AF_INET6:
self.address = "ws://[%s]:%d" % (name[0], name[1])
else:
self.address = "ws://%s:%d" % (name[0], name[1])
return [self.server.wait_closed()]
async def stop(self):
self.server.close()
def cleanup(self):
pass
async def client_handler(self, websocket):
socket = WebsocketConnection(websocket, -1)
await self.handler(socket)
class AsyncServer(object):
def __init__(self, logger):
self.logger = logger
self.loop = None
self.run_tasks = []
def start_tcp_server(self, host, port):
self.server = TCPStreamServer(host, port, self._client_handler, self.logger)
def start_unix_server(self, path):
self.server = UnixStreamServer(path, self._client_handler, self.logger)
def start_websocket_server(self, host, port):
self.server = WebsocketsServer(host, port, self._client_handler, self.logger)
async def _client_handler(self, socket):
address = socket.address
try:
client = self.accept_client(socket)
await client.process_requests()
except Exception as e:
import traceback
self.logger.error(
"Error from client %s: %s" % (address, str(e)), exc_info=True
)
traceback.print_exc()
finally:
self.logger.debug("Client %s disconnected", address)
await socket.close()
@abc.abstractmethod
def accept_client(self, socket):
pass
async def stop(self):
self.logger.debug("Stopping server")
await self.server.stop()
def start(self):
tasks = self.server.start(self.loop)
self.address = self.server.address
return tasks
def signal_handler(self):
self.logger.debug("Got exit signal")
self.loop.create_task(self.stop())
def _serve_forever(self, tasks):
try:
self.loop.add_signal_handler(signal.SIGTERM, self.signal_handler)
self.loop.add_signal_handler(signal.SIGINT, self.signal_handler)
self.loop.add_signal_handler(signal.SIGQUIT, self.signal_handler)
signal.pthread_sigmask(signal.SIG_UNBLOCK, [signal.SIGTERM])
self.loop.run_until_complete(asyncio.gather(*tasks))
self.logger.debug("Server shutting down")
finally:
self.server.cleanup()
def serve_forever(self):
"""
Serve requests in the current process
"""
self._create_loop()
tasks = self.start()
self._serve_forever(tasks)
self.loop.close()
def _create_loop(self):
# Create loop and override any loop that may have existed in
# a parent process. It is possible that the usecases of
# serve_forever might be constrained enough to allow using
# get_event_loop here, but better safe than sorry for now.
self.loop = asyncio.new_event_loop()
asyncio.set_event_loop(self.loop)
def serve_as_process(self, *, prefunc=None, args=(), log_level=None):
"""
Serve requests in a child process
"""
def run(queue):
# Create loop and override any loop that may have existed
# in a parent process. Without doing this and instead
# using get_event_loop, at the very minimum the hashserv
# unit tests will hang when running the second test.
# This happens since get_event_loop in the spawned server
# process for the second testcase ends up with the loop
# from the hashserv client created in the unit test process
# when running the first testcase. The problem is somewhat
# more general, though, as any potential use of asyncio in
# Cooker could create a loop that needs to replaced in this
# new process.
self._create_loop()
try:
self.address = None
tasks = self.start()
finally:
# Always put the server address to wake up the parent task
queue.put(self.address)
queue.close()
if prefunc is not None:
prefunc(self, *args)
if log_level is not None:
self.logger.setLevel(log_level)
self._serve_forever(tasks)
if sys.version_info >= (3, 6):
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
queue = multiprocessing.Queue()
# Temporarily block SIGTERM. The server process will inherit this
# block which will ensure it doesn't receive the SIGTERM until the
# handler is ready for it
mask = signal.pthread_sigmask(signal.SIG_BLOCK, [signal.SIGTERM])
try:
self.process = multiprocessing.Process(target=run, args=(queue,))
self.process.start()
self.address = queue.get()
queue.close()
queue.join_thread()
return self.process
finally:
signal.pthread_sigmask(signal.SIG_SETMASK, mask)

1023
bitbake/lib/bb/build.py Normal file

File diff suppressed because it is too large Load Diff

997
bitbake/lib/bb/cache.py Normal file
View File

@@ -0,0 +1,997 @@
#
# BitBake Cache implementation
#
# Caching of bitbake variables before task execution
# Copyright (C) 2006 Richard Purdie
# Copyright (C) 2012 Intel Corporation
# but small sections based on code from bin/bitbake:
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
# Copyright (C) 2003 - 2005 Michael 'Mickey' Lauer
# Copyright (C) 2005 Holger Hans Peter Freyther
# Copyright (C) 2005 ROAD GmbH
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import logging
import pickle
from collections import defaultdict
from collections.abc import Mapping
import bb.utils
from bb import PrefixLoggerAdapter
import re
import shutil
logger = logging.getLogger("BitBake.Cache")
__cache_version__ = "155"
def getCacheFile(path, filename, mc, data_hash):
mcspec = ''
if mc:
mcspec = ".%s" % mc
return os.path.join(path, filename + mcspec + "." + data_hash)
# RecipeInfoCommon defines common data retrieving methods
# from meta data for caches. CoreRecipeInfo as well as other
# Extra RecipeInfo needs to inherit this class
class RecipeInfoCommon(object):
@classmethod
def listvar(cls, var, metadata):
return cls.getvar(var, metadata).split()
@classmethod
def intvar(cls, var, metadata):
return int(cls.getvar(var, metadata) or 0)
@classmethod
def depvar(cls, var, metadata):
return bb.utils.explode_deps(cls.getvar(var, metadata))
@classmethod
def pkgvar(cls, var, packages, metadata):
return dict((pkg, cls.depvar("%s:%s" % (var, pkg), metadata))
for pkg in packages)
@classmethod
def taskvar(cls, var, tasks, metadata):
return dict((task, cls.getvar("%s:task-%s" % (var, task), metadata))
for task in tasks)
@classmethod
def flaglist(cls, flag, varlist, metadata, squash=False):
out_dict = dict((var, metadata.getVarFlag(var, flag))
for var in varlist)
if squash:
return dict((k,v) for (k,v) in out_dict.items() if v)
else:
return out_dict
@classmethod
def getvar(cls, var, metadata, expand = True):
return metadata.getVar(var, expand) or ''
class CoreRecipeInfo(RecipeInfoCommon):
__slots__ = ()
cachefile = "bb_cache.dat"
def __init__(self, filename, metadata):
self.file_depends = metadata.getVar('__depends', False)
self.timestamp = bb.parse.cached_mtime(filename)
self.variants = self.listvar('__VARIANTS', metadata) + ['']
self.appends = self.listvar('__BBAPPEND', metadata)
self.nocache = self.getvar('BB_DONT_CACHE', metadata)
self.provides = self.depvar('PROVIDES', metadata)
self.rprovides = self.depvar('RPROVIDES', metadata)
self.pn = self.getvar('PN', metadata) or bb.parse.vars_from_file(filename,metadata)[0]
self.packages = self.listvar('PACKAGES', metadata)
if not self.packages:
self.packages.append(self.pn)
self.packages_dynamic = self.listvar('PACKAGES_DYNAMIC', metadata)
self.rprovides_pkg = self.pkgvar('RPROVIDES', self.packages, metadata)
self.skipreason = self.getvar('__SKIPPED', metadata)
if self.skipreason:
self.skipped = True
return
self.tasks = metadata.getVar('__BBTASKS', False)
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': {}}
self.skipped = False
self.pe = self.getvar('PE', metadata)
self.pv = self.getvar('PV', metadata)
self.pr = self.getvar('PR', metadata)
self.defaultpref = self.intvar('DEFAULT_PREFERENCE', metadata)
self.not_world = self.getvar('EXCLUDE_FROM_WORLD', metadata)
self.stamp = self.getvar('STAMP', metadata)
self.stampclean = self.getvar('STAMPCLEAN', metadata)
self.stamp_extrainfo = self.flaglist('stamp-extra-info', self.tasks, metadata)
self.file_checksums = self.flaglist('file-checksums', self.tasks, metadata, True)
self.depends = self.depvar('DEPENDS', metadata)
self.rdepends = self.depvar('RDEPENDS', metadata)
self.rrecommends = self.depvar('RRECOMMENDS', metadata)
self.rdepends_pkg = self.pkgvar('RDEPENDS', self.packages, metadata)
self.rrecommends_pkg = self.pkgvar('RRECOMMENDS', self.packages, metadata)
self.inherits = self.getvar('__inherit_cache', metadata, expand=False)
self.fakerootenv = self.getvar('FAKEROOTENV', metadata)
self.fakerootdirs = self.getvar('FAKEROOTDIRS', metadata)
self.fakerootlogs = self.getvar('FAKEROOTLOGS', metadata)
self.fakerootnoenv = self.getvar('FAKEROOTNOENV', metadata)
self.extradepsfunc = self.getvar('calculate_extra_depends', metadata)
@classmethod
def init_cacheData(cls, cachedata):
# CacheData in Core RecipeInfo Class
cachedata.task_deps = {}
cachedata.pkg_fn = {}
cachedata.pkg_pn = defaultdict(list)
cachedata.pkg_pepvpr = {}
cachedata.pkg_dp = {}
cachedata.stamp = {}
cachedata.stampclean = {}
cachedata.stamp_extrainfo = {}
cachedata.file_checksums = {}
cachedata.fn_provides = {}
cachedata.pn_provides = defaultdict(list)
cachedata.all_depends = []
cachedata.deps = defaultdict(list)
cachedata.packages = defaultdict(list)
cachedata.providers = defaultdict(list)
cachedata.rproviders = defaultdict(list)
cachedata.packages_dynamic = defaultdict(list)
cachedata.rundeps = defaultdict(lambda: defaultdict(list))
cachedata.runrecs = defaultdict(lambda: defaultdict(list))
cachedata.possible_world = []
cachedata.universe_target = []
cachedata.hashfn = {}
cachedata.basetaskhash = {}
cachedata.inherits = {}
cachedata.fakerootenv = {}
cachedata.fakerootnoenv = {}
cachedata.fakerootdirs = {}
cachedata.fakerootlogs = {}
cachedata.extradepsfunc = {}
def add_cacheData(self, cachedata, fn):
cachedata.task_deps[fn] = self.task_deps
cachedata.pkg_fn[fn] = self.pn
cachedata.pkg_pn[self.pn].append(fn)
cachedata.pkg_pepvpr[fn] = (self.pe, self.pv, self.pr)
cachedata.pkg_dp[fn] = self.defaultpref
cachedata.stamp[fn] = self.stamp
cachedata.stampclean[fn] = self.stampclean
cachedata.stamp_extrainfo[fn] = self.stamp_extrainfo
cachedata.file_checksums[fn] = self.file_checksums
provides = [self.pn]
for provide in self.provides:
if provide not in provides:
provides.append(provide)
cachedata.fn_provides[fn] = provides
for provide in provides:
cachedata.providers[provide].append(fn)
if provide not in cachedata.pn_provides[self.pn]:
cachedata.pn_provides[self.pn].append(provide)
for dep in self.depends:
if dep not in cachedata.deps[fn]:
cachedata.deps[fn].append(dep)
if dep not in cachedata.all_depends:
cachedata.all_depends.append(dep)
rprovides = self.rprovides
for package in self.packages:
cachedata.packages[package].append(fn)
rprovides += self.rprovides_pkg[package]
for rprovide in rprovides:
if fn not in cachedata.rproviders[rprovide]:
cachedata.rproviders[rprovide].append(fn)
for package in self.packages_dynamic:
cachedata.packages_dynamic[package].append(fn)
# Build hash of runtime depends and recommends
for package in self.packages:
cachedata.rundeps[fn][package] = list(self.rdepends) + self.rdepends_pkg[package]
cachedata.runrecs[fn][package] = list(self.rrecommends) + self.rrecommends_pkg[package]
# Collect files we may need for possible world-dep
# calculations
if not bb.utils.to_boolean(self.not_world):
cachedata.possible_world.append(fn)
#else:
# logger.debug2("EXCLUDE FROM WORLD: %s", fn)
# create a collection of all targets for sanity checking
# tasks, such as upstream versions, license, and tools for
# task and image creation.
cachedata.universe_target.append(self.pn)
cachedata.hashfn[fn] = self.hashfilename
for task, taskhash in self.basetaskhashes.items():
identifier = '%s:%s' % (fn, task)
cachedata.basetaskhash[identifier] = taskhash
cachedata.inherits[fn] = self.inherits
cachedata.fakerootenv[fn] = self.fakerootenv
cachedata.fakerootnoenv[fn] = self.fakerootnoenv
cachedata.fakerootdirs[fn] = self.fakerootdirs
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
"""
mc = ""
if virtualfn.startswith('mc:') and virtualfn.count(':') >= 2:
(_, mc, virtualfn) = virtualfn.split(':', 2)
fn = virtualfn
cls = ""
if virtualfn.startswith('virtual:'):
elems = virtualfn.split(':')
cls = ":".join(elems[1:-1])
fn = elems[-1]
return (fn, cls, mc)
def realfn2virtual(realfn, cls, mc):
"""
Convert a real filename + the associated subclass keyword to a virtual filename
"""
if cls:
realfn = "virtual:" + cls + ":" + realfn
if mc:
realfn = "mc:" + mc + ":" + realfn
return realfn
def variant2virtual(realfn, variant):
"""
Convert a real filename + a variant to a virtual filename
"""
if variant == "":
return realfn
if variant.startswith("mc:") and variant.count(':') >= 2:
elems = variant.split(":")
if elems[2]:
return "mc:" + elems[1] + ":virtual:" + ":".join(elems[2:]) + ":" + realfn
return "mc:" + elems[1] + ":" + realfn
return "virtual:" + variant + ":" + realfn
#
# 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):
self.databuilder = databuilder
self.data = databuilder.data
# Pass caches_array information into Cache Constructor
# It will be used later for deciding whether we
# need extra cache file dump/load support
self.mc = mc
self.logger = PrefixLoggerAdapter("Cache: %s: " % (mc if mc else "default"), logger)
self.caches_array = caches_array
self.cachedir = self.data.getVar("CACHE")
self.clean = set()
self.checked = set()
self.depends_cache = {}
self.data_fn = None
self.cacheclean = True
self.data_hash = data_hash
self.filelist_regex = re.compile(r'(?:(?<=:True)|(?<=:False))\s+')
if self.cachedir in [None, '']:
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):
loaded = 0
self.cachefile = self.getCacheFile("bb_cache.dat")
self.logger.debug("Cache dir: %s", self.cachedir)
bb.utils.mkdirhier(self.cachedir)
cache_ok = True
if self.caches_array:
for cache_class in self.caches_array:
cachefile = self.getCacheFile(cache_class.cachefile)
cache_exists = os.path.exists(cachefile)
self.logger.debug2("Checking if %s exists: %r", cachefile, cache_exists)
cache_ok = cache_ok and cache_exists
cache_class.init_cacheData(self)
if cache_ok:
loaded = self.load_cachefile(progress)
elif os.path.isfile(self.cachefile):
self.logger.info("Out of date cache found, rebuilding...")
else:
self.logger.debug("Cache file %s not found, building..." % self.cachefile)
# We don't use the symlink, its just for debugging convinience
if self.mc:
symlink = os.path.join(self.cachedir, "bb_cache.dat.%s" % self.mc)
else:
symlink = os.path.join(self.cachedir, "bb_cache.dat")
if os.path.exists(symlink):
bb.utils.remove(symlink)
try:
os.symlink(os.path.basename(self.cachefile), symlink)
except OSError:
pass
return loaded
def cachesize(self):
cachesize = 0
for cache_class in self.caches_array:
cachefile = self.getCacheFile(cache_class.cachefile)
try:
with open(cachefile, "rb") as cachefile:
cachesize += os.fstat(cachefile.fileno()).st_size
except FileNotFoundError:
pass
return cachesize
def load_cachefile(self, progress):
previous_progress = 0
for cache_class in self.caches_array:
cachefile = self.getCacheFile(cache_class.cachefile)
self.logger.debug('Loading cache file: %s' % cachefile)
with open(cachefile, "rb") as cachefile:
pickled = pickle.Unpickler(cachefile)
# Check cache version information
try:
cache_ver = pickled.load()
bitbake_ver = pickled.load()
except Exception:
self.logger.info('Invalid cache, rebuilding...')
return 0
if cache_ver != __cache_version__:
self.logger.info('Cache version mismatch, rebuilding...')
return 0
elif bitbake_ver != bb.__version__:
self.logger.info('Bitbake version mismatch, rebuilding...')
return 0
# Load the rest of the cache file
current_progress = 0
while cachefile:
try:
key = pickled.load()
value = pickled.load()
except Exception:
break
if not isinstance(key, str):
bb.warn("%s from extras cache is not a string?" % key)
break
if not isinstance(value, RecipeInfoCommon):
bb.warn("%s from extras cache is not a RecipeInfoCommon class?" % value)
break
if key in self.depends_cache:
self.depends_cache[key].append(value)
else:
self.depends_cache[key] = [value]
# only fire events on even percentage boundaries
current_progress = cachefile.tell() + previous_progress
progress(cachefile.tell() + previous_progress)
previous_progress += current_progress
return len(self.depends_cache)
def parse(self, filename, appends, layername):
"""Parse the specified filename, returning the recipe information"""
self.logger.debug("Parsing %s", filename)
infos = []
datastores = self.databuilder.parseRecipeVariants(filename, appends, mc=self.mc, layername=layername)
depends = []
variants = []
# Process the "real" fn last so we can store variants list
for variant, data in sorted(datastores.items(),
key=lambda i: i[0],
reverse=True):
virtualfn = variant2virtual(filename, variant)
variants.append(variant)
depends = depends + (data.getVar("__depends", False) or [])
if depends and not variant:
data.setVar("__depends", depends)
if virtualfn == filename:
data.setVar("__VARIANTS", " ".join(variants))
info_array = []
for cache_class in self.caches_array:
info = cache_class(filename, data)
info_array.append(info)
infos.append((virtualfn, info_array))
return infos
def loadCached(self, filename, appends):
"""Obtain the recipe information for the specified filename,
using cached values.
"""
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 infos
def cacheValid(self, fn, appends):
"""
Is the cache valid for fn?
Fast version, no timestamps checked.
"""
if fn not in self.checked:
self.cacheValidUpdate(fn, appends)
if fn in self.clean:
return True
return False
def cacheValidUpdate(self, fn, appends):
"""
Is the cache valid for fn?
Make thorough (slower) checks including timestamps.
"""
self.checked.add(fn)
# File isn't in depends_cache
if not fn in self.depends_cache:
self.logger.debug2("%s is not cached", fn)
return False
mtime = bb.parse.cached_mtime_noerror(fn)
# Check file still exists
if mtime == 0:
self.logger.debug2("%s no longer exists", fn)
self.remove(fn)
return False
info_array = self.depends_cache[fn]
# Check the file's timestamp
if mtime != info_array[0].timestamp:
self.logger.debug2("%s changed", fn)
self.remove(fn)
return False
# Check dependencies are still valid
depends = info_array[0].file_depends
if depends:
for f, old_mtime in depends:
fmtime = bb.parse.cached_mtime_noerror(f)
# Check if file still exists
if old_mtime != 0 and fmtime == 0:
self.logger.debug2("%s's dependency %s was removed",
fn, f)
self.remove(fn)
return False
if (fmtime != old_mtime):
self.logger.debug2("%s's dependency %s changed",
fn, f)
self.remove(fn)
return False
if hasattr(info_array[0], 'file_checksums'):
for _, fl in info_array[0].file_checksums.items():
fl = fl.strip()
if not fl:
continue
# Have to be careful about spaces and colons in filenames
flist = self.filelist_regex.split(fl)
for f in flist:
if not f:
continue
f, exist = f.rsplit(":", 1)
if (exist == "True" and not os.path.exists(f)) or (exist == "False" and os.path.exists(f)):
self.logger.debug2("%s's file checksum list file %s changed",
fn, f)
self.remove(fn)
return False
if tuple(appends) != tuple(info_array[0].appends):
self.logger.debug2("appends for %s changed", fn)
self.logger.debug2("%s to %s" % (str(appends), str(info_array[0].appends)))
self.remove(fn)
return False
invalid = False
for cls in info_array[0].variants:
virtualfn = variant2virtual(fn, cls)
self.clean.add(virtualfn)
if virtualfn not in self.depends_cache:
self.logger.debug2("%s is not cached", virtualfn)
invalid = True
elif len(self.depends_cache[virtualfn]) != len(self.caches_array):
self.logger.debug2("Extra caches missing for %s?" % virtualfn)
invalid = True
# If any one of the variants is not present, mark as invalid for all
if invalid:
for cls in info_array[0].variants:
virtualfn = variant2virtual(fn, cls)
if virtualfn in self.clean:
self.logger.debug2("Removing %s from cache", virtualfn)
self.clean.remove(virtualfn)
if fn in self.clean:
self.logger.debug2("Marking %s as not clean", fn)
self.clean.remove(fn)
return False
self.clean.add(fn)
return True
def remove(self, fn):
"""
Remove a fn from the cache
Called from the parser in error cases
"""
if fn in self.depends_cache:
self.logger.debug("Removing %s from cache", fn)
del self.depends_cache[fn]
if fn in self.clean:
self.logger.debug("Marking %s as unclean", fn)
self.clean.remove(fn)
def sync(self):
"""
Save the cache
Called from the parser when complete (or exiting)
"""
if self.cacheclean:
self.logger.debug2("Cache is clean, not saving.")
return
for cache_class in self.caches_array:
cache_class_name = cache_class.__name__
cachefile = self.getCacheFile(cache_class.cachefile)
self.logger.debug2("Writing %s", cachefile)
with open(cachefile, "wb") as f:
p = pickle.Pickler(f, pickle.HIGHEST_PROTOCOL)
p.dump(__cache_version__)
p.dump(bb.__version__)
for key, info_array in self.depends_cache.items():
for info in info_array:
if isinstance(info, RecipeInfoCommon) and info.__class__.__name__ == cache_class_name:
p.dump(key)
p.dump(info)
del self.depends_cache
SiggenRecipeInfo.reset()
@staticmethod
def mtime(cachefile):
return bb.parse.cached_mtime_noerror(cachefile)
def add_info(self, filename, info_array, cacheData, parsed=None, watcher=None):
if self.mc is not None:
(fn, cls, mc) = virtualfn2realfn(filename)
if mc:
self.logger.error("Unexpected multiconfig %s", filename)
return
vfn = realfn2virtual(fn, cls, self.mc)
else:
vfn = filename
if isinstance(info_array[0], CoreRecipeInfo) and (not info_array[0].skipped):
cacheData.add_from_recipeinfo(vfn, info_array)
if watcher:
watcher(info_array[0].file_depends)
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
class MulticonfigCache(Mapping):
def __init__(self, databuilder, data_hash, caches_array):
def progress(p):
nonlocal current_progress
nonlocal previous_progress
nonlocal previous_percent
nonlocal cachesize
current_progress = previous_progress + p
if current_progress > cachesize:
# we might have calculated incorrect total size because a file
# might've been written out just after we checked its size
cachesize = current_progress
current_percent = 100 * current_progress / cachesize
if current_percent > previous_percent:
previous_percent = current_percent
bb.event.fire(bb.event.CacheLoadProgress(current_progress, cachesize),
databuilder.data)
cachesize = 0
current_progress = 0
previous_progress = 0
previous_percent = 0
self.__caches = {}
for mc, mcdata in databuilder.mcdata.items():
self.__caches[mc] = Cache(databuilder, mc, data_hash, caches_array)
cachesize += self.__caches[mc].cachesize()
bb.event.fire(bb.event.CacheLoadStarted(cachesize), databuilder.data)
loaded = 0
for c in self.__caches.values():
SiggenRecipeInfo.reset()
loaded += c.prepare_cache(progress)
previous_progress = current_progress
# Note: depends cache number is corresponding to the parsing file numbers.
# The same file has several caches, still regarded as one item in the cache
bb.event.fire(bb.event.CacheLoadCompleted(cachesize, loaded), databuilder.data)
def __len__(self):
return len(self.__caches)
def __getitem__(self, key):
return self.__caches[key]
def __contains__(self, key):
return key in self.__caches
def __iter__(self):
for k in self.__caches:
yield k
def init(cooker):
"""
The Objective: Cache the minimum amount of data possible yet get to the
stage of building packages (i.e. tryBuild) without reparsing any .bb files.
To do this, we intercept getVar calls and only cache the variables we see
being accessed. We rely on the cache getVar calls being made for all
variables bitbake might need to use to reach this stage. For each cached
file we need to track:
* Its mtime
* The mtimes of all its dependencies
* Whether it caused a parse.SkipRecipe exception
Files causing parsing errors are evicted from the cache.
"""
return Cache(cooker.configuration.data, cooker.configuration.data_hash)
class CacheData(object):
"""
The data structures we compile from the cached data
"""
def __init__(self, caches_array):
self.caches_array = caches_array
for cache_class in self.caches_array:
if not issubclass(cache_class, RecipeInfoCommon):
bb.error("Extra cache data class %s should subclass RecipeInfoCommon class" % cache_class)
cache_class.init_cacheData(self)
# Direct cache variables
self.task_queues = {}
self.preferred = {}
self.tasks = {}
# Indirect Cache variables (set elsewhere)
self.ignored_dependencies = []
self.world_target = set()
self.bbfile_priority = {}
def add_from_recipeinfo(self, fn, info_array):
for info in info_array:
info.add_cacheData(self, fn)
class MultiProcessCache(object):
"""
BitBake multi-process cache implementation
Used by the codeparser & file checksum caches
"""
def __init__(self):
self.cachefile = None
self.cachedata = self.create_cachedata()
self.cachedata_extras = self.create_cachedata()
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)
logger.debug("Using cache in '%s'", self.cachefile)
glf = bb.utils.lockfile(self.cachefile + ".lock")
try:
with open(self.cachefile, "rb") as f:
p = pickle.Unpickler(f)
data, version = p.load()
except:
bb.utils.unlockfile(glf)
return
bb.utils.unlockfile(glf)
if version != self.__class__.CACHE_VERSION:
return
self.cachedata = data
def create_cachedata(self):
data = [{}]
return data
def save_extras(self):
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()
lf = None
while not lf:
lf = bb.utils.lockfile(self.cachefile + ".lock." + str(i), retry=False)
if not lf or os.path.exists(self.cachefile + "-" + str(i)):
if lf:
bb.utils.unlockfile(lf)
lf = None
i = i + 1
continue
with open(self.cachefile + "-" + str(i), "wb") as f:
p = pickle.Pickler(f, -1)
p.dump([self.cachedata_extras, self.__class__.CACHE_VERSION])
bb.utils.unlockfile(lf)
bb.utils.unlockfile(glf)
def merge_data(self, source, dest):
for j in range(0,len(dest)):
for h in source[j]:
if h not in dest[j]:
dest[j][h] = source[j][h]
def save_merge(self):
if not self.cachefile:
return
glf = bb.utils.lockfile(self.cachefile + ".lock")
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:
with open(f, "rb") as fd:
p = pickle.Unpickler(fd)
extradata, version = p.load()
except (IOError, EOFError):
os.unlink(f)
continue
if version != self.__class__.CACHE_VERSION:
os.unlink(f)
continue
have_data = True
self.merge_data(extradata, data)
os.unlink(f)
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)
class SimpleCache(object):
"""
BitBake multi-process cache implementation
Used by the codeparser & file checksum caches
"""
def __init__(self, version):
self.cachefile = None
self.cachedata = None
self.cacheversion = version
def init_cache(self, d, cache_file_name=None, defaultdata=None):
cachedir = (d.getVar("PERSISTENT_DIR") or
d.getVar("CACHE"))
if not cachedir:
return defaultdata
bb.utils.mkdirhier(cachedir)
self.cachefile = os.path.join(cachedir,
cache_file_name or self.__class__.cache_file_name)
logger.debug("Using cache in '%s'", self.cachefile)
glf = bb.utils.lockfile(self.cachefile + ".lock")
try:
with open(self.cachefile, "rb") as f:
p = pickle.Unpickler(f)
data, version = p.load()
except:
bb.utils.unlockfile(glf)
return defaultdata
bb.utils.unlockfile(glf)
if version != self.cacheversion:
return defaultdata
return data
def save(self, data):
if not self.cachefile:
return
glf = bb.utils.lockfile(self.cachefile + ".lock")
with open(self.cachefile, "wb") as f:
p = pickle.Pickler(f, -1)
p.dump([data, self.cacheversion])
bb.utils.unlockfile(glf)
def copyfile(self, target):
if not self.cachefile:
return
glf = bb.utils.lockfile(self.cachefile + ".lock")
shutil.copy(self.cachefile, target)
bb.utils.unlockfile(glf)

View File

@@ -0,0 +1,63 @@
#
# Extra RecipeInfo will be all defined in this file. Currently,
# Only Hob (Image Creator) Requests some extra fields. So
# HobRecipeInfo is defined. It's named HobRecipeInfo because it
# is introduced by 'hob'. Users could also introduce other
# RecipeInfo or simply use those already defined RecipeInfo.
# In the following patch, this newly defined new extra RecipeInfo
# will be dynamically loaded and used for loading/saving the extra
# cache fields
# Copyright (C) 2011, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: GPL-2.0-only
#
from bb.cache import RecipeInfoCommon
class HobRecipeInfo(RecipeInfoCommon):
__slots__ = ()
classname = "HobRecipeInfo"
# please override this member with the correct data cache file
# such as (bb_cache.dat, bb_extracache_hob.dat)
cachefile = "bb_extracache_" + classname +".dat"
# override this member with the list of extra cache fields
# that this class will provide
cachefields = ['summary', 'license', 'section',
'description', 'homepage', 'bugtracker',
'prevision', 'files_info']
def __init__(self, filename, metadata):
self.summary = self.getvar('SUMMARY', metadata)
self.license = self.getvar('LICENSE', metadata)
self.section = self.getvar('SECTION', metadata)
self.description = self.getvar('DESCRIPTION', metadata)
self.homepage = self.getvar('HOMEPAGE', metadata)
self.bugtracker = self.getvar('BUGTRACKER', metadata)
self.prevision = self.getvar('PR', metadata)
self.files_info = self.getvar('FILES_INFO', metadata)
@classmethod
def init_cacheData(cls, cachedata):
# CacheData in Hob RecipeInfo Class
cachedata.summary = {}
cachedata.license = {}
cachedata.section = {}
cachedata.description = {}
cachedata.homepage = {}
cachedata.bugtracker = {}
cachedata.prevision = {}
cachedata.files_info = {}
def add_cacheData(self, cachedata, fn):
cachedata.summary[fn] = self.summary
cachedata.license[fn] = self.license
cachedata.section[fn] = self.section
cachedata.description[fn] = self.description
cachedata.homepage[fn] = self.homepage
cachedata.bugtracker[fn] = self.bugtracker
cachedata.prevision[fn] = self.prevision
cachedata.files_info[fn] = self.files_info

144
bitbake/lib/bb/checksum.py Normal file
View File

@@ -0,0 +1,144 @@
# Local file checksum cache implementation
#
# Copyright (C) 2012 Intel Corporation
#
# SPDX-License-Identifier: GPL-2.0-only
#
import glob
import operator
import os
import stat
import bb.utils
import logging
import re
from bb.cache import MultiProcessCache
logger = logging.getLogger("BitBake.Cache")
filelist_regex = re.compile(r'(?:(?<=:True)|(?<=:False))\s+')
# mtime cache (non-persistent)
# based upon the assumption that files do not change during bitbake run
class FileMtimeCache(object):
cache = {}
def cached_mtime(self, f):
if f not in self.cache:
self.cache[f] = os.stat(f)[stat.ST_MTIME]
return self.cache[f]
def cached_mtime_noerror(self, f):
if f not in self.cache:
try:
self.cache[f] = os.stat(f)[stat.ST_MTIME]
except OSError:
return 0
return self.cache[f]
def update_mtime(self, f):
self.cache[f] = os.stat(f)[stat.ST_MTIME]
return self.cache[f]
def clear(self):
self.cache.clear()
# Checksum + mtime cache (persistent)
class FileChecksumCache(MultiProcessCache):
cache_file_name = "local_file_checksum_cache.dat"
CACHE_VERSION = 1
def __init__(self):
self.mtime_cache = FileMtimeCache()
MultiProcessCache.__init__(self)
def get_checksum(self, f):
f = os.path.normpath(f)
entry = self.cachedata[0].get(f)
cmtime = self.mtime_cache.cached_mtime(f)
if entry:
(mtime, hashval) = entry
if cmtime == mtime:
return hashval
else:
bb.debug(2, "file %s changed mtime, recompute checksum" % f)
hashval = bb.utils.md5_file(f)
self.cachedata_extras[0][f] = (cmtime, hashval)
return hashval
def merge_data(self, source, dest):
for h in source[0]:
if h in dest:
(smtime, _) = source[0][h]
(dmtime, _) = dest[0][h]
if smtime > dmtime:
dest[0][h] = source[0][h]
else:
dest[0][h] = source[0][h]
def get_checksums(self, filelist, pn, localdirsexclude):
"""Get checksums for a list of files"""
def checksum_file(f):
try:
checksum = self.get_checksum(f)
except OSError as e:
bb.warn("Unable to get checksum for %s SRC_URI entry %s: %s" % (pn, os.path.basename(f), e))
return None
return checksum
#
# Changing the format of file-checksums is problematic as both OE and Bitbake have
# knowledge of them. We need to encode a new piece of data, the portion of the path
# we care about from a checksum perspective. This means that files that change subdirectory
# are tracked by the task hashes. To do this, we do something horrible and put a "/./" into
# the path. The filesystem handles it but it gives us a marker to know which subsection
# of the path to cache.
#
def checksum_dir(pth):
# Handle directories recursively
if pth == "/":
bb.fatal("Refusing to checksum /")
pth = pth.rstrip("/")
dirchecksums = []
for root, dirs, files in os.walk(pth, topdown=True):
[dirs.remove(d) for d in list(dirs) if d in localdirsexclude]
for name in files:
fullpth = os.path.join(root, name).replace(pth, os.path.join(pth, "."))
checksum = checksum_file(fullpth)
if checksum:
dirchecksums.append((fullpth, checksum))
return dirchecksums
checksums = []
for pth in filelist_regex.split(filelist):
if not pth:
continue
pth = pth.strip()
if not pth:
continue
exist = pth.split(":")[1]
if exist == "False":
continue
pth = pth.split(":")[0]
if '*' in pth:
# Handle globs
for f in glob.glob(pth):
if os.path.isdir(f):
if not os.path.islink(f):
checksums.extend(checksum_dir(f))
else:
checksum = checksum_file(f)
if checksum:
checksums.append((f, checksum))
elif os.path.isdir(pth):
if not os.path.islink(pth):
checksums.extend(checksum_dir(pth))
else:
checksum = checksum_file(pth)
if checksum:
checksums.append((pth, checksum))
checksums.sort(key=operator.itemgetter(1))
return checksums

View File

@@ -0,0 +1,528 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""
BitBake code parser
Parses actual code (i.e. python and shell) for functions and in-line
expressions. Used mainly to determine dependencies on other functions
and variables within the BitBake metadata. Also provides a cache for
this information in order to speed up processing.
(Not to be confused with the code that parses the metadata itself,
see lib/bb/parse/ for that).
NOTE: if you change how the parsers gather information you will almost
certainly need to increment CodeParserCache.CACHE_VERSION below so that
any existing codeparser cache gets invalidated. Additionally you'll need
to increment __cache_version__ in cache.py in order to ensure that old
recipe caches don't trigger "Taskhash mismatch" errors.
"""
import ast
import sys
import codegen
import logging
import inspect
import bb.pysh as pysh
import bb.utils, bb.data
import hashlib
from itertools import chain
from bb.pysh import pyshyacc, pyshlex
from bb.cache import MultiProcessCache
logger = logging.getLogger('BitBake.CodeParser')
def bbhash(s):
return hashlib.sha256(s.encode("utf-8")).hexdigest()
def check_indent(codestr):
"""If the code is indented, add a top level piece of code to 'remove' the indentation"""
i = 0
while codestr[i] in ["\n", "\t", " "]:
i = i + 1
if i == 0:
return codestr
if codestr[i-1] == "\t" or codestr[i-1] == " ":
if codestr[0] == "\n":
# Since we're adding a line, we need to remove one line of any empty padding
# to ensure line numbers are correct
codestr = codestr[1:]
return "if 1:\n" + codestr
return codestr
modulecode_deps = {}
def add_module_functions(fn, functions, namespace):
import os
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:
targetfn = inspect.getsourcefile(functions[f])
if fn != targetfn:
# Skip references to other modules outside this file
#bb.warn("Skipping %s" % name)
continue
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(), parser.extra]
#bb.warn("%s: %s\nRefs:%s Execs: %s %s %s" % (name, fn, 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], modulecode_deps[mod][4]]
# 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 = {}
def internSet(self, items):
new = []
for i in items:
new.append(sys.intern(i))
s = frozenset(new)
h = hash(s)
if h in self.setcache:
return self.setcache[h]
self.setcache[h] = s
return s
codecache = SetCache()
class pythonCacheLine(object):
def __init__(self, refs, execs, contains, extra):
self.refs = codecache.internSet(refs)
self.execs = codecache.internSet(execs)
self.contains = {}
for c in contains:
self.contains[c] = codecache.internSet(contains[c])
self.extra = extra
def __getstate__(self):
return (self.refs, self.execs, self.contains, self.extra)
def __setstate__(self, state):
(refs, execs, contains, extra) = state
self.__init__(refs, execs, contains, extra)
def __hash__(self):
l = (hash(self.refs), hash(self.execs), hash(self.extra))
for c in sorted(self.contains.keys()):
l = l + (c, hash(self.contains[c]))
return hash(l)
def __repr__(self):
return " ".join([str(self.refs), str(self.execs), str(self.contains)])
class shellCacheLine(object):
def __init__(self, execs):
self.execs = codecache.internSet(execs)
def __getstate__(self):
return (self.execs)
def __setstate__(self, state):
(execs) = state
self.__init__(execs)
def __hash__(self):
return hash(self.execs)
def __repr__(self):
return str(self.execs)
class CodeParserCache(MultiProcessCache):
cache_file_name = "bb_codeparser.dat"
# NOTE: you must increment this if you change how the parsers gather information,
# so that an existing cache gets invalidated. Additionally you'll need
# to increment __cache_version__ in cache.py in order to ensure that old
# recipe caches don't trigger "Taskhash mismatch" errors.
CACHE_VERSION = 12
def __init__(self):
MultiProcessCache.__init__(self)
self.pythoncache = self.cachedata[0]
self.shellcache = self.cachedata[1]
self.pythoncacheextras = self.cachedata_extras[0]
self.shellcacheextras = self.cachedata_extras[1]
# To avoid duplication in the codeparser cache, keep
# a lookup of hashes of objects we already have
self.pythoncachelines = {}
self.shellcachelines = {}
def newPythonCacheLine(self, refs, execs, contains, extra):
cacheline = pythonCacheLine(refs, execs, contains, extra)
h = hash(cacheline)
if h in self.pythoncachelines:
return self.pythoncachelines[h]
self.pythoncachelines[h] = cacheline
return cacheline
def newShellCacheLine(self, execs):
cacheline = shellCacheLine(execs)
h = hash(cacheline)
if h in self.shellcachelines:
return self.shellcachelines[h]
self.shellcachelines[h] = cacheline
return cacheline
def init_cache(self, cachedir):
# Check if we already have the caches
if self.pythoncache:
return
MultiProcessCache.init_cache(self, cachedir)
# cachedata gets re-assigned in the parent
self.pythoncache = self.cachedata[0]
self.shellcache = self.cachedata[1]
def create_cachedata(self):
data = [{}, {}]
return data
codeparsercache = CodeParserCache()
def parser_cache_init(cachedir):
codeparsercache.init_cache(cachedir)
def parser_cache_save():
codeparsercache.save_extras()
def parser_cache_savemerge():
codeparsercache.save_merge()
Logger = logging.getLoggerClass()
class BufferedLogger(Logger):
def __init__(self, name, level=0, target=None):
Logger.__init__(self, name)
self.setLevel(level)
self.buffer = []
self.target = target
def handle(self, record):
self.buffer.append(record)
def flush(self):
for record in self.buffer:
if self.target.isEnabledFor(record.levelno):
self.target.handle(record)
self.buffer = []
class DummyLogger():
def flush(self):
return
class PythonParser():
getvars = (".getVar", ".appendVar", ".prependVar", "oe.utils.conditional")
getvarflags = (".getVarFlag", ".appendVarFlag", ".prependVarFlag")
containsfuncs = ("bb.utils.contains", "base_contains")
containsanyfuncs = ("bb.utils.contains_any", "bb.utils.filter")
execfuncs = ("bb.build.exec_func", "bb.build.exec_task")
def warn(self, func, arg):
"""Warn about calls of bitbake APIs which pass a non-literal
argument for the variable name, as we're not able to track such
a reference.
"""
try:
funcstr = codegen.to_source(func)
argstr = codegen.to_source(arg)
except TypeError:
self.log.debug2('Failed to convert function and argument to source form')
else:
self.log.debug(self.unhandled_message % (funcstr, argstr))
def visit_Call(self, node):
name = self.called_node_name(node.func)
if name and (name.endswith(self.getvars) or name.endswith(self.getvarflags) or name in self.containsfuncs or name in self.containsanyfuncs):
if isinstance(node.args[0], ast.Constant) and isinstance(node.args[0].value, str):
varname = node.args[0].value
if name in self.containsfuncs and isinstance(node.args[1], ast.Constant):
if varname not in self.contains:
self.contains[varname] = set()
self.contains[varname].add(node.args[1].value)
elif name in self.containsanyfuncs and isinstance(node.args[1], ast.Constant):
if varname not in self.contains:
self.contains[varname] = set()
self.contains[varname].update(node.args[1].value.split())
elif name.endswith(self.getvarflags):
if isinstance(node.args[1], ast.Constant):
self.references.add('%s[%s]' % (varname, node.args[1].value))
else:
self.warn(node.func, node.args[1])
else:
self.references.add(varname)
else:
self.warn(node.func, node.args[0])
elif name and name.endswith(".expand"):
if isinstance(node.args[0], ast.Constant):
value = node.args[0].value
d = bb.data.init()
parser = d.expandWithRefs(value, self.name)
self.references |= parser.references
self.execs |= parser.execs
for varname in parser.contains:
if varname not in self.contains:
self.contains[varname] = set()
self.contains[varname] |= parser.contains[varname]
elif name in self.execfuncs:
if isinstance(node.args[0], ast.Constant):
self.var_execs.add(node.args[0].value)
else:
self.warn(node.func, node.args[0])
elif name and isinstance(node.func, (ast.Name, ast.Attribute)):
self.execs.add(name)
def called_node_name(self, node):
"""Given a called node, return its original string form"""
components = []
while node:
if isinstance(node, ast.Attribute):
components.append(node.attr)
node = node.value
elif isinstance(node, ast.Name):
components.append(node.id)
return '.'.join(reversed(components))
else:
break
def __init__(self, name, log):
self.name = name
self.var_execs = set()
self.contains = {}
self.execs = set()
self.references = set()
self._log = log
# Defer init as expensive
self.log = DummyLogger()
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)
# 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
if fixedhash:
h = fixedhash
else:
h = bbhash(str(node))
if h in codeparsercache.pythoncache:
self.references = set(codeparsercache.pythoncache[h].refs)
self.execs = set(codeparsercache.pythoncache[h].execs)
self.contains = {}
for i in codeparsercache.pythoncache[h].contains:
self.contains[i] = set(codeparsercache.pythoncache[h].contains[i])
self.extra = codeparsercache.pythoncache[h].extra
return
if h in codeparsercache.pythoncacheextras:
self.references = set(codeparsercache.pythoncacheextras[h].refs)
self.execs = set(codeparsercache.pythoncacheextras[h].execs)
self.contains = {}
for i in codeparsercache.pythoncacheextras[h].contains:
self.contains[i] = set(codeparsercache.pythoncacheextras[h].contains[i])
self.extra = codeparsercache.pythoncacheextras[h].extra
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)
# We can't add to the linenumbers for compile, we can pad to the correct number of blank lines though
node = "\n" * int(lineno) + node
code = compile(check_indent(str(node)), filename, "exec",
ast.PyCF_ONLY_AST)
for n in ast.walk(code):
if n.__class__.__name__ == "Call":
self.visit_Call(n)
self.execs.update(self.var_execs)
self.extra = None
if fixedhash:
self.extra = bbhash(str(node))
codeparsercache.pythoncacheextras[h] = codeparsercache.newPythonCacheLine(self.references, self.execs, self.contains, self.extra)
class ShellParser():
def __init__(self, name, log):
self.funcdefs = set()
self.allexecs = set()
self.execs = set()
self._name = name
self._log = log
# Defer init as expensive
self.log = DummyLogger()
self.unhandled_template = "unable to handle non-literal command '%s'"
self.unhandled_template = "while parsing %s, %s" % (name, self.unhandled_template)
def parse_shell(self, value):
"""Parse the supplied shell code in a string, returning the external
commands it executes.
"""
h = bbhash(str(value))
if h in codeparsercache.shellcache:
self.execs = set(codeparsercache.shellcache[h].execs)
return self.execs
if h in codeparsercache.shellcacheextras:
self.execs = set(codeparsercache.shellcacheextras[h].execs)
return self.execs
# Need to parse so take the hit on the real log buffer
self.log = BufferedLogger('BitBake.Data.%s' % self._name, logging.DEBUG, self._log)
self._parse_shell(value)
self.execs = set(cmd for cmd in self.allexecs if cmd not in self.funcdefs)
codeparsercache.shellcacheextras[h] = codeparsercache.newShellCacheLine(self.execs)
return self.execs
def _parse_shell(self, value):
try:
tokens, _ = pyshyacc.parse(value, eof=True, debug=False)
except Exception:
bb.error('Error during parse shell code, the last 5 lines are:\n%s' % '\n'.join(value.split('\n')[-5:]))
raise
self.process_tokens(tokens)
def process_tokens(self, tokens):
"""Process a supplied portion of the syntax tree as returned by
pyshyacc.parse.
"""
def function_definition(value):
self.funcdefs.add(value.name)
return [value.body], None
def case_clause(value):
# Element 0 of each item in the case is the list of patterns, and
# Element 1 of each item in the case is the list of commands to be
# executed when that pattern matches.
words = chain(*[item[0] for item in value.items])
cmds = chain(*[item[1] for item in value.items])
return cmds, words
def if_clause(value):
main = chain(value.cond, value.if_cmds)
rest = value.else_cmds
if isinstance(rest, tuple) and rest[0] == "elif":
return chain(main, if_clause(rest[1]))
else:
return chain(main, rest)
def simple_command(value):
return None, chain(value.words, (assign[1] for assign in value.assigns))
token_handlers = {
"and_or": lambda x: ((x.left, x.right), None),
"async": lambda x: ([x], None),
"brace_group": lambda x: (x.cmds, None),
"for_clause": lambda x: (x.cmds, x.items),
"function_definition": function_definition,
"if_clause": lambda x: (if_clause(x), None),
"pipeline": lambda x: (x.commands, None),
"redirect_list": lambda x: ([x.cmd], None),
"subshell": lambda x: (x.cmds, None),
"while_clause": lambda x: (chain(x.condition, x.cmds), None),
"until_clause": lambda x: (chain(x.condition, x.cmds), None),
"simple_command": simple_command,
"case_clause": case_clause,
}
def process_token_list(tokens):
for token in tokens:
if isinstance(token, list):
process_token_list(token)
continue
name, value = token
try:
more_tokens, words = token_handlers[name](value)
except KeyError:
raise NotImplementedError("Unsupported token type " + name)
if more_tokens:
self.process_tokens(more_tokens)
if words:
self.process_words(words)
process_token_list(tokens)
def process_words(self, words):
"""Process a set of 'words' in pyshyacc parlance, which includes
extraction of executed commands from $() blocks, as well as grabbing
the command name argument.
"""
words = list(words)
for word in list(words):
wtree = pyshlex.make_wordtree(word[1])
for part in wtree:
if not isinstance(part, list):
continue
if part[0] in ('`', '$('):
command = pyshlex.wordtree_as_string(part[1:-1])
self._parse_shell(command)
if word[0] in ("cmd_name", "cmd_word"):
if word in words:
words.remove(word)
usetoken = False
for word in words:
if word[0] in ("cmd_name", "cmd_word") or \
(usetoken and word[0] == "TOKEN"):
if "=" in word[1]:
usetoken = True
continue
cmd = word[1]
if cmd.startswith("$"):
self.log.debug(self.unhandled_template % cmd)
elif cmd == "eval":
command = " ".join(word for _, word in words[1:])
self._parse_shell(command)
else:
self.allexecs.add(cmd)
break

805
bitbake/lib/bb/command.py Normal file
View File

@@ -0,0 +1,805 @@
"""
BitBake 'Command' module
Provide an interface to interact with the bitbake server through 'commands'
"""
# Copyright (C) 2006-2007 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""
The bitbake server takes 'commands' from its UI/commandline.
Commands are either synchronous or asynchronous.
Async commands return data to the client in the form of events.
Sync commands must only return data through the function return value
and must not trigger events, directly or indirectly.
Commands are queued in a CommandQueue
"""
from collections import OrderedDict, defaultdict
import io
import bb.event
import bb.cooker
import bb.remotedata
class DataStoreConnectionHandle(object):
def __init__(self, dsindex=0):
self.dsindex = dsindex
class CommandCompleted(bb.event.Event):
pass
class CommandExit(bb.event.Event):
def __init__(self, exitcode):
bb.event.Event.__init__(self)
self.exitcode = int(exitcode)
class CommandFailed(CommandExit):
def __init__(self, message):
self.error = message
CommandExit.__init__(self, 1)
def __str__(self):
return "Command execution failed: %s" % self.error
class CommandError(Exception):
pass
class Command:
"""
A queue of asynchronous commands for bitbake
"""
def __init__(self, cooker, process_server):
self.cooker = cooker
self.cmds_sync = CommandsSync()
self.cmds_async = CommandsAsync()
self.remotedatastores = None
self.process_server = process_server
# Access with locking using process_server.{get/set/clear}_async_cmd()
self.currentAsyncCommand = None
def runCommand(self, commandline, process_server, ro_only=False):
command = commandline.pop(0)
# Ensure cooker is ready for commands
if command not in ["updateConfig", "setFeatures", "ping"]:
try:
self.cooker.init_configdata()
if not self.remotedatastores:
self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker)
except (Exception, SystemExit) as exc:
import traceback
if isinstance(exc, bb.BBHandledException):
# We need to start returning real exceptions here. Until we do, we can't
# tell if an exception is an instance of bb.BBHandledException
return None, "bb.BBHandledException()\n" + traceback.format_exc()
return None, traceback.format_exc()
if hasattr(CommandsSync, command):
# Can run synchronous commands straight away
command_method = getattr(self.cmds_sync, command)
if ro_only:
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:
if getattr(command_method, 'needconfig', True):
self.cooker.updateCacheSync()
result = command_method(self, commandline)
except CommandError as exc:
return None, exc.args[0]
except (Exception, SystemExit) as exc:
import traceback
if isinstance(exc, bb.BBHandledException):
# We need to start returning real exceptions here. Until we do, we can't
# tell if an exception is an instance of bb.BBHandledException
return None, "bb.BBHandledException()\n" + traceback.format_exc()
return None, traceback.format_exc()
else:
return result, None
if command not in CommandsAsync.__dict__:
return None, "No such command"
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, _, process_server, halt):
try:
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 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:
self.cooker.updateCache()
return True
else:
commandmethod(self.cmds_async, self, options)
return False
else:
return bb.server.process.idleFinish("Nothing to do, no async command?")
except KeyboardInterrupt as exc:
return bb.server.process.idleFinish("Interrupted")
except SystemExit as exc:
arg = exc.args[0]
if isinstance(arg, str):
return bb.server.process.idleFinish(arg)
else:
return bb.server.process.idleFinish("Exited with %s" % arg)
except Exception as exc:
import traceback
if isinstance(exc, bb.BBHandledException):
return bb.server.process.idleFinish("")
else:
return bb.server.process.idleFinish(traceback.format_exc())
def finishAsyncCommand(self, msg=None, code=None):
if msg or msg == "":
bb.event.fire(CommandFailed(msg), self.cooker.data)
elif code:
bb.event.fire(CommandExit(code), self.cooker.data)
else:
bb.event.fire(CommandCompleted(), self.cooker.data)
self.cooker.finishcommand()
self.process_server.clear_async_cmd()
def reset(self):
if self.remotedatastores:
self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker)
class CommandsSync:
"""
A class of synchronous commands
These should run quickly so as not to hurt interactive performance.
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!"
ping.needconfig = False
ping.readonly = True
def stateShutdown(self, command, params):
"""
Trigger cooker 'shutdown' mode
"""
command.cooker.shutdown(False)
def stateForceShutdown(self, command, params):
"""
Stop the cooker
"""
command.cooker.shutdown(True)
def getAllKeysWithFlags(self, command, params):
"""
Returns a dump of the global state. Call with
variable flags to be retrieved as params.
"""
flaglist = params[0]
return command.cooker.getAllKeysWithFlags(flaglist)
getAllKeysWithFlags.readonly = True
def getVariable(self, command, params):
"""
Read the value of a variable from data
"""
varname = params[0]
expand = True
if len(params) > 1:
expand = (params[1] == "True")
return command.cooker.data.getVar(varname, expand)
getVariable.readonly = True
def setVariable(self, command, params):
"""
Set the value of variable in data
"""
varname = params[0]
value = str(params[1])
command.cooker.extraconfigdata[varname] = value
command.cooker.data.setVar(varname, value)
def getSetVariable(self, command, params):
"""
Read the value of a variable from data and set it into the datastore
which effectively expands and locks the value.
"""
varname = params[0]
result = self.getVariable(command, params)
command.cooker.data.setVar(varname, result)
return result
def setConfig(self, command, params):
"""
Set the value of variable in configuration
"""
varname = params[0]
value = str(params[1])
setattr(command.cooker.configuration, varname, value)
def enableDataTracking(self, command, params):
"""
Enable history tracking for variables
"""
command.cooker.enableDataTracking()
def disableDataTracking(self, command, params):
"""
Disable history tracking for variables
"""
command.cooker.disableDataTracking()
def setPrePostConfFiles(self, command, params):
prefiles = params[0].split()
postfiles = params[1].split()
command.cooker.configuration.prefile = prefiles
command.cooker.configuration.postfile = postfiles
setPrePostConfFiles.needconfig = False
def matchFile(self, command, params):
fMatch = params[0]
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.matchFile(fMatch, mc)
matchFile.needconfig = False
def getUIHandlerNum(self, command, params):
return bb.event.get_uihandler()
getUIHandlerNum.needconfig = False
getUIHandlerNum.readonly = True
def setEventMask(self, command, params):
handlerNum = params[0]
llevel = params[1]
debug_domains = params[2]
mask = params[3]
return bb.event.set_UIHmask(handlerNum, llevel, debug_domains, mask)
setEventMask.needconfig = False
setEventMask.readonly = True
def setFeatures(self, command, params):
"""
Set the cooker features to include the passed list of features
"""
features = params[0]
command.cooker.setFeatures(features)
setFeatures.needconfig = False
# although we change the internal state of the cooker, this is transparent since
# we always take and leave the cooker in state.initial
setFeatures.readonly = True
def updateConfig(self, command, params):
options = params[0]
environment = params[1]
cmdline = params[2]
command.cooker.updateConfigOpts(options, environment, cmdline)
updateConfig.needconfig = False
def parseConfiguration(self, command, params):
"""Instruct bitbake to parse its configuration
NOTE: it is only necessary to call this if you aren't calling any normal action
(otherwise parsing is taken care of automatically)
"""
command.cooker.parseConfiguration()
parseConfiguration.needconfig = False
def getLayerPriorities(self, command, params):
command.cooker.parseConfiguration()
ret = []
# regex objects cannot be marshalled by xmlrpc
for collection, pattern, regex, pri in command.cooker.bbfile_config_priorities:
ret.append((collection, pattern, regex.pattern, pri))
return ret
getLayerPriorities.readonly = True
def revalidateCaches(self, command, params):
"""Called by UI clients when metadata may have changed"""
command.cooker.revalidateCaches()
parseConfiguration.needconfig = False
def getRecipes(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return list(command.cooker.recipecaches[mc].pkg_pn.items())
getRecipes.readonly = True
def getRecipeDepends(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return list(command.cooker.recipecaches[mc].deps.items())
getRecipeDepends.readonly = True
def getRecipeVersions(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].pkg_pepvpr
getRecipeVersions.readonly = True
def getRecipeProvides(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].fn_provides
getRecipeProvides.readonly = True
def getRecipePackages(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].packages
getRecipePackages.readonly = True
def getRecipePackagesDynamic(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].packages_dynamic
getRecipePackagesDynamic.readonly = True
def getRProviders(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].rproviders
getRProviders.readonly = True
def getRuntimeDepends(self, command, params):
ret = []
try:
mc = params[0]
except IndexError:
mc = ''
rundeps = command.cooker.recipecaches[mc].rundeps
for key, value in rundeps.items():
if isinstance(value, defaultdict):
value = dict(value)
ret.append((key, value))
return ret
getRuntimeDepends.readonly = True
def getRuntimeRecommends(self, command, params):
ret = []
try:
mc = params[0]
except IndexError:
mc = ''
runrecs = command.cooker.recipecaches[mc].runrecs
for key, value in runrecs.items():
if isinstance(value, defaultdict):
value = dict(value)
ret.append((key, value))
return ret
getRuntimeRecommends.readonly = True
def getRecipeInherits(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].inherits
getRecipeInherits.readonly = True
def getBbFilePriority(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].bbfile_priority
getBbFilePriority.readonly = True
def getDefaultPreference(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.recipecaches[mc].pkg_dp
getDefaultPreference.readonly = True
def getSkippedRecipes(self, command, params):
"""
Get the map of skipped recipes for the specified multiconfig/mc name (`params[0]`).
Invoked by `bb.tinfoil.Tinfoil.get_skipped_recipes`
:param command: Internally used parameter.
:param params: Parameter array. params[0] is multiconfig/mc name. If not given, then default mc '' is assumed.
:return: Dict whose keys are virtualfns and values are `bb.cooker.SkippedPackage`
"""
try:
mc = params[0]
except IndexError:
mc = ''
# Return list sorted by reverse priority order
import bb.cache
def sortkey(x):
vfn, _ = x
realfn, _, item_mc = bb.cache.virtualfn2realfn(vfn)
return -command.cooker.collections[item_mc].calc_bbfile_priority(realfn)[0], vfn
skipdict = OrderedDict(sorted(command.cooker.skiplist_by_mc[mc].items(), key=sortkey))
return list(skipdict.items())
getSkippedRecipes.readonly = True
def getOverlayedRecipes(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return list(command.cooker.collections[mc].overlayed.items())
getOverlayedRecipes.readonly = True
def getFileAppends(self, command, params):
fn = params[0]
try:
mc = params[1]
except IndexError:
mc = ''
return command.cooker.collections[mc].get_file_appends(fn)
getFileAppends.readonly = True
def getAllAppends(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.collections[mc].bbappends
getAllAppends.readonly = True
def findProviders(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.findProviders(mc)
findProviders.readonly = True
def findBestProvider(self, command, params):
(mc, pn) = bb.runqueue.split_mc(params[0])
return command.cooker.findBestProvider(pn, mc)
findBestProvider.readonly = True
def allProviders(self, command, params):
try:
mc = params[0]
except IndexError:
mc = ''
return list(bb.providers.allProviders(command.cooker.recipecaches[mc]).items())
allProviders.readonly = True
def getRuntimeProviders(self, command, params):
rprovide = params[0]
try:
mc = params[1]
except IndexError:
mc = ''
all_p = bb.providers.getRuntimeProviders(command.cooker.recipecaches[mc], rprovide)
if all_p:
best = bb.providers.filterProvidersRunTime(all_p, rprovide,
command.cooker.data,
command.cooker.recipecaches[mc])[0][0]
else:
best = None
return all_p, best
getRuntimeProviders.readonly = True
def dataStoreConnectorCmd(self, command, params):
dsindex = params[0]
method = params[1]
args = params[2]
kwargs = params[3]
d = command.remotedatastores[dsindex]
ret = getattr(d, method)(*args, **kwargs)
if isinstance(ret, bb.data_smart.DataSmart):
idx = command.remotedatastores.store(ret)
return DataStoreConnectionHandle(idx)
return ret
def dataStoreConnectorVarHistCmd(self, command, params):
dsindex = params[0]
method = params[1]
args = params[2]
kwargs = params[3]
d = command.remotedatastores[dsindex].varhistory
return getattr(d, method)(*args, **kwargs)
def dataStoreConnectorVarHistCmdEmit(self, command, params):
dsindex = params[0]
var = params[1]
oval = params[2]
val = params[3]
d = command.remotedatastores[params[4]]
o = io.StringIO()
command.remotedatastores[dsindex].varhistory.emit(var, oval, val, o, d)
return o.getvalue()
def dataStoreConnectorIncHistCmd(self, command, params):
dsindex = params[0]
method = params[1]
args = params[2]
kwargs = params[3]
d = command.remotedatastores[dsindex].inchistory
return getattr(d, method)(*args, **kwargs)
def dataStoreConnectorRelease(self, command, params):
dsindex = params[0]
if dsindex <= 0:
raise CommandError('dataStoreConnectorRelease: invalid index %d' % dsindex)
command.remotedatastores.release(dsindex)
def parseRecipeFile(self, command, params):
"""
Parse the specified recipe file (with or without bbappends)
and return a datastore object representing the environment
for the recipe.
"""
virtualfn = params[0]
(fn, cls, mc) = bb.cache.virtualfn2realfn(virtualfn)
appends = params[1]
appendlist = params[2]
if len(params) > 3:
config_data = command.remotedatastores[params[3]]
else:
config_data = None
if appends:
if appendlist is not None:
appendfiles = appendlist
else:
appendfiles = command.cooker.collections[mc].get_file_appends(fn)
else:
appendfiles = []
layername = command.cooker.collections[mc].calc_bbfile_priority(fn)[2]
# We are calling bb.cache locally here rather than on the server,
# but that's OK because it doesn't actually need anything from
# the server barring the global datastore (which we have a remote
# version of)
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 = command.cooker.databuilder._parse_recipe(config_data, fn, appendfiles, mc, layername)[cls]
else:
# Use the standard path
envdata = command.cooker.databuilder.parseRecipe(virtualfn, appendfiles, layername)
idx = command.remotedatastores.store(envdata)
return DataStoreConnectionHandle(idx)
parseRecipeFile.readonly = True
class CommandsAsync:
"""
A class of asynchronous commands
These functions communicate via generated events.
Any function that requires metadata parsing should be here.
"""
def buildFile(self, command, params):
"""
Build a single specified .bb file
"""
bfile = params[0]
task = params[1]
if len(params) > 2:
internal = params[2]
else:
internal = False
if internal:
command.cooker.buildFileInternal(bfile, task, fireevents=False, quietlog=True)
else:
command.cooker.buildFile(bfile, task)
buildFile.needcache = False
def buildTargets(self, command, params):
"""
Build a set of targets
"""
pkgs_to_build = params[0]
task = params[1]
command.cooker.buildTargets(pkgs_to_build, task)
buildTargets.needcache = True
def generateDepTreeEvent(self, command, params):
"""
Generate an event containing the dependency information
"""
pkgs_to_build = params[0]
task = params[1]
command.cooker.generateDepTreeEvent(pkgs_to_build, task)
command.finishAsyncCommand()
generateDepTreeEvent.needcache = True
def generateDotGraph(self, command, params):
"""
Dump dependency information to disk as .dot files
"""
pkgs_to_build = params[0]
task = params[1]
command.cooker.generateDotGraphFiles(pkgs_to_build, task)
command.finishAsyncCommand()
generateDotGraph.needcache = True
def generateTargetsTree(self, command, params):
"""
Generate a tree of buildable targets.
If klass is provided ensure all recipes that inherit the class are
included in the package list.
If pkg_list provided use that list (plus any extras brought in by
klass) rather than generating a tree for all packages.
"""
klass = params[0]
pkg_list = params[1]
command.cooker.generateTargetsTree(klass, pkg_list)
command.finishAsyncCommand()
generateTargetsTree.needcache = True
def findConfigFiles(self, command, params):
"""
Find config files which provide appropriate values
for the passed configuration variable. i.e. MACHINE
"""
varname = params[0]
command.cooker.findConfigFiles(varname)
command.finishAsyncCommand()
findConfigFiles.needcache = False
def findFilesMatchingInDir(self, command, params):
"""
Find implementation files matching the specified pattern
in the requested subdirectory of a BBPATH
"""
pattern = params[0]
directory = params[1]
command.cooker.findFilesMatchingInDir(pattern, directory)
command.finishAsyncCommand()
findFilesMatchingInDir.needcache = False
def testCookerCommandEvent(self, command, params):
"""
Dummy command used by OEQA selftest to test tinfoil without IO
"""
pattern = params[0]
command.cooker.testCookerCommandEvent(pattern)
command.finishAsyncCommand()
testCookerCommandEvent.needcache = False
def findConfigFilePath(self, command, params):
"""
Find the path of the requested configuration file
"""
configfile = params[0]
command.cooker.findConfigFilePath(configfile)
command.finishAsyncCommand()
findConfigFilePath.needcache = False
def showVersions(self, command, params):
"""
Show the currently selected versions
"""
command.cooker.showVersions()
command.finishAsyncCommand()
showVersions.needcache = True
def showEnvironmentTarget(self, command, params):
"""
Print the environment of a target recipe
(needs the cache to work out which recipe to use)
"""
pkg = params[0]
command.cooker.showEnvironment(None, pkg)
command.finishAsyncCommand()
showEnvironmentTarget.needcache = True
def showEnvironment(self, command, params):
"""
Print the standard environment
or if specified the environment for a specified recipe
"""
bfile = params[0]
command.cooker.showEnvironment(bfile)
command.finishAsyncCommand()
showEnvironment.needcache = False
def parseFiles(self, command, params):
"""
Parse the .bb files
"""
command.cooker.updateCache()
command.finishAsyncCommand()
parseFiles.needcache = True
def compareRevisions(self, command, params):
"""
Parse the .bb files
"""
if bb.fetch.fetcher_compare_revisions(command.cooker.data):
command.finishAsyncCommand(code=1)
else:
command.finishAsyncCommand()
compareRevisions.needcache = True
def triggerEvent(self, command, params):
"""
Trigger a certain event
"""
event = params[0]
bb.event.fire(eval(event), command.cooker.data)
process_server.clear_async_cmd()
triggerEvent.needcache = False
def resetCooker(self, command, params):
"""
Reset the cooker to its initial state, thus forcing a reparse for
any async command that has the needcache property set to True
"""
command.cooker.reset()
command.finishAsyncCommand()
resetCooker.needcache = False
def clientComplete(self, command, params):
"""
Do the right thing when the controlling client exits
"""
command.cooker.clientComplete()
command.finishAsyncCommand()
clientComplete.needcache = False
def findSigInfo(self, command, params):
"""
Find signature info files via the signature generator
"""
(mc, pn) = bb.runqueue.split_mc(params[0])
taskname = params[1]
sigs = params[2]
bb.siggen.check_siggen_version(bb.siggen)
res = bb.siggen.find_siginfo(pn, taskname, sigs, command.cooker.databuilder.mcdata[mc])
bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.databuilder.mcdata[mc])
command.finishAsyncCommand()
findSigInfo.needcache = False
def getTaskSignatures(self, command, params):
res = command.cooker.getTaskSignatures(params[0], params[1])
bb.event.fire(bb.event.GetTaskSignatureResult(res), command.cooker.data)
command.finishAsyncCommand()
getTaskSignatures.needcache = True

View File

@@ -0,0 +1,196 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Helper library to implement streaming compression and decompression using an
# external process
#
# This library should be used directly by end users; a wrapper library for the
# specific compression tool should be created
import builtins
import io
import os
import subprocess
def open_wrap(
cls, filename, mode="rb", *, encoding=None, errors=None, newline=None, **kwargs
):
"""
Open a compressed file in binary or text mode.
Users should not call this directly. A specific compression library can use
this helper to provide it's own "open" command
The filename argument can be an actual filename (a str or bytes object), or
an existing file object to read from or write to.
The mode argument can be "r", "rb", "w", "wb", "x", "xb", "a" or "ab" for
binary mode, or "rt", "wt", "xt" or "at" for text mode. The default mode is
"rb".
For binary mode, this function is equivalent to the cls constructor:
cls(filename, mode). In this case, the encoding, errors and newline
arguments must not be provided.
For text mode, a cls object is created, and wrapped in an
io.TextIOWrapper instance with the specified encoding, error handling
behavior, and line ending(s).
"""
if "t" in mode:
if "b" in mode:
raise ValueError("Invalid mode: %r" % (mode,))
else:
if encoding is not None:
raise ValueError("Argument 'encoding' not supported in binary mode")
if errors is not None:
raise ValueError("Argument 'errors' not supported in binary mode")
if newline is not None:
raise ValueError("Argument 'newline' not supported in binary mode")
file_mode = mode.replace("t", "")
if isinstance(filename, (str, bytes, os.PathLike, int)):
binary_file = cls(filename, file_mode, **kwargs)
elif hasattr(filename, "read") or hasattr(filename, "write"):
binary_file = cls(None, file_mode, fileobj=filename, **kwargs)
else:
raise TypeError("filename must be a str or bytes object, or a file")
if "t" in mode:
return io.TextIOWrapper(
binary_file, encoding, errors, newline, write_through=True
)
else:
return binary_file
class CompressionError(OSError):
pass
class PipeFile(io.RawIOBase):
"""
Class that implements generically piping to/from a compression program
Derived classes should add the function get_compress() and get_decompress()
that return the required commands. Input will be piped into stdin and the
(de)compressed output should be written to stdout, e.g.:
class FooFile(PipeCompressionFile):
def get_decompress(self):
return ["fooc", "--decompress", "--stdout"]
def get_compress(self):
return ["fooc", "--compress", "--stdout"]
"""
READ = 0
WRITE = 1
def __init__(self, filename=None, mode="rb", *, stderr=None, fileobj=None):
if "t" in mode or "U" in mode:
raise ValueError("Invalid mode: {!r}".format(mode))
if not "b" in mode:
mode += "b"
if mode.startswith("r"):
self.mode = self.READ
elif mode.startswith("w"):
self.mode = self.WRITE
else:
raise ValueError("Invalid mode %r" % mode)
if fileobj is not None:
self.fileobj = fileobj
else:
self.fileobj = builtins.open(filename, mode or "rb")
if self.mode == self.READ:
self.p = subprocess.Popen(
self.get_decompress(),
stdin=self.fileobj,
stdout=subprocess.PIPE,
stderr=stderr,
close_fds=True,
)
self.pipe = self.p.stdout
else:
self.p = subprocess.Popen(
self.get_compress(),
stdin=subprocess.PIPE,
stdout=self.fileobj,
stderr=stderr,
close_fds=True,
)
self.pipe = self.p.stdin
self.__closed = False
def _check_process(self):
if self.p is None:
return
returncode = self.p.wait()
if returncode:
raise CompressionError("Process died with %d" % returncode)
self.p = None
def close(self):
if self.closed:
return
self.pipe.close()
if self.p is not None:
self._check_process()
self.fileobj.close()
self.__closed = True
@property
def closed(self):
return self.__closed
def fileno(self):
return self.pipe.fileno()
def flush(self):
self.pipe.flush()
def isatty(self):
return self.pipe.isatty()
def readable(self):
return self.mode == self.READ
def writable(self):
return self.mode == self.WRITE
def readinto(self, b):
if self.mode != self.READ:
import errno
raise OSError(
errno.EBADF, "read() on write-only %s object" % self.__class__.__name__
)
size = self.pipe.readinto(b)
if size == 0:
self._check_process()
return size
def write(self, data):
if self.mode != self.WRITE:
import errno
raise OSError(
errno.EBADF, "write() on read-only %s object" % self.__class__.__name__
)
data = self.pipe.write(data)
if not data:
self._check_process()
return data

View File

@@ -0,0 +1,19 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import bb.compress._pipecompress
def open(*args, **kwargs):
return bb.compress._pipecompress.open_wrap(LZ4File, *args, **kwargs)
class LZ4File(bb.compress._pipecompress.PipeFile):
def get_compress(self):
return ["lz4c", "-z", "-c"]
def get_decompress(self):
return ["lz4c", "-d", "-c"]

View File

@@ -0,0 +1,30 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import bb.compress._pipecompress
import shutil
def open(*args, **kwargs):
return bb.compress._pipecompress.open_wrap(ZstdFile, *args, **kwargs)
class ZstdFile(bb.compress._pipecompress.PipeFile):
def __init__(self, *args, num_threads=1, compresslevel=3, **kwargs):
self.num_threads = num_threads
self.compresslevel = compresslevel
super().__init__(*args, **kwargs)
def _get_zstd(self):
if self.num_threads == 1 or not shutil.which("pzstd"):
return ["zstd"]
return ["pzstd", "-p", "%d" % self.num_threads]
def get_compress(self):
return self._get_zstd() + ["-c", "-%d" % self.compresslevel]
def get_decompress(self):
return self._get_zstd() + ["-d", "-c"]

2377
bitbake/lib/bb/cooker.py Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,546 @@
#
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2003, 2004 Phil Blundell
# Copyright (C) 2003 - 2005 Michael 'Mickey' Lauer
# Copyright (C) 2005 Holger Hans Peter Freyther
# Copyright (C) 2005 ROAD GmbH
# Copyright (C) 2006 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
import logging
import os
import re
import sys
import hashlib
from functools import wraps
import bb
from bb import data
import bb.parse
logger = logging.getLogger("BitBake")
parselog = logging.getLogger("BitBake.Parsing")
class ConfigParameters(object):
def __init__(self, argv=None):
self.options, targets = self.parseCommandLine(argv or sys.argv)
self.environment = self.parseEnvironment()
self.options.pkgs_to_build = targets or []
for key, val in self.options.__dict__.items():
setattr(self, key, val)
def parseCommandLine(self, argv=sys.argv):
raise Exception("Caller must implement commandline option parsing")
def parseEnvironment(self):
return os.environ.copy()
def updateFromServer(self, server):
if not self.options.cmd:
defaulttask, error = server.runCommand(["getVariable", "BB_DEFAULT_TASK"])
if error:
raise Exception("Unable to get the value of BB_DEFAULT_TASK from the server: %s" % error)
self.options.cmd = defaulttask or "build"
_, error = server.runCommand(["setConfig", "cmd", self.options.cmd])
if error:
raise Exception("Unable to set configuration option 'cmd' on the server: %s" % error)
if not self.options.pkgs_to_build:
bbpkgs, error = server.runCommand(["getVariable", "BBTARGETS"])
if error:
raise Exception("Unable to get the value of BBTARGETS from the server: %s" % error)
if bbpkgs:
self.options.pkgs_to_build.extend(bbpkgs.split())
def updateToServer(self, server, environment):
options = {}
for o in ["halt", "force", "invalidate_stamp",
"dry_run", "dump_signatures",
"extra_assume_provided", "profile",
"prefile", "postfile", "server_timeout",
"nosetscene", "setsceneonly", "skipsetscene",
"runall", "runonly", "writeeventlog"]:
options[o] = getattr(self.options, o)
options['build_verbose_shell'] = self.options.verbose
options['build_verbose_stdout'] = self.options.verbose
options['default_loglevel'] = bb.msg.loggerDefaultLogLevel
options['debug_domains'] = bb.msg.loggerDefaultDomains
ret, error = server.runCommand(["updateConfig", options, environment, sys.argv])
if error:
raise Exception("Unable to update the server configuration with local parameters: %s" % error)
def parseActions(self):
# Parse any commandline into actions
action = {'action':None, 'msg':None}
if self.options.show_environment:
if 'world' in self.options.pkgs_to_build:
action['msg'] = "'world' is not a valid target for --environment."
elif 'universe' in self.options.pkgs_to_build:
action['msg'] = "'universe' is not a valid target for --environment."
elif len(self.options.pkgs_to_build) > 1:
action['msg'] = "Only one target can be used with the --environment option."
elif self.options.buildfile and len(self.options.pkgs_to_build) > 0:
action['msg'] = "No target should be used with the --environment and --buildfile options."
elif self.options.pkgs_to_build:
action['action'] = ["showEnvironmentTarget", self.options.pkgs_to_build]
else:
action['action'] = ["showEnvironment", self.options.buildfile]
elif self.options.buildfile is not None:
action['action'] = ["buildFile", self.options.buildfile, self.options.cmd]
elif self.options.revisions_changed:
action['action'] = ["compareRevisions"]
elif self.options.show_versions:
action['action'] = ["showVersions"]
elif self.options.parse_only:
action['action'] = ["parseFiles"]
elif self.options.dot_graph:
if self.options.pkgs_to_build:
action['action'] = ["generateDotGraph", self.options.pkgs_to_build, self.options.cmd]
else:
action['msg'] = "Please specify a package name for dependency graph generation."
else:
if self.options.pkgs_to_build:
action['action'] = ["buildTargets", self.options.pkgs_to_build, self.options.cmd]
else:
#action['msg'] = "Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information."
action = None
self.options.initialaction = action
return action
class CookerConfiguration(object):
"""
Manages build options and configurations for one run
"""
def __init__(self):
self.debug_domains = bb.msg.loggerDefaultDomains
self.default_loglevel = bb.msg.loggerDefaultLogLevel
self.extra_assume_provided = []
self.prefile = []
self.postfile = []
self.cmd = None
self.halt = True
self.force = False
self.profile = False
self.nosetscene = False
self.setsceneonly = False
self.skipsetscene = False
self.invalidate_stamp = False
self.dump_signatures = []
self.build_verbose_shell = False
self.build_verbose_stdout = False
self.dry_run = False
self.tracking = False
self.writeeventlog = False
self.limited_deps = False
self.runall = []
self.runonly = []
self.env = {}
def __getstate__(self):
state = {}
for key in self.__dict__.keys():
state[key] = getattr(self, key)
return state
def __setstate__(self,state):
for k in state:
setattr(self, k, state[k])
def catch_parse_error(func):
"""Exception handling bits for our parsing"""
@wraps(func)
def wrapped(fn, *args):
try:
return func(fn, *args)
except Exception as exc:
import traceback
bbdir = os.path.dirname(__file__) + os.sep
exc_class, exc, tb = sys.exc_info()
for tb in iter(lambda: tb.tb_next, None):
# Skip frames in bitbake itself, we only want the metadata
fn, _, _, _ = traceback.extract_tb(tb, 1)[0]
if not fn.startswith(bbdir):
break
parselog.critical("Unable to parse %s" % fn, exc_info=(exc_class, exc, tb))
raise bb.BBHandledException()
return wrapped
@catch_parse_error
def parse_config_file(fn, data, include=True):
return bb.parse.handle(fn, data, include, baseconfig=True)
@catch_parse_error
def _inherit(bbclass, data):
bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data)
return data
def findConfigFile(configfile, data):
search = []
bbpath = data.getVar("BBPATH")
if bbpath:
for i in bbpath.split(":"):
search.append(os.path.join(i, "conf", configfile))
path = os.getcwd()
while path != "/":
search.append(os.path.join(path, "conf", configfile))
path, _ = os.path.split(path)
for i in search:
if os.path.exists(i):
return i
return None
#
# We search for a conf/bblayers.conf under an entry in BBPATH or in cwd working
# up to /. If that fails, bitbake would fall back to cwd.
#
def findTopdir():
d = bb.data.init()
bbpath = None
if 'BBPATH' in os.environ:
bbpath = os.environ['BBPATH']
d.setVar('BBPATH', bbpath)
layerconf = findConfigFile("bblayers.conf", d)
if layerconf:
return os.path.dirname(os.path.dirname(layerconf))
return os.path.abspath(os.getcwd())
class CookerDataBuilder(object):
def __init__(self, cookercfg, worker = False):
self.prefiles = cookercfg.prefile
self.postfiles = cookercfg.postfile
self.tracking = cookercfg.tracking
bb.utils.set_context(bb.utils.clean_context())
bb.event.set_class_handlers(bb.event.clean_class_handlers())
self.basedata = bb.data.init()
if self.tracking:
self.basedata.enableTracking()
# Keep a datastore of the initial environment variables and their
# values from when BitBake was launched to enable child processes
# to use environment variables which have been cleaned from the
# BitBake processes env
self.savedenv = bb.data.init()
for k in cookercfg.env:
self.savedenv.setVar(k, cookercfg.env[k])
if k in bb.data_smart.bitbake_renamed_vars:
bb.error('Shell environment variable %s has been renamed to %s' % (k, bb.data_smart.bitbake_renamed_vars[k]))
bb.fatal("Exiting to allow enviroment variables to be corrected")
filtered_keys = bb.utils.approved_variables()
bb.data.inheritFromOS(self.basedata, self.savedenv, filtered_keys)
self.basedata.setVar("BB_ORIGENV", self.savedenv)
self.basedata.setVar("__bbclasstype", "global")
if worker:
self.basedata.setVar("BB_WORKERCONTEXT", "1")
self.data = self.basedata
self.mcdata = {}
def parseBaseConfiguration(self, worker=False):
mcdata = {}
data_hash = hashlib.sha256()
try:
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
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.event.fire(bb.event.ConfigParsed(), self.data)
reparse_cnt = 0
while self.data.getVar("BB_INVALIDCONF", False) is True:
if reparse_cnt > 20:
logger.error("Configuration has been re-parsed over 20 times, "
"breaking out of the loop...")
raise Exception("Too deep config re-parse loop. Check locations where "
"BB_INVALIDCONF is being set (ConfigParsed event handlers)")
self.data.setVar("BB_INVALIDCONF", False)
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
reparse_cnt += 1
bb.event.fire(bb.event.ConfigParsed(), self.data)
bb.parse.init_parser(self.data)
data_hash.update(self.data.get_hash().encode('utf-8'))
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)
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(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
renamedvars = d.getVarFlags('BB_RENAMED_VARIABLES') or {}
renamedvars.update(bb.data_smart.bitbake_renamed_vars)
issues = False
for v in renamedvars:
if d.getVar(v) != None or d.hasOverrides(v):
issues = True
loginfo = {}
history = d.varhistory.get_variable_refs(v)
for h in history:
for line in history[h]:
loginfo = {'file' : h, 'line' : line}
bb.data.data_smart._print_rename_error(v, loginfo, renamedvars)
if not history:
bb.data.data_smart._print_rename_error(v, loginfo, renamedvars)
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.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, 'mcorigdata'):
return
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)
def parseConfigurationFiles(self, prefiles, postfiles, mc = "default"):
data = bb.data.createCopy(self.basedata)
data.setVar("BB_CURRENT_MC", mc)
# Parse files for loading *before* bitbake.conf and any includes
for f in prefiles:
data = parse_config_file(f, data)
layerconf = self._findLayerConf(data)
if layerconf:
parselog.debug2("Found bblayers.conf (%s)", layerconf)
# By definition bblayers.conf is in conf/ of TOPDIR.
# We may have been called with cwd somewhere else so reset TOPDIR
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 = []
if not layers:
bb.fatal("The bblayers.conf file doesn't contain any BBLAYERS definition")
data = bb.data.createCopy(data)
approved = bb.utils.approved_variables()
# Check whether present layer directories exist
for layer in layers:
if not os.path.isdir(layer):
broken_layers.append(layer)
if broken_layers:
parselog.critical("The following layer directories do not exist:")
for layer in broken_layers:
parselog.critical(" %s", layer)
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:
layer = os.path.expanduser(layer)
if layer.endswith('/'):
layer = layer.rstrip('/')
data.setVar('LAYERDIR', layer)
data.setVar('LAYERDIR_RE', re.escape(layer))
data = parse_config_file(os.path.join(layer, "conf", "layer.conf"), data)
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()
invalid = []
for entry in bbfiles_dynamic:
parts = entry.split(":", 1)
if len(parts) != 2:
invalid.append(entry)
continue
l, f = parts
invert = l[0] == "!"
if invert:
l = l[1:]
if (l in collections and not invert) or (l not in collections and invert):
data.appendVar("BBFILES", " " + f)
if invalid:
bb.fatal("BBFILES_DYNAMIC entries must be of the form {!}<collection name>:<filename pattern>, not:\n %s" % "\n ".join(invalid))
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()
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):
bb.fatal("Layer %s is not compatible with the core layer which only supports these series: %s (layer is compatible with %s)"
% (c, " ".join(layerseries), " ".join(compat)))
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:
msg += (" and bitbake did not find a conf/bblayers.conf file in"
" the expected location.\nMaybe you accidentally"
" invoked bitbake from the wrong directory?")
bb.fatal(msg)
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)
# Parse files for loading *after* bitbake.conf and any includes
for p in postfiles:
data = parse_config_file(p, data)
# Handle any INHERITs and inherit the base class
bbclasses = ["base"] + (data.getVar('INHERIT') or "").split()
for bbclass in bbclasses:
data = _inherit(bbclass, data)
# Normally we only register event handlers at the end of parsing .bb files
# We register any handlers we've found so far here...
for var in data.getVar('__BBHANDLERS', False) or []:
handlerfn = data.getVarFlag(var, "filename", False)
if not handlerfn:
parselog.critical("Undefined event handler function '%s'" % var)
raise bb.BBHandledException()
handlerln = int(data.getVarFlag(var, "lineno", False))
bb.event.register(var, data.getVar(var, False), (data.getVarFlag(var, "eventmask") or "").split(), handlerfn, handlerln, data)
data.setVar('BBINCLUDED',bb.parse.get_file_depends(data))
return data
@staticmethod
def _parse_recipe(bb_data, bbfile, appends, mc, layername):
bb_data.setVar("__BBMULTICONFIG", mc)
bb_data.setVar("FILE_LAYERNAME", layername)
bbfile_loc = os.path.abspath(os.path.dirname(bbfile))
bb.parse.cached_mtime_noerror(bbfile_loc)
if appends:
bb_data.setVar('__BBAPPEND', " ".join(appends))
return bb.parse.handle(bbfile, bb_data)
def parseRecipeVariants(self, bbfile, appends, virtonly=False, mc=None, layername=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")
return self._parse_recipe(bb_data, bbfile, appends, mc, layername)
if mc is not None:
bb_data = self.mcdata[mc].createCopy()
return self._parse_recipe(bb_data, bbfile, appends, mc, layername)
bb_data = self.data.createCopy()
datastores = self._parse_recipe(bb_data, bbfile, appends, '', layername)
for mc in self.mcdata:
if not mc:
continue
bb_data = self.mcdata[mc].createCopy()
newstores = self._parse_recipe(bb_data, bbfile, appends, mc, layername)
for ns in newstores:
datastores["mc:%s:%s" % (mc, ns)] = newstores[ns]
return datastores
def parseRecipe(self, virtualfn, appends, layername):
"""
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)
datastores = self.parseRecipeVariants(virtualfn, appends, virtonly=True, layername=layername)
return datastores[virtual]

101
bitbake/lib/bb/daemonize.py Normal file
View File

@@ -0,0 +1,101 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""
Python Daemonizing helper
Originally based on code Copyright (C) 2005 Chad J. Schroeder but now heavily modified
to allow a function to be daemonized and return for bitbake use by Richard Purdie
"""
import os
import sys
import io
import traceback
import bb
def createDaemon(function, logfile):
"""
Detach a process from the controlling terminal and run it in the
background as a daemon, returning control to the caller.
"""
# Ensure stdout/stderror are flushed before forking to avoid duplicate output
sys.stdout.flush()
sys.stderr.flush()
try:
# Fork a child process so the parent can exit. This returns control to
# the command-line or shell. It also guarantees that the child will not
# be a process group leader, since the child receives a new process ID
# and inherits the parent's process group ID. This step is required
# to insure that the next call to os.setsid is successful.
pid = os.fork()
except OSError as e:
raise Exception("%s [%d]" % (e.strerror, e.errno))
if (pid == 0): # The first child.
# To become the session leader of this new session and the process group
# leader of the new process group, we call os.setsid(). The process is
# also guaranteed not to have a controlling terminal.
os.setsid()
try:
# Fork a second child and exit immediately to prevent zombies. This
# causes the second child process to be orphaned, making the init
# process responsible for its cleanup. And, since the first child is
# a session leader without a controlling terminal, it's possible for
# it to acquire one by opening a terminal in the future (System V-
# based systems). This second fork guarantees that the child is no
# longer a session leader, preventing the daemon from ever acquiring
# a controlling terminal.
pid = os.fork() # Fork a second child.
except OSError as e:
raise Exception("%s [%d]" % (e.strerror, e.errno))
if (pid != 0):
# Parent (the first child) of the second child.
# exit() or _exit()?
# _exit is like exit(), but it doesn't call any functions registered
# with atexit (and on_exit) or any registered signal handlers. It also
# closes any open file descriptors, but doesn't flush any buffered output.
# Using exit() may cause all any temporary files to be unexpectedly
# removed. It's therefore recommended that child branches of a fork()
# and the parent branch(es) of a daemon use _exit().
os._exit(0)
else:
os.waitpid(pid, 0)
return
# The second child.
# Replace standard fds with our own
with open('/dev/null', 'r') as si:
os.dup2(si.fileno(), sys.stdin.fileno())
with open(logfile, 'a+') as so:
try:
os.dup2(so.fileno(), sys.stdout.fileno())
os.dup2(so.fileno(), sys.stderr.fileno())
except io.UnsupportedOperation:
sys.stdout = so
# Have stdout and stderr be the same so log output matches chronologically
# and there aren't two separate buffers
sys.stderr = sys.stdout
try:
function()
except Exception as e:
traceback.print_exc()
finally:
bb.event.print_ui_queue()
# os._exit() doesn't flush open files like os.exit() does. Manually flush
# stdout and stderr so that any logging output will be seen, particularly
# exception tracebacks.
sys.stdout.flush()
sys.stderr.flush()
os._exit(0)

448
bitbake/lib/bb/data.py Normal file
View File

@@ -0,0 +1,448 @@
"""
BitBake 'Data' implementations
Functions for interacting with the data structure used by the
BitBake build tools.
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 datastore operations."
This is a trade-off between speed and memory again but
the speed is more critical here.
"""
# Copyright (C) 2003, 2004 Chris Larson
# Copyright (C) 2005 Holger Hans Peter Freyther
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import sys, os, re
import hashlib
from itertools import groupby
from bb import data_smart
from bb import codeparser
import bb
logger = data_smart.logger
_dict_type = data_smart.DataSmart
def init():
"""Return a new object representing the Bitbake data"""
return _dict_type()
def init_db(parent = None):
"""Return a new object representing the Bitbake data,
optionally based on an existing object"""
if parent is not None:
return parent.createCopy()
else:
return _dict_type()
def createCopy(source):
"""Link the source set to the destination
If one does not find the value in the destination set,
search will go on to the source set to get the value.
Value from source are copy-on-write. i.e. any try to
modify one of them will end up putting the modified value
in the destination set.
"""
return source.createCopy()
def initVar(var, d):
"""Non-destructive var init for data structure"""
d.initVar(var)
def keys(d):
"""Return a list of keys in d"""
return d.keys()
def expand(s, d, varname = None):
"""Variable expansion using the data store"""
return d.expand(s, varname)
def expandKeys(alterdata, readdata = None):
if readdata is None:
readdata = alterdata
todolist = {}
for key in alterdata:
if not '${' in key:
continue
ekey = expand(key, readdata)
if key == ekey:
continue
todolist[key] = ekey
# These two for loops are split for performance to maximise the
# usefulness of the expand cache
for key in sorted(todolist):
ekey = todolist[key]
newval = alterdata.getVar(ekey, False)
if newval is not None:
val = alterdata.getVar(key, False)
if val is not None:
bb.warn("Variable key %s (%s) replaces original key %s (%s)." % (key, val, ekey, newval))
alterdata.renameVar(key, ekey)
def inheritFromOS(d, savedenv, permitted):
"""Inherit variables from the initial environment."""
exportlist = bb.utils.preserved_envvars_exported()
for s in savedenv.keys():
if s in permitted:
try:
d.setVar(s, savedenv.getVar(s), op = 'from env')
if s in exportlist:
d.setVarFlag(s, "export", True, op = 'auto env export')
except TypeError:
pass
def emit_var(var, o=sys.__stdout__, d = init(), all=False):
"""Emit a variable to be sourced by a shell."""
func = d.getVarFlag(var, "func", False)
if d.getVarFlag(var, 'python', False) and func:
return 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
try:
if all:
oval = d.getVar(var, False)
val = d.getVar(var)
except (KeyboardInterrupt):
raise
except Exception as exc:
o.write('# expansion of %s threw %s: %s\n' % (var, exc.__class__.__name__, str(exc)))
return False
if all:
d.varhistory.emit(var, oval, val, o, d)
if (var.find("-") != -1 or var.find(".") != -1 or var.find('{') != -1 or var.find('}') != -1 or var.find('+') != -1) and not all:
return False
varExpanded = d.expand(var)
if unexport:
o.write('unset %s\n' % varExpanded)
return False
if val is None:
return False
val = str(val)
if varExpanded.startswith("BASH_FUNC_"):
varExpanded = varExpanded[10:-2]
val = val[3:] # Strip off "() "
o.write("%s() %s\n" % (varExpanded, val))
o.write("export -f %s\n" % (varExpanded))
return True
if func:
# Write a comment indicating where the shell function came from (line number and filename) to make it easier
# for the user to diagnose task failures. This comment is also used by build.py to determine the metadata
# location of shell functions.
o.write("# line: {0}, file: {1}\n".format(
d.getVarFlag(var, "lineno", False),
d.getVarFlag(var, "filename", False)))
# NOTE: should probably check for unbalanced {} within the var
val = val.rstrip('\n')
o.write("%s() {\n%s\n}\n" % (varExpanded, val))
return 1
if export:
o.write('export ')
# if we're going to output this within doublequotes,
# to a shell, we need to escape the quotes in the var
alter = re.sub('"', '\\"', val)
alter = re.sub('\n', ' \\\n', alter)
alter = re.sub('\\$', '\\\\$', alter)
o.write('%s="%s"\n' % (varExpanded, alter))
return False
def emit_env(o=sys.__stdout__, d = init(), all=False):
"""Emits all items in the data store in a format such that it can be sourced by a shell."""
isfunc = lambda key: bool(d.getVarFlag(key, "func", False))
keys = sorted((key for key in d.keys() if not key.startswith("__")), key=isfunc)
grouped = groupby(keys, isfunc)
for isfunc, keys in grouped:
for key in sorted(keys):
emit_var(key, o, d, all and not isfunc) and o.write('\n')
def exported_keys(d):
return (key for key in d.keys() if not key.startswith('__') and
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))
for key in k:
try:
value = d.getVar(key)
except Exception as err:
bb.warn("%s: Unable to export ${%s}: %s" % (d.getVar("FILE"), key, err))
continue
if value is not None:
yield key, str(value)
def emit_func(func, o=sys.__stdout__, d = init()):
"""Emits all items in the data store in a format such that it can be sourced by a shell."""
keys = (key for key in d.keys() if not key.startswith("__") and not d.getVarFlag(key, "func", False))
for key in sorted(keys):
emit_var(key, o, d, False)
o.write('\n')
emit_var(func, o, d, False) and o.write('\n')
newdeps = bb.codeparser.ShellParser(func, logger).parse_shell(d.getVar(func))
newdeps |= set((d.getVarFlag(func, "vardeps") or "").split())
seen = set()
while newdeps:
deps = newdeps
seen |= deps
newdeps = set()
for dep in sorted(deps):
if d.getVarFlag(dep, "func", False) and not d.getVarFlag(dep, "python", False):
emit_var(dep, o, d, False) and o.write('\n')
newdeps |= bb.codeparser.ShellParser(dep, logger).parse_shell(d.getVar(dep))
newdeps |= set((d.getVarFlag(dep, "vardeps") or "").split())
newdeps -= seen
_functionfmt = """
def {function}(d):
{body}"""
def emit_func_python(func, o=sys.__stdout__, d = init()):
"""Emits all items in the data store in a format such that it can be sourced by a shell."""
def write_func(func, o, call = False):
body = d.getVar(func, False)
if not body.startswith("def"):
body = _functionfmt.format(function=func, body=body)
o.write(body.strip() + "\n\n")
if call:
o.write(func + "(d)" + "\n\n")
write_func(func, o, True)
pp = bb.codeparser.PythonParser(func, logger)
pp.parse_python(d.getVar(func, False))
newdeps = pp.execs
newdeps |= set((d.getVarFlag(func, "vardeps") or "").split())
seen = set()
while newdeps:
deps = newdeps
seen |= deps
newdeps = set()
for dep in deps:
if d.getVarFlag(dep, "func", False) and d.getVarFlag(dep, "python", False):
write_func(dep, o)
pp = bb.codeparser.PythonParser(dep, logger)
pp.parse_python(d.getVar(dep, False))
newdeps |= pp.execs
newdeps |= set((d.getVarFlag(dep, "vardeps") or "").split())
newdeps -= seen
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)
value = handle_contains(value, r2.contains, exclusions, d)
return value
deps = set()
try:
if key in mod_funcs:
exclusions = set()
moddep = bb.codeparser.modulecode_deps[key]
value = handle_contains(moddep[4], 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":
return deps, ""
value, parser = d.getVarFlag(vf[0], vf[1], False, retparser=True)
deps |= parser.references
deps = deps | (keys & parser.execs)
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()
if "vardepvalue" in varflags:
value = varflags.get("vardepvalue")
elif varflags.get("func"):
if varflags.get("python"):
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 = codeparsedata.getVarFlag(key, "_content", False, retparser=True)
parser = bb.codeparser.ShellParser(key, logger)
parser.parse_shell(parsedvar.value)
deps = deps | shelldeps
deps = deps | parsedvar.references
deps = deps | (keys & parser.execs) | (keys & parsedvar.execs)
value = handle_contains(value, parsedvar.contains, exclusions, d)
if hasattr(parsedvar, "removes"):
value = handle_remove(value, deps, parsedvar.removes, d)
if vardeps is None:
parser.log.flush()
if "prefuncs" in varflags:
deps = deps | set(varflags["prefuncs"].split())
if "postfuncs" in varflags:
deps = deps | set(varflags["postfuncs"].split())
if "exports" in varflags:
deps = deps | set(varflags["exports"].split())
else:
value, parser = d.getVarFlag(key, "_content", False, retparser=True)
deps |= parser.references
deps = deps | (keys & parser.execs)
value = handle_contains(value, parser.contains, exclusions, d)
if hasattr(parser, "removes"):
value = handle_remove(value, deps, parser.removes, d)
if "vardepvalueexclude" in varflags:
exclude = varflags.get("vardepvalueexclude")
for excl in exclude.split('|'):
if excl:
value = value.replace(excl, '')
# Add varflags, assuming an exclusion list is set
if varflagsexcl:
varfdeps = []
for f in varflags:
if f not in varflagsexcl:
varfdeps.append('%s[%s]' % (key, f))
if varfdeps:
deps |= set(varfdeps)
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 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):
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, mod_funcs, shelldeps, varflagsexcl, ignored_vars, d, codeparserd)
newdeps = deps[task]
seen = set()
while newdeps:
nextdeps = newdeps
seen |= nextdeps
newdeps = set()
for dep in nextdeps:
if dep not in deps:
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]))
return tasklist, deps, values
def generate_dependency_hash(tasklist, gendeps, lookupcache, ignored_vars, fn):
taskdeps = {}
basehash = {}
for task in tasklist:
data = lookupcache[task]
if data is None:
bb.error("Task %s from %s seems to be empty?!" % (task, fn))
data = []
else:
data = [data]
newdeps = gendeps[task]
seen = set()
while newdeps:
nextdeps = newdeps
seen |= nextdeps
newdeps = set()
for dep in nextdeps:
newdeps |= gendeps[dep]
newdeps -= seen
alldeps = sorted(seen)
for dep in alldeps:
data.append(dep)
var = lookupcache[dep]
if var is not None:
data.append(str(var))
k = fn + ":" + task
basehash[k] = hashlib.sha256("".join(data).encode("utf-8")).hexdigest()
taskdeps[task] = frozenset(seen)
return taskdeps, basehash
def inherits_class(klass, d):
val = d.getVar('__inherit_cache', False) or []
needle = '/%s.bbclass' % klass
for v in val:
if v.endswith(needle):
return True
return False

1116
bitbake/lib/bb/data_smart.py Normal file

File diff suppressed because it is too large Load Diff

868
bitbake/lib/bb/event.py Normal file
View File

@@ -0,0 +1,868 @@
"""
BitBake 'Event' implementation
Classes and functions for manipulating 'events' in the
BitBake build tools.
"""
# Copyright (C) 2003, 2004 Chris Larson
#
# SPDX-License-Identifier: GPL-2.0-only
#
import ast
import atexit
import collections
import logging
import pickle
import sys
import threading
import traceback
import bb.utils
# This is the pid for which we should generate the event. This is set when
# the runqueue forks off.
worker_pid = 0
worker_fire = None
logger = logging.getLogger('BitBake.Event')
class Event(object):
"""Base class for events"""
def __init__(self):
self.pid = worker_pid
class HeartbeatEvent(Event):
"""Triggered at regular time intervals of 10 seconds. Other events can fire much more often
(runQueueTaskStarted when there are many short tasks) or not at all for long periods
of time (again runQueueTaskStarted, when there is just one long-running task), so this
event is more suitable for doing some task-independent work occasionally."""
def __init__(self, time):
Event.__init__(self)
self.time = time
Registered = 10
AlreadyRegistered = 14
def get_class_handlers():
return _handlers
def set_class_handlers(h):
global _handlers
_handlers = h
def clean_class_handlers():
return collections.OrderedDict()
# Internal
_handlers = clean_class_handlers()
_ui_handlers = {}
_ui_logfilters = {}
_ui_handler_seq = 0
_event_handler_map = {}
_catchall_handlers = {}
_eventfilter = None
_uiready = False
_thread_lock = threading.Lock()
_heartbeat_enabled = False
_should_exit = threading.Event()
def enable_threadlock():
# Always needed now
return
def disable_threadlock():
# 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
try:
ret = handler(event, d)
except (bb.parse.SkipRecipe, bb.BBHandledException):
raise
except Exception:
etype, value, tb = sys.exc_info()
logger.error("Execution of event handler '%s' failed" % name,
exc_info=(etype, value, tb.tb_next))
raise
except SystemExit as exc:
if exc.code != 0:
logger.error("Execution of event handler '%s' failed" % name)
raise
finally:
del event.data
def fire_class_handlers(event, d):
if isinstance(event, logging.LogRecord):
return
eid = str(event.__class__)[8:-2]
evt_hmap = _event_handler_map.get(eid, {})
for name, handler in list(_handlers.items()):
if name in _catchall_handlers or name in evt_hmap:
if _eventfilter:
if not _eventfilter(name, handler, event, d):
continue
if d is not None and not name in (d.getVar("__BBHANDLERS_MC") or set()):
continue
execute_handler(name, handler, event, d)
ui_queue = []
@atexit.register
def print_ui_queue():
global ui_queue
"""If we're exiting before a UI has been spawned, display any queued
LogRecords to the console."""
logger = logging.getLogger("BitBake")
if not _uiready:
from bb.msg import BBLogFormatter
# Flush any existing buffered content
try:
sys.stdout.flush()
except:
pass
try:
sys.stderr.flush()
except:
pass
stdout = logging.StreamHandler(sys.stdout)
stderr = logging.StreamHandler(sys.stderr)
formatter = BBLogFormatter("%(levelname)s: %(message)s")
stdout.setFormatter(formatter)
stderr.setFormatter(formatter)
# First check to see if we have any proper messages
msgprint = False
msgerrs = False
# Should we print to stderr?
for event in ui_queue[:]:
if isinstance(event, logging.LogRecord) and event.levelno >= logging.WARNING:
msgerrs = True
break
if msgerrs:
logger.addHandler(stderr)
else:
logger.addHandler(stdout)
for event in ui_queue[:]:
if isinstance(event, logging.LogRecord):
if event.levelno > logging.DEBUG:
logger.handle(event)
msgprint = True
# Nope, so just print all of the messages we have (including debug messages)
if not msgprint:
for event in ui_queue[:]:
if isinstance(event, logging.LogRecord):
logger.handle(event)
if msgerrs:
logger.removeHandler(stderr)
else:
logger.removeHandler(stdout)
ui_queue = []
def fire_ui_handlers(event, d):
global _thread_lock
if not _uiready:
# No UI handlers registered yet, queue up the messages
ui_queue.append(event)
return
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"""
# We can fire class handlers in the worker process context and this is
# desired so they get the task based datastore.
# UI handlers need to be fired in the server context so we defer this. They
# don't have a datastore so the datastore context isn't a problem.
fire_class_handlers(event, d)
if worker_fire:
worker_fire(event, d)
else:
# If messages have been queued up, clear the queue
global _uiready, ui_queue
if _uiready and ui_queue:
for queue_event in ui_queue:
fire_ui_handlers(queue_event, d)
ui_queue = []
fire_ui_handlers(event, d)
def fire_from_worker(event, d):
fire_ui_handlers(event, d)
noop = lambda _: None
def register(name, handler, mask=None, filename=None, lineno=None, data=None):
"""Register an Event handler"""
if data is not None and data.getVar("BB_CURRENT_MC"):
mc = data.getVar("BB_CURRENT_MC")
name = '%s%s' % (mc.replace('-', '_'), name)
# already registered
if name in _handlers:
if data is not None:
bbhands_mc = (data.getVar("__BBHANDLERS_MC") or set())
bbhands_mc.add(name)
data.setVar("__BBHANDLERS_MC", bbhands_mc)
return AlreadyRegistered
if handler is not None:
# handle string containing python code
if isinstance(handler, str):
tmp = "def %s(e, d):\n%s" % (name, handler)
# Inject empty lines to make code match lineno in filename
if lineno is not None:
tmp = "\n" * (lineno-1) + tmp
try:
code = bb.methodpool.compile_cache(tmp)
if not code:
if filename is None:
filename = "%s(e, d)" % name
code = compile(tmp, filename, "exec", ast.PyCF_ONLY_AST)
code = compile(code, filename, "exec")
bb.methodpool.compile_cache_add(tmp, code)
except SyntaxError:
logger.error("Unable to register event handler '%s':\n%s", name,
''.join(traceback.format_exc(limit=0)))
_handlers[name] = noop
return
env = {}
bb.utils.better_exec(code, env)
func = bb.utils.better_eval(name, env)
_handlers[name] = func
else:
_handlers[name] = handler
if not mask or '*' in mask:
_catchall_handlers[name] = True
else:
for m in mask:
if _event_handler_map.get(m, None) is None:
_event_handler_map[m] = {}
_event_handler_map[m][name] = True
if data is not None:
bbhands_mc = (data.getVar("__BBHANDLERS_MC") or set())
bbhands_mc.add(name)
data.setVar("__BBHANDLERS_MC", bbhands_mc)
return Registered
def remove(name, handler, data=None):
"""Remove an Event handler"""
if data is not None:
if data.getVar("BB_CURRENT_MC"):
mc = data.getVar("BB_CURRENT_MC")
name = '%s%s' % (mc.replace('-', '_'), name)
_handlers.pop(name)
if name in _catchall_handlers:
_catchall_handlers.pop(name)
for event in _event_handler_map.keys():
if name in _event_handler_map[event]:
_event_handler_map[event].pop(name)
if data is not None:
bbhands_mc = (data.getVar("__BBHANDLERS_MC") or set())
if name in bbhands_mc:
bbhands_mc.remove(name)
data.setVar("__BBHANDLERS_MC", bbhands_mc)
def get_handlers():
return _handlers
def set_handlers(handlers):
global _handlers
_handlers = handlers
def set_eventfilter(func):
global _eventfilter
_eventfilter = func
def register_UIHhandler(handler, mainui=False):
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
with bb.utils.lock_timeout(_thread_lock):
if handlerNum in _ui_handlers:
del _ui_handlers[handlerNum]
return
def get_uihandler():
if _uiready is False:
return None
return _uiready
# Class to allow filtering of events and specific filtering of LogRecords *before* we put them over the IPC
class UIEventFilter(object):
def __init__(self, level, debug_domains):
self.update(None, level, debug_domains)
def update(self, eventmask, level, debug_domains):
self.eventmask = eventmask
self.stdlevel = level
self.debug_domains = debug_domains
def filter(self, event):
if isinstance(event, logging.LogRecord):
if event.levelno >= self.stdlevel:
return True
if event.name in self.debug_domains and event.levelno >= self.debug_domains[event.name]:
return True
return False
eid = str(event.__class__)[8:-2]
if self.eventmask and eid not in self.eventmask:
return False
return True
def set_UIHmask(handlerNum, level, debug_domains, mask):
if not handlerNum in _ui_handlers:
return False
if '*' in mask:
_ui_logfilters[handlerNum].update(None, level, debug_domains)
else:
_ui_logfilters[handlerNum].update(mask, level, debug_domains)
return True
def getName(e):
"""Returns the name of a class or class instance"""
if getattr(e, "__name__", None) is None:
return e.__class__.__name__
else:
return e.__name__
class OperationStarted(Event):
"""An operation has begun"""
def __init__(self, msg = "Operation Started"):
Event.__init__(self)
self.msg = msg
class OperationCompleted(Event):
"""An operation has completed"""
def __init__(self, total, msg = "Operation Completed"):
Event.__init__(self)
self.total = total
self.msg = msg
class OperationProgress(Event):
"""An operation is in progress"""
def __init__(self, current, total, msg = "Operation in Progress"):
Event.__init__(self)
self.current = current
self.total = total
self.msg = msg + ": %s/%s" % (current, total);
class ConfigParsed(Event):
"""Configuration Parsing Complete"""
class MultiConfigParsed(Event):
"""Multi-Config Parsing Complete"""
def __init__(self, mcdata):
self.mcdata = mcdata
Event.__init__(self)
class RecipeEvent(Event):
def __init__(self, fn):
self.fn = fn
Event.__init__(self)
class RecipePreFinalise(RecipeEvent):
""" Recipe Parsing Complete but not yet finalised"""
class RecipePostKeyExpansion(RecipeEvent):
""" Recipe Parsing Complete but not yet finalised"""
class RecipeTaskPreProcess(RecipeEvent):
"""
Recipe Tasks about to be finalised
The list of tasks should be final at this point and handlers
are only able to change interdependencies
"""
def __init__(self, fn, tasklist):
self.fn = fn
self.tasklist = tasklist
Event.__init__(self)
class RecipeParsed(RecipeEvent):
""" Recipe Parsing Complete """
class BuildBase(Event):
"""Base class for bitbake build events"""
def __init__(self, n, p, failures = 0):
self._name = n
self._pkgs = p
Event.__init__(self)
self._failures = failures
def getPkgs(self):
return self._pkgs
def setPkgs(self, pkgs):
self._pkgs = pkgs
def getName(self):
return self._name
def setName(self, name):
self._name = name
def getFailures(self):
"""
Return the number of failed packages
"""
return self._failures
pkgs = property(getPkgs, setPkgs, None, "pkgs property")
name = property(getName, setName, None, "name property")
class BuildInit(BuildBase):
"""buildFile or buildTargets was invoked"""
def __init__(self, p=[]):
name = None
BuildBase.__init__(self, name, p)
class BuildStarted(BuildBase, OperationStarted):
"""Event when builds start"""
def __init__(self, n, p, failures = 0):
OperationStarted.__init__(self, "Building Started")
BuildBase.__init__(self, n, p, failures)
class BuildCompleted(BuildBase, OperationCompleted):
"""Event when builds have completed"""
def __init__(self, total, n, p, failures=0, interrupted=0):
if not failures:
OperationCompleted.__init__(self, total, "Building Succeeded")
else:
OperationCompleted.__init__(self, total, "Building Failed")
self._interrupted = interrupted
BuildBase.__init__(self, n, p, failures)
class DiskFull(Event):
"""Disk full case build halted"""
def __init__(self, dev, type, freespace, mountpoint):
Event.__init__(self)
self._dev = dev
self._type = type
self._free = freespace
self._mountpoint = mountpoint
class DiskUsageSample:
def __init__(self, available_bytes, free_bytes, total_bytes):
# Number of bytes available to non-root processes.
self.available_bytes = available_bytes
# Number of bytes available to root processes.
self.free_bytes = free_bytes
# Total capacity of the volume.
self.total_bytes = total_bytes
class MonitorDiskEvent(Event):
"""If BB_DISKMON_DIRS is set, then this event gets triggered each time disk space is checked.
Provides information about devices that are getting monitored."""
def __init__(self, disk_usage):
Event.__init__(self)
# hash of device root path -> DiskUsageSample
self.disk_usage = disk_usage
class NoProvider(Event):
"""No Provider for an Event"""
def __init__(self, item, runtime=False, dependees=None, reasons=None, close_matches=None):
Event.__init__(self)
self._item = item
self._runtime = runtime
self._dependees = dependees
self._reasons = reasons
self._close_matches = close_matches
def getItem(self):
return self._item
def isRuntime(self):
return self._runtime
def __str__(self):
msg = ''
if self._runtime:
r = "R"
else:
r = ""
extra = ''
if not self._reasons:
if self._close_matches:
extra = ". Close matches:\n %s" % '\n '.join(sorted(set(self._close_matches)))
if self._dependees:
msg = "Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)%s" % (r, self._item, ", ".join(self._dependees), r, extra)
else:
msg = "Nothing %sPROVIDES '%s'%s" % (r, self._item, extra)
if self._reasons:
for reason in self._reasons:
msg += '\n' + reason
return msg
class MultipleProviders(Event):
"""Multiple Providers"""
def __init__(self, item, candidates, runtime = False):
Event.__init__(self)
self._item = item
self._candidates = candidates
self._is_runtime = runtime
def isRuntime(self):
"""
Is this a runtime issue?
"""
return self._is_runtime
def getItem(self):
"""
The name for the to be build item
"""
return self._item
def getCandidates(self):
"""
Get the possible Candidates for a PROVIDER.
"""
return self._candidates
def __str__(self):
msg = "Multiple providers are available for %s%s (%s)" % (self._is_runtime and "runtime " or "",
self._item,
", ".join(self._candidates))
rtime = ""
if self._is_runtime:
rtime = "R"
msg += "\nConsider defining a PREFERRED_%sPROVIDER entry to match %s" % (rtime, self._item)
return msg
class ParseStarted(OperationStarted):
"""Recipe parsing for the runqueue has begun"""
def __init__(self, total):
OperationStarted.__init__(self, "Recipe parsing Started")
self.total = total
class ParseCompleted(OperationCompleted):
"""Recipe parsing for the runqueue has completed"""
def __init__(self, cached, parsed, skipped, masked, virtuals, errors, total):
OperationCompleted.__init__(self, total, "Recipe parsing Completed")
self.cached = cached
self.parsed = parsed
self.skipped = skipped
self.virtuals = virtuals
self.masked = masked
self.errors = errors
self.sofar = cached + parsed
class ParseProgress(OperationProgress):
"""Recipe parsing progress"""
def __init__(self, current, total):
OperationProgress.__init__(self, current, total, "Recipe parsing")
class CacheLoadStarted(OperationStarted):
"""Loading of the dependency cache has begun"""
def __init__(self, total):
OperationStarted.__init__(self, "Loading cache Started")
self.total = total
class CacheLoadProgress(OperationProgress):
"""Cache loading progress"""
def __init__(self, current, total):
OperationProgress.__init__(self, current, total, "Loading cache")
class CacheLoadCompleted(OperationCompleted):
"""Cache loading is complete"""
def __init__(self, total, num_entries):
OperationCompleted.__init__(self, total, "Loading cache Completed")
self.num_entries = num_entries
class TreeDataPreparationStarted(OperationStarted):
"""Tree data preparation started"""
def __init__(self):
OperationStarted.__init__(self, "Preparing tree data Started")
class TreeDataPreparationProgress(OperationProgress):
"""Tree data preparation is in progress"""
def __init__(self, current, total):
OperationProgress.__init__(self, current, total, "Preparing tree data")
class TreeDataPreparationCompleted(OperationCompleted):
"""Tree data preparation completed"""
def __init__(self, total):
OperationCompleted.__init__(self, total, "Preparing tree data Completed")
class DepTreeGenerated(Event):
"""
Event when a dependency tree has been generated
"""
def __init__(self, depgraph):
Event.__init__(self)
self._depgraph = depgraph
class TargetsTreeGenerated(Event):
"""
Event when a set of buildable targets has been generated
"""
def __init__(self, model):
Event.__init__(self)
self._model = model
class ReachableStamps(Event):
"""
An event listing all stamps reachable after parsing
which the metadata may use to clean up stale data
"""
def __init__(self, stamps):
Event.__init__(self)
self.stamps = stamps
class StaleSetSceneTasks(Event):
"""
An event listing setscene tasks which are 'stale' and will
be rerun. The metadata may use to clean up stale data.
tasks is a mapping of tasks and matching stale stamps.
"""
def __init__(self, tasks):
Event.__init__(self)
self.tasks = tasks
class FilesMatchingFound(Event):
"""
Event when a list of files matching the supplied pattern has
been generated
"""
def __init__(self, pattern, matches):
Event.__init__(self)
self._pattern = pattern
self._matches = matches
class ConfigFilesFound(Event):
"""
Event when a list of appropriate config files has been generated
"""
def __init__(self, variable, values):
Event.__init__(self)
self._variable = variable
self._values = values
class ConfigFilePathFound(Event):
"""
Event when a path for a config file has been found
"""
def __init__(self, path):
Event.__init__(self)
self._path = path
class MsgBase(Event):
"""Base class for messages"""
def __init__(self, msg):
self._message = msg
Event.__init__(self)
class MsgDebug(MsgBase):
"""Debug Message"""
class MsgNote(MsgBase):
"""Note Message"""
class MsgWarn(MsgBase):
"""Warning Message"""
class MsgError(MsgBase):
"""Error Message"""
class MsgFatal(MsgBase):
"""Fatal Message"""
class MsgPlain(MsgBase):
"""General output"""
class LogExecTTY(Event):
"""Send event containing program to spawn on tty of the logger"""
def __init__(self, msg, prog, sleep_delay, retries):
Event.__init__(self)
self.msg = msg
self.prog = prog
self.sleep_delay = sleep_delay
self.retries = retries
class LogHandler(logging.Handler):
"""Dispatch logging messages as bitbake events"""
def emit(self, record):
if record.exc_info:
record.bb_exc_formatted = traceback.format_exception(*record.exc_info)
record.exc_info = None
fire(record, None)
def filter(self, record):
record.taskpid = worker_pid
return True
class MetadataEvent(Event):
"""
Generic event that target for OE-Core classes
to report information during asynchronous execution
"""
def __init__(self, eventtype, eventdata):
Event.__init__(self)
self.type = eventtype
self._localdata = eventdata
class ProcessStarted(Event):
"""
Generic process started event (usually part of the initial startup)
where further progress events will be delivered
"""
def __init__(self, processname, total):
Event.__init__(self)
self.processname = processname
self.total = total
class ProcessProgress(Event):
"""
Generic process progress event (usually part of the initial startup)
"""
def __init__(self, processname, progress):
Event.__init__(self)
self.processname = processname
self.progress = progress
class ProcessFinished(Event):
"""
Generic process finished event (usually part of the initial startup)
"""
def __init__(self, processname):
Event.__init__(self)
self.processname = processname
class SanityCheck(Event):
"""
Event to run sanity checks, either raise errors or generate events as return status.
"""
def __init__(self, generateevents = True):
Event.__init__(self)
self.generateevents = generateevents
class SanityCheckPassed(Event):
"""
Event to indicate sanity check has passed
"""
class SanityCheckFailed(Event):
"""
Event to indicate sanity check has failed
"""
def __init__(self, msg, network_error=False):
Event.__init__(self)
self._msg = msg
self._network_error = network_error
class NetworkTest(Event):
"""
Event to run network connectivity tests, either raise errors or generate events as return status.
"""
def __init__(self, generateevents = True):
Event.__init__(self)
self.generateevents = generateevents
class NetworkTestPassed(Event):
"""
Event to indicate network test has passed
"""
class NetworkTestFailed(Event):
"""
Event to indicate network test has failed
"""
class FindSigInfoResult(Event):
"""
Event to return results from findSigInfo command
"""
def __init__(self, result):
Event.__init__(self)
self.result = result
class GetTaskSignatureResult(Event):
"""
Event to return results from GetTaskSignatures command
"""
def __init__(self, sig):
Event.__init__(self)
self.sig = sig
class ParseError(Event):
"""
Event to indicate parse failed
"""
def __init__(self, msg):
super().__init__()
self._msg = msg

Some files were not shown because too many files have changed in this diff Show More